/* Gulp's own tokens, straight from the app. The page keeps the app's
   single paper-light look on purpose; the palette block below is what
   the theme swatches swap. */
:root {
  color-scheme: light;
  --paper: #F7F1E3;
  --accent: #C4502B;
  --accent-deep: #9E3F21;
  --tint: #F1DDD0;
  --wave: #D98A5E;
  --shade: 60, 45, 20;            /* hover washes, tracks, edges (rgb) */
  --dot: 110, 90, 60;             /* the paper's tooth (rgb) */
  --rule: #E6DCC8;
  --rule-light: #EAE1CF;
  --selected: #EEE4CF;
  --key-fill: #FCF8EF;
  --key-border: #D9CDB5;
  --raised: #FFFDF8;
  --switch-off: #D6CCB8;

  --fish-fin: #E38A3B;
  --fish-body: #F4B35C;
  --fish-belly: #F8CD8C;
  --fish-cheek: #EE8F5E;
  --fish-rim: #C9642C;
  --fish-mouth: #8E3B1E;
  --fish-bubble: #B9A184;

  --ink: #262B38;
  --ink-soft: #55544F;
  --ink-meta: #6E685E;
  --ink-faint: #8A8379;
  --key-ink: #3A3D46;
  --pupil: #1C1D22;
  --gold-dust: #E3A04A;           /* aging dust — follows the palette */
  --age-mid: #A87A42;
  --night: #3F4B5E;               /* the desktop behind the mocks */

  --serif: 'Literata', 'Iowan Old Style', Georgia, serif;
  --mark: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --ease-snap: cubic-bezier(0.34, 1.56, 0.64, 1);
}
body[data-palette="pond"] {
  --paper: #F1F3EC; --accent: #2E7470; --accent-deep: #235955; --tint: #D8E8E3; --wave: #6FA8A2;
  --shade: 20, 60, 56; --dot: 60, 90, 85;
  --rule: #D9E2DC; --rule-light: #E0E7E2; --selected: #E2EAE5;
  --key-fill: #F9FBF8; --key-border: #C6D3CC; --raised: #FDFEFC; --switch-off: #C4D1CA;
  --fish-fin: #3F978C; --fish-body: #74C1B3; --fish-belly: #B9E2D8; --fish-cheek: #EE8F7A;
  --fish-rim: #2E7470; --fish-mouth: #1E4E4A; --fish-bubble: #8FB5AE;
  --gold-dust: #6FBFB4; --age-mid: #3F8F86;
}
body[data-palette="lilac"] {
  --paper: #F6F1F2; --accent: #7A4A8E; --accent-deep: #5E386E; --tint: #EADFEF; --wave: #AA8CC0;
  --shade: 58, 36, 70; --dot: 90, 70, 96;
  --rule: #E6DAE2; --rule-light: #EBE1E8; --selected: #EDE3EA;
  --key-fill: #FCF8FA; --key-border: #D6C7D2; --raised: #FFFCFE; --switch-off: #D3C5D0;
  --fish-fin: #9867AE; --fish-body: #C29CD5; --fish-belly: #E5D2EE; --fish-cheek: #E88FA8;
  --fish-rim: #7A4A8E; --fish-mouth: #4C2A5C; --fish-bubble: #B5A1C2;
  --gold-dust: #B892CC; --age-mid: #8A5FA0;
}
body[data-palette="deep-sea"] {
  --paper: #F2F2EE; --accent: #2F5E9A; --accent-deep: #234876; --tint: #DCE4F0; --wave: #7F9DC6;
  --shade: 23, 44, 71; --dot: 60, 74, 94;
  --rule: #DADFE6; --rule-light: #E0E4EA; --selected: #E3E7EC;
  --key-fill: #F9FAFB; --key-border: #C8D0DA; --raised: #FDFDFE; --switch-off: #C6CED9;
  --fish-fin: #4A78B3; --fish-body: #80A7D8; --fish-belly: #C8DAF0; --fish-cheek: #E8929E;
  --fish-rim: #2F5E9A; --fish-mouth: #1D3A62; --fish-bubble: #9AAEC8;
  --gold-dust: #86A6D6; --age-mid: #4F77AE;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  padding-inline: max(20px, env(safe-area-inset-left, 0px));
  background-color: var(--paper);
  background-image:
    radial-gradient(rgba(var(--dot), .11) .7px, transparent .9px),
    radial-gradient(rgba(var(--dot), .07) .6px, transparent .8px);
  background-size: 7px 9px, 11px 13px;
  background-position: 0 0, 3px 5px;
  color: var(--ink);
  font: 400 17px/1.6 var(--serif);
  transition: background-color .4s ease;
}
.paper {
  background-color: var(--paper);
  background-image:
    radial-gradient(rgba(var(--dot), .11) .7px, transparent .9px),
    radial-gradient(rgba(var(--dot), .07) .6px, transparent .8px);
  background-size: 7px 9px, 11px 13px;
  background-position: 0 0, 3px 5px;
}
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.page { max-width: 1120px; margin: 0 auto; }
.measure { max-width: 34em; }

