/* FoxNode site. Colours are the app's own tokens (samael/src/styles/theme.css). */
:root {
  --navy: #06121f;
  --cyan: #00d7ff;
  --electric: #00a6d6;
  --ice: #e8f8ff;
  --amber: #ffab40;
  --violet: #b18cff;
  --mint: #3ddc97;
  --rose: #ff7eb6;
  --periwinkle: #7c9cff;
  --cyan-ice: color-mix(in srgb, var(--cyan) 45%, var(--ice));

  --bg: var(--navy);
  --surface: #0a1a2b;
  --raised: #0e2338;
  --ink: var(--ice);
  --muted: rgb(232 248 255 / 66%);
  --faint: rgb(232 248 255 / 40%);
  --accent: var(--cyan);
  --on-accent: var(--navy);
  --line: rgb(0 215 255 / 14%);
  --line-strong: rgb(0 215 255 / 32%);

  /* Five sizes do the visible work. */
  --t-hero: clamp(44px, 4.6vw, 80px);
  --t-figure: clamp(112px, 17vw, 280px);
  --t-head: clamp(26px, 2.5vw, 36px);
  --t-body: 17px;
  --t-small: 14px;

  --m: clamp(20px, 2.4vw, 36px);
  --gap: clamp(96px, 10vw, 160px);
  --axis: 15vw;

  --ease: cubic-bezier(.2, .7, .2, 1);
  --font: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", "SF Mono", Menlo, Consolas, monospace; /* taste-skill-ignore: inside a data-ui fragment, the app's own style */

  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--t-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
::selection { background: rgb(0 215 255 / 30%); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
h1, h2, p { margin: 0; }
h1, h2 { font-weight: 600; letter-spacing: -0.03em; line-height: 1; }
h2 { font-size: var(--t-head); letter-spacing: -0.02em; line-height: 1.12; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.skip { position: absolute; left: -999px; top: 8px; }
.skip:focus { left: 8px; z-index: 20; background: var(--accent); color: var(--on-accent); padding: 8px 14px; }

/* Buttons: one shape, the app's pill. */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 28px; border-radius: 999px;
  background: var(--accent); color: var(--on-accent);
  font-weight: 600; text-decoration: none;
  transition: transform .18s var(--ease), background-color .18s var(--ease);
}
.btn:hover { background: var(--ice); transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.97); }
.btn-small { min-height: 40px; padding: 0 18px; font-size: var(--t-small); }
.text-link { text-decoration: none; font-weight: 500; color: var(--ink); }
.text-link span { display: inline-block; transition: transform .2s var(--ease); }
.text-link:hover span { transform: translateX(5px); }

/* Bar */
.bar {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; gap: 32px;
  padding: 14px var(--m);
  background: var(--bg);
}
.wordmark { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 19px; letter-spacing: -0.01em; }
.wordmark img { transition: transform .4s var(--ease); }
.wordmark:hover img { transform: rotate(-8deg) scale(1.08); }
.bar-links { display: flex; gap: 28px; margin-left: auto; font-size: var(--t-small); }
.bar-links a { text-decoration: none; color: var(--muted); transition: color .15s; }
.bar-links a:hover { color: var(--ink); }

/* HERO */
.hero {
  display: grid;
  grid-template-columns: minmax(300px, 5fr) 7fr;
  gap: clamp(24px, 3vw, 56px);
  align-items: center;
  min-height: calc(100svh - 68px);
  padding: 24px var(--m) 56px;
}
.hero-copy { align-self: start; padding-top: clamp(32px, 9vh, 120px); }
.hero h1 { font-size: var(--t-hero); }
.lead { margin-top: 28px; max-width: 30em; font-size: var(--t-body); }
.hero-actions { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }

/* The graph fragment: the app's own conventions apply inside. */
.graph {
  position: relative;
  display: grid;
  grid-template-columns: 200px 1fr 230px;
  gap: 0;
  padding: 28px 24px 52px;
  background: var(--surface);
  border-radius: 14px;
  font-size: 13px;
  min-height: 600px;
}
.graph-pipes { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.graph-col { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.graph-res { grid-column: 1; }
.graph-apps { grid-column: 3; list-style: none; margin: 0; padding: 0; gap: 8px; }
.res {
  display: grid; gap: 2px;
  padding: 12px 14px;
  background: var(--navy);
  border: 1px solid var(--line); /* taste-skill-ignore: inside a data-ui fragment, the app's own style */
  border-left: 3px solid var(--acc);
  border-radius: 8px;
}
.res-k { font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--acc); }
.res-v { font-size: 20px; font-weight: 600; font-variant-numeric: tabular-nums; }
.res-s { font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; }
.res-meter { height: 3px; background: rgb(232 248 255 / 10%); border-radius: 2px; overflow: hidden; margin: 4px 0 2px; }
.res-meter i { display: block; height: 100%; background: var(--acc); transition: width .9s var(--ease); }
.res-gpu { border-style: dashed; border-left-style: solid; }

.app {
  position: relative;
  display: grid; grid-template-columns: 1fr auto; gap: 2px 10px;
  padding: 8px 12px;
  background: var(--navy);
  border: 1px solid var(--line); /* taste-skill-ignore: inside a data-ui fragment, the app's own style */
  border-radius: 8px;
  cursor: default;
  outline: none;
  transition: border-color .15s, background-color .15s, opacity .25s, transform .2s var(--ease);
}
.app b { font-weight: 500; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app .procs { font-size: 11px; color: var(--faint); text-align: right; }
.app .nums { grid-column: 1 / -1; display: flex; gap: 14px; font-size: 11px; color: var(--cyan-ice); font-variant-numeric: tabular-nums; } /* taste-skill-ignore: inside a data-ui fragment, the app's own style */
.app .nums span:empty::before { content: "–"; color: var(--faint); }
.app .tag { font-size: 10px; font-weight: 600; padding: 1px 6px; border-radius: 4px; background: var(--electric); color: var(--navy); margin-left: 6px; vertical-align: 1px; }
.app.ai { border-style: dashed; border-color: rgb(177 140 255 / 50%); background: color-mix(in srgb, var(--violet) 12%, var(--navy)); }
.app.ai b { color: var(--violet); }
.app.group b { color: var(--muted); font-weight: 400; }
.graph.focusing .app { opacity: .42; }
.graph.focusing .app.on { opacity: 1; border-color: var(--line-strong); background: var(--raised); transform: translateX(-4px); }
.graph-you {
  position: absolute; left: 24px; bottom: 14px; z-index: 1;
  font-size: 12px; color: var(--muted);
}
.graph-you b { color: var(--ink); font-weight: 600; }

.pipe { fill: none; stroke-linecap: round; transition: opacity .25s, stroke-width .6s var(--ease); }
.pipe.cpu { stroke: var(--cyan); stroke-dasharray: 5 7; animation: flow 1.1s linear infinite; }
.pipe.mem { stroke: var(--electric); opacity: .8; }
.pipe.net { stroke: var(--cyan-ice); stroke-dasharray: 2 6; animation: flow .8s linear infinite; }
.pipe.disk { stroke: rgb(232 248 255 / 45%); stroke-dasharray: 6 6; animation: flow 1.4s linear infinite; }
.pipe.gpu { stroke: var(--violet); opacity: .7; stroke-dasharray: 3 5; animation: flow 1.6s linear infinite; }
.graph.focusing .pipe { opacity: .08; }
.graph.focusing .pipe.on { opacity: 1; }
@keyframes flow { to { stroke-dashoffset: -24; } }

/* INTRO */
.intro {
  display: grid;
  grid-template-columns: var(--axis) minmax(260px, 330px) 1fr;
  gap: 0 clamp(32px, 4vw, 72px);
  align-items: start;
  padding: var(--gap) 0 calc(var(--gap) * .6) 0;
}
.intro-col { grid-column: 2; display: grid; gap: 1.5em; color: var(--muted); }
.intro-col .first { font-weight: 600; color: var(--ink); }
.intro-shot { grid-column: 3; margin: 0; max-width: 620px; }
.live-clip { width: 100%; height: auto; background: var(--navy); }

/* TOUR */
.tour { padding: 0 var(--m); }
.tour-shot { margin: 0; }
.xfade { position: relative; aspect-ratio: 2000 / 1172; background: var(--surface); overflow: hidden; }
.xfade img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: left top; opacity: 0; transition: opacity 1.6s ease; }
.xfade img.is-on { opacity: 1; }
.xfade-cap { margin-top: 14px; font-size: var(--t-small); color: var(--muted); padding-right: var(--m); }
.xfade-cap span { color: var(--ink); }

/* ROW: Ask */
.row {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(32px, 5vw, 96px);
  align-items: center;
  padding: calc(var(--gap) * .5) var(--m) var(--gap);
}
.row-text { display: grid; gap: 22px; max-width: 30em; margin-left: calc(var(--axis) - var(--m)); }
.row-text h2 { font-size: var(--t-hero); line-height: 1; letter-spacing: -0.03em; }
.row-shots { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: end; }
.shot { width: 100%; }
.shot-short { margin-bottom: 18%; }

/* SHOWCASE: one control, blown up */
.showcase {
  position: relative;
  min-height: 92svh;
  overflow: hidden;
  background: var(--raised);
  transition: background-color .7s var(--ease);
  padding: clamp(48px, 7vw, 96px) var(--m);
}
.showcase[data-state="done"] { background: var(--mint); color: var(--navy); }
.showcase-copy { position: relative; z-index: 2; max-width: 34em; margin-left: 0; display: grid; gap: 20px; }
.showcase-copy h2 { font-size: var(--t-head); }
.showcase-copy p { max-width: 32em; }
.showcase[data-state="done"] .showcase-copy p { color: var(--navy); }
[data-head] { display: inline-block; transition: opacity .3s, transform .3s var(--ease); }
[data-head].swap { opacity: 0; transform: translateY(10px); }

.action-card {
  position: absolute;
  right: -8vw; bottom: 9vh;
  width: 22em;
  font-size: clamp(22px, 3.4vw, 54px);
  padding: 1em 1.1em;
  background: var(--navy);
  color: var(--ice);
  border: 0.05em solid var(--line-strong);
  border-radius: .5em;
  transition: transform .6s var(--ease);
}
.ac-top { display: flex; align-items: center; gap: .6em; }
.ac-title { font-weight: 600; letter-spacing: -0.02em; }
.ac-risk { font-size: .45em; font-weight: 600; padding: .25em .7em; border-radius: 999px; background: color-mix(in srgb, var(--mint) 22%, var(--navy)); color: var(--mint); }
.ac-why { font-size: .5em; color: var(--muted); margin-top: .7em; line-height: 1.45; }
.ac-undo { font-size: .42em; color: var(--cyan-ice); margin-top: .6em; }
.ac-buttons { display: flex; gap: .4em; margin-top: .9em; }
.ac-buttons button {
  font-size: .5em; font-weight: 600; padding: .55em 1.4em; border-radius: 999px; cursor: pointer;
  border: .08em solid var(--line-strong); background: transparent; color: var(--ice);
  transition: transform .15s var(--ease), background-color .2s;
}
.ac-buttons .ac-approve { background: var(--cyan); color: var(--navy); border-color: var(--cyan); }
.ac-buttons button:hover { transform: translateY(-.1em); }
.ac-buttons button:active { transform: scale(.96); }
.showcase[data-state="done"] .ac-approve { background: var(--mint); border-color: var(--mint); }

/* PIPELINES: gallery */
.pipes { padding: var(--gap) var(--m) calc(var(--gap) * .6); }
.pipes-head { margin-left: calc(var(--axis) - var(--m)); display: grid; gap: 24px; max-width: 44em; }
.pipes-head h2, .services-head h2 { font-size: var(--t-hero); line-height: 1; letter-spacing: -0.03em; max-width: 10em; }
.pipes-body { margin-top: 72px; display: grid; grid-template-columns: minmax(260px, 3.3fr) 8.7fr; gap: clamp(24px, 3vw, 48px); align-items: start; }
.pipes-list { display: grid; gap: 2px; }
.pipes-group { font-size: var(--t-small); color: var(--faint); margin: 22px 0 6px 12px; }
.pipes-group:first-child { margin-top: 0; }
.pipe-tab {
  display: flex; align-items: center; gap: 12px; width: 100%;
  padding: 9px 12px; border: 0; border-radius: 10px; background: none; cursor: pointer;
  text-align: left; color: var(--muted); font-size: 15px; line-height: 1.35;
  transition: background-color .15s, color .15s;
}
.pipe-tab:hover { color: var(--ink); background: var(--surface); }
.pipe-tab[aria-selected="true"] { color: var(--ink); background: var(--raised); }
.pt-icons { display: flex; gap: 4px; flex: none; width: 76px; color: var(--faint); }
.pipe-tab[aria-selected="true"] .pt-icons { color: var(--cyan); }
.pt-icons .ic { width: 15px; height: 15px; }

.ic { display: inline-block; flex: none; width: 18px; height: 18px; background: currentColor; -webkit-mask: var(--ic) center / contain no-repeat; mask: var(--ic) center / contain no-repeat; }

.stage {
  position: sticky; top: 88px;
  display: grid; grid-template-rows: auto auto 1fr auto; gap: 6px;
  min-height: 500px; padding: 28px;
  background-color: var(--surface);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22'%3E%3Ccircle cx='1' cy='1' r='1' fill='%23e8f8ff' fill-opacity='.09'/%3E%3C/svg%3E");
  border-radius: 14px;
  overflow: hidden;
}
.stage-title { font-size: var(--t-body); font-weight: 600; }
.stage-desc { font-size: var(--t-small); color: var(--muted); max-width: 52em; }
.stage-graph { position: relative; display: flex; align-items: center; justify-content: center; min-height: 360px; }
.stage-pipes { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.stage-nodes { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; gap: clamp(24px, 3vw, 56px); width: 100%; }
.stage-nodes .snode { flex: 0 1 210px; min-width: 0; }
.stage-nodes[data-count="4"] { gap: clamp(18px, 2vw, 40px); }
@media (max-width: 1320px) { .stage-nodes[data-count="4"] .sn-ic { display: none; } .stage-nodes[data-count="4"] .snode { grid-template-columns: minmax(0, 1fr); } }
.snode {
  position: relative;
  display: grid; grid-template-columns: 36px minmax(0, 1fr); column-gap: 12px; row-gap: 2px; align-items: center;
  padding: 14px 16px 14px 14px;
  background: var(--navy);
  border: 1px solid var(--line); /* taste-skill-ignore: the app's node style */
  border-left: 3px solid var(--acc);
  border-radius: 10px;
  transition: transform .3s var(--ease), border-color .3s, box-shadow .4s;
}
.stage-nodes .snode:nth-child(odd) { transform: translateY(-40px); }
.stage-nodes .snode:nth-child(even) { transform: translateY(40px); }
.stage-nodes[data-count="2"] .snode { transform: none; }
.sn-ic { grid-row: span 3; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 9px; background: color-mix(in srgb, var(--acc) 16%, var(--navy)); color: var(--acc); }
.sn-ic .ic { width: 20px; height: 20px; }
.sn-k { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--acc); }
.sn-t { font-size: 15px; font-weight: 600; line-height: 1.25; overflow-wrap: anywhere; }
.sn-s { font-size: 12px; color: var(--muted); overflow-wrap: anywhere; line-height: 1.35; }
.snode.hit { border-color: var(--acc); box-shadow: 0 0 0 1px var(--acc), 0 0 28px color-mix(in srgb, var(--acc) 45%, transparent); } /* taste-skill-ignore: a node lights up as the run passes, as in the app */
.stage.swap .snode { animation: pop .55s var(--ease) both; }
.stage.swap .snode:nth-child(2) { animation-delay: .07s; }
.stage.swap .snode:nth-child(3) { animation-delay: .14s; }
.stage.swap .snode:nth-child(4) { animation-delay: .21s; }
@keyframes pop { from { opacity: 0; translate: 0 14px; scale: .96; } }
.stage.swap .stage-title, .stage.swap .stage-desc { animation: fadeup .4s var(--ease) both; }
@keyframes fadeup { from { opacity: 0; translate: 0 8px; } }
.sp { fill: none; stroke: rgb(0 166 214 / 40%); stroke-width: 2; }
.sp-flow { fill: none; stroke: var(--cyan); stroke-width: 2; stroke-dasharray: 3 11; stroke-linecap: round; animation: flow 1s linear infinite; }
.ball { fill: var(--ice); filter: drop-shadow(0 0 6px var(--cyan)) drop-shadow(0 0 14px var(--cyan)); } /* taste-skill-ignore: the run ball inside a data-ui canvas */
.stage-foot { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.stage-foot .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); animation: breathe 2.4s ease-in-out infinite; }
@keyframes breathe { 50% { opacity: .35; } }

/* SERVICES: hub graph */
.services { padding: calc(var(--gap) * .6) var(--m) var(--gap); }
.services-head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; margin-left: calc(var(--axis) - var(--m)); }
.services-head p { max-width: 30em; }
.hubgraph {
  position: relative; margin-top: 72px;
  display: grid; grid-template-columns: 1fr minmax(420px, 1.3fr) 1fr; gap: clamp(48px, 7vw, 120px);
  align-items: center;
}
.hub-pipes { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.hcol { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 36px; }
.hcol-left { align-items: flex-end; }
.hcol-left .hlabel { text-align: right; }
.hcol-center { align-items: center; gap: 56px; }
.hcluster { display: grid; gap: 10px; }
.hcl-top, .hcl-bottom { justify-items: center; }
.hlabel { font-size: 13px; color: var(--muted); }
.hlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.hcol-left .hlist { justify-items: end; }
.hcl-top .hlist, .hcl-bottom .hlist { display: flex; flex-wrap: wrap; justify-content: center; max-width: 520px; }
.svc {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 14px 8px 12px; width: max-content;
  background: var(--navy);
  border: 1px solid var(--line); /* taste-skill-ignore: the app's node style */
  border-left: 3px solid var(--acc);
  border-radius: 8px; font-size: 14px;
  transition: background-color .4s, border-color .4s, transform .4s var(--ease);
}
.svc .ic { color: var(--acc); }
.svc.ping { background: var(--raised); border-color: var(--acc); transform: scale(1.05); }
.hub { display: grid; justify-items: center; gap: 4px; text-align: center; }
.hub img { width: 132px; height: 132px; transition: transform .3s var(--ease); }
.hub.beat img { animation: beat .5s var(--ease); }
@keyframes beat { 40% { transform: scale(1.07); } }
.hub b { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.hub span { font-size: 13px; color: var(--muted); }
.hp { fill: none; stroke-width: 1.6; opacity: .45; stroke-dasharray: 3 7; stroke-linecap: round; animation: flow 1.3s linear infinite; }
.hp-right, .hp-bottom { animation-direction: normal; }
.hball { filter: drop-shadow(0 0 5px currentColor); } /* taste-skill-ignore: run pulse inside a data-ui graph */

/* CALLS: pipelines */
.calls { padding: var(--gap) var(--m); }
.calls > h2 { margin-left: calc(var(--axis) - var(--m)); }
.calls-grid { display: grid; grid-template-columns: minmax(0, 560px) 1fr; gap: clamp(40px, 5vw, 96px); margin-left: calc(var(--axis) - var(--m)); align-items: start; }
.exchange { max-width: 600px; }
.calls > h2 { font-size: var(--t-hero); max-width: 9em; margin-bottom: 72px; line-height: 1; letter-spacing: -0.03em; }
.exchange + .exchange { margin-top: 96px; }
.ex-say { font-weight: 600; }
.ex-call { margin-top: 16px; }
.call-input {
  display: block; width: 100%;
  padding: 20px; border: 0; border-radius: 10px; resize: none;
  background: var(--raised); color: var(--ink); font-size: var(--t-body); line-height: 1.5;
}
.call-input:focus { outline: 2px solid var(--accent); }
.call-static b { font-weight: 600; color: var(--cyan-ice); }
.ex-response { margin: 20px 0 0 56px; }
.flow { display: flex; align-items: center; gap: 8px; font-size: 13px; width: max-content; }
.fnode {
  display: grid; gap: 1px;
  padding: 9px 12px; min-width: 150px;
  background: var(--surface);
  border: 1px solid var(--line); /* taste-skill-ignore: inside a data-ui fragment, the app's own style */
  border-left: 3px solid var(--acc);
  border-radius: 8px;
}
.fk { font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--acc); }
.fnode b { font-weight: 500; }
.fnode span:last-child { font-size: 11px; color: var(--muted); }
.farrow { width: 22px; height: 2px; background: var(--electric); position: relative; }
.farrow::after { content: ""; position: absolute; right: -1px; top: -3px; border: 4px solid transparent; border-left-color: var(--electric); }
.flow.run .fnode { animation: lit .9s var(--ease) both; }
.flow.run .fnode:nth-of-type(2) { animation-delay: .5s; }
.flow.run .fnode:nth-of-type(3) { animation-delay: 1s; }
@keyframes lit { 40% { background: var(--raised); border-color: var(--line-strong); transform: translateY(-3px); } }

.approval { padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--periwinkle); border-radius: 8px; font-size: 14px; max-width: 380px; } /* taste-skill-ignore: inside a data-ui fragment, the app's own style */
.ap-k { font-size: 12px; color: var(--periwinkle); font-weight: 600; }
.ap-q { margin-top: 6px; }
.ap-b { display: flex; gap: 8px; margin-top: 12px; }
.ap-b button { font-size: 13px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; cursor: pointer; transition: transform .15s; } /* taste-skill-ignore: inside a data-ui fragment, the app's own style */
.ap-b button:first-child { background: var(--cyan); color: var(--navy); border-color: var(--cyan); font-weight: 600; }
.ap-b button:hover { transform: translateY(-2px); }
.approval.ok .ap-q::after { content: "  Moved."; color: var(--mint); font-weight: 600; }

