/* After AI Work v2. Theme: "draft to done", green.
   Every visual device comes from the mark: a dashed grey state (the AI draft), an arrow (the handoff),
   a solid green state (finished work). Brand #119E4B; every neutral is tinted from that hue.
   Inter only. Body 400, UI 500/600, h3/h4 700, large display type 600. Nothing above 700. No gradients. */

@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(fonts/inter-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(fonts/inter-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ---------- tokens (token names kept from v1; --cobalt now holds the green) ---------- */
:root {
  --paper: #FFFFFF;
  --paper-2: #F4F8F5;
  --paper-3: #EAF1EC;
  --ink: #0C1410;
  --ink-2: #3B4A41;
  --ink-3: #66756C;
  --rule: #DFE7E1;
  --rule-2: #C5D1C9;
  --cobalt: #119E4B;
  --cobalt-2: #0E8540;
  --cobalt-soft: #E4F5EA;
  --cobalt-ink: #FFFFFF;
  --draft: #6B7F73;
  --draft-soft: #EDF2EE;
  --done: #119E4B;
  --done-soft: #E4F5EA;
  --shadow: 0 1px 2px rgba(12,20,16,.05), 0 12px 32px -16px rgba(12,20,16,.18);
  --shadow-lg: 0 2px 4px rgba(12,20,16,.05), 0 32px 64px -24px rgba(12,20,16,.28);
  --r: 14px;
  --r-lg: 22px;
  --r-pill: 999px;
  --wrap: 1180px;
  --top-h: 64px;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --display: 'Inter', system-ui, sans-serif;
  --ease: cubic-bezier(.2,.7,.2,1);
  color-scheme: light;
}
html[data-theme="dark"] {
  --paper: #0C1410;
  --paper-2: #121C16;
  --paper-3: #19251E;
  --ink: #F2F7F4;
  --ink-2: #C0CCC5;
  --ink-3: #87978D;
  --rule: #223029;
  --rule-2: #32443A;
  --cobalt: #119E4B;
  --cobalt-2: #17B558;
  --cobalt-soft: #10301E;
  --cobalt-ink: #FFFFFF;
  --draft: #8FA398;
  --draft-soft: #18241D;
  --done: #119E4B;
  --done-soft: #10301E;
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 12px 32px -16px rgba(0,0,0,.6);
  --shadow-lg: 0 2px 4px rgba(0,0,0,.4), 0 32px 64px -24px rgba(0,0,0,.7);
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  html[data-theme="auto"] {
    --paper: #0C1410; --paper-2: #121C16; --paper-3: #19251E;
    --ink: #F2F7F4; --ink-2: #C0CCC5; --ink-3: #87978D;
    --rule: #223029; --rule-2: #32443A;
    --cobalt: #119E4B; --cobalt-2: #17B558; --cobalt-soft: #10301E; --cobalt-ink: #FFFFFF;
    --draft: #8FA398; --draft-soft: #18241D;
    --done: #119E4B; --done-soft: #10301E;
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 12px 32px -16px rgba(0,0,0,.6);
    --shadow-lg: 0 2px 4px rgba(0,0,0,.4), 0 32px 64px -24px rgba(0,0,0,.7);
    color-scheme: dark;
  }
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--top-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; font-feature-settings: 'cv11', 'ss01'; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -.022em; line-height: 1.12; text-wrap: balance; }
h1 { font-family: var(--display); font-weight: 600; font-size: clamp(38px, 5.6vw, 70px); letter-spacing: -.03em; line-height: 1.04; }
h2 { font-weight: 600; font-size: clamp(28px, 3.4vw, 42px); letter-spacing: -.025em; }
h3 { font-size: 21px; letter-spacing: -.012em; }
h4 { font-size: 17px; letter-spacing: 0; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
li { margin: .3em 0; }
strong { font-weight: 600; }
::selection { background: var(--cobalt); color: var(--cobalt-ink); }
:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; background: var(--ink); color: var(--paper); border-radius: 8px; }
.skip:focus { top: 12px; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
@media (max-width: 640px) { .wrap { width: min(var(--wrap), 100% - 32px); } }
.logo-light { display: block; } .logo-dark { display: none; }
html[data-theme="dark"] .logo-light { display: none; } html[data-theme="dark"] .logo-dark { display: block; }
@media (prefers-color-scheme: dark) { html[data-theme="auto"] .logo-light { display: none; } html[data-theme="auto"] .logo-dark { display: block; } }

/* ---------- type helpers ---------- */
.kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.kicker::before { content: ''; width: 22px; height: 2px; border-top: 2px dashed var(--draft); }
.kicker.on-accent { color: var(--cobalt); } .kicker.on-accent::before { border-color: var(--cobalt); }
.lead { font-size: clamp(19px, 1.55vw, 22px); line-height: 1.5; color: var(--ink-2); max-width: 46ch; text-wrap: pretty; }
.muted { color: var(--ink-3); }
.small { font-size: 14px; }
.mono { font-family: ui-monospace, 'Cascadia Mono', 'SF Mono', Menlo, Consolas, monospace; font-size: .92em; }
.tlink { color: var(--cobalt); font-weight: 600; text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--cobalt) 40%, transparent); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.tlink:hover { text-decoration-color: var(--cobalt); }
.link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--cobalt); }
.link svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.link:hover svg { transform: translateX(4px); }
.accent { color: var(--cobalt); }
.hairline { border: 0; border-top: 1px solid var(--rule); margin: 0; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 22px; border-radius: var(--r-pill); font-weight: 600; font-size: 16px; line-height: 1; border: 1.5px solid transparent; cursor: pointer; white-space: nowrap; transition: transform .2s var(--ease), background .2s, color .2s, border-color .2s, box-shadow .2s; }
.btn svg { width: 18px; height: 18px; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--cobalt); color: var(--cobalt-ink); }
.btn-primary:hover { background: var(--cobalt-2); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--ink-2); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--rule-2); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-outline { background: transparent; color: var(--cobalt); border-color: var(--cobalt); }
.btn-outline:hover { background: var(--cobalt); color: var(--cobalt-ink); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14.5px; }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 17px; }
.btn-primary .arrow { transition: transform .25s var(--ease); }
.btn-primary:hover .arrow { transform: translateX(3px); }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 50; height: var(--top-h); background: color-mix(in srgb, var(--paper) 86%, transparent); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.top.is-scrolled { border-bottom-color: var(--rule); }
.top-in { display: flex; align-items: center; gap: 28px; height: 100%; }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand img { height: 30px; width: auto; }
.nav { flex: 1; display: flex; justify-content: center; }
.nav-links { display: flex; gap: 4px; }
.nav-links a { padding: 8px 12px; border-radius: 8px; font-size: 15px; font-weight: 500; color: var(--ink-2); white-space: nowrap; transition: color .2s, background .2s; }
.nav-links a:hover { color: var(--ink); background: var(--paper-2); }
.nav-links a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.top-actions { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.signin { font-size: 15px; font-weight: 500; color: var(--ink-2); text-decoration: none; }
.signin:hover { color: var(--ink); }
.menu-btn, .menu-close { display: none; width: 40px; height: 40px; border: 0; border-radius: 10px; background: transparent; color: var(--ink); cursor: pointer; align-items: center; justify-content: center; }
.menu-btn svg, .menu-close svg { width: 22px; height: 22px; }
.menu-btn:hover, .menu-close:hover { background: var(--paper-2); }
@media (max-width: 960px) {
  .nav { display: none; }
  .signin { display: none; }
  .menu-btn { display: inline-flex; }
  .top-actions { gap: 6px; }
  .top-in { gap: 12px; }
  .brand img { height: 26px; }
}
@media (max-width: 400px) {
  .top-actions .btn { padding: 0 12px; font-size: 13.5px; min-height: 36px; }
  .brand img { height: 23px; }
}

/* drawer */
.drawer { position: fixed; inset: 0 0 0 auto; width: min(360px, 88vw); z-index: 70; background: var(--paper); box-shadow: var(--shadow-lg); transform: translateX(100%); transition: transform .35s var(--ease); }
.drawer[hidden] { display: block; visibility: hidden; }
.drawer.is-open { transform: none; visibility: visible; }
.drawer-in { display: flex; flex-direction: column; height: 100%; padding: 14px 20px 28px; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; height: 36px; }
.drawer-title { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.menu-close { display: inline-flex; }
.drawer-nav { display: flex; flex-direction: column; margin-top: 28px; }
.drawer-nav a { padding: 14px 0; font-size: 22px; font-weight: 600; letter-spacing: -.01em; border-bottom: 1px solid var(--rule); }
.drawer-nav a[aria-current="page"] { color: var(--cobalt); }
.drawer-actions { display: flex; flex-direction: column; gap: 10px; margin-top: auto; padding-top: 28px; }
.drawer-backdrop { position: fixed; inset: 0; z-index: 60; background: rgba(11,13,18,.45); opacity: 0; transition: opacity .3s; }
.drawer-backdrop[hidden] { display: block; visibility: hidden; }
.drawer-backdrop.is-open { opacity: 1; visibility: visible; }
body.no-scroll { overflow: hidden; }

/* ---------- sections ---------- */
.sec { padding: clamp(72px, 9vw, 128px) 0; }
.sec-tight { padding: clamp(48px, 6vw, 88px) 0; }
.sec-2 { background: var(--paper-2); }
.sec-ink { background: var(--ink); color: var(--paper); }
.sec-ink .kicker { color: color-mix(in srgb, var(--paper) 60%, transparent); }
.sec-ink .lead, .sec-ink .muted { color: color-mix(in srgb, var(--paper) 72%, transparent); }
.sec-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head.center .lead { margin-inline: auto; }
.sec-head .lead { margin-top: 18px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split > [style*="order:2"] { order: 1 !important; } .split > [style*="order:1"] { order: 2 !important; } }

/* ---------- two-sided components ---------- */
.hide-sm { }
@media (max-width: 960px) { .hide-sm { display: none !important; } }
/* two entry doors under the hero */
.doors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: clamp(40px, 5vw, 64px); text-align: left; }
@media (max-width: 760px) { .doors { grid-template-columns: 1fr; } }
.door { display: flex; flex-direction: column; gap: 10px; padding: 28px 28px 26px; border-radius: var(--r-lg); border: 1px solid var(--rule); background: var(--paper); transition: border-color .25s, transform .3s var(--ease), box-shadow .3s; }
.door:hover { border-color: var(--rule-2); transform: translateY(-3px); box-shadow: var(--shadow); }
.door .door-label { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.door .door-label::before { content: ''; width: 10px; height: 10px; border-radius: 50%; }
.door.is-req .door-label::before { border: 2px dashed var(--draft); }
.door.is-exp .door-label::before { background: var(--cobalt); }
.door h3 { font-size: 24px; }
.door p { margin: 0; color: var(--ink-2); font-size: 16px; }
.door .link { margin-top: 8px; }
/* expert profile card */
.expert { display: grid; grid-template-columns: 52px 1fr; gap: 14px; padding: 18px; border-radius: var(--r); border: 1px solid var(--rule); background: var(--paper); }
.expert .av { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--cobalt-soft); color: var(--cobalt); font-weight: 600; font-size: 18px; }
.expert h4 { font-size: 16px; font-weight: 600; }
.expert .role { font-size: 13.5px; color: var(--ink-3); margin: 2px 0 8px; }
.expert .chips { display: flex; flex-wrap: wrap; gap: 6px; }
.expert .chip { font-size: 12px; padding: 3px 9px; border-radius: 999px; background: var(--paper-2); color: var(--ink-2); }
.expert .meta { display: flex; gap: 14px; margin-top: 10px; font-size: 13px; color: var(--ink-3); }
.expert .meta strong { color: var(--ink); font-weight: 600; }
/* job flow timeline (post -> match -> work -> approve -> ship) with side labels */
.flow { display: grid; grid-template-columns: 120px 1fr; gap: 0 22px; }
@media (max-width: 640px) { .flow { grid-template-columns: 1fr; } .flow .flow-who { display: none; } }
.flow-who { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); padding-top: 26px; text-align: right; }
.flow-who.req { color: var(--draft); } .flow-who.exp { color: var(--cobalt); } .flow-who.both { color: var(--ink-2); }
.flow-step { position: relative; padding: 22px 0 22px 34px; border-left: 2px solid var(--rule); }
.flow-step::before { content: ''; position: absolute; left: -8px; top: 30px; width: 14px; height: 14px; border-radius: 50%; background: var(--paper); border: 2.5px dashed var(--draft); }
.flow-step.is-exp::before { border-style: solid; border-color: var(--cobalt); background: var(--cobalt); }
.flow-step.is-both::before { border-style: solid; border-color: var(--ink); }
.flow-step:last-child { border-left-color: transparent; }
.flow-step h3 { font-size: 20px; margin-bottom: 6px; }
.flow-step p { margin: 0; color: var(--ink-2); font-size: 15.5px; }
.flow-step .flow-note { margin-top: 10px; padding: 10px 12px; border-radius: 10px; background: var(--paper-2); font-size: 13.5px; color: var(--ink-3); }
.sec-2 .flow-step .flow-note { background: var(--paper); }
/* pricing */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } }
.plan { padding: 30px; border-radius: var(--r-lg); border: 1px solid var(--rule); background: var(--paper); display: flex; flex-direction: column; gap: 14px; }
.plan.is-featured { border-color: var(--cobalt); box-shadow: 0 0 0 3px var(--cobalt-soft); }
.plan .plan-for { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.plan .price { font-size: clamp(34px, 3.6vw, 46px); font-weight: 600; letter-spacing: -.03em; line-height: 1; }
.plan .price small { font-size: 15px; font-weight: 500; letter-spacing: 0; color: var(--ink-3); margin-left: 6px; }
.plan .check { margin-top: 6px; }
.plan .btn { margin-top: auto; }
/* comparison table */
.compare { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.compare th, .compare td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.compare th { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; }
.compare td:first-child { color: var(--ink-3); }
.compare td strong { font-weight: 600; }
.compare .yes { color: var(--cobalt); font-weight: 600; }
.compare .no { color: var(--ink-3); }
@media (max-width: 640px) { .compare { font-size: 14px; } .compare th, .compare td { padding: 10px 8px; } }

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(64px, 8vw, 120px) 0 clamp(56px, 7vw, 96px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } }
.hero h1 { max-width: 12ch; }
.hero h1 .accent { color: var(--cobalt); }
.hero .lead { margin-top: 24px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
/* Centred hero without the board: wider headline, centred lead and CTAs. */
.hero-solo { padding-bottom: clamp(40px, 5vw, 64px); text-align: center; }
.hero-solo .kicker { justify-content: center; }
.hero-solo h1 { max-width: 16ch; margin-inline: auto; font-size: clamp(42px, 6.6vw, 84px); }
.hero-solo .lead { max-width: 58ch; margin-inline: auto; margin-top: 26px; font-size: clamp(19px, 1.7vw, 23px); }
.hero-solo .hero-ctas { justify-content: center; margin-top: 36px; }

/* The handoff board: a live-looking work item moving from draft to done. */
.board { position: relative; border: 1px solid var(--rule); border-radius: var(--r-lg); background: var(--paper); box-shadow: var(--shadow-lg); padding: 22px; }
.board-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--rule); }
.board-title { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; }
.board-title svg { width: 18px; height: 18px; color: var(--ink-3); }
.board-meta { font-size: 13px; color: var(--ink-3); }
.board-lanes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 16px; }
@media (max-width: 520px) { .board-lanes { grid-template-columns: 1fr; } }
.lane { border-radius: var(--r); background: var(--paper-2); padding: 12px; min-height: 180px; }
.lane-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.lane-count { font-weight: 600; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.card { border-radius: 10px; background: var(--paper); border: 1px solid var(--rule); padding: 10px 12px; margin-bottom: 8px; font-size: 13.5px; line-height: 1.35; box-shadow: 0 1px 2px rgba(11,13,18,.04); }
.card.is-draft { border-style: dashed; border-color: var(--rule-2); color: var(--ink-2); }
.card.is-done { border-color: color-mix(in srgb, var(--cobalt) 50%, var(--rule)); }
.card-tag { display: inline-block; margin-top: 8px; padding: 2px 8px; border-radius: 6px; font-size: 11px; font-weight: 600; letter-spacing: .02em; }
.card > .card-tag { display: table; }
.tag-draft { background: var(--draft-soft); color: var(--draft); }
.tag-work { background: var(--cobalt-soft); color: var(--cobalt); }
.tag-done { background: var(--done-soft); color: var(--done); }
.card-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; }
.avatars { display: flex; }
.avatars span { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--paper); background: var(--draft); margin-left: -6px; font-size: 9px; font-weight: 600; color: var(--paper); display: inline-flex; align-items: center; justify-content: center; }
.avatars span:first-child { margin-left: 0; }
.avatars span.ai { background: var(--draft); }
.avatars span.c { background: var(--cobalt); color: var(--cobalt-ink); }
.board-foot { display: flex; align-items: center; gap: 10px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--rule); font-size: 13px; color: var(--ink-3); }
.board-foot .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--done); box-shadow: 0 0 0 4px var(--done-soft); }
.board-float { position: absolute; right: -14px; bottom: -18px; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; background: var(--ink); color: var(--paper); font-size: 13.5px; font-weight: 500; box-shadow: var(--shadow-lg); border: 1px solid transparent; }
.board-float svg { width: 16px; height: 16px; color: var(--done); flex: 0 0 auto; }
html[data-theme="dark"] .board-float { background: var(--paper-3); color: var(--ink); border-color: var(--rule-2); }
@media (prefers-color-scheme: dark) { html[data-theme="auto"] .board-float { background: var(--paper-3); color: var(--ink); border-color: var(--rule-2); } }
@media (max-width: 960px) { .board-float { position: static; margin-top: 14px; right: auto; bottom: auto; width: fit-content; max-width: 100%; } }

