:root {
  --ink: #10264f;
  --muted: #5c6f8f;
  --teal: #087f80;
  --teal-dark: #075f69;
  --coral: #f15f69;
  --coral-soft: #fff0ee;
  --aqua-soft: #e6f7f4;
  --sun: #ffc95c;
  --paper: #fffdf9;
  --line: #dbe4ec;
  --shadow: 0 22px 60px rgba(16, 38, 79, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 92% 2%, rgba(255, 201, 92, .28), transparent 24rem),
    linear-gradient(180deg, #fffdf9 0%, #f7fbfa 100%);
  font-family: ui-rounded, "Avenir Next", Avenir, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

a { color: var(--teal-dark); text-underline-offset: 3px; }
a:hover { color: var(--coral); }

.site-header {
  border-bottom: 1px solid rgba(219, 228, 236, .9);
  background: rgba(255, 253, 249, .88);
  backdrop-filter: blur(14px);
}
.header-inner, .page-shell { width: min(1080px, calc(100% - 40px)); margin: 0 auto; }
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  min-height: 82px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; font-weight: 800; letter-spacing: -.02em; }
.brand-mark {
  width: 42px; height: 42px; display: grid; place-items: center; border-radius: 15px 15px 15px 6px;
  color: white; background: linear-gradient(145deg, var(--coral), #ff8f73);
  box-shadow: 0 8px 20px rgba(241, 95, 105, .25); font-size: 22px;
}
.brand-name { font-size: 1.18rem; }
.brand-name small { display: block; color: var(--muted); font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
nav { display: flex; align-items: center; gap: 20px; font-size: .92rem; font-weight: 700; }
nav a { color: var(--muted); text-decoration: none; }
nav a[aria-current="page"], nav a:hover { color: var(--teal-dark); }

.hero { padding: 76px 0 52px; }
.eyebrow { margin: 0 0 13px; color: var(--coral); font-size: .76rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3 { letter-spacing: -.035em; line-height: 1.14; }
h1 { max-width: 780px; margin: 0; font-size: clamp(2.55rem, 7vw, 5rem); }
.lede { max-width: 650px; margin: 24px 0 0; color: var(--muted); font-size: 1.16rem; }
.hero-note { display: inline-flex; align-items: center; gap: 8px; margin-top: 26px; padding: 9px 14px; border: 1px solid #cce9e5; border-radius: 999px; color: var(--teal-dark); background: var(--aqua-soft); font-size: .88rem; font-weight: 800; }
.hero-note span { width: 8px; height: 8px; border-radius: 99px; background: var(--teal); }

.content-grid { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 54px; padding: 36px 0 92px; }
.toc { position: sticky; top: 24px; align-self: start; padding: 18px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,.78); box-shadow: 0 12px 35px rgba(16, 38, 79, .06); }
.toc strong { display: block; margin-bottom: 10px; font-size: .76rem; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); }
.toc a { display: block; padding: 7px 0; color: var(--ink); font-size: .9rem; text-decoration: none; }
.toc a:hover { color: var(--coral); }
.article { min-width: 0; padding: 42px 48px; border: 1px solid var(--line); border-radius: 30px; background: rgba(255,255,255,.86); box-shadow: var(--shadow); }
.article h2 { margin: 2.2rem 0 .7rem; font-size: 1.55rem; }
.article h3 { margin: 1.4rem 0 .45rem; font-size: 1.08rem; }
.article p, .article li { color: #334b70; }
.article ul { padding-left: 1.2rem; }
.article li + li { margin-top: .35rem; }
.callout { margin: 1.5rem 0; padding: 18px 20px; border-left: 4px solid var(--coral); border-radius: 0 16px 16px 0; background: var(--coral-soft); }
.callout p { margin: 0; color: var(--ink); }
.fact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 22px 0 30px; }
.fact { padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(150deg, #fff, #f9fffd); }
.fact b { display: block; color: var(--teal-dark); font-size: 1.75rem; letter-spacing: -.04em; }
.fact span { color: var(--muted); font-size: .86rem; }
.faq { padding: 18px 0; border-top: 1px solid var(--line); }
.faq:first-of-type { border-top: 0; }
.faq h3 { margin: 0 0 7px; }
.faq p { margin: 0; }

.site-footer { padding: 28px 0 44px; border-top: 1px solid var(--line); color: var(--muted); font-size: .86rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-inner p { margin: 0; }
.footer-links { display: flex; gap: 16px; }

@media (max-width: 760px) {
  .header-inner, .page-shell { width: min(100% - 28px, 680px); }
  .header-inner { min-height: 72px; }
  nav { gap: 12px; font-size: .84rem; }
  .hero { padding: 56px 0 32px; }
  .content-grid { display: block; padding-top: 16px; }
  .toc { position: static; margin-bottom: 18px; }
  .toc a { display: inline-block; margin-right: 14px; }
  .article { padding: 28px 22px; border-radius: 24px; }
  .fact-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