.ex-final { margin: 0; position: sticky; top: 96px; }
.ex-note { margin-top: 24px; max-width: 40em; color: var(--muted); }

/* FIGURE */
.figure {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 88svh;
  padding: clamp(48px, 6vw, 88px) var(--m) clamp(40px, 5vw, 72px) calc(var(--axis));
  background: var(--cyan);
  color: var(--navy);
}
.figure h2 { font-size: var(--t-head); }
.slider {
  margin-top: 28px; width: min(420px, 100%);
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px;
  padding: 12px 16px; background: var(--navy); color: var(--ice); border-radius: 10px; font-size: 14px;
}
.slider input { width: 100%; accent-color: var(--cyan); height: 28px; cursor: pointer; }
.slider output { font-variant-numeric: tabular-nums; min-width: 4.5em; text-align: right; font-weight: 600; }
.figure-bottom { align-self: end; display: grid; grid-template-columns: 1fr minmax(240px, 30ch); align-items: end; gap: 32px; margin-top: 64px; }
.figure-num { font-size: var(--t-figure); font-weight: 700; line-height: .8; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; }
.figure-num .unit { font-size: .2em; letter-spacing: -0.01em; font-weight: 600; }
.figure-how { font-size: var(--t-body); padding-bottom: .4em; }

/* FACTS */
.facts { padding: var(--gap) var(--m); }
.facts-row { display: grid; grid-template-columns: calc(34vw - var(--m)) 1fr; align-items: start; }
.facts-side { margin: 0; display: grid; gap: 20px; font-size: var(--t-small); }
.facts-side dt { color: var(--muted); }
.facts-side dd { margin: 0; color: var(--ink); font-weight: 500; }
.facts-para { font-size: var(--t-head); line-height: 1.3; letter-spacing: -0.01em; max-width: 26em; }
.facts-row-2 { margin-top: 96px; grid-template-columns: calc(34vw - var(--m)) 260px 300px; column-gap: 64px; }
.facts-word { font-size: var(--t-small); color: var(--ink); font-weight: 600; }
.facts-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: var(--t-small); }
.facts-list li { display: flex; justify-content: space-between; gap: 16px; }
.facts-list li span:last-child { color: var(--muted); }
.facts-row-2 .facts-list:first-of-type li { text-decoration: line-through; text-decoration-color: var(--rose); text-decoration-thickness: 2px; }

