/* Vetto — askvetto.com
   Rebuild of the Framer site. Breakpoints match Framer's: desktop ≥ 1200px, tablet 810–1199px, phone < 810px.
   Borders that Framer drew as inside overlays are inset box-shadows here, so element sizes match the original. */

/* ---------- Fonts (self-hosted, SIL Open Font License) ---------- */
@font-face {
  font-family: "Geist";
  src: url("../fonts/geist-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  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: "Geist";
  src: url("../fonts/geist-latin-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Fragment Mono";
  src: url("../fonts/fragment-mono-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  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;
}
/* Metric-matched fallback so text doesn't jump when Geist finishes loading (same values Framer used). */
@font-face {
  font-family: "Geist Fallback";
  src: local("Arial");
  ascent-override: 94.56%;
  descent-override: 27.76%;
  line-gap-override: 0%;
  size-adjust: 106.28%;
}

/* ---------- Design tokens ---------- */
:root {
  --ink: #0a0f1f;          /* dark background and dark text */
  --ink-2: #121a2e;        /* dark cards, secondary button */
  --ink-3: #1b2540;        /* dark hover */
  --cream: #f5f2eb;        /* light section */
  --sand: #ece7dc;         /* alternate light section, icon tiles */
  --paper: #fffdf9;        /* light cards */
  --text: #0a0f1f;
  --text-2: #565c6e;       /* body text on light backgrounds */
  --muted: #a7aec2;        /* body text on dark backgrounds */
  --lime: #c8f55a;
  --lime-hover: #d8fa85;
  --green: #5fd3a0;
  --slate: #8ea0c6;
  --orange: #ff8a5c;
  --line: rgba(10, 15, 31, .1);
  --line-strong: rgba(10, 15, 31, .18);
  --line-dark: rgba(255, 255, 255, .09);
  --line-glass: rgba(255, 255, 255, .08);
  --font: "Geist", "Geist Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Fragment Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --ease: cubic-bezier(.44, 0, .56, 1);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, p, figure, blockquote, ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
h1, h2, h3 { font-weight: 600; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; margin: 0; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }
.section--cream :focus-visible, .section--sand :focus-visible { outline-color: var(--ink); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 10;
  padding: 10px 16px; border-radius: 100px;
  background: var(--lime); color: var(--ink); font-weight: 500; font-size: 15px;
}
.skip-link:focus { top: 12px; }

/* ---------- Icons ---------- */
.icon {
  flex: none;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  overflow: visible;
}

/* ---------- Type ---------- */
.t-h1 { font-weight: 600; font-size: 68px; line-height: 1.02; letter-spacing: -.045em; text-wrap: balance; }
.t-h2 { font-weight: 600; font-size: 50px; line-height: 1.06; letter-spacing: -.035em; text-wrap: balance; }
.t-cta { font-weight: 600; font-size: 58px; line-height: 1.04; letter-spacing: -.04em; text-wrap: balance; }
.t-lead { font-size: 19px; line-height: 1.55; letter-spacing: -.01em; text-wrap: pretty; }
.t-h3 { font-weight: 600; font-size: 20px; line-height: 1.3; letter-spacing: -.015em; }
.t-body { font-size: 16px; line-height: 1.55; text-wrap: pretty; }
.t-small { font-size: 14px; line-height: 1.5; text-wrap: pretty; }
.t-mono { font-family: var(--mono); font-size: 12px; line-height: 1.4; letter-spacing: .06em; text-transform: uppercase; }
.t-source { font-family: var(--mono); font-size: 10.5px; line-height: 1.4; letter-spacing: .06em; text-transform: uppercase; }
.accent { color: var(--lime); }
.stack-10 { display: flex; flex-direction: column; gap: 10px; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: 1120px; margin-inline: auto; }
.section { padding: 120px 40px; }
.section--cream { background: var(--cream); }
.section--sand { background: var(--sand); }
.section--ink { background: var(--ink); color: #fff; }
.section__inner { display: flex; flex-direction: column; align-items: flex-start; gap: 56px; }
.section-head { display: flex; flex-direction: column; gap: 18px; width: 100%; max-width: 760px; }
.section-head--wide { max-width: 820px; }
.section-head .t-lead { color: var(--text-2); }
.section--ink .section-head .t-lead { color: var(--muted); }

/* ---------- Logo mark ---------- */
.mark {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 24px; height: 24px; border-radius: 8px; background: var(--lime);
}
.mark::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); }
.logo { display: inline-flex; align-items: center; gap: 10px; color: #fff; }
.logo__word { font-weight: 600; font-size: 19px; line-height: 1; letter-spacing: -.03em; }
.logo--sm .mark { width: 22px; height: 22px; border-radius: 7px; }
.logo--sm .mark::after { width: 7px; height: 7px; }
.logo--sm .logo__word { font-size: 17px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; flex: none;
  padding: 14px 22px; border-radius: 100px;
  font-weight: 500; font-size: 15px; line-height: 1.2; letter-spacing: -.01em; white-space: nowrap;
  cursor: pointer;
  transition: background-color .2s var(--ease), box-shadow .2s var(--ease);
}
.btn .icon { width: 16px; height: 16px; stroke-width: 2; }
.btn--primary { background: var(--lime); color: var(--ink); }
.btn--primary:hover { background: var(--lime-hover); }
.btn--secondary { background: var(--ink-2); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); }
.btn--secondary:hover { background: var(--ink-3); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); }

/* ---------- Navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 5;
  display: flex; justify-content: center;
  padding: 0 40px;
  background: rgba(10, 15, 31, .78);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .07);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; width: 100%; max-width: 1120px; padding: 14px 0; }
.nav__links { display: flex; align-items: center; gap: 32px; }
.nav__links a, .footer__links a {
  font-weight: 500; font-size: 15px; line-height: 1.2; color: var(--muted);
  transition: color .2s var(--ease);
}
.nav__links a:hover, .footer__links a:hover { color: #fff; }

/* ---------- Hero ---------- */
.hero {
  padding: 88px 40px 112px;
  background: radial-gradient(55% 65% at 80% 45%, rgba(200, 245, 90, .1) 0%, rgba(10, 15, 31, 0) 70%), var(--ink);
  color: #fff;
}
.hero__inner { display: flex; align-items: center; gap: 64px; }
.hero__text { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.hero__title { width: 100%; }
.hero__lead { max-width: 540px; color: var(--muted); }
.hero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.hero__note { color: var(--muted); }
.hero__visual { flex: none; width: 460px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.phone {
  width: 360px; padding: 10px; border-radius: 56px;
  background: #0d1220;
  box-shadow: 0 40px 80px -24px rgba(0, 0, 0, .65), inset 0 1px 0 rgba(255, 255, 255, .08), inset 0 0 0 1px rgba(255, 255, 255, .14);
}
.phone img { width: 100%; border-radius: 46px; }
.caption { width: 100%; font-size: 12.5px; line-height: 1.4; color: rgba(167, 174, 194, .75); text-align: center; text-wrap: pretty; }

/* ---------- Cards ---------- */
.card { background: var(--paper); border-radius: 24px; box-shadow: inset 0 0 0 1px var(--line); }
.icon-tile { display: inline-flex; align-items: center; justify-content: center; flex: none; }
.icon-tile--ink { width: 48px; height: 48px; border-radius: 14px; background: var(--ink); color: var(--lime); }
.icon-tile--sand { width: 44px; height: 44px; border-radius: 12px; background: var(--sand); color: var(--ink); }
.icon-tile--glass { width: 44px; height: 44px; border-radius: 12px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px var(--line-glass); color: #fff; }
.icon--brand { width: 20px; height: 20px; }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; width: 100%; }
.step { display: flex; flex-direction: column; gap: 32px; padding: 28px; }
.step__top { display: flex; align-items: center; justify-content: space-between; }
.step__num { color: var(--text-2); }
.step .t-body, .feature .t-body { color: var(--text-2); }

/* What it checks */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; width: 100%; }
.stat { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding-top: 22px; box-shadow: inset 0 1px 0 var(--line); }
.stat .t-body { color: var(--text-2); }
.t-source a { color: var(--text-2); transition: color .2s var(--ease); }
.t-source a:hover { color: var(--text); }
.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 20px; width: 100%; }
.feature { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; padding: 32px; }
.example {
  display: flex; flex-direction: column; align-items: flex-start; gap: 8px; width: 100%;
  padding: 15px 17px; border: 1px dashed var(--line); border-radius: 16px; background: var(--cream);
}
.example__label { display: flex; align-items: center; gap: 6px; color: var(--text-2); }
.example__label .icon { width: 14px; height: 14px; }
.example__text { font-size: 15px; line-height: 1.5; color: var(--text); }
.ai-note { display: flex; align-items: flex-start; gap: 10px; max-width: 820px; color: var(--text-2); }
.ai-note .icon { width: 18px; height: 18px; }

/* Where it works (dark) */
.channels { display: flex; flex-direction: column; align-items: center; gap: 20px; width: 100%; }
.channel-row { display: flex; align-items: stretch; width: 100%; }
.channel {
  flex: 1 1 0; min-width: 0;
  display: flex; flex-direction: column; align-items: flex-start; gap: 24px;
  padding: 28px; border-radius: 24px;
  background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line-dark);
}
.channel .t-body { color: var(--muted); }
.channel__title { display: flex; align-items: center; gap: 14px; width: 100%; }
.channel__title .t-h3 { color: #fff; }
.connector {
  flex: none; align-self: center; width: 32px; height: 1px;
  background: linear-gradient(90deg, rgba(200, 245, 90, .05) 0%, rgba(200, 245, 90, .55) 50%, rgba(200, 245, 90, .05) 100%);
}
.channel--wide { flex: none; width: 100%; flex-direction: row; align-items: center; gap: 40px; }
.channel__copy { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.channel__copy .t-body { max-width: 460px; }
.channel--wide .shot { flex: none; width: 380px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  padding: 5px 11px; border-radius: 100px;
  background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--line-glass);
  font-weight: 500; font-size: 12.5px; line-height: 1.45; color: var(--muted);
}
.channel__link { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; font-weight: 500; font-size: 15px; line-height: 1.3; color: var(--lime); transition: color .2s var(--ease); }
.channel__link:hover { color: var(--lime-hover); }
.channel__link .icon { width: 16px; height: 16px; stroke-width: 2; }
.disclaimer { max-width: 760px; color: rgba(167, 174, 194, .7); }

/* App screenshots */
.shot { position: relative; width: 100%; border-radius: 16px; overflow: hidden; }
.shot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px var(--line-glass); pointer-events: none; }
.shot img { width: 100%; }
.shot--chat { width: 380px; max-width: 100%; box-shadow: 0 18px 36px -20px rgba(10, 15, 31, .35); }
.shot--chat::after { box-shadow: inset 0 0 0 1px rgba(17, 27, 33, .08); }

/* Family */
.family-previews { display: flex; flex-direction: column; gap: 16px; width: 100%; }
.family-visual { display: flex; align-items: stretch; gap: 24px; }
.frame {
  flex: 1 1 0; min-width: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 40px; border-radius: 28px;
}
.frame--ink { background: var(--ink); box-shadow: 0 24px 48px -16px rgba(10, 15, 31, .32), inset 0 0 0 1px var(--line-glass); }
.frame--paper { background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.frame--lifted { box-shadow: 0 24px 48px -16px rgba(10, 15, 31, .16), inset 0 0 0 1px var(--line); }
.caption-dark { color: var(--text-2); }
.ruled-grid { display: grid; grid-auto-rows: 1fr; width: 100%; }
.ruled-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.ruled-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.ruled { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding-top: 28px; box-shadow: inset 0 1px 0 var(--line-strong); }
.ruled .icon { width: 28px; height: 28px; stroke-width: 1.5; color: var(--ink); }
.ruled p { color: var(--text-2); }
.ruled--sm { gap: 14px; padding-top: 24px; }
.ruled--sm .icon { width: 26px; height: 26px; }
.consent-note {
  display: flex; align-items: flex-start; gap: 12px; width: 100%;
  padding: 18px 22px; border-radius: 18px;
  background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); color: var(--text);
}
.consent-note .icon { width: 18px; height: 18px; }

/* Answers */
.explain { display: flex; align-items: center; gap: 72px; }
.explain__text { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.explain__text .t-lead { color: var(--text-2); }
.outcomes { width: 100%; padding-top: 4px; }
.outcome {
  display: grid; grid-template-columns: 10px minmax(0, 1fr); column-gap: 14px; row-gap: 4px;
  padding: 16px 0; box-shadow: inset 0 1px 0 var(--line);
}
.outcome::before { content: ""; grid-row: 1; width: 10px; height: 10px; margin-top: 6px; border-radius: 50%; background: var(--dot); }
.outcome dt { grid-column: 2; font-weight: 600; font-size: 16px; line-height: 1.4; letter-spacing: -.01em; color: var(--text); }
.outcome dd { grid-column: 2; color: var(--text-2); }
.outcome--legit { --dot: var(--green); }
.outcome--unsure { --dot: var(--slate); }
.outcome--risk { --dot: var(--orange); }
.answer { flex: none; width: 500px; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.answer .frame { width: 100%; }

/* FAQ */
.faq { display: flex; align-items: flex-start; gap: 64px; }
.faq__head { flex: none; width: 360px; display: flex; flex-direction: column; gap: 18px; }
.faq__head .t-lead { color: var(--text-2); }
.faq__list { flex: 1 1 0; min-width: 0; box-shadow: inset 0 -1px 0 var(--line); }
.faq-item { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 26px 0; box-shadow: inset 0 1px 0 var(--line); }
.faq-item .t-body { max-width: 660px; color: var(--text-2); }

/* ---------- Waitlist ---------- */
.waitlist {
  padding: 128px 40px;
  background: radial-gradient(60% 75% at 50% 100%, rgba(200, 245, 90, .14) 0%, rgba(10, 15, 31, 0) 72%), var(--ink);
  color: #fff;
}
.waitlist__inner { display: flex; flex-direction: column; align-items: center; gap: 28px; max-width: 720px; margin-inline: auto; text-align: center; }
.mark--lg { width: 52px; height: 52px; border-radius: 17px; box-shadow: 0 0 60px rgba(200, 245, 90, .35); }
.mark--lg::after { width: 16px; height: 16px; }
.waitlist__lead { max-width: 560px; color: var(--muted); }
.form { position: relative; display: flex; flex-direction: column; align-items: center; gap: 12px; width: 100%; max-width: 440px; padding-top: 8px; }
.field { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; width: 100%; }
.field__label { font-weight: 500; font-size: 14px; line-height: 1.3; color: var(--muted); }
.field__input {
  width: 100%; height: 56px; padding: 0 22px;
  border: 0; border-radius: 100px; outline: none;
  background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16);
  color: #fff; font-size: 16px; line-height: 1.3; caret-color: #fff;
  transition: background-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field__input::placeholder { color: rgba(167, 174, 194, .65); opacity: 1; }
.field__input:focus { background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 2px rgba(200, 245, 90, .9); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.submit {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; min-height: 56px; padding: 17px 24px;
  border: 0; border-radius: 100px; background: var(--lime); color: var(--ink);
  font-weight: 500; font-size: 16px; line-height: 1.35; letter-spacing: -.01em; text-align: center;
  cursor: pointer;
  transition: background-color .2s var(--ease), opacity .2s var(--ease), border-radius .2s var(--ease), box-shadow .2s var(--ease);
}
.submit:hover { background: var(--lime-hover); }
.submit .icon { width: 16px; height: 16px; stroke-width: 2; }
/* Version a dims the button until the email looks valid; version b keeps it at full strength and explains problems in words. */
[data-variant="a"] .form:has(.field__input:invalid) .submit[data-state="idle"] { opacity: .45; }
.submit__spinner { display: none; width: 20px; height: 20px; border-radius: 50%; background: conic-gradient(from 0deg, rgba(10, 15, 31, 0) 7deg, var(--ink) 342deg); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2.5px), #000 calc(100% - 2px)); mask: radial-gradient(farthest-side, transparent calc(100% - 2.5px), #000 calc(100% - 2px)); animation: spin 1s linear infinite; }
.submit[data-state="loading"] { cursor: progress; }
.submit[data-state="loading"] .submit__spinner { display: block; }
.submit[data-state]:not([data-state="idle"]) .submit__arrow { display: none; }
.submit[data-state="success"], .submit[data-state="error"] { border-radius: 20px; cursor: default; }
.submit[data-state="success"] { background: rgb(31, 42, 36); color: var(--lime); box-shadow: inset 0 0 0 1px rgba(200, 245, 90, .45); }
.submit[data-state="error"] { background: rgb(44, 32, 39); color: var(--orange); box-shadow: inset 0 0 0 1px rgba(255, 138, 92, .5); cursor: pointer; }
@keyframes spin { to { transform: rotate(360deg); } }
.consent { max-width: 440px; color: rgba(167, 174, 194, .8); }

/* ---------- Signup, version b (see HOME_VARIANT in wrangler.jsonc) ---------- */
.signup { width: 100%; }
.signup--center { display: flex; justify-content: center; }
.form--inline { align-items: stretch; max-width: 540px; padding-top: 0; }
.form__row { display: flex; gap: 10px; width: 100%; }
.form__row .field__input { flex: 1 1 auto; min-width: 0; }
.form__row .submit { flex: none; width: auto; white-space: nowrap; }
.form__error { width: 100%; font-size: 14px; line-height: 1.45; color: var(--orange); text-align: left; }
.form__error:empty { display: none; }
.field__input[aria-invalid="true"] { box-shadow: inset 0 0 0 2px rgba(255, 138, 92, .85); }
.hero__signup { max-width: 540px; }

/* The Telegram button next to the email forms. Shown only while site.json names a bot (the Worker removes it otherwise). */
/* The two ways in: a WhatsApp button and a Telegram button, with one line under them. */
.join { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; width: 100%; max-width: 620px; }
.join__row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.join__note { color: rgba(167, 174, 194, .8); }
.join__note:empty { display: none; }
.join__note a { color: #fff; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, .35); }
.join__note a:hover { text-decoration-color: #fff; }
.join--center { align-items: center; text-align: center; }
.join--center .join__row { justify-content: center; }
.signup-band .join { flex: 1 1 0; min-width: 0; max-width: 520px; }
.tg { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; width: 100%; max-width: 540px; }
.tg__row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.tg__or { font-size: 14px; line-height: 1.3; color: var(--muted); }
.tg__note { color: rgba(167, 174, 194, .8); }
.tg__note:empty { display: none; }
.tg__note a, .done__tg a, .consent a { color: #fff; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, .35); }
.tg__note a:hover, .done__tg a:hover, .consent a:hover { text-decoration-color: #fff; }
.tg--center { align-items: center; max-width: 440px; }
.hero__signup + .tg { margin-top: -8px; }
.dialog .tg { max-width: none; }

/* A dark band with a form, inside the light sections */
.signup-band {
  display: flex; align-items: center; justify-content: space-between; gap: 40px; width: 100%;
  padding: 32px 36px; border-radius: 28px;
  background: var(--ink); color: #fff;
  box-shadow: 0 24px 48px -16px rgba(10, 15, 31, .32), inset 0 0 0 1px var(--line-glass);
}
.signup-band__text { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 8px; max-width: 420px; }
.signup-band__text .t-body { color: var(--muted); }
.signup-band .signup { flex: 1 1 0; min-width: 0; max-width: 520px; }
.signup-band :focus-visible { outline-color: var(--lime); }

/* After signing up */
.done { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; width: 100%; text-align: left; outline: none; }
.done__title { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 20px; line-height: 1.3; letter-spacing: -.015em; color: #fff; }
.done__title .icon { color: var(--lime); }
.done__lead { color: var(--muted); }
.done__share { white-space: normal; text-align: left; }
.done__share .icon { width: 18px; height: 18px; }
.done__ask { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; width: 100%; margin-top: 4px; padding-top: 20px; box-shadow: inset 0 1px 0 var(--line-dark); }
.done__ask-title { font-weight: 600; font-size: 16px; line-height: 1.4; color: #fff; }
.question { display: flex; flex-direction: column; gap: 10px; width: 100%; min-width: 0; margin: 0; padding: 0; border: 0; }
.question__label { padding: 0; font-weight: 500; font-size: 14px; line-height: 1.4; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; display: inline-flex; cursor: pointer; }
.chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.chip span {
  padding: 8px 14px; border-radius: 100px;
  background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16);
  font-weight: 500; font-size: 14px; line-height: 1.3; color: var(--muted);
  transition: background-color .2s var(--ease), box-shadow .2s var(--ease), color .2s var(--ease);
}
.chip:hover span { color: #fff; }
.chip input:checked + span { background: rgba(200, 245, 90, .12); box-shadow: inset 0 0 0 1px rgba(200, 245, 90, .7); color: var(--lime); }
.chip input:focus-visible + span { outline: 2px solid var(--lime); outline-offset: 3px; }
.select {
  width: 100%; max-width: 320px; height: 48px; padding: 0 44px 0 18px;
  border: 0; border-radius: 100px; outline: none; appearance: none; -webkit-appearance: none;
  background: rgba(255, 255, 255, .05) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a7aec2' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 16px center / 16px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16);
  color: #fff; color-scheme: dark; font: inherit; font-size: 15px; cursor: pointer;
}
.select:focus-visible { box-shadow: inset 0 0 0 2px rgba(200, 245, 90, .9); }
.done__note { color: var(--muted); }
.done__note:empty { display: none; }
.done__saved { font-size: 14px; line-height: 1.5; color: var(--lime); }
/* Once someone has signed up, text that repeats the thank-you note steps aside. */
.hero__signup:has(.done) ~ .hero__note,
.hero__signup:has(.done) ~ .tg,
.dialog__box:has(.done) .tg,
.waitlist__inner:has(.done) .tg,
.signup-band:has(.done) .signup-band__text,
.dialog__box:has(.done) .dialog__lead,
.dialog__box:has(.done) .dialog__consent,
.waitlist__inner:has(.done) .consent { display: none; }
.signup-band:has(.done) .signup { max-width: none; }
.waitlist .done { align-items: center; text-align: center; max-width: 480px; }
.waitlist .done__ask { align-items: center; }
.waitlist .chips { justify-content: center; }
.waitlist .question { align-items: center; }

/* Signup window, opened by the header, footer and phone-bar buttons */
.dialog {
  width: min(480px, calc(100% - 32px)); max-height: calc(100% - 32px); margin: auto; padding: 0;
  border: 0; border-radius: 28px; background: var(--ink); color: #fff;
  box-shadow: 0 40px 80px -24px rgba(0, 0, 0, .65), inset 0 0 0 1px rgba(255, 255, 255, .1);
}
.dialog::backdrop { background: rgba(10, 15, 31, .6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.dialog__box { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 22px; padding: 36px 32px 32px; }
.dialog__close {
  position: absolute; top: 14px; right: 14px;
  display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px;
  border: 0; border-radius: 50%; background: rgba(255, 255, 255, .06); color: var(--muted); cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.dialog__close:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.dialog__close .icon { width: 18px; height: 18px; }
.dialog__title { font-weight: 600; font-size: 28px; line-height: 1.15; letter-spacing: -.03em; }
.dialog__lead { color: var(--muted); }
.dialog .form { max-width: none; padding-top: 0; }
.dialog__consent { max-width: none; }
html:has(.dialog[open]) { overflow: hidden; }

/* Signup bar on phones, shown once the hero form has scrolled away */
.sticky-cta { display: none; }

/* ---------- Footer ---------- */
.footer { padding: 32px 40px 40px; background: var(--ink); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07); }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; max-width: 1120px; margin-inline: auto; }
.footer__brand { display: flex; align-items: center; gap: 16px; }
.footer__copy, .footer__legal { font-size: 13px; line-height: 1.3; }
.footer__copy { color: rgba(167, 174, 194, .75); }
.footer__legal { max-width: 1120px; margin: 18px auto 0; color: rgba(167, 174, 194, .6); }
.footer__legal a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(167, 174, 194, .35); }
.footer__legal a:hover { color: #fff; }
.footer__links { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.footer__links a { font-size: 14px; line-height: 1.3; }

/* ---------- Simple pages (404, thanks, errors) ---------- */
.simple {
  min-height: calc(100vh - 74px - 94px);
  display: flex; align-items: center; justify-content: center;
  padding: 96px 20px;
  background: radial-gradient(60% 75% at 50% 100%, rgba(200, 245, 90, .1) 0%, rgba(10, 15, 31, 0) 72%), var(--ink);
  color: #fff; text-align: center;
}
.simple__box { display: flex; flex-direction: column; align-items: center; gap: 24px; max-width: 560px; }
.simple__box .t-lead { color: var(--muted); }

/* ---------- Text pages (terms; built from pages/*.md) ---------- */
.legal { padding: 80px 40px 112px; background: var(--cream); }
.legal__inner { max-width: 720px; margin-inline: auto; }
.legal__head { display: flex; flex-direction: column; gap: 16px; padding-bottom: 32px; margin-bottom: 8px; box-shadow: inset 0 -1px 0 var(--line); }
.legal__updated { color: var(--text-2); }
.prose { color: var(--text-2); font-size: 17px; line-height: 1.65; text-wrap: pretty; }
.prose h2 { margin-top: 44px; color: var(--text); font-size: 24px; line-height: 1.25; letter-spacing: -.02em; text-wrap: balance; }
.prose h3 { margin-top: 28px; color: var(--text); font-size: 19px; line-height: 1.3; letter-spacing: -.015em; }
.prose p, .prose ul, .prose ol, .prose .table { margin-top: 14px; }
.prose ul { padding-left: 1.3em; list-style: disc; }
.prose ol { padding-left: 1.5em; list-style: decimal; }
.prose li { padding-left: .2em; }
.prose li + li { margin-top: 8px; }
.prose strong { color: var(--text); font-weight: 600; }
.prose a { color: var(--text); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose a:hover { text-decoration-thickness: 2px; }
.prose .table { overflow-x: auto; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.prose th, .prose td { padding: 12px 16px 12px 0; text-align: left; vertical-align: top; box-shadow: inset 0 -1px 0 var(--line); }
.prose th { color: var(--text); font-weight: 600; }

/* ---------- Tablet (810–1199px) ---------- */
@media (max-width: 1199.98px) {
  .t-h1 { font-size: 60px; }
  .t-h2 { font-size: 42px; }
  .t-cta { font-size: 48px; }
  .t-lead { font-size: 18px; }

  .section { padding: 96px 32px; }
  .legal { padding: 72px 32px 96px; }
  .nav { padding: 0 32px; }
  .nav__links { gap: 24px; }

  .hero { padding: 72px 32px 96px; }
  .hero__inner { flex-direction: column; gap: 56px; }
  .hero__text { flex: none; width: 100%; }
  .hero__visual { width: 520px; max-width: 100%; }

  .steps { display: flex; flex-direction: column; gap: 16px; }

  .channel-row { flex-direction: column; align-items: stretch; }
  .channel { flex: none; }
  .channel .shot { max-width: 460px; }
  .connector { width: 1px; height: 28px; background: linear-gradient(180deg, rgba(200, 245, 90, .05) 0%, rgba(200, 245, 90, .55) 50%, rgba(200, 245, 90, .05) 100%); }
  .channel--wide { flex-direction: column; align-items: flex-start; gap: 24px; }
  .channel--wide .shot { width: 100%; }

  .family-visual { flex-direction: column; gap: 20px; }
  .frame { flex: none; }
  .shot--chat { width: 420px; }
  .ruled-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ruled-grid--3 { display: flex; flex-direction: column; gap: 32px; }

  .explain { flex-direction: column; align-items: flex-start; gap: 48px; }
  .explain__text { flex: none; width: 100%; }
  .answer { width: 100%; }

  .faq { flex-direction: column; gap: 40px; }
  .faq__head { width: 100%; max-width: 640px; }
  .faq__list { flex: none; width: 100%; }

  .waitlist { padding: 104px 32px; }

  .signup-band { flex-direction: column; align-items: stretch; gap: 24px; }
  .signup-band__text { max-width: none; }
  .signup-band .signup { max-width: 560px; }

  .footer { padding: 28px 32px 36px; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
}

/* ---------- Phone (< 810px) ---------- */
@media (max-width: 809.98px) {
  .t-h1 { font-size: 44px; letter-spacing: -.04em; }
  .t-h2 { font-size: 34px; }
  .t-cta { font-size: 34px; }
  .t-lead { font-size: 17px; }
  .t-h3 { font-size: 19px; }

  .section { padding: 72px 20px; }
  .section__inner { gap: 40px; }
  .legal { padding: 48px 20px 72px; }
  .prose { font-size: 16px; }
  .prose h2 { margin-top: 36px; font-size: 21px; }
  .nav { padding: 0 20px; }
  .nav__inner { padding: 12px 0; }
  .nav__links { display: none; }

  .hero { padding: 48px 20px 80px; }
  .hero__inner { gap: 48px; }
  .hero__text { gap: 24px; }
  .hero__visual { width: 100%; }
  .phone { width: 300px; padding: 9px; border-radius: 48px; }
  .phone img { border-radius: 39px; }

  .stats { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .features { display: flex; flex-direction: column; gap: 16px; }

  .frame { padding: 14px; border-radius: 24px; }
  .shot--chat { width: 100%; border-radius: 12px; }
  .ruled-grid--4 { display: flex; flex-direction: column; gap: 28px; }
  .consent-note { padding: 16px 18px; }

  .faq { gap: 32px; }
  .faq-item { padding: 22px 0; }

  .waitlist { padding: 80px 20px 88px; }
  .waitlist__inner { gap: 24px; }

  .form__row { flex-direction: column; }
  .form__row .submit { width: 100%; }
  .signup-band { padding: 26px 20px 22px; border-radius: 24px; }
  .dialog__box { padding: 32px 20px 24px; gap: 20px; }
  .dialog__title { font-size: 26px; }
  .select { max-width: none; }

  .sticky-cta {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 6;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: rgba(10, 15, 31, .9); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
    transform: translateY(100%); visibility: hidden;
    transition: transform .3s var(--ease-out), visibility 0s .3s;
  }
  .sticky-cta.is-shown { transform: none; visibility: visible; transition: transform .3s var(--ease-out); }
  .sticky-cta .btn { width: 100%; padding: 15px 22px; font-size: 16px; }
  [data-variant="b"] .footer { padding-bottom: 108px; }

  .footer { padding: 28px 20px 36px; }
  .footer__brand { flex-direction: column; align-items: flex-start; gap: 10px; }
  .footer__links { gap: 14px 22px; }
}

/* ---------- Scroll-reveal ----------
   Elements with [data-appear] fade up when they enter the viewport (main.js adds .is-visible); the number is
   the delay in ms. Only with JavaScript and without reduced motion; if the script never runs, a fallback
   animation shows everything after 3 s. */
@media (scripting: enabled) and (prefers-reduced-motion: no-preference) {
  [data-appear] { opacity: 0; transform: translateY(18px); animation: appear-fallback 0s 3s forwards; }
  .appear-ready [data-appear] { animation: none; }
  [data-appear].is-visible { opacity: 1; transform: none; transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
  [data-appear="80"].is-visible { transition-delay: .08s; }
  [data-appear="100"].is-visible { transition-delay: .1s; }
  [data-appear="150"].is-visible { transition-delay: .15s; }
  [data-appear="160"].is-visible { transition-delay: .16s; }
  [data-appear="200"].is-visible { transition-delay: .2s; }
  [data-appear="240"].is-visible { transition-delay: .24s; }
}
@keyframes appear-fallback { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .submit__spinner { animation-duration: 2s; }
  .sticky-cta, .sticky-cta.is-shown { transition: none; }
}
