/* ==========================================================================
   Gaby — design system for edsa.tech/gaby
   Shared by /gaby/, /gaby/privacy/ and /gaby/support/.
   No webfonts, no scripts, no external requests. See /AGENTS.md.
   ========================================================================== */

:root {
  --ink:         #16110d;
  --ink-2:       #453931;
  --ink-3:       #6d5f55;

  --paper:       #f7efe0;
  --paper-2:     #fffaf1;
  --paper-3:     #ece0ca;

  --terracotta:  #c1440e;
  --terracotta-d:#98340a;
  --coral:       #d8574c;
  --teal:        #35a08a;
  --blue:        #2f5fa8;
  --sun:         #f2c14e;
  --olive:       #4f7a3f;
  --night:       #123a4a;   /* screens band only — see .s--night */

  --radius:      16px;
  --border:      3px solid var(--ink);
  --shadow:      6px 6px 0 var(--ink);
  --shadow-sm:   4px 4px 0 var(--ink);
  --shadow-lg:   10px 10px 0 var(--ink);

  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI Variable Display", "Segoe UI",
          "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, "Cascadia Mono",
          Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; }
a { color: var(--terracotta); text-underline-offset: 3px; }
a:hover { color: var(--terracotta-d); }

h1, h2, h3, h4 { margin: 0; font-weight: 800; line-height: 1.02; letter-spacing: -0.035em; }
h1 { font-size: clamp(3rem, 8vw, 5.6rem); }
h2 { font-size: clamp(2.1rem, 5.4vw, 3.6rem); }
h3 { font-size: clamp(1.15rem, 2.2vw, 1.4rem); letter-spacing: -0.02em; line-height: 1.15; }
h4 { font-size: 1.15rem; letter-spacing: -0.02em; }
p  { margin: 0 0 1rem; }