/* ---------- the handoff line (section divider) ---------- */
.handoff { display: flex; align-items: center; gap: 0; max-width: 520px; margin: 0 auto; padding: 0 20px; }
.handoff .d { width: 44px; height: 44px; border-radius: 50%; border: 3px dashed var(--draft); flex: 0 0 auto; }
.handoff .a { flex: 1; height: 3px; background: var(--ink); position: relative; margin: 0 6px; }
.handoff .a::after { content: ''; position: absolute; right: 0; top: 50%; width: 12px; height: 12px; border-top: 3px solid var(--ink); border-right: 3px solid var(--ink); transform: translate(-1px, -50%) rotate(45deg); }
.handoff .f { width: 44px; height: 44px; border-radius: 50%; background: var(--cobalt); flex: 0 0 auto; }

/* ---------- the problem: before / after pairs ---------- */
.pairs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 860px) { .pairs { grid-template-columns: 1fr; } }
.pair { display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: stretch; padding: 22px; border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--rule); }
@media (max-width: 520px) { .pair { grid-template-columns: 1fr; gap: 10px; } .pair-arrow { transform: rotate(90deg); width: 22px; } }
.pair-side { display: flex; flex-direction: column; gap: 6px; }
.pair-label { font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.pair .is-draft .pair-label { color: var(--draft); }
.pair .is-done .pair-label { color: var(--cobalt); }
.pair-text { font-size: 15.5px; line-height: 1.45; color: var(--ink-2); }
.pair .is-done .pair-text { color: var(--ink); font-weight: 500; }
.pair-arrow { display: flex; align-items: center; color: var(--rule-2); }
.pair-arrow svg { width: 22px; height: 22px; }
.pair .icon { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; margin-bottom: 8px; }
.pair .is-draft .icon { border: 1.5px dashed var(--draft); color: var(--draft); }
.pair .is-done .icon { background: var(--cobalt); color: var(--cobalt-ink); }
.pair .icon svg { width: 18px; height: 18px; }

/* ---------- workflow steps ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; position: relative; }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding: 28px 20px 0 0; }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; font-weight: 600; font-size: 14px; letter-spacing: .02em; margin-bottom: 18px; border: 2.5px dashed var(--draft); color: var(--draft); background: var(--paper); position: relative; z-index: 1; }
.step:nth-child(3)::before { border-style: solid; border-color: var(--ink); color: var(--ink); }
.step:nth-child(4)::before { border-style: solid; border-color: var(--ink); color: var(--ink); }
.step:last-child::before { border-style: solid; border-color: var(--cobalt); background: var(--cobalt); color: var(--cobalt-ink); }
.steps::before { content: ''; position: absolute; left: 22px; right: 22px; top: 50px; height: 2px; background: var(--rule); }
@media (max-width: 1000px) { .steps::before { display: none; } }
.step h3 { font-size: 20px; margin-bottom: 8px; }
.step p { color: var(--ink-2); font-size: 15.5px; margin: 0; }
.step-eg { margin-top: 12px; padding: 10px 12px; border-radius: 10px; background: var(--paper-2); font-size: 13.5px; color: var(--ink-3); }
.sec-2 .step-eg, .sec-2 .step::before { background: var(--paper); }
.sec-2 .step:last-child::before { background: var(--cobalt); }
/* vertical variant: number beside the text, no connector line */
.steps-v { grid-template-columns: 1fr; gap: 0; }
.steps-v::before { display: none; }
.steps-v .step { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: center; padding: 10px 0; border-bottom: 1px dashed var(--rule-2); }
.steps-v .step:last-child { border-bottom: 0; }
.steps-v .step::before { margin-bottom: 0; }
.steps-v .step p { font-weight: 600; color: var(--ink); font-size: 16px; }

/* ---------- use case grid ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 1000px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; } }
.tile { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 26px 24px 24px; border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--rule); transition: border-color .25s, transform .3s var(--ease), box-shadow .3s; }
a.tile:hover { border-color: var(--rule-2); transform: translateY(-3px); box-shadow: var(--shadow); }
.tile .icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--cobalt-soft); color: var(--cobalt); margin-bottom: 6px; }
.tile .icon svg { width: 22px; height: 22px; }
.tile h3 { font-size: 20px; }
.tile p { color: var(--ink-2); font-size: 15.5px; margin: 0; }
.tile .from-to { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: center; margin-top: 6px; padding: 12px; border-radius: 10px; background: var(--paper-2); font-size: 13px; }
.tile .from-to span:first-child { color: var(--draft); }
.tile .from-to span:last-child { color: var(--ink); font-weight: 600; text-align: right; }
.tile .from-to svg { width: 16px; height: 16px; color: var(--ink-3); }
.tile .link { margin-top: auto; padding-top: 8px; font-size: 15px; }
.sec-2 .tile .from-to { background: var(--paper-3); }

/* ---------- audience list ---------- */
.who { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(32px, 5vw, 72px); }
@media (max-width: 760px) { .who { grid-template-columns: 1fr; } }
.who-item { display: grid; grid-template-columns: 40px 1fr; gap: 16px; padding: 26px 0; border-top: 1px solid var(--rule); }
.who-item .icon { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--rule-2); color: var(--ink); }
.who-item .icon svg { width: 18px; height: 18px; }
.who-item h3 { font-size: 19px; margin-bottom: 6px; }
.who-item p { color: var(--ink-2); font-size: 15.5px; margin: 0; }