.wm { font-family: var(--mark); font-weight: 700; letter-spacing: -.01em; color: var(--accent); }
.mono { font-family: var(--mono); }
.eyebrow {
  font: 500 11px/1.4 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-meta);
}
h1, h2, h3 { margin: 0; font-weight: 400; text-wrap: balance; }
h2 { font: italic 400 clamp(30px, 4.2vw, 46px)/1.1 var(--serif); letter-spacing: -.015em; }
h3 { font: 600 19px/1.3 var(--serif); }
p { margin: 0; }
.lede { color: var(--ink-soft); font-size: 19px; }

/* Keycaps: a hairline that thickens along the bottom edge. */
.kc {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 22px; height: 22px; padding: 0 6px;
  border: 1px solid var(--key-border); border-bottom-width: 2px; border-radius: 5px;
  background: var(--key-fill); color: var(--key-ink);
  font: 400 12px/1 var(--mono); font-style: normal; vertical-align: 2px;
}
.kc.sm { min-width: 18px; height: 18px; font-size: 10px; padding: 0 4px; }
.kc.lg { min-width: 30px; height: 30px; font-size: 14px; padding: 0 8px; border-radius: 7px; }
.keys { display: inline-flex; gap: 3px; vertical-align: middle; }

/* ---- Top ------------------------------------------------------------------ */
.top {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-block: 28px 0;
}
.top .wm { font-size: 30px; line-height: 1; text-decoration: none; }

/* ---- Hero ----------------------------------------------------------------- */
.hero {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 64px; align-items: center;
  padding-block: 72px 88px;
}
.hero h1 {
  font: 400 clamp(48px, 7vw, 86px)/.98 var(--serif); letter-spacing: -.03em; margin-block: 18px 26px;
}
.hero h1 em { font-style: italic; color: var(--accent); }
.hero .lede { max-width: 30em; }
.cta-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 34px; }
.cta {
  display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 30px;
  border-radius: 26px; background: var(--accent); color: #FFF8EE;
  font: italic 500 19px/1 var(--serif); text-decoration: none;
  box-shadow: 0 2px 0 var(--accent-deep); transition: filter .15s ease, transform .15s ease;
}
.cta:hover { filter: brightness(.94); }
.cta:active { transform: translateY(1px); box-shadow: 0 1px 0 var(--accent-deep); }
.cta[aria-disabled="true"] { background: transparent; color: var(--accent); box-shadow: inset 0 0 0 1.5px var(--accent); cursor: default; }
.cta-note { font: 400 12px/1.5 var(--mono); color: var(--ink-meta); }

