/* Yiply website: every page (index, support, privacy, delete-account, terms, 404).
   Cloned from the founder-locked round-2 masters (website-design-bundle/round-2).
   Values come from each master's inline styles and its renderVals() (the responsive
   authority). One breakpoint: 760px. */

/* ---- Module colours: ONE block, so a founder ruling is a one-line change. ----
   Founder rulings, 27 Oct 2026: Tests keeps the sky chip with a dark ink icon (white
   measured 2.75:1, under the 3:1 non-text floor); Tests word from the round-2 master.
   Word list is Design's teal (chip #0E8478 with a white icon, word #0B6B62). The
   *-word values are each module's name colour on white. Every module chip, title and
   plus on the index reads these variables. */
:root {
  --mod-homework: #188658;
  --mod-homework-word: #106542;
  --mod-homework-icon: #FFFFFF;
  --mod-flashcards: #E8A812;
  --mod-flashcards-word: #6F5614;
  --mod-flashcards-icon: #10231C;
  --mod-tests: #2BA6E0;
  --mod-tests-word: #17709C;
  --mod-tests-icon: #10231C;
  --mod-wordlist: #0E8478;
  --mod-wordlist-word: #0B6B62;
  --mod-wordlist-icon: #FFFFFF;
}

/* ---- Design tokens ---- */
:root {
  --ink: #10231C;
  --muted: #42584F;
  --caption: #7E8D85;
  --page: #F4FBF6;
  --alt: #EAF6EF;
  --white: #FFFFFF;
  --hairline: #DCEBE3;
  --button: #188658;
  --button-hover: #157A50;
  --input-edge: #7A9386;
  --forest: #106542;
  --forest-hover: #0C5536;
  --sky: #2BA6E0;
  --sky-tint: #E2F2FB;
  --sky-text: #17709C;
  --sun: #FFC83D;
  --focus-ring: #D7F0E2;
  --ochre: #6F5614;
  --ticker-text: #EAF7F0;
  --ticker-dot: #8FCBB0;
  --foot-text: #EAF7F0;
  --foot-muted: #C9E8D9;
  --foot-head: #A9DCC4;
  --header-bg: rgba(244, 251, 246, 0.9);
  --scrim-modal: rgba(16, 35, 28, 0.38);
  --shadow-card: 0 6px 28px rgba(16, 60, 42, 0.08);
  --shadow-active: 0 18px 44px rgba(16, 60, 42, 0.16);
  --shadow-phone: 0 6px 28px rgba(16, 60, 42, 0.12);
  --shadow-dialog: 0 18px 44px rgba(16, 60, 42, 0.18);
  --ease-settle: cubic-bezier(.22, .7, .18, 1);
  --font-display: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Nunito Sans', system-ui, sans-serif;

  /* Responsive values: mobile first (below 760px). */
  --gut: 20px;
  --sec-pad: 60px;
  --block-gap: 48px;
  --h1: 40px;
  --h2: 29px;
  --hero-lead: 18px;
  --hero-min: 620px;
  --hero-pad: 56px;
  --hero-pos: 62% 30%;
  --scrim: linear-gradient(180deg, rgba(244,251,246,0.93) 0%, rgba(244,251,246,0.86) 55%, rgba(244,251,246,0.62) 100%);
  --value: 21px;
  --value-support: 19px;
  --card-pad: 24px;
  --phone-flex: 0 0 220px;
  --phone-gap: 20px;
  --phone-scroll: auto;
  --foot-span: 1;
}
@media (min-width: 760px) {
  :root {
    --gut: 24px;
    --sec-pad: 88px;
    --block-gap: 72px;
    --h1: 64px;
    --h2: 40px;
    --hero-lead: 21px;
    --hero-min: 640px;
    --hero-pad: 96px;
    --hero-pos: center 30%;
    --scrim: linear-gradient(90deg, rgba(244,251,246,0.96) 0%, rgba(244,251,246,0.84) 40%, rgba(244,251,246,0.3) 72%, rgba(244,251,246,0.06) 100%);
    --value: 28px;
    --value-support: 25px;
    --card-pad: 34px;
    --phone-flex: 1 1 0;
    --phone-gap: 22px;
    --phone-scroll: visible;
    --foot-span: 2;
  }
}