/* ---------- statement band (ink) ---------- */
.statement { text-align: center; max-width: 900px; margin-inline: auto; }
.statement h2 { font-family: var(--display); font-weight: 600; font-size: clamp(30px, 4.4vw, 54px); letter-spacing: -.03em; line-height: 1.06; }
.statement h2 .accent { color: var(--cobalt); }
.statement p { margin: 24px auto 0; max-width: 62ch; font-size: clamp(17px, 1.4vw, 20px); color: var(--ink-2); text-align: center; }
.sec-ink .statement p { color: color-mix(in srgb, var(--paper) 74%, transparent); }
.sec-ink .btn-primary { background: var(--paper); color: var(--ink); }
.sec-ink .btn-primary:hover { background: color-mix(in srgb, var(--paper) 88%, transparent); }
.sec-ink .btn-ghost { color: var(--paper); border-color: color-mix(in srgb, var(--paper) 30%, transparent); }
.sec-ink .btn-ghost:hover { border-color: var(--paper); }
html[data-theme="dark"] .sec-ink { background: var(--paper-2); color: var(--ink); }
@media (prefers-color-scheme: dark) { html[data-theme="auto"] .sec-ink { background: var(--paper-2); color: var(--ink); } }
html[data-theme="dark"] .sec-ink .statement p { color: var(--ink-2); }
@media (prefers-color-scheme: dark) { html[data-theme="auto"] .sec-ink .statement p { color: var(--ink-2); } }
html[data-theme="dark"] .sec-ink .btn-primary { background: var(--cobalt); color: var(--cobalt-ink); }
@media (prefers-color-scheme: dark) { html[data-theme="auto"] .sec-ink .btn-primary { background: var(--cobalt); color: var(--cobalt-ink); } }
html[data-theme="dark"] .sec-ink .btn-ghost { color: var(--ink); border-color: var(--rule-2); }
@media (prefers-color-scheme: dark) { html[data-theme="auto"] .sec-ink .btn-ghost { color: var(--ink); border-color: var(--rule-2); } }

