/* CARAPACE site, the "Signal" design.
   Deep ink, one vivid teal block, a voice waveform as the only ornament.
   System fonts only; nothing is loaded from another host (see _headers). */

:root {
  --ink: #05080c;
  --ink-2: #091017;
  --ink-3: #0f1820;
  --ink-4: #16212b;
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .16);
  --fg: #f2f7f8;
  --fg-2: #aebdc6;
  --fg-3: #8394a0;
  --signal: #18dccd;
  --signal-2: #6ff3e7;
  --signal-deep: #0b9e94;
  --on-signal: #021d1b;
  --on-signal-2: #08403b;
  --amber: #ffc56e;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --gutter: 16px;
  --max: 1200px;
  color-scheme: dark;
}
@media (min-width: 700px) { :root { --gutter: 32px; } }
@media (min-width: 1100px) { :root { --gutter: 40px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; background: var(--ink); }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  background: var(--ink); color: var(--fg);
  font-family: var(--sans); font-size: 17px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  padding-left: env(safe-area-inset-left); padding-right: env(safe-area-inset-right);
}
@media (min-width: 700px) { body { font-size: 18px; } }
main { flex: 1 0 auto; overflow-x: hidden; overflow-x: clip; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
a, button, summary { -webkit-tap-highlight-color: rgba(24, 220, 205, .2); touch-action: manipulation; }
h1, h2, h3, p, ol, ul, figure, dl, dd { margin: 0; padding: 0; }
ol, ul { list-style: none; }
h1, h2, h3 { text-wrap: balance; font-weight: 800; }
p, li, dd { text-wrap: pretty; }
code { font-family: var(--mono); }
::selection { background: rgba(24, 220, 205, .35); color: #fff; }
:focus-visible { outline: 3px solid var(--signal-2); outline-offset: 3px; border-radius: 6px; }
[id] { scroll-margin-top: 84px; }
@media (min-width: 900px) { [id] { scroll-margin-top: 96px; } }

.nw { white-space: nowrap; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip {
  position: absolute; left: 12px; top: -80px; z-index: 100;
  background: var(--signal); color: var(--on-signal);
  padding: 10px 16px; border-radius: 10px; font-weight: 700; text-decoration: none;
}
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: calc(820px + 2 * var(--gutter)); }

/* ── buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font: inherit; font-size: 1rem; font-weight: 700; letter-spacing: -.005em; line-height: 1.2;
  text-decoration: none; cursor: pointer; border: 1.5px solid transparent; text-align: center;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}
.btn svg { flex: none; }
.btn:active { transform: translateY(1px); }
.btn-signal { background: var(--signal); color: var(--on-signal); }
.btn-signal:hover { background: var(--signal-2); }
.btn-ghost { border-color: var(--line-2); color: var(--fg); background: rgba(255, 255, 255, .03); }
.btn-ghost:hover { border-color: var(--signal); color: var(--signal-2); }
.btn-ink { background: var(--on-signal); color: #fff; }
.btn-ink:hover { background: #000; }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 1.06rem; }
.btn-sm { min-height: 44px; padding: 0 16px; font-size: .9rem; }

/* ── tags ────────────────────────────────────────────────── */
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  line-height: 1; padding: 6px 9px 5px; border-radius: 999px; vertical-align: middle; white-space: nowrap;
}
.tag-pro { background: var(--signal); color: var(--on-signal); }
.tag-free { border: 1px solid var(--line-2); color: var(--fg-2); }
.tag-beta { border: 1px solid rgba(255, 197, 110, .55); color: var(--amber); }

/* ── eyebrow with a four-bar wave glyph ─────────────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--signal-2);
}
.eyebrow::before {
  content: ""; flex: none; width: 18px; height: 14px;
  background:
    linear-gradient(currentColor, currentColor) 0 50% / 3px 6px,
    linear-gradient(currentColor, currentColor) 5px 50% / 3px 14px,
    linear-gradient(currentColor, currentColor) 10px 50% / 3px 9px,
    linear-gradient(currentColor, currentColor) 15px 50% / 3px 12px;
  background-repeat: no-repeat;
}
.eyebrow.live::before {
  width: 9px; height: 9px; border-radius: 50%; background: var(--signal);
  box-shadow: 0 0 0 0 rgba(24, 220, 205, .6); animation: ping 1.6s ease-out 3;
}
@keyframes ping { to { box-shadow: 0 0 0 12px rgba(24, 220, 205, 0); } }

/* ── nav ─────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(5, 8, 12, .82);
  -webkit-backdrop-filter: saturate(140%) blur(18px); backdrop-filter: saturate(140%) blur(18px);
  border-bottom: 1px solid var(--line);
}
.nav-in { display: flex; align-items: center; gap: 10px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; min-height: 44px; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.brand span { font-weight: 800; font-size: .95rem; letter-spacing: .2em; }
.nav-links { display: none; }
.nav-links a { color: var(--fg-2); text-decoration: none; font-size: .95rem; font-weight: 500; padding: 10px 2px; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--fg); }
.nav-links a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--signal); }
.menu-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; margin-right: -8px; padding: 0;
  background: none; border: 0; color: var(--fg); cursor: pointer; border-radius: 12px;
}
.menu-btn svg { width: 22px; height: 22px; }
.menu-btn .x, .nav.open .menu-btn .bars { display: none; }
.nav.open .menu-btn .x { display: block; }
@media (max-width: 379px) {
  .brand { gap: 8px; }
  .brand span { font-size: .82rem; letter-spacing: .14em; }
  .nav-cta.btn-sm { padding: 0 13px; font-size: .84rem; }
}
@media (max-width: 899px) {
  .nav.open .nav-links {
    display: flex; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0;
    background: var(--ink-2); border-bottom: 1px solid var(--line-2); padding: 6px var(--gutter) 16px;
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .9);
  }
  .nav.open .nav-links a { font-size: 1.15rem; padding: 13px 0; border-bottom: 1px solid var(--line); color: var(--fg); }
  .nav.open .nav-links a:last-child { border-bottom: 0; }
  .nav.open .nav-links a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--signal); padding-left: 12px; }
}
@media (min-width: 900px) {
  .nav-in { gap: 28px; height: 72px; }
  .nav-links { display: flex; gap: 24px; }
  .menu-btn { display: none; }
}

/* ── the waveform (bars are added by site.js) ───────────── */
.wave { display: flex; align-items: center; justify-content: center; gap: 5px; height: 100%; overflow: hidden; pointer-events: none; }
.wave i {
  flex: none; width: 4px; height: calc(var(--h) * 100%); border-radius: 4px;
  background: linear-gradient(180deg, var(--signal-2), var(--signal-deep));
  animation: talk 1.2s cubic-bezier(.45, 0, .55, 1) var(--d, 0s) 4 alternate;
}
@keyframes talk { from { transform: scaleY(1); } to { transform: scaleY(.3); } }
.fade-x { -webkit-mask-image: linear-gradient(90deg, transparent, #000 22%, #000 78%, transparent); mask-image: linear-gradient(90deg, transparent, #000 22%, #000 78%, transparent); }

/* ── hero ────────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; padding: 36px 0 0; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto; height: 900px; z-index: -2; pointer-events: none;
  background:
    radial-gradient(42% 46% at 78% 44%, rgba(24, 220, 205, .20), transparent 70%),
    radial-gradient(30% 30% at 12% 6%, rgba(24, 220, 205, .07), transparent 70%);
}
.hero-grid { display: grid; gap: 40px; position: relative; z-index: 1; }
.hero .eyebrow { margin-bottom: 22px; }
h1 { font-size: clamp(3.2rem, 14.6vw, 9rem); line-height: .9; letter-spacing: -.045em; }
h1 em, h2 em, h3 em { font-style: normal; color: var(--signal); }
.lede { margin-top: 24px; font-size: 1.12rem; line-height: 1.5; color: var(--fg-2); max-width: 30em; }
.lede strong { color: var(--fg); font-weight: 600; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-media { position: relative; display: grid; justify-items: center; padding-bottom: 28px; }
.hero-media figcaption { margin-top: 18px; font-size: .82rem; color: var(--fg-3); text-align: center; position: relative; z-index: 1; }
.hero-wave { position: absolute; left: calc(-1 * var(--gutter)); right: calc(-1 * var(--gutter)); top: 44%; height: 200px; transform: translateY(-50%); z-index: 0; opacity: .6; }
@media (max-width: 699px) {
  .cta .btn { width: 100%; }
  .hero-media .phone { width: 236px; }
}
@media (min-width: 700px) {
  .hero { padding-top: 64px; }
  .lede { font-size: 1.32rem; }
}
@media (min-width: 1000px) {
  .hero { padding-top: 40px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) 340px; align-items: center; gap: 56px; }
  .hero-media { padding-bottom: 32px; }
  .hero-media .phone { width: 300px; }
  .hero-wave { left: -72%; right: -40%; height: 250px; }
  .hero-wave .wave { -webkit-mask-image: linear-gradient(90deg, transparent, #000 34%, #000 86%, transparent); mask-image: linear-gradient(90deg, transparent, #000 34%, #000 86%, transparent); }
}

/* ── phone frame over a real capture ────────────────────── */
.phone { position: relative; width: 270px; aspect-ratio: 640 / 1306; margin: 0 auto; z-index: 1; }
.phone::before {
  content: ""; position: absolute; inset: 1.6% 2%; border-radius: 17% / 8.4%; z-index: -1;
  box-shadow: 0 50px 90px -30px rgba(0, 0, 0, .95), 0 30px 80px -20px rgba(24, 220, 205, .22);
}
.phone .screen {
  position: absolute; left: 5.1%; top: 2.2%; width: 89.8%; height: 95.6%;
  object-fit: cover; object-position: 50% 0; border-radius: 14.4% / 6.63%; background: #000;
}
.phone .frame { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2; }
.slice {
  position: relative; width: 300px; margin: 0 auto; border-radius: 30px; overflow: hidden; background: #000;
  border: 1px solid var(--line-2);
  box-shadow: 0 0 0 7px rgba(255, 255, 255, .035), 0 50px 90px -30px rgba(0, 0, 0, .95), 0 30px 80px -20px rgba(24, 220, 205, .2);
}
.slice .screen { display: block; width: 100%; height: auto; }
.slice video.screen { position: absolute; inset: 0; height: 100%; object-fit: cover; }
/* pause and play for a running clip (added by site.js) */
.vt {
  position: absolute; right: 12px; bottom: 12px; z-index: 3;
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; padding: 0;
  background: rgba(5, 8, 12, .72); color: #fff; border: 1px solid var(--line-2); cursor: pointer;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.vt:hover { border-color: var(--signal); }
.phone .vt { right: 9%; bottom: 4%; }
.vt svg { width: 14px; height: 14px; }

/* ── works with ──────────────────────────────────────────── */
.works { background: var(--ink-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 34px 0 36px; position: relative; z-index: 1; }
.works-in { display: grid; gap: 20px; }
.works-h { font-family: var(--mono); font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--fg-3); }
.agents { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.agents li { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 1.05rem; letter-spacing: -.01em; min-width: 0; }
.agents .mk { flex: none; width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--ink-4); border: 1px solid var(--line); }
.agents .mk img { width: 24px; height: 24px; }
.agents .mk.oc { background: none; border: 0; }
.agents .mk.oc img { width: 46px; height: 46px; }
.agents small { display: block; font-family: var(--mono); font-size: .66rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-3); margin-top: 1px; }
.works-note { color: var(--fg-2); font-size: .95rem; max-width: 46em; }
@media (max-width: 359px) { .agents { grid-template-columns: 1fr; } }
@media (min-width: 900px) {
  .works { padding: 40px 0; }
  .works-in { grid-template-columns: 150px 1fr; align-items: center; gap: 18px 40px; }
  .works-note { grid-column: 2; }
  .agents { grid-template-columns: repeat(4, auto); justify-content: start; gap: 18px 48px; }
  .agents li { font-size: 1.15rem; }
}

/* ── section rhythm ──────────────────────────────────────── */
.sec { padding: 88px 0; position: relative; }
@media (min-width: 900px) { .sec { padding: 140px 0; } }
.sec-head { max-width: 900px; margin-bottom: 52px; }
@media (min-width: 900px) { .sec-head { margin-bottom: 80px; } }
.sec-head .eyebrow { margin-bottom: 20px; }
h2 { font-size: clamp(2.5rem, 9.6vw, 5.5rem); line-height: .94; letter-spacing: -.045em; }
.sec-sub { margin-top: 22px; font-size: 1.12rem; color: var(--fg-2); max-width: 30em; }
@media (min-width: 700px) { .sec-sub { font-size: 1.25rem; } }

/* ── setup: the one teal block ──────────────────────────── */
.setup { background: var(--signal); color: var(--on-signal); position: relative; overflow: hidden; isolation: isolate; }
.setup::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 80% at 100% 0%, rgba(255, 255, 255, .28), transparent 60%),
    repeating-linear-gradient(90deg, rgba(2, 29, 27, .06) 0 2px, transparent 2px 14px);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 75%); mask-image: linear-gradient(180deg, #000, transparent 75%);
}
.setup :focus-visible { outline-color: var(--on-signal); }
.setup .eyebrow { color: var(--on-signal); }
.setup h2 { font-size: clamp(3rem, 13vw, 8.5rem); line-height: .9; }
.setup .sec-head { margin-bottom: 34px; }
.setup-side { margin-top: 26px; font-size: 1.18rem; font-weight: 600; color: var(--on-signal); max-width: 22em; display: flex; gap: 14px; align-items: center; }
.n::before { content: attr(data-n); }
.n {
  flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  border: 2px solid var(--on-signal); font-weight: 800; font-size: 1.2rem; letter-spacing: -.02em; line-height: 1;
}
@media (min-width: 900px) {
  .setup.sec { padding-bottom: 104px; }
  .setup .sec-head { margin-bottom: 44px; display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; max-width: none; }
  .setup-side { margin: 0 0 12px; font-size: 1.3rem; }
  .n { width: 56px; height: 56px; font-size: 1.4rem; }
}

.cmd {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 14px 20px;
  background: var(--on-signal); color: #eafffc; border-radius: 22px; padding: 18px 16px 18px 18px;
  box-shadow: 0 40px 70px -40px rgba(2, 29, 27, .9);
}
.cmd code {
  display: block; min-width: 0; font-weight: 600; letter-spacing: -.01em;
  font-size: clamp(.8rem, 3.9vw, 1.12rem); line-height: 1.5; color: #fff;
}
.cmd code::before { content: "$"; color: var(--signal); margin-right: .55em; }
.cmd code { overflow-x: auto; }
.cmd code span { display: inline-block; white-space: nowrap; }
.cmd code .pipe { color: var(--signal-2); }
.cmd :focus-visible { outline-color: var(--signal-2); }
.copy {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px;
  border-radius: 999px; border: 0; cursor: pointer; white-space: nowrap;
  background: var(--signal); color: var(--on-signal); font: inherit; font-size: .95rem; font-weight: 800;
  transition: background-color .18s ease;
}
.copy:hover { background: var(--signal-2); }
.copy svg { width: 16px; height: 16px; flex: none; }
.copy.done { background: #fff; }
@media (max-width: 539px) {
  .cmd { grid-template-columns: 1fr; }
  .cmd .copy { justify-self: start; }
}
@media (min-width: 700px) {
  .cmd { padding: 28px 28px 28px 34px; border-radius: 30px; }
  .cmd code { font-size: clamp(1.15rem, 2.3vw, 2rem); }
}

.steps { display: grid; gap: 26px; margin-top: 40px; }
.steps li { display: flex; gap: 16px; align-items: flex-start; }
.steps p { padding-top: 8px; font-size: 1.08rem; font-weight: 500; color: var(--on-signal-2); max-width: 26em; }
.steps a, .setup-foot a { color: var(--on-signal); font-weight: 700; }
.setup-foot { margin-top: 40px; margin-bottom: -16px; padding-top: 22px; border-top: 1.5px solid rgba(2, 29, 27, .2); font-size: 1rem; font-weight: 600; color: var(--on-signal-2); }
@media (min-width: 900px) {
  .steps { grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 52px; }
  .steps p { font-size: 1.22rem; padding-top: 12px; }
}

/* ── features ───────────────────────────────────────────── */
#features { overflow-x: clip; }
.feats { display: grid; }
.feat { display: grid; gap: 36px; padding: 60px 0; border-top: 1px solid var(--line); }
.feat:first-child { border-top: 0; padding-top: 0; }
.feat-n { display: flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: .8rem; font-weight: 600; letter-spacing: .14em; color: var(--signal-2); margin-bottom: 18px; }
.feat h3 { font-size: clamp(2.1rem, 8.8vw, 4.1rem); line-height: .96; letter-spacing: -.045em; }
.feat-copy p:not(.feat-n) { margin-top: 18px; font-size: 1.1rem; color: var(--fg-2); max-width: 26em; }
.feat-copy p.small { font-size: .95rem; color: var(--fg-3); margin-top: 12px; }
.feat-media { position: relative; display: grid; place-items: center; padding: 10px 0; isolation: isolate; }
.feat-media::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 640px; height: 640px; transform: translate(-50%, -50%); z-index: -1;
  background: repeating-radial-gradient(circle at 50% 50%, transparent 0 46px, rgba(24, 220, 205, .10) 46px 47.5px);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 18%, transparent 62%); mask-image: radial-gradient(circle at 50% 50%, #000 18%, transparent 62%);
  pointer-events: none;
}
.feat-media .phone { width: 236px; }
.feat-media .slice { width: min(280px, 100%); }
.voice-art {
  position: relative; width: min(300px, 100%); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 50% 50%, rgba(24, 220, 205, .16), transparent 62%);
}
.voice-art .wave { position: absolute; inset: 22% -30%; height: auto; }
.voice-art .mic {
  position: relative; z-index: 1; width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center;
  background: var(--signal); color: var(--on-signal); box-shadow: 0 0 0 14px rgba(24, 220, 205, .14), 0 0 0 30px rgba(24, 220, 205, .06), 0 30px 60px -20px rgba(24, 220, 205, .6);
}
.voice-art .mic svg { width: 40px; height: 40px; }
@media (min-width: 900px) {
  .feat { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 72px; padding: 80px 0; }
  .feat:last-child { padding-bottom: 0; }
  .feat.flip .feat-copy { order: 2; padding-left: 24px; }
  .feat-copy p:not(.feat-n) { font-size: 1.22rem; margin-top: 24px; }
  .feat-copy p.small { font-size: 1rem; }
  .feat-media .phone { width: 300px; }
  .feat-media .slice { width: 360px; }
  .feat-media::before { width: 820px; height: 820px; }
  .feat-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 0 72px; padding: 80px 0; border-top: 1px solid var(--line); }
  .feat-pair .feat, .feat-pair .feat:first-child { display: flex; flex-direction: column; align-items: stretch; gap: 56px; padding: 0; border-top: 0; }
  .feat-pair .feat-media { padding: 0; flex: 1; }
  .feat-pair .feat-media::before { width: 640px; height: 640px; }
  .feat-pair h3 { font-size: clamp(2.2rem, 3.6vw, 3.3rem); }
  .feat-pair .slice { width: 300px; }
  .voice-art { width: 340px; }
}
@media (max-width: 899px) { .feat-pair .feat:first-child { border-top: 1px solid var(--line); padding-top: 60px; } }