/* The desk: a slice of a Mac desktop, menu bar on top, the bowl hanging from the fish. */
.desk {
  position: relative; border-radius: 18px; overflow: hidden;
  background: linear-gradient(165deg, #56657C 0%, #46536A 60%, #3F4B5E 100%);
  padding: 0 0 36px; box-shadow: 0 30px 70px rgba(20, 24, 32, .22), 0 2px 8px rgba(20, 24, 32, .12);
}
.menubar {
  height: 30px; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 0 14px; background: rgba(30, 36, 48, .55); color: rgba(255, 255, 255, .86);
  font: 500 12px/1 -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
}
.menubar .left, .menubar .right { display: flex; align-items: center; gap: 16px; white-space: nowrap; }
.menubar .dim { opacity: .7; }
.menubar .fishbtn {
  display: grid; place-items: center; width: 40px; height: 24px; border-radius: 6px;
  background: rgba(255, 255, 255, .18);
}
.menubar .fishbtn svg { width: 22px; height: 22px; }
.desk .bowl { margin: 10px auto 0; }

/* ---- The bowl --------------------------------------------------------------- */
.bowl {
  width: 400px; max-width: calc(100% - 32px);
  border-radius: 16px; border: 1px solid rgba(var(--shade), .16); overflow: hidden;
  box-shadow: 0 18px 40px rgba(20, 24, 32, .30), 0 2px 6px rgba(20, 24, 32, .14);
  text-align: left;
}
.bowl-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px 14px; }
.bowl-head .wm { font-size: 22px; line-height: 1; }
.bowl-head .count { font: 400 13px/1 var(--mono); color: var(--ink-meta); font-variant-numeric: tabular-nums; }
.bowl-head .count b { font-weight: 500; color: var(--accent); }
.cap-bar { height: 3px; background: var(--rule); }
.cap-bar i { display: block; height: 100%; background: var(--wave); }
.note-row {
  display: flex; align-items: flex-start; gap: 12px; padding: 14px 20px;
  border-top: 1px solid var(--rule-light);
}
.note-row:first-of-type { border-top: 0; }
.note-row.on { background: var(--selected); padding-right: 14px; border-top-color: transparent; }
.note-row.on + .note-row { border-top-color: transparent; }
.note-row .note { flex: 1; min-width: 0; }
.note-row .btns { display: flex; gap: 2px; margin-top: -3px; }
.ib {
  display: grid; place-items: center; width: 30px; height: 30px; border: 0; border-radius: 8px;
  background: transparent; padding: 0; cursor: pointer; color: #4E4D49;
}
.ib:hover { background: rgba(var(--shade), .08); }
.ib svg { width: 16px; height: 16px; }
.bowl-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 8px 10px 8px 20px; border-top: 1px solid var(--rule);
  font: 400 11px/1 var(--mono); color: var(--ink-meta);
}
.bowl-foot .hints { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.bowl-foot .hints span { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }

/* A note, in ink that turns to gold dust with age (see ageNote()). */
.note { font: italic 400 18px/1.35 var(--serif); color: var(--ink); overflow-wrap: anywhere; }
.note .ink { -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.note .ink.gold { -webkit-background-clip: text; background-clip: text; color: transparent; }
.dust { display: inline-block; position: relative; height: 14px; vertical-align: -1px; margin-left: 3px; }
.dust i { position: absolute; display: block; border-radius: 50%; background: var(--gold-dust); transition: background .4s ease; }

.palette {
  display: flex; align-items: center; gap: 12px 14px; flex-wrap: wrap; margin-top: 20px; padding-inline: 20px;
  font: 400 12px/1 var(--mono); color: rgba(255, 255, 255, .78); justify-content: center;
}
.palette-hint { flex-basis: 100%; text-align: center; font-size: 11px; color: rgba(255, 255, 255, .55); letter-spacing: .02em; }
.swatches { display: flex; gap: 10px; }
.swt {
  width: 26px; height: 26px; border-radius: 50%; border: 2px solid #FFFDF8; padding: 0; cursor: pointer;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .18); transition: outline-color .2s ease, transform .2s var(--ease-snap);
  outline: 2px solid transparent; outline-offset: 3px;
}
.swt:hover { transform: scale(1.08); }
.swt[aria-pressed="true"] { outline-color: rgba(255, 253, 248, .9); }
.swt:focus-visible { outline-color: #FFFDF8; border-radius: 50%; }
#palette-name { min-width: 8ch; text-align: right; }

/* ---- Sections ---------------------------------------------------------------- */
section { padding-block: 72px; border-top: 1px solid var(--rule); }
.sec-head { display: grid; gap: 16px; margin-bottom: 44px; max-width: 40em; }
.sec-head .lede { font-size: 18px; }

/* How it works: three real steps, so they're numbered. */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; list-style: none; margin: 0 0 44px; padding: 0; }
.steps li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; align-items: start; }
.num {
  display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  background: var(--tint); color: var(--accent-deep); font: 500 13px/1 var(--mono);
}
.steps p { color: var(--ink-soft); font-size: 16px; margin-top: 4px; }

.stage {
  border-radius: 18px; background: var(--night); padding: 44px 24px;
  display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; overflow: hidden;
}
.strip {
  width: min(780px, 100%); border-radius: 18px; border: 1px solid rgba(var(--shade), .18); overflow: hidden;
  box-shadow: 0 24px 60px rgba(10, 14, 22, .45), 0 2px 8px rgba(10, 14, 22, .2);
}
.strip-main { display: flex; align-items: center; gap: 18px; padding: 30px 26px 28px; }
.strip-main svg { width: 48px; height: 48px; flex: none; }
.strip-input { flex: 1; min-width: 0; font: italic 400 clamp(19px, 2.6vw, 26px)/1.3 var(--serif); color: var(--ink); }
.caret { display: inline-block; width: 2px; height: 1.05em; background: var(--accent); vertical-align: -.15em; margin-left: 2px; animation: caret 1.1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.strip-feed { display: flex; align-items: center; gap: 8px; font: 400 12px/1 var(--mono); color: var(--ink-meta); white-space: nowrap; }
.strip-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 12px 26px; border-top: 1px solid var(--rule); font: 400 11px/1.4 var(--mono); color: var(--ink-meta);
}
.pill-menu { display: inline-flex; align-items: center; gap: 4px; padding: 2px 6px; border-radius: 5px; color: var(--accent); }
.pill-menu svg { width: 8px; height: 8px; }

/* The fade: a note you can age by hand. */
.fade { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.fade-card { border-radius: 16px; border: 1px solid rgba(var(--shade), .16); overflow: hidden; box-shadow: 0 10px 30px rgba(20, 24, 32, .10); }
.fade-card .note-row { min-height: 78px; align-items: center; }
.fade-card .note { transition: opacity .8s cubic-bezier(.25, 0, .3, 1), filter .8s ease, transform .8s cubic-bezier(.25, 0, .3, 1); }
.fade-card .note.gone { opacity: 0; filter: blur(3px); transform: translateY(18px); }
.scrub { padding: 18px 20px 20px; border-top: 1px solid var(--rule); display: grid; gap: 12px; }
.scrub label { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font: 400 12px/1.4 var(--mono); color: var(--ink-meta); font-variant-numeric: tabular-nums; }
.scrub label b { font-weight: 500; color: var(--accent); }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 22px; background: transparent; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--ink) 0%, var(--age-mid) 45%, var(--gold-dust) 100%); }
input[type="range"]::-moz-range-track { height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--ink) 0%, var(--age-mid) 45%, var(--gold-dust) 100%); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; margin-top: -8px; border-radius: 50%; background: var(--raised); border: 1px solid var(--key-border); box-shadow: 0 1px 3px rgba(0, 0, 0, .25); }
input[type="range"]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: var(--raised); border: 1px solid var(--key-border); box-shadow: 0 1px 3px rgba(0, 0, 0, .25); }

