@font-face {
  font-family: "Outfit";
  src: url("/fonts/Outfit.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --font: "Outfit", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --bg: #FBF7F2;
  --panel: #FFFFFF;
  --ink: #13213A;
  --ink-soft: #4B5670;
  --line: #ECE4DA;
  --them: #EEE8E0;
  --me: #0B7C77;
  --me-soft: #E3F3EF;
  --me-ink: #FFFFFF;
  --me-text: #0B6B67;
  --coral: #FF6B4A;
  --bezel: #13213A;
  --tint-a: #EAF5F2;
  --tint-b: #F4ECE2;
  --tint-c: #F0EAF8;
  --navy: #13213A;
  --navy-ink: #FFF7EC;
  --navy-soft: #C9D3E0;

  --wall: #EFE8DE;
  --wall-dot: rgb(19 33 58 / 0.07);
  --p-lucia: #0B7C77;
  --p-mateo: #B4561F;
  --p-rosa: #7A4FBF;
  --n-mateo: #A34B14;
  --n-rosa: #6D43B0;
  --scrub-ink: var(--me);
  --watch: #0A0F17;
  --watch-ring: transparent;
  --show-day: block;
  --show-night: none;

  --shadow: 0 30px 60px -34px rgb(10 20 40 / 0.45);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --spring: linear(0, 0.018, 0.069 3.6%, 0.268 7.6%, 0.726 15.9%, 0.917 20.6%, 1.03 25.4%, 1.071 29%, 1.083 32.4%, 1.071 36.5%, 1.037 42.5%, 1.004 50.1%, 0.991 57.6%, 0.997 71.9%, 1);
}

@supports not (animation-timing-function: linear(0, 1)) {
  :root { --spring: cubic-bezier(0.34, 1.45, 0.64, 1); }
}

:root { color-scheme: light dark; }
[data-theme="day"] { color-scheme: light; }
[data-theme="night"] { color-scheme: dark; }

/* The page ships data-theme="auto" and follows the OS. "day" and "night" pin a
   scheme; the visual-diff server and the social card use them. Keep the two
   dark blocks identical. */
[data-theme="night"] {
  --bg: #0F1726;
  --panel: #162236;
  --ink: #FFF3E2;
  --ink-soft: #C3CCD9;
  --line: #26344A;
  --them: #1F2B40;
  --me-soft: #10302E;
  --me-text: #62D8CE;
  --bezel: #04090F;
  --tint-a: #11262A;
  --tint-b: #221D18;
  --tint-c: #1D1A31;
  --navy: #FFF3E2;
  --navy-ink: #13213A;
  --navy-soft: #3E4C62;

  --wall: #0B1220;
  --wall-dot: rgb(255 243 226 / 0.05);
  --n-mateo: #FFB27A;
  --n-rosa: #CDB2FF;
  --scrub-ink: #62D8CE;
  --watch: #000000;
  --watch-ring: #2A3448;
  --show-day: none;
  --show-night: block;

  --shadow: 0 30px 60px -34px rgb(0 0 0 / 0.7);
}

@media (prefers-color-scheme: dark) {
  [data-theme="auto"] {
    --bg: #0F1726;
    --panel: #162236;
    --ink: #FFF3E2;
    --ink-soft: #C3CCD9;
    --line: #26344A;
    --them: #1F2B40;
    --me-soft: #10302E;
    --me-text: #62D8CE;
    --bezel: #04090F;
    --tint-a: #11262A;
    --tint-b: #221D18;
    --tint-c: #1D1A31;
    --navy: #FFF3E2;
    --navy-ink: #13213A;
    --navy-soft: #3E4C62;

    --wall: #0B1220;
    --wall-dot: rgb(255 243 226 / 0.05);
    --n-mateo: #FFB27A;
    --n-rosa: #CDB2FF;
    --scrub-ink: #62D8CE;
    --watch: #000000;
    --watch-ring: #2A3448;
    --show-day: none;
    --show-night: block;

    --shadow: 0 30px 60px -34px rgb(0 0 0 / 0.7);
  }
}

/* Base */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  scroll-padding-top: 88px;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
a, button, input, summary { touch-action: manipulation; }
button, summary, .btn { -webkit-user-select: none; user-select: none; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
[hidden] { display: none !important; }
html:not(.js) [data-js-only] { display: none !important; }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
::selection { background: var(--me); color: var(--me-ink); }

#top { position: absolute; top: 0; }

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

.day-only { display: var(--show-day); }
.night-only { display: var(--show-night); }

.container,
.wrap { width: min(1180px, 100% - 48px); margin-inline: auto; }

/* Buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 10px 20px;
  border: 2px solid var(--ink); border-radius: 999px;
  background: transparent; color: var(--ink);
  font: inherit; font-weight: 700; line-height: 1.1; text-align: center; text-decoration: none; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 150ms var(--ease-out), background-color 150ms ease;
}
.btn-solid, .btn-primary { background: var(--ink); color: var(--bg); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-light { border-color: currentColor; color: var(--navy-ink); }
.btn-small { min-height: 44px; padding: 8px 16px; font-size: 0.93rem; }
.btn-lg { min-height: 56px; padding: 14px 26px; font-size: 1.08rem; }
.btn:active { transform: scale(0.96); }
a:not(.btn):active { opacity: 0.72; }
.nav-row a:active, .nav-disclosure-panel a:active { opacity: 1; background: var(--them); }

@media (hover: hover) and (pointer: fine) {
  .btn-ghost:hover, .btn-light:hover { background: color-mix(in srgb, currentColor 9%, transparent); }
}

/* Header (shared chrome) */

.skip-link {
  position: absolute; top: 12px; left: 16px; z-index: 100;
  padding: 10px 18px; border-radius: 999px;
  background: var(--ink); color: var(--bg);
  font-weight: 700; text-decoration: none;
  transform: translateY(-160%);
}
.skip-link:focus-visible { transform: none; }

.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: border-color 150ms ease;
}
.nav.is-stuck { border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; }

.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; }
.brand-mark { width: 40px; height: 40px; object-fit: contain; }
.brand-name { display: inline-flex; }
.brand-name-img { width: auto; height: 22px; }
.brand-mark--day, .brand-name-img--day { display: var(--show-day); }
.brand-mark--night, .brand-name-img--night { display: var(--show-night); }

