/* Base */
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  line-height: 1.6;
  color: #0b1220;         /* text color for light mode */
  background: #fcfdfd;    /* white background in light mode */
}

@media (prefers-color-scheme: dark) {
  body {
    color: #e6eaf2;       /* light text for dark mode */
    background: #0b1220;  /* dark background */
  }
}

/* Layout: center content, keep footer near bottom */
.viewport-center {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* pushes footer down */
  align-items: center;
  gap: 1.25rem;
  text-align: center;
  padding: 2rem;
}

/* Logo */
.logo-wrap {
  display: grid;
  place-items: center;
  margin-top: 1rem;
}
.logo {
  width: clamp(220px, 20vw, 360px); /* responsive logo width */
  height: auto;
  display: block;
}

/* Intro paragraph (replaces the table) */
.intro-text {
  margin: 1.25rem auto 0;
  max-width: 720px;          /* comfortable reading width */
  width: min(90vw, 720px);   /* responsive on iPhone */
  padding: 0 1rem;           /* avoid edge-to-edge on small screens */
}
.intro-text p {
  margin: 0;
  font-size: 1rem;
  color: inherit;            /* match body/footer color */
  opacity: 0.7;              /* same feel as footer */
}

/* Footer */
footer { opacity: 0.7; margin-top: 0.5rem; }

/* Small screens */
@media (max-width: 768px) {
  .logo { width: clamp(200px, 40vw, 320px); }
  .intro-text { width: min(92vw, 640px); }
}

.privacy { margin: 2rem auto; max-width: 720px; padding: 1.5rem; text-align: center; }
.privacy h2 { font-size: 1.25rem; margin-bottom: 0.75rem; }
.privacy .meta { opacity: .7; font-size: .9rem; margin-top: .5rem; }
