/* Hurvis public site. No third-party requests; fonts are self-hosted (SIL OFL, see /assets/fonts/). */

@font-face {
  font-family: "Fredoka";
  font-style: normal;
  font-display: swap;
  font-weight: 300 700;
  src: url("/assets/fonts/fredoka-latin-wght-normal.woff2") format("woff2-variations");
  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: "Fredoka";
  font-style: normal;
  font-display: swap;
  font-weight: 300 700;
  src: url("/assets/fonts/fredoka-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Sora";
  font-style: normal;
  font-display: swap;
  font-weight: 100 800;
  src: url("/assets/fonts/sora-latin-wght-normal.woff2") format("woff2-variations");
  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: "Sora";
  font-style: normal;
  font-display: swap;
  font-weight: 100 800;
  src: url("/assets/fonts/sora-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --mint: #3DE8A8;
  --mint-deep: #2BCF93;
  --mint-text: #087A54;
  --mint-tint: #DDF8EC;
  --ink: #0B0D12;
  --ink-2: #161a22;
  --ink-3: #252a34;
  --paper: #F3F1EC;
  --paper-2: #E9E5DC;
  --card: #FBFAF7;
  --line: #DCD8CF;
  --slate: #3A3F48;
  --stone: #5C606A;
  --amber: #FFB547;
  --coral: #FF6B5B;
  --coral-text: #B4372A;
  --night: #E4E2DC;
  --night-dim: #A9ADB6;

  --display: "Fredoka", "Segoe UI", system-ui, sans-serif;
  --body: "Sora", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", Consolas, "SF Mono", Menlo, monospace;

  --gutter: 16px;
  --wrap: 1180px;
  --bubble: 22px 22px 22px 6px;
  --radius-lg: 28px;
  --radius: 16px;
  --radius-sm: 10px;
}
@media (min-width: 720px) { :root { --gutter: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
}
@media (min-width: 720px) { body { font-size: 1.0625rem; } }
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--mint-deep); }
p { margin: 0 0 1em; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.08; margin: 0; letter-spacing: -0.01em; text-wrap: balance; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.band-ink :focus-visible, .site-foot :focus-visible { outline-color: var(--mint); }
::selection { background: var(--mint); color: var(--ink); }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: var(--radius-sm);
  font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

/* ── header ─────────────────────────────────────────── */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: rgb(243 241 236 / 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
}
.site-head.is-scrolled { border-bottom-color: var(--line); }
.site-head .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 600; font-size: 1.5rem; letter-spacing: -0.01em; }
.brand img { width: 34px; height: 34px; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a { text-decoration: none; padding: 8px 12px; border-radius: 999px; font-size: 0.9375rem; color: var(--slate); }
.nav a:hover { background: var(--paper-2); color: var(--ink); }
.nav .nav-link { display: none; }
@media (min-width: 860px) { .nav .nav-link { display: inline-block; } }

/* ── buttons ─────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px; border-radius: 999px;
  font-family: var(--display); font-weight: 600; font-size: 1.125rem; line-height: 1.1;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.btn-primary { background: var(--mint); color: var(--ink); box-shadow: 0 2px 0 var(--ink); border-color: var(--ink); }
.btn-primary:hover { background: #55EDB5; transform: translateY(-1px); box-shadow: 0 4px 0 var(--ink); }
.btn-primary:active { transform: translateY(1px); box-shadow: 0 1px 0 var(--ink); }
.btn-small { min-height: 40px; padding: 8px 18px; font-size: 1rem; }
.btn-ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn svg { width: 20px; height: 20px; flex: none; }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } .btn:hover, .btn:active { transform: none; } }

/* ── shared section scaffolding ─────────────────────── */
.band { padding: 72px 0; }
@media (min-width: 960px) { .band { padding: 112px 0; } }
.band-ink { background: var(--ink); color: var(--night); }
.band-sunk { background: var(--paper-2); }
.sec-head { max-width: 40rem; margin-bottom: 40px; }
.sec-head h2 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.25rem); margin-bottom: 16px; }
.sec-head p { color: var(--slate); font-size: 1.0625rem; margin: 0; }
@media (min-width: 720px) { .sec-head p { font-size: 1.1875rem; } }
.band-ink .sec-head p { color: var(--night-dim); }