/* The fish. */
.faces { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.face {
  display: grid; gap: 12px; align-content: start; padding: 22px 20px 24px; border-radius: 16px;
  background: var(--raised); border: 1px solid var(--rule);
}
.face .portrait { display: grid; place-items: center; height: 132px; }
.face .portrait svg { width: 108px; height: 108px; overflow: visible; }
.face .tag { font: 500 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.face p { font-size: 15px; color: var(--ink-soft); line-height: 1.5; }
.fish-note { margin-top: 26px; color: var(--ink-meta); font: 400 12px/1.6 var(--mono); }

.f-fin { fill: var(--fish-fin); } .f-body { fill: var(--fish-body); } .f-belly { fill: var(--fish-belly); }
.f-cheek { fill: var(--fish-cheek); opacity: .45; } .f-white { fill: #fff; stroke: var(--fish-rim); }
.f-pupil { fill: var(--pupil); } .f-shine { fill: #fff; } .f-mouth { fill: var(--fish-mouth); }
.f-tongue { fill: #D9714A; } .f-lid { fill: none; stroke: var(--pupil); stroke-width: 3; stroke-linecap: round; }
.f-bubble { fill: none; stroke: var(--fish-bubble); stroke-width: 2; }
.f-fin, .f-body, .f-belly, .f-white, .f-mouth, .f-bubble { transition: fill .4s ease, stroke .4s ease; }

.sway { animation: sway 4s ease-in-out infinite; }
@keyframes sway { 0%, 100% { transform: translateY(-1px); } 50% { transform: translateY(1px); } }
.blink { transform-box: fill-box; transform-origin: center; animation: blink 6s infinite; }
@keyframes blink { 0%, 93%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.08); } }
.worry { transform-box: fill-box; transform-origin: center; animation: worry .6s ease-in-out infinite alternate; }
@keyframes worry { from { transform: rotate(-3deg); } to { transform: rotate(3deg); } }
.rise { animation: rise 3.2s ease-in-out infinite; }
@keyframes rise { 0%, 100% { transform: translateY(0); opacity: 1; } 50% { transform: translateY(-3px); opacity: .7; } }
.pupils { transition: transform .18s ease-out; }

/* Settings, as it looks in the app. */
.tune { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 56px; align-items: start; }
.tune-list { display: grid; gap: 18px; list-style: none; margin: 0; padding: 0; }
.tune-list li { display: grid; gap: 2px; }
.tune-list b { font-weight: 600; }
.tune-list span { color: var(--ink-soft); font-size: 16px; }
.settings { border-radius: 14px; border: 1px solid rgba(var(--shade), .18); overflow: hidden; box-shadow: 0 16px 40px rgba(20, 24, 32, .12); padding: 8px 32px 18px; }
.settings .lock { display: flex; align-items: baseline; gap: 10px; padding-block: 18px 4px; flex-wrap: wrap; }
.settings .lock .wm { font-size: 28px; line-height: 1; }
.settings .lock i { font-size: 16px; color: var(--key-ink); }
.set-sec { font: 400 11px/1 var(--mono); letter-spacing: .16em; color: var(--ink-meta); padding-block: 22px 4px; }
.set-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-block: 12px; }
.set-row .l b { display: block; font-weight: 600; font-size: 16px; line-height: 1.35; }
.set-row .l i { display: block; font-size: 14px; color: var(--ink-soft); line-height: 1.35; }
.wave { display: block; width: 100%; height: 6px; }
.wave path { stroke: var(--wave); }
.seg { display: flex; gap: 2px; padding: 3px; border-radius: 9px; background: rgba(var(--shade), .09); flex-wrap: wrap; }
.seg button {
  min-width: 40px; height: 28px; padding: 0 10px; border: 0; border-radius: 7px; background: transparent;
  font: 400 12px/1 var(--mono); color: var(--ink-soft); cursor: pointer;
}
.seg button[aria-pressed="true"] { background: var(--raised); color: var(--accent); font-weight: 500; box-shadow: 0 1px 2px rgba(var(--shade), .16); }
.switch { position: relative; flex: none; width: 42px; height: 26px; border: 0; border-radius: 13px; padding: 0; cursor: pointer; background: var(--switch-off); transition: background .18s ease; }
.switch::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .25); transition: left .18s ease; }
.switch[aria-checked="true"] { background: var(--accent); }
.switch[aria-checked="true"]::after { left: 19px; }

