:root {
  --ink: #1E2B26;
  --muted: #5C6660;
  --cream: #F6F1E7;
  --paper: #FFFDF8;
  --sand: #EFE8DA;
  --pill: #E8E0CF;
  --line: #E2D9C6;
  --green: #2E6B5C;
  --orange: #C2571A;
  --peach: #F2A65A;
  --on-dark-muted: #D9D2C3;
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Inter', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--cream); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--green); }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; margin: 0; color: var(--ink); }
h1 { font-size: clamp(44px, 7vw, 88px); line-height: 1.02; max-width: 900px; }
h2 { font-size: clamp(32px, 4vw, 48px); line-height: 1.1; max-width: 820px; }
h3 { font-size: 24px; line-height: 1.2; }
p { margin: 0; }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--cream); padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 16px; }

.wrap { max-width: 1120px; margin: 0 auto; }
.stack-lg { display: flex; flex-direction: column; gap: 28px; }
.stack-md { display: flex; flex-direction: column; gap: 20px; }
.section { padding: 96px 24px; }
.bg-paper { background: var(--paper); }
.bg-cream { background: var(--cream); }
.bg-sand { background: var(--sand); }
.bg-green { background: var(--green); }
.bg-ink { background: var(--ink); padding-bottom: 48px; }

.eyebrow { font-size: 14px; font-weight: 700; letter-spacing: 1.5px; color: var(--green); text-transform: uppercase; }
.eyebrow.accent { color: var(--orange); }
.lead { font-size: 21px; line-height: 1.6; max-width: 720px; }
.sub { font-size: 18px; line-height: 1.6; color: var(--muted); max-width: 760px; }
.sub.dark { color: var(--ink); font-size: 19px; }
.muted { color: var(--muted); font-size: 16px; }
.small { font-size: 14px; }
.on-dark { color: var(--cream); }
.on-dark-muted { color: var(--on-dark-muted); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: var(--cream); border-bottom: 1px solid var(--line); padding: 14px 24px; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--serif); font-size: 26px; font-weight: 700; color: var(--ink); text-decoration: none; }
.brand .amp { color: var(--orange); }
.header-right { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
nav { display: flex; gap: 20px; flex-wrap: wrap; }
nav a { color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500; padding: 8px 0; }
nav a:hover { color: var(--orange); }
.lang-toggle { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--pill); }
.lang-toggle button { min-height: 44px; min-width: 52px; padding: 0 16px; border: none; border-radius: 999px; font: 700 15px var(--sans); cursor: pointer; background: transparent; color: var(--ink); }
.lang-toggle button[aria-pressed="true"] { background: var(--ink); color: var(--cream); }
.menu-btn { display: none; background: none; border: none; color: var(--ink); width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer; border-radius: 8px; }

/* Hero */
.hero { padding: 72px 24px 96px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; }
.name-note { margin-top: 8px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 16px; line-height: 1.5; color: var(--muted); max-width: 720px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: 999px; font-weight: 600; font-size: 17px; text-decoration: none; transition: transform .15s ease, background .15s ease, color .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--orange); color: var(--paper); }
.btn-primary:hover { background: #A84815; color: var(--paper); }
.btn-outline { border: 2px solid var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--cream); }
.btn-light { background: var(--cream); color: var(--ink); }
.btn-light:hover { background: var(--paper); color: var(--ink); }

/* Cards */
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.card { display: flex; flex-direction: column; gap: 10px; background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 28px; }
.card p { font-size: 16px; line-height: 1.55; color: var(--muted); }
.card .num { font-family: var(--serif); font-size: 40px; font-weight: 600; line-height: 1; color: var(--orange); }
.card-action { gap: 14px; }
.card-action h3 { font-size: 26px; }
.card-action p { flex-grow: 1; }
.card-action .btn { align-self: flex-start; }

/* Principles */
.principles { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px; }
.principles > div { display: flex; flex-direction: column; gap: 8px; padding-top: 20px; border-top: 3px solid var(--orange); }
.principles p { font-size: 17px; line-height: 1.55; color: var(--muted); }
.who { margin-top: 48px; }

/* CalKIDS */
.bg-green .sub { font-size: 19px; }
.bg-green .eyebrow { color: var(--cream); }

/* Footer */
.email { font-family: var(--serif); font-size: clamp(22px, 3vw, 32px); color: var(--peach); word-break: break-all; }
.email:hover { color: var(--cream); }
.disclaimer { margin-top: 48px; padding-top: 24px; border-top: 1px solid #4A5A52; font-size: 14px; line-height: 1.6; color: var(--on-dark-muted); max-width: 760px; }

/* Mobile */
@media (max-width: 820px) {
  .section { padding: 72px 16px; }
  .hero { padding: 48px 16px 72px; }
  .site-header { padding: 10px 16px; }
  .brand { font-size: 22px; }
  .brand img { width: 36px; height: 36px; }
  .menu-btn { display: inline-flex; }
  .header-right { display: none; width: 100%; flex-direction: column; align-items: flex-start; gap: 16px; padding: 8px 0 12px; }
  .header-right.open { display: flex; }
  nav { flex-direction: column; gap: 4px; width: 100%; }
  nav a { font-size: 18px; padding: 10px 0; }
  .lead { font-size: 18px; }
  .btn { width: 100%; }
  .card-action .btn { align-self: stretch; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
  .btn:hover { transform: none; }
}

.cards-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
@media (min-width: 821px) { .cards-2 { grid-template-columns: 1fr 1fr; } }

.back-link { font-weight: 600; text-decoration: none; align-self: flex-start; padding: 8px 0; }
.back-link:hover { text-decoration: underline; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px; }
.steps li { display: flex; gap: 16px; align-items: flex-start; }
.steps .num { flex: none; width: 48px; height: 48px; border-radius: 999px; background: var(--orange); color: var(--paper); font: 600 22px var(--serif); display: flex; align-items: center; justify-content: center; }
.steps h3 { margin-bottom: 6px; }
.steps p { font-size: 17px; line-height: 1.55; color: var(--muted); }
.checklist { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; max-width: 760px; }
.checklist li { position: relative; padding-left: 32px; font-size: 18px; line-height: 1.5; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 4px; background: var(--green); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12l5 5L20 7' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12l5 5L20 7' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; }
