/* Self-hosted fonts (no request to any outside host). Inter, Space Grotesk, JetBrains Mono: SIL Open Font License 1.1. */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/inter-latin-ext-cf3eb5.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/inter-latin-f11d72.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: 500; font-display: swap; src: url(fonts/inter-latin-ext-cf3eb5.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/inter-latin-f11d72.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: 600; font-display: swap; src: url(fonts/inter-latin-ext-cf3eb5.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/inter-latin-f11d72.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: 'JetBrains Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/jetbrains-mono-latin-ext-06ad36.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/jetbrains-mono-latin-4f2720.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: 'JetBrains Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/jetbrains-mono-latin-ext-06ad36.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/jetbrains-mono-latin-4f2720.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: 'Space Grotesk'; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/space-grotesk-latin-ext-1742d5.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/space-grotesk-latin-c0781e.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: 'Space Grotesk'; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/space-grotesk-latin-ext-1742d5.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/space-grotesk-latin-c0781e.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: 'Space Grotesk'; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/space-grotesk-latin-ext-1742d5.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/space-grotesk-latin-c0781e.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; }
/* B: dark tech. Near-black, grotesk headings, mono labels, one mint accent. Its own brand (not the Chart Beyond colours or font). */
:root {
  --bg: #0b0d0f; --bg-alt: #101316; --hero-bg: #0b0d0f; --card: #12161a; --footer-bg: #090a0c; --header-bg: rgba(11,13,15,0.88);
  --ink: #c9d0d6; --ink-strong: #f2f5f7; --ink-soft: #a3adb6; --ink-faint: #8a959f;
  --line: #20262c; --line-strong: #353e47; --hover: #171c21; --note-bg: #12161a;
  --accent: #5fe3a1; --accent-ink: #5fe3a1; --hl: #5fe3a1; --link: #7debb4; --link-hover: #a9f5cf; --focus: #5fe3a1;
  --btn-bg: #5fe3a1; --btn-bg-hover: #86efba; --btn-ink: #06130c;
  --cta-bg: #12161a; --cta-ink: #f2f5f7; --cta-soft: #a3adb6; --cta-btn-bg: #5fe3a1; --cta-btn-ink: #06130c; --cta-btn-hover: #86efba;
  --field-bg: #0b0d0f; --field-line: #56626d; --err: #ff8f85; --ok-bg: #12301f; --ok-ink: #5fe3a1; --toast-bg: #5fe3a1; --toast-ink: #06130c;
  --warn-bg: #2a2110; --warn-line: #6b5520; --warn-ink: #f1d48a;
  --step-bg: #12161a; --step-ink: #5fe3a1; --step-line: #353e47; --step-radius: 8px;
  --radius: 14px; --radius-s: 8px; --radius-btn: 10px; --shadow: none;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; --font-head: "Space Grotesk", "Inter", system-ui, sans-serif; --head-weight: 600; --head-track: -0.025em;
  --font-mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --font-mark: "Space Grotesk", "Inter", sans-serif; --mark-weight: 700; --mark-track: -0.03em; --mark-radius: 3px; --mark-transform: rotate(45deg);
  --eyebrow-font: 500 0.78rem "JetBrains Mono", ui-monospace, Consolas, monospace; --eyebrow-track: 0.04em; --eyebrow-case: uppercase;
}
.theme-b .hero { background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 56px 56px; background-position: center top; }
.theme-b .hero-copy { background: var(--bg); box-shadow: 0 0 0 24px var(--bg); }
.theme-b h1 { font-size: clamp(2.2rem, 5vw, 3.9rem); }
.theme-b .card:hover { border-color: var(--line-strong); }
.theme-b .cta-band { border-bottom: 1px solid var(--line); }

/* Sevondo site: shared layout. Colours, type and shape come from the theme variables above this block. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent; }
::-webkit-scrollbar { width: 6px; height: 6px; } ::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 3px; } ::-webkit-scrollbar-track { background: transparent; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
a { color: var(--link); text-underline-offset: 3px; }
a:hover { color: var(--link-hover); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--font-head); color: var(--ink-strong); line-height: 1.15; margin: 0; letter-spacing: var(--head-track); font-weight: var(--head-weight); text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); }
h2 { font-size: clamp(1.45rem, 2.6vw, 2rem); }
h3 { font-size: 1.14rem; line-height: 1.3; }
p { margin: 0 0 1em; } p:last-child { margin-bottom: 0; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--btn-bg); color: var(--btn-ink); padding: 10px 16px; z-index: 100; }
.skip:focus { left: 12px; top: 12px; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--header-bg); border-bottom: 1px solid var(--line); backdrop-filter: saturate(140%) blur(10px); -webkit-backdrop-filter: saturate(140%) blur(10px); }
.header-row { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink-strong); }
.wm-mark { width: 14px; height: 14px; background: var(--accent); border-radius: var(--mark-radius); transform: var(--mark-transform); flex: none; }
.wm-text { font-family: var(--font-mark); font-weight: var(--mark-weight); font-size: 1.36rem; letter-spacing: var(--mark-track); line-height: 1; }
.site-nav { display: flex; align-items: center; gap: 20px; flex: 1; justify-content: space-between; min-width: 0; }
.site-nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; flex-wrap: wrap; }
.site-nav ul a { display: block; padding: 8px 11px; border-radius: var(--radius-s); color: var(--ink-soft); text-decoration: none; font-size: 0.93rem; font-weight: 500; white-space: nowrap; }
.site-nav ul a:hover { color: var(--ink-strong); background: var(--hover); }
.site-nav ul a[aria-current="page"] { color: var(--ink-strong); box-shadow: inset 0 -2px 0 var(--accent); border-radius: 0; }
.nav-side { display: flex; align-items: center; gap: 14px; flex: none; }
.lang { display: inline-flex; border: 1px solid var(--line-strong); border-radius: var(--radius-s); overflow: hidden; }
.lang-btn { font: 600 0.78rem var(--font-body); padding: 6px 9px; border: 0; background: transparent; color: var(--ink-soft); cursor: pointer; }
.lang-btn.is-on { background: var(--hover); color: var(--ink-strong); }
.lang-note { margin: 0; padding: 10px 24px; text-align: center; font-size: 0.9rem; background: var(--note-bg); color: var(--ink); border-top: 1px solid var(--line); }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: var(--radius-s); background: transparent; cursor: pointer; padding: 0; align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--ink-strong); border-radius: 1px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: var(--radius-btn); font: 600 1rem var(--font-body); text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: background-color .15s ease, border-color .15s ease, color .15s ease; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 0.9rem; }
.btn-primary { background: var(--btn-bg); color: var(--btn-ink); }
.btn-primary:hover { background: var(--btn-bg-hover); color: var(--btn-ink); }
.btn-ghost { background: transparent; color: var(--ink-strong); border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--hover); color: var(--ink-strong); }
.btn-wide { width: 100%; }
.btn[disabled] { opacity: .75; cursor: progress; }
.spinner { display: none; width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
.is-busy .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* sections */
.eyebrow { margin: 0 0 14px; font: var(--eyebrow-font); letter-spacing: var(--eyebrow-track); text-transform: var(--eyebrow-case); color: var(--accent-ink); }
.eb-n { color: var(--ink-faint); margin-right: 6px; }
.lead { font-size: clamp(1.06rem, 1.5vw, 1.22rem); color: var(--ink-soft); max-width: 62ch; margin-top: 18px; }
.hero { padding: clamp(48px, 8vw, 104px) 0 clamp(44px, 6vw, 84px); border-bottom: 1px solid var(--line); background: var(--hero-bg); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.hl { color: var(--hl); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-note { margin-top: 16px; font-size: 0.92rem; color: var(--ink-faint); }
.page-head { padding: clamp(44px, 6vw, 80px) 0 clamp(30px, 4vw, 48px); border-bottom: 1px solid var(--line); background: var(--hero-bg); }
.page-head h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); max-width: 22ch; }
.section { padding: clamp(48px, 7vw, 88px) 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section h2 + .cards, .section h2 + .steps, .section h2 + .principles, .section h2 + .faq, .section h2 + .plain, .section h2 + .facts { margin-top: 30px; }
.after { margin-top: 26px; }
.more { font-weight: 600; text-decoration: none; color: var(--link); }
.more:hover { text-decoration: underline; }

/* cards */
.cards { display: grid; gap: 18px; }
.cards-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.card p { color: var(--ink-soft); font-size: 0.97rem; margin: 0; }
.card .more { margin-top: auto; padding-top: 8px; font-size: 0.95rem; }
.tag { font: var(--eyebrow-font); letter-spacing: var(--eyebrow-track); text-transform: var(--eyebrow-case); color: var(--accent-ink) !important; }
.case-note { border-top: 1px solid var(--line); padding-top: 12px; margin-top: auto !important; font-size: 0.9rem !important; color: var(--ink) !important; font-weight: 500; }

/* hero side (A: summary card, B: flow) */
.hero-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.hero-card h2 { font-size: 1.05rem; margin-bottom: 14px; }
.hero-card dl { margin: 0; display: grid; gap: 14px; }
.hero-card dt { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-faint); }
.hero-card dd { margin: 3px 0 0; font-size: 0.97rem; color: var(--ink); }
.hero-card dd + dt { border-top: 1px solid var(--line); padding-top: 14px; }
.flow { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.flow-tag { font: var(--eyebrow-font); letter-spacing: var(--eyebrow-track); text-transform: var(--eyebrow-case); color: var(--ink-faint); margin-bottom: 14px; }
.flow ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.flow li { display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: center; padding: 11px 14px; border: 1px solid var(--line); border-radius: var(--radius-s); background: var(--bg); font-size: 0.93rem; }
.flow-k { font: 500 0.74rem var(--font-mono, var(--font-body)); color: var(--ink-faint); text-transform: uppercase; letter-spacing: 0.06em; }
.flow li.is-human { border-color: var(--accent); }
.flow li.is-human .flow-k { color: var(--accent-ink); }

/* steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; counter-reset: s; }
.steps li { display: grid; gap: 12px; align-content: start; }
.step-n { width: 36px; height: 36px; border-radius: var(--step-radius); display: inline-flex; align-items: center; justify-content: center; font: 600 0.95rem var(--font-mono, var(--font-body)); background: var(--step-bg); color: var(--step-ink); border: 1px solid var(--step-line); }
.steps p { color: var(--ink-soft); font-size: 0.97rem; }
.steps-long { grid-template-columns: 1fr; gap: 0; }
.steps-long li { grid-template-columns: 36px 1fr; gap: 20px; padding: 26px 0; border-top: 1px solid var(--line); }
.steps-long li:first-child { border-top: 0; padding-top: 0; }
.steps-long h2 { font-size: 1.3rem; margin-bottom: 8px; }
.out { font-size: 0.92rem !important; font-weight: 600; color: var(--ink) !important; }

/* principles, lists */
.principles { list-style: none; margin: 0; padding: 0; display: grid; gap: 0 40px; }
.principles-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.principles-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.principles li { padding: 22px 0; border-top: 1px solid var(--line-strong); }
.principles h2, .principles h3 { font-size: 1.12rem; margin-bottom: 8px; }
.principles p { color: var(--ink-soft); font-size: 0.98rem; }
.plain, .ticks { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.plain li, .ticks li { position: relative; padding-left: 22px; color: var(--ink); }
.plain li::before, .ticks li::before { content: ""; position: absolute; left: 2px; top: 0.62em; width: 8px; height: 8px; background: var(--accent); border-radius: var(--mark-radius); }
.plain + p { margin-top: 18px; color: var(--ink-soft); }
.plain-ol { margin: 0 0 1em; padding-left: 20px; display: grid; gap: 6px; }
.rows { display: grid; gap: 0; }
.row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(20px, 4vw, 64px); padding: 36px 0; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.row:first-child { border-top: 0; padding-top: 0; }
.row-sub { color: var(--ink-soft); margin-top: 10px; }
.row-b > p { margin-bottom: 18px; }
.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 5vw, 72px); }
.two-col h2 { margin-bottom: 14px; }
.two-col p { color: var(--ink-soft); }
.facts { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 0; }
.facts dt, .facts dd { padding: 14px 0; border-top: 1px solid var(--line); margin: 0; }
.facts dt { padding-right: 32px; color: var(--ink-faint); font-size: 0.92rem; font-weight: 500; }
.facts dd { color: var(--ink-strong); font-weight: 500; overflow-wrap: anywhere; }
.facts + p { margin-top: 22px; }

/* faq */
.faq { display: grid; gap: 0; max-width: 820px; }
.faq details { border-top: 1px solid var(--line-strong); }
.faq details:last-child { border-bottom: 1px solid var(--line-strong); }
.faq summary { cursor: pointer; padding: 18px 34px 18px 0; font-weight: 600; color: var(--ink-strong); list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 1.4rem; font-weight: 400; color: var(--ink-faint); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 0 20px; color: var(--ink-soft); max-width: 68ch; }

/* cta */
.cta-band { background: var(--cta-bg); color: var(--cta-ink); padding: clamp(40px, 6vw, 68px) 0; border-top: 1px solid var(--line); }
.cta-row { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta-band h2 { color: var(--cta-ink); max-width: 26ch; }
.cta-band p { color: var(--cta-soft); margin-top: 10px; max-width: 56ch; }
.cta-band .btn-primary { background: var(--cta-btn-bg); color: var(--cta-btn-ink); }
.cta-band .btn-primary:hover { background: var(--cta-btn-hover); }
.cta-band :focus-visible { outline-color: var(--cta-ink); }

/* contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.form-box { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 34px); }
.field { display: grid; gap: 6px; margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
label { font-weight: 600; font-size: 0.94rem; color: var(--ink-strong); }
.opt { font-weight: 400; color: var(--ink-faint); }
input[type="text"], input[type="email"], input[type="tel"], select, textarea { width: 100%; min-height: 48px; padding: 11px 14px; font: 400 1rem var(--font-body); color: var(--ink-strong); background: var(--field-bg); border: 1px solid var(--field-line); border-radius: var(--radius-s); }
textarea { resize: vertical; min-height: 140px; line-height: 1.5; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; border-color: var(--focus); }
[aria-invalid="true"] { border-color: var(--err) !important; }
.err { margin: 0; font-size: 0.9rem; font-weight: 600; color: var(--err); }
.hint { margin: 0; font-size: 0.86rem; color: var(--ink-faint); }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; margin: 6px 0 6px; }
.check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--accent); }
.check label { font-weight: 500; }
.check + .err { margin-bottom: 8px; }
.turnstile { display: flex; align-items: center; gap: 12px; margin: 18px 0; padding: 12px 14px; border: 1px dashed var(--line-strong); border-radius: var(--radius-s); background: var(--bg-alt); font-size: 0.9rem; color: var(--ink-soft); max-width: 340px; }
.ts-box { width: 22px; height: 22px; border: 2px solid var(--line-strong); border-radius: 4px; flex: none; }
.ts-tag { margin-left: auto; font-size: 0.72rem; color: var(--ink-faint); white-space: nowrap; }
.form-ok { text-align: left; padding: 12px 0; }
.form-ok h2 { margin: 14px 0 10px; }
.form-ok p { color: var(--ink-soft); margin-bottom: 22px; }
.ok-mark { display: inline-flex; width: 48px; height: 48px; align-items: center; justify-content: center; border-radius: 50%; background: var(--ok-bg); color: var(--ok-ink); font-size: 1.5rem; font-weight: 700; }
.contact-side h2 { font-size: 1rem; margin: 26px 0 8px; }
.contact-side h2:first-child { margin-top: 0; }
.contact-side p { color: var(--ink); }
.side-note { font-size: 0.9rem; color: var(--ink-soft) !important; margin-top: 22px; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--toast-bg); color: var(--toast-ink); padding: 13px 20px; border-radius: var(--radius-s); font-weight: 600; box-shadow: 0 10px 30px rgba(0,0,0,.25); z-index: 80; }

/* legal */
.legal h2 { font-size: 1.2rem; margin: 34px 0 10px; }
.legal p, .legal li { color: var(--ink); }
.legal ul { padding-left: 20px; display: grid; gap: 6px; margin: 0 0 1em; }
.draft { padding: 14px 16px; border: 1px solid var(--warn-line); background: var(--warn-bg); color: var(--warn-ink) !important; border-radius: var(--radius-s); }

/* footer */
.site-footer { background: var(--footer-bg); border-top: 1px solid var(--line); padding: 52px 0 30px; font-size: 0.94rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-about { color: var(--ink-soft); margin-top: 14px; max-width: 36ch; }
.footer-h { font: 600 0.8rem var(--font-body); letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.site-footer ul a { color: var(--ink); text-decoration: none; display: inline-block; padding: 5px 0; }
.site-footer ul a:hover { text-decoration: underline; }
.footer-legal { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: 0.84rem; }
.footer-legal p { margin: 0 0 4px; overflow-wrap: anywhere; }
.footer-small { color: var(--ink-faint); margin-top: 10px !important; }

/* responsive */
@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--line); padding: 12px 24px 20px; flex-direction: column; align-items: stretch; gap: 14px; }
  .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { padding: 13px 4px; font-size: 1rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .site-nav ul a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--accent); padding-left: 12px; }
  .nav-side { justify-content: space-between; }
  .cards-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  body { font-size: 16px; }
  .hero-grid, .contact-grid, .two-col, .row { grid-template-columns: 1fr; }
  .cards-3, .principles-3, .principles-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .row { gap: 16px; padding: 28px 0; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 18px; }
  .cards-4, .steps, .field-row { grid-template-columns: 1fr; }
  .steps-long li { grid-template-columns: 36px 1fr; gap: 14px; }
  .facts { grid-template-columns: 1fr; }
  .facts dt { padding: 14px 0 0; border-top: 1px solid var(--line); }
  .facts dd { padding: 2px 0 14px; border-top: 0; }
  .hero-actions .btn, .cta-row .btn { width: 100%; }
  .turnstile { max-width: none; flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .is-busy .spinner { display: inline-block; border-right-color: currentColor; opacity: .5; }
}


/* ================= v2 motion (theme-b2). Everything here is switched off by prefers-reduced-motion at the bottom. ================= */
/* scroll progress line under the header */
.theme-b2 .site-header::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(var(--scroll, 0)); }