/* ---- Self-hosted fonts (Fontsource 5.3.0, SIL OFL 1.1; licences in fonts/) ---- */
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/plus-jakarta-sans-latin-ext-700-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/plus-jakarta-sans-latin-700-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 800; font-display: swap; src: url(fonts/plus-jakarta-sans-latin-ext-800-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 800; font-display: swap; src: url(fonts/plus-jakarta-sans-latin-800-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Nunito Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/nunito-sans-latin-ext-400-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Nunito Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/nunito-sans-latin-400-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Nunito Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/nunito-sans-latin-ext-600-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Nunito Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/nunito-sans-latin-600-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Nunito Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/nunito-sans-latin-ext-700-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Nunito Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/nunito-sans-latin-700-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

/* ---- Base ---- */
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--page);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--forest); }
a:hover { color: var(--forest); }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
svg { fill: currentColor; }
[hidden] { display: none !important; }

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 var(--gut); box-sizing: border-box; }

h2 {
  font-family: var(--font-display); font-weight: 800; font-size: var(--h2);
  line-height: 1.12; letter-spacing: -0.02em; color: var(--ink); text-wrap: balance;
}
.eyebrow {
  font-family: var(--font-display); font-weight: 700; font-size: 13px; line-height: 1.6;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--forest);
}
.lead { font-size: 19px; line-height: 1.6; color: var(--muted); text-wrap: pretty; }
.lead-62 { max-width: 62ch; }
.lead-60 { max-width: 60ch; }
.lead-52 { max-width: 52ch; }
.lead-40 { max-width: 40ch; }

.stack-22 { display: flex; flex-direction: column; gap: 22px; }
.stack-18 { display: flex; flex-direction: column; gap: 18px; }
.stack-16 { display: flex; flex-direction: column; gap: 16px; }

.sec { padding: var(--sec-pad) 0; position: relative; }
.sec-alt { background: var(--alt); }
.sec-page { background: var(--page); }
.sec-white { background: var(--white); }

/* ---- Buttons ---- */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 30px; border-radius: 999px;
  background: var(--button); border-bottom: 4px solid var(--forest); color: var(--white);
  font-family: var(--font-display); font-weight: 700; font-size: 16px;
  text-decoration: none; box-sizing: border-box;
}
.btn-primary:hover { color: var(--white); background: var(--button-hover); }
.btn-primary:active { transform: translateY(2px); border-bottom-width: 2px; }
.btn-secondary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 28px; border-radius: 999px;
  background: var(--white); border: 1.5px solid var(--button); color: var(--forest);
  font-family: var(--font-display); font-weight: 700; font-size: 16px;
  text-decoration: none; box-sizing: border-box;
}
.btn-secondary:hover { background: var(--focus-ring); }

/* ---- Ticker ---- */
@keyframes yTicker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ticker { background: var(--forest); display: flex; align-items: stretch; }
.ticker-viewport { flex: 1; min-width: 0; overflow: hidden; display: flex; align-items: center; }
.ticker-track { display: inline-flex; white-space: nowrap; padding: 12px 0; }
.ticker-track.is-running { animation: yTicker 95s linear infinite; }
.ticker-track.is-paused { animation-play-state: paused; }
.ticker-group { display: inline-flex; }
.ticker-group li {
  display: inline-flex; align-items: center; gap: 24px; padding-right: 24px;
  color: var(--ticker-text); font-family: var(--font-display); font-weight: 700;
  font-size: 14px; white-space: nowrap;
}
.ticker-dot { width: 5px; height: 5px; border-radius: 999px; background: var(--ticker-dot); display: inline-block; }
.ticker-toggle {
  flex-shrink: 0; width: 48px; min-height: 44px; border: none;
  border-left: 1px solid rgba(255,255,255,0.16); background: var(--forest); color: var(--ticker-text);
  display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0;
}
.ticker-toggle svg { fill: var(--ticker-text); }
.ticker-toggle:hover { background: var(--forest-hover); }
.ticker-toggle:focus { outline: 2px solid var(--white); outline-offset: -4px; }

