/* YouScribe: MarkSave and ArticleSave's sibling. Same type and layout grammar; colour = YouTube red merging into caption amber. */
:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --subtle: #f6f7f9;
  --ink: #0f1419;
  --ink-2: #566170;
  --line: #eceff3;
  --line-2: #cfd6de;
  --yt: #ff0033;
  --cap: #ff9500;
  --merge: #ff4a1c;
  --accent-ink: #d42a00;
  --grad: linear-gradient(100deg, var(--yt), var(--merge) 50%, var(--cap));
  --s1: #e0182d; --s2: #2463eb; --s3: #0d9466; --s4: #8b3fd1; --s5: #c26a00; --s6: #d1307f;
  --btn: #0f1419;
  --btn-ink: #ffffff;
  --error: #e0182d;
  --ok: #12a26b;
  --shadow-lg: 0 1px 2px rgba(15, 20, 25, .04), 0 12px 40px -12px rgba(15, 20, 25, .18);
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --surface: #0b0c0e;
    --subtle: #15171b;
    --ink: #e8eaed;
    --ink-2: #8a929c;
    --line: #262a30;
    --line-2: #3a3f46;
    --yt: #ff3355;
    --cap: #ffb340;
    --merge: #ff6a3d;
    --accent-ink: #ff8a5c;
    --s1: #ff5468; --s2: #6f9bff; --s3: #3ccf98; --s4: #b98bff; --s5: #ffb340; --s6: #ff6fb0;
    --btn: #eef0f3;
    --btn-ink: #0f1419;
    --shadow-lg: 0 0 0 1px #262a30;
  }
}
@supports (background: linear-gradient(in oklch, red, blue)) {
  :root { --grad: linear-gradient(100deg in oklch, var(--yt), var(--cap)); }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.5 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
b, strong { font-weight: 700; }
a { color: inherit; }
.page { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--ink-2); font-weight: 500; }

/* Touch vs pointer copy */
.when-coarse { display: none; }
@media (pointer: coarse) { .when-fine { display: none !important; } .when-coarse { display: inline; } }

/* Nav */
.nav {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: max(16px, env(safe-area-inset-top)) 0 16px;
  position: sticky; top: 0; z-index: 5;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 19px; letter-spacing: -.02em; }
.mark svg { width: 32px; height: 32px; display: block; }
.mark stop:first-child { stop-color: var(--yt); }
.mark stop:last-child { stop-color: var(--cap); }
.mark-page { fill: #fff; }
.mark-glyph { fill: none; stroke: #0f1419; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mark-play { fill: #0f1419; stroke: #0f1419; stroke-width: 1; stroke-linejoin: round; }
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-cta, .sibling-pill {
  color: var(--ink); text-decoration: none; font-weight: 700; font-size: 15px;
  padding: 8px 16px; border: 1px solid var(--line-2); border-radius: 999px;
}
.nav-cta:hover, .sibling-pill:hover { background: var(--subtle); }
.sibling-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; color: var(--ink-2); }
.sibling-pill:hover { color: var(--ink); }
/* ArticleSave's own mark, in its own monochrome */
.mini-mark svg, .sibling-mark svg { display: block; }
.mini-mark svg { width: 22px; height: 22px; }
.mini-mark rect, .sibling-mark rect { fill: var(--ink); }
.mini-mark .mark-page, .sibling-mark .mark-page { fill: var(--bg); }
.mark-arrow { fill: none; stroke: var(--ink); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 479px) { .sibling-label { display: none; } .sibling-pill { padding: 6px; } .nav-cta { padding: 8px 14px; } }

/* Hero */
.hero { display: grid; gap: 48px; align-items: center; padding: 40px 0 64px; }
@media (min-width: 900px) { .hero { grid-template-columns: 1.12fr .88fr; padding: 64px 0 88px; gap: 56px; } }
.hero-copy { min-width: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 20px;
  padding: 6px 12px 6px 10px; border: 1px solid var(--line); border-radius: 999px;
  color: var(--ink-2); font-size: 13px; font-weight: 600;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 0 3px color-mix(in srgb, var(--merge) 20%, transparent); }
h1 {
  font-size: clamp(40px, 6.2vw, 62px); line-height: 1.03; letter-spacing: -.045em; font-weight: 800;
  margin: 0 0 18px;
}
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .06em; }
@media (min-width: 600px) { .nw { white-space: nowrap; } }
.lede { color: var(--ink-2); font-size: clamp(17px, 2.2vw, 19px); line-height: 1.5; margin: 0 0 28px; max-width: 32em; }