/* FAQ */
.faq {
  display: grid; grid-template-columns: 4fr 1fr 7fr;
  padding: var(--gap) var(--m) var(--gap) var(--axis);
  align-items: start;
}
.faq-list { grid-column: 1; list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.faq-head { color: var(--muted); }
.q {
  display: flex; align-items: baseline; gap: 14px; width: 100%;
  padding: 0; border: 0; background: none; text-align: left; cursor: pointer;
  font-size: var(--t-body); color: var(--muted); transition: color .15s;
}
.q::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--faint); transform: translateY(-2px); transition: background-color .15s, transform .2s var(--ease); }
.q[aria-expanded="true"], .q:hover { color: var(--ink); }
.q[aria-expanded="true"]::before { background: var(--accent); transform: translateY(-2px) scale(1.3); }
.a-inline { display: none; }
.faq-pane { grid-column: 3; position: sticky; top: 120px; }
.faq-pane p { font-size: var(--t-head); line-height: 1.25; max-width: 26em; transition: opacity .15s; }
.faq-pane p.fading { opacity: 0; }

/* CTA */
.cta {
  display: grid; grid-template-columns: 5fr 1fr 5fr 1fr;
  min-height: 90svh;
  background: var(--accent); color: var(--navy);
  padding: 40px var(--m);
}
.cta-copy { grid-column: 1; align-self: end; display: grid; gap: 20px; }
.cta-line { font-size: var(--t-hero); font-weight: 600; letter-spacing: -0.04em; line-height: .95; max-width: 6em; }
.cta-sub { max-width: 26em; }
.cta-links { grid-column: 3; align-self: end; display: grid; }
.cta-link {
  display: flex; justify-content: space-between; align-items: baseline; gap: 24px;
  padding: 18px 0; color: var(--navy); text-decoration: none;
  font-size: var(--t-head); font-weight: 600; letter-spacing: -0.02em;
}
.cta-link + .cta-link { margin-top: 8px; }
.cta-link span:last-child { transition: transform .25s var(--ease); }
.cta-link:hover span:last-child { transform: translateX(10px); }
.cta-link:hover span:first-child { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; }

