/* Visual Choices AAC — v3: plain + light color, cards, device frames */

:root {
  --text: #1d1d1f;
  --muted: #5b5f66;
  --accent: #1f6fd6;
  --rule: #e3e3e3;
  --serif: Charter, "Bitstream Charter", "Iowan Old Style", "Sitka Text", Cambria, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", Arial, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--accent); }

h1, h2, h3 {
  font-family: var(--sans);
  line-height: 1.2;
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2rem, 5vw, 2.9rem); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3.4vw, 2rem); font-weight: 700; letter-spacing: -0.01em; }
h3 { font-size: 1.2rem; font-weight: 700; }

p, ul, ol { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
ol { padding-left: 1.4em; }
li { margin-bottom: 0.35em; }

.page { max-width: 1000px; margin: 0 auto; padding: 0 20px; }
.text { max-width: 680px; }

section { padding: 56px 0; border-top: 1px solid var(--rule); }
section:first-of-type { border-top: 0; }

sup a { text-decoration: none; font-family: var(--sans); font-size: 0.7em; padding: 0 1px; }

/* Header */
header.top {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px;
  padding: 18px 0;
  font-family: var(--sans);
}
header.top .name {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; color: var(--text); text-decoration: none; font-size: 1.05rem;
}
header.top .name img { width: 32px; height: 32px; border-radius: 7px; }
header.top nav { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-left: auto; font-size: 0.95rem; }
header.top nav a { color: var(--muted); text-decoration: none; }
header.top nav a:hover { color: var(--text); text-decoration: underline; }

/* Hero */
.hero { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; padding-top: 32px; }
.hero p { font-size: 1.15rem; color: var(--muted); }
.shot { border: 1px solid var(--rule); border-radius: 12px; overflow: hidden; }
.badges { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 8px; }
.badges img { height: 46px; width: auto; }

/* Two columns */
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }

.placeholder {
  aspect-ratio: 4 / 3; background: #f2f2f2; color: var(--muted);
  display: grid; place-items: center; text-align: center; padding: 20px;
  font-family: var(--sans); font-size: 0.95rem;
}

figure { margin: 0; }
figcaption { font-size: 0.85rem; color: var(--muted); margin-top: 8px; font-family: var(--sans); }

/* Statement */
.statement p.big {
  font-family: var(--sans);
  font-size: clamp(1.8rem, 4.6vw, 3rem);
  font-weight: 700; line-height: 1.15; letter-spacing: -0.02em;
  max-width: 16em; margin-bottom: 0.4em;
}

/* Step 1 */
.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 28px 0; }
.three figcaption { font-size: 0.95rem; color: var(--text); text-align: center; }

/* Step 2 */
.feature { display: grid; grid-template-columns: 300px 1fr; gap: 36px; margin-top: 40px; align-items: start; }
.feature .pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* Story */
.founder { float: right; width: 220px; margin: 6px 0 16px 32px; }
.founder figcaption { color: var(--text); }
.story p { max-width: 680px; }
.clear { clear: both; }

/* Reviews */
.quotes { columns: 2 320px; column-gap: 40px; margin-top: 24px; }
.quotes blockquote { break-inside: avoid; margin: 0 0 28px; }
.quotes blockquote p { margin-bottom: 6px; }
.quotes cite { font-style: normal; font-family: var(--sans); font-size: 0.88rem; color: var(--muted); }

/* FAQ */
.faq h3 { margin-top: 1.6em; }
.faq blockquote { margin: 0 0 1em; padding-left: 18px; border-left: 3px solid var(--rule); font-style: italic; }

/* Pricing */
table { border-collapse: collapse; width: 100%; max-width: 560px; margin: 8px 0 24px; font-family: var(--sans); font-size: 1rem; }
th, td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--rule); }
th { font-weight: 600; color: var(--muted); font-size: 0.9rem; }
td.num { font-variant-numeric: tabular-nums; }

/* References & footer */
.refs ol { font-size: 0.85rem; color: var(--muted); padding-left: 1.4em; }
footer { padding: 32px 0 48px; border-top: 1px solid var(--rule); font-family: var(--sans); font-size: 0.9rem; color: var(--muted); }
footer a { color: var(--muted); }