/* ---- Header ---- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--header-bg);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hairline);
}
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; min-height: 44px; }
.brand-icon { width: 32px; height: 32px; border-radius: 9px; display: block; }
.brand-word { font-family: var(--font-display); font-weight: 800; font-size: 24px; letter-spacing: -0.02em; color: var(--forest); }
.main-nav { display: flex; align-items: center; gap: 24px; }
.nav-links { display: none; }
.nav-links a {
  color: var(--muted); font-family: var(--font-display); font-weight: 700; font-size: 15px;
  text-decoration: none; min-height: 44px; display: flex; align-items: center;
}
.nav-links a:hover { color: var(--forest); }
.btn-header { min-height: 44px; padding: 0 18px; font-size: 14.5px; }
@media (min-width: 760px) {
  .nav-links { display: flex; align-items: center; gap: 24px; }
  .btn-header { min-height: 46px; padding: 0 20px; font-size: 15px; }
}

/* ---- Hero ---- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #D5EEFB 0%, #E5F5EF 50%, #F4FBF6 100%);
  min-height: var(--hero-min); display: flex; align-items: center;
}
.hero-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: var(--hero-pos); z-index: 0;
}
.hero-scrim { position: absolute; inset: 0; z-index: 1; background: var(--scrim); }
.hero-inner { position: relative; z-index: 2; width: 100%; padding: var(--hero-pad) 0; }
.hero-copy { max-width: 640px; display: flex; flex-direction: column; gap: 22px; }
@keyframes ySettle { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: no-preference) {
  .hero-copy { animation: ySettle 0.9s var(--ease-settle) 40ms both; }
}
.hero h1 {
  font-family: var(--font-display); font-weight: 800; font-size: var(--h1);
  line-height: 1.08; letter-spacing: -0.02em; color: var(--ink); max-width: 16ch; text-wrap: balance;
}
/* The sun-yellow highlighter: the design's inline SVG, kept exactly as a data: URL
   (needs img-src data: in the CSP). */
.highlight {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 22' preserveAspectRatio='none'%3E%3Cpath d='M4,15 C70,5 130,19 195,11 C240,6 285,16 316,9' stroke='%23FFC83D' stroke-width='9' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: left 100%; background-size: 100% 0.42em;
  padding-bottom: 3px; white-space: nowrap;
}
.hero-lead { font-size: var(--hero-lead); line-height: 1.55; color: var(--muted); max-width: 34ch; font-weight: 600; }
.hero-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin-top: 6px; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { font-size: 15px; font-weight: 700; color: var(--ink); }

/* ---- What Yiply is ---- */
.what { max-width: 900px; display: flex; flex-direction: column; gap: 18px; }
.value { font-size: var(--value); line-height: 1.45; font-weight: 600; color: var(--ink); text-wrap: pretty; }
.value strong { font-weight: 800; color: var(--forest); }
.value-support {
  font-family: var(--font-display); font-weight: 700; font-size: var(--value-support);
  line-height: 1.32; color: var(--forest); text-wrap: balance;
}

/* ---- Module selector (mobile: vertical accordion) ---- */
.mods { display: flex; flex-direction: column; gap: 10px; }
.mod {
  background: var(--white); border: 1px solid var(--hairline); border-radius: 20px;
  overflow: hidden; box-shadow: var(--shadow-card); transition: box-shadow 0.4s;
}
.mod.is-open { box-shadow: var(--shadow-active); }
.mod-h { font-size: inherit; font-weight: inherit; }
.mod-btn {
  width: 100%; min-height: 72px; padding: 12px 16px; border: none; background: transparent;
  display: flex; align-items: center; gap: 14px; text-align: left; cursor: pointer;
  color: inherit; font: inherit;
}
.mod-btn:focus { outline: 2px solid var(--button); outline-offset: -3px; }
.mod-chip {
  width: 44px; height: 44px; border-radius: 13px; display: flex; align-items: center;
  justify-content: center; flex-shrink: 0;
}
.mod-chip svg { width: 23px; height: 23px; flex-shrink: 0; }
.mod-spacer { display: none; }
.mod-title {
  flex: 1; font-family: var(--font-display); font-weight: 800; font-size: 18px;
  letter-spacing: -0.01em; line-height: 1.2;
}
.mod-plus { width: 18px; height: 18px; flex-shrink: 0; transition: transform 0.3s; }
.mod.is-open .mod-plus { transform: rotate(45deg); }
.mod-desc { padding: 0 18px 20px 76px; font-size: 16px; line-height: 1.55; color: var(--muted); }