/* Hurvis speaks in bubbles — the app's own bubble shape */
.bubble {
  position: relative; display: inline-block;
  background: var(--card); color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: var(--bubble);
  padding: 14px 20px; font-size: 1rem; line-height: 1.45;
}

/* ── hero ─────────────────────────────────────────── */
.hero { padding: 40px 0 72px; overflow: hidden; }
@media (min-width: 960px) { .hero { padding: 64px 0 120px; } }
.hero-grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.15fr 0.85fr; gap: 48px; } }
.hero h1 {
  font-size: clamp(2.75rem, 1.6rem + 5.4vw, 5.5rem);
  line-height: 0.98; letter-spacing: -0.025em; font-weight: 600;
  margin-bottom: 24px;
}
.hero-lede { font-size: 1.125rem; color: var(--slate); max-width: 34rem; margin-bottom: 32px; }
@media (min-width: 720px) { .hero-lede { font-size: 1.3125rem; } }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.hero-fine { font-size: 0.875rem; color: var(--stone); margin: 16px 0 0; }
.beta-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.875rem; font-weight: 500; color: var(--slate);
  background: var(--card); border: 1px solid var(--line); border-radius: 999px;
  padding: 5px 12px 5px 8px; margin-bottom: 24px; text-decoration: none;
}
.beta-tag b { background: var(--amber); color: var(--ink); font-weight: 600; border-radius: 999px; padding: 1px 8px; font-size: 0.8125rem; }
.beta-tag:hover { border-color: var(--stone); }

.hero-stage { position: relative; display: grid; justify-items: center; padding-top: 16px; }
.hero-stage .bubble { justify-self: start; max-width: 19rem; margin-bottom: 4px; z-index: 1; }
@media (min-width: 900px) { .hero-stage .bubble { margin-left: -24px; } }
.hero-stage .bubble::after {
  content: ""; position: absolute; left: 38px; bottom: -13px; width: 22px; height: 22px;
  background: var(--card); border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
  transform: skewX(-25deg) rotate(45deg); border-bottom-right-radius: 4px;
}
.hero-bot { width: min(78vw, 400px); height: auto; position: relative; }
.hero-disc {
  position: absolute; z-index: -1; width: min(70vw, 380px); aspect-ratio: 1; border-radius: 50%;
  background: var(--mint-tint); top: 30%;
}

/* Hurvis motion (from the app's brand/hurvis.css): float, blink, a short wave on arrival */
.hv-svg .hv-float, .hv-svg .hv-eye, .hv-svg .hv-hand, .hv-svg .hv-bulb { transform-box: fill-box; transform-origin: center; }
@media (prefers-reduced-motion: no-preference) {
  .hv-anim .hv-float { animation: hv-float 3.6s ease-in-out infinite; }
  .hv-anim .hv-eye { animation: hv-blink 4.6s infinite; }
  .hv-anim .hv-bulb { animation: hv-glow 2.8s ease-in-out infinite; }
  .hv-anim .hv-hand-r { animation: hv-wave 1.6s ease-in-out .4s 2; transform-origin: 30% 80%; }
  .hv-anim .hv-wave-marks { animation: hv-fade 1s ease-out 3.4s forwards; }
}
@keyframes hv-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes hv-blink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(0.1); } }
@keyframes hv-glow { 0%, 100% { opacity: 1; } 50% { opacity: 0.7; } }
@keyframes hv-wave {
  0%, 60%, 100% { transform: rotate(0deg) translate(0, 0); }
  15% { transform: rotate(-14deg) translate(-3px, -3px); }
  30% { transform: rotate(10deg) translate(2px, -5px); }
  45% { transform: rotate(-10deg) translate(-2px, -3px); }
}
@keyframes hv-fade { to { opacity: 0; } }