/* ---------- evidence (research) ---------- */
.evidence { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 900px) { .evidence { grid-template-columns: 1fr; } }
.stat { padding: 26px 24px; border-radius: var(--r-lg); border: 1px solid var(--rule); background: var(--paper); }
.stat .num { font-family: var(--display); font-weight: 600; font-size: clamp(40px, 4.4vw, 56px); line-height: 1; color: var(--cobalt); letter-spacing: -.03em; }
.stat p { margin: 12px 0 0; color: var(--ink-2); font-size: 15.5px; }
.stat .src { display: block; margin-top: 12px; font-size: 13px; color: var(--ink-3); }
.stat .src a { text-decoration: underline; text-underline-offset: 2px; }

/* ---------- features (teams / individuals) ---------- */
.feat { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 760px) { .feat { grid-template-columns: 1fr; } }
.feat-item { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 24px; border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--rule); }
.feat-item .icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--paper-2); color: var(--ink); }
.feat-item .icon svg { width: 20px; height: 20px; }
.feat-item h3 { font-size: 19px; margin-bottom: 6px; }
.feat-item p { margin: 0; color: var(--ink-2); font-size: 15.5px; }
.sec-2 .feat-item .icon { background: var(--paper-3); }

/* ---------- checklist ---------- */
.check { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.check li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; color: var(--ink-2); }
.check li svg { width: 20px; height: 20px; color: var(--cobalt); margin-top: 3px; }
.check li strong { color: var(--ink); }
.check.two { grid-template-columns: repeat(2, 1fr); gap: 10px 28px; }
@media (max-width: 700px) { .check.two { grid-template-columns: 1fr; } }