/* FOOTER */
.foot {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: baseline;
  margin-top: 30svh;
  padding: 0 var(--m) 30px;
  font-size: var(--t-small);
  color: var(--muted);
}
.foot-links { display: flex; gap: 24px; }
.foot-links a, .foot-end a { color: var(--ink); text-decoration: none; }
.foot-links a:hover, .foot-end a:hover { text-decoration: underline; }
.foot-end { text-align: right; }

/* CONTACT */
.contact {
  display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 112px);
  align-items: start;
  padding: clamp(48px, 8vw, 120px) var(--m) 0;
  min-height: 80svh;
}
.contact-side { position: sticky; top: 110px; display: grid; gap: 24px; max-width: 30em; min-width: 0; }
.cform, .cdone { min-width: 0; }
.contact-side h1 { font-size: var(--t-hero); }
.contact-small { color: var(--muted); }
.route { display: flex; align-items: center; margin-top: 12px; font-size: 13px; }
.rnode {
  display: flex; align-items: center; gap: 10px; flex: none;
  padding: 10px 14px 10px 12px;
  background: var(--surface);
  border: 1px solid var(--line); /* taste-skill-ignore: the app's node style */
  border-left: 3px solid var(--acc); border-radius: 10px;
}
.rnode .ic { color: var(--acc); width: 20px; height: 20px; }
.rnode span { display: grid; }
.rnode b { font-weight: 600; font-size: 14px; }
.rnode small { color: var(--muted); font-size: 12px; }
.rpipe { flex: 1 1 40px; min-width: 32px; height: 20px; overflow: visible; }
.rpipe path { fill: none; stroke: var(--cyan); stroke-width: 2; stroke-dasharray: 3 7; animation: flow 1s linear infinite; vector-effect: non-scaling-stroke; }
.rpipe circle { fill: var(--ice); animation: travel 2.4s var(--ease) infinite; }
@keyframes travel { from { cx: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } to { cx: 80px; opacity: 0; } }