/* What it keeps and refuses. */
.rules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px; }
.rules ul { list-style: none; margin: 16px 0 0; padding: 0; }
.rules li { padding: 13px 0; border-top: 1px solid var(--rule); font-size: 17px; }
.rules .no li { color: var(--ink-faint); text-decoration: line-through; text-decoration-color: rgba(var(--shade), .28); text-decoration-thickness: 1px; }
.rules h3 { font: 500 11px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.rules .no h3 { color: var(--ink-meta); }
.privacy { margin-top: 44px; padding: 22px 26px; border-radius: 14px; background: var(--tint); display: grid; gap: 6px; }
.privacy b { font-weight: 600; }
.privacy p { color: var(--ink-soft); font-size: 16px; }

/* The film. */
.film { display: grid; gap: 28px; }
.film .sec-head { margin-bottom: 0; }
.film-frame {
  position: relative; aspect-ratio: 16 / 9; max-width: 100%; border-radius: 18px; overflow: hidden; background: #15140F;
  box-shadow: 0 30px 70px rgba(20, 24, 32, .22), 0 2px 8px rgba(20, 24, 32, .12);
}
.film-frame video { display: block; width: 100%; height: 100%; object-fit: cover; }
.film-note { font: 400 12px/1.5 var(--mono); color: var(--ink-meta); }
.film-sound {
  position: absolute; left: 16px; top: 16px; display: inline-flex; align-items: center; gap: 8px;
  height: 36px; padding: 0 14px 0 12px; border: 0; border-radius: 18px; cursor: pointer;
  background: rgba(21, 20, 15, .78); color: #FFF3E0; font: 500 12px/1 var(--mono); letter-spacing: .04em;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: background .15s ease;
}
.film-sound:hover { background: rgba(21, 20, 15, .92); }
.film-sound[hidden] { display: none; }
.film-sound svg { width: 16px; height: 16px; }

/* Tug, the cousin. Keeps its own green whatever theme the page is in. */
.cousin { padding-block: 56px; }
.cousin-card {
  --tug: #0E7F45; --tug-deep: #0A6638; --tug-tint: #E3EFE3; --tug-tongue: #E25A8C;
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 28px; align-items: start;
  padding: 30px 32px; border-radius: 18px; background: var(--tug-tint); border: 1px solid rgba(14, 127, 69, .18);
}
.cousin-card img { width: 88px; height: 88px; border-radius: 20px; }
.cousin-body { display: grid; gap: 14px; }
.cousin-body .eyebrow { color: var(--tug-deep); }
.cousin-body h2 { font-size: clamp(26px, 3.2vw, 34px); }
.cousin-body h2 b { font: 800 1em/1 'Inter', system-ui, -apple-system, sans-serif; font-style: normal; letter-spacing: -.04em; color: var(--tug); }
.cousin-body p { color: var(--ink-soft); font-size: 16px; max-width: 38em; }
.cousin-facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.cousin-facts li { font: 400 11px/1 var(--mono); letter-spacing: .04em; color: var(--tug-deep); padding: 7px 11px; border-radius: 999px; background: rgba(255, 255, 255, .6); }
.cousin-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 6px; }
.cta.cta-tug { background: var(--tug); box-shadow: 0 2px 0 var(--tug-deep); font-size: 17px; height: 46px; padding: 0 24px; }
.cta.cta-tug:active { box-shadow: 0 1px 0 var(--tug-deep); }
.cousin-row .cta-note { color: var(--tug-deep); opacity: .8; }

