/* stevensawarin.com - one stylesheet, no framework.
   A dark hero with the ASCII name, paper sections, dark "instrument" panels for the live systems,
   one signal colour. Full width: the layout runs edge to edge with a small gutter. */

@font-face { font-family: "Plex Sans"; src: url("/assets/plex-sans.1e87585660.woff2") format("woff2"); font-weight: 100 700; font-stretch: 75% 100%; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url("/assets/plex-mono-400.08949f728d.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url("/assets/plex-mono-500.01d2854474.woff2") format("woff2"); font-weight: 500; font-display: swap; }
/* metric-matched fallback so the swap does not shove the layout */
@font-face { font-family: "Plex Fallback"; src: local("Arial"), local("Helvetica"); size-adjust: 104%; ascent-override: 98.5%; descent-override: 26.4%; line-gap-override: 0%; }

:root {
  --paper: #f4f2ed;
  --paper-2: #ebe8e1;
  --ink: #121315;
  --ink-2: #393b40;
  --muted: #5a5d64;
  --rule: #d3cfc5;
  --accent: #0b7340;
  --accent-soft: #d8ebdf;
  --panel: #101214;
  --panel-2: #181b1f;
  --panel-3: #22262b;
  --panel-line: #2c3137;
  --panel-ink: #ebe9e4;
  --panel-muted: #9da3ab;
  --hero: #0e1012;
  --hero-ink: #ecebe6;
  --hero-muted: #b4b7bc;
  --signal: #36d482;
  --signal-dim: #1d6b45;
  --warn: #f3ad3d;
  --bad: #ff6d6d;
  --radius: 14px;
  --sans: "Plex Sans", "Plex Fallback", system-ui, sans-serif;
  --mono: "Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --gutter: clamp(16px, 3.2vw, 56px);
  --top-h: 64px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0d0e10;
    --paper-2: #131518;
    --ink: #edece8;
    --ink-2: #c4c5c2;
    --muted: #9c9fa5;
    --rule: #2a2d32;
    --accent: #3fd38c;
    --accent-soft: #15301f;
    --panel: #15181b;
    --panel-2: #1c2024;
    --panel-3: #262b31;
    --panel-line: #313740;
    --hero: #0d0e10;   /* = --paper: the hero and About meet without a band in dark mode (Steven 6738); was #0a0b0d */
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--top-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-kerning: normal;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.015em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ol, ul { margin: 0; padding: 0; list-style: none; }
mark { background: none; color: inherit; }

/* full width: no max-width, only a gutter */
.wrap { width: 100%; padding-inline: var(--gutter); }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: 8px; text-decoration: none; }
.skip:focus { top: 12px; }
.i { width: 1.05em; height: 1.05em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5em;
  min-height: 46px; padding: 0 20px;
  border-radius: 10px; border: 1px solid var(--ink);
  background: var(--ink); color: var(--paper);
  font: 500 0.97rem/1 var(--sans); text-decoration: none; cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-small { min-height: 38px; padding: 0 14px; font-size: 0.9rem; }
.btn-inv { background: var(--hero-ink); color: var(--hero); border-color: var(--hero-ink); }
.btn-inv:hover { background: var(--signal); border-color: var(--signal); color: #06140c; }
.btn-ghost { background: transparent; color: var(--hero-ink); border-color: #3a3f46; }
.btn-ghost:hover { background: #1c1f23; border-color: var(--hero-muted); color: #fff; }
@media (prefers-color-scheme: dark) { .btn:hover { color: #06140c; } }
/* the hero's ghost button (Email me): visible on hover in light and dark mode (Steven 5369) */
.cta-row .btn-ghost:hover, .cta-row .btn-ghost:focus-visible { background: var(--hero-ink); border-color: var(--hero-ink); color: var(--hero); }

/* ---------- header (dark over the hero, paper after it) ---------- */
.top {
  position: sticky; top: 0; z-index: 30;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  transition: background-color .25s ease, border-color .25s ease, color .25s ease;
}
.top-in { height: var(--top-h); display: flex; align-items: center; gap: 18px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand-mark {
  width: 30px; height: 30px; border-radius: 8px; background: var(--ink); color: var(--paper);
  display: grid; place-items: center; font: 600 1rem/1 var(--mono); position: relative;
  transition: background-color .25s ease, color .25s ease;
}
.brand-mark::after { content: ""; position: absolute; right: -3px; top: -3px; width: 9px; height: 9px; border-radius: 50%; background: var(--signal); border: 2px solid var(--paper); }
.brand-name { font-weight: 600; letter-spacing: -0.01em; }
.nav { display: flex; gap: 2px; }
.nav a { padding: 8px 10px; border-radius: 8px; text-decoration: none; font-size: 0.94rem; color: var(--ink-2); }
.nav a:hover, .nav a[aria-current="true"] { color: var(--ink); background: var(--paper-2); }
.top-live { display: none; }
.menu-btn { display: none; }
.top.on-dark { background: var(--hero); border-bottom-color: #1d2024; color: var(--hero-ink); }
.top.on-dark .brand-mark { background: var(--hero-ink); color: var(--hero); }
.top.on-dark .brand-mark::after { border-color: var(--hero); }
.top.on-dark .nav a { color: var(--hero-muted); }
.top.on-dark .nav a:hover { color: #fff; background: #1b1e22; }
.top.on-dark .btn-small { background: var(--hero-ink); color: var(--hero); border-color: var(--hero-ink); }
.top.on-dark .btn-small:hover { background: var(--signal); border-color: var(--signal); color: #06140c; }
@media (min-width: 1180px) {
  .top-live { display: inline-flex; align-items: center; gap: 8px; font: 500 0.8rem/1 var(--mono); color: var(--muted); }
  .top-live[hidden] { display: none; }
  .top-live i { width: 8px; height: 8px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 3px color-mix(in srgb, var(--signal) 25%, transparent); }
  .top.on-dark .top-live { color: var(--hero-muted); }
}
@media (max-width: 959px) {
  .menu-btn {
    display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 10px;
    border: 1px solid var(--rule); background: transparent; color: inherit; cursor: pointer; font-size: 1.15rem;
  }
  .top.on-dark .menu-btn { border-color: #33383f; }
  .nav {
    position: absolute; left: 0; right: 0; top: var(--top-h);
    flex-direction: column; gap: 0; padding: 8px var(--gutter) 16px;
    background: var(--paper); border-bottom: 1px solid var(--rule);
    display: none;
  }
  .top.on-dark .nav { background: var(--hero); border-bottom-color: #1d2024; }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 4px; font-size: 1.05rem; border-bottom: 1px solid var(--rule); border-radius: 0; }
  .top.on-dark .nav a { border-bottom-color: #1d2024; }
  .nav a:last-child { border-bottom: 0; }
  .brand-name { font-size: 0.98rem; }
}
@media (max-width: 380px) { .top-in > .btn-small { display: none; } }

/* ---------- shared bits ---------- */
.live { display: inline-flex; align-items: center; gap: 7px; font: 500 0.78rem/1 var(--mono); color: var(--panel-muted); }
.live i { width: 8px; height: 8px; border-radius: 50%; background: var(--panel-muted); }
.live.is-on { color: var(--signal); }
.live.is-on i { background: var(--signal); animation: pulse 2.4s ease-in-out infinite; }
.live.is-off i { background: var(--warn); }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--signal) 55%, transparent); } 50% { box-shadow: 0 0 0 5px color-mix(in srgb, var(--signal) 0%, transparent); } }
.panel { background: var(--panel); color: var(--panel-ink); border-radius: var(--radius); border: 1px solid var(--panel-line); }
/* 08 · Content (Steven 5369/5372): big counters, a self-drawing line, platform bars; counted up on entry */
.vids-top { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: clamp(18px, 3vw, 48px); }
.vbig { display: grid; gap: 4px; padding-top: 16px; border-top: 2px solid var(--accent); }
.vbig .v { font: 620 clamp(3rem, 1.4rem + 6.4vw, 6.6rem)/0.95 var(--sans); font-stretch: 82%; letter-spacing: -0.035em; font-variant-numeric: tabular-nums; color: var(--ink); }
.vbig .k { font: 400 0.82rem/1.2 var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.vids-grid { display: grid; gap: clamp(28px, 4vw, 56px); margin-top: clamp(32px, 4vw, 56px); align-items: center; }
@media (min-width: 960px) { .vids-grid { grid-template-columns: 1.15fr 1fr; } }
.vchart { margin: 0; }
.vplats { list-style: none; margin: 0; padding: 0; }
.vplats li { display: grid; grid-template-columns: 6.6rem 1fr; grid-template-areas: "n b" ". v"; column-gap: 16px; row-gap: 4px; padding: 14px 0; border-top: 1px solid var(--rule); }
.vplats li:last-child { border-bottom: 1px solid var(--rule); }
.vplats .pn { grid-area: n; font-weight: 600; }
.vplats .pb { grid-area: b; align-self: center; height: 10px; border-radius: 999px; background: var(--accent-soft); overflow: hidden; }
.vplats .pb i { display: block; height: 100%; width: var(--w); border-radius: inherit; background: var(--accent); transform-origin: left; }
.vplats .pv { grid-area: v; font-variant-numeric: tabular-nums; color: var(--ink-2); }
.vplats b { font-weight: 600; color: var(--ink); }
.js .vids:not(.is-in) .pb i { transform: scaleX(0); }
.js .vids .pb i { transition: transform 1.5s cubic-bezier(.2,.7,.1,1) var(--d, 0s), width .9s ease; }
.js .vids:not(.is-in) .vplats li { opacity: 0; transform: translateY(10px); }
.js .vids .vplats li { transition: opacity .6s ease var(--d, 0s), transform .6s cubic-bezier(.2,.7,.1,1) var(--d, 0s); }
.vnote { display: flex; align-items: center; gap: 10px; margin-top: 28px; font-size: 0.86rem; color: var(--muted); }
.vlive { width: 8px; height: 8px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 0 rgba(54, 212, 130, .5); animation: vlive 2.2s ease-out infinite; flex: none; }
@keyframes vlive { 0% { box-shadow: 0 0 0 0 rgba(54, 212, 130, .5); } 80%, 100% { box-shadow: 0 0 0 10px rgba(54, 212, 130, 0); } }
.vbig .v.is-tick { color: var(--accent); transition: color .6s ease; }
@media (prefers-reduced-motion: reduce) { .vlive { animation: none; } }
.vplats li[data-p="Instagram"] { --w: 100.0%; --d: 0.00s; } .vplats li[data-p="TikTok"] { --w: 86.8%; --d: 0.12s; } .vplats li[data-p="YouTube"] { --w: 32.6%; --d: 0.24s; } .vplats li[data-p="Facebook"] { --w: 34.7%; --d: 0.36s; }
.note { margin-top: 28px; max-width: 72ch; font-size: 0.86rem; line-height: 1.55; color: var(--muted); }
.note a { color: var(--ink-2); }
.cta-row { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- hero: the name as an interactive ASCII grid ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: calc(100svh - var(--top-h));
  display: flex; align-items: center;
  background: var(--hero); color: var(--hero-ink);
}
.hero-ascii { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: pan-y; }
.hero-in { position: relative; z-index: 1; padding-top: clamp(40px, 8vw, 120px); padding-bottom: clamp(44px, 7vw, 96px); pointer-events: none; }
.hero-in a, .hero-in .cta-row { pointer-events: auto; }
.hero-h1 { display: grid; gap: clamp(14px, 2vw, 28px); font-weight: inherit; letter-spacing: 0; }
.hero-name {
  display: block;
  font-size: clamp(64px, 13vw, 300px); line-height: 0.88;
  font-weight: 700; font-stretch: 75%; letter-spacing: -0.035em;
  color: var(--hero-ink);
}
/* phones and tablets: the name on two lines, as big as the width allows */
@media (max-width: 899px) { .hero-name { font-size: 22vw; } }
.ascii-on .hero-name { color: transparent; }
.hero-role {
  display: flex; align-items: center; gap: 14px;
  font-size: clamp(1.35rem, 0.9rem + 2vw, 2.7rem); line-height: 1.1;
  font-weight: 500; font-stretch: 88%; letter-spacing: -0.015em; color: var(--hero-ink);
}
.hero-role::before { content: ""; width: 0.42em; height: 0.42em; border-radius: 50%; background: var(--signal); flex: none; box-shadow: 0 0 0 0.16em color-mix(in srgb, var(--signal) 22%, transparent); }
.hero-lede { margin-top: 22px; max-width: 60ch; font-size: clamp(1.04rem, 0.96rem + 0.35vw, 1.22rem); line-height: 1.55; color: var(--hero-muted); }
/* the name takes the finger on phones: pressing and dragging over it pushes the characters, not the page */
.ascii-on .hero-name { pointer-events: auto; touch-action: none; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; cursor: crosshair; }
.hero-hint { position: absolute; right: var(--gutter); bottom: 22px; z-index: 1; font: 400 0.76rem/1 var(--mono); color: #7c8188; }
.hero-hint .h-touch { display: none; }
@media (hover: none) { .hero-hint .h-mouse { display: none; } .hero-hint .h-touch { display: inline; } .hero-hint { left: var(--gutter); right: auto; } }

/* ---------- sections ---------- */
.sec { padding: clamp(72px, 9vw, 136px) 0; }
.sec-alt { background: var(--paper-2); }
.sec-head { max-width: 820px; margin-bottom: clamp(36px, 5vw, 64px); }
.sec-n { font: 500 0.86rem/1 var(--mono); color: var(--accent); margin-bottom: 18px; }
.sec-head h2 { font-size: clamp(2rem, 1.1rem + 3.4vw, 3.6rem); line-height: 1.02; letter-spacing: -0.028em; font-stretch: 84%; font-weight: 620; }
.sec-lede { margin-top: 20px; color: var(--ink-2); font-size: 1.1rem; max-width: 64ch; }

/* ---------- about: an ASCII field behind it (animations-hub backgrounds/23, Steven 6730) ----------
   One canvas under the whole section: three sine waves pick characters from a density ramp, the cursor warms
   them. Faint on purpose (the text sits on it) and faded out at the top and bottom so the bands keep clean seams. */
.sec-ascii { position: relative; isolation: isolate; overflow: hidden; }
/* the hero has the same field (Steven 6734) under the name's canvas, in the hero's own colours; it starts under the
   header, so it fades out only at the bottom */
.af.af-hero { -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 140px), transparent 100%); mask-image: linear-gradient(to bottom, #000 calc(100% - 140px), transparent 100%); }
.sec-ascii > .wrap { position: relative; z-index: 1; }
.af { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 140px, #000 calc(100% - 140px), transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 140px, #000 calc(100% - 140px), transparent 100%); }

/* ---------- about: the six steps, with a line that runs through them ---------- */
.process { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); --p: 1; }
.process::before, .process::after { content: ""; position: absolute; left: 0; right: 0; top: 17px; height: 2px; background: var(--rule); }
.process::after { background: var(--accent); transform: scaleX(var(--p)); transform-origin: left center; }
.process li { position: relative; z-index: 1; padding: 46px 22px 0 0; }
.process li::before {
  content: ""; position: absolute; top: 11px; left: 0; width: 14px; height: 14px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--rule);
  transition: background-color .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.process li.is-on::before { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 18%, transparent); }
.process .p-n { font: 500 0.8rem/1 var(--mono); color: var(--muted); }
.process h3 { margin-top: 10px; font-size: clamp(1.1rem, 0.95rem + 0.5vw, 1.35rem); letter-spacing: -0.015em; font-stretch: 90%; transition: color .3s ease; }
.process p { margin-top: 8px; color: var(--ink-2); font-size: 0.97rem; }
.process li.is-on h3 { color: var(--accent); }
/* the elastic line (animations-hub svg/33, Steven 6729): on a desktop with a mouse the two CSS bars give way to one SVG
   curve you can pluck; the dots ride on it (--dy). Phones, touch and reduced motion keep the straight bars. */
.process-box { position: relative; }
.p-line { display: none; }
.process-box.is-elastic .process::before, .process-box.is-elastic .process::after { display: none; }
.process-box.is-elastic .p-line { display: block; position: absolute; left: 0; top: -62px; width: 100%; height: 160px; overflow: visible; pointer-events: none; z-index: 0; }
.p-line path { fill: none; stroke-width: 2; stroke-linecap: round; }
.p-rest { stroke: var(--rule); }
.p-fill { stroke: var(--accent); stroke-dasharray: 1 1; stroke-dashoffset: 1; }
.process-box.is-elastic .process li::before { transform: translateY(var(--dy, 0px)); }
.pl-hot { cursor: pointer; }   /* over the elastic line: it can be caught (Steven 6732) */
@media (max-width: 899px) {
  .process { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .process::before, .process::after { left: 7px; right: auto; top: 14px; bottom: 14px; width: 2px; height: auto; }
  .process::after { transform: scaleY(var(--p)); transform-origin: center top; }
  .process li { padding: 6px 0 18px 40px; }
  .process li::before { top: 8px; left: 1px; }
}

.index-h { margin-top: clamp(72px, 9vw, 120px); font: 500 0.86rem/1 var(--mono); color: var(--muted); letter-spacing: 0; padding-bottom: 14px; border-bottom: 1px solid var(--ink); }
.index li a {
  display: grid; grid-template-columns: 3rem minmax(0, 1fr) 2rem; gap: 6px 18px; align-items: baseline;
  padding: 20px 4px; border-bottom: 1px solid var(--rule); text-decoration: none;
  transition: background-color .2s ease;
}
.index .n { font: 500 0.86rem/1 var(--mono); color: var(--muted); }
.index .t { font-size: clamp(1.25rem, 1.05rem + 0.9vw, 1.85rem); font-weight: 600; letter-spacing: -0.02em; font-stretch: 88%; }
.index .d { grid-column: 2; color: var(--ink-2); max-width: 62ch; font-size: 0.98rem; }
.index .go { grid-column: 3; grid-row: 1; justify-self: end; color: var(--muted); transition: transform .2s ease, color .2s ease; }
.index li a:hover { background: var(--paper-2); }
.index li a:hover .go { transform: translateX(4px); color: var(--accent); }
@media (min-width: 900px) {
  .index li a { grid-template-columns: 3rem minmax(0, 0.9fr) minmax(0, 1.4fr) 2rem; }
  .index .d { grid-column: 3; }
  .index .go { grid-column: 4; }
}

/* ---------- work ---------- */
.cases { display: grid; gap: clamp(56px, 7vw, 104px); }
.case { display: grid; gap: 26px; align-items: center; }
@media (min-width: 900px) {
  .case { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 4.5vw, 88px); }
  .case:nth-child(even) .shot { order: 2; }
}
.shot {
  display: block; border-radius: 12px; overflow: hidden; text-decoration: none;
  background: var(--paper); border: 1px solid var(--rule);
  box-shadow: 0 1px 0 var(--rule), 0 18px 40px -28px rgba(20, 20, 20, .45);
  transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s ease;
}
.shot:hover { transform: translateY(-3px); box-shadow: 0 1px 0 var(--rule), 0 26px 50px -30px rgba(20, 20, 20, .55); }
.shot-bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-bottom: 1px solid var(--rule); background: var(--paper-2); font: 400 0.78rem/1 var(--mono); color: var(--muted); }
.shot-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--rule); }
.shot-bar span { margin-left: 10px; }
.shot img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; background: var(--paper-2); }
.case-body { max-width: 680px; }
.case-meta { font: 500 0.84rem/1.4 var(--mono); color: var(--muted); }
.case h3 { margin-top: 10px; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem); letter-spacing: -0.025em; font-stretch: 86%; }
.case h3 a { text-decoration: none; }
.case h3 a:hover { text-decoration: underline; }
.case-sum { margin-top: 12px; color: var(--ink-2); max-width: 56ch; }
.growth { margin: 26px 0 0; }
.growth svg { width: 100%; height: auto; overflow: visible; }
.g-grid { stroke: var(--rule); stroke-width: 1; }
.g-area { fill: var(--accent-soft); }
.g-line { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.g-dot { fill: var(--accent); }
.g-halo { fill: var(--accent); opacity: 0; transform-box: fill-box; transform-origin: center; }
.growth.is-done .g-halo { animation: halo 2.4s ease-out infinite; }
@keyframes halo { 0% { transform: scale(1); opacity: .35; } 100% { transform: scale(3.4); opacity: 0; } }
.g-axis { display: flex; justify-content: space-between; margin-top: 6px; font: 400 0.74rem/1 var(--mono); color: var(--muted); }
.growth figcaption { margin-top: 10px; font-size: 0.9rem; color: var(--ink-2); }

/* ---------- AI answers ---------- */
.ai-grid { display: grid; gap: 40px; align-items: start; }
@media (min-width: 960px) { .ai-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(40px, 5vw, 88px); } }
.chat { margin: 0; overflow: hidden; }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--panel-line); font: 500 0.82rem/1 var(--mono); color: var(--panel-ink); }
.chat-head .chat-ico { width: 26px; height: 26px; border-radius: 8px; background: var(--panel-3); display: grid; place-items: center; color: var(--signal); }
.chat-mode { margin-left: auto; color: var(--panel-muted); display: inline-flex; align-items: center; gap: 6px; }
.chat-body { padding: 22px 18px 8px; min-height: 360px; display: flex; flex-direction: column; gap: 14px; }
.msg-q {
  align-self: flex-end; max-width: 85%;
  background: var(--panel-3); color: var(--panel-ink);
  padding: 11px 15px; border-radius: 16px 16px 4px 16px; font-size: 1rem;
}
.msg-status { display: flex; align-items: center; gap: 10px; font: 400 0.82rem/1.3 var(--mono); color: var(--panel-muted); }
.msg-status .srcs { display: inline-flex; gap: 5px; }
.msg-status .srcs b { width: 18px; height: 18px; border-radius: 5px; background: var(--panel-3); border: 1px solid var(--panel-line); }
.spin { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--panel-line); border-top-color: var(--signal); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.msg-a { max-width: 96%; font-size: 1.04rem; line-height: 1.6; color: var(--panel-ink); }
.msg-a mark { color: var(--signal); font-weight: 600; }
.msg-a .w { transition: opacity .25s ease; }
.cite {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 12px;
  padding: 6px 10px; border-radius: 8px; background: var(--panel-2); border: 1px solid var(--panel-line);
  font: 500 0.8rem/1 var(--mono); color: var(--panel-ink); text-decoration: none;
}
.cite:hover { border-color: var(--signal); }
.cite .i { color: var(--signal); }
.chat-cap { padding: 14px 18px 18px; border-top: 1px solid var(--panel-line); display: grid; gap: 8px; }
.chat-en { font-size: 0.95rem; color: var(--panel-ink); font-style: italic; }
.chat-src { font: 400 0.76rem/1.5 var(--mono); color: var(--panel-muted); }
.chat-dots { display: flex; gap: 6px; padding: 0 18px 14px; }
.chat-dots button { width: 22px; height: 6px; border-radius: 3px; border: 0; padding: 0; background: var(--panel-3); cursor: pointer; }
.chat-dots button[aria-pressed="true"] { background: var(--signal); }
.js .chat [data-status], .js .chat .cite, .js .chat [data-en] { transition: opacity .3s ease; }
.js .chat .is-hid { opacity: 0; }

.ai-side h3 { font-size: 1.5rem; letter-spacing: -0.02em; font-stretch: 88%; }
.ai-metric { margin-top: 6px; color: var(--ink-2); }
.ai-side > p:not(.note):not(.ai-metric) { margin-top: 26px; color: var(--ink-2); max-width: 60ch; }
.bars { margin-top: 22px; display: grid; gap: 18px; }
.bars-row { display: grid; grid-template-columns: 4.2rem minmax(0, 1fr); gap: 4px 14px; align-items: center; }
.bars-row > time { grid-row: span 2; font: 500 0.82rem/1.2 var(--mono); color: var(--muted); }
.bar { display: grid; grid-template-columns: minmax(0, 1fr) 4.6rem; gap: 10px; align-items: center; font: 400 0.78rem/1 var(--mono); color: var(--ink-2); }
.bar-track { display: block; height: 12px; border-radius: 3px; background: color-mix(in srgb, var(--ink) 8%, transparent); overflow: hidden; }
.bar-fill { display: block; height: 100%; border-radius: 3px; transform-origin: left; }
.bar-o .bar-fill { background: var(--accent); }
.bar-p .bar-fill { background: var(--ink-2); }
.bars-key { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 14px; font: 400 0.78rem/1 var(--mono); color: var(--muted); }
.bars-key span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 6px; vertical-align: -1px; }
.bars-key .k-o::before { background: var(--accent); }
.bars-key .k-p::before { background: var(--ink-2); }
.js .bars:not(.is-in) .bar-fill { transform: scaleX(0); }
.js .bars .bar-fill { transition: transform 1.1s cubic-bezier(.2,.7,.2,1); }
.js .bars .bars-row:nth-child(2) .bar-fill { transition-delay: .25s; }
.js .bars .bars-row:nth-child(3) .bar-fill { transition-delay: .5s; }

/* ---------- workflows (n8n-style canvas) ---------- */
.wf { overflow: hidden; }
.wf-top { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding: 12px 14px; border-bottom: 1px solid var(--panel-line); }
.wf-tabs { display: flex; gap: 4px; flex-wrap: wrap; }
.wf-tabs [role="tab"] {
  min-height: 38px; padding: 0 14px; border-radius: 9px; border: 1px solid transparent;
  background: transparent; color: var(--panel-muted); font: 500 0.88rem/1 var(--sans); cursor: pointer;
  transition: color .15s ease, background-color .15s ease, border-color .15s ease;
}
.wf-tabs [role="tab"]:hover { color: var(--panel-ink); background: var(--panel-2); }
.wf-tabs [role="tab"][aria-selected="true"] { color: var(--panel-ink); background: var(--panel-3); border-color: var(--panel-line); }
.wf-run { margin-left: auto; display: flex; align-items: center; gap: 14px; font: 400 0.78rem/1.2 var(--mono); color: var(--panel-muted); }
.wf-item { max-width: 22ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wf-canvas, .agents-stage, .cloud-map {
  background-image: radial-gradient(circle at 1px 1px, color-mix(in srgb, var(--panel-muted) 20%, transparent) 1px, transparent 0);
  background-size: 22px 22px;
}
.wf-canvas svg, .agents-stage svg, .cloud-map svg { width: 100%; height: auto; margin: 0 auto; }
.wf-canvas .v-wide, .cloud-map .v-wide { max-width: 1120px; padding: 10px 0; }
.agents-stage .v-wide { max-width: 1120px; }
.wf-cap { display: grid; gap: 8px 32px; padding: 18px 18px 20px; border-top: 1px solid var(--panel-line); }
@media (min-width: 900px) { .wf-cap { grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.6fr); } }
.wf-cap h3 { font-size: 1.15rem; letter-spacing: -0.01em; color: var(--panel-ink); }
.wf-meta { font: 400 0.8rem/1.4 var(--mono); color: var(--signal); margin-top: 4px; }
.wf-cap > p { color: var(--panel-muted); font-size: 0.98rem; max-width: 80ch; }

.wf-edge { fill: none; stroke: var(--panel-line); stroke-width: 2; }
.wf-edge-run { fill: none; stroke: var(--signal); stroke-width: 2; stroke-dasharray: 1; stroke-dashoffset: 1; }
.wf-tile { fill: var(--panel-2); stroke: var(--panel-line); stroke-width: 1.5; transition: stroke .25s ease, fill .25s ease; }
.wf-node.kind-trigger .wf-tile { fill: var(--panel-3); }
.wf-ring { fill: none; stroke: var(--signal); stroke-width: 2; stroke-dasharray: 22 78; opacity: 0; }
.wf-ico, .wf-bolt { color: var(--panel-ink); }
.wf-label { fill: var(--panel-ink); font: 500 13px var(--sans); }
.wf-sub { fill: var(--panel-muted); font: 400 11px var(--mono); }
.wf-port { fill: var(--panel); stroke: var(--panel-muted); stroke-width: 1.5; }
.wf-ok { opacity: 0; transition: opacity .2s ease; }
.wf-ok circle { fill: var(--signal); }
.wf-ok path { fill: none; stroke: #062012; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.wf-tag { fill: var(--panel-muted); font: 400 10px var(--mono); }
.wf-wait { opacity: 0; }
.wf-wait rect { fill: var(--warn); }
.wf-wait text { fill: #2a1a00; font: 500 10px var(--mono); }
.wf-node.is-run .wf-tile { stroke: var(--signal); }
.wf-node.is-run .wf-ring { opacity: 1; animation: ring 1s linear infinite; }
.wf-node.is-done .wf-tile { stroke: var(--signal-dim); }
.wf-node.is-done .wf-ok { opacity: 1; }
.wf-node.is-wait .wf-wait { opacity: 1; }
.wf-node.is-wait .wf-tile { stroke: var(--warn); }
.wf-packet { fill: var(--signal); }
.wf-packet-glow { fill: var(--signal); opacity: .25; }
@keyframes ring { to { stroke-dashoffset: -100; } }
.v-narrow { display: none; }
@media (max-width: 639px) {
  .v-wide { display: none; }
  .v-narrow { display: block; }
  .wf-run { margin-left: 0; width: 100%; }
}

/* ---------- agents ---------- */
.agents { margin: 0; overflow: hidden; }
.agents-cap { padding: 14px 18px; border-top: 1px solid var(--panel-line); font: 400 0.78rem/1.5 var(--mono); color: var(--panel-muted); }
.ag-dots { fill: color-mix(in srgb, var(--panel-muted) 30%, transparent); }
.ag-card { fill: var(--panel-2); stroke: var(--panel-line); stroke-width: 1; }
.ag-k { fill: var(--panel-muted); font: 400 10.5px var(--mono); }
.ag-t { fill: var(--panel-ink); font: 500 13px var(--sans); }
.ag-task text { fill: var(--panel-ink); font: 400 12px var(--sans); }
.ag-task .ag-st { fill: none; stroke: var(--panel-muted); stroke-width: 1.5; }
.ag-task.is-doing .ag-st { stroke: var(--warn); stroke-dasharray: 3 3; }
.ag-task.is-done .ag-st { fill: var(--signal); stroke: var(--signal); }
.ag-task.is-done text { fill: var(--panel-muted); }
.ag-task .ag-who { fill: var(--panel-muted); font: 500 10.5px var(--mono); }
.ag-frame { fill: color-mix(in srgb, var(--panel-2) 70%, var(--panel)); stroke: var(--panel-line); stroke-width: 1; }
.ag-frame-bar { fill: var(--panel-3); }
.ag-url { fill: var(--panel-muted); font: 400 10.5px var(--mono); }
.ag-slot { fill: none; stroke: var(--panel-line); stroke-width: 1; stroke-dasharray: 4 4; }
.ag-block { fill: var(--panel-3); }
.ag-block.tone-2 { fill: #2d343b; }
.ag-block.tone-a { fill: var(--signal-dim); }
.ag-block.tone-ink { fill: #3a424b; }
.ag-btn { fill: #5b6570; transition: fill .3s ease; }
.ag-btn.is-fixed { fill: var(--signal); }
.ag-place { opacity: 0; transform-box: fill-box; transform-origin: center; }
.ag-place.is-on { opacity: 1; animation: drop .45s cubic-bezier(.2,.9,.25,1.2) both; }
@keyframes drop { from { opacity: 0; transform: translateY(-10px) scale(.96); } }
.ag-guides line { stroke: color-mix(in srgb, var(--signal) 40%, transparent); stroke-width: 1; stroke-dasharray: 2 4; }
.ag-guides { opacity: 0; transition: opacity .4s ease; }
.ag-guides.is-on { opacity: 1; }
.ag-flag { opacity: 0; transition: opacity .25s ease; }
.ag-flag.is-on { opacity: 1; }
.ag-flag rect { fill: var(--bad); }
.ag-flag.is-ok rect { fill: var(--signal); }
.ag-flag text { fill: #1a0606; font: 500 10.5px var(--mono); }
.ag-flag.is-ok text { fill: #062012; }
.ag-flag .ag-outline { fill: none; stroke: var(--bad); stroke-width: 2; }
.ag-flag.is-ok .ag-outline { stroke: var(--signal); }
.ag-scan { stroke: var(--signal); stroke-width: 2; opacity: 0; }
.ag-scan.is-on { opacity: .9; }
.ag-ship { opacity: 0; transition: opacity .3s ease; }
.ag-ship.is-on { opacity: 1; }
.ag-ship rect { fill: var(--signal); }
.ag-ship text { fill: #062012; font: 600 11px var(--mono); }
.ag-agent circle { fill: var(--panel-3); stroke: var(--panel-muted); stroke-width: 1.5; }
.ag-agent .ag-ini { fill: var(--panel-ink); font: 600 13px var(--mono); }
.ag-agent .ag-role { fill: var(--panel-muted); font: 400 10.5px var(--mono); }
.ag-agent.is-busy circle { stroke: var(--signal); }
.ag-agent .ag-carry { opacity: 0; }
.ag-agent.is-carry .ag-carry { opacity: 1; }
.ag-carry rect { fill: var(--signal); }
.ag-log text { fill: var(--panel-muted); font: 400 11px var(--mono); }
.ag-log text.is-new { fill: var(--panel-ink); }

.systems { margin-top: clamp(40px, 6vw, 64px); display: grid; gap: 28px; counter-reset: sys; }
@media (min-width: 900px) { .systems { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 4vw, 64px); } }
.systems li { counter-increment: sys; border-top: 1px solid var(--ink); padding-top: 16px; }
.systems li::before { content: "0" counter(sys); display: block; font: 500 0.8rem/1 var(--mono); color: var(--muted); margin-bottom: 14px; }
.systems h3 { font-size: 1.35rem; letter-spacing: -0.02em; font-stretch: 88%; }
.systems p { margin-top: 10px; color: var(--ink-2); font-size: 0.98rem; max-width: 60ch; }

/* ---------- cloud ---------- */
.cloud { overflow: hidden; }
.cloud-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-bottom: 1px solid var(--panel-line); }
@media (min-width: 900px) { .cloud-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stat { padding: 18px 18px 20px; border-right: 1px solid var(--panel-line); border-bottom: 1px solid var(--panel-line); display: grid; gap: 8px; align-content: start; }
@media (max-width: 899px) { .stat:nth-child(2n) { border-right: 0; } .stat:nth-child(n+3) { border-bottom: 0; } }
@media (min-width: 900px) { .stat { border-bottom: 0; } .stat:last-child { border-right: 0; } }
.stat .k { font: 400 0.76rem/1.2 var(--mono); color: var(--panel-muted); }
.stat .v { font: 600 clamp(1.3rem, 1.05rem + 1vw, 1.9rem)/1.05 var(--sans); font-stretch: 85%; font-variant-numeric: tabular-nums; letter-spacing: -0.015em; color: var(--panel-ink); }
.stat .u { font: 400 0.74rem/1.2 var(--mono); color: var(--panel-muted); }
.jobs { padding: 16px 18px 6px; border-top: 1px solid var(--panel-line); }
.jobs-h { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font: 400 0.76rem/1.2 var(--mono); color: var(--panel-muted); }
.jobs-list { margin-top: 8px; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 0 28px; }
.jobs-list li { display: grid; grid-template-columns: 6.6em minmax(0, 1fr) auto; gap: 10px; align-items: baseline; padding: 8px 0; border-bottom: 1px dashed var(--panel-line); font: 400 0.82rem/1.3 var(--mono); }
.jobs-list time { color: var(--panel-muted); white-space: nowrap; }
.jobs-list span { color: var(--panel-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.jobs-list b { font-weight: 500; color: var(--signal); }
.jobs-list b.bad { color: var(--bad); }
.jobs-list b.next { color: var(--panel-muted); }
.js .jobs-list li.is-new { animation: line-in .45s cubic-bezier(.2,.7,.2,1) both; }
@keyframes line-in { from { opacity: 0; transform: translateY(6px); } }
.cloud-cap { padding: 14px 18px 18px; font: 400 0.8rem/1.5 var(--mono); color: var(--panel-muted); }
.cl-line { fill: none; stroke: var(--panel-line); stroke-width: 1.5; }
.cl-tunnel { fill: none; stroke: var(--signal-dim); stroke-width: 2; stroke-dasharray: 6 6; animation: dash 1.6s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -24; } }
.cl-box { fill: var(--panel-2); stroke: var(--panel-line); stroke-width: 1.5; }
.cl-server .cl-box { fill: var(--panel-3); stroke: var(--signal-dim); }
.cl-ico { color: var(--panel-ink); }
.cl-label { fill: var(--panel-ink); font: 500 13px var(--sans); }
.cl-sub { fill: var(--panel-muted); font: 400 10.5px var(--mono); }
.cl-tag { fill: var(--signal); font: 400 10.5px var(--mono); }
.cl-chip rect.cl-chip-bg { fill: var(--panel-2); stroke: var(--panel-line); stroke-width: 1; }
.cl-chip text { fill: var(--panel-ink); font: 400 11.5px var(--sans); }
.cl-chip .cl-ico { color: var(--panel-muted); }
.cl-chip .cl-led { fill: var(--panel-muted); }
.cl-chip.is-ok .cl-led { fill: var(--signal); }
.cl-chip.is-bad .cl-led { fill: var(--bad); }
.cl-chip.is-ping rect.cl-chip-bg { stroke: var(--signal); }
.cl-leds circle { fill: var(--signal-dim); }
.cl-leds circle.is-on { fill: var(--signal); }
.cl-packet { fill: var(--signal); }
.cl-packet-glow { fill: var(--signal); opacity: .25; }

.facts { margin-top: 36px; display: grid; gap: 18px 48px; }
@media (min-width: 900px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1400px) { .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.facts li { padding-left: 18px; border-left: 2px solid var(--accent); color: var(--ink-2); }
.facts strong { color: var(--ink); font-weight: 600; }
.more { margin-top: 28px; }
.more a { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; }

/* ---------- tools ---------- */
.tools { display: grid; gap: 0 48px; counter-reset: tool; }
@media (min-width: 900px) { .tools { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1400px) { .tools { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tools li { counter-increment: tool; display: grid; align-content: start; grid-template-columns: 2.6rem minmax(0, 1fr); gap: 4px 12px; padding: 22px 0; border-top: 1px solid var(--rule); }
.tools li::before { content: counter(tool, decimal-leading-zero); font: 500 0.8rem/1.9 var(--mono); color: var(--muted); grid-row: span 3; }
.tools h3 { font-size: 1.2rem; letter-spacing: -0.015em; }
.tools p { color: var(--ink-2); font-size: 0.97rem; }
.tools .tags { font: 400 0.78rem/1.4 var(--mono); color: var(--muted); margin-top: 4px; }
.tools .tags a { color: var(--accent); }

/* ---------- faq ---------- */
.faq-wrap .sec-head, .faq { max-width: 980px; }
.faq details { border-top: 1px solid var(--rule); }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 18px; align-items: center;
  padding: 20px 2px; font-size: 1.12rem; font-weight: 500;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 1.4rem/1 var(--mono); color: var(--muted); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 2px 22px; color: var(--ink-2); max-width: 70ch; }

/* ---------- contact + footer ---------- */
.contact { background: var(--hero); color: var(--hero-ink); padding: clamp(80px, 11vw, 150px) 0; border-top: 1px solid var(--panel-line); }
.contact h2 { font-size: clamp(2.2rem, 1.2rem + 4.4vw, 5rem); line-height: 1; letter-spacing: -0.03em; font-stretch: 80%; font-weight: 630; max-width: 14ch; }
.contact-copy > p:not(.cta-row) { margin-top: 22px; color: var(--hero-muted); font-size: 1.1rem; max-width: 52ch; }
.contact .cta-row { margin-top: 32px; }
.contact .btn-inv { font-family: var(--mono); font-size: 1rem; }
.contact-in { display: grid; gap: 48px; align-items: start; }
@media (min-width: 960px) { .contact-in { grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: clamp(48px, 6vw, 120px); } }

/* ---------- contact form ---------- */
.cform { position: relative; display: grid; gap: 18px; padding: clamp(20px, 2.4vw, 32px); border-radius: 16px; background: #131518; border: 1px solid #2c3036; }
.cform-h { font-size: 1.35rem; letter-spacing: -0.015em; color: var(--hero-ink); }
.field { display: grid; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field label, .field legend { padding: 0; font: 500 0.84rem/1.2 var(--mono); color: var(--hero-muted); }
.field legend { margin-bottom: 8px; }
.field legend span { color: #7c8188; font-weight: 400; margin-left: 6px; }
.field input, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 10px;
  border: 1px solid #434a53; background: #1c1f24; color: var(--hero-ink);
  font: 400 1rem/1.45 var(--sans); transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:hover, .field textarea:hover { border-color: #5a626c; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--signal); box-shadow: 0 0 0 3px color-mix(in srgb, var(--signal) 28%, transparent); }
.field [aria-invalid="true"] { border-color: var(--bad); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; }
.chips input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.chips span {
  display: inline-flex; align-items: center; min-height: 42px; padding: 0 14px; border-radius: 10px;
  border: 1px solid #434a53; background: #1c1f24; color: var(--hero-ink); font: 400 0.93rem/1 var(--sans);
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.chips label:hover span { border-color: #5a626c; }
.chips input:checked + span { background: var(--signal); border-color: var(--signal); color: #06140c; font-weight: 500; }
.chips input:focus-visible + span { outline: 2px solid var(--signal); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cform-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.btn-send { background: var(--signal); border-color: var(--signal); color: #06140c; font-weight: 600; }
.btn-send:hover { background: #63e3a0; border-color: #63e3a0; color: #06140c; }
.btn-send[disabled] { opacity: .65; cursor: progress; }
.cform-status { font: 400 0.86rem/1.4 var(--mono); color: var(--hero-muted); }
.cform-status.is-err { color: #ff8a8a; }
.cform-note { font-size: 0.82rem; line-height: 1.5; color: #8d939a; }
.cform-sent, .cform-err { display: none; padding: 14px 16px; border-radius: 10px; color: var(--hero-ink); }
.cform-sent { background: color-mix(in srgb, var(--signal) 14%, #131518); border: 1px solid var(--signal-dim); }
.cform-err { background: #2a1416; border: 1px solid #6b2b2f; }
.cform-sent:target, .cform-sent.is-on, .cform-err:target { display: block; }
.cform.is-done > :not(.cform-h):not(.cform-sent) { display: none; }
.links { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 10px 28px; }
.links a { display: inline-flex; align-items: center; gap: 6px; color: var(--hero-ink); }
.foot { background: var(--hero); color: var(--hero-muted); border-top: 1px solid #1d2024; padding: 26px 0 34px; font-size: 0.86rem; }
.foot-in { display: grid; gap: 6px; }
.ps { color: var(--signal); font-family: var(--mono); font-size: 0.8rem; margin-top: 8px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}