.mod-homework .mod-chip { background: var(--mod-homework); fill: var(--mod-homework-icon); }
.mod-homework .mod-title, .mod-homework .mod-plus { color: var(--mod-homework-word); fill: var(--mod-homework-word); }
.mod-flashcards .mod-chip { background: var(--mod-flashcards); fill: var(--mod-flashcards-icon); }
.mod-flashcards .mod-title, .mod-flashcards .mod-plus { color: var(--mod-flashcards-word); fill: var(--mod-flashcards-word); }
.mod-tests .mod-chip { background: var(--mod-tests); fill: var(--mod-tests-icon); }
.mod-tests .mod-title, .mod-tests .mod-plus { color: var(--mod-tests-word); fill: var(--mod-tests-word); }
.mod-wordlist .mod-chip { background: var(--mod-wordlist); fill: var(--mod-wordlist-icon); }
.mod-wordlist .mod-title, .mod-wordlist .mod-plus { color: var(--mod-wordlist-word); fill: var(--mod-wordlist-word); }
.mod-chip svg { fill: inherit; }

/* Desktop: horizontal accordion, active panel flex 5, others flex 1. */
@media (min-width: 760px) {
  .mods { flex-direction: row; gap: 12px; height: 360px; }
  .mod {
    flex: 1 1 0; min-width: 0; border-radius: 22px; padding: 26px;
    display: flex; flex-direction: column; overflow: hidden; cursor: pointer;
    transition: flex-grow 0.6s var(--ease-settle), box-shadow 0.4s;
  }
  .mod.is-open { flex: 5 1 0; }
  .mod:focus-within { outline: 2px solid var(--button); outline-offset: 3px; }
  .mod-h { flex: 1; min-height: 0; display: flex; }
  .mod-btn {
    width: auto; flex: 1; min-height: 0; padding: 0;
    flex-direction: column; align-items: stretch; gap: 0;
  }
  .mod-btn:focus { outline: none; }
  .mod-chip { width: 48px; height: 48px; border-radius: 14px; }
  .mod-chip svg { width: 25px; height: 25px; }
  .mod-spacer { display: block; flex: 1; }
  .mod-plus { display: none; }
  .mod-title { flex: none; font-size: 26px; line-height: 1.2; letter-spacing: -0.01em; }
  .mod:not(.is-open) .mod-title {
    writing-mode: vertical-rl; transform: rotate(180deg); white-space: nowrap;
    font-size: 17px; letter-spacing: normal; line-height: 1.6;
  }
  .mod-desc { padding: 0; margin-top: 10px; max-width: 40ch; font-size: 17px; line-height: 1.55; }
}

.privacy-strip {
  margin-top: 14px; background: var(--alt); border-radius: 18px; padding: 18px 22px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px;
  font-size: 16px; font-weight: 700; color: var(--forest);
}
.privacy-strip a {
  display: inline-flex; align-items: center; gap: 6px; color: var(--forest);
  text-decoration: underline; text-underline-offset: 3px; min-height: 44px;
}
.privacy-strip svg { flex-shrink: 0; fill: var(--forest); }

/* ---- How it works ---- */
.sample-note {
  margin-top: 22px; display: flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 700; color: var(--muted);
}
.sample-note svg { flex-shrink: 0; fill: var(--muted); }
.phones {
  display: flex; gap: var(--phone-gap); overflow-x: var(--phone-scroll); overflow-y: hidden;
  scroll-snap-type: x mandatory; padding: 4px 4px 12px; margin: 0 -4px;
}
.phone-step { flex: var(--phone-flex); min-width: 0; scroll-snap-align: start; }
.phone-step figure { display: flex; flex-direction: column; gap: 14px; }
.phone {
  position: relative; background: var(--ink); border-radius: 32px; padding: 7px;
  box-shadow: var(--shadow-phone);
}
.phone img { display: block; width: 100%; height: auto; border-radius: 26px; }
.phone-badge {
  position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%);
  background: rgba(255,255,255,0.94); border: 1px solid var(--hairline); border-radius: 999px;
  padding: 3px 10px; font-family: var(--font-display); font-weight: 800; font-size: 10.5px;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); white-space: nowrap;
}
.phone-step figcaption { display: flex; gap: 12px; align-items: flex-start; }
.step-num {
  width: 32px; height: 32px; border-radius: 999px; background: var(--sky-tint);
  border: 1.5px solid var(--sky); display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-family: var(--font-display); font-weight: 800; font-size: 14px; color: var(--sky-text);
}
.step-text { display: flex; flex-direction: column; gap: 3px; }
.step-title { font-family: var(--font-display); font-weight: 800; font-size: 16px; color: var(--ink); }
.step-body { font-size: 15px; line-height: 1.5; color: var(--muted); }