/* ---------- page head (inner pages) ---------- */
.page-head { padding: clamp(56px, 7vw, 100px) 0 clamp(36px, 4vw, 56px); }
.page-head h1 { font-size: clamp(34px, 4.6vw, 58px); max-width: 16ch; }
.page-head .lead { margin-top: 22px; max-width: 58ch; }
.page-head .hero-ctas { margin-top: 30px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 26px; font-size: 14px; color: var(--ink-3); }
.crumbs a:hover { color: var(--ink); }
.crumbs span::before { content: '/'; margin: 0 4px; color: var(--rule-2); }

/* ---------- definition block ---------- */
.define { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 64px); align-items: start; padding: clamp(28px, 4vw, 44px); border-radius: var(--r-lg); background: var(--paper-2); }
@media (max-width: 860px) { .define { grid-template-columns: 1fr; } }
.define .term { font-family: var(--display); font-weight: 600; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.05; letter-spacing: -.03em; }
.define .pos { display: block; margin-top: 10px; font-size: 14px; color: var(--ink-3); font-style: italic; }
.define ol { margin: 0; padding-left: 1.3em; }
.define ol li { margin: .55em 0; color: var(--ink-2); font-size: 17px; }
.define ol li strong { color: var(--ink); }

/* ---------- examples (from -> to) ---------- */
.ex-list { display: grid; gap: 12px; }
.ex { display: grid; grid-template-columns: 1fr 44px 1fr; gap: 14px; align-items: center; padding: 18px 22px; border-radius: var(--r); background: var(--paper); border: 1px solid var(--rule); }
@media (max-width: 640px) { .ex { grid-template-columns: 1fr; gap: 6px; } .ex .ex-arrow { transform: rotate(90deg); justify-self: start; } }
.ex .from { color: var(--draft); font-size: 16px; }
.ex .to { color: var(--ink); font-weight: 600; font-size: 16px; }
.ex .ex-arrow { display: grid; place-items: center; color: var(--ink-3); }
.ex .ex-arrow svg { width: 20px; height: 20px; }
.sec-2 .ex { background: var(--paper); }