/* Voice: the strip, listening — the same pieces as the app. */
.strip.voice .strip-main { gap: 18px; padding: 24px 26px 22px; }
.vring { position: relative; width: 72px; height: 72px; flex: none; display: grid; place-items: center; }
.vring .ticks { position: absolute; inset: 0; width: 72px; height: 72px; overflow: visible; }
.vring .ticks circle { fill: none; stroke: var(--rule); stroke-width: 1.2; }
.vring .ticks line { stroke: var(--wave); stroke-width: 2.2; stroke-linecap: round; animation: vtick 1.3s ease-in-out infinite; }
.vring .fish { position: relative; width: 40px; height: 40px; }
@keyframes vtick { 0%, 100% { opacity: .28 } 50% { opacity: 1 } }
.hearing { color: #A8927A; }
.vstop { display: flex; align-items: center; gap: 12px; flex: none; }
.vtime { display: inline-flex; align-items: center; gap: 5px; font: 400 11px/1 var(--mono); color: var(--accent-deep); font-variant-numeric: tabular-nums; }
.vtime i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: vrec 1.2s ease-in-out infinite; }
@keyframes vrec { 50% { opacity: .35 } }
.vstop .stop { width: 48px; height: 48px; border-radius: 50%; background: var(--accent); display: grid; place-items: center;
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 14%, transparent); }
.vstop .stop span { width: 14px; height: 14px; border-radius: 3px; background: #FFF8EE; }
.strip-foot .grp { display: inline-flex; align-items: center; gap: 14px; }
.strip-foot .grp > span { display: inline-flex; align-items: center; gap: 6px; }
.listen { color: var(--accent-deep); }
.toggle { display: inline-flex; gap: 2px; padding: 2px; border-radius: 7px; background: rgba(var(--shade), .09); }
.toggle span { padding: 3px 8px; border-radius: 5px; }
.toggle .on { background: var(--raised); color: var(--accent); box-shadow: 0 1px 1px rgba(var(--shade), .16); }
.facts { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin: 44px 0 0; padding: 0; }
.facts b { display: block; font: 600 17px/1.35 var(--serif); margin-bottom: 4px; }
.facts span { color: var(--ink-soft); font-size: 16px; }

/* While your agents work. */
.agents { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 56px; align-items: center; }
.agents-shot { display: block; width: 100%; max-width: 100%; height: auto; border-radius: 18px;
  box-shadow: 0 30px 70px rgba(20, 24, 32, .22), 0 2px 8px rgba(20, 24, 32, .12); }
.tricks { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 12px; }
.tricks li { position: relative; padding-left: 18px; font-size: 16px; color: var(--ink-soft); }
.tricks li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--wave); }
.tricks b { color: var(--ink); font-weight: 600; }
@media (prefers-reduced-motion: reduce) { .vring .ticks line, .vtime i { animation: none; } }

