/* Streamora.dev site design system, light theme.
   Direction: exact, operational, plain-spoken. World: a terminal and a clean desk.
   One ink-tinted neutral ramp, three text roles, one accent (blue). Every value on a 4px grid.
   One idea per section, with enough air around it that the eye lands on one thing at a time.
   The only dark surfaces are the command line (the signature) and the footer.
   All classes are prefixed s- so they never clash with page-specific CSS. */

:root {
    /* DARK (default). Surfaces, deepest to highest: each part of the page sits on its own step */
    --s-nav: #080b12;        /* top bar */
    --s-band: #10141f;       /* page-top band and alternate sections */
    --s-bg: #0c0f17;         /* page */
    --s-surface: #141925;    /* cards, lists */
    --s-head: #1a2030;       /* card header strip, table header */
    --s-raised: #1e2535;     /* hover, quiet buttons, chips */
    --s-bg-2: #090c13;       /* inputs */
    --s-ink: #05070b;        /* command line */
    --s-foot: #080b12;
    --s-line: rgba(232, 236, 244, 0.08);
    --s-line-2: rgba(232, 236, 244, 0.14);
    --s-line-3: rgba(232, 236, 244, 0.28);
    --s-text: #eceff5;
    --s-muted: #b3bac8;
    --s-dim: #8990a3;
    --s-primary: #2563eb;
    --s-primary-hi: #3b76f0;
    --s-accent: #6f9cff;
    --s-accent-ink: #9bb9ff;
    --s-soft: rgba(111, 156, 255, 0.14);
    --s-ok: #4cc38a; --s-ok-soft: rgba(76, 195, 138, 0.14);
    --s-warn: #e0a93b; --s-warn-soft: rgba(224, 169, 59, 0.14);
    --s-danger: #f0646a; --s-danger-soft: rgba(229, 72, 77, 0.16);
    --s-tip-bg: #2a3246;
    --s-cmd-line: rgba(232, 236, 244, 0.14);
    --s-shadow: none;
    --s-shadow-lg: none;
    --s-art-ink: #d5dbe7; --s-art-fill: #1e2535; --s-art-tint: #263a66; --s-art-dim: #6f788c; --s-art-quiet: #171c29; --s-art-solid: #d5dbe7;
    --s-scheme: dark;
    --s-violet: #9bb9ff;
    --s-white: #eceff5;      /* legacy token: "strong contrast" colour */
    --s-radius: 12px;
    --s-radius-sm: 8px;
    --s-ease: cubic-bezier(0.22, 1, 0.36, 1);
    --s-font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --s-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
    --s-wrap: 1120px;
}
/* LIGHT: chosen with the sun/moon button in the top bar, remembered per browser */
html[data-theme=light] {
    --s-nav: #ffffff;
    --s-band: #eef2f8;
    --s-bg: #f8f9fb;
    --s-surface: #ffffff;
    --s-head: #f3f5f9;
    --s-raised: #eceff4;
    --s-bg-2: #ffffff;
    --s-ink: #0f1420;
    --s-foot: #0f1420;
    --s-line: rgba(17, 24, 39, 0.08);
    --s-line-2: rgba(17, 24, 39, 0.14);
    --s-line-3: rgba(17, 24, 39, 0.28);
    --s-text: #111827;
    --s-muted: #465062;
    --s-dim: #677084;
    --s-primary-hi: #1d4ed8;
    --s-accent: #2563eb;
    --s-accent-ink: #1d4ed8;
    --s-soft: #e6edfd;
    --s-ok: #15803d; --s-ok-soft: #e7f5ec;
    --s-warn: #b45309; --s-warn-soft: #fbf0df;
    --s-danger: #dc2626; --s-danger-soft: #fdecec;
    --s-tip-bg: #0f1420;
    --s-cmd-line: #0f1420;
    --s-shadow: 0 1px 2px rgba(17, 24, 39, 0.05);
    --s-shadow-lg: 0 8px 24px rgba(17, 24, 39, 0.06);
    --s-art-ink: #111827; --s-art-fill: #ffffff; --s-art-tint: #dbe6fd; --s-art-dim: #9aa3b5; --s-art-quiet: #f3f5f9; --s-art-solid: #111827;
    --s-scheme: light;
    --s-violet: #1d4ed8;
    --s-white: #111827;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; color-scheme: var(--s-scheme); }
body.s-body {
    margin: 0;
    background: var(--s-bg);
    color: var(--s-text);
    font-family: var(--s-font);
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}
.s-body img { max-width: 100%; height: auto; }
.s-body a { color: var(--s-accent-ink); text-decoration: none; transition: color 140ms var(--s-ease); }
.s-body a:hover { color: var(--s-text); }
.s-body :focus-visible { outline: 2px solid var(--s-accent); outline-offset: 2px; border-radius: 4px; }
.s-body h1, .s-body h2, .s-body h3 { margin: 0; font-weight: 600; letter-spacing: 0; line-height: 1.2; color: var(--s-text); }
.s-body p { margin: 0; }
.s-body b, .s-body strong { font-weight: 600; }
.s-body code, .s-body kbd { font-family: var(--s-mono); font-size: 0.875em; }
.s-body :not(pre) > code { background: var(--s-raised); border: 1px solid var(--s-line); border-radius: 4px; padding: 0 4px; color: var(--s-text); white-space: nowrap; }

.s-wrap { width: 100%; max-width: var(--s-wrap); margin: 0 auto; padding: 0 32px; }
.s-wrap-narrow { max-width: 820px; }

/* ── Top bar: white, every common task named ── */
.s-nav { position: sticky; top: 0; z-index: 900; background: var(--s-nav); border-bottom: 1px solid var(--s-line-2); }
.s-nav-in { max-width: var(--s-wrap); margin: 0 auto; padding: 0 32px; min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.s-brand { display: inline-flex; align-items: center; gap: 8px; color: var(--s-text) !important; font-weight: 600; font-size: 17px; white-space: nowrap; }
.s-brand svg { width: 28px; height: 28px; flex: none; }
.s-brand small { font-weight: 400; font-size: 14px; color: var(--s-dim); padding-left: 12px; margin-left: 4px; border-left: 1px solid var(--s-line-2); }
.s-pills { display: flex; align-items: center; gap: 4px; }
.s-pills a { display: inline-flex; align-items: center; height: 36px; padding: 0 12px; border-radius: 8px; background: transparent; color: var(--s-muted); font-size: 14px; font-weight: 500; white-space: nowrap; transition: background-color 140ms var(--s-ease), color 140ms var(--s-ease); }
.s-pills a:hover { background: var(--s-raised); color: var(--s-text); }
.s-pills a.on { background: var(--s-soft); color: var(--s-accent-ink); }
.s-pills a.s-pill-out { box-shadow: inset 0 0 0 1px var(--s-line-2); color: var(--s-text); margin-left: 8px; }
.s-pills a.s-pill-out:hover { background: var(--s-raised); }

/* ── Page top band: words on the left, the thing you came to do on the right ── */
.s-top { padding: 80px 0; background: var(--s-band); border-bottom: 1px solid var(--s-line); }
.s-top-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; align-items: center; }
.s-top-grid.s-top-start { align-items: start; }
.s-top-solo { max-width: 720px; }
.s-kicker { display: block; font-size: 14px; font-weight: 500; color: var(--s-accent-ink); margin-bottom: 16px; }
.s-body h1.s-h1 { font-size: clamp(32px, 4vw, 44px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.12; }
.s-lead { margin-top: 20px !important; font-size: 18px; line-height: 28px; color: var(--s-muted); max-width: 40ch; }
.s-top-links { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px 24px; color: var(--s-muted); font-size: 15px; }
.s-textlink { font-weight: 500; font-size: 15px; color: var(--s-accent-ink); }

/* ── Sections: one idea each, with air between them ── */
.s-sec { padding: 96px 0; }
.s-sec + .s-sec { padding-top: 0; }
.s-sec.s-sec-alt { background: var(--s-surface); border-top: 1px solid var(--s-line); border-bottom: 1px solid var(--s-line); padding: 96px 0; margin-bottom: 96px; }
.s-sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; margin-bottom: 32px; }
.s-body .s-sec-head h2, .s-body h2.s-h2 { font-size: 28px; font-weight: 600; letter-spacing: -0.01em; }
.s-sec-head p, .s-sec-note { font-size: 15px; color: var(--s-muted); }
.s-sub { color: var(--s-muted); font-size: 15px; max-width: 70ch; margin-bottom: 16px !important; }

/* ── Card: the action surface, with its own header strip ── */
.s-card { background: var(--s-surface); border: 1px solid var(--s-line-2); border-radius: var(--s-radius); padding: 32px; box-shadow: var(--s-shadow-lg); }
.s-card-flat { box-shadow: none; }
.s-card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.s-card > .s-card-head:first-child { margin: -32px -32px 28px; padding: 20px 32px; background: var(--s-head); border-bottom: 1px solid var(--s-line); border-radius: 11px 11px 0 0; }
.s-card-head h2, .s-card-head h3 { font-size: 17px; font-weight: 600; }
.s-card-head p { font-size: 14px; line-height: 20px; color: var(--s-muted); }
.s-card > * + * { margin-top: 16px; }
.s-card > .s-card-head + * { margin-top: 0; }

/* Icon box: one size, one stroke, one tone. Icons never get their own colours */
.s-ic { flex: none; width: 40px; height: 40px; border-radius: 8px; display: grid; place-items: center; color: var(--s-accent-ink); background: var(--s-soft); }
.s-ic svg { width: 20px; height: 20px; stroke-width: 1.5; }
.s-ic-sm { width: 32px; height: 32px; border-radius: 8px; }
.s-ic-sm svg { width: 16px; height: 16px; }
.s-btn svg, .s-go svg, .s-end svg { stroke-width: 1.5; }

/* ── Task tiles: the whole tile is the link ── */
.s-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.s-tiles-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.s-tiles-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.s-tile { display: flex; align-items: center; gap: 16px; padding: 24px; min-height: 96px; border-radius: var(--s-radius); background: var(--s-surface); border: 1px solid var(--s-line-2); box-shadow: var(--s-shadow); color: var(--s-text) !important; transition: border-color 140ms var(--s-ease), box-shadow 140ms var(--s-ease); }
a.s-tile:hover, button.s-tile:hover { border-color: var(--s-accent); box-shadow: var(--s-shadow-lg); }
.s-tile b { display: block; font-size: 16px; font-weight: 600; line-height: 24px; }
.s-tile small { display: block; font-size: 14px; color: var(--s-muted); line-height: 20px; }
.s-tile .s-go { margin-left: auto; flex: none; width: 16px; height: 16px; color: var(--s-dim); }
.s-tile .s-go svg { width: 16px; height: 16px; display: block; }
a.s-tile:hover .s-go { color: var(--s-accent); }

/* ── Illustrations: ink outline, white fill, pale tint, one accent ── */
.s-art { display: block; width: 120px; height: 80px; flex: none; }
.s-art .a-s { fill: var(--s-art-fill); stroke: var(--s-art-ink); stroke-width: 1.5; stroke-linejoin: round; }
.s-art .a-q2 { fill: var(--s-art-quiet); stroke: var(--s-art-dim); }
.s-art .a-t, .s-art .a-tt { fill: var(--s-art-tint); }
.s-art .a-a { fill: #2563eb; }
.s-art .a-ad { fill: #2563eb; }
.s-art .a-ink { fill: var(--s-art-solid); }
.s-art .a-d { fill: var(--s-art-dim); }
.s-art .a-wd { fill: #fff; }
.s-art .a-kd { fill: var(--s-art-fill); }
.s-art .a-kl { stroke: var(--s-art-fill); stroke-width: 2; stroke-linecap: round; }
.s-art .a-wf { fill: #fff; }
.s-art .a-ok { fill: #16a34a; }
.s-art .a-warn { fill: #d97706; }
.s-art .a-l { stroke: var(--s-art-ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.s-art .a-l.a-q, .s-art .a-q { stroke: var(--s-art-dim); }
.s-art .a-al { stroke: #2563eb; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.s-art .a-il { stroke: var(--s-art-solid); stroke-width: 3; stroke-linecap: round; }
.s-art .a-w { stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Picture tiles: the drawing is the label's first half (home task grid) */
.s-atiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.s-atile { display: flex; flex-direction: column; border-radius: var(--s-radius); background: var(--s-surface); border: 1px solid var(--s-line-2); box-shadow: var(--s-shadow); color: var(--s-text) !important; overflow: hidden; transition: border-color 140ms var(--s-ease), box-shadow 140ms var(--s-ease); }
.s-atile:hover { border-color: var(--s-accent); box-shadow: var(--s-shadow-lg); }
.s-atile-art { display: grid; place-items: center; height: 144px; background: var(--s-band); border-bottom: 1px solid var(--s-line); }
.s-atile-art .s-art { width: 132px; height: 88px; }
.s-atile-body { display: flex; align-items: center; gap: 12px; padding: 20px 24px; }
.s-atile-body b { display: block; font-size: 16px; font-weight: 600; line-height: 24px; }
.s-atile-body small { display: block; font-size: 14px; line-height: 20px; color: var(--s-muted); }
.s-atile-body .s-go { margin-left: auto; flex: none; width: 16px; height: 16px; color: var(--s-dim); }
.s-atile-body .s-go svg { width: 16px; height: 16px; display: block; }
.s-atile:hover .s-go { color: var(--s-accent); }

/* Picture strip: a sequence told in drawings, one short caption each */
.s-strip { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: st; }
.s-strip > li { counter-increment: st; position: relative; min-width: 0; }
.s-strip-art { display: grid; place-items: center; height: 120px; border-radius: var(--s-radius); background: var(--s-surface); border: 1px solid var(--s-line-2); }
.s-strip-art .s-art { width: 108px; height: 72px; }
.s-strip > li + li .s-strip-art::before { content: ''; position: absolute; left: -13px; top: 55px; width: 8px; height: 8px; border-top: 1.5px solid var(--s-dim); border-right: 1.5px solid var(--s-dim); transform: rotate(45deg); }
.s-strip-cap { display: flex; gap: 8px; margin-top: 12px; font-size: 14px; line-height: 20px; color: var(--s-text); font-weight: 500; }
.s-strip-cap::before { content: counter(st); flex: none; width: 20px; height: 20px; border-radius: 6px; display: grid; place-items: center; background: var(--s-soft); color: var(--s-accent-ink); font: 500 12px var(--s-mono); }
.s-card .s-strip-art { background: var(--s-head); border-color: var(--s-line); }

/* Path: where something lives in the panel, shown as the clicks you make */
.s-where { display: flex; align-items: center; gap: 24px; }
.s-where .s-art { width: 120px; height: 80px; }
.s-path { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 15px; line-height: 24px; }
.s-path span { white-space: nowrap; padding: 8px 12px; border-radius: 8px; background: var(--s-head); border: 1px solid var(--s-line-2); color: var(--s-text); font-weight: 500; }
.s-path span.on { background: var(--s-primary); border-color: var(--s-primary); color: #fff; }
.s-path i { width: 8px; height: 8px; border-top: 1.5px solid var(--s-dim); border-right: 1.5px solid var(--s-dim); transform: rotate(45deg); margin: 0 4px 0 -2px; flex: none; }

/* Figures: a few true numbers, large, on a plain rule */
.s-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--s-line-2); border-bottom: 1px solid var(--s-line-2); }
.s-stats > div { padding: 32px 0 32px 32px; }
.s-stats > div:first-child { padding-left: 0; }
.s-stats > div + div { border-left: 1px solid var(--s-line); }
.s-stats b { display: block; font-size: 48px; line-height: 56px; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; color: var(--s-text); }
.s-stats span { display: block; font-size: 15px; line-height: 24px; color: var(--s-muted); }

/* One large drawing beside a page title */
.s-art.s-art-lg { width: 240px; height: 160px; }

/* Wide strip: used as a section's whole content */
.s-strip-wide { gap: 24px; }
.s-strip-wide .s-strip-art { height: 176px; }
.s-strip-wide .s-strip-art .s-art { width: 150px; height: 100px; }
.s-strip-wide > li + li .s-strip-art::before { left: -17px; top: 83px; }
.s-strip-wide .s-strip-cap { font-size: 16px; line-height: 24px; margin-top: 16px; }
.s-strip-wide .s-strip-cap::before { width: 24px; height: 24px; }

/* Flow: what the product does, as one picture (home) */
.s-flow { display: grid; grid-template-columns: minmax(0, 1fr) 48px minmax(0, 1fr) 48px minmax(0, 1fr); align-items: stretch; }
.s-flow-node { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 32px 24px; border-radius: var(--s-radius); background: var(--s-surface); border: 1px solid var(--s-line-2); box-shadow: var(--s-shadow); }
.s-flow-node .s-art { width: 150px; height: 100px; margin-bottom: 20px; }
.s-flow-node b { font-size: 17px; font-weight: 600; line-height: 24px; }
.s-flow-node small { font-size: 14px; line-height: 20px; color: var(--s-muted); margin-top: 4px; max-width: 28ch; }
.s-flow-node.mid { border-color: var(--s-accent); box-shadow: 0 0 0 1px var(--s-accent), var(--s-shadow-lg); }
.s-flow-arrow { display: grid; place-items: center; color: var(--s-dim); }
.s-flow-arrow svg { width: 24px; height: 24px; }
.s-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; margin-top: 16px; }
.s-tags span { font: 500 12px/24px var(--s-mono); padding: 0 8px; border-radius: 6px; background: var(--s-raised); color: var(--s-muted); }

/* ── Buttons: one accent-filled primary per view, the rest quiet ── */
.s-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 24px; border-radius: var(--s-radius-sm); border: 1px solid transparent; background: var(--s-primary); color: #fff !important; font: 600 15px var(--s-font); cursor: pointer; text-decoration: none; white-space: nowrap; transition: background-color 140ms var(--s-ease), border-color 140ms var(--s-ease), transform 140ms var(--s-ease); }
.s-btn:hover { background: var(--s-primary-hi); }
.s-btn:active { transform: scale(0.98); }
.s-btn:disabled, .s-btn[disabled] { opacity: .55; cursor: not-allowed; }
.s-btn svg { width: 16px; height: 16px; flex: none; }
.s-btn-block { width: 100%; }
.s-btn-quiet { background: var(--s-surface); border-color: var(--s-line-2); color: var(--s-text) !important; font-weight: 500; }
.s-btn-quiet:hover { background: var(--s-raised); }
.s-btn-sm { height: 36px; padding: 0 16px; font-size: 14px; }
.s-btn-danger { background: transparent; border-color: rgba(220, 38, 38, 0.45); color: var(--s-danger) !important; }

/* ── Forms: label, optional (i) tooltip, field. No placeholder that repeats the label, no hint line ── */
.s-label { display: flex; align-items: center; gap: 8px; font-size: 14px; line-height: 20px; font-weight: 500; color: var(--s-text); margin-bottom: 8px; }
.s-field, .s-body .s-card input[type=text].s-field { width: 100%; height: 48px; padding: 0 16px; border-radius: var(--s-radius-sm); border: 1px solid var(--s-line-2); background: var(--s-bg-2); color: var(--s-text); font: 400 15px var(--s-font); outline: none; transition: border-color 140ms var(--s-ease), box-shadow 140ms var(--s-ease); }
.s-field::placeholder { color: var(--s-dim); }
.s-field:hover { border-color: var(--s-line-3); }
.s-field:focus { border-color: var(--s-accent); box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.16); }
.s-field-mono { font-family: var(--s-mono); font-size: 14px; }
textarea.s-field { height: auto; padding: 12px 16px; line-height: 1.5; }
.s-hint { font-size: 14px; line-height: 20px; color: var(--s-muted); margin-top: 12px !important; }
.s-row { display: flex; gap: 8px; align-items: center; }
.s-row > .s-field { flex: 1; min-width: 0; }
.s-stack > * + * { margin-top: 20px; }

/* Info tooltip after a label */
.s-tip { position: relative; display: inline-grid; place-items: center; flex: none; width: 16px; height: 16px; padding: 0; border: 1px solid var(--s-line-3); border-radius: 50%; background: transparent; color: var(--s-muted); font: 500 11px/1 var(--s-mono); cursor: help; vertical-align: middle; transition: background-color 140ms var(--s-ease), color 140ms var(--s-ease), border-color 140ms var(--s-ease); }
.s-tip::before { content: 'i'; font-style: normal; }
.s-tip:hover, .s-tip:focus { background: var(--s-primary); border-color: var(--s-primary); color: #fff; outline: none; }
.s-tip-box { position: absolute; z-index: 50; left: 50%; bottom: calc(100% + 8px); transform: translate(-50%, 4px); width: max-content; max-width: 264px; padding: 12px 16px; border-radius: 8px; background: var(--s-tip-bg); color: #eef0f5; font: 400 13px/20px var(--s-font); text-align: left; white-space: normal; box-shadow: var(--s-shadow-lg); display: none; pointer-events: none; }
.s-tip-box b { color: #fff; }
.s-tip:hover .s-tip-box, .s-tip:focus .s-tip-box { display: block; transform: translate(-50%, 0); }
@media (max-width: 600px) { .s-tip-box { left: -24px; transform: translate(0, 4px); max-width: 240px; } .s-tip:hover .s-tip-box, .s-tip:focus .s-tip-box { transform: translate(0, 0); } }

/* ── Command line with copy: the signature detail, the one dark object on the page ── */
.s-cmd { display: flex; align-items: center; gap: 8px; padding: 0 8px 0 16px; min-height: 56px; border-radius: var(--s-radius-sm); background: var(--s-ink); border: 1px solid var(--s-cmd-line); }
.s-body .s-cmd code { flex: 1; min-width: 0; overflow-x: auto; white-space: nowrap; font-size: 13px; color: #eef0f5; padding: 16px 0; scrollbar-width: none; background: none !important; border: 0 !important; }
.s-cmd code::-webkit-scrollbar { display: none; }
.s-cmd code::before { content: '$ '; color: #4cc38a; }
.s-cmd.s-cmd-plain code::before { content: none; }
.s-copy { flex: none; height: 36px; padding: 0 16px; border-radius: 6px; border: 1px solid rgba(238, 240, 245, 0.16); background: rgba(238, 240, 245, 0.08); color: #eef0f5; font: 500 13px var(--s-font); cursor: pointer; transition: background-color 140ms var(--s-ease); }
.s-copy:hover { background: rgba(238, 240, 245, 0.16); }
.s-copy.done { color: #4cc38a; }
.s-cmds { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
.s-cmds > div > span { display: block; font-size: 14px; line-height: 20px; color: var(--s-muted); margin-bottom: 8px; }

/* ── Steps: only for real sequences ── */
.s-steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.s-steps > li { counter-increment: s; position: relative; min-height: 24px; padding: 0 0 16px 40px; color: var(--s-muted); font-size: 15px; line-height: 24px; }
.s-steps > li:last-child { padding-bottom: 0; }
.s-steps > li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 6px; display: grid; place-items: center; background: var(--s-surface); border: 1px solid var(--s-line-2); color: var(--s-text); font: 500 12px var(--s-mono); }
.s-steps b, .s-steps strong { color: var(--s-text); }

/* ── Notes: the left rule carries the meaning ── */
.s-note { --c: var(--s-accent); padding: 16px 20px; border-radius: var(--s-radius-sm); background: var(--s-surface); border: 1px solid var(--s-line-2); border-left: 3px solid var(--c); font-size: 14px; line-height: 22px; color: var(--s-muted); }
.s-note b, .s-note strong { color: var(--s-text); }
.s-note > b:first-child, .s-note > strong:first-child { display: block; margin-bottom: 4px; }
.s-note.warn { --c: var(--s-warn); }
.s-note.ok { --c: var(--s-ok); }
.s-note.bad { --c: var(--s-danger); }

/* ── Badges and chips ── */
.s-badge { --c: var(--s-muted); display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 8px; border-radius: 6px; font-size: 13px; font-weight: 500; color: var(--c); background: var(--s-raised); white-space: nowrap; }
.s-badge.ok { --c: var(--s-ok); background: var(--s-ok-soft); } .s-badge.warn { --c: var(--s-warn); background: var(--s-warn-soft); } .s-badge.bad { --c: var(--s-danger); background: var(--s-danger-soft); } .s-badge.info { --c: var(--s-accent-ink); background: var(--s-soft); }
.s-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.s-chip { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 16px; border-radius: 8px; background: var(--s-surface); border: 1px solid var(--s-line-2); color: var(--s-muted); font: 500 14px var(--s-font); cursor: pointer; transition: background-color 140ms var(--s-ease), color 140ms var(--s-ease), border-color 140ms var(--s-ease); }
.s-chip:hover { background: var(--s-raised); color: var(--s-text); }
.s-chip.on, .s-chip.active { background: var(--s-soft); color: var(--s-accent-ink); border-color: var(--s-accent); }
.s-chip i, .s-chip .n { font: 400 12px var(--s-mono); font-style: normal; color: var(--s-dim); }

/* ── Lists and tables ── */
.s-list { border: 1px solid var(--s-line-2); border-radius: var(--s-radius); background: var(--s-surface); overflow: hidden; box-shadow: var(--s-shadow); }
.s-list > * { display: flex; align-items: center; gap: 16px; padding: 16px 24px; color: var(--s-text) !important; transition: background-color 140ms var(--s-ease); }
.s-list > * + * { border-top: 1px solid var(--s-line); }
.s-list > a:hover, .s-list > button:hover { background: var(--s-head); }
.s-list b { font-weight: 500; }
.s-list small { display: block; color: var(--s-muted); font-size: 13px; line-height: 20px; }
.s-list .s-end { margin-left: auto; flex: none; color: var(--s-muted); font-size: 14px; }
.s-table-wrap { border: 1px solid var(--s-line-2); border-radius: var(--s-radius); background: var(--s-surface); overflow-x: auto; box-shadow: var(--s-shadow); }
.s-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.s-table th { text-align: left; font-size: 13px; font-weight: 500; color: var(--s-muted); padding: 12px 16px; background: var(--s-head); border-bottom: 1px solid var(--s-line-2); white-space: nowrap; }
.s-table td { padding: 16px; border-bottom: 1px solid var(--s-line); vertical-align: middle; }
.s-table tr:last-child td { border-bottom: 0; }
.s-table tbody tr[data-href], .s-table tbody tr.s-click { cursor: pointer; }
.s-table tbody tr[data-href]:hover, .s-table tbody tr.s-click:hover { background: var(--s-head); }

/* ── Pricing ── */
.s-plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.s-plan { display: flex; flex-direction: column; gap: 4px; padding: 24px; border-radius: var(--s-radius); background: var(--s-surface); border: 1px solid var(--s-line-2); box-shadow: var(--s-shadow); }
.s-plan.pick { border-color: var(--s-accent); box-shadow: 0 0 0 1px var(--s-accent), var(--s-shadow-lg); }
.s-plan-name { font-size: 14px; line-height: 24px; font-weight: 500; color: var(--s-muted); display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.s-plan-price { font-size: 32px; font-weight: 600; letter-spacing: -0.02em; line-height: 40px; font-variant-numeric: tabular-nums; }
.s-plan-meta { font-size: 14px; line-height: 20px; color: var(--s-muted); margin-bottom: 24px; font-variant-numeric: tabular-nums; }
.s-plan .s-btn { margin-top: auto; height: 44px; padding: 0 12px; }

/* ── Features: plain list, no card chrome ── */
.s-feats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 64px; }
.s-feat { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; }
.s-feat h3 { font-size: 16px; line-height: 24px; font-weight: 600; margin-bottom: 4px; }
.s-feat p { font-size: 15px; line-height: 24px; color: var(--s-muted); }

/* ── Screenshot frame ── */
.s-shot { border: 1px solid var(--s-line-2); border-radius: var(--s-radius); overflow: hidden; background: var(--s-ink); line-height: 0; box-shadow: var(--s-shadow-lg); }
.s-shot img { width: 100%; display: block; }

/* ── FAQ ── */
.s-faq { border: 1px solid var(--s-line-2); border-radius: var(--s-radius); background: var(--s-surface); overflow: hidden; box-shadow: var(--s-shadow); }
.s-faq details + details { border-top: 1px solid var(--s-line); }
.s-faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 16px 24px; font-weight: 500; font-size: 15px; transition: background-color 140ms var(--s-ease); }
.s-faq summary::-webkit-details-marker { display: none; }
.s-faq summary::after { content: ''; flex: none; width: 8px; height: 8px; border-right: 1.5px solid var(--s-dim); border-bottom: 1.5px solid var(--s-dim); transform: rotate(45deg); transition: transform 180ms var(--s-ease); margin-right: 4px; }
.s-faq details[open] summary::after { transform: rotate(-135deg); }
.s-faq summary:hover { background: var(--s-head); }
.s-faq .s-faq-a { padding: 0 24px 24px; color: var(--s-muted); font-size: 15px; line-height: 24px; max-width: 78ch; }
.s-faq .s-faq-a a { font-weight: 500; }
.s-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; align-items: start; }

/* ── Long-form guide pages ── */
.s-prose { max-width: 720px; font-size: 16px; line-height: 28px; color: var(--s-muted); }
.s-prose > * + * { margin-top: 20px; }
.s-prose h2 { font-size: 26px; margin-top: 64px; scroll-margin-top: 88px; }
.s-prose h3 { font-size: 18px; margin-top: 40px; }
.s-prose ul, .s-prose ol { padding-left: 24px; margin: 20px 0 0; }
.s-prose li + li { margin-top: 8px; }
.s-prose strong, .s-prose b { color: var(--s-text); }
.s-prose a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(29, 78, 216, 0.35); }
.s-prose pre { background: var(--s-ink); border-radius: var(--s-radius-sm); padding: 16px 20px; overflow-x: auto; font-size: 13px; line-height: 20px; color: #eef0f5; }
.s-prose pre code { font-family: var(--s-mono); color: #eef0f5; }
.s-prose table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 20px; }
.s-prose th, .s-prose td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--s-line); }
.s-prose th { color: var(--s-text); font-size: 13px; font-weight: 500; }
.s-toc { display: flex; flex-wrap: wrap; gap: 8px; }
.s-toc a { font-size: 13px; line-height: 20px; font-weight: 500; padding: 4px 12px; border-radius: 6px; background: var(--s-surface); border: 1px solid var(--s-line-2); color: var(--s-muted); }
.s-toc a:hover { color: var(--s-text); }
.s-crumbs { font-size: 13px; line-height: 20px; color: var(--s-dim); margin-bottom: 16px; }
.s-crumbs a { color: var(--s-muted); }

/* ── Modal ── */
.s-modal-back { position: fixed; inset: 0; z-index: 1000; background: rgba(15, 20, 32, 0.5); display: none; align-items: flex-start; justify-content: center; padding: 6vh 16px; overflow-y: auto; }
.s-modal-back.open, .s-modal-back.active, .s-modal-back.show { display: flex; }
.s-modal { width: 100%; max-width: 640px; background: var(--s-surface); border: 1px solid var(--s-line-2); border-radius: 16px; padding: 32px; box-shadow: 0 24px 64px rgba(17, 24, 39, 0.18); }
.s-modal > * + * { margin-top: 20px; }
.s-x { margin-left: auto; flex: none; width: 36px; height: 36px; border-radius: 8px; border: 1px solid var(--s-line-2); background: var(--s-surface); color: var(--s-text); font-size: 16px; line-height: 1; cursor: pointer; }
.s-x:hover { background: var(--s-raised); }

/* ── Footer: the dark base of the page ── */
.s-foot { margin-top: 0; padding: 64px 0; background: var(--s-foot); font-size: 14px; line-height: 20px; color: #a3a9b8; }
.s-sec-alt + .s-foot, .s-top + .s-foot, main:has(> .s-top:last-child) + .s-foot, main:has(> .s-sec-alt:last-child) + .s-foot { margin-top: 0; }
main:has(> .s-sec-alt:last-child) > .s-sec-alt:last-child { margin-bottom: 0; }
.s-foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.4fr; gap: 48px; }
.s-body .s-foot b { display: block; color: #eef0f5; font-size: 14px; font-weight: 500; margin-bottom: 12px; }
.s-body .s-foot a { display: block; color: #a3a9b8; padding: 4px 0; }
.s-body .s-foot a:hover { color: #fff; }
.s-foot-base { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(238, 240, 245, 0.1); font-size: 13px; color: #7a8296; }

.s-hide { display: none !important; }
.s-mt { margin-top: 16px !important; }
.s-center { text-align: center; }

/* ── Small screens ── */
@media (max-width: 980px) {
    .s-nav-in { flex-wrap: wrap; padding: 12px 16px 0; gap: 8px; }
    .s-pills { width: 100%; overflow-x: auto; padding-bottom: 12px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
    .s-pills::-webkit-scrollbar { display: none; }
    html { scroll-padding-top: 120px; }
}
@media (max-width: 900px) {
    .s-top { padding: 48px 0; }
    .s-top-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
    .s-sec, .s-sec.s-sec-alt { padding: 64px 0; }
    .s-sec.s-sec-alt { margin-bottom: 64px; }
    .s-sec + .s-sec { padding-top: 0; }
    .s-tiles, .s-tiles-4, .s-atiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .s-atiles { gap: 16px; }
    .s-flow { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .s-flow-arrow { height: 40px; }
    .s-flow-arrow svg { transform: rotate(90deg); }
    .s-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .s-feats, .s-cols { grid-template-columns: minmax(0, 1fr); }
    .s-foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 600px) {
    .s-wrap { padding: 0 16px; }
    .s-tiles, .s-tiles-2, .s-tiles-4, .s-plans, .s-cmds { grid-template-columns: minmax(0, 1fr); }
    .s-sec, .s-sec.s-sec-alt { padding: 48px 0; }
    .s-sec.s-sec-alt { margin-bottom: 48px; }
    .s-sec + .s-sec { padding-top: 0; }
    .s-where { flex-direction: column; align-items: flex-start; gap: 16px; }
    .s-stats > div { padding: 20px 0 20px 16px; }
    .s-stats b { font-size: 32px; line-height: 40px; }
    .s-art.s-art-lg { width: 180px; height: 120px; }
    .s-atile-art { height: 104px; }
    .s-atile-art .s-art { width: 96px; height: 64px; }
    .s-atile-body { padding: 12px 16px; }
    .s-atile-body small, .s-atile-body .s-go { display: none; }
    .s-strip, .s-strip-wide { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .s-strip > li { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 16px; align-items: center; }
    .s-strip .s-strip-cap, .s-strip-wide .s-strip-cap { margin-top: 0; font-size: 15px; }
    .s-strip-art, .s-strip-wide .s-strip-art { height: 80px; }
    .s-strip-art .s-art, .s-strip-wide .s-strip-art .s-art { width: 78px; height: 52px; }
    .s-strip > li + li .s-strip-art::before { display: none; }
    .s-card { padding: 20px; }
    .s-card > .s-card-head:first-child { margin: -20px -20px 20px; padding: 16px 20px; }
    .s-tile { padding: 16px; min-height: 72px; }
    .s-brand small { display: none; }
    .s-foot { padding: 48px 0; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .s-body * { transition: none !important; animation: none !important; }
}

/* Theme button in the top bar */
.s-theme { flex: none; width: 36px; height: 36px; margin-left: 4px; padding: 0; border-radius: 8px; border: 1px solid var(--s-line-2); background: transparent; color: var(--s-text); cursor: pointer; display: inline-grid; place-items: center; transition: background-color 140ms var(--s-ease); }
.s-theme:hover { background: var(--s-raised); }
.s-theme svg { width: 18px; height: 18px; stroke-width: 1.5; }
.s-theme .s-sun { display: block; } .s-theme .s-moon { display: none; }
html[data-theme=light] .s-theme .s-sun { display: none; } html[data-theme=light] .s-theme .s-moon { display: block; }