/* ── gremlins ─────────────────────────────────────── */
.cast-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.cast-head .sec-head { margin-bottom: 0; }
.switch {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--card); border: 2px solid var(--ink); border-radius: 999px;
  padding: 6px 18px 6px 6px; font: 600 1rem/1.2 var(--display); color: var(--ink); cursor: pointer;
}
.switch-track { width: 52px; height: 30px; border-radius: 999px; background: var(--paper-2); border: 2px solid var(--ink); position: relative; flex: none; transition: background-color .2s ease; }
.switch-track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--ink); transition: transform .2s ease; }
.switch[aria-pressed="true"] .switch-track { background: var(--mint); }
.switch[aria-pressed="true"] .switch-track::after { transform: translateX(22px); }
.switch:hover { background: #fff; }
@media (prefers-reduced-motion: reduce) { .switch-track, .switch-track::after { transition: none; } }

.cast { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .cast { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .cast { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.gremlin {
  display: grid; grid-template-columns: 104px 1fr; gap: 16px; align-items: start;
  background: var(--card); border-radius: var(--radius-lg); padding: 20px 22px 22px 16px;
  border: 1px solid var(--line);
}
@media (min-width: 1000px) { .gremlin { grid-template-columns: 1fr; padding: 24px 26px 28px; } }
.gremlin-art { position: relative; width: 104px; height: 104px; }
@media (min-width: 1000px) { .gremlin-art { width: 128px; height: 128px; margin: -4px 0 4px -10px; } }
.gremlin-art img { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity .35s ease, transform .35s ease; }
.gremlin-art .g-after { opacity: 0; transform: scale(.92); }
.cast.is-after .g-before { opacity: 0; transform: scale(.92); }
.cast.is-after .g-after { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .gremlin-art img { transition: none; } }
.gremlin h3 { font-size: 1.5rem; margin-bottom: 2px; }
.gremlin .job { font-size: 0.875rem; font-weight: 600; color: var(--mint-text); margin: 0 0 8px; }
.gremlin .what { margin: 0; color: var(--slate); font-size: 0.9375rem; line-height: 1.55; }
.gremlin .after-line { display: none; }
.cast.is-after .before-line { display: none; }
.cast.is-after .after-line { display: block; }

/* ── checkup ─────────────────────────────────────── */
.checkup-grid { display: grid; gap: 40px; align-items: start; }
@media (min-width: 1000px) { .checkup-grid { grid-template-columns: 0.8fr 1.2fr; gap: 64px; } }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: 28px; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 48px 1fr; gap: 16px; }
.steps li::before {
  content: counter(step); display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 50%; background: var(--ink); color: var(--mint);
  font: 600 1.375rem/1 var(--display);
}
.steps h3 { font-size: 1.375rem; margin: 6px 0 6px; }
.steps p { margin: 0; color: var(--slate); }

.shot { margin: 0; }
.shot-frame {
  border-radius: 14px; overflow: hidden; background: var(--ink);
  border: 1px solid #1d2129;
  box-shadow: 0 1px 0 rgb(11 13 18 / .05), 0 24px 48px -24px rgb(11 13 18 / .45);
}
.shot img { width: 100%; height: auto; }
.shot figcaption { display: flex; justify-content: space-between; gap: 12px; font-size: 0.875rem; color: var(--stone); margin-top: 12px; }
.shot figcaption span:last-child { white-space: nowrap; }
.band-ink .shot figcaption { color: var(--night-dim); }

/* ── features ─────────────────────────────────────── */
.feature-groups { display: grid; gap: 48px 64px; }
@media (min-width: 860px) { .feature-groups { grid-template-columns: 1fr 1fr; } }
.fgroup h3 { font-size: 1.75rem; padding-bottom: 14px; border-bottom: 2px solid var(--ink); margin-bottom: 4px; display: flex; align-items: center; gap: 12px; }
.fgroup h3 img { width: 44px; height: 44px; margin: -6px 0; }
.flist { list-style: none; margin: 0; padding: 0; }
.flist li { padding: 16px 0; border-bottom: 1px solid var(--line); }
.flist strong { display: block; font-weight: 600; margin-bottom: 2px; }
.flist span { color: var(--slate); font-size: 0.9375rem; }
.tour { display: grid; gap: 32px; margin-top: 72px; }
@media (min-width: 860px) { .tour { grid-template-columns: 1fr 1fr; } }

/* ── promises ─────────────────────────────────────── */
.promise-grid { display: grid; gap: 40px; }
@media (min-width: 960px) { .promise-grid { grid-template-columns: 0.75fr 1.25fr; gap: 72px; align-items: start; } }
.promise-intro { position: relative; }
.promise-intro h2 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.25rem); color: var(--paper); margin-bottom: 16px; }
.promise-intro p { color: var(--night-dim); max-width: 26rem; }
.promise-intro img { width: 168px; height: auto; margin-top: 24px; }
@media (min-width: 960px) { .promise-intro { position: sticky; top: 120px; } .promise-intro img { width: 220px; } }
.promises { list-style: none; margin: 0; padding: 0; }
.promises li { display: grid; grid-template-columns: 36px 1fr; gap: 16px; padding: 22px 0; border-top: 1px solid var(--ink-3); }
.promises li:last-child { border-bottom: 1px solid var(--ink-3); }
.promises .x { width: 32px; height: 32px; margin-top: 2px; border-radius: 50%; display: grid; place-items: center; background: var(--ink-3); color: var(--mint); }
.promises .x svg { width: 16px; height: 16px; }
.promises h3 { font-size: 1.375rem; color: var(--paper); margin-bottom: 4px; }
.promises p { margin: 0; color: var(--night-dim); font-size: 0.9375rem; }

/* ── languages ─────────────────────────────────────── */
.langs { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 12px; }
.langs li {
  font-family: var(--display); font-weight: 500; font-size: clamp(1.25rem, 1rem + 1.2vw, 1.875rem);
  padding: 8px 20px 10px; border-radius: var(--bubble); background: var(--card); border: 2px solid var(--ink); line-height: 1.2;
}
.langs li:nth-child(3n+2) { background: var(--mint-tint); }
.langs li:nth-child(4n+3) { border-radius: 22px 22px 6px 22px; }

/* ── download ─────────────────────────────────────── */
.dl-panel { background: var(--card); border: 2px solid var(--ink); border-radius: var(--radius-lg); overflow: hidden; }
.dl-top { display: grid; gap: 32px; padding: 28px 20px; }
@media (min-width: 720px) { .dl-top { padding: 40px; } }
@media (min-width: 1000px) { .dl-top { grid-template-columns: 1fr 1fr; gap: 56px; padding: 48px 56px; } }
.dl-top h2 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.25rem); margin-bottom: 16px; }
.dl-top .lede { color: var(--slate); margin-bottom: 24px; max-width: 32rem; }
.dl-facts { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 0 20px; align-self: start; }
.dl-facts dt, .dl-facts dd { padding: 12px 0; border-bottom: 1px solid var(--line); margin: 0; }
.dl-facts dt { color: var(--stone); font-size: 0.9375rem; }
.dl-facts dd { font-weight: 500; min-width: 0; }
.dl-facts dt:first-of-type, .dl-facts dd:first-of-type { padding-top: 0; }
.hash-row { grid-column: 1 / -1; padding-top: 16px; }
.hash-row .label { color: var(--stone); font-size: 0.9375rem; display: block; margin-bottom: 8px; }
.hash { display: flex; gap: 8px; align-items: stretch; }
.hash code {
  flex: 1; min-width: 0; font-family: var(--mono); font-size: 0.8125rem; line-height: 1.5;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 10px 12px; overflow-wrap: anywhere; word-break: break-all;
}
.copy-btn {
  flex: none; border: 1px solid var(--ink); background: var(--card); color: var(--ink); border-radius: var(--radius-sm);
  font: 600 0.875rem/1 var(--body); padding: 0 14px; cursor: pointer;
}
.copy-btn:hover { background: var(--mint-tint); }
.copy-btn[hidden] { display: none; }
.verify { font-size: 0.875rem; color: var(--slate); margin: 10px 0 0; }
.verify code { font-family: var(--mono); font-size: 0.8125rem; background: var(--paper); border-radius: 6px; padding: 2px 6px; overflow-wrap: anywhere; }