.cform { display: grid; gap: 28px; padding: clamp(24px, 3vw, 40px); background: var(--surface); border-radius: 16px; }
.cform fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.cform legend, .cf-field > label { display: block; margin-bottom: 10px; font-size: 15px; font-weight: 500; }
.opt { color: var(--faint); font-weight: 400; margin-left: 6px; }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.cf-field { display: grid; align-content: start; }
.cform input[type="text"], .cform input[type="email"], .cform select, .cform textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  background: var(--navy); color: var(--ink);
  border: 1px solid var(--line-strong); border-radius: 10px; /* taste-skill-ignore: form fields keep their outline */
  font-size: 16px; transition: border-color .15s;
}
.cform textarea { resize: vertical; line-height: 1.5; min-height: 160px; }
.cform select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23e8f8ff' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; cursor: pointer; }
.cform input::placeholder, .cform textarea::placeholder { color: var(--faint); }
.cform input:hover, .cform select:hover, .cform textarea:hover { border-color: var(--cyan); }
.cform input:focus, .cform select:focus, .cform textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.cform [aria-invalid="true"] { border-color: var(--amber); }
.cf-err { display: none; margin-top: 8px; font-size: var(--t-small); color: var(--amber); }
.cf-err.show { display: block; }

.seg2 { display: grid; grid-template-columns: 1fr 1fr; padding: 5px; background: var(--navy); border-radius: 999px; }
.seg2 label, .chips label { position: relative; cursor: pointer; }
.seg2 input, .chips input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg2 span { display: block; text-align: center; padding: 12px; border-radius: 999px; color: var(--muted); font-weight: 600; transition: background-color .2s, color .2s; }
.seg2 input:checked + span { background: var(--cyan); color: var(--navy); }
.seg2 input:focus-visible + span, .chips input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { display: block; font-size: 16px; padding: 10px 16px; border-radius: 999px; background: var(--navy); color: var(--muted); transition: background-color .2s, color .2s, transform .15s var(--ease); }
.chips label:hover span { color: var(--ink); }
.chips input:checked + span { background: var(--mint); color: var(--navy); font-weight: 600; }
.chips label:active span { transform: scale(.96); }
.hp { position: absolute; left: -9999px; width: 0; height: 0; overflow: hidden; }
.cf-send { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.cf-send .btn { border: 0; cursor: pointer; font-size: 16px; }
.cf-send .btn:disabled { opacity: .6; cursor: progress; }
.cf-note { color: var(--muted); }

.cdone { grid-column: 2; display: grid; gap: 16px; align-content: start; padding: clamp(24px, 3vw, 40px); background: var(--mint); color: var(--navy); border-radius: 16px; outline: none; }
.cdone[hidden] { display: none; }
.cdone-head { font-size: var(--t-head); font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }
.cdone a { color: var(--navy); font-weight: 600; }
.cdone .copy { margin-left: 8px; padding: 4px 12px; border: 0; border-radius: 999px; background: var(--navy); color: var(--ice); font-size: 13px; cursor: pointer; }
.cdone .text-link { justify-self: start; padding: 0; border: 0; background: none; color: var(--navy); cursor: pointer; font-size: var(--t-body); }

/* Entrances: content is visible without script; JS adds .pre then reveals. */
.pre [data-reveal] { opacity: 0; transform: translateY(24px); }
[data-reveal] { transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0ms); }
.pre [data-reveal].in { opacity: 1; transform: none; }