.mono {
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ------------------------------------------------------------------ layout */

.wrap {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(1.15rem, 4vw, 2.5rem);
}
.wrap--narrow { max-width: 800px; }

.s {
  padding: clamp(3.5rem, 8vw, 7rem) 0;
  border-bottom: var(--border);
}
.s--hero  { background: var(--paper); padding-top: clamp(2.5rem, 6vw, 4.5rem); }
.s--cream { background: var(--paper); }
.s--blue  { background: var(--blue);  color: var(--paper-2); }
.s--teal  { background: var(--teal); }
.s--coral { background: var(--coral); }
.s--sun   { background: var(--sun); }
.s--terra { background: var(--terracotta); color: var(--paper-2); }
.s--ink   { background: var(--ink); color: var(--paper); border-bottom: 0; }
.s--night { background: var(--night); color: var(--paper); }
.s--tight { padding: clamp(2.5rem, 5vw, 4rem) 0; }

.s--hero {
  background-image:
    repeating-linear-gradient(to right,  rgba(193,68,14,.16) 0 1px, transparent 1px 88px),
    repeating-linear-gradient(to bottom, rgba(193,68,14,.16) 0 1px, transparent 1px 88px);
}

.sec-title { margin: 1.1rem 0 1.25rem; }
.sec-title--center { text-align: center; }
.eyebrow--center { display: block; width: fit-content; margin-inline: auto; }
.sec-lede { max-width: 46ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.s--blue .sec-lede, .s--terra .sec-lede, .s--ink .sec-lede,
.s--night .sec-lede { color: rgba(255,250,241,.86); }
.lede { font-size: clamp(1.08rem, 1.9vw, 1.3rem); line-height: 1.5; }
.fine { font-size: .92rem; color: var(--ink-3); }

/* -------------------------------------------------------------- primitives */

.eyebrow {
  display: inline-block;
  font-family: var(--mono);
  font-size: clamp(0.66rem, 1.4vw, 0.76rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 0.6rem 1rem;
  background: var(--sun);
  border: var(--border);
  border-radius: 6px;
  box-shadow: var(--shadow-sm);
}
.s--sun .eyebrow { background: var(--paper-2); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.9rem 1.5rem;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  text-decoration: none;
  color: var(--paper-2);
  background: var(--terracotta);
  border: var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow);
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.btn:hover  { color: var(--paper-2); background: var(--terracotta-d);
              transform: translate(-2px,-2px); box-shadow: var(--shadow-lg); }
.btn:active { transform: translate(3px,3px); box-shadow: 3px 3px 0 var(--ink); }
.btn--lg    { padding: 1.1rem 1.9rem; font-size: 1.15rem; }
.btn--sm    { padding: 0.5rem 1rem; font-size: 0.9rem; box-shadow: var(--shadow-sm); }
.btn--sm:hover { box-shadow: var(--shadow); }
.btn--ink   { background: var(--ink); }
.btn--ink:hover { background: #000; }
.btn--paper { background: var(--paper-2); color: var(--ink); }
.btn--paper:hover { background: #fff; color: var(--ink); }
.btn__apple { flex: none; }
.btn__stack { display: flex; flex-direction: column; line-height: 1.05; text-align: left; }
.btn__stack small { font-size: 0.6rem; font-weight: 600; letter-spacing: 0.02em; opacity: .85; }

.card {
  background: var(--paper-2);
  color: var(--ink);
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(1.4rem, 2.6vw, 1.9rem);
}
.card__kicker { color: var(--ink-3); margin-bottom: 1rem; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }

.link-arrow { font-weight: 800; color: var(--sun); text-decoration: none; border-bottom: 3px solid var(--sun); }
.link-arrow:hover { color: #fff; border-color: #fff; }

/* ------------------------------------------------------------------ header */

.site-head {
  position: sticky; top: 0; z-index: 50;
  background: var(--terracotta);
  border-bottom: var(--border);
}
.site-head__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding-top: .8rem; padding-bottom: .8rem;
}
.brand {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: 1.55rem; font-weight: 800; letter-spacing: -0.04em;
  color: var(--paper-2); text-decoration: none;
}
.brand:hover { color: #fff; }
.brand__mark { width: 34px; height: 34px; flex: none; border: 2px solid var(--ink); border-radius: 9px; }
.brand__sub {
  font-family: var(--mono); font-size: .68rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,250,241,.85);
  border-left: 2px solid rgba(255,250,241,.4);
  padding-left: .65rem; margin-left: .15rem;
}
@media (max-width: 700px) { .brand__sub { display: none; } }

/* -------------------------------------------------------------------- hero */

.hero {
  display: grid;
  grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero__copy h1 { margin: 1.25rem 0 1.4rem; }
.hl {
  background: var(--sun);
  box-shadow: 0 0 0 6px var(--sun);
  border-radius: 2px;
}
.hero__copy .lede { max-width: 44ch; margin-bottom: 2rem; color: var(--ink-2); }
.hero__price { margin: 1.1rem 0 0; color: var(--ink-3); }

.hero__art { position: relative; display: flex; justify-content: center; }

.sticker {
  position: absolute; z-index: 3;
  font-family: var(--mono); font-size: .7rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  background: var(--coral); color: var(--paper-2);
  border: var(--border); border-radius: 999px;
  padding: .55rem .95rem;
  box-shadow: var(--shadow-sm);
}
.sticker--speak { top: -16px; left: 2%; transform: rotate(-8deg); }
.sticker--star  { bottom: 6%; right: -4%; border: 0; background: none; padding: 0; box-shadow: none; }
@media (max-width: 900px) { .sticker--speak { left: 2%; } .sticker--star { right: 0; } }
@media (max-width: 700px) {
  .hero__art { margin-top: 2.5rem; }
  .sticker--speak { top: -20px; left: 4px; }
  .sticker--star  { bottom: -18px; right: -4px; }
  .sticker--star svg { width: 58px; height: 58px; }
}

/* phone mockup ------------------------------------------------------------ */

.phone {
  width: min(340px, 82vw);
  background: var(--ink);
  border: var(--border);
  border-radius: 46px;
  padding: 11px;
  box-shadow: var(--shadow-lg);
}
.phone__screen {
  position: relative;
  background: var(--paper-2);
  border-radius: 36px;
  padding: 12px 14px 16px;
  font-size: 13px;
  line-height: 1.4;
  overflow: hidden;
}
.phone__screen::before {
  content: ""; position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  width: 92px; height: 22px; background: var(--ink); border-radius: 999px;
}
.ui-status {
  display: flex; justify-content: space-between;
  font-size: 11px; font-weight: 700; color: var(--ink);
  padding: 2px 6px 14px;
}
.ui-nav {
  display: flex; align-items: center; justify-content: space-between; gap: .5rem;
  border-bottom: 1px solid rgba(22,17,13,.14);
  padding-bottom: 8px;
}
.ui-nav strong { font-size: 13px; letter-spacing: -0.01em; }
.ui-nav span { flex: 1 0 44px; font-size: 12px; }
.ui-nav__close { color: #2f6fd0; font-weight: 600; }
.ui-nav span:last-child { text-align: right; }
.ui-scene { font-size: 10.5px; color: var(--ink-3); margin: 9px 0 10px; }

.ui-bubble, .ui-correct {
  border: 1px solid rgba(22,17,13,.16);
  border-radius: 10px;
  padding: 9px 11px;
  margin-bottom: 9px;
  background: #fff;
}
.ui-bubble p, .ui-correct p { margin: 0 0 4px; }
.ui-correct { background: #fbe3d3; border-color: #e9b894; }
.ui-correct__badge { font-size: 10.5px; font-weight: 700; color: #2c7a4b; letter-spacing: .01em; }
.ui-correct__es { font-weight: 700; }
.ui-play { display: inline-block; font-size: 10.5px; color: #2f6fd0; font-weight: 600; }

.ui-mic {
  display: flex; align-items: center; justify-content: space-between; gap: .6rem;
  margin-top: 18px; padding-top: 12px;
  border-top: 1px solid rgba(22,17,13,.12);
}
.ui-mic__hint { font-size: .58rem; color: var(--ink-3); letter-spacing: .1em; }
.ui-mic__btn {
  display: grid; place-items: center; width: 38px; height: 38px; flex: none;
  background: #2f6fd0; color: #fff; border-radius: 50%;
}

/* ----------------------------------------------------------------- marquee */

.marquee {
  background: var(--sun);
  border-bottom: var(--border);
  padding: .8rem 0;
  overflow: hidden;
  white-space: nowrap;
}
.marquee__track { display: inline-block; animation: marquee 45s linear infinite; will-change: transform; }
.marquee__track span,
.marquee__track i {
  font-size: clamp(.95rem, 2.2vw, 1.3rem);
  font-weight: 800; letter-spacing: -0.01em;
  padding: 0 .5rem;
}
.marquee__track i { color: var(--terracotta); font-style: normal; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

/* ------------------------------------------------------------------ versus */

.versus { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: clamp(1.25rem, 3vw, 2rem); }
.versus__col--us { background: var(--sun); }
.list { list-style: none; margin: 0; padding: 0; font-weight: 600; }
.list li { position: relative; padding-left: 2rem; margin-bottom: .8rem; }
.list li:last-child { margin-bottom: 0; }
.list li::before {
  position: absolute; left: 0; top: 0;
  font-weight: 800; font-size: 1.05rem;
}
.list--x li { color: var(--ink-3); }
.list--x li::before { content: "✕"; color: var(--coral); }
.list--check li::before { content: "✓"; color: var(--olive); }

/* ------------------------------------------------------------------- steps */

.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(1.25rem, 3vw, 2rem);
}
.step {
  border: var(--border); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: clamp(1.4rem, 2.6vw, 1.9rem);
  display: flex; flex-direction: column;
}
.step h3 { margin-bottom: .6rem; }
.step p { margin-bottom: 0; }
.step__no { display: block; font-size: 1.6rem; font-weight: 800; letter-spacing: .04em; margin-bottom: .9rem; }
.step__rule { border: 0; border-top: 2px solid currentColor; opacity: .45; margin: 1.4rem 0 .8rem; }
.step__meta { font-size: .68rem; opacity: .8; }
.step--1 { background: var(--sun); }
.step--2 { background: var(--coral); color: var(--paper-2); }
.step--3 { background: var(--ink); color: var(--paper); }
.step--3 .step__no { color: var(--sun); }

/* ------------------------------------------------------------------- stats */

.stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: clamp(1.1rem, 2.4vw, 1.6rem);
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}
.stat__n {
  display: block; font-size: clamp(2.6rem, 5vw, 3.4rem); font-weight: 800;
  letter-spacing: -0.05em; line-height: 1; color: var(--terracotta); margin-bottom: .5rem;
}
.stat h4 { margin-bottom: .45rem; }
.stat p { font-size: .95rem; color: var(--ink-2); }

.tags__kicker { margin-bottom: 1rem; }
.s--teal .tags__kicker { color: rgba(22,17,13,.7); }
.tags { display: flex; flex-wrap: wrap; gap: .6rem; margin: 0; }
.tag {
  background: var(--paper-2); border: 2px solid var(--ink); border-radius: 10px;
  box-shadow: var(--shadow-sm);
  padding: .5rem .8rem; font-size: .92rem; font-weight: 700; line-height: 1.25;
}
.tag em {
  display: block; font-family: var(--mono); font-style: normal;
  font-size: .6rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase;
  color: var(--ink-3); margin-top: .15rem;
}

/* ---------------------------------------------------------------- features */

.features { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: clamp(1.1rem, 2.4vw, 1.6rem); }
@media (max-width: 720px) { .features { grid-template-columns: 1fr; } }
.feature__icon {
  display: grid; place-items: center; width: 46px; height: 46px;
  background: var(--sun); color: var(--ink);
  border: 2px solid var(--ink); border-radius: 10px;
  margin-bottom: 1rem;
}
.feature h3 { margin-bottom: .55rem; }
.feature p { font-size: .97rem; color: var(--ink-2); margin-bottom: 0; }

/* -------------------------------------------------------------- price band */

.band__inner { text-align: center; display: flex; flex-direction: column; align-items: center; }
.band__title { font-size: clamp(2.6rem, 8vw, 5rem); margin: 1.2rem 0 1.3rem; }
.band__inner .lede { max-width: 44ch; margin-bottom: 2rem; color: rgba(255,250,241,.9); }
.band__fine { margin: 1.1rem 0 0; color: rgba(255,250,241,.75); }

/* ----------------------------------------------------------------- privacy */

.privacy { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.privacy__copy .lede { color: rgba(247,239,224,.82); max-width: 46ch; }
.privacy__list { list-style: none; margin: 0; padding: 0; font-size: .86rem; }
.privacy__list li {
  position: relative;
  padding: .85rem 0 .85rem 2.4rem;
  border-bottom: 2px solid rgba(247,239,224,.16);
  color: rgba(247,239,224,.75);
  text-decoration: line-through;
  text-decoration-color: var(--coral);
  text-decoration-thickness: 2px;
}
.privacy__list li::before {
  content: "✕"; position: absolute; left: 0; top: .75rem;
  color: var(--coral); font-size: 1rem; text-decoration: none;
}

/* --------------------------------------------------------------------- faq */

.qa {
  background: var(--paper-2);
  border: var(--border); border-radius: 12px; box-shadow: var(--shadow);
  margin-bottom: 1rem;
}
.qa summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.1rem 1.3rem;
  font-size: clamp(1rem, 2vw, 1.15rem); font-weight: 800; letter-spacing: -0.02em;
  cursor: pointer; list-style: none;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: ""; flex: none; width: 11px; height: 11px;
  border-right: 3px solid var(--ink); border-bottom: 3px solid var(--ink);
  transform: rotate(45deg) translate(-2px,-2px);
  transition: transform .18s ease;
}
.qa[open] summary::after { transform: rotate(-135deg) translate(-2px,-2px); }
.qa[open] summary { padding-bottom: .4rem; }
.qa__body { padding: 0 1.3rem 1.2rem; }
.qa__body p { margin: 0; color: var(--ink-2); }
.faq__more { text-align: center; margin-top: 2rem; font-weight: 700; }
.s--coral .faq__more { color: var(--ink); }
.s--coral .faq__more a { color: var(--ink); }

/* --------------------------------------------------------------- final cta */

.final__inner { text-align: center; display: flex; flex-direction: column; align-items: center; }
.final__inner .lede { margin-bottom: 2rem; }
.final__fine { margin: 1.1rem 0 0; color: rgba(22,17,13,.65); }

/* ------------------------------------------------------------------ footer */

.site-foot {
  background: var(--ink); color: var(--paper-3);
  border-top: var(--border);
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 3rem;
}
.site-foot a { color: var(--paper-3); text-decoration: none; }
.site-foot a:hover { color: var(--sun); text-decoration: underline; }
.site-foot__grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,2.1fr); gap: 2.5rem; }
.site-foot__word { font-size: clamp(2.2rem,5vw,3rem); font-weight: 800; letter-spacing: -0.04em; color: var(--paper-2); margin: 0; }
.site-foot__tag { color: #9a8b7e; margin: .35rem 0 0; }
.site-foot__handle {
  display: block; margin: 1.5rem 0 .55rem; color: #8a7c70;
}
.site-foot__handle b { color: var(--sun); font-weight: 700; letter-spacing: .04em; }
.site-foot__social {
  display: flex; flex-wrap: wrap; gap: .6rem;
  list-style: none; margin: 0; padding: 0;
}
.site-foot__social a {
  display: grid; place-items: center; width: 42px; height: 42px;
  color: var(--paper-2);
  background: rgba(247,239,224,.08);
  border: 2px solid rgba(247,239,224,.5);
  border-radius: 11px;
  transition: transform .12s ease, background .12s ease, color .12s ease, border-color .12s ease;
}
.site-foot__social a:hover {
  background: var(--sun); color: var(--ink); border-color: var(--ink);
  transform: translate(-2px,-2px);
  box-shadow: 3px 3px 0 rgba(0,0,0,.45);
  text-decoration: none;
}
.site-foot__social a:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }
.site-foot__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px,1fr)); gap: 2rem; }
.site-foot__h { color: #8a7c70; margin-bottom: .9rem; }
.site-foot__cols ul { list-style: none; margin: 0; padding: 0; }
.site-foot__cols li { margin-bottom: .6rem; font-weight: 700; }
.site-foot__note {
  margin: clamp(2.5rem,5vw,3.5rem) 0 0; padding-top: 1.5rem;
  border-top: 1px solid #3a3128; font-family: var(--mono); font-size: .7rem;
  letter-spacing: .08em; text-transform: uppercase; color: #8a7c70;
}
@media (max-width: 820px) { .site-foot__grid { grid-template-columns: 1fr; } }

/* ---------------------------------------------------- privacy/support docs */

.doc-head { background: var(--sun); border-bottom: var(--border); padding: clamp(2.5rem,6vw,4.5rem) 0; }
.doc-head h1 { font-size: clamp(2.3rem,6vw,4rem); margin: 1.1rem 0 .9rem; }
.doc-head .lede { max-width: 52ch; color: var(--ink-2); margin-bottom: 0; }
.doc-head__meta { margin-top: 1.6rem; color: rgba(22,17,13,.65); }
.doc-head__meta span { display: block; }

.doc { padding: clamp(2.5rem,6vw,4.5rem) 0 clamp(3rem,7vw,5rem); }
.doc h2 {
  font-size: clamp(1.4rem,3vw,1.9rem);
  margin: 3rem 0 .9rem; padding-top: 1.8rem;
  border-top: 3px solid rgba(22,17,13,.12);
}
.doc h2:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }
.doc h3 { font-size: 1.15rem; margin: 2.2rem 0 .5rem; }
.doc p, .doc li { color: var(--ink-2); }
.doc ul { padding-left: 1.2rem; }
.doc li { margin-bottom: .55rem; }
.doc code {
  font-family: var(--mono); font-size: .84em;
  background: var(--paper-3); border: 1px solid rgba(22,17,13,.18);
  border-radius: 5px; padding: .1em .35em;
}
.doc .qa { margin-bottom: 1rem; }

.callout {
  background: var(--teal); color: var(--ink);
  border: var(--border); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: clamp(1.3rem,3vw,1.9rem);
  margin: 2rem 0 2.5rem;
}
.callout p { color: var(--ink); }
.callout p:last-child { margin-bottom: 0; }
.callout--sun { background: var(--sun); }

.contact-card {
  background: var(--ink); color: var(--paper);
  border: var(--border); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: clamp(1.5rem,3.5vw,2.2rem);
  margin: 2rem 0 1rem;
}
.contact-card h2 { color: var(--paper-2); border: 0; padding: 0; margin: .6rem 0 .8rem; }
.contact-card p { color: rgba(247,239,224,.82); }

/* ------------------------------------------------------------- responsive */

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero__art { margin-top: 1rem; }
  .privacy { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  /* hand-placed line breaks are for wide screens only */
  h1 br, .sec-title br, .band__title br { display: none; }
  .sec-title, .band__title, h1 { text-wrap: balance; }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  .mono { letter-spacing: .08em; }
  .steps, .stats, .versus, .features { grid-template-columns: 1fr; }
  .btn--lg { padding: .95rem 1.3rem; font-size: 1rem; width: 100%; justify-content: center; }
  .site-head__inner { gap: .5rem; }
  .brand { font-size: 1.3rem; }
}

/* ─── Screens strip ──────────────────────────────────────────────────────────
   Real captures from the shipping app, added 2026-09-06. The hero iPhone stays
   CSS — this is the separate thing it cannot do: show the Collection, the level
   picker and a finished lesson.

   A phone screenshot is 415x900 — over 2:1 tall. Laid out at full aspect in a
   row of six it becomes a wall of glass that dwarfs everything around it, which
   is exactly what it did on the first attempt. So the cards are a FIXED height
   and crop from the top: you get the part of each screen that identifies it
   (the title, the first row) at a size that sits inside the section instead of
   swallowing it. Do not restore the full aspect ratio.

   Same-origin JPEGs in /gaby/screens/ — no third-party request, which is the
   part of "no external images" that has to stay true. ~350 KB for six.        */
.screens__lede {
  max-width: 52ch;
  margin: 1.1rem 0 0;
  color: rgba(247,239,224,.8);
}

.screens {
  /* --screen-w and --screens-gap drive BOTH the layout and the keyframe below,
     so the loop stays exact at every breakpoint. Change them together.        */
  --screen-w: 176px;
  --screens-gap: clamp(0.75rem, 1.6vw, 1.1rem);
  overflow: hidden;
  padding: 0.4rem 0 1.2rem;
  margin-top: clamp(1.6rem, 3vw, 2.4rem);
}
.screens__track {
  display: flex;
  gap: var(--screens-gap);
  width: max-content;
  animation: screens-marquee 50s linear infinite;
  will-change: transform;
}
/* Stop so a visitor can actually read one — hover, keyboard focus, or a press
   on touch, where there is no hover to rely on. The strip carries tabindex="0"
   so it is a real tab stop: that is what makes :focus-within reachable, and it
   is also what makes the reduced-motion scroller operable from the keyboard.  */
.screens:hover  .screens__track,
.screens:active .screens__track,
.screens:focus-within .screens__track { animation-play-state: paused; }
.screens:focus-visible { outline: 3px solid var(--sun); outline-offset: -3px; }

/* Slide exactly one copy of the six, then loop. The seam never shows because
   the track holds FOUR copies, so after advancing one there are still three
   filling the screen — good to a ~3460 px viewport. Adding a seventh shot, or
   changing --screen-w, changes that budget: keep copies x 6 figures in the HTML
   and the 6 in the keyframe below in sync, or the loop will visibly jump.     */
@keyframes screens-marquee {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(calc(-6 * (var(--screen-w) + var(--screens-gap))), 0, 0); }
}

.screens figure {
  margin: 0;
  flex: 0 0 auto;
  width: var(--screen-w);
}
.screens img {
  display: block;
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: top center;
  border: 3px solid var(--paper-2);
  border-radius: var(--radius);
  box-shadow: 4px 4px 0 rgba(0,0,0,.35);
  background: var(--paper-2);
}
.screens figcaption {
  margin-top: 0.7rem;
  font-size: 0.82rem;
  line-height: 1.4;
  color: rgba(247,239,224,.72);
}
.screens figcaption b {
  display: block;
  font-weight: 800;
  color: var(--paper-2);
  margin-bottom: 0.1rem;
}
@media (max-width: 680px) {
  .screens { --screen-w: 148px; }
  .screens img { height: 252px; }
}
/* No motion: fall back to the strip you scroll yourself, with the decorative
   duplicates removed so nothing repeats.                                      */
@media (prefers-reduced-motion: reduce) {
  .screens {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .screens__track { animation: none; width: auto; }
  .screens figure { scroll-snap-align: start; }
  .screens figure[aria-hidden="true"] { display: none; }
}

/* -------------------------------------------------------------- quiz pages
   /gaby/quiz/<day>/ — generated by tools/build-quiz-pages.mjs from
   tools/posting-kit/quizzes.json. Never hand-edit those pages.              */
.quiz__q { font-size: clamp(1.45rem, 3vw, 2.1rem); line-height: 1.12; max-width: 26ch; margin: 1.2rem 0 1.6rem; }
.quiz__options {
  list-style: none; counter-reset: opt; margin: 0; padding: 0;
  display: grid; gap: .7rem;
}
.quiz__options li {
  counter-increment: opt;
  position: relative;
  padding: .9rem 1.1rem .9rem 3.1rem;
  font-size: 1.05rem; font-weight: 700;
  background: rgba(247,239,224,.07);
  border: 2px solid rgba(247,239,224,.3);
  border-radius: 10px;
}
.quiz__options li::before {
  content: counter(opt, upper-alpha);
  position: absolute; left: 1rem; top: 50%; transform: translateY(-50%);
  font-family: var(--mono); font-weight: 700; color: var(--sun);
}
.quiz__reveal {
  background: var(--paper-2);
  border: var(--border); border-radius: var(--radius); box-shadow: var(--shadow);
}
.quiz__reveal summary {
  padding: 1.2rem 1.4rem;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem); font-weight: 800; letter-spacing: -.02em;
  cursor: pointer; list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.quiz__reveal summary::-webkit-details-marker { display: none; }
.quiz__reveal summary::after {
  content: ""; flex: none; width: 11px; height: 11px;
  border-right: 3px solid var(--ink); border-bottom: 3px solid var(--ink);
  transform: rotate(45deg) translate(-2px,-2px); transition: transform .18s ease;
}
.quiz__reveal[open] summary::after { transform: rotate(-135deg) translate(-2px,-2px); }
.quiz__answer { padding: 0 1.4rem 1.5rem; }
.quiz__label { color: var(--ink-3); margin: 1.1rem 0 .35rem; }
.quiz__answer > .quiz__label:first-child { margin-top: 0; }
.quiz__a { font-size: clamp(1.3rem, 3vw, 1.7rem); font-weight: 800; letter-spacing: -.025em; margin-bottom: .4rem; }
.quiz__answer p { color: var(--ink-2); }
.quiz__takeaway {
  margin: 1.2rem 0 0; padding: .9rem 1.1rem;
  background: var(--sage, #e8e2cf); background: rgba(53,160,138,.16);
  border-left: 4px solid var(--teal);
  border-radius: 0 8px 8px 0;
  font-weight: 700; color: var(--ink);
}
.quiz__more { margin: 1.6rem 0 0; font-weight: 700; }

/* ------------------------------------------------------------- video band
   The promo Short on every answer page. Click-to-load on purpose: the poster
   is drawn in CSS, so NOTHING is requested from Google until the visitor
   presses play. That keeps the "one third-party request" promise these pages
   make, and section 11 of /gaby/privacy/ says so.                           */
.vid { text-align: center; }
.vid__title { font-size: clamp(1.6rem, 3.6vw, 2.4rem); margin: 1.1rem 0 1.6rem; }
.vid__frame {
  position: relative;
  width: min(300px, 78vw);
  aspect-ratio: 9 / 16;
  margin: 0 auto;
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  background: #000;
}
.vid__frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.vid__play {
  position: absolute; inset: 0; width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1.1rem; cursor: pointer; border: 0; font: inherit; color: var(--paper);
  background:
    radial-gradient(120% 80% at 50% 40%, rgba(193,68,14,.5), transparent 70%),
    linear-gradient(160deg, #1d3b47, #0d1f27);
}
.vid__play:hover .vid__tri { transform: scale(1.08); background: var(--sun); }
.vid__tri {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--paper-2); border: 3px solid var(--ink);
  box-shadow: var(--shadow-sm);
  display: grid; place-items: center;
  transition: transform .14s ease, background .14s ease;
}
.vid__tri::after {
  content: ""; margin-left: 5px;
  border-left: 22px solid var(--ink);
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
}
.vid__hint { font-size: .64rem; color: rgba(247,239,224,.8); }
.vid__note { margin: 1.1rem 0 0; font-size: .85rem; color: rgba(247,239,224,.6); }