/* ---------- quote / callout ---------- */
.callout { padding: 26px 30px; border-radius: var(--r-lg); background: var(--cobalt-soft); color: var(--ink); font-size: 19px; line-height: 1.5; font-weight: 500; text-wrap: pretty; }
.callout.neutral { background: var(--draft-soft); }
.note { padding: 18px 22px; border-radius: var(--r); background: var(--paper-2); color: var(--ink-2); font-size: 15px; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin-inline: auto; }
.faq-item { border-top: 1px solid var(--rule); }
.faq-item:last-child { border-bottom: 1px solid var(--rule); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; font-size: 19px; font-weight: 600; letter-spacing: -.01em; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { content: ''; }
.faq-item summary::after { content: '+'; flex: 0 0 auto; width: 30px; height: 30px; margin: 0; border-radius: 50%; border: 1.5px solid var(--rule-2); display: grid; place-items: center; line-height: 1; font-weight: 400; font-size: 20px; color: var(--ink-3); transition: transform .3s var(--ease), background .2s, color .2s, border-color .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); background: var(--cobalt); color: var(--cobalt-ink); border-color: var(--cobalt); }
.faq-item .faq-body { padding: 0 0 24px; color: var(--ink-2); max-width: 68ch; }
.faq-item .faq-body p:last-child { margin-bottom: 0; }