/* Tablet */
@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { padding-top: 24px; }
  .graph { grid-template-columns: 180px 1fr 220px; }
  .intro { grid-template-columns: var(--m) 1fr; row-gap: 48px; }
  .intro-col { grid-column: 2; max-width: 34em; padding-right: var(--m); }
  .intro-shot { grid-column: 2; position: static; }
  .row { grid-template-columns: 1fr; }
  .flow { flex-wrap: wrap; width: auto; }
  .pipes-head, .services-head { margin-left: 0; }
  .calls > h2, .calls-grid { margin-left: 0; }
  .calls-grid { grid-template-columns: 1fr; }
  .ex-final { position: static; }
  .services-head { grid-template-columns: 1fr; gap: 20px; }
  .pipes-body { grid-template-columns: 1fr; margin-top: 40px; }
  .pipes-list { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; order: 0; }
  .pipes-group { display: none; }
  .pipe-tab { flex: none; width: auto; max-width: 260px; scroll-snap-align: start; background: var(--surface); border-radius: 999px; padding: 10px 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .pipe-tab .pt-icons { width: auto; }
  .pipe-tab .pt-title { overflow: hidden; text-overflow: ellipsis; }
  .stage { position: static; min-height: 0; }
  .hubgraph { grid-template-columns: 1fr; gap: 40px; margin-top: 48px; }
  .hub-pipes { display: none; }
  .hcol, .hcol-left { align-items: stretch; }
  .hcol-left .hlabel { text-align: left; }
  .hcol-center { order: -1; align-items: stretch; gap: 40px; }
  .hcl-top, .hcl-bottom { justify-items: start; }
  .hcol-left .hlist, .hlist, .hcl-top .hlist, .hcl-bottom .hlist { display: flex; flex-wrap: wrap; justify-content: flex-start; max-width: none; }
  .hub { order: -1; justify-items: start; text-align: left; grid-template-columns: auto 1fr; column-gap: 16px; align-items: center; }
  .hub img { width: 64px; height: 64px; grid-row: span 2; }
  .row-text { margin-left: 0; }
  .faq { grid-template-columns: 1fr; padding-left: var(--m); }
  .faq-pane { display: none; }
  .a-inline { margin: 10px 0 4px 22px; }
  .q[aria-expanded="true"] + .a-inline { display: block; }
  .facts-row { grid-template-columns: 1fr; gap: 32px; }
  .facts-row-2 { grid-template-columns: 1fr 1fr; margin-top: 72px; }
  .facts-word { grid-column: 1 / -1; }
  .cta { grid-template-columns: 1fr; gap: 48px; align-content: start; padding-top: 72px; }
  .cta-copy, .cta-links { grid-column: 1; }
  .contact { grid-template-columns: 1fr; }
  .contact-side { position: static; }
  .cdone { grid-column: 1; }
  .cta-copy { align-self: start; }
}