/* ── yours ──────────────────────────────────────────────── */
.band { background: var(--ink-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.own { display: grid; border-top: 1px solid var(--line-2); }
.own li { padding: 28px 0; border-bottom: 1px solid var(--line); display: grid; gap: 8px; }
.own h3 { font-size: 1.9rem; letter-spacing: -.04em; line-height: 1; }
.own p { color: var(--fg-2); max-width: 26em; }
@media (min-width: 900px) {
  .own { grid-template-columns: repeat(3, 1fr); border-top: 0; }
  .own li { padding: 0 40px 0 0; border-bottom: 0; gap: 16px; align-content: start; }
  .own li + li { padding-left: 40px; border-left: 1px solid var(--line-2); }
  .own h3 { font-size: 2.6rem; }
  .own p { font-size: 1.1rem; }
}

/* ── pricing ────────────────────────────────────────────── */
.plans { display: grid; gap: 18px; }
.plan { position: relative; border-radius: 28px; padding: 30px 22px; background: var(--ink-2); border: 1px solid var(--line-2); display: flex; flex-direction: column; min-width: 0; }
.plan-pro {
  background: linear-gradient(160deg, rgba(24, 220, 205, .16), rgba(24, 220, 205, .03) 55%), var(--ink-2);
  border: 1.5px solid var(--signal); box-shadow: 0 40px 100px -40px rgba(24, 220, 205, .4);
}
.plan-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.plan-name { font-size: 1.15rem; font-weight: 700; letter-spacing: -.01em; }
.price { margin-top: 22px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.price b { font-size: clamp(3.2rem, 13vw, 5rem); font-weight: 800; letter-spacing: -.05em; line-height: .9; }
.price span { color: var(--fg-2); font-size: 1.05rem; }
.price-alt { margin-top: 10px; color: var(--fg-2); font-size: 1rem; }
.price-alt strong { color: var(--fg); }
.plan ul { margin-top: 26px; display: grid; border-top: 1px solid var(--line); }
.plan li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.02rem; }
.plan li svg { width: 18px; height: 18px; margin-top: 4px; color: var(--signal); }
.plan li small { display: block; color: var(--fg-2); font-size: .92rem; margin-top: 2px; }
.plan .btn { margin-top: 26px; align-self: flex-start; }
.plan-sum { margin-top: 22px; color: var(--fg-2); font-size: 1.05rem; max-width: 26em; }
.card.hl { border: 1.5px solid var(--signal); background: linear-gradient(160deg, rgba(24, 220, 205, .14), transparent 60%), var(--ink-2); }
.fine { margin-top: 28px; color: var(--fg-3); font-size: .92rem; max-width: 52em; }
.fine + .fine { margin-top: 10px; }
.fine a { color: var(--fg-2); }
.more-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 18px; font-weight: 700; color: var(--signal-2); text-decoration: none; }
.more-link:hover { text-decoration: underline; }
@media (min-width: 900px) {
  .plans { grid-template-columns: 1fr 1fr; gap: 24px; }
  .plan { padding: 42px 40px 40px; border-radius: 34px; }
  .plan li { font-size: 1.08rem; }
}

/* ── faq (short answers) ────────────────────────────────── */
.faq { display: grid; border-top: 1px solid var(--line-2); }
.faq > div { padding: 26px 0 28px; border-bottom: 1px solid var(--line); }
.faq dt { font-size: 1.3rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.25; }
.faq dd { margin-top: 10px; color: var(--fg-2); max-width: 32em; }
.faq dd a { color: var(--fg); font-weight: 600; }
@media (min-width: 900px) {
  .faq { grid-template-columns: 1fr 1fr; column-gap: 72px; }
  .faq > div { padding: 34px 0 36px; }
  .faq dt { font-size: 1.45rem; }
}

/* ── closing ────────────────────────────────────────────── */
.close { text-align: center; overflow: hidden; isolation: isolate; padding-top: 24px; padding-bottom: 110px; }
.close-wave { height: 150px; margin: 0 0 36px; opacity: .7; }
@media (min-width: 900px) { .close { padding-top: 40px; padding-bottom: 150px; } .close-wave { height: 220px; margin-bottom: 44px; } }
.close h2 { font-size: clamp(3.2rem, 15vw, 10rem); }
.close .sec-sub { margin-left: auto; margin-right: auto; }
.close .cta { justify-content: center; margin-top: 40px; }

/* ── footer ─────────────────────────────────────────────── */
.foot { border-top: 1px solid var(--line); padding: 44px 0 52px; color: var(--fg-2); font-size: .95rem; }
.foot-in { display: grid; gap: 26px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 0 24px; }
.foot-links a { text-decoration: none; display: inline-flex; min-height: 44px; align-items: center; }
.foot-links a:hover { color: var(--fg); text-decoration: underline; }
.foot-legal { font-size: .82rem; color: var(--fg-3); max-width: 60em; }
@media (min-width: 900px) {
  .foot-in { grid-template-columns: auto 1fr; align-items: center; gap: 24px 56px; }
  .foot-links { justify-content: flex-end; }
  .foot-legal { grid-column: 1 / -1; }
}

/* ── inner pages: header ────────────────────────────────── */
.page-hero { padding: 48px 0 40px; position: relative; overflow: hidden; isolation: isolate; }
.page-hero::before {
  content: ""; position: absolute; inset: -40% -10% auto 30%; height: 700px; z-index: -1; pointer-events: none;
  background: radial-gradient(40% 50% at 60% 40%, rgba(24, 220, 205, .16), transparent 70%);
}
.page-hero .eyebrow { margin-bottom: 20px; }
.page-hero h1 { font-size: clamp(2.9rem, 12.5vw, 6.6rem); }
.page-hero .lede { max-width: 32em; }
@media (min-width: 900px) { .page-hero .lede { max-width: 26em; } }
.page-wave { display: none; }
@media (min-width: 900px) {
  .page-hero { padding: 88px 0 64px; }
  .page-hero .wrap { position: relative; }
  .page-wave { display: block; position: absolute; right: var(--gutter); top: 50%; width: 44%; height: 200px; transform: translateY(-50%); opacity: .6; z-index: -1; }
  .page-wave .wave { justify-content: flex-end; -webkit-mask-image: linear-gradient(90deg, transparent, #000 45%); mask-image: linear-gradient(90deg, transparent, #000 45%); }
}
.page-body { padding-bottom: 110px; }

/* ── help (/troubleshooting/) ───────────────────────────── */
.start {
  margin-top: 30px; background: var(--signal); color: var(--on-signal); border-radius: 28px; padding: 26px 20px 24px;
  font-size: 1.12rem; font-weight: 500; line-height: 1.55; position: relative; overflow: hidden; isolation: isolate;
}
.start::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(60% 90% at 100% 0%, rgba(255, 255, 255, .26), transparent 60%);
}
.start :focus-visible { outline-color: var(--on-signal); }
.start p { max-width: 40em; color: var(--on-signal-2); }
.start a { color: var(--on-signal); font-weight: 700; }
.start code {
  display: inline; padding: .18em .5em; border-radius: 8px; background: var(--on-signal); color: #fff; font-weight: 600; font-size: .92em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone; overflow-wrap: anywhere; line-height: 1.9;
}
.start .copy { margin-top: 18px; background: var(--on-signal); color: #fff; }
.start .copy:hover { background: #000; }
.start .copy.done { background: #fff; color: var(--on-signal); }
@media (max-width: 699px) { .start code { font-size: .8em; } }
@media (max-width: 379px) { .start code { font-size: .66em; padding: .18em .4em; } .eyebrow { letter-spacing: .1em; } }
@media (min-width: 700px) { .start { padding: 38px 40px 36px; font-size: 1.3rem; border-radius: 32px; } }

.help-layout { display: grid; gap: 34px; }
.toc { border-top: 1px solid var(--line-2); }
.toc-h { font-family: var(--mono); font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--fg-3); padding: 18px 0 10px; }
/* The contents are one closed row on phones (site.js opens them beside the page on wide screens). */
.toc-box > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 4px 0; color: var(--fg); }
.toc-box > summary::-webkit-details-marker { display: none; }
.toc-box > summary::after {
  content: ""; margin-left: auto; margin-right: 6px; width: 9px; height: 9px; border-right: 2px solid var(--signal-2); border-bottom: 2px solid var(--signal-2);
  transform: translateY(-3px) rotate(45deg); transition: transform .18s ease;
}
.toc-box[open] > summary::after { transform: translateY(2px) rotate(-135deg); }
.toc-box > summary:hover { color: var(--signal-2); }
.toc-n { font-size: .68rem; letter-spacing: .04em; color: var(--fg-3); border: 1px solid var(--line-2); border-radius: 999px; padding: 3px 8px 2px; }
.toc-box[open] > ol { padding-bottom: 16px; }
.toc ol { display: flex; flex-wrap: wrap; gap: 8px; }
.toc a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--line-2); background: var(--ink-2); color: var(--fg); text-decoration: none; font-size: .93rem; font-weight: 600;
}
.toc a:hover { border-color: var(--signal); color: var(--signal-2); }
@media (max-width: 999px) { .toc { border-bottom: 1px solid var(--line-2); } .toc ol { gap: 6px; } .toc a { padding: 0 12px; font-size: .87rem; } }
@media (min-width: 1000px) {
  .help-layout { grid-template-columns: 280px minmax(0, 1fr); gap: 64px; align-items: start; }
  .toc { position: sticky; top: 96px; max-height: calc(100vh - 120px); overflow-y: auto; }
  .toc ol { display: grid; gap: 0; }
  .toc a { border: 0; background: none; border-radius: 0; padding: 0; min-height: 40px; color: var(--fg-2); border-bottom: 1px solid var(--line); width: 100%; font-weight: 500; }
  .toc a:hover { color: var(--fg); }
  .toc-box > summary { min-height: 0; padding: 18px 0 10px; color: var(--fg-3); }
}
.issues { display: grid; gap: 14px; min-width: 0; }
.issue { background: var(--ink-2); border: 1px solid var(--line); border-radius: 24px; padding: 24px 18px 22px; min-width: 0; }
.issue h2 { font-size: clamp(1.6rem, 6.6vw, 2.4rem); line-height: 1.04; letter-spacing: -.035em; }
.issue p, .issue li { color: var(--fg-2); max-width: 38em; }
.issue p { margin-top: 12px; }
.issue p strong, .issue li strong { color: var(--fg); font-weight: 600; }
.issue a { color: var(--fg); font-weight: 600; }
.issue p code, .issue li code, .prose code {
  font-size: .86em; color: #e6fffb; background: rgba(255, 255, 255, .07); padding: .1em .4em; border-radius: 6px;
  overflow-wrap: anywhere; -webkit-box-decoration-break: slice; box-decoration-break: slice;
}
.issue .label { margin-top: 20px; font-family: var(--mono); font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--signal-2); }
.issue .label + p { margin-top: 6px; }
.issue .note { font-size: .93rem; color: var(--fg-3); }
.issue .note code { color: var(--fg-2); }
@media (min-width: 700px) { .issue { padding: 34px 36px 32px; border-radius: 28px; } }