.block-stack { margin-top: var(--block-gap); display: flex; flex-direction: column; gap: var(--block-gap); }
.note-card {
  background: var(--white); border: 1px solid var(--hairline); border-radius: 18px;
  padding: 24px 28px; display: flex; flex-direction: column; gap: 8px;
}
.card-h { font-family: var(--font-display); font-weight: 800; font-size: 20px; line-height: 1.6; color: var(--ink); }
.note-card p, .bigger-why p { font-size: 17px; line-height: 1.6; color: var(--muted); text-wrap: pretty; }

/* ---- What you can expect ---- */
/* Round 2 patch 1: one card per row on mobile; from 760px a 6-column grid, the first
   three cards span 2 and the last two span 3, so it reads 3 over 2 with no gap. */
.expect {
  margin-top: 10px; display: grid;
  grid-template-columns: minmax(0, 1fr); gap: 14px;
}
@media (min-width: 760px) {
  .expect { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .expect li { grid-column: span 2; }
  .expect li:nth-child(n+4) { grid-column: span 3; }
}
.expect li {
  background: var(--white); border: 1px solid var(--hairline); border-radius: 18px;
  box-shadow: var(--shadow-card); padding: 20px 22px; display: flex; align-items: flex-start; gap: 14px;
}
.expect svg { flex-shrink: 0; fill: var(--button); }
.expect span { font-family: var(--font-display); font-weight: 700; font-size: 17px; line-height: 1.4; color: var(--ink); }

/* ---- Plans ---- */
.plans { max-width: 720px; }
.plans-terms { font-size: 17px; font-weight: 700; color: var(--ink); }
.plans-cta { margin-top: 8px; }
.plans-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; }

/* ---- Waitlist ---- */
.waitlist-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 36px 56px; align-items: start;
}
.waitlist-card {
  background: var(--white); border: 1px solid var(--hairline); border-radius: 24px;
  box-shadow: var(--shadow-card); padding: var(--card-pad);
  display: flex; flex-direction: column; gap: 18px;
}
.wl-form { display: flex; flex-direction: column; gap: 18px; margin: 0; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field-label { font-family: var(--font-display); font-weight: 700; font-size: 14.5px; color: var(--ink); }
.optional { font-weight: 600; color: var(--muted); }
.input {
  min-height: 52px; padding: 0 15px; font-size: 16px; font-family: 'Nunito Sans', sans-serif;
  color: var(--ink); background: var(--page); border: 1.5px solid var(--input-edge); border-radius: 12px;
  box-sizing: border-box; width: 100%; outline: none; box-shadow: none;
}
.input[aria-invalid="true"] { border-color: var(--ochre); }
.input:focus { border-color: var(--button); background: var(--white); box-shadow: 0 0 0 3px var(--focus-ring); }
.field-msg {
  display: flex; align-items: flex-start; gap: 8px; font-size: 14.5px; line-height: 1.45;
  color: var(--ochre); font-weight: 600;
}
/* An empty message holder takes no space (it stays in place as a live region). */
.field-msg:empty { margin-top: -7px; }
.field-msg svg { flex-shrink: 0; margin-top: 2px; fill: var(--ochre); }
.consent { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; min-height: 44px; }
.consent input {
  width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--button); flex-shrink: 0; cursor: pointer;
}
.consent span { font-size: 15.5px; line-height: 1.5; color: var(--ink); }
.consent a { color: var(--forest); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
/* Honeypot: one of the two founder-ruled invisible elements, with the skip link (see website/README.md). */
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; opacity: 0; }
.wl-net {
  background: var(--alt); border-radius: 14px; padding: 14px 16px;
  font-size: 15.5px; font-weight: 700; color: var(--forest);
}
.wl-net a { color: var(--forest); text-decoration: underline; }
.wl-submit {
  min-height: 54px; width: 100%; border: none; border-radius: 999px; background: var(--button);
  border-bottom: 4px solid var(--forest); color: var(--white); font-family: var(--font-display);
  font-weight: 700; font-size: 16px; cursor: pointer; display: flex; align-items: center;
  justify-content: center; gap: 10px;
}
.wl-submit:hover { background: var(--button-hover); }
.wl-submit:active { transform: translateY(2px); border-bottom-width: 2px; }
.wl-submit:focus { outline: 2px solid var(--ink); outline-offset: 3px; }
.wl-submit.is-busy { background: var(--forest); }
.wl-adults { text-align: center; font-size: 14px; color: var(--muted); }
.wl-exists { display: flex; flex-direction: column; gap: 12px; padding: 6px 0; }
.wl-exists > svg { flex-shrink: 0; fill: var(--button); }
.wl-exists-title { font-family: var(--font-display); font-weight: 800; font-size: 24px; letter-spacing: -0.02em; color: var(--ink); }
.wl-exists p { font-size: 17px; line-height: 1.6; color: var(--muted); text-wrap: pretty; }
.btn-okay-secondary {
  min-height: 50px; padding: 0 26px; border-radius: 999px; background: var(--white);
  border: 1.5px solid var(--button); color: var(--forest); font-family: var(--font-display);
  font-weight: 700; font-size: 15px; cursor: pointer;
}
.wl-dialog-scrim {
  position: absolute; inset: 0; background: var(--scrim-modal); display: flex;
  align-items: center; justify-content: center; padding: 24px; z-index: 5;
}
.wl-dialog {
  width: 100%; max-width: 380px; background: var(--white); border-radius: 24px;
  padding: 28px 24px 24px; display: flex; flex-direction: column; gap: 14px;
  box-shadow: var(--shadow-dialog);
}
.wl-dialog-eyebrow {
  font-family: var(--font-display); font-weight: 700; font-size: 12px; letter-spacing: 1.4px;
  text-transform: uppercase; color: var(--forest);
}
.wl-dialog-title {
  font-family: var(--font-display); font-weight: 800; font-size: 26px; letter-spacing: -0.02em;
  line-height: 1.15; color: var(--ink);
}
.wl-dialog-body { font-size: 16px; line-height: 1.55; color: var(--muted); }
.btn-okay {
  min-height: 52px; border: none; border-radius: 999px; background: var(--button);
  border-bottom: 4px solid var(--forest); color: var(--white); font-family: var(--font-display);
  font-weight: 700; font-size: 16px; cursor: pointer;
}