/* ---------- article ---------- */
.article { max-width: 720px; margin-inline: auto; }
.article-head { padding: clamp(56px, 7vw, 96px) 0 clamp(28px, 4vw, 44px); max-width: 820px; margin-inline: auto; }
.article-head h1 { font-size: clamp(32px, 4.2vw, 52px); }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 20px; font-size: 14px; color: var(--ink-3); }
.article-body { font-size: 18px; line-height: 1.7; }
.article-body h2 { font-size: clamp(26px, 2.8vw, 34px); margin: 2.2em 0 .7em; }
.article-body h3 { font-size: 22px; margin: 1.8em 0 .6em; }
.article-body p, .article-body li { color: var(--ink-2); }
.article-body p strong, .article-body li strong { color: var(--ink); }
.article-body .callout { margin: 2em 0; }
.article-body .check { margin: 1.4em 0 2em; }
.article-body table { width: 100%; border-collapse: collapse; margin: 1.6em 0 2em; font-size: 15.5px; }
.article-body th, .article-body td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.article-body th { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; }
.article-body td:first-child { color: var(--draft); }
.article-body td:last-child { color: var(--ink); }
.article-end { margin-top: 56px; padding: 30px; border-radius: var(--r-lg); background: var(--paper-2); }
.article-end h3 { margin-bottom: 8px; }
.article-end p { color: var(--ink-2); margin-bottom: 18px; }
.article-nav { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 40px; }
@media (max-width: 640px) { .article-nav { grid-template-columns: 1fr; } }
.article-nav a { padding: 18px 20px; border-radius: var(--r); border: 1px solid var(--rule); font-weight: 600; transition: border-color .2s; }
.article-nav a:hover { border-color: var(--ink); }
.article-nav small { display: block; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 6px; font-weight: 600; }
.disclosure { margin-top: 40px; font-size: 14px; color: var(--ink-3); }

