/* Styrman website. Colours from the app: helm red #E8321E, the agents' own colours (Claude copper,
   Codex green, agy blue), a night-sea band. Fonts self-hosted (SIL OFL, fonts/OFL.txt).
   Motion is decoration only: everything is in place without it, and prefers-reduced-motion turns it off. */

@font-face { font-family: "Libre Franklin"; src: url(fonts/libre-franklin.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url(fonts/dm-sans.woff2) format("woff2"); font-weight: 100 1000; font-display: swap; }
@font-face { font-family: "Roboto Mono"; src: url(fonts/roboto-mono.woff2) format("woff2"); font-weight: 100 700; font-display: swap; }

:root {
  --signal: #e8321e;
  --signal-deep: #c0260f;
  --claude: #c0612f;
  --codex: #1f7a55;
  --agy: #2c5fd4;
  --amber: #f0a33a;

  --bg: #f8f7f3;
  --bg-alt: #f0eee8;
  --surface: #ffffff;
  --ink: #10202a;
  --muted: #4f5f68;
  --hairline: #e3e0d7;
  --border: #d5d1c6;
  --shadow-1: 0 1px 2px rgba(16, 32, 42, .06), 0 2px 8px rgba(16, 32, 42, .05);
  --shadow-2: 0 2px 6px rgba(16, 32, 42, .06), 0 24px 48px -16px rgba(16, 32, 42, .25);

  --band: #102530;
  --band-2: #0c1b23;
  --band-3: #081218;
  --band-ink: #f3f1ea;
  --band-muted: #b6c4c9;
  --band-hairline: rgba(243, 241, 234, .16);

  --term: #0b1419;
  --term-ink: #dfe6e8;

  --font-display: "Libre Franklin", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-body: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-mono: "Roboto Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --radius: .5rem;
  --radius-lg: 1rem;
  --wrap: 75rem;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section: clamp(4.5rem, 9vw, 7.5rem);
  --header: 4.25rem;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.6 var(--font-body); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.08; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
code { font: 500 .88em var(--font-mono); background: rgba(16, 32, 42, .07); padding: .1em .35em; border-radius: .3em; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: .5rem; z-index: 100; background: #fff; padding: .5rem 1rem; border-radius: var(--radius); }
.skip:focus { left: 1rem; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; border-radius: 4px; }

/* ---------- buttons & links ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 3rem; padding: .75rem 1.375rem; border-radius: 999px; font: 600 1rem/1 var(--font-body); text-decoration: none; transition: transform .2s var(--ease), background-color .2s, border-color .2s, box-shadow .2s; border: 1px solid transparent; cursor: pointer; }
@media (prefers-reduced-motion: no-preference) { .btn:hover { transform: translateY(-1px); } }
.btn-primary { background: var(--signal); color: #fff; box-shadow: 0 10px 30px -10px rgba(232, 50, 30, .7); }
.btn-primary:hover { background: #f2412c; }
.btn-ghost { color: var(--band-ink); border-color: rgba(243, 241, 234, .28); background: rgba(243, 241, 234, .05); }
.btn-ghost:hover { border-color: rgba(243, 241, 234, .55); background: rgba(243, 241, 234, .1); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-line { border-color: var(--border); color: var(--ink); background: var(--surface); }
.btn-small { min-height: 2.375rem; padding: .45rem 1rem; font-size: .9375rem; background: var(--band-ink); color: var(--band-3); }
.textlink { font-weight: 600; text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 1px; }
.textlink::after { content: " →"; display: inline-block; transition: transform .2s var(--ease); }
@media (prefers-reduced-motion: no-preference) { .textlink:hover::after { transform: translateX(3px); } }
.textlink.light { color: var(--band-ink); }

/* ---------- header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header); transition: background-color .3s, box-shadow .3s, backdrop-filter .3s; }
.site-header.scrolled { background: rgba(10, 21, 28, .78); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--band-hairline); }
.nav { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: .6rem; font: 700 1.2rem var(--font-display); letter-spacing: -.02em; text-decoration: none; }
.site-header .brand { color: var(--band-ink); }
.nav nav { display: flex; align-items: center; gap: clamp(.75rem, 2.2vw, 1.75rem); }
.nav nav a:not(.btn) { color: var(--band-muted); text-decoration: none; font-size: .9375rem; font-weight: 500; transition: color .2s; }
.nav nav a:not(.btn):hover { color: var(--band-ink); }
@media (max-width: 47.99rem) { .nav .wide { display: none; } }

/* ---------- hero ---------- */
.band { background: linear-gradient(180deg, var(--band) 0%, var(--band-2) 65%, var(--band-3) 100%); color: var(--band-ink); }
.hero { position: relative; overflow: hidden; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% -10% -10%; z-index: -2; pointer-events: none;
  background:
    radial-gradient(36rem 28rem at 76% 36%, rgba(44, 95, 212, .32), transparent 70%),
    radial-gradient(28rem 22rem at 62% 78%, rgba(232, 50, 30, .2), transparent 70%),
    radial-gradient(30rem 26rem at 6% 6%, rgba(31, 122, 85, .3), transparent 70%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .55;
  background-image: linear-gradient(rgba(243, 241, 234, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(243, 241, 234, .055) 1px, transparent 1px);
  background-size: 3.5rem 3.5rem; background-position: -1px -1px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, #000 20%, transparent 75%);
}
@media (prefers-reduced-motion: no-preference) {
  .hero::before { animation: drift 26s ease-in-out infinite alternate; }
  @keyframes drift { 0% { transform: translate3d(0, 0, 0) scale(1); } 50% { transform: translate3d(-4%, 3%, 0) scale(1.06); } 100% { transform: translate3d(3%, -2%, 0) scale(1.02); } }
}
.hero-grid { display: grid; gap: clamp(3rem, 6vw, 4rem); padding-block: calc(var(--header) + clamp(2.5rem, 7vw, 5rem)) clamp(3rem, 6vw, 5rem); align-items: center; }
.pill { display: inline-flex; align-items: center; gap: .625rem; margin-bottom: 1.75rem; padding: .3125rem .875rem .3125rem .3125rem; border-radius: 999px; border: 1px solid var(--band-hairline); background: rgba(243, 241, 234, .06); color: var(--band-ink); font-size: .875rem; line-height: 1.35; text-decoration: none; transition: background-color .2s, border-color .2s; }
.pill b { font: 600 .6875rem/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; background: var(--signal); color: #fff; padding: .375rem .55rem; border-radius: 999px; }
.pill span { transition: transform .2s var(--ease); }
.pill:hover { background: rgba(243, 241, 234, .11); border-color: rgba(243, 241, 234, .4); }
@media (prefers-reduced-motion: no-preference) { .pill:hover span { transform: translateX(3px); } }
.hero h1 { font-size: clamp(2.9rem, 1.3rem + 4.8vw, 5.4rem); letter-spacing: -.045em; line-height: .98; margin-bottom: 1.5rem; }
.stroke { background: linear-gradient(var(--signal), var(--signal)) no-repeat 0 100% / 100% .09em; padding-bottom: .06em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
@media (prefers-reduced-motion: no-preference) {
  .stroke { animation: draw 1s .5s var(--ease) both; }
  @keyframes draw { from { background-size: 0% .1em; } to { background-size: 100% .1em; } }
}
.hero .lead { color: var(--band-muted); max-width: 34rem; margin-bottom: 2rem; font-size: clamp(1.0625rem, 1rem + .3vw, 1.1875rem); }
.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.cta-row.center { justify-content: center; }
.cta-note { margin-top: 1rem; color: var(--band-muted); font-size: .875rem; }
.hero-meta { list-style: none; margin: 2rem 0 0; padding: 1.25rem 0 0; border-top: 1px solid var(--band-hairline); display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; font: 500 .75rem/1.6 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--band-muted); }

.hero-art { position: relative; width: min(100%, 36rem); justify-self: center; min-height: 30rem; }
.hero-art .term-hero { position: absolute; left: 0; top: 2.5rem; width: 78%; }
.hero-art .phone-hero { position: absolute; right: 0; top: 0; --pw: clamp(11rem, 30vw, 15rem); z-index: 2; }
.toast { position: absolute; z-index: 3; right: calc(clamp(11rem, 30vw, 15rem) - 2rem); top: 1.25rem; display: flex; align-items: center; gap: .5rem; padding: .55rem .85rem; border-radius: .85rem; background: rgba(250, 250, 248, .92); color: var(--ink); font-size: .8125rem; font-weight: 600; box-shadow: 0 18px 40px -14px rgba(0, 0, 0, .6); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); white-space: nowrap; }
.toast .dot { width: .55rem; height: .55rem; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 4px rgba(232, 50, 30, .18); }
@media (min-width: 62rem) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
  .hero-art { min-height: 36rem; }
}
@media (max-width: 40rem) {
  .hero-art { min-height: 26rem; }
  .hero-art .term-hero { width: 92%; top: 7rem; }
  .toast { right: auto; left: 0; top: 0; }
}
@media (prefers-reduced-motion: no-preference) {
  .phone-hero { animation: float 7s ease-in-out infinite alternate; }
  @keyframes float { from { translate: 0 0; } to { translate: 0 -10px; } }
}

/* ---------- terminal ---------- */
.term { background: var(--term); color: var(--term-ink); border-radius: .85rem; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), 0 40px 80px -24px rgba(0, 0, 0, .7); font: 400 .8125rem/1.65 var(--font-mono); }
.term-bar { display: flex; align-items: center; gap: .45rem; padding: .7rem .9rem; background: rgba(255, 255, 255, .04); border-bottom: 1px solid rgba(255, 255, 255, .06); }
.term-bar i { width: .7rem; height: .7rem; border-radius: 50%; background: #3a4449; }
.term-bar i:nth-child(1) { background: #ff5f57; } .term-bar i:nth-child(2) { background: #febc2e; } .term-bar i:nth-child(3) { background: #28c840; }
.term-bar span { margin-left: .6rem; color: #7f8c91; font-size: .75rem; }
.term-body { padding: 1rem 1.1rem 1.25rem; min-height: 18rem; }
.term-body p { margin: 0 0 .2rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.term-body.small { min-height: 0; font-size: .78rem; }
.t-dim { color: #7f8c91; } .t-ok { color: #4fd18b; } .t-hi { color: #f3d48a; }
.t-claude { color: #e0864f; } .t-agy { color: #7aa2ff; }
.t-ask { margin: .5rem 0 .6rem; padding: .55rem .75rem; border: 1px solid rgba(224, 134, 79, .55); border-radius: .5rem; }
.t-ask p { margin: 0; } .t-sel { color: #e0864f; }
.t-phone b { color: #fff; }
html.has-js [data-typed] [data-step] { opacity: 0; transform: translateY(4px); transition: opacity .35s, transform .35s var(--ease); }
html.has-js [data-typed] [data-step].on { opacity: 1; transform: none; }
html.has-js .toast[data-step] { opacity: 0; transform: translateY(-8px) scale(.97); transition: opacity .35s, transform .45s var(--ease); }
html.has-js .toast[data-step].on { opacity: 1; transform: none; }
html.has-js .toast[data-step].gone { opacity: 0; transform: translateY(-8px) scale(.97); }

/* ---------- device frame ---------- */
.phone {
  --pw: 16rem; width: var(--pw); flex: none; position: relative;
  padding: calc(var(--pw) * .034); border-radius: calc(var(--pw) * .17);
  background: linear-gradient(145deg, #4a5257, #15191c 40%, #22292d);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16), inset 0 0 0 calc(var(--pw) * .01) #05080a, var(--shadow-2);
}
.phone > img { border-radius: calc(var(--pw) * .14); width: 100%; aspect-ratio: 1206 / 2622; object-fit: cover; object-position: top; background: #f2f2f6; }
.phone::after { content: ""; position: absolute; left: 50%; top: calc(var(--pw) * .06); transform: translateX(-50%); width: calc(var(--pw) * .27); height: calc(var(--pw) * .08); border-radius: 999px; background: #05080a; }
.phone::before { content: ""; position: absolute; right: calc(var(--pw) * -.012); top: 22%; width: calc(var(--pw) * .014); height: 12%; border-radius: 2px; background: #2a3135; }
.band .phone { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16), 0 40px 80px -24px rgba(0, 0, 0, .7), 0 0 0 1px rgba(0, 0, 0, .4); }

/* ---------- works with ---------- */
.works { border-bottom: 1px solid var(--hairline); background: var(--surface); }
.works-row { display: flex; align-items: center; gap: 1rem 2rem; flex-wrap: wrap; padding-block: 1.4rem; }
.works-label { font: 500 .7rem var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.works ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .75rem 1.75rem; align-items: center; }
.works li { display: inline-flex; align-items: center; gap: .5rem; font: 650 1rem var(--font-display); letter-spacing: -.01em; }
.works li.plain { color: var(--muted); font-weight: 600; }
.av { display: inline-grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 50%; color: #fff; font: 800 .62rem var(--font-body); flex: none; }
.av-claude { background: var(--claude); font-size: .9rem; } .av-codex { background: var(--codex); } .av-agy { background: var(--agy); font-size: .85rem; }

/* ---------- sections ---------- */
.section { padding-block: var(--section); }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--hairline); }
.section-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 3.75rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2, .privacy h2, .final h2 { font-size: clamp(2.1rem, 1.3rem + 2.8vw, 3.4rem); letter-spacing: -.035em; margin-bottom: 1.25rem; }
.sub { color: var(--muted); font-size: 1.125rem; }
.kicker { font: 600 .72rem var(--font-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--signal-deep); margin-bottom: 1rem; }
.kicker.light { color: #ff8a78; }
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    html:not(.has-gsap) .reveal { animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% entry 35%; }
    @keyframes reveal { from { opacity: 0; translate: 0 2rem; } to { opacity: 1; translate: 0 0; } }
  }
}

/* ---------- stage ---------- */
.stage { display: grid; gap: 2rem; align-items: center; justify-items: center; }
.tabs-wrap { width: min(100%, 34rem); perspective: 1200px; }
.term-tabs .tabrow { display: flex; gap: 2px; padding: .4rem .5rem 0; background: rgba(255, 255, 255, .03); }
.tab { flex: 1; padding: .45rem .6rem; border-radius: .45rem .45rem 0 0; font-size: .72rem; color: #7f8c91; background: rgba(255, 255, 255, .03); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; border-top: 2px solid transparent; }
.tab.t-a { border-top-color: var(--agy); } .tab.t-b { border-top-color: var(--claude); } .tab.t-c { border-top-color: var(--codex); }
.tab.on { color: var(--term-ink); background: var(--term); }
.arrow { color: var(--ink); transform: rotate(90deg); }
.stage-phone { margin: 0; display: grid; justify-items: center; gap: 1.25rem; }
.stage-phone .phone { --pw: clamp(14rem, 62vw, 17rem); }
.stage-phone figcaption { font: 500 .72rem var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); text-align: center; }
@media (min-width: 62rem) {
  .stage { grid-template-columns: 1fr auto auto; gap: 3rem; }
  .arrow { transform: none; }
}

/* ---------- bento ---------- */
.bento { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
.cell { position: relative; overflow: hidden; background: var(--surface); border: 1px solid var(--hairline); border-radius: 1.25rem; padding: clamp(1.5rem, 3vw, 2rem); box-shadow: var(--shadow-1); transition: transform .3s var(--ease), box-shadow .3s; }
@media (prefers-reduced-motion: no-preference) { .cell:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); } }
.cell h3 { font-size: 1.45rem; letter-spacing: -.02em; margin-bottom: .6rem; }
.cell p { color: var(--muted); }
.cell-kicker { font: 600 .68rem var(--font-mono) !important; letter-spacing: .16em; text-transform: uppercase; color: var(--signal-deep) !important; margin-bottom: .75rem !important; }
.cell.dark { background: linear-gradient(160deg, #13303c, #0b1a22); color: var(--band-ink); border-color: transparent; }
.cell.dark p { color: var(--band-muted); }
.cell.dark .cell-kicker { color: #ff8a78 !important; }
.cell.dark code { background: rgba(255, 255, 255, .1); color: #fff; }
.c-consult { display: grid; gap: 2rem; }
.ask-line { margin: 1.25rem 0 .9rem; padding: .7rem .9rem; border-radius: .6rem; background: rgba(0, 0, 0, .3); font: 500 .82rem var(--font-mono); color: #fff; overflow-x: auto; white-space: nowrap; }
.fine { font-size: .875rem; }
.cell-art { display: flex; justify-content: center; align-items: flex-start; margin-bottom: calc(-1 * clamp(1.5rem, 3vw, 2rem)); }
.phone-crop { --pw: clamp(15rem, 60vw, 19.5rem); border-bottom-left-radius: 0; border-bottom-right-radius: 0; padding-bottom: 0; height: calc(var(--pw) * 1.45); overflow: hidden; }
.phone-crop > img { height: 100%; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
@media (min-width: 62rem) {
  .bento { grid-template-columns: repeat(6, 1fr); }
  .c-consult { grid-column: span 4; grid-row: span 2; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 2.5rem; }
  .c-consult .cell-art { margin-top: 2rem; }
  .c-approve, .c-status { grid-column: span 2; }
  .c-voice, .c-new, .c-usage { grid-column: span 2; }
  .c-consult .cell-text { align-self: start; }
}
@media (min-width: 40rem) and (max-width: 61.99rem) {
  .bento { grid-template-columns: 1fr 1fr; }
  .c-consult { grid-column: span 2; }
}

.mini-card { margin-top: 1.25rem; padding: .9rem; border-radius: .9rem; background: #fbf4e6; border: 1px solid #e6d2a8; }
.mc-head { display: flex; align-items: center; gap: .45rem; color: #855008 !important; font-weight: 700; font-size: .85rem; margin-bottom: .6rem !important; }
.mc-dot { width: .5rem; height: .5rem; border-radius: 50%; background: #c98a1b; }
@media (prefers-reduced-motion: no-preference) { .mc-dot { animation: pulse 1.6s ease-in-out infinite; } @keyframes pulse { 50% { box-shadow: 0 0 0 5px rgba(201, 138, 27, .2); } } }
.mini-card code { display: block; background: #fff; padding: .5rem .6rem; margin-bottom: .6rem; border-radius: .45rem; font-size: .8rem; }
.mc-btns { display: grid; gap: .35rem; font-size: .8rem; font-weight: 600; }
.mc-btns span { padding: .4rem .6rem; border-radius: .45rem; background: #ece9e2; color: #55595c; border: 1px solid #dad6cc; }
.mc-btns .mc-allow { background: #e9dcc4; color: var(--ink); border-color: #d9c59e; }
.mc-btns span:last-child { background: #fbe3e0; color: var(--signal-deep); border-color: #f2bdb6; }
.status-list { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; gap: .5rem; }
.status-list li { display: flex; align-items: center; gap: .6rem; padding: .6rem .7rem; border-radius: .7rem; background: var(--bg); font-size: .9rem; }
.status-list b { flex: 1; }
.chip { font-size: .72rem; font-weight: 700; padding: .25rem .55rem; border-radius: 999px; transition: background-color .3s, color .3s; white-space: nowrap; }
.chip::before { content: "● "; font-size: .6rem; vertical-align: .1em; }
.chip[data-t="red"] { background: #fde4e0; color: var(--signal-deep); }
.chip[data-t="amber"] { background: #fdeed6; color: #9a5a07; }
.chip[data-t="blue"] { background: #e1e9fb; color: #24479d; }
.chip[data-t="grey"] { background: #ebebe8; color: #5e6266; }

.voice { display: flex; align-items: center; gap: .9rem; margin-top: 1.25rem; padding: .7rem .8rem; border-radius: 999px; background: var(--bg); }
.play { flex: none; display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border: 0; border-radius: 50%; background: var(--codex); color: #fff; cursor: pointer; }
.bars { flex: 1; display: flex; align-items: center; gap: 3px; height: 2rem; }
.bars i { flex: 1; height: 30%; border-radius: 2px; background: #c9cfcc; transition: background-color .2s; }
.bars i:nth-child(3n) { height: 70%; } .bars i:nth-child(4n+1) { height: 45%; } .bars i:nth-child(5n+2) { height: 90%; } .bars i:nth-child(7n) { height: 55%; }
.voice.playing .bars i { background: var(--codex); }
@media (prefers-reduced-motion: no-preference) {
  .voice.playing .bars i { animation: eq .9s ease-in-out infinite alternate; }
  .voice.playing .bars i:nth-child(2n) { animation-delay: -.3s; } .voice.playing .bars i:nth-child(3n) { animation-delay: -.6s; }
  @keyframes eq { from { transform: scaleY(.35); } to { transform: scaleY(1); } }
}
.quote { margin-top: .9rem !important; font-style: italic; font-size: .95rem; }

.picker { margin-top: 1.25rem; padding: .8rem; border-radius: .9rem; background: var(--bg); font-size: .88rem; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); padding: 3px; border-radius: .6rem; background: #e6e4dd; margin-bottom: .6rem; font-size: .78rem; font-weight: 600; text-align: center; }
.seg span { padding: .3rem; border-radius: .45rem; color: var(--muted); }
.seg .on { background: #fff; color: var(--claude); box-shadow: var(--shadow-1); }
.pk-row { display: flex; align-items: center; gap: .55rem; padding: .45rem .3rem; border-bottom: 1px solid var(--hairline); color: var(--ink) !important; }
.pk-row:last-child { border: 0; }
.pk-row em { margin-left: auto; font: 400 .72rem var(--font-mono); color: var(--muted); }
.pk-ic { width: 1.2rem; text-align: center; color: var(--muted); }
.pk-row.sel .pk-ic { color: var(--signal); font-weight: 800; }
.pk-row.new { color: var(--signal-deep) !important; font-weight: 600; }
.pk-row.new .pk-ic { color: var(--signal); }

.rings { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; margin-top: 1.25rem; }
.ring { position: relative; display: grid; justify-items: center; gap: .35rem; font-size: .78rem; color: var(--muted); }
.ring svg { width: 100%; max-width: 5.5rem; transform: rotate(-90deg); }
.ring circle { fill: none; stroke: #e6e4dd; stroke-width: 4; }
.ring .arc { stroke: var(--c); stroke-linecap: round; stroke-dasharray: 100.53; stroke-dashoffset: calc(100.53 * (1 - var(--p, 0))); transition: stroke-dashoffset 1.2s var(--ease); }
.ring b { position: absolute; top: 0; height: min(100%, 5.5rem); width: 100%; display: grid; place-items: center; aspect-ratio: 1; max-width: 5.5rem; font: 700 1rem var(--font-display); color: var(--ink); }

/* ---------- steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.25rem; counter-reset: step; }
@media (min-width: 62rem) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.step { position: relative; padding: 1.75rem; border-radius: 1.25rem; background: var(--surface); border: 1px solid var(--hairline); box-shadow: var(--shadow-1); display: flex; flex-direction: column; }
.step .num { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: var(--ink); color: #fff; font: 700 .95rem var(--font-display); margin-bottom: 1.1rem; }
.step h3 { font-size: 1.25rem; margin-bottom: .45rem; }
.step p { color: var(--muted); margin-bottom: 1.25rem; }
.cmd { margin-top: auto; display: flex; align-items: center; gap: .5rem; padding: .55rem .55rem .55rem .9rem; border-radius: .7rem; background: var(--term); color: var(--term-ink); }
.cmd code { background: none; color: inherit; padding: 0; font-size: .78rem; overflow-x: auto; white-space: nowrap; flex: 1; scrollbar-width: none; }
.copy { flex: none; border: 0; border-radius: .45rem; padding: .4rem .7rem; background: rgba(255, 255, 255, .1); color: #fff; font: 600 .75rem var(--font-body); cursor: pointer; transition: background-color .2s; }
.copy:hover { background: rgba(255, 255, 255, .2); }
.copy.done { background: var(--codex); }
.how-note { margin-top: 2rem; text-align: center; color: var(--muted); }

/* ---------- privacy ---------- */
.privacy-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 62rem) { .privacy-grid { grid-template-columns: 1fr 1.1fr; } }
.privacy .lead { color: var(--band-muted); margin-bottom: 1.5rem; font-size: 1.125rem; max-width: 30rem; }
.points { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.points li { position: relative; padding: 1.1rem 1.2rem 1.1rem 3.2rem; border-radius: 1rem; background: rgba(243, 241, 234, .05); border: 1px solid var(--band-hairline); color: var(--band-muted); }
.points li::before { content: "✓"; position: absolute; left: 1.1rem; top: 1.05rem; display: grid; place-items: center; width: 1.4rem; height: 1.4rem; border-radius: 50%; background: rgba(79, 209, 139, .16); color: #4fd18b; font-size: .8rem; font-weight: 800; }
.points b { color: var(--band-ink); }
.points code { background: rgba(255, 255, 255, .1); color: #fff; }

/* ---------- final ---------- */
.final-inner { text-align: center; display: grid; justify-items: center; gap: 1.5rem; }
.final h2 { margin: 0; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--hairline); padding-block: 2rem; font-size: .875rem; color: var(--muted); }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; }
.footer .brand { color: var(--ink); font-size: 1.05rem; }
.footer nav { display: flex; gap: 1.25rem; }
.footer nav a { text-decoration: none; font-weight: 600; color: var(--ink); }

/* ---------- prose pages (privacy, support) ---------- */
.page-head { padding-top: calc(var(--header) + 3.5rem); padding-bottom: 3rem; }
.page-head h1 { font-size: clamp(2.6rem, 5vw, 3.8rem); letter-spacing: -.04em; }
.prose { max-width: 44rem; padding-block: 3rem 5rem; }
.prose h2 { font-size: 1.5rem; letter-spacing: -.02em; margin: 2.4rem 0 .6rem; }
.prose p, .prose li { color: var(--muted); }
.prose p + p { margin-top: .8rem; }
.prose li { margin-bottom: .5rem; }
.prose a { color: var(--signal-deep); }
.page-lead { color: var(--band-muted); max-width: 40rem; margin-top: 1.25rem; font-size: 1.125rem; }