.code {
  margin-top: 14px; display: flex; align-items: center; gap: 12px; justify-content: space-between;
  background: #03070a; border: 1px solid var(--line-2); border-radius: 16px; padding: 10px 10px 10px 16px; min-width: 0;
}
/* A copy line never wraps: it scrolls sideways inside its own box. */
.code code { display: block; flex: 1 1 auto; font-size: .9rem; line-height: 1.5; color: #e6fffb; min-width: 0; white-space: pre-wrap; overflow-wrap: normal; word-break: normal; overflow-x: auto; padding: 2px 0 4px; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
/* More of the line to the right: the edge fades (site.js sets .more while the line is not scrolled to its end). */
.code code.more { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 44px), rgba(0, 0, 0, .15)); mask-image: linear-gradient(90deg, #000 calc(100% - 44px), rgba(0, 0, 0, .15)); }
.code code::before { content: "$"; color: var(--signal); margin-right: .6em; }
.code.say code::before { content: "\201C"; margin-right: .15em; }
.code.say code::after { content: "\201D"; color: var(--signal); margin-left: .1em; }
.code .copy { flex: none; min-height: 44px; padding: 0 15px; font-size: .88rem; }
@media (max-width: 599px) {
  .code { flex-direction: column; align-items: stretch; gap: 8px; padding: 13px 12px 10px 14px; }
  .code code { font-size: .84rem; }
  .code .copy { align-self: flex-end; }
}
@media (min-width: 700px) { .code code { font-size: .92rem; } }

.contact { border-radius: 28px; padding: 30px 20px; border: 1.5px solid var(--signal); background: linear-gradient(160deg, rgba(24, 220, 205, .14), transparent 60%), var(--ink-2); }
.contact h2 { font-size: clamp(1.9rem, 7vw, 3rem); letter-spacing: -.04em; line-height: 1; }
.contact p { margin-top: 12px; color: var(--fg-2); max-width: 36em; }
.contact p a { color: var(--fg); font-weight: 600; }
.contact .btn { margin-top: 20px; max-width: 100%; white-space: normal; }
@media (min-width: 700px) { .contact { padding: 44px 40px; } }

/* ── support cards ──────────────────────────────────────── */
.cards { display: grid; gap: 14px; }
.card {
  display: block; text-decoration: none; background: var(--ink-2); border: 1px solid var(--line); border-radius: 24px; padding: 24px 20px;
  transition: border-color .18s ease;
}
a.card:hover { border-color: var(--signal); }
.card h2, .card h3 { overflow-wrap: anywhere; font-size: clamp(1.2rem, 5.4vw, 1.45rem); letter-spacing: -.025em; line-height: 1.15; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.card p { margin-top: 10px; color: var(--fg-2); }
.card .arrow { color: var(--signal); }
@media (min-width: 800px) { .cards.two { grid-template-columns: 1fr 1fr; } .card { padding: 32px 32px 30px; border-radius: 28px; } }
.block-h { font-size: clamp(1.9rem, 6vw, 2.8rem); letter-spacing: -.04em; line-height: 1; margin: 56px 0 20px; }
.prose-sm p { color: var(--fg-2); max-width: 40em; margin-top: 12px; }
.prose-sm a { color: var(--fg); font-weight: 600; }

/* ── pricing table ──────────────────────────────────────── */
.compare { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: 1rem; }
.compare caption { text-align: left; font-family: var(--mono); font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--fg-3); padding-bottom: 12px; }
.compare th, .compare td { text-align: left; padding: 15px 10px 15px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font-family: var(--mono); font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-3); border-bottom-color: var(--line-2); }
.compare tbody th { font-weight: 500; color: var(--fg); }
.compare td { white-space: nowrap; width: 1%; padding-right: 0; }

