/* shule.site — the story site. House look: warm paper, Lexend, indigo for every action. */
:root {
  --paper: #FAF8F3; --ink: #292524; --muted: #57534E; --line: #E7E2D8; --white: #fff;
  --indigo: #4F46E5; --indigo-dark: #3730A3; --indigo-tint: #EEF2FF; --indigo-pale: #C7D2FE;
  --green: #047857; --green-tint: #ECFDF5; --green-line: #A7F3D0; --green-ink: #065F46;
  --jua: #FACC15;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Lexend, system-ui, sans-serif; font-size: 17px; line-height: 1.55; }
a { color: var(--indigo); }
a:hover { color: var(--indigo-dark); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { margin: 0; letter-spacing: -0.02em; line-height: 1.12; font-weight: 800; }
h1 { font-size: clamp(32px, 4.4vw, 50px); text-wrap: balance; }
h2 { font-size: clamp(26px, 3vw, 36px); }
h3 { font-size: 19px; font-weight: 700; letter-spacing: 0; }
.h3 { font-size: 24px; letter-spacing: -0.01em; }
p { margin: 0; }
ul, ol { margin: 0; }
.wrap { max-width: 1120px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.between { justify-content: space-between; }
.small { font-size: 15px; color: var(--muted); }
.light { color: #D6D3D1; }
.light a { color: var(--indigo-pale); }
.lede { font-size: 20px; color: var(--muted); max-width: 34em; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 12px; border-radius: 8px; }
.skip:focus { left: 8px; z-index: 10; }
:focus-visible { outline: 3px solid var(--indigo); outline-offset: 2px; }

/* Buttons and links */
.btn { display: inline-block; background: var(--indigo); color: var(--white); text-decoration: none; font-weight: 700; padding: 15px 24px; border-radius: 12px; min-height: 48px; font-size: 18px; }
.btn:hover { background: var(--indigo-dark); color: var(--white); }
.btn-sm { font-size: 15px; font-weight: 600; padding: 11px 18px; min-height: 44px; border-radius: 10px; }
.btn-lg { font-size: 18px; }
.btn-green { background: var(--green); margin-top: 8px; align-self: flex-start; font-size: 16px; padding: 13px 20px; }
.btn-green:hover { background: var(--green-ink); }
.btn-white { background: var(--white); color: var(--indigo); }
.btn-white:hover { background: var(--indigo-tint); color: var(--indigo-dark); }
.link { color: var(--indigo); text-decoration: none; font-weight: 700; padding: 12px 0; min-height: 44px; display: inline-block; margin-top: auto; }
.link-lg { color: var(--indigo); text-decoration: none; font-weight: 600; font-size: 17px; padding: 14px 8px; min-height: 48px; display: inline-block; }

/* Header */
.top { border-bottom: 1px solid var(--line); background: var(--paper); }
.top .wrap { padding-top: 18px; padding-bottom: 18px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 22px; letter-spacing: -0.01em; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; font-size: 15px; font-weight: 500; }
.nav a { color: var(--ink); text-decoration: none; }
.nav a.btn { color: var(--white); }

/* Hero */
.hero { padding-top: 56px; padding-bottom: 40px; display: grid; grid-template-columns: 7fr 5fr; gap: 40px; align-items: center; }
.hero-text { display: flex; flex-direction: column; gap: 22px; }
.hero-art img { border-radius: 20px; }
.pill { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; background: var(--green-tint); color: var(--green-ink); border: 1px solid var(--green-line); border-radius: 999px; padding: 6px 12px; font-size: 14px; font-weight: 600; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.counter { font-size: 16px; color: var(--muted); }
.counter strong { color: var(--ink); font-weight: 700; font-variant-numeric: tabular-nums; }

/* Proof cards */
.proof { padding-top: 16px; padding-bottom: 56px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.card .big { font-size: 28px; font-weight: 800; letter-spacing: -0.02em; color: var(--indigo); font-variant-numeric: tabular-nums; white-space: nowrap; }
.card.tall { border-radius: 18px; padding: 28px; gap: 12px; }
.card.tall ul { padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }

/* How */
.band-white { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.how { padding-top: 64px; padding-bottom: 64px; display: grid; grid-template-columns: 5fr 7fr; gap: 40px; align-items: center; }
.how-art img { border-radius: 20px; }
.how-text { display: flex; flex-direction: column; gap: 20px; }
.steps { padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; }
.steps li { display: flex; gap: 14px; align-items: flex-start; }
.num { flex: none; width: 36px; height: 36px; border-radius: 10px; background: var(--indigo-tint); color: var(--indigo); display: flex; align-items: center; justify-content: center; font-weight: 800; }

/* Founding */
.founding { padding-top: 64px; padding-bottom: 64px; display: grid; grid-template-columns: 5fr 7fr; gap: 32px; align-items: start; }
.founding-text { display: flex; flex-direction: column; gap: 14px; }
.founding-text p { color: var(--muted); }
.offers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.offer { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 24px; display: flex; flex-direction: column; gap: 10px; font-size: 16px; }
.offer-main { background: var(--green-tint); border: 2px solid var(--green); }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--green-ink); }
.eyebrow.muted { color: var(--muted); }
.offer-name { font-size: 24px; font-weight: 800; letter-spacing: -0.01em; }
.offer .small { margin-top: 8px; font-size: 14px; }

/* Trust */
.band-dark { background: var(--ink); color: var(--paper); }
.band-dark .wrap { padding-top: 64px; padding-bottom: 64px; display: flex; flex-direction: column; gap: 28px; }
.trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.trust > div { display: flex; flex-direction: column; gap: 8px; border-top: 2px solid #A5B4FC; padding-top: 14px; }
.trust p { color: #D6D3D1; font-size: 16px; }

/* Questions parents ask (FAQ) */
.faq { padding-top: 64px; display: flex; flex-direction: column; gap: 18px; }
.about { color: var(--muted); font-size: 17px; max-width: 48em; }
.faq-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; font-weight: 600; font-size: 17px; min-height: 48px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; flex: none; width: 28px; height: 28px; border-radius: 8px; background: var(--indigo-tint); color: var(--indigo); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { padding: 0 0 18px; color: var(--muted); max-width: 60em; }
.teaser { margin-top: 48px; }

/* Story teaser */
.teaser { display: flex; flex-direction: column; gap: 10px; background: var(--white); border: 1px solid var(--line); border-left: 6px solid var(--indigo); border-radius: 18px; padding: 28px 32px; text-decoration: none; color: var(--ink); }
.teaser:hover { border-color: var(--indigo); color: var(--ink); }
.teaser .eyebrow { color: var(--indigo); }
.teaser-title { font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; text-wrap: balance; }
.teaser-sub { color: var(--muted); font-size: 16px; }
.three { padding-top: 40px; }

/* Three cards */
.three { padding-bottom: 64px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.three p { font-size: 16px; color: var(--muted); }

/* Closing */
.closing { margin-bottom: 72px; background: var(--indigo); color: var(--white); border-radius: 24px; padding: 48px 40px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.closing > div { display: flex; flex-direction: column; gap: 8px; max-width: 36em; }
.closing h2 { font-size: 32px; }
.closing p { color: #E0E7FF; }

/* Footer */
.foot { border-top: 1px solid var(--line); }
.foot .wrap { padding-top: 24px; padding-bottom: 24px; font-size: 14px; color: var(--muted); }
.foot a { color: var(--muted); }

/* Phone and tablet */
@media (max-width: 900px) {
  .hero, .how, .founding { grid-template-columns: 1fr; }
  .how-art { order: -1; }
  .proof { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust, .three { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav { gap: 12px 16px; font-size: 14px; }
  .nav a:not(.btn) { display: none; }
  .hero { padding-top: 28px; }
  .lede { font-size: 17px; }
  .btn-lg { display: block; text-align: center; width: 100%; }
  .counter { text-align: center; font-size: 14px; }
  .proof { gap: 10px; }
  .proof .card:last-child { grid-column: span 2; }
  .pill { font-size: 13px; }
  .card { padding: 14px; }
  .card .big { font-size: 22px; }
  .card .small { font-size: 13px; }
  .offers, .trust, .three { grid-template-columns: 1fr; }
  .closing { padding: 32px 24px; border-radius: 18px; }
  .closing h2 { font-size: 26px; }
  .btn-white { display: block; text-align: center; width: 100%; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }

/* Our story */
.story { max-width: 720px; margin: 0 auto; padding: 56px 24px 72px; display: flex; flex-direction: column; gap: 26px; font-size: 18px; line-height: 1.65; }
.story .eyebrow { font-size: 14px; letter-spacing: 0.08em; color: var(--indigo); }
.story h1 { font-size: clamp(32px, 4vw, 44px); }
.story h2 { font-size: 28px; margin-top: 12px; }
.story .byline { font-size: 16px; color: var(--muted); }
.story .who { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 16px 20px; }
.story .who p { font-size: 15px; color: var(--muted); }
.story .sign { margin-top: 8px; font-weight: 600; }
.story .sign-sub { font-weight: 400; color: var(--muted); font-size: 15px; }
.story .btn { margin-top: 16px; align-self: flex-start; }
@media (max-width: 640px) { .story { font-size: 17px; padding-top: 32px; } .story h2 { font-size: 24px; } .story .btn { align-self: stretch; text-align: center; } }