/* Close. */
.close { text-align: center; padding-block: 88px 64px; border-top: 1px solid var(--rule); display: grid; justify-items: center; gap: 22px; }
.close svg { width: 120px; height: 120px; overflow: visible; }
.close h2 { max-width: 16em; }
.foot {
  display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding-block: 26px 40px;
  border-top: 1px solid var(--rule); font: 400 11px/1.8 var(--mono); color: var(--ink-meta); letter-spacing: .04em;
}
.foot i { font: italic 400 14px/1.6 var(--serif); letter-spacing: 0; }

/* ---- Contact ------------------------------------------------------------------ */
.contact .sec-head { margin-bottom: 28px; }
.mail-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.mail {
  font: italic 400 clamp(24px, 3.4vw, 34px)/1.2 var(--serif); color: var(--accent);
  text-decoration: none; overflow-wrap: anywhere; user-select: all;
}
.mail:hover { text-decoration: underline; text-decoration-thickness: 1px; }
.copy {
  font: 400 11px/1 var(--mono); letter-spacing: .08em; color: var(--ink-meta);
  padding: 8px 12px; border-radius: 999px; border: 1px solid var(--rule); background: var(--raised); cursor: pointer;
}
.copy:hover { color: var(--accent); border-color: var(--accent); }

/* ---- Privacy page ------------------------------------------------------------- */
.policy { padding-block: 40px 72px; display: grid; gap: 0; max-width: 42em; }
.policy .sec-head { margin-bottom: 8px; }
.policy h1 { font: italic 400 clamp(34px, 5vw, 52px)/1.08 var(--serif); letter-spacing: -.02em; }
.policy .eff { font: 400 12px/1.5 var(--mono); color: var(--ink-meta); }
.policy section { padding-block: 36px; }
.policy section:first-of-type { border-top: 0; }
.policy h2 { font-size: clamp(24px, 3vw, 30px); margin-bottom: 14px; }
.policy p + p, .policy p + ul, .policy ul + p { margin-top: 12px; }
.policy ul { margin: 0; padding-left: 1.2em; display: grid; gap: 8px; }
.policy li::marker { color: var(--accent); }
.policy code { font: 400 .78em/1.4 var(--mono); background: var(--selected); padding: 2px 6px; border-radius: 5px; overflow-wrap: anywhere; }
.policy .privacy { margin-top: 0; }
.back { font: 400 12px/1 var(--mono); letter-spacing: .04em; color: var(--ink-meta); text-decoration: none; }
.back:hover { color: var(--accent); }

@media (max-width: 900px) {
  .agents, .facts { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .hero, .fade, .tune { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .hero { padding-block: 44px 64px; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .faces { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rules { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  section { padding-block: 56px; }
}
@media (max-width: 560px) {
  .strip.voice .vtime, .strip .grp .hide-sm { display: none; }
  .strip.voice .strip-main { gap: 12px; padding: 20px 16px; }
  .cousin-card { grid-template-columns: minmax(0, 1fr); padding: 24px 20px; gap: 18px; }
  .cousin-card img { width: 64px; height: 64px; border-radius: 15px; }
  .menubar .left .dim, .menubar .hide-sm { display: none; }
  .strip-main { padding: 22px 18px; gap: 12px; }
  .strip-main svg { width: 36px; height: 36px; }
  .strip-feed span:last-child { display: none; }
  .strip-foot { padding: 12px 18px; }
  .stage { padding: 28px 14px; }
  .faces { grid-template-columns: minmax(0, 1fr); }
  .settings { padding: 6px 18px 14px; }
  .set-row { flex-wrap: wrap; }
  .bowl-foot .hints span:nth-child(n+2) { display: none; }
  }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}