.nav-links { display: flex; align-items: center; gap: 12px; }
.nav-row { display: flex; align-items: center; gap: 2px; }
.nav-row a,
.nav-disclosure-panel a {
  padding: 8px 12px; border-radius: 999px;
  font-weight: 500; text-decoration: none;
  transition: background-color 150ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .nav-row a:hover, .nav-disclosure-panel a:hover { background: var(--them); }
}

.nav-disclosure { display: none; position: relative; }
.nav-disclosure-toggle {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border: 2px solid var(--ink); border-radius: 999px;
  list-style: none; cursor: pointer;
  transition: transform 150ms var(--ease-out);
}
.nav-disclosure-toggle:active { transform: scale(0.96); }
.nav-disclosure-toggle::-webkit-details-marker { display: none; }
.nav-disclosure-toggle svg { width: 22px; height: 22px; }
.nav-disclosure-panel {
  position: absolute; top: calc(100% + 10px); right: 0;
  display: flex; flex-direction: column;
  min-width: 220px; padding: 8px;
  border-radius: 22px 6px 22px 22px;
  background: var(--panel);
  box-shadow: 0 0 0 1px var(--line), var(--shadow);
}
.nav-disclosure-panel a { padding: 12px 14px; border-radius: 14px; }

/* Hero */

.hero { padding: clamp(20px, 4vw, 44px) 0 clamp(36px, 5vw, 60px); }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
}

.kicker { color: var(--ink-soft); font-weight: 600; }