@media (max-width: 760px) {
  .hero, .cols, .feature { grid-template-columns: 1fr; gap: 28px; }
  .feature .media { max-width: 320px; }
  .three { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .three figcaption { font-size: 0.8rem; }
  .founder { width: 130px; margin-left: 20px; }
  header.top nav { margin-left: 0; }
}

/* ---------- v3 additions ---------- */
:root {
  --navy: #14213d;
  --tint: #f1f6fb;
  --gold: #f2b441;
  --card-line: #e1e8ef;
}

h1, h2 { color: var(--navy); }

/* Full-bleed tinted band while content stays in the column */
.band {
  background: var(--tint);
  box-shadow: 0 0 0 100vmax var(--tint);
  clip-path: inset(0 -100vmax);
  border-top: 0;
}
.band + section { border-top: 0; }

.statement.band { padding: 72px 0; }
.statement .big { color: var(--navy); }

/* iPhone frame (hero) */
.iphone {
  width: 100%; max-width: 280px; margin: 0 auto;
  background: #111; padding: 11px; border-radius: 46px;
  box-shadow: 0 24px 50px -24px rgba(20, 33, 61, 0.45);
}
.iphone img { border-radius: 36px; width: 100%; }

/* iPad frame (step 1) */
.ipad {
  background: #111; padding: 9px; border-radius: 22px;
  box-shadow: 0 18px 36px -22px rgba(20, 33, 61, 0.45);
}
.ipad img { border-radius: 13px; width: 100%; }
.three figcaption { margin-top: 12px; }

/* Stars */
.stars { color: var(--gold); letter-spacing: 1px; }
.rating-line { font-family: var(--sans); font-size: 1rem; }
.rating-line .stars { font-size: 1.15rem; margin-right: 6px; }

/* Review cards */
.quotes blockquote {
  background: #fff; border: 1px solid var(--card-line); border-radius: 14px;
  padding: 20px 22px;
}
.quotes .stars { display: block; font-size: 0.95rem; margin-bottom: 6px; }
.quotes blockquote p { font-size: 1rem; }

/* Pricing cards */
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 8px; }
.price-card {
  border: 1px solid var(--card-line); border-radius: 14px; padding: 24px 26px; background: #fff;
  font-family: var(--sans);
}
.price-card h3 { display: flex; justify-content: space-between; align-items: baseline; }
.price-card h3 small { font-size: 0.85rem; font-weight: 500; color: var(--muted); }
.price-rows { list-style: none; margin: 0 0 18px; padding: 0; }
.price-rows li {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 12px 0; border-bottom: 1px solid var(--rule); margin: 0;
}
.price-rows li:last-child { border-bottom: 0; }
.price-rows .plan { font-weight: 600; }
.price-rows .plan small { display: block; font-weight: 400; color: var(--muted); font-size: 0.82rem; }
.price-rows .amt { font-weight: 700; font-size: 1.35rem; color: var(--navy); font-variant-numeric: tabular-nums; }
.price-rows .amt small { font-size: 0.85rem; font-weight: 500; color: var(--muted); }
.price-card .badges img { height: 42px; }
.price-country { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; margin: 4px 0 18px; font-family: var(--sans); }
.price-country[hidden], .price-rows[hidden], .na-note[hidden], .price-card .badges[hidden] { display: none; }
.price-country label { font-weight: 600; }
.price-country select {
  font: inherit; font-size: 1rem; color: var(--text); background: #fff; max-width: 100%;
  border: 1px solid var(--card-line); border-radius: 10px; padding: 8px 12px;
}
.price-card .na-note { color: var(--muted); margin: 12px 0 18px; }
.price-license { font-family: var(--sans); font-size: 0.95rem; color: var(--text); margin: 16px 0 0; }