.toggle { display: inline-flex; align-items: center; gap: 10px; margin: 16px 4px 0; font-size: 15px; font-weight: 600; cursor: pointer; user-select: none; }
.toggle input { position: absolute; opacity: 0; pointer-events: none; }
.switch { position: relative; flex: none; width: 40px; height: 24px; border-radius: 999px; background: var(--line-2); transition: background .2s; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.2); transition: transform .2s; }
.toggle input:checked + .switch { background: var(--grad); }
.toggle input:checked + .switch::after { transform: translateX(16px); }
.toggle input:focus-visible + .switch { box-shadow: 0 0 0 3px color-mix(in srgb, var(--merge) 30%, transparent); }

.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 56px; padding: 0 28px; border-radius: 999px;
  font: inherit; font-size: 17px; font-weight: 700; letter-spacing: -.01em;
  text-decoration: none; cursor: pointer; border: 1px solid transparent; white-space: nowrap;
  transition: transform .08s, opacity .15s, background .15s;
}
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .4; pointer-events: none; }
.btn-sm { height: 44px; padding: 0 20px; font-size: 15px; }
.btn-xs { height: 36px; padding: 0 14px; font-size: 14px; }
.btn-primary { background: var(--btn); color: var(--btn-ink); }
.btn-primary:hover { opacity: .88; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-outline:hover { background: var(--subtle); }
.btn-ghost { background: transparent; color: var(--ink-2); }
.btn-ghost:hover { color: var(--ink); background: var(--subtle); }
.spinner {
  display: none; width: 18px; height: 18px; border-radius: 50%;
  border: 2.2px solid color-mix(in srgb, var(--btn-ink) 30%, transparent); border-top-color: var(--btn-ink);
  animation: spin .7s linear infinite;
}
.btn.busy { pointer-events: none; }
.btn.busy .btn-label { opacity: .7; }
.btn.busy .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

.status { min-height: 1.5em; margin: 12px 4px 0; color: var(--ink-2); font-size: 15px; font-weight: 500; }
.status.error { color: var(--error); }

/* URL form: one pill with the input and the ink button inside */
.url-form {
  position: relative; display: flex; align-items: center; gap: 6px; max-width: 580px;
  padding: 6px; border-radius: 999px; background: var(--subtle); border: 1.5px solid var(--line-2);
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.url-form:focus-within {
  border-color: transparent; background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad) border-box;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--merge) 16%, transparent);
}
.url-icon { display: grid; place-items: center; flex: none; width: 36px; height: 36px; margin-left: 6px; }
.url-icon svg { width: 20px; height: 20px; fill: none; stroke: var(--ink-2); stroke-width: 2; stroke-linecap: round; }
.url-form input {
  flex: 1; min-width: 0; height: 48px; border: 0; outline: 0; background: transparent; color: var(--ink);
  font: inherit; font-size: 17px; font-weight: 500;
}
.url-form input::placeholder { color: var(--ink-2); font-weight: 500; }
.url-form .btn-primary { height: 52px; padding: 0 26px; }
.paste-btn { flex: none; }
@media (max-width: 479px) {
  .url-form { flex-wrap: wrap; border-radius: 24px; padding: 6px 6px 8px; }
  .url-form input { flex-basis: calc(100% - 110px); }
  .url-form .btn-primary { flex: 1 0 100%; }
}