h1 {
  margin-top: 14px;
  font-size: clamp(2.7rem, 5.4vw, 4.9rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.03em;
}

.quote {
  position: relative;
  display: inline-block;
  max-width: 11em;
  margin: 0.14em 0 0.18em;
  padding: 0.08em 0.36em 0.14em;
  border-radius: 0.5em 0.5em 0.5em 0.12em;
  background: var(--me);
  color: var(--me-ink);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.02em;
}

.quote::after {
  content: "";
  position: absolute;
  left: -0.12em; bottom: -0.02em;
  width: 0.36em; height: 0.36em;
  background: var(--me);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
}

.sub { max-width: 36ch; margin-top: 22px; color: var(--ink-soft); font-size: clamp(1.1rem, 1.5vw, 1.3rem); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-note { max-width: 44ch; margin-top: 18px; color: var(--ink-soft); font-size: 0.95rem; }

.demo { display: flex; flex-direction: column; gap: 18px; }

.scrub-label { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-weight: 700; }
.scrub-time { font-size: 1.35rem; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--scrub-ink); }

.scrub-input {
  -webkit-appearance: none;
  appearance: none;
  display: block;
  width: 100%;
  height: 44px;
  margin: 0;
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
}

.scrub-input::-webkit-slider-runnable-track {
  height: 10px;
  border-radius: 999px;
  background:
    linear-gradient(var(--me), var(--me)) 0 / var(--fill, 8%) 100% no-repeat,
    var(--them);
}

.scrub-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 30px; height: 30px; margin-top: -10px; border-radius: 50%;
  background: var(--panel);
  border: 3px solid var(--me);
  box-shadow: 0 3px 8px rgb(10 20 40 / 0.25);
}

.scrub-input::-moz-range-track { height: 10px; border-radius: 999px; background: var(--them); }
.scrub-input::-moz-range-progress { height: 10px; border-radius: 999px; background: var(--me); }

.scrub-input::-moz-range-thumb {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--panel);
  border: 3px solid var(--me);
  box-shadow: 0 3px 8px rgb(10 20 40 / 0.25);
}

.scrub-ticks { display: flex; justify-content: space-between; margin-top: 4px; font-size: 0.82rem; font-weight: 500; color: var(--ink-soft); }

.stage { display: flex; justify-content: center; align-items: flex-start; isolation: isolate; -webkit-user-select: none; user-select: none; }
.stage img { -webkit-user-drag: none; }
.stage-chat { position: relative; z-index: 1; width: min(310px, 57%); }
.stage-app { position: relative; z-index: 2; width: min(236px, 43%); margin-left: 14px; }

.stage-cap {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 26px; margin-bottom: 10px;
  color: var(--ink-soft); font-size: 0.86rem; font-weight: 700; text-align: center; line-height: 1.2;
}
.stage-cap img { width: 22px; flex: none; }

/* The group chat */

.chatphone {
  display: flex; flex-direction: column;
  height: 486px;
  overflow: hidden;
  border: 10px solid var(--bezel);
  border-radius: 44px;
  background-color: var(--wall);
  background-image: radial-gradient(circle at 1px 1px, var(--wall-dot) 1.2px, transparent 1.8px);
  background-size: 18px 18px;
  box-shadow: var(--shadow);
}

.cp-head {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px 10px;
  background: var(--panel);
  border-bottom: 1px solid var(--line);
}
.cp-faces { display: flex; flex: none; }
.face,
.msg-face {
  display: grid; place-items: center;
  border-radius: 50%;
  color: #FFFFFF; font-weight: 800; line-height: 1;
}
.face { width: 30px; height: 30px; border: 2px solid var(--panel); font-size: 0.72rem; }
.face + .face { margin-left: -10px; }
.face--me, .msg-face--me { background: var(--p-lucia); }
.face--mateo, .msg-face--mateo { background: var(--p-mateo); }
.face--rosa, .msg-face--rosa { background: var(--p-rosa); }
.cp-head > div { min-width: 0; }
.cp-title { font-weight: 700; line-height: 1.2; }
.cp-sub { overflow: hidden; color: var(--ink-soft); font-size: 0.76rem; white-space: nowrap; text-overflow: ellipsis; }
.cp-sub.is-typing { color: var(--me-text); }