.price-notes { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
.price-notes .schools-note { padding: 24px 26px; grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px 32px; }
.schools-note p { margin: 0; flex: 1 1 420px; font-size: 1.1rem; }
.price-notes .schools-note strong { font-size: 1.4rem; margin-bottom: 8px; }
.schools-note .note-link {
  flex: none; font-family: var(--sans); font-weight: 600; font-size: 0.95rem; text-decoration: none;
  color: var(--accent); background: #fff; border: 1px solid var(--card-line); border-radius: 999px; padding: 9px 18px;
}
.schools-note .note-link:hover { border-color: var(--accent); }
.price-notes div { background: var(--tint); border-radius: 12px; padding: 18px 20px; font-size: 0.95rem; }
.price-notes strong { display: block; font-family: var(--sans); color: var(--navy); margin-bottom: 4px; }

@media (max-width: 760px) {
  .price-grid, .price-notes { grid-template-columns: 1fr; }
  .iphone { max-width: 240px; }
  .ipad { padding: 5px; border-radius: 12px; }
  .ipad img { border-radius: 8px; }
}

/* Step 1 progression with arrows */
.three.progression { grid-template-columns: 1fr auto 1fr auto 1fr; align-items: start; gap: 16px; }
.progression .arrow {
  align-self: center; margin-top: -28px; /* offset for caption height */
  font-family: var(--sans); font-size: 2.5rem; font-weight: 400; color: var(--accent);
}
@media (max-width: 760px) {
  .three.progression { gap: 6px; }
  .progression .arrow { font-size: 1.2rem; margin-top: -20px; }
}

/* Four-star reviews with developer responses */
.four-head { margin-top: 24px; }
.four-star { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.review-4 {
  margin: 0; background: #fff; border: 1px solid var(--card-line); border-radius: 14px; padding: 20px 22px;
}
.review-4 .stars { display: block; font-size: 0.95rem; margin-bottom: 6px; }
.stars .off { color: #d9dde3; }
.review-4 blockquote { margin: 0 0 8px; }
.review-4 blockquote p { font-size: 1rem; margin: 0; }
.review-4 figcaption { margin: 0 0 14px; }
.response {
  border-left: 3px solid var(--accent); padding: 2px 0 2px 14px;
}
.response .label {
  display: block; font-family: var(--sans); font-size: 0.85rem; font-weight: 600; color: var(--navy); margin-bottom: 2px;
}
.response p { font-size: 0.95rem; margin: 0; }
.all-reviews { margin: 24px 0 0; font-family: var(--sans); font-weight: 600; }
.all-reviews a { text-decoration: none; }
.all-reviews a:hover { text-decoration: underline; }
@media (max-width: 760px) { .four-star { grid-template-columns: 1fr; } }

/* Sticky header (styled like the original version, system fonts) */
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--rule);
  font-family: var(--sans);
}
.header-inner {
  max-width: 1000px; margin: 0 auto; padding: 0 20px;
  height: 64px; display: flex; align-items: center; gap: 24px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 1.05rem; color: var(--navy); text-decoration: none; white-space: nowrap;
}
.brand img { width: 34px; height: 34px; border-radius: 8px; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: var(--text); text-decoration: none; font-weight: 500; font-size: 0.95rem; white-space: nowrap; }
.nav .nav-home { display: none; }
.nav a:hover { color: var(--accent); }
.header-cta {
  background: var(--accent); color: #fff; text-decoration: none;
  font-weight: 600; font-size: 0.95rem; padding: 9px 18px; border-radius: 999px;
}
.header-cta:hover { background: #185bb3; color: #fff; }
.menu-toggle {
  display: none; margin-left: auto; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--navy);
}
@media (max-width: 760px) {
  .menu-toggle { display: inline-flex; }
  .nav {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; gap: 0; background: #fff;
    border-bottom: 1px solid var(--rule); padding: 4px 20px 12px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--rule); }
  .nav a:last-child { border-bottom: 0; }
  .nav .nav-home { display: block; }
  .header-cta { order: 1; margin-left: auto; padding: 7px 14px; font-size: 0.9rem; }
  .menu-toggle { order: 2; margin-left: 0; }
  .header-inner { gap: 10px; }
}
@media (max-width: 420px) {
  .header-inner { padding: 0 16px; }
  .brand-aac { display: none; }
  .menu-toggle { padding: 6px; }
}
@media (max-width: 339px) {
  .brand { font-size: 0; gap: 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Step 2: roomier alternating rows with soft image shadows (like the original) */
#grow.band { padding: 80px 0; }
#grow .feature {
  grid-template-columns: 1fr 1fr; gap: 64px; align-items: start;
  margin: 0; padding: 56px 0; border-top: 1px solid var(--card-line);
}
#grow h2 + .feature { border-top: 0; padding-top: 32px; }
#grow .feature.flip .media { order: 2; }
#grow .feature .media { width: 100%; max-width: 360px; margin: 0 auto; }
#grow .feature .media.pair { max-width: 440px; gap: 16px; }
#grow .media > img,
#grow .shot {
  border-radius: 14px; overflow: hidden;
  border: 1px solid var(--card-line); background: #fff;
  box-shadow: 0 18px 40px -20px rgba(20, 33, 61, 0.35);
}
#grow .media.shot { padding: 0; }
#grow .text h3 { font-size: 1.4rem; color: var(--navy); }
#grow .also { margin: 24px 0 0; }