/* Phone */
@media (max-width: 680px) {
  :root { --axis: 20px; --m: 20px; }
  .bar { gap: 16px; }
  .bar-links { display: none; }
  .bar .btn-small { margin-left: auto; }
  .hero h1 { font-size: 44px; }
  .graph { grid-template-columns: 1fr; padding: 16px; min-height: 0; gap: 56px; }
  .graph-res { grid-column: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .res-gpu { display: none; }
  .graph-apps { grid-column: 1; }
  .graph-you { position: static; margin-top: -32px; }
  .row-shots { grid-template-columns: 1fr 1fr; gap: 10px; }
  .showcase { min-height: 86svh; }
  .action-card { font-size: 24px; right: auto; left: 20px; width: 15.5em; bottom: 6svh; }
  .facts-row:first-child { display: flex; flex-direction: column-reverse; }
  .ex-response { margin-left: 0; }
  .stage { padding: 20px 16px; }
  .stage-graph { min-height: 0; padding: 20px 0 8px; }
  .stage-nodes { flex-direction: column; align-items: flex-start; gap: 28px; width: 100%; }
  .stage-nodes .snode, .stage-nodes .snode:nth-child(odd), .stage-nodes .snode:nth-child(even) { transform: none; width: 100%; flex: none; }
  .flow { flex-direction: column; align-items: stretch; }
  .farrow { width: 2px; height: 14px; margin-left: 20px; }
  .farrow::after { right: -3px; top: auto; bottom: -6px; border: 4px solid transparent; border-top-color: var(--electric); }
  .figure { padding: 48px 20px 40px; min-height: 84svh; }
  .figure h2 { font-size: 26px; }
  .figure-bottom { grid-template-columns: 1fr; gap: 16px; }
  .figure-num { font-size: 30vw; }
  .figure-num .unit { display: block; font-size: 20px; margin-top: 12px; letter-spacing: 0; }
  .facts-para { font-size: 22px; }
  .facts-row-2 { grid-template-columns: 1fr; gap: 40px; }
  .cta-line { font-size: 13vw; }
  .foot { grid-template-columns: 1fr; gap: 8px; margin-top: 20svh; }
  .cf-row { grid-template-columns: 1fr; }
  .contact-side h1 { font-size: 44px; }
  .route { flex-direction: column; align-items: flex-start; }
  .rpipe { flex: none; width: 28px; min-width: 0; height: 20px; transform: rotate(90deg); margin: 2px 0 2px 14px; }
  .foot-end { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .pre [data-reveal] { opacity: 1; transform: none; }
}