.dl-bottom { display: grid; gap: 0; border-top: 2px solid var(--ink); }
@media (min-width: 1000px) { .dl-bottom { grid-template-columns: 1fr 1fr; } }
.dl-block { padding: 28px 20px; }
@media (min-width: 720px) { .dl-block { padding: 36px 40px; } }
@media (min-width: 1000px) { .dl-block { padding: 40px 56px; } .dl-block + .dl-block { border-left: 1px solid var(--line); } }
@media (max-width: 999px) { .dl-block + .dl-block { border-top: 1px solid var(--line); } }
.dl-block h3 { font-size: 1.5rem; margin-bottom: 12px; }
.dl-block > p { color: var(--slate); }
.install { margin: 0 0 24px; padding: 0; list-style: none; counter-reset: ins; }
.install li { counter-increment: ins; position: relative; padding: 0 0 14px 40px; }
.install li::before {
  content: counter(ins); position: absolute; left: 0; top: 0;
  width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--ink);
  display: grid; place-items: center; font: 600 0.9375rem/1 var(--display);
}
.ui-word { font-weight: 600; background: var(--paper-2); border-radius: 6px; padding: 1px 6px; white-space: nowrap; }

/* schematic of the warning, not a copy of it */
.warn-sketch { border: 1px dashed var(--stone); border-radius: var(--radius); padding: 16px 18px; margin: 0 0 24px; font-size: 0.875rem; color: var(--slate); }
.warn-sketch strong { display: block; font-size: 1rem; color: var(--ink); margin-bottom: 4px; }
.warn-sketch .fake-links { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.warn-sketch .fake-links span { border: 1px solid var(--stone); border-radius: 6px; padding: 3px 10px; }
.warn-sketch .fake-links .hl { border-color: var(--ink); background: var(--mint-tint); color: var(--ink); font-weight: 600; }

.note-sac { background: #FFE9E5; border-left: 4px solid var(--coral); border-radius: 0 var(--radius) var(--radius) 0; padding: 16px 18px; margin: 0; }
.note-sac strong { display: block; margin-bottom: 4px; }
.note-sac p { margin: 0; font-size: 0.9375rem; color: var(--slate); }
.beta-note { display: flex; gap: 16px; align-items: flex-start; }
.beta-note img { width: 72px; height: auto; flex: none; margin-top: -6px; }

/* ── faq ─────────────────────────────────────── */
.faq-grid { display: grid; gap: 32px; }
@media (min-width: 960px) { .faq-grid { grid-template-columns: 0.7fr 1.3fr; gap: 72px; } }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center;
  padding: 20px 0; font-family: var(--display); font-weight: 600; font-size: 1.25rem; line-height: 1.25;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--ink);
  background: linear-gradient(var(--ink), var(--ink)) center / 12px 2px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 2px 12px no-repeat;
}
.faq details[open] summary::after { background: linear-gradient(var(--ink), var(--ink)) center / 12px 2px no-repeat; background-color: var(--mint); }
.faq summary:hover { color: var(--mint-text); }
.faq .answer { padding: 0 0 24px; color: var(--slate); max-width: 40rem; }
.faq .answer p:last-child { margin-bottom: 0; }