/* ── legal text ─────────────────────────────────────────── */
.prose { max-width: 46em; color: var(--fg-2); font-size: 1rem; line-height: 1.7; }
.prose h2 { font-size: clamp(1.5rem, 5vw, 2rem); letter-spacing: -.03em; line-height: 1.1; color: var(--fg); margin: 52px 0 14px; }
.prose p { margin: 0 0 14px; }
.prose ul { margin: 6px 0 18px; padding-left: 1.3em; list-style: disc; }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--signal); }
.prose a { color: var(--fg); font-weight: 600; text-decoration-color: var(--signal); }
.prose a:hover { color: var(--signal-2); }
.prose strong { color: var(--fg); }
.prose .callout { margin: 0 0 30px; padding: 22px 22px; border-radius: 22px; background: linear-gradient(160deg, rgba(24, 220, 205, .12), transparent 70%), var(--ink-2); border: 1px solid rgba(24, 220, 205, .35); color: var(--fg); }
.prose .allcaps { margin: 10px 0 18px; padding: 18px 20px; border-left: 3px solid var(--signal); background: var(--ink-2); border-radius: 0 16px 16px 0; font-size: .86rem; line-height: 1.65; color: var(--fg); overflow-wrap: anywhere; }
.legal-meta { margin-top: 14px; font-family: var(--mono); font-size: .82rem; letter-spacing: .06em; color: var(--fg-3); }
@media (min-width: 700px) { .prose { font-size: 1.05rem; } }

