:root {
  color-scheme: light;
  --cream: #fffaf0;
  --paper: #fffef9;
  --ink: #312f2a;
  --muted: #716d63;
  --line: #eadfca;
  --lemon: #f7c948;
  --lemon-deep: #b57812;
  --sage: #dcebdd;
  font-family: Inter, ui-rounded, "SF Pro Rounded", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: radial-gradient(circle at 12% 0%, #fff2bd 0, transparent 30rem), var(--cream); color: var(--ink); }
a { color: inherit; }
.shell { width: min(1080px, calc(100% - 36px)); margin: 0 auto; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 18px; font-weight: 800; letter-spacing: -.02em; }
.brand img { width: 42px; height: 42px; border-radius: 13px; }
.nav { display: flex; align-items: center; gap: 22px; color: var(--muted); font-size: 14px; }
.nav a { text-decoration: none; }
.nav a:hover { color: var(--ink); }
.button { display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; background: var(--ink); color: white; padding: 12px 18px; text-decoration: none; font-size: 14px; font-weight: 750; }
.button.secondary { border: 1px solid var(--line); background: rgba(255,255,255,.7); color: var(--ink); }
.hero { padding: 84px 0 70px; }
.eyebrow { color: var(--lemon-deep); font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
h1 { max-width: 780px; margin: 20px 0 20px; font-size: clamp(48px, 8vw, 92px); line-height: .98; letter-spacing: -.055em; }
.hero p { max-width: 620px; color: var(--muted); font-size: 19px; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 20px 0 88px; }
.card { min-height: 180px; border: 1px solid rgba(234,223,202,.9); border-radius: 28px; background: rgba(255,254,249,.82); padding: 26px; box-shadow: 0 18px 50px rgba(85,68,31,.06); }
.card:nth-child(2) { background: #f6fbf4; }
.card h2 { margin: 14px 0 10px; font-size: 20px; }
.card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.spark { color: var(--lemon-deep); font-size: 24px; }
.legal-hero { padding: 58px 0 30px; border-bottom: 1px solid var(--line); }
.legal-hero h1 { margin-bottom: 16px; font-size: clamp(42px, 7vw, 72px); }
.legal-hero p { color: var(--muted); line-height: 1.6; }
.legal-layout { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 54px; padding: 46px 0 90px; }
.toc { position: sticky; top: 24px; align-self: start; display: grid; gap: 10px; font-size: 13px; color: var(--muted); }
.toc strong { color: var(--ink); margin-bottom: 4px; }
.toc a { text-decoration: none; }
.document { max-width: 760px; }
.document section { scroll-margin-top: 24px; margin-bottom: 34px; }
.document h2 { margin: 0 0 12px; font-size: 22px; letter-spacing: -.02em; }
.document h3 { margin: 20px 0 8px; font-size: 16px; }
.document p, .document li { color: #5f5b53; font-size: 15px; line-height: 1.8; }
.document ul { padding-left: 22px; }
.note { margin: 22px 0; border: 1px solid #ebd79c; border-radius: 18px; background: #fff6d8; padding: 17px 19px; color: #665222; font-size: 14px; line-height: 1.65; }
.support-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: 50px 0 90px; }
.support-card { border: 1px solid var(--line); border-radius: 26px; background: var(--paper); padding: 28px; }
.support-card h2 { margin: 0 0 10px; }
.support-card p { color: var(--muted); line-height: 1.7; }
.support-card a { color: #8b5b0d; font-weight: 700; }
.footer { display: flex; justify-content: space-between; gap: 24px; border-top: 1px solid var(--line); padding: 28px 0 44px; color: var(--muted); font-size: 12px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; }
.footer a { text-decoration: none; }

@media (max-width: 760px) {
  .site-header { align-items: flex-start; }
  .nav { justify-content: flex-end; flex-wrap: wrap; gap: 10px 16px; }
  .hero { padding-top: 54px; }
  .feature-grid, .support-grid { grid-template-columns: 1fr; }
  .legal-layout { grid-template-columns: 1fr; gap: 24px; }
  .toc { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); border-bottom: 1px solid var(--line); padding-bottom: 24px; }
  .footer { flex-direction: column; }
}