/* ---- Safety ---- */
.safety-list {
  margin-top: 18px; display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 22px 40px;
}
.safety-list li { display: flex; gap: 14px; align-items: flex-start; }
.safety-list svg { flex-shrink: 0; margin-top: 2px; fill: var(--button); }
.safety-text { display: flex; flex-direction: column; gap: 3px; }
.safety-title { font-family: var(--font-display); font-weight: 800; font-size: 17px; color: var(--forest); }
.safety-body { font-size: 16px; line-height: 1.55; color: var(--muted); }
.honest {
  margin-top: 12px; background: var(--alt); border-radius: 18px; padding: 22px 26px;
  font-size: 16px; line-height: 1.6; color: var(--ink);
}
.honest strong { font-family: var(--font-display); font-weight: 800; }
.safety-links { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 12px; }
.text-link {
  display: inline-flex; align-items: center; min-height: 50px; padding: 0 8px; color: var(--forest);
  font-family: var(--font-display); font-weight: 700; font-size: 16px;
  text-decoration: underline; text-underline-offset: 3px;
}

/* ---- About ---- */
.founder-line { font-size: 17px; line-height: 1.6; color: var(--ink); font-weight: 700; max-width: 62ch; }
.about-grid {
  margin-top: 18px; display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 32px 48px;
}
.about-h { font-family: var(--font-display); font-weight: 800; font-size: 23px; line-height: 1.6; color: var(--ink); }
.body-p { font-size: 17px; line-height: 1.6; color: var(--muted); }
.body-p strong { color: var(--ink); }
.refs { font-size: 15px; line-height: 1.55; color: var(--muted); font-style: italic; }
.believe { display: flex; flex-direction: column; gap: 12px; }
.believe .about-h { margin: 0 0 4px; }
.believe-list { display: flex; flex-direction: column; gap: 12px; }
.believe-list li {
  background: var(--white); border: 1px solid var(--hairline); border-radius: 18px;
  padding: 18px 20px; display: flex; flex-direction: column; gap: 4px;
}
.believe-title { font-family: var(--font-display); font-weight: 800; font-size: 17px; color: var(--forest); }
.believe-body { font-size: 15.5px; line-height: 1.5; color: var(--muted); }
.bigger-why {
  margin-top: 18px; background: var(--alt); border-radius: 18px; padding: 24px 28px;
  display: flex; flex-direction: column; gap: 8px;
}