/* resources index */
.res-list { display: grid; gap: 14px; }
.res { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; padding: 24px 26px; border-radius: var(--r-lg); border: 1px solid var(--rule); background: var(--paper); transition: border-color .2s, transform .3s var(--ease), box-shadow .3s; }
.res:hover { border-color: var(--rule-2); transform: translateY(-2px); box-shadow: var(--shadow); }
.res h3 { font-size: 21px; margin-bottom: 6px; }
.res p { margin: 0; color: var(--ink-2); font-size: 15.5px; }
.res .res-meta { font-size: 13px; color: var(--ink-3); margin-bottom: 8px; }
.res svg { width: 22px; height: 22px; color: var(--ink-3); }
@media (max-width: 560px) { .res { grid-template-columns: 1fr; } .res svg { display: none; } }
.topic-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; }
@media (max-width: 700px) { .topic-list { grid-template-columns: 1fr; } }
.topic-list li { color: var(--ink-2); padding: 8px 0; border-bottom: 1px dashed var(--rule-2); list-style: none; }

/* ---------- start page ---------- */
.start-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 860px) { .start-grid { grid-template-columns: 1fr; } }
.start-card { padding: clamp(28px, 3.6vw, 40px); border-radius: var(--r-lg); border: 1px solid var(--rule); background: var(--paper); box-shadow: var(--shadow); }
.start-card h2 { font-size: 26px; margin-bottom: 8px; }
.start-card .btn { width: 100%; margin-top: 20px; }
.start-card .fine { margin: 14px 0 0; font-size: 13px; color: var(--ink-3); text-align: center; }
.way-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.way-list li { display: grid; grid-template-columns: 22px 1fr; gap: 14px; align-items: start; padding: 14px 16px; border-radius: 10px; background: var(--paper-2); font-size: 15px; color: var(--ink-2); }
.way-list li svg { width: 20px; height: 20px; color: var(--cobalt); margin-top: 2px; }

/* ---------- legal ---------- */
.legal { max-width: 760px; }
.legal h2 { font-size: 24px; margin: 2em 0 .6em; }
.legal p, .legal li { color: var(--ink-2); }
.legal-date { font-size: 14px; color: var(--ink-3); }

/* ---------- 404 ---------- */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.notfound .code { font-family: var(--display); font-weight: 600; font-size: clamp(80px, 16vw, 180px); line-height: 1; color: var(--cobalt); letter-spacing: -.02em; }
.notfound h1 { font-size: clamp(26px, 3.6vw, 40px); margin-top: 10px; }
.notfound p { color: var(--ink-2); margin: 14px auto 28px; max-width: 42ch; }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--rule); padding: clamp(48px, 6vw, 80px) 0 32px; background: var(--paper); }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }
.brand-foot img { height: 28px; }
.foot-tag { margin: 18px 0 6px; font-weight: 600; }
.foot-line { margin: 0; color: var(--ink-3); font-size: 15px; max-width: 34ch; }
.foot-col { display: flex; flex-direction: column; gap: 10px; }
.foot-col h2 { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 6px; }
.foot-col a { color: var(--ink-2); font-size: 15px; }
.foot-col a:hover { color: var(--cobalt); }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--rule); font-size: 14px; color: var(--ink-3); }
.foot-base p { margin: 0; }

/* ---------- floating theme switcher (bottom right, drop-up) ---------- */
.theme-fab { position: fixed; right: 20px; bottom: 20px; z-index: 40; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.theme-toggle { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--rule); background: var(--paper); color: var(--ink); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow-lg); transition: transform .2s var(--ease), border-color .2s; }
.theme-toggle svg { width: 20px; height: 20px; }
.theme-toggle:hover { border-color: var(--cobalt); transform: translateY(-1px); }
.theme-toggle[aria-expanded="true"] { border-color: var(--cobalt); color: var(--cobalt); }
.theme-menu { display: flex; flex-direction: column; gap: 2px; padding: 6px; border-radius: 14px; border: 1px solid var(--rule); background: var(--paper); box-shadow: var(--shadow-lg); transform-origin: bottom right; transition: opacity .2s var(--ease), transform .2s var(--ease); }
.theme-menu[hidden] { display: flex; opacity: 0; transform: translateY(6px) scale(.96); pointer-events: none; }
.theme-menu button { display: flex; align-items: center; gap: 10px; min-width: 128px; padding: 9px 12px; border: 0; border-radius: 9px; background: transparent; color: var(--ink-2); font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; text-align: left; }
.theme-menu button svg { width: 16px; height: 16px; }
.theme-menu button:hover { background: var(--paper-2); color: var(--ink); }
.theme-menu button[aria-pressed="true"] { background: var(--cobalt-soft); color: var(--cobalt); font-weight: 600; }
@media (max-width: 640px) { .theme-fab { right: 14px; bottom: 14px; } .theme-toggle { width: 44px; height: 44px; } }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }
.no-js .reveal { opacity: 1; transform: none; }