/* Hero visual: a video card and its transcript, fanned like the siblings' two pages */
.hero-visual { position: relative; display: flex; justify-content: center; align-items: flex-start; padding: 8px 0 36px; min-height: 400px; max-width: 100%; }
.sheet { margin: 0; position: relative; width: min(47%, 250px); min-width: 0; }
.sheet-body {
  position: relative; display: flex; flex-direction: column; gap: 8px; overflow: hidden;
  aspect-ratio: 210 / 297; padding: 36px 16px 18px; border-radius: 16px;
  background: #fff; border: 1px solid #e4e7eb; color: #1f252c;
  box-shadow: 0 2px 4px rgba(15,20,25,.06), 0 30px 60px -24px rgba(15,20,25,.4);
}
@media (prefers-color-scheme: dark) { .sheet-body { border-color: #2a2e34; } }
.sheet-tag {
  position: absolute; top: 10px; left: 12px; padding: 2px 7px; border-radius: 5px;
  color: #fff; font: 800 10px/1.4 Inter, sans-serif; letter-spacing: .06em;
}
.tag-yt { background: var(--yt); }
.tag-tx { background: var(--cap); color: #2a1600; }
.bar { display: block; height: 6px; border-radius: 3px; background: #e6e9ed; }
.bar.short { width: 55%; }
.bar-title { height: 9px; background: #1f252c; width: 94%; }
.bar-title.short { width: 64%; }
.thumb {
  position: relative; display: grid; place-items: center; aspect-ratio: 16 / 9; border-radius: 10px; margin-bottom: 4px;
  background: linear-gradient(135deg, #2b2f36, #0f1419 60%), #0f1419;
}
.play { width: 44px; height: 31px; border-radius: 9px; background: var(--yt); position: relative; }
.play::after { content: ""; position: absolute; left: 18px; top: 9px; border-left: 11px solid #fff; border-top: 6.5px solid transparent; border-bottom: 6.5px solid transparent; }
.dur { position: absolute; right: 6px; bottom: 6px; padding: 1px 4px; border-radius: 4px; background: rgba(0,0,0,.8); color: #fff; font: 700 8.5px/1.4 Inter, sans-serif; }
.chan { display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.chan .bar { flex: 1; }
.avatar { flex: none; width: 20px; height: 20px; border-radius: 50%; background: linear-gradient(135deg, var(--cap), var(--yt)); }
.url-chip {
  margin-top: auto; padding: 7px 10px; border-radius: 999px; background: #f3f4f6; border: 1px solid #e4e7eb;
  font: 600 clamp(8.5px, 1vw, 10.5px)/1.3 var(--mono); color: #566170; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.sheet-text .sheet-body { gap: 0; background: #fffdf9; padding-top: 34px; }
.who-a, .who-b { display: flex; align-items: center; gap: 5px; font: 800 clamp(9px, 1vw, 11px)/1 Inter, sans-serif; margin: 9px 0 4px; }
.who-a:first-of-type { margin-top: 2px; }
.who-a::before, .who-b::before { content: ""; width: 7px; height: 7px; border-radius: 50%; }
.who-a { color: var(--s1); } .who-a::before { background: var(--s1); }
.who-b { color: var(--s2); } .who-b::before { background: var(--s2); }
.line { display: block; font: 500 clamp(8.5px, .98vw, 10.8px)/1.6 Inter, sans-serif; color: #1f252c; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.line i { font-style: normal; display: inline-block; width: 2.6em; color: var(--accent-ink); font-weight: 700; font-family: var(--mono); font-size: .9em; }
.line.cont { padding-left: 2.6em; }
.sheet-video { transform: rotate(-5deg) translate(14px, 18px); z-index: 1; }
.sheet-text { transform: rotate(4deg) translate(-14px, -4px); z-index: 2; }
.sheet figcaption { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 16px; font-size: 14px; font-weight: 700; }
.step-dot { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--btn); color: var(--btn-ink); font-size: 12px; font-weight: 800; }
.float-chip {
  position: absolute; z-index: 3; right: 2%; bottom: 22%;
  display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px 9px 10px; border-radius: 999px;
  background: var(--surface); color: var(--ink); font-size: 14px; font-weight: 700;
  border: 1px solid var(--line); box-shadow: var(--shadow-lg);
}
.float-chip svg { width: 18px; height: 18px; fill: none; stroke: var(--ok); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
@media (prefers-reduced-motion: no-preference) {
  .sheet-text { animation: float 6s ease-in-out infinite; }
  .float-chip { animation: float 6s ease-in-out -3s infinite; }
  @keyframes float { 50% { translate: 0 -8px; } }
}
@media (max-width: 899px) { .hero-visual { margin-top: 8px; min-height: 0; } }

/* Result: player + summary on the side, transcript panel like YouTube's */
section.result { padding: 28px 0 56px; scroll-margin-top: 70px; }
.res-grid { display: grid; gap: 20px; }
@media (min-width: 960px) {
  .res-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 28px; align-items: start; }
  .res-side { position: sticky; top: 76px; max-height: calc(100vh - 92px); overflow: auto; scrollbar-width: thin; }
}
.res-side, .res-main { min-width: 0; }
.player-wrap { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #000; }
.player-wrap iframe, .player-wrap #player { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vid-meta { padding: 14px 2px 0; }
.v-title { font-size: 19px; line-height: 1.3; letter-spacing: -.02em; margin: 0 0 4px; }
.v-sub { color: var(--ink-2); font-size: 14px; font-weight: 500; }
.v-sub a { color: var(--ink); font-weight: 600; }
.lang { font: inherit; font-weight: 600; color: var(--ink); background: var(--subtle); border: 1px solid var(--line-2); border-radius: 8px; padding: 2px 6px; max-width: 14em; }

.card-soft { margin-top: 16px; padding: 18px 20px; border-radius: 20px; background: var(--subtle); border: 1px solid var(--line); }
.sum-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.sum-head h3, .chap-title { margin: 0; font-size: 15px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); }
.pill-state { font-size: 12px; font-weight: 700; color: var(--accent-ink); }
.tldr { font-size: 16px; line-height: 1.55; }
.points { margin: 12px 0 0; padding-left: 20px; display: grid; gap: 6px; color: var(--ink); font-size: 15px; }
.points li::marker { color: var(--merge); }
.chap-title { margin: 18px 0 8px; }
.chapters { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.chapters a { display: flex; gap: 10px; align-items: baseline; padding: 6px 8px; margin: 0 -8px; border-radius: 10px; text-decoration: none; font-size: 15px; font-weight: 600; }
.chapters a:hover { background: color-mix(in srgb, var(--ink) 6%, transparent); }
.skeleton { display: block; height: 12px; margin: 8px 0; border-radius: 6px; background: linear-gradient(90deg, var(--line), color-mix(in srgb, var(--line) 40%, var(--subtle)), var(--line)); background-size: 200% 100%; animation: shimmer 1.2s linear infinite; }
.skeleton.short { width: 60%; }
@keyframes shimmer { to { background-position: -200% 0; } }

.tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.search { position: relative; flex: 1 1 220px; display: flex; align-items: center; }
.search svg { position: absolute; left: 14px; width: 18px; height: 18px; fill: none; stroke: var(--ink-2); stroke-width: 2; stroke-linecap: round; }
.search input {
  width: 100%; height: 44px; padding: 0 84px 0 42px; border-radius: 999px; border: 1px solid var(--line-2);
  background: var(--surface); color: var(--ink); font: inherit; font-size: 15px; outline: 0; -webkit-appearance: none; appearance: none;
}
.search input:focus { border-color: var(--merge); box-shadow: 0 0 0 3px color-mix(in srgb, var(--merge) 16%, transparent); }
.find-count { position: absolute; right: 16px; color: var(--ink-2); font-size: 13px; font-weight: 600; pointer-events: none; }
.tool-btns { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.toggle.small { margin: 0 2px; font-size: 14px; gap: 8px; }
.toggle.small .switch { width: 34px; height: 20px; }
.toggle.small .switch::after { width: 14px; height: 14px; }
.toggle.small input:checked + .switch::after { transform: translateX(14px); }
.menu-wrap { position: relative; }
.menu {
  position: absolute; z-index: 20; min-width: 190px; padding: 6px; border-radius: 14px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg), 0 8px 30px -10px rgba(0,0,0,.25);
}
#dl-menu { top: calc(100% + 6px); right: 0; }
.menu button {
  display: flex; align-items: center; gap: 8px; width: 100%; padding: 10px 12px; border: 0; border-radius: 9px;
  background: transparent; color: var(--ink); font: inherit; font-size: 15px; font-weight: 600; text-align: left; cursor: pointer;
}
.menu button:hover, .menu button:focus-visible { background: var(--subtle); outline: 0; }
.menu button.on { background: var(--subtle); }
.menu hr { border: 0; border-top: 1px solid var(--line); margin: 6px 4px; }
.menu-label { padding: 6px 12px 4px; color: var(--ink-2); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.spk-menu { position: absolute; }

.cast { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 12px 0 10px; border-radius: 999px;
  border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer;
}
.chip:hover { background: var(--subtle); }
.chip small { color: var(--ink-2); font-weight: 600; }
.cast-hint { color: var(--ink-2); font-size: 12.5px; margin-left: 4px; }
@media (pointer: coarse) { .cast-hint { display: none; } }
.sw { flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--c, var(--line-2)); }
.c1 { --c: var(--s1); } .c2 { --c: var(--s2); } .c3 { --c: var(--s3); } .c4 { --c: var(--s4); } .c5 { --c: var(--s5); } .c6 { --c: var(--s6); }

.ai-progress { height: 3px; border-radius: 2px; background: var(--line); overflow: hidden; margin-bottom: 10px; }
.ai-progress span { display: block; height: 100%; width: 0; background: var(--grad); transition: width .4s; }

.transcript {
  position: relative; max-height: min(78vh, 900px); overflow-y: auto; overscroll-behavior: contain;
  padding: 6px 14px 40px 6px; border-radius: 20px; border: 1px solid var(--line); background: var(--surface);
  scrollbar-width: thin;
}
@media (max-width: 959px) { .transcript { max-height: 72vh; } }
.turn { padding: 14px 0 10px 10px; border-left: 3px solid color-mix(in srgb, var(--c, var(--line-2)) 70%, transparent); margin: 10px 0 0 4px; }
.turn.c0 { border-left-color: var(--line); }
.turn + .turn { margin-top: 18px; }
.who {
  display: inline-flex; align-items: center; gap: 7px; margin: 0 0 6px 8px; padding: 3px 8px; border-radius: 8px;
  border: 0; background: transparent; color: var(--c, var(--ink-2)); font: inherit; font-size: 14px; font-weight: 800; letter-spacing: -.01em; cursor: pointer;
}
button.who:hover { background: color-mix(in srgb, var(--c, var(--ink)) 10%, transparent); }
.who.pending { color: var(--ink-2); cursor: default; min-height: 1.4em; }
.who.pending .sw { animation: pulse 1s ease-in-out infinite alternate; }
@keyframes pulse { to { opacity: .3; } }
.para { display: grid; grid-template-columns: 4.6em 1fr; gap: 6px; margin: 0; padding: 7px 8px; border-radius: 10px; font-size: 16px; line-height: 1.6; transition: background .2s; }
.para + .para { margin-top: 4px; }
.ts {
  align-self: start; justify-self: start; margin-top: 2px; padding: 1px 7px; border-radius: 6px;
  font: 700 12.5px/1.6 var(--mono); color: var(--accent-ink); text-decoration: none;
  background: color-mix(in srgb, var(--merge) 10%, transparent);
}
.ts:hover { background: color-mix(in srgb, var(--merge) 22%, transparent); }
.no-times .para { grid-template-columns: 1fr; }
.no-times .para .ts { display: none; }
.para.now { background: color-mix(in srgb, var(--cap) 16%, transparent); }
.sfx { color: var(--ink-2); font-style: italic; }
mark { background: color-mix(in srgb, var(--cap) 45%, transparent); color: inherit; border-radius: 3px; padding: 0 1px; }
@media (max-width: 559px) {
  .transcript { padding: 4px 8px 32px 2px; }
  .para { grid-template-columns: 1fr; gap: 0; font-size: 16px; }
  .ts { margin-bottom: 2px; }
  .tool-btns { width: 100%; }
}
.sibling-copy a { color: var(--ink); font-weight: 600; }


/* Sections */
section.result, section.steps, section.features, section.sibling, section.faq { padding: 64px 0; border-top: 1px solid var(--line); }
h2 { font-size: clamp(26px, 4vw, 34px); letter-spacing: -.035em; line-height: 1.15; font-weight: 800; margin: 0 0 28px; }
h3 { font-size: 17px; letter-spacing: -.01em; margin: 0 0 6px; font-weight: 700; }
p { margin: 0; }

.step-grid { display: grid; gap: 14px; }
@media (min-width: 760px) { .step-grid { grid-template-columns: repeat(3, 1fr); } }
.step { padding: 22px; border-radius: 20px; background: var(--subtle); }
.step p { color: var(--ink-2); font-size: 15px; }
.step b { color: var(--ink); }
.num {
  display: grid; place-items: center; width: 32px; height: 32px; margin-bottom: 16px; border-radius: 50%;
  background: var(--grad); color: #fff; font-weight: 800; font-size: 15px;
}

.features { display: grid; gap: 28px 32px; }
@media (min-width: 640px) { .features { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .features { grid-template-columns: repeat(4, 1fr); } }
.feature p { color: var(--ink-2); font-size: 15px; }
.feature b { color: var(--ink); }
.ficon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 14px; border-radius: 12px; border: 1px solid var(--line); }
.ficon svg { width: 22px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.feature:nth-child(1) .ficon svg { stroke: var(--yt); }
.feature:nth-child(2) .ficon svg { stroke: color-mix(in srgb, var(--yt) 50%, var(--merge)); }
.feature:nth-child(3) .ficon svg { stroke: color-mix(in srgb, var(--cap) 50%, var(--merge)); }
.feature:nth-child(4) .ficon svg { stroke: var(--cap); }

.sibling-card {
  display: grid; gap: 20px; align-items: center; padding: 28px; border-radius: 24px;
  background: var(--subtle); border: 1px solid var(--line);
}
@media (min-width: 760px) { .sibling-card { grid-template-columns: auto 1fr auto; gap: 28px; padding: 32px; } }
.sibling-mark svg { width: 56px; height: 56px; }
.sibling-kicker { color: var(--ink-2); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 6px; }
.sibling-copy h2 { font-size: clamp(22px, 3vw, 26px); margin: 0 0 8px; }
.sibling-copy p:last-child { color: var(--ink-2); max-width: 36em; }
.sibling-btn { height: 48px; font-size: 16px; justify-self: start; }

.faq { max-width: 760px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; justify-content: space-between; gap: 16px; align-items: center;
  padding: 18px 0; cursor: pointer; list-style: none; font-weight: 700; font-size: 17px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 10px; height: 10px; margin-right: 4px;
  border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: rotate(45deg) translateY(-3px);
  transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq details p { padding: 0 0 18px; color: var(--ink-2); font-size: 16px; max-width: 40em; }
.faq details b { color: var(--ink); }

.foot {
  display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between;
  padding: 28px 0 max(36px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line);
  color: var(--ink-2); font-size: 13px;
}
.foot a { color: var(--ink); font-weight: 600; }
.brand.small { font-size: 15px; gap: 8px; }
.brand.small .mark svg { width: 24px; height: 24px; }