/* ---- FAQ ---- */
.faq-wrap { max-width: 860px; }
.faq-list { margin-top: 8px; display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: var(--white); border: 1px solid var(--hairline); border-radius: 18px; }
.faq-h { font-size: inherit; font-weight: inherit; }
.faq-btn {
  width: 100%; min-height: 60px; padding: 16px 22px; border: none; background: transparent;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  text-align: left; cursor: pointer; font-family: var(--font-display); font-weight: 700;
  font-size: 17px; line-height: 1.35; color: var(--ink);
}
.faq-btn:focus { outline: 2px solid var(--button); outline-offset: -3px; border-radius: 18px; }
.faq-btn svg { flex-shrink: 0; fill: var(--forest); }
.faq-a { padding: 0 22px 20px; font-size: 16.5px; line-height: 1.6; color: var(--muted); }

/* ---- Contact ---- */
.contact-card {
  background: var(--white); border: 1px solid var(--hairline); border-radius: 18px;
  box-shadow: var(--shadow-card); padding: 26px 28px; max-width: 640px;
  display: flex; flex-direction: column; gap: 16px;
}
.contact-card > p { font-size: 17px; line-height: 1.6; text-wrap: pretty; color: var(--ink); }
.contact-email {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--forest);
  font-family: var(--font-display); font-weight: 700; font-size: 17px;
  text-decoration: underline; text-underline-offset: 3px;
}
.contact-email svg { flex-shrink: 0; fill: var(--forest); }

/* ---- Footer ---- */
.site-footer { background: var(--forest); border-radius: 28px 28px 0 0; color: var(--foot-text); padding: 56px 0 34px; }
.foot-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 32px; }
.foot-about { display: flex; flex-direction: column; gap: 12px; grid-column: span var(--foot-span); }
.foot-brand { display: flex; align-items: center; gap: 10px; }
.foot-brand .brand-word { color: var(--white); }
.foot-about p { font-size: 15px; line-height: 1.6; color: var(--foot-muted); max-width: 42ch; }
.foot-about strong { color: var(--white); }
.foot-nav { display: flex; flex-direction: column; }
.foot-nav ul { display: flex; flex-direction: column; }
.foot-h {
  font-family: var(--font-display); font-weight: 700; font-size: 13px; line-height: 1.6;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--foot-head); margin-bottom: 8px;
}
.foot-nav a {
  color: var(--foot-text); font-weight: 600; font-size: 15px; text-decoration: none;
  min-height: 44px; display: flex; align-items: center;
}
.foot-nav a:hover { color: var(--sun); }
/* Round 2 patch 1: footer focus outline, about 6.9:1 on the forest footer. */
.site-footer a:focus-visible, .site-footer button:focus-visible {
  outline: 3px solid var(--foot-text); outline-offset: 2px; border-radius: 6px;
}
.foot-bottom {
  border-top: 1px solid rgba(255,255,255,0.18); margin-top: 32px; padding-top: 18px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px;
  font-size: 13.5px; color: var(--foot-muted);
}

/* ---- Skip link (every page). The one founder-ruled exception to the no-hidden-text
   rule: off-screen until it gets focus, then shown at the top left. ---- */
.skip-link {
  position: absolute; left: 12px; top: -80px; z-index: 100;
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px;
  border-radius: 999px; background: var(--white); border: 2px solid var(--forest); color: var(--forest);
  font-family: var(--font-display); font-weight: 700; font-size: 15px; text-decoration: none;
}
.skip-link:focus { top: 12px; outline: none; }
#content { outline: none; }

/* ---- Reduced motion: ticker static, first four phrases wrapped; no hero animation. ---- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track, .ticker-track.is-running {
    animation: none; display: flex; flex-wrap: wrap; gap: 4px 0; white-space: normal; padding: 10px 20px;
  }
  .ticker-group { display: contents; }
  .ticker-group li:nth-child(n+5) { display: none; }
  .ticker-group[aria-hidden="true"] { display: none; }
}