.thread {
  flex: 1;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 3px;
  padding: 10px 12px 14px;
  overflow: hidden;
}

.day-pill {
  align-self: center;
  margin-bottom: 6px; padding: 2px 10px;
  border-radius: 999px;
  background: var(--panel);
  color: var(--ink-soft); font-size: 0.68rem; font-weight: 700;
}

.msg {
  position: relative;
  display: flex; flex-direction: column;
  max-width: 80%;
  margin-left: 32px;
  padding: 6px 11px 4px;
  border-radius: 18px;
  background: var(--panel);
  box-shadow: 0 1px 1px rgb(10 20 40 / 0.06);
  font-size: 0.93rem;
}
.msg.run-start { margin-top: 8px; }
.msg.run-end { border-bottom-left-radius: 6px; }
.msg--me { align-self: flex-end; margin-left: 0; background: var(--me); color: var(--me-ink); }
.msg--me.run-end { border-bottom-left-radius: 18px; border-bottom-right-radius: 6px; }
.msg-face { position: absolute; left: -32px; bottom: 0; width: 26px; height: 26px; font-size: 0.66rem; }
.msg:not(.run-end) .msg-face { visibility: hidden; }
.msg:not(.run-start) .msg-name { display: none; }
.msg-name { font-size: 0.7rem; font-weight: 800; }
.msg-name--mateo { color: var(--n-mateo); }
.msg-name--rosa { color: var(--n-rosa); }
.msg-text { font-weight: 500; line-height: 1.32; }
.msg-meta { align-self: flex-end; color: var(--ink-soft); font-size: 0.64rem; }
.msg--me .msg-meta { color: var(--me-ink); }
.msg.has-react { margin-bottom: 13px; }
.msg.is-new { animation: pop 280ms var(--spring) backwards; }

.react {
  position: absolute; right: 10px; bottom: -14px;
  padding: 1px 6px;
  border-radius: 999px;
  background: var(--panel);
  box-shadow: 0 0 0 1.5px var(--wall), 0 2px 6px rgb(10 20 40 / 0.18);
  color: var(--ink);
  font-size: 0.8rem; line-height: 1.45;
}
.msg--me .react { right: auto; left: 10px; }
.react.is-new { animation: react-pop 300ms cubic-bezier(0.25, 0.1, 0, 1) backwards; }

.typing {
  align-self: flex-start;
  display: inline-flex; gap: 4px;
  margin: 8px 0 0 32px;
  padding: 11px 13px;
  border-radius: 18px 18px 18px 6px;
  background: var(--panel);
}
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-soft); opacity: 0.45; }
.typing.is-new { animation: pop 280ms var(--spring) backwards; }
.typing.is-new i { animation: dot 800ms var(--ease-out) 2 both; }
.typing.is-new i:nth-child(2) { animation-delay: 120ms; }
.typing.is-new i:nth-child(3) { animation-delay: 240ms; }

@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(0.95); } }
@keyframes react-pop { from { opacity: 0; transform: scale(0.3); filter: blur(3px); } }
@keyframes dot { 35% { opacity: 1; transform: translateY(-4px); } }

.cp-compose {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 12px 12px;
  background: var(--panel);
  border-top: 1px solid var(--line);
}
.cp-plus {
  display: grid; place-items: center; flex: none;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--me-soft); color: var(--me-text);
  font-weight: 800;
}
.cp-field {
  flex: 1;
  padding: 5px 12px;
  border: 1px solid var(--line); border-radius: 999px;
  color: var(--ink-soft); font-size: 0.84rem;
}

