/* Fixslip site: tokens from design/tokens.md ("workbench job tag"). */
:root {
  --ground: #eef0f2;
  --surface: #ffffff;
  --ink: #15191e;
  --muted: #4f5864;
  --body: #3b434d;
  --line: #d5dae0;
  --accent: #c2410c;
  --on-accent: #ffffff;
  --tag: #f2d58a;
  --tag-ink: #15191e;
  --band: #15191e;
  --band-ink: #e6e9ec;
  --band-muted: #a3adb8;
  --radius: 14px;
  --max: 1120px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ground: #111418;
    --surface: #1b2027;
    --ink: #e6e9ec;
    --muted: #a3adb8;
    --body: #c3cad2;
    --line: #2c333c;
    --accent: #f58a4b;
    --on-accent: #111418;
    --tag: #d9bc6e;
    --band: #0b0d10;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 17px/1.6 "IBM Plex Sans", system-ui, sans-serif;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); }
a:hover { text-decoration-thickness: 2px; }
.mono { font-family: "IBM Plex Mono", ui-monospace, monospace; font-weight: 600; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Header */
.bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 22px; }
.tag-mark { width: 26px; height: 34px; background: var(--tag); clip-path: polygon(22% 0, 78% 0, 100% 16%, 100% 100%, 0 100%, 0 16%); position: relative; }
.tag-mark::after { content: ""; position: absolute; left: 50%; top: 6px; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: var(--ground); }
.bar nav { display: flex; flex-wrap: wrap; gap: 20px; }
.bar nav a { color: var(--ink); text-decoration: none; font-size: 15px; }
.bar nav a:hover, .bar nav a[aria-current] { color: var(--accent); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 24px; border-radius: 12px; font-weight: 600; font-size: 16px; text-decoration: none; }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-dark { background: var(--ink); color: var(--ground); }
.btn:focus-visible, a:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* Hero */
.hero { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding: 40px 0 72px; }
.hero-copy { flex: 999 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.pill { align-self: flex-start; padding: 6px 12px; border-radius: 999px; background: var(--tag); color: var(--tag-ink); font-size: 14px; font-weight: 600; }
h1 { margin: 0; font-size: clamp(38px, 5.4vw, 62px); line-height: 1.04; letter-spacing: -0.02em; }
.lede { margin: 0; font-size: 19px; color: var(--body); max-width: 36rem; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.cta-note { color: var(--body); font-size: 15px; }
.hero-video { flex: 1 1 280px; min-width: 0; display: flex; justify-content: center; }
.player { position: relative; width: 100%; max-width: 330px; aspect-ratio: 9 / 16; border-radius: 28px; overflow: hidden; background: #15191e; border: 0; padding: 0; cursor: pointer; }
.player img { width: 100%; height: 100%; object-fit: cover; }
.player .play { position: absolute; inset: 0; display: grid; place-items: center; }
.player .play span { width: 76px; height: 76px; border-radius: 50%; background: rgba(21, 25, 30, 0.78); display: grid; place-items: center; }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Sections */
section { padding: 64px 0; }
.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
h2 { margin: 0 0 12px; font-size: clamp(28px, 3.6vw, 38px); line-height: 1.15; letter-spacing: -0.01em; }
h3 { margin: 0 0 6px; font-size: 21px; }
.section-lede { margin: 0 0 36px; color: var(--body); max-width: 40rem; }
.pains { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 24px; }
.pains p { margin: 0; color: var(--body); }
.pains strong { color: var(--ink); }

.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; padding: 28px 0; }
.feature.flip .shot { order: 2; }
.feature p { color: var(--body); margin: 0 0 10px; }
.shot { margin: 0; display: flex; justify-content: center; }
.shot img { width: 100%; max-width: 300px; border-radius: 22px; border: 1px solid var(--line); box-shadow: 0 18px 50px rgba(21, 25, 30, 0.12); }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 20px; padding: 0; margin: 0; list-style: none; counter-reset: s; }
.steps li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; counter-increment: s; }
.steps li::before { content: counter(s, decimal-leading-zero); display: block; font-family: "IBM Plex Mono", monospace; font-weight: 600; color: var(--accent); margin-bottom: 6px; }
.steps p { margin: 0; color: var(--body); font-size: 16px; }

.tree { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; font: 500 14px/1.9 "IBM Plex Mono", monospace; white-space: pre; overflow-x: auto; margin: 0; }
.split { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.split > div { flex: 999 1 420px; min-width: 0; }
.split > .tree { flex: 1 1 280px; min-width: 0; }

.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 18px; }
.faq p { margin: 10px 0 0; color: var(--body); }

.band { background: var(--band); color: var(--band-ink); text-align: center; }
.band h2 { color: #fff; }
.band p { color: var(--band-muted); }
.band .btn-primary { background: #f58a4b; color: #111418; }

footer { background: var(--band); color: var(--band-muted); border-top: 1px solid #2c333c; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; padding: 28px 24px; font-size: 14px; }
footer a { color: var(--band-ink); }

/* Document pages */
.doc { max-width: 760px; padding: 24px 0 72px; }
.doc h1 { font-size: clamp(32px, 4.5vw, 46px); margin-bottom: 8px; }
.doc .meta { color: var(--muted); margin-top: 0; }
.doc h2 { font-size: 24px; margin-top: 36px; }
.doc p, .doc li { color: var(--body); }

@media (max-width: 760px) {
  .feature { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .feature.flip .shot { order: 0; }
  section { padding: 48px 0; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
