:root {
  --page: #F2F7FC;
  --surface: #FBF8F3;
  --ink: #17293D;
  --soft: #64798F;
  --muted: #8A9AAC;
  --accent: #4A79A8;
  --accent-soft: #D6E6F5;
  --accent-text: #3F6A85;
  --bezel: #DCE7F4;
  --orb-hi: #E4EFFA;
  --orb-mid: #9EC0E0;
  --measure: 34rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: Figtree, ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: Newsreader, ui-serif, Georgia, serif;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0;
}

a { color: var(--accent-text); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: 62rem; margin: 0 auto; padding: 0 1.5rem; }

.masthead { display: flex; align-items: center; justify-content: space-between; padding: 1.75rem 0; }
.wordmark { display: flex; align-items: center; gap: 0.6rem; font-family: Newsreader, serif; font-size: 1.25rem; color: var(--ink); text-decoration: none; }
.wordmark:hover { color: var(--ink); }
.nav { display: flex; gap: 1.5rem; font-size: 0.9rem; }

.orb { --size: 132px; position: relative; width: var(--size); height: var(--size); flex: none; }
.orb__glow, .orb__body { position: absolute; inset: 0; border-radius: 50%; }
.orb__glow { background: var(--accent); opacity: 0.10; transform: scale(1.5); filter: blur(14px); animation: breathe 7s ease-in-out infinite; }
.orb__body { background: radial-gradient(circle at 36% 30%, var(--orb-hi) 0%, var(--orb-mid) 48%, var(--accent) 100%); animation: breathe 7s ease-in-out infinite; }
.orb--sm { --size: 26px; }
.orb--sm .orb__glow { display: none; }
.orb--sm .orb__body { animation: none; }

@keyframes breathe {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.045); }
}

@media (prefers-reduced-motion: reduce) {
  .orb__glow, .orb__body { animation: none; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

.hero { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1.75rem; padding: 4.5rem 0 5rem; }
.hero h1 { font-size: clamp(2.6rem, 7vw, 4.1rem); max-width: 16ch; }
.hero p { margin: 0; color: var(--soft); font-size: 1.1rem; max-width: 32ch; }
.badge { display: inline-flex; align-items: center; gap: 0.5rem; background: var(--accent-soft); color: var(--accent-text); border-radius: 999px; padding: 0.4rem 0.95rem; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.02em; }

section + section { margin-top: 4.5rem; }

.section-label { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin: 0 0 1.1rem; }

.card { background: var(--surface); border: 1px solid var(--bezel); border-radius: 20px; padding: 1.6rem 1.75rem; }
.grid-3 { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.card h3 { font-size: 1.35rem; margin-bottom: 0.4rem; }
.card p { margin: 0; color: var(--soft); font-size: 0.98rem; }

.plain { border-left: 2px solid var(--bezel); padding-left: 1.4rem; max-width: var(--measure); }
.plain p { color: var(--soft); }
.plain strong { color: var(--ink); font-weight: 600; }

.help { background: var(--surface); border: 1px solid var(--bezel); border-radius: 20px; padding: 1.6rem 1.75rem; max-width: var(--measure); }
.help h3 { font-size: 1.2rem; margin-bottom: 0.35rem; }
.help p { margin: 0 0 0.9rem; color: var(--soft); font-size: 0.95rem; }
.help a.call { display: inline-block; background: var(--accent); color: #fff; text-decoration: none; font-weight: 600; font-size: 0.92rem; padding: 0.7rem 1.3rem; border-radius: 12px; }
.help a.call:hover { background: var(--accent-text); color: #fff; }

.prose { max-width: var(--measure); padding-bottom: 4rem; }
.prose h1 { font-size: clamp(2.1rem, 5vw, 2.9rem); margin-bottom: 0.4rem; }
.prose h2 { font-size: 1.4rem; margin: 2.6rem 0 0.6rem; }
.prose p, .prose li { color: var(--soft); }
.prose li { margin-bottom: 0.45rem; }
.prose ul { padding-left: 1.1rem; }
.prose strong { color: var(--ink); font-weight: 600; }
.updated { color: var(--muted); font-size: 0.9rem; margin-top: 0; }

.note { background: var(--accent-soft); border-radius: 14px; padding: 1rem 1.2rem; font-size: 0.93rem; color: var(--accent-text); }
.note p { color: var(--accent-text); margin: 0; }

footer { border-top: 1px solid var(--bezel); margin-top: 5rem; padding: 2rem 0 3rem; font-size: 0.88rem; color: var(--muted); }
.footer-row { display: flex; flex-wrap: wrap; gap: 1.25rem; justify-content: space-between; align-items: center; }
.footer-links { display: flex; gap: 1.25rem; flex-wrap: wrap; }

.reveal { opacity: 0; transform: translateY(10px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-in { opacity: 1; transform: none; }

@media (max-width: 40rem) {
  body { font-size: 16px; }
  .hero { padding: 3rem 0 3.5rem; }
  .nav { gap: 1rem; font-size: 0.85rem; }
}