/* ── footer ─────────────────────────────────────── */
.site-foot { background: var(--ink); color: var(--night-dim); padding: 56px 0 40px; font-size: 0.9375rem; }
.foot-grid { display: grid; gap: 32px; }
@media (min-width: 860px) { .foot-grid { grid-template-columns: 1.2fr 1fr; align-items: start; } }
.site-foot .brand { color: var(--paper); }
.foot-tag { margin: 12px 0 0; max-width: 28rem; }
.foot-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; }
@media (min-width: 860px) { .foot-links { justify-content: flex-end; } }
.foot-links a { color: var(--paper); text-decoration: none; }
.foot-links a:hover { text-decoration: underline; text-decoration-color: var(--mint); }
.foot-legal { border-top: 1px solid var(--ink-3); margin-top: 40px; padding-top: 24px; font-size: 0.8125rem; display: grid; gap: 6px; }
.foot-legal p { margin: 0; }

/* ── legal pages ─────────────────────────────────────── */
.legal-hero { padding: 48px 0 32px; border-bottom: 1px solid var(--line); }
@media (min-width: 960px) { .legal-hero { padding: 72px 0 40px; } }
.legal-hero h1 { font-size: clamp(2.25rem, 1.6rem + 3vw, 3.75rem); margin-bottom: 12px; }
.legal-hero p { margin: 0; color: var(--stone); }
.legal-layout { display: grid; gap: 32px; padding-top: 40px; padding-bottom: 96px; }
@media (min-width: 1000px) { .legal-layout { grid-template-columns: 240px minmax(0, 72ch); gap: 72px; justify-content: start; } }
.toc { font-size: 0.875rem; }
.toc[hidden] { display: none; }
.toc h2 { font-size: 1rem; margin-bottom: 10px; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.toc a { display: block; padding: 6px 0 6px 14px; margin-left: -2px; border-left: 2px solid transparent; color: var(--slate); text-decoration: none; line-height: 1.35; }
.toc a:hover { color: var(--ink); }
.toc a[aria-current="true"] { border-left-color: var(--mint-deep); color: var(--ink); font-weight: 600; }
@media (min-width: 1000px) { .toc { position: sticky; top: 96px; align-self: start; max-height: calc(100vh - 120px); overflow-y: auto; } }
@media (max-width: 999px) {
  .toc { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
  .toc ol { border-left: 0; }
  .toc a { padding-left: 0; border-left: 0; }
}

.legal { max-width: 72ch; min-width: 0; font-size: 1rem; line-height: 1.7; }
.legal > :first-child { margin-top: 0; }
.legal h2 { font-size: 1.75rem; margin: 2.2em 0 0.6em; scroll-margin-top: 96px; }
.legal h3 { font-size: 1.25rem; margin: 1.8em 0 0.5em; }
.legal p, .legal ul, .legal ol { margin: 0 0 1.1em; }
.legal ul, .legal ol { padding-left: 1.4em; }
.legal li { margin-bottom: 0.4em; }
.legal li::marker { color: var(--mint-text); }
.legal a { color: var(--mint-text); }
.legal strong { font-weight: 600; }
.legal code { font-family: var(--mono); font-size: 0.875em; background: var(--paper-2); border-radius: 4px; padding: 1px 5px; }
.legal table { width: 100%; border-collapse: collapse; margin: 0 0 1.5em; font-size: 0.9375rem; display: block; overflow-x: auto; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 14px 10px 0; border-bottom: 1px solid var(--line); }
.legal th { font-weight: 600; border-bottom: 2px solid var(--ink); white-space: nowrap; }
.legal aside.note { background: var(--mint-tint); border-radius: var(--radius); padding: 16px 20px; margin: 0 0 1.5em; font-size: 0.9375rem; }
.legal aside.note > :last-child { margin-bottom: 0; }
.legal pre { font-family: var(--mono); font-size: 0.8125rem; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px; margin: 0 0 1.5em; }

/* ── 404 ─────────────────────────────────────── */
.oops { min-height: calc(100vh - 68px - 220px); display: grid; place-items: center; text-align: center; padding: 64px 0 96px; }
.oops img { width: 200px; height: auto; margin: 0 auto 8px; }
.oops h1 { font-size: clamp(2.25rem, 1.6rem + 3vw, 3.5rem); margin-bottom: 12px; }
.oops p { color: var(--slate); max-width: 30rem; margin: 0 auto 28px; }
.dl-side { min-width: 0; }
.dl-block h3.mt { margin-top: 32px; }

/* ── Waitlist ─────────────────────────────────────────────── */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.waitlist { margin: 28px 0 10px; max-width: 560px; }
.wl-row { display: flex; gap: 10px; flex-wrap: wrap; }
.wl-row input[type=email] {
  flex: 1 1 240px; min-width: 0; font: inherit; font-size: 1.05rem; padding: 14px 18px;
  border: 2px solid var(--ink); border-radius: 999px; background: #fff; color: var(--ink);
  box-shadow: 0 2px 0 var(--ink);
}
.wl-row input[type=email]::placeholder { color: #8a8f99; }
.wl-row input[type=email]:focus { outline: none; border-color: var(--mint-text); box-shadow: 0 0 0 4px var(--mint-tint), 0 2px 0 var(--ink); }
.wl-row .btn { flex: 0 0 auto; }
.wl-consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 12px; font-size: .88rem; line-height: 1.45; color: #4b505a; }
.wl-consent input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--mint-text); flex: none; }
.wl-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.wl-msg { min-height: 1.4em; margin: 10px 0 0; font-weight: 600; font-size: .95rem; }
.wl-msg.is-ok { color: var(--mint-text); }
.wl-msg.is-err { color: #B2382B; }
.waitlist.is-done .wl-row, .waitlist.is-done .wl-consent { display: none; }
.waitlist.is-done .wl-msg { font-size: 1.1rem; padding: 14px 18px; border-radius: 16px; background: var(--mint-tint); border: 2px solid var(--ink); }
.waitlist.is-busy button { opacity: .6; pointer-events: none; }
.band-ink .wl-consent { color: #c9ccd3; }

/* ── Film ─────────────────────────────────────────────────── */
.film { overflow: hidden; }
.film-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px; align-items: center; }
.film-copy .lede { color: #c9ccd3; margin: 12px 0 24px; }
.film-frame { margin: 0; border-radius: 28px; overflow: hidden; border: 3px solid var(--mint); box-shadow: 0 24px 60px rgba(0,0,0,.45); background: var(--paper); transform: rotate(-1.2deg); }
.film-video { display: block; width: 100%; height: auto; }
@media (max-width: 860px) { .film-grid { grid-template-columns: 1fr; } .film-frame { transform: none; } }

/* ── Join panel ───────────────────────────────────────────── */
.join-top { display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: start; padding: 28px 20px; }
@media (min-width: 720px) { .join-top { padding: 40px; } }
@media (min-width: 1000px) { .join-top { padding: 48px 56px; gap: 56px; } }
.join-top h2 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.25rem); margin-bottom: 12px; }
.join-top .lede { color: var(--slate); max-width: 34rem; }
.join-top .dl-facts { max-width: 560px; }
.join-art { position: relative; width: 220px; height: 212px; }
.join-art img { position: absolute; inset: 0; transition: opacity .4s ease, transform .4s ease; }
.join-art .join-thanks { opacity: 0; transform: scale(.9); }
.join-panel.is-joined .join-hello { opacity: 0; }
.join-panel.is-joined .join-thanks { opacity: 1; transform: scale(1); animation: join-hop 1s cubic-bezier(.3,1.6,.5,1) 2; }
@keyframes join-hop { 0%,100% { translate: 0 0; } 40% { translate: 0 -16px; } }
.join-hello { animation: join-bob 3.6s ease-in-out infinite; }
@keyframes join-bob { 0%,100% { translate: 0 0; } 50% { translate: 0 -6px; } }
.join-steps { margin: 18px 0 0; padding-left: 1.3em; display: grid; gap: 6px; }
.join-facts { margin-top: 22px; }
.join-before { margin: 0; padding: 18px 20px; border-top: 2px solid var(--ink); background: var(--paper-2); font-size: 1.05rem; }
@media (min-width: 720px) { .join-before { padding: 18px 56px; } }
.join-before + .dl-bottom { border-top: 0; }
@media (max-width: 760px) { .join-top { grid-template-columns: 1fr; } .join-art { margin: 0 auto; } }
@media (prefers-reduced-motion: reduce) { .join-hello, .join-panel.is-joined .join-thanks { animation: none; } .film-frame { transform: none; } }

/* ── Mobile menu (no JS needed) ───────────────────────────── */
.mnav { position: relative; }
.mnav summary { list-style: none; cursor: pointer; width: 44px; height: 44px; border: 2px solid var(--ink); border-radius: 14px; display: grid; place-content: center; gap: 4px; background: var(--paper); }
.mnav summary::-webkit-details-marker { display: none; }
.mnav summary span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.mnav[open] summary span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.mnav[open] summary span:nth-child(2) { opacity: 0; }
.mnav[open] summary span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.mnav-panel { position: absolute; right: 0; top: calc(100% + 10px); width: min(260px, calc(100vw - 32px)); background: var(--paper); border: 2px solid var(--ink); border-radius: 18px; padding: 8px; box-shadow: 0 6px 0 var(--ink); display: grid; z-index: 60; }
.mnav-panel a { padding: 11px 14px; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 600; }
.mnav-panel a:hover, .mnav-panel a:focus-visible { background: var(--mint-tint); }
.mnav-panel hr { border: 0; border-top: 1px solid #d7d3c9; margin: 6px 8px; }
@media (min-width: 860px) { .mnav { display: none; } }

/* Legal pages: a little Hurvis in the header */
.legal-hero .wrap { position: relative; }
.legal-hero-art { position: absolute; right: var(--gutter, 16px); bottom: -8px; width: 150px; height: auto; animation: join-bob 3.6s ease-in-out infinite; }
@media (max-width: 720px) { .legal-hero-art { width: 84px; bottom: 0; } }
@media (prefers-reduced-motion: reduce) { .legal-hero-art { animation: none; } }