@media (max-width: 760px) {
  #grow .feature { grid-template-columns: 1fr; gap: 24px; padding: 40px 0; }
  #grow .feature.flip .media { order: 0; }
  #grow .feature .media { max-width: 300px; }
}

/* Pull quote (Binger) */
blockquote.pull {
  margin: 0 0 1.4em; padding: 22px 26px;
  background: var(--tint);
  border-left: 4px solid #4fa3d1;
  border-radius: 0 14px 14px 0;
  font-style: italic;
}
blockquote.pull p { font-size: 1.12rem; line-height: 1.55; color: var(--navy); margin: 0 0 10px; }
blockquote.pull cite {
  display: block; font-style: normal; font-family: var(--sans);
  font-size: 0.9rem; font-weight: 600; color: var(--muted);
}

/* Hand-leading photo */
figure.photo img { border-radius: 14px; box-shadow: 0 10px 30px rgba(20, 33, 61, 0.12); }

/* Story byline */
.story h2 { margin-bottom: 0.2em; }
.story .byline { font-family: var(--sans); font-size: 0.95rem; color: var(--muted); margin-bottom: 1.4em; }

/* "Also in the app" chips */
#grow .plus { border-top: 1px solid var(--card-line); padding-top: 48px; text-align: center; }
#grow .plus h3 { font-size: 1.4rem; color: var(--navy); }
.chips { list-style: none; padding: 0; margin: 18px auto 0; max-width: 760px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.chips li { margin: 0; background: #fff; border: 1px solid var(--card-line); border-radius: 999px; padding: 8px 16px; font-family: var(--sans); font-size: 0.95rem; font-weight: 600; color: var(--navy); box-shadow: 0 2px 6px rgba(20, 33, 61, 0.05); }

/* Unsolicited messages note */
.msg-note { font-family: var(--sans); font-size: 0.95rem; color: var(--muted); margin: 0.3em 0 0; }

/* Footer directory */
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-bottom: 12px; }
.footer-links a { color: var(--text); text-decoration: none; font-weight: 500; }
.footer-links a:hover { color: var(--accent); text-decoration: underline; }
.nav a[aria-current="page"] { color: var(--accent); }

/* Article pages (research, schools) */
.article section { max-width: 720px; }
.article section.refs { max-width: none; }
.page-head { padding: 48px 0 8px; }
.page-head + section { border-top: 0; padding-top: 24px; }
.lede { font-size: 1em; color: var(--text); }
.article h2 { font-size: clamp(1.4rem, 3vw, 1.75rem); }
figure.chart {
  margin: 28px 0; padding: 20px 20px 14px;
  background: #fff; border: 1px solid var(--card-line); border-radius: 14px;
}
figure.chart svg { display: block; width: 100%; height: auto; }
figure.chart figcaption { margin-top: 12px; }
@media (max-width: 760px) {
  figure.chart { padding: 12px 8px 10px; margin: 24px -8px; }
}

/* Schools: email draft */
.email-card { border: 1px solid var(--card-line); border-radius: 14px; background: #fff; padding: 20px 24px; margin: 8px 0 24px; }
.email-draft { border-left: 3px solid var(--rule); padding: 2px 0 2px 16px; font-family: var(--sans); font-size: 0.95rem; }
.email-draft p { margin: 0 0 0.7em; }
.email-draft p:last-child { margin-bottom: 0; }

/* Stories page */
.kid-story h2 { margin-bottom: 0.2em; }
.kid-story .byline { font-family: var(--sans); font-size: 0.95rem; color: var(--muted); margin-bottom: 1.4em; }
.parent-quote { margin: 1.6em 0 0.4em; padding: 20px 22px; background: #fff; border: 1px solid var(--card-line); border-radius: 14px; }
.parent-quote p { margin-bottom: 6px; }
.parent-quote cite { font-style: normal; font-family: var(--sans); font-size: 0.88rem; color: var(--muted); }
.video-slot { aspect-ratio: 16 / 9; border-radius: 14px; }
figure.video { margin: 1.6em 0 0.4em; }
.video-embed { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 14px; background: #000; }