/* ── beta sign-up (form contract: beta/index.html + assets/beta.js) ── */
.beta-grid { display: grid; gap: 36px; padding-top: 44px; padding-bottom: 110px; }
.beta-grid h1 { font-size: clamp(3rem, 12vw, 6.4rem); margin-top: 22px; }
.benefits { border-top: 1px solid var(--line-2); }
.benefits li { padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--fg-2); }
.benefits strong { display: block; color: var(--fg); font-size: 1.12rem; margin-bottom: 2px; }
@media (min-width: 960px) {
  .beta-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 520px); grid-template-areas: "intro form" "more form"; gap: 40px 80px; align-items: start; padding-top: 88px; }
  .beta-intro { grid-area: intro; } .beta-more { grid-area: more; } .beta-grid > .beta-signup { grid-area: form; }
}
.beta-signup { background: var(--ink-2); border: 1.5px solid var(--signal); border-radius: 28px; padding: 26px 20px; scroll-margin-top: 96px; box-shadow: 0 40px 100px -40px rgba(24, 220, 205, .35); }
@media (min-width: 700px) { .beta-signup { padding: 38px 36px; border-radius: 32px; } }
.beta-signup [hidden] { display: none !important; }
.beta-signup h2 { font-size: clamp(1.7rem, 5vw, 2.3rem); line-height: 1.05; letter-spacing: -.035em; }
.beta-form-intro { color: var(--fg-2); margin: 10px 0 22px; }
.beta-signup label, .beta-signup summary { font-size: .95rem; color: var(--fg-2); }
.beta-email-label { display: block; font-weight: 700; color: var(--fg) !important; margin-bottom: 8px; }
.beta-email-row { display: flex; gap: 10px; }
.beta-signup input:not([type=checkbox]), .beta-signup textarea {
  width: 100%; min-width: 0; background: #03070a; border: 1px solid var(--line-2); border-radius: 14px; color: var(--fg);
  font: inherit; font-size: 16px; line-height: 1.4; padding: 13px 15px;
}
.beta-signup input::placeholder, .beta-signup textarea::placeholder { color: #7c8f9a; }
.beta-signup input:focus-visible, .beta-signup textarea:focus-visible { border-color: var(--signal); }
.beta-email-row input { flex: 1; }
.beta-submit, .beta-next {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; flex: none; border: 0; border-radius: 999px;
  padding: 0 24px; background: var(--signal); color: var(--on-signal); font: inherit; font-size: 1rem; font-weight: 800; text-decoration: none; cursor: pointer;
}
.beta-submit:hover, .beta-next:hover { background: var(--signal-2); }
.beta-submit:disabled { opacity: .65; cursor: wait; }
.beta-check { display: flex; align-items: center; gap: 10px; min-height: 44px; margin-top: 12px; cursor: pointer; }
.beta-signup input[type=checkbox] { width: 20px; height: 20px; flex: none; accent-color: var(--signal); margin: 0; }
.beta-glasses { margin: 4px 0 14px; padding: 14px 16px; border-left: 2px solid var(--signal); background: rgba(24, 220, 205, .05); border-radius: 0 12px 12px 0; }
.beta-glasses label { display: block; margin-bottom: 8px; font-weight: 600; }
.beta-glasses p { font-size: .86rem; color: var(--fg-2); margin: 10px 0 0; }
.beta-details summary { display: flex; align-items: center; min-height: 44px; cursor: pointer; list-style: none; }
.beta-details summary::-webkit-details-marker { display: none; }
.beta-details summary::before { content: "+"; margin-right: 10px; color: var(--signal); font-weight: 800; }
.beta-details[open] summary::before { content: "\2212"; }
.beta-details label { display: block; margin: 12px 0 8px; }
.beta-details textarea { resize: vertical; }
.beta-consent { font-size: .84rem; line-height: 1.6; color: var(--fg-3); margin: 10px 0 0; }
.beta-consent a { color: var(--fg-2); }
.beta-error { font-size: .95rem; line-height: 1.5; color: #ffb7ac; margin: 14px 0 0; }
.beta-hp { position: absolute; left: -9999px; top: 0; width: 1px; height: 1px; overflow: hidden; }
.beta-success h2 { margin-bottom: 12px; }
.beta-success p { color: var(--fg-2); margin: 0 0 16px; }
.beta-success .beta-next { margin: 4px 0 18px; }
.beta-success .beta-setup a { color: var(--signal-2); font-weight: 700; }
@media (max-width: 559px) { .beta-email-row { flex-direction: column; } .beta-submit { width: 100%; } }

/* ── setup guide (/install/prompt/) and 404 ─────────────── */
.guide { padding: 44px 0 110px; }
.guide h1 { font-size: clamp(3rem, 12vw, 7.2rem); }
.guide-lede { margin-top: 26px; font-size: 1.2rem; font-weight: 600; color: var(--fg); }
.guide-card { margin-top: 22px; background: var(--signal); color: var(--on-signal); border-radius: 28px; padding: 18px; position: relative; overflow: hidden; isolation: isolate; }
.guide-card::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(60% 90% at 100% 0%, rgba(255, 255, 255, .26), transparent 60%); }
.guide-card :focus-visible { outline-color: var(--on-signal); }
.guide-card .cmd code { font-size: clamp(.8rem, 3.6vw, 1.45rem); }
.guide-card > p { margin: 20px 4px 4px; font-size: 1.08rem; font-weight: 500; color: var(--on-signal-2); max-width: 40em; }
.guide-card > p a { color: var(--on-signal); font-weight: 700; }
@media (min-width: 700px) { .guide { padding-top: 88px; } .guide-card { padding: 26px; border-radius: 34px; } .guide-card > p { margin: 26px 10px 8px; font-size: 1.22rem; } }
.lost { padding: 72px 0 110px; }
.lost h1 { font-size: clamp(3rem, 12vw, 6.4rem); }
.lost .cta { margin-top: 34px; }

/* ── motion ─────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .btn:active { transform: none; }
}

/* Round-2 check follow-ups (N2-N4): a copy line wraps only between its words, so every line shows what differs and a URL is
   never cut; the setup line shrinks on the narrowest phones instead of clipping; the nav pill stays on one line. */
@media (max-width: 360px) {
  .cmd code { font-size: .8rem; }
  .guide-card .cmd code { font-size: .74rem; }
}
.nav-cta { white-space: nowrap; }
@media (max-width: 340px) { .nav-cta.btn-sm { padding: 0 10px; font-size: .8rem; } }
@media (max-width: 340px) { .cmd code { font-size: .74rem; } .guide-card .cmd code { font-size: .69rem; } }