/* hero: grid drifts slowly, headline rises line by line, flow rows light in turn */
.theme-b2 .hero { animation: grid-drift 40s linear infinite; }
@keyframes grid-drift { to { background-position: calc(50% + 56px) 56px; } }
.js-motion .hero-copy > * { opacity: 0; transform: translateY(18px); animation: rise .7s cubic-bezier(.2,.7,.2,1) forwards; animation-delay: calc(var(--k, 0) * 90ms + 80ms); }
.js-motion .hero .flow { opacity: 0; transform: translateY(18px); animation: rise .8s cubic-bezier(.2,.7,.2,1) .45s forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }
.theme-b2 .hl { background: linear-gradient(90deg, var(--accent) 0 40%, #d8ffe9 50%, var(--accent) 60% 100%); background-size: 300% 100%; background-position: 100% 0; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: sheen 2.2s ease-out 1s 1 forwards; }
@keyframes sheen { to { background-position: 0 0; } }
.theme-b2 .flow li { transition: border-color .35s ease, background-color .35s ease, transform .35s ease; position: relative; }
.theme-b2 .flow li.is-live { border-color: var(--accent); background: #101a15; transform: translateX(4px); }
.theme-b2 .flow li.is-live .flow-k { color: var(--accent-ink); }
.theme-b2 .flow li.is-done::after { content: "✓"; position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--accent-ink); font-weight: 700; }
.theme-b2 .flow li.is-human.is-live { box-shadow: 0 0 0 3px rgba(95,227,161,.16); }

/* reveals on scroll */
.js-motion [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--d, 0) * 80ms); }
.js-motion [data-reveal].is-in { opacity: 1; transform: none; }

