:root {
  color-scheme: light;
  --page-bg: #fafafa;
  --surface: #ffffff;
  --text: #111111;
  --text-secondary: #444444;
  --muted: #6b6b6b;
  --line: #e5e5e5;
  --line-strong: #d0d0d0;
  --link: #0f4aa3;
  --link-hover: #0a3675;
  --max-width: 680px;
  --radius: 12px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  background: var(--page-bg);
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--page-bg);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--link);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--link-hover);
}

/* ── Layout ── */

.shell {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 48px 24px 64px;
}

/* ── Hero ── */

.hero {
  padding-bottom: 28px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--line-strong);
}

.eyebrow {
  margin-bottom: 10px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-grid,
.grid,
.meta {
  display: block;
}

.hero h1 {
  font-size: clamp(1.75rem, 5vw, 2.25rem);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.hero p,
.card p,
.card li,
.meta-row span,
.notice p {
  color: var(--text-secondary);
}

.hero p {
  margin-top: 12px;
  font-size: 1rem;
  line-height: 1.7;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 20px;
}

/* ── Buttons / Links ── */

.button,
.button-secondary {
  display: inline-block;
  padding: 0;
  border: 0;
  background: none;
  color: var(--link);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.15s ease;
  cursor: pointer;
}

.button:hover,
.button-secondary:hover {
  color: var(--link-hover);
}

/* ── Pills ── */

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.pill {
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted);
}

/* ── Section Labels ── */

.section-label {
  margin: 40px 0 16px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── Cards ── */

.grid {
  margin-top: 8px;
}

.card,
.notice {
  margin-top: 16px;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
}

.card + .card {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.card h2,
.card h3 {
  margin-bottom: 8px;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text);
}

.card p {
  font-size: 0.93rem;
  line-height: 1.7;
}

.card ul {
  margin-top: 8px;
  padding-left: 20px;
}

.card li {
  font-size: 0.93rem;
  line-height: 1.65;
  padding: 2px 0;
}

.card li + li {
  margin-top: 4px;
}

/* ── Meta Rows ── */

.meta-row {
  padding: 0;
  border: 0;
}

.meta-row + .meta-row {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.meta-row strong,
.notice strong {
  display: block;
  margin-bottom: 6px;
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--text);
}

.meta-row span {
  font-size: 0.93rem;
  line-height: 1.7;
}

/* ── Notice ── */

.notice {
  margin-top: 20px;
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.notice p {
  font-size: 0.93rem;
  line-height: 1.65;
}

/* ── Footer ── */

.footer {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-top: 56px;
  padding-top: 20px;
  border-top: 1px solid var(--line-strong);
  font-size: 0.85rem;
  color: var(--muted);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s ease;
}

.footer-nav a:hover {
  color: var(--text);
}

/* ── Mobile ── */

@media (max-width: 600px) {
  body {
    font-size: 14px;
  }

  .shell {
    padding: 32px 20px 48px;
  }

  .hero {
    padding-bottom: 24px;
  }

  .hero h1 {
    font-size: 1.5rem;
    line-height: 1.25;
  }

  .hero p {
    font-size: 0.93rem;
  }

  .hero-actions {
    gap: 12px;
  }

  .pill-list {
    gap: 6px;
  }

  .pill {
    font-size: 0.75rem;
    padding: 4px 10px;
  }

  .section-label {
    margin: 32px 0 12px;
    font-size: 0.68rem;
  }

  .card + .card,
  .meta-row + .meta-row {
    margin-top: 20px;
    padding-top: 20px;
  }

  .card h2,
  .card h3 {
    font-size: 1rem;
  }

  .card p,
  .card li,
  .meta-row span,
  .notice p {
    font-size: 0.88rem;
  }

  .notice {
    padding: 14px 16px;
  }

  .footer {
    margin-top: 40px;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    font-size: 0.82rem;
  }

  .footer-nav {
    gap: 16px;
  }
}