.answer {
  position: relative;
  display: flex; flex-direction: column; justify-content: center; gap: 2px;
  min-height: 84px;
  padding: 10px 15px 11px 36px;
  border-radius: 18px 18px 6px 18px;
  background: var(--panel);
  box-shadow: 0 0 0 1px var(--line);
  font-weight: 700; line-height: 1.35;
}
.answer::before {
  content: ""; position: absolute; left: 14px; top: 16px;
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--coral); box-shadow: 0 0 0 4px color-mix(in srgb, var(--coral) 25%, transparent);
}
.answer-name { color: var(--ink-soft); font-size: 0.72rem; }
.answer.is-new [data-answer-text] { display: inline-block; animation: text-swap 200ms var(--ease-out) backwards; }
@keyframes text-swap { from { opacity: 0; transform: translateY(4px); filter: blur(2px); } }

/* Device frames around real screenshots */

.iphone { padding: 8px; border-radius: 40px; background: var(--bezel); box-shadow: var(--shadow); }
.watch { width: 150px; padding: 11px; border-radius: 44px; background: var(--watch); box-shadow: 0 0 0 1.5px var(--watch-ring), var(--shadow); }

.screen { position: relative; overflow: hidden; border-radius: 32px; background: #FFFFFF; }
.watch .screen { border-radius: 34px; background: #000000; }
.screen picture { display: block; }
.screen img { width: 100%; }

.screen--crop-status { aspect-ratio: 640 / 1300; }
.screen--crop-status picture:first-child { margin-top: -14.0625%; }
.state-over { position: absolute; left: 0; right: 0; top: -6.923%; opacity: 0; transition: opacity 260ms var(--ease-out); }
.screen[data-state="taken"] [data-state-img="taken"] { opacity: 1; }

.sleep {
  position: absolute; inset: 0;
  background: #05090F;
  opacity: 0;
  transition: opacity 260ms var(--ease-out);
  pointer-events: none;
}
.screen[data-state="asleep"] .sleep { opacity: 1; }
.is-instant :is(.state-over, .sleep) { transition: none; }

.hl {
  position: absolute;
  left: var(--l); top: var(--t); width: var(--w); height: var(--h);
  border: 3px solid var(--coral);
  border-radius: 14px;
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--coral) 22%, transparent);
  pointer-events: none;
}
.hl--static { border-width: 2.5px; border-radius: 10px; }

.pin {
  position: absolute; left: var(--x); top: var(--y);
  display: grid; place-items: center;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--coral); color: #13213A;
  font-size: 0.9rem; font-weight: 800;
  box-shadow: 0 0 0 4px #FFFFFF, 0 6px 12px -4px rgb(10 20 40 / 0.4);
  transform: translate(-50%, -50%);
  transition: transform 150ms ease;
  pointer-events: none;
}

.steps { display: grid; gap: 14px; margin-top: 26px; counter-reset: step; }
.steps li { position: relative; padding-left: 44px; color: var(--ink-soft); line-height: 1.45; counter-increment: step; }
.steps li::before {
  content: counter(step);
  position: absolute; left: 0; top: -2px;
  display: grid; place-items: center;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--coral); color: #13213A;
  font-size: 0.9rem; font-weight: 800;
}
.steps strong { display: block; color: var(--ink); font-size: 1.08rem; }

@media (hover: hover) and (pointer: fine) {
  .split:has(.steps li[data-pin="1"]:hover) .pin[data-pin="1"],
  .split:has(.steps li[data-pin="2"]:hover) .pin[data-pin="2"],
  .split:has(.steps li[data-pin="3"]:hover) .pin[data-pin="3"] { transform: translate(-50%, -50%) scale(1.3); }
}

.duo { position: relative; width: min(290px, 78%); margin-right: 40px; }
.duo .watch { position: absolute; right: -64px; bottom: 36px; width: 138px; }

.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.gallery li { display: flex; flex-direction: column; align-items: center; text-align: center; }
.gallery-shot { display: grid; place-items: center; width: 100%; height: clamp(440px, 44vw, 540px); margin-bottom: 22px; }
.gallery .iphone { width: min(250px, 100%); }
.gallery .watch { width: 190px; }
.gallery h3 { font-size: 1.3rem; font-weight: 800; letter-spacing: -0.01em; }
.gallery p { max-width: 30ch; margin-top: 6px; color: var(--ink-soft); }