/* cards: lift + accent line draws along the top on hover / focus */
.theme-b2 .card { position: relative; overflow: hidden; transition: transform .25s ease, border-color .25s ease, background-color .25s ease; }
.theme-b2 .card::before { content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; transition: transform .4s cubic-bezier(.2,.7,.2,1); }
.theme-b2 .card:hover, .theme-b2 .card:focus-within { transform: translateY(-4px); border-color: var(--line-strong); background: #141a1f; }
.theme-b2 .card:hover::before, .theme-b2 .card:focus-within::before { transform: scaleX(1); }
.theme-b2 .more span { display: inline-block; transition: transform .2s ease; }
.theme-b2 .more:hover span, .theme-b2 .card:hover .more span { transform: translateX(4px); }
.theme-b2 .btn-primary { transition: background-color .15s ease, transform .15s ease; }
.theme-b2 .btn-primary:hover { transform: translateY(-1px); }
.theme-b2 .btn-primary:active { transform: translateY(0); }

/* steps: a line draws through the numbers, numbers fill in turn */
.theme-b2 .steps:not(.steps-long) { position: relative; }
.theme-b2 .steps:not(.steps-long)::before { content: ""; position: absolute; left: 18px; right: 12%; top: 18px; height: 1px; background: var(--line-strong); transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.4s cubic-bezier(.2,.7,.2,1) .2s; }
.theme-b2 .steps.is-in:not(.steps-long)::before { transform: scaleX(1); }
.theme-b2 .step-n { position: relative; z-index: 1; transition: background-color .4s ease, color .4s ease, border-color .4s ease; transition-delay: calc(var(--d, 0) * 220ms + 300ms); }
.theme-b2 li.is-in > .step-n, .theme-b2 .is-in .step-n { background: var(--accent); color: #06130c; border-color: var(--accent); }
.theme-b2 .steps-long li { position: relative; }
.theme-b2 .principles li { position: relative; }
.theme-b2 .principles li::before { content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; transition: transform .9s cubic-bezier(.2,.7,.2,1) .15s; }
.theme-b2 .principles li.is-in::before { transform: scaleX(.28); }
.theme-b2 .ok-mark { animation: pop .5s cubic-bezier(.2,1.4,.4,1) both; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }

/* ---------- signature animation: a custom agent system built for one request ---------- */
.sig-section { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-alt); }
.sig-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.sig-top h2 { max-width: 24ch; }
.sig-pause { flex: none; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: var(--radius-s); background: transparent; color: var(--ink-strong); font: 500 0.9rem var(--font-body); cursor: pointer; }
.sig-pause:hover { background: var(--hover); }
.sig-pause-ic { width: 10px; height: 12px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.sig-pause[aria-pressed="true"] .sig-pause-ic { width: 0; height: 0; border: 6px solid transparent; border-left: 10px solid currentColor; border-right: 0; }
.sig { --row: 58px; --gap: 10px; display: grid; grid-template-columns: minmax(0, 1.05fr) 72px minmax(0, 1.1fr) 72px minmax(0, .8fr); gap: 0; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); }
.sig:focus-visible { outline-offset: 4px; }
.sig-lab { margin: 0 0 10px; height: 18px; font: var(--eyebrow-font); letter-spacing: var(--eyebrow-track); text-transform: uppercase; color: var(--ink-faint); }
.sig-c1 { display: grid; grid-template-rows: auto auto auto 1fr; }
.sig-req { margin: 0 0 16px; height: 92px; overflow: hidden; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius-s); background: var(--card); color: var(--ink-strong); font-size: .95rem; line-height: 1.45; }
.sig-type { border-right: 2px solid transparent; }
.sig-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--gap); }
.sig-item { height: var(--row); display: flex; align-items: center; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--radius-s); background: var(--card); font-size: .93rem; color: var(--ink-strong); min-width: 0; transition: opacity .5s ease, transform .5s cubic-bezier(.2,.7,.2,1), border-color .4s ease, background-color .4s ease, box-shadow .4s ease; transition-delay: calc(var(--i) * 90ms); }
.sig-c2, .sig-c3, .sig-wires { padding-top: 164px; } /* agents, tools and wires start level with the first need row */
.sig-c2 .sig-lab, .sig-c3 .sig-lab { margin-top: -28px; }
.sig-agent { display: grid; grid-template-columns: 26px 1fr; grid-template-rows: 1fr 1fr; column-gap: 12px; align-content: center; padding: 8px 14px; }
.sig-ic { grid-row: 1 / 3; align-self: center; width: 26px; height: 26px; border-radius: 7px; border: 1.5px solid var(--accent); position: relative; }
.sig-ic::after { content: ""; position: absolute; inset: 7px; border-radius: 2px; background: var(--accent); }
.sig-an { align-self: end; font-weight: 600; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sig-ar { align-self: start; font-size: .8rem; color: var(--ink-faint); line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sig-tool { justify-content: space-between; font-family: var(--font-mono); font-size: .86rem; }
.sig-ok { width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: #06130c; font: 700 .8rem var(--font-body); display: inline-flex; align-items: center; justify-content: center; transform: scale(0); transition: transform .4s cubic-bezier(.2,1.5,.4,1); }
.sig-wires { display: grid; gap: var(--gap); align-content: start; }
.sig-wire { height: var(--row); position: relative; }
.sig-wire::before { content: ""; position: absolute; left: 6px; right: 6px; top: 50%; height: 1px; background: var(--line-strong); transform: scaleX(0); transform-origin: 0 50%; transition: transform .6s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--i) * 90ms + 150ms); }
.sig-wire i { position: absolute; left: 6px; top: 50%; width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; border-radius: 50%; background: var(--accent); opacity: 0; }
/* phases: 0 request, 1 needs, 2 agents, 3 systems, 4 human approval, 5 running */
.sig[data-phase="0"] .sig-need, .sig[data-phase="0"] .sig-agent, .sig[data-phase="0"] .sig-tool, .sig[data-phase="1"] .sig-agent, .sig[data-phase="1"] .sig-tool, .sig[data-phase="2"] .sig-tool { opacity: 0; transform: translateX(-14px); }
.sig[data-phase="0"] .sig-lab2, .sig[data-phase="0"] .sig-c2 .sig-lab, .sig[data-phase="0"] .sig-c3 .sig-lab, .sig[data-phase="1"] .sig-c2 .sig-lab, .sig[data-phase="1"] .sig-c3 .sig-lab, .sig[data-phase="2"] .sig-c3 .sig-lab { opacity: 0; }
.sig-lab { transition: opacity .4s ease; }
.sig[data-phase="2"] .sig-w1 .sig-wire::before, .sig[data-phase="3"] .sig-wire::before, .sig[data-phase="4"] .sig-wire::before, .sig[data-phase="5"] .sig-wire::before { transform: scaleX(1); }
.sig[data-phase="2"] .sig-w2 .sig-wire::before { transform: scaleX(0); }
.sig[data-phase="1"] .sig-need, .sig[data-phase="2"] .sig-agent, .sig[data-phase="3"] .sig-tool { border-color: var(--line-strong); }
.sig[data-phase="4"] .is-gate, .sig[data-phase="5"] .is-gate { border-color: var(--accent); background: #101a15; box-shadow: 0 0 0 3px rgba(95,227,161,.14); }
.sig[data-phase="4"] .sig-ok, .sig[data-phase="5"] .sig-ok { transform: scale(1); }
.sig[data-phase="5"] .sig-wire i { animation: travel 1.5s cubic-bezier(.4,0,.6,1) infinite; animation-delay: calc(var(--i) * 180ms); }
.sig[data-phase="5"] .sig-w2 .sig-wire i { animation-delay: calc(var(--i) * 180ms + 750ms); }
.sig[data-phase="5"] .sig-ic::after { animation: blink 1.5s ease-in-out infinite; animation-delay: calc(var(--i) * 180ms + 400ms); }
@keyframes travel { 0% { transform: translateX(0); opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { transform: translateX(60px); opacity: 0; } }
@keyframes blink { 50% { opacity: .35; } }
.sig.is-typing .sig-type { border-right-color: var(--accent); }
.sig.is-paused .sig-wire i, .sig.is-paused .sig-ic::after { animation-play-state: paused; }
.sig-foot { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 28px; margin-top: 18px; align-items: start; }
.sig-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.sig-steps li { padding-top: 10px; border-top: 2px solid var(--line-strong); font: 500 .76rem var(--font-mono); color: var(--ink-faint); transition: color .3s ease, border-color .3s ease; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sig-steps li.is-done { border-color: var(--accent); color: var(--ink); }
.sig-steps li.is-now { border-color: var(--accent); color: var(--accent-ink); }
.sig-log { list-style: none; margin: 0; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-s); background: var(--bg); font: 400 .8rem/1.7 var(--font-mono); color: var(--ink-soft); min-height: 152px; }
.sig-log li { opacity: 0; transition: opacity .3s ease; }
.sig-log li::before { content: "› "; color: var(--accent-ink); }
.sig-log li.is-done, .sig-log li.is-now { opacity: 1; }
.sig-log li.is-now { color: var(--ink-strong); }

@media (max-width: 900px) {
  .sig-top { flex-direction: column; align-items: flex-start; }
  /* phone: three stacked blocks with one short vertical wire between them */
  .sig { grid-template-columns: 1fr; padding: 16px; --row: 46px; --gap: 8px; }
  .sig-c2, .sig-c3 { padding-top: 0; } .sig-c2 .sig-lab, .sig-c3 .sig-lab { margin-top: 0; }
  .sig-wires { padding: 0; height: 34px; display: block; position: relative; }
  .sig-wire { display: none; } .sig-wire:first-child { display: block; height: 34px; }
  .sig-wire::before { left: 50%; right: auto; top: 4px; bottom: 4px; width: 1px; height: auto; transform: scaleY(0); transform-origin: 50% 0; }
  .sig[data-phase="2"] .sig-w1 .sig-wire::before, .sig[data-phase="3"] .sig-wire::before, .sig[data-phase="4"] .sig-wire::before, .sig[data-phase="5"] .sig-wire::before { transform: scaleY(1); }
  .sig[data-phase="2"] .sig-w2 .sig-wire::before { transform: scaleY(0); }
  .sig-wire i { left: 50%; top: 4px; }
  @keyframes travel { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { transform: translateY(26px); opacity: 0; } }
  .sig-c2 .sig-list, .sig-c3 .sig-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sig-c3 .sig-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sig-c3 .is-gate { grid-column: 1 / -1; order: 9; }
  .sig-agent { grid-template-columns: 1fr; padding: 6px 10px; } .sig-ic { display: none; }
  .sig-req { height: auto; min-height: 66px; }
  .sig-item { font-size: .86rem; padding: 0 10px; }
  .sig-foot { grid-template-columns: 1fr; gap: 14px; }
  .sig-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 12px; }
  .sig-log { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .theme-b2 .hero { animation: none; }
  .js-motion .hero-copy > *, .js-motion .hero .flow, .js-motion [data-reveal] { opacity: 1 !important; transform: none !important; }
  .theme-b2 .hl { background: none; -webkit-text-fill-color: currentColor; color: var(--hl); }
  .sig-pause { display: none; }
  .sig-log li, .sig-steps li { opacity: 1; }
}


/* ================= v3 motion (theme-b3): anime.js drives the hero picture, the headline words, the curved wires and the travelling dots.
   CSS below only sets the resting look. With prefers-reduced-motion everything is shown still (bottom of this block). ================= */
/* headline: words rise out of a mask (anime.js) */
.theme-b3.js-motion .hero-copy > h1, .theme-b3.js-motion .page-head h1 { opacity: 1; transform: none; animation: none; }
.w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .12em; margin-bottom: -.12em; }
.wi { display: inline-block; will-change: transform; }
.theme-b3 .hl .wi { background: inherit; -webkit-background-clip: text; background-clip: text; }
.theme-b3 .hl { background: none; -webkit-text-fill-color: currentColor; color: var(--hl); animation: none; }

/* hero picture (desktop); the phone keeps the simple flow list */
.hgraph { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px 14px; }
.hgraph svg { display: block; width: 100%; height: auto; overflow: visible; }
.hg-head { font: 500 10.5px var(--font-mono); letter-spacing: .08em; fill: var(--ink-faint); }
.hg-link { fill: none; stroke: var(--line-strong); stroke-width: 1.2; }
.hg-dot { fill: var(--accent); opacity: 0; }
.hg-node rect:first-child { fill: var(--bg); stroke: var(--line-strong); stroke-width: 1; transition: stroke .3s ease, fill .3s ease; }
.hg-node text { font: 500 13px var(--font-body); fill: var(--ink-strong); }
.hg-ic { fill: none; stroke: var(--accent); stroke-width: 1.5; }
.hg-ic2 { fill: var(--accent); }
.hg-node.is-gate rect:first-child { stroke: var(--accent); fill: #101a15; }
.hg-node.is-hit rect:first-child { stroke: var(--accent); }
.hg-node { transform-box: fill-box; transform-origin: 50% 50%; }
.theme-b3 .hero .flow { display: none; }
.theme-b3.js-motion .hero .hgraph { opacity: 1; transform: none; animation: none; }
@media (max-width: 900px) { .theme-b3 .hero .flow { display: block; } .hgraph { display: none; } }

/* ticker: what agents do (real capabilities, no clients, no numbers) */
.ticker { display: flex; overflow: hidden; border-bottom: 1px solid var(--line); background: var(--bg); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ticker ul { flex: none; display: flex; gap: 0; list-style: none; margin: 0; padding: 14px 0; animation: tick 46s linear infinite; }
.ticker:hover ul { animation-play-state: paused; }
.ticker li { font: 500 .82rem var(--font-mono); color: var(--ink-soft); white-space: nowrap; padding: 0 22px; position: relative; }
.ticker li::before { content: ""; position: absolute; left: -3px; top: 50%; width: 6px; height: 6px; margin-top: -3px; background: var(--accent); border-radius: 2px; transform: rotate(45deg); }
@keyframes tick { to { transform: translateX(-100%); } }

/* signature scene: curved wires drawn in one SVG layer over the columns (desktop) */
.theme-b3 .sig { position: relative; }
.sig-svg { position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.sig-svg path { fill: none; stroke: var(--line-strong); stroke-width: 1.2; }
.sig-svg path.is-gate { stroke: var(--accent); }
.sig-svg circle { fill: var(--accent); opacity: 0; }
.sig.has-svg .sig-wire::before, .sig.has-svg .sig-wire i { display: none; }
.sig.has-svg .sig-col { position: relative; z-index: 1; }
/* an agent is "being built": a bar runs under its name once, then the tile settles */
.theme-b3 .sig-agent { position: relative; overflow: hidden; }
.theme-b3 .sig-agent::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; }
.theme-b3 .sig[data-phase="2"] .sig-agent::after { animation: build .9s cubic-bezier(.3,.6,.2,1) both; animation-delay: calc(var(--i) * 110ms + 250ms); }
@keyframes build { 0% { transform: scaleX(0); opacity: 1; } 80% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }
.theme-b3 .sig[data-phase="5"] .sig-agent { border-color: var(--line-strong); }
.theme-b3 .sig-item.is-hit { border-color: var(--accent); }

@media (prefers-reduced-motion: reduce) {
  .ticker ul { animation: none; flex-wrap: wrap; } .ticker ul[aria-hidden] { display: none; } .ticker { -webkit-mask-image: none; mask-image: none; }
  .w { overflow: visible; }
  .hg-dot, .sig-svg circle { display: none; }
}

@media (min-width: 821px) { .theme-b3 .hero-grid { grid-template-columns: minmax(0, 1.06fr) minmax(0, 1fr); } }
.theme-b3 h1 { font-size: clamp(2.2rem, 4.5vw, 3.5rem); }