.extras { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(28px, 5vw, 64px); margin-top: clamp(40px, 6vw, 72px); }
.extras li { padding: 18px 0 22px; border-top: 1px solid var(--line); }
.extras h3 { font-size: 1.12rem; font-weight: 800; }
.extras p { max-width: 52ch; margin-top: 4px; color: var(--ink-soft); font-size: 0.97rem; line-height: 1.5; }

#today .split-demo .iphone,
#episodes .iphone { width: min(290px, 100%); }

/* Sections */

.strip { padding: 0 0 clamp(40px, 6vw, 72px); }
.strip-inner { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.strip-item {
  display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center;
  padding: 18px 20px; border-radius: 22px 22px 22px 6px;
  background: var(--panel); box-shadow: 0 0 0 1px var(--line);
}
.strip-icon { grid-row: 1 / span 2; align-self: start; color: var(--me-text); }
.strip-icon svg { display: block; width: 28px; height: 28px; }
.strip-item strong { font-size: 1.05rem; line-height: 1.25; }
.strip-item span:last-child { color: var(--ink-soft); font-size: 0.95rem; line-height: 1.35; }

.band { padding: clamp(64px, 9vw, 120px) 0; }
.band--mint { background: var(--tint-a); }
.band--sun { background: var(--tint-b); }
.band--lilac { background: var(--tint-c); }
.band--cream { background: transparent; }

.band--ink {
  --ink: var(--navy-ink);
  --ink-soft: var(--navy-soft);
  background: var(--navy);
  color: var(--navy-ink);
}

.from-hk {
  display: inline-flex; flex-direction: column;
  margin-bottom: 20px;
  padding: 8px 15px 9px;
  border-radius: 18px 18px 18px 6px;
  background: var(--panel);
  box-shadow: 0 0 0 1px var(--line);
  font-weight: 600; line-height: 1.3;
}
.band--cream .from-hk { background: var(--them); box-shadow: none; }
.band--ink .from-hk { background: color-mix(in srgb, var(--navy-ink) 12%, transparent); box-shadow: none; }
.from-hk-name { font-size: 0.72rem; font-weight: 700; color: var(--ink-soft); }

.band h2 {
  max-width: 19ch;
  font-size: clamp(2.2rem, 4.4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.lede { max-width: 44ch; margin-top: 20px; color: var(--ink-soft); font-size: clamp(1.08rem, 1.4vw, 1.2rem); }
.lede strong { color: var(--ink); }

.ticks { display: grid; gap: 12px; margin-top: 24px; }
.ticks li { position: relative; padding-left: 36px; font-weight: 500; line-height: 1.45; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 1px; width: 24px; height: 24px; border-radius: 50%; background: var(--me); }
.ticks li::after { content: ""; position: absolute; left: 7px; top: 8px; width: 10px; height: 5px; border-left: 2.5px solid #FFFFFF; border-bottom: 2.5px solid #FFFFFF; transform: rotate(-45deg); }

.arrow-link { display: inline-block; margin-top: 16px; padding: 9px 0; font-weight: 700; color: var(--me-text); text-underline-offset: 4px; }
.arrow-link::after { content: "\2192"; display: inline-block; margin-left: 8px; transition: transform 150ms ease; }
@media (hover: hover) and (pointer: fine) { .arrow-link:hover::after { transform: translateX(5px); } }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(40px, 6vw, 88px); }
.split--flip .split-copy { order: 2; }
.split-demo { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.section-head { display: flex; flex-direction: column; align-items: flex-start; margin-bottom: clamp(28px, 4vw, 44px); }
.section-head .lede { max-width: 56ch; }

/* Privacy */

.vows { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.vow { padding: 22px; border-radius: 22px 22px 22px 6px; background: color-mix(in srgb, var(--navy-ink) 9%, transparent); }
.vow h3 { font-size: 1.2rem; font-weight: 800; line-height: 1.15; }
.vow p { margin-top: 10px; color: var(--navy-soft); }
.fineprint { margin-top: 16px; color: var(--ink-soft); font-size: 0.92rem; line-height: 1.55; }
.fineprint--wide { max-width: 72ch; margin-top: 36px; }
.privacy-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

/* Get */

.get { background: var(--tint-a); }
.get-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: center; gap: clamp(32px, 5vw, 72px); }
.get-hen { position: relative; justify-self: center; width: clamp(160px, 22vw, 270px); }
.bubble {
  position: absolute; top: -10%; right: -22%;
  padding: 10px 16px;
  border-radius: 20px 20px 20px 6px;
  background: var(--me); color: var(--me-ink);
  font-size: clamp(1.1rem, 2vw, 1.45rem); font-weight: 800;
}
.get-icon { width: 76px; margin-bottom: 18px; border-radius: 18px; box-shadow: 0 10px 24px -14px rgb(10 20 40 / 0.5); }
.get-help { margin-top: 18px; font-weight: 600; }
.get-cta { margin-top: 12px; }
.get-quiet { margin-top: 16px; font-weight: 700; }
.get .fineprint { max-width: 52ch; }

/* Footer (shared chrome) */

.footer { padding: clamp(40px, 6vw, 72px) 0 40px; }
.footer-card {
  padding: clamp(28px, 4vw, 48px);
  border-radius: 30px 30px 30px 8px;
  background: var(--panel);
  box-shadow: 0 0 0 1px var(--line);
}
.footer-grid { display: grid; grid-template-columns: 1.3fr repeat(3, minmax(0, 1fr)); gap: 32px; }
.footer-brand .brand-mark { width: 48px; height: 48px; }
.footer-brand .brand-name-img { height: 24px; }
.footer-tag { max-width: 26ch; margin-top: 14px; color: var(--ink-soft); }
.footer-col-heading { color: var(--ink-soft); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.footer-col-links { display: grid; margin-top: 6px; }
.footer-col-links a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; text-decoration: none; }
@media (hover: hover) and (pointer: fine) {
  .footer-col-links a:hover { text-decoration: underline; text-underline-offset: 3px; }
}
.footer-actions { margin-top: 32px; }
.footer-meta {
  display: grid; gap: 12px;
  margin-top: 32px; padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft); font-size: 0.88rem;
}
.footer-disclaimer { max-width: 80ch; }
.copyright a { font-weight: 600; }

/* No-cookies notice (shared chrome) */

.no-cookies {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
  width: min(330px, calc(100vw - 40px));
  padding: 16px 18px;
  border-radius: 22px 22px 6px 22px;
  background: var(--panel); color: var(--ink);
  box-shadow: 0 0 0 1px var(--line), var(--shadow);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 240ms var(--ease-out), transform 240ms var(--ease-out);
}
.no-cookies.is-in { opacity: 1; transform: none; }
.no-cookies-title { font-weight: 800; }
.no-cookies-body { color: var(--ink-soft); font-size: 0.9rem; line-height: 1.5; }

/* Once-per-session intro */

@media (prefers-reduced-motion: no-preference) {
  .play-intro .copy > * { animation: rise-in 350ms var(--ease-out) backwards; }
  .play-intro .copy > :nth-child(2) { animation-delay: 90ms; }
  .play-intro .copy > :nth-child(3) { animation-delay: 180ms; }
  .play-intro .copy > :nth-child(4) { animation-delay: 270ms; }
  .play-intro .copy > :nth-child(5) { animation-delay: 360ms; }
}

@keyframes rise-in { from { opacity: 0; transform: translateY(8px); filter: blur(2px); } }

.play-intro:not(.hero-live) :is(.scrub, .thread > li, [data-answer-text], .hl) { animation: intro-hold 2.5s step-end; }
.play-intro:not(.hero-live) .sleep { animation: intro-sleep 2.5s step-end; }
@keyframes intro-hold { from, to { visibility: hidden; } }
@keyframes intro-sleep { from, to { opacity: 1; } }

/* Layout breakpoints */

@media (max-width: 1000px) {
  .nav-row { display: none; }
  .nav-disclosure { display: block; }
}

@media (max-width: 960px) {
  .hero-grid, .split, .get-grid { grid-template-columns: minmax(0, 1fr); }
  .split--flip .split-copy { order: 0; }
  .demo { width: 100%; max-width: 560px; margin-inline: auto; }
  .extras, .vows { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .strip-inner { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .get-hen { order: 2; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .gallery {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 74%;
    overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
    margin-inline: -16px; padding: 4px 16px 12px; scrollbar-width: none;
  }
  .gallery li { scroll-snap-align: center; }
  .gallery-shot { height: 470px; }
}

@media (max-width: 560px) {
  .container, .wrap { width: calc(100% - 32px); }
  .nav-cta { display: none; }

  .stage-chat { width: 58%; }
  .stage-app { width: 39%; margin-left: 3%; }
  .stage-cap { min-height: 34px; font-size: 0.74rem; }
  .stage-cap img { width: 18px; }

  .chatphone { height: 400px; border-width: 7px; border-radius: 30px; background-size: 14px 14px; }
  .cp-head { gap: 7px; padding: 9px 9px 7px; }
  .face { width: 22px; height: 22px; font-size: 0.58rem; border-width: 1.5px; }
  .face + .face { margin-left: -8px; }
  .cp-title { font-size: 0.78rem; }
  .cp-sub { font-size: 0.64rem; }
  .thread { gap: 2px; padding: 8px 8px 10px; }
  .day-pill { font-size: 0.6rem; }
  .msg { max-width: 84%; margin-left: 22px; padding: 5px 8px 3px; border-radius: 13px; font-size: 0.74rem; }
  .msg.run-start { margin-top: 6px; }
  .msg.run-end { border-bottom-left-radius: 5px; }
  .msg--me.run-end { border-bottom-left-radius: 13px; border-bottom-right-radius: 5px; }
  .msg--me { margin-left: 0; }
  .msg-face { left: -22px; width: 18px; height: 18px; font-size: 0.5rem; }
  .msg-name { font-size: 0.6rem; }
  .msg-meta { font-size: 0.56rem; }
  .msg.has-react { margin-bottom: 11px; }
  .react { right: 6px; bottom: -12px; padding: 0 4px; font-size: 0.66rem; }
  .msg--me .react { left: 6px; }
  .typing { margin: 6px 0 0 22px; padding: 8px 10px; }
  .typing i { width: 5px; height: 5px; }
  .cp-compose { gap: 6px; padding: 6px 8px 9px; }
  .cp-plus { width: 22px; height: 22px; font-size: 0.8rem; }
  .cp-field { padding: 3px 9px; font-size: 0.7rem; }

  .iphone { padding: 5px; border-radius: 26px; }
  .screen { border-radius: 21px; }
  .hl { border-width: 2px; border-radius: 9px; box-shadow: 0 0 0 3px color-mix(in srgb, var(--coral) 22%, transparent); }
  .answer { min-height: 110px; }
  .pin { width: 24px; height: 24px; font-size: 0.76rem; box-shadow: 0 0 0 3px #FFFFFF; }

  .duo { width: 64%; margin-right: 22%; }
  .duo .watch { right: -38%; bottom: 24px; width: 46%; padding: 8px; border-radius: 32px; }
  .duo .watch .screen { border-radius: 25px; }

  .extras, .vows { grid-template-columns: minmax(0, 1fr); }
  .bubble { right: -8%; }
  .no-cookies { left: 12px; right: 12px; bottom: 12px; width: auto; }
  .gw-notice-open body { padding-bottom: calc(var(--gw-notice-height, 235px) + 24px); }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .btn:active,
  .nav-disclosure-toggle:active,
  .no-cookies { transform: none; }
}
