/* VeilRUN landing — tokens follow CLAUDE.md design rules */
:root {
  --bg: #07090A;
  --card: #0B100E;
  --card-2: #0E1512;
  --line: #1F2B27;
  --mint: #5EEAB0;
  --mint-ink: #04140D;
  --orange: #FF8A3D;
  --violet: #A78BFA;
  --text: #E8EEEB;
  --muted: #A9B4AF;
  --faint: #6F7B76;

  --f-head: "Space Grotesk", system-ui, sans-serif;
  --f-body: "Inter", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;
  /* section and card titles (compared with docs/section-ref.png: Montserrat 600 closest) */
  --f-title: "Montserrat", var(--f-head);

  --fs-label: 12px;
  --fs-small: 13px;
  --fs-body: 15px;
  --fs-lead: 17px;
  --fs-h3: 20px;
  --fs-h2: 24px;
  --fs-h1: clamp(40px, 5vw, 60px);

  --r: 10px;
  --r-sm: 6px;
  --gap: 16px;
  --pad: 40px;
  --maxw: 1360px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 var(--fs-body)/1.5 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--f-head); margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
[data-lucide], svg.lucide { width: 18px; height: 18px; stroke-width: 1.8; flex: none; }
i[data-lucide] { display: inline-block; }
p, dd, li { text-wrap: pretty; }

.wrap { width: 100%; max-width: calc(var(--maxw) + var(--pad) * 2); margin: 0 auto; padding: 0 var(--pad); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--mint); color: var(--mint-ink); padding: 8px 12px; border-radius: var(--r-sm); z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; border-radius: 4px; }

/* ---------- badges ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font: 600 var(--fs-label)/1 var(--f-body);
  padding: 5px 10px; border-radius: 999px; border: 1px solid; white-space: nowrap;
  vertical-align: middle; letter-spacing: 0;
}
.badge [data-lucide], .badge svg.lucide { width: 14px; height: 14px; }
.badge--preview { color: var(--mint); border-color: rgba(94, 234, 176, .45); background: rgba(94, 234, 176, .08); }
.badge--soon { color: var(--orange); border-color: rgba(255, 138, 61, .55); background: rgba(255, 138, 61, .08); }
.badge--testnet { color: var(--violet); border-color: rgba(167, 139, 250, .5); background: rgba(167, 139, 250, .1); }
.badge--mvp { color: var(--mint-ink); background: var(--mint); border-color: var(--mint); font-family: var(--f-head); font-size: 13px; padding: 5px 12px; }
.badge--dev { color: var(--orange); border-color: rgba(255, 138, 61, .7); background: rgba(255, 138, 61, .06); border-radius: var(--r-sm); padding: 7px 12px; font-size: var(--fs-small); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 var(--fs-body)/1 var(--f-body);
  padding: 13px 18px; border-radius: var(--r-sm); border: 1px solid transparent;
  position: relative; touch-action: manipulation; -webkit-tap-highlight-color: transparent;
  cursor: pointer; transition: background-color .18s var(--ease), box-shadow .18s var(--ease), transform .12s var(--ease);
}
.btn:active { transform: scale(.96); }
.btn--primary { background: var(--mint); color: var(--mint-ink); box-shadow: 0 0 0 1px rgba(94,234,176,.4), 0 0 24px -6px rgba(94,234,176,.6); }
.btn--primary:active { background: #7AF0C1; }
@media (hover: hover) { .btn--primary:hover { background: #7AF0C1; box-shadow: 0 0 0 1px rgba(94,234,176,.6), 0 0 30px -4px rgba(94,234,176,.7); } }
/* small button: invisible 44px-tall touch area around it */
.btn--sm::after { content: ""; position: absolute; inset: -4px 0; }
.btn--sm { padding: 10px 14px; font-size: 14px; white-space: nowrap; }
.btn--block { width: 100%; }
.btn--locked { background: transparent; color: var(--faint); border: 1px dashed #3A4A44; cursor: not-allowed; }
.btn--locked:active { transform: none; }

.note { color: var(--faint); font-size: var(--fs-small); }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(7, 9, 10, .82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid rgba(31, 43, 39, .7); }
.nav__inner { display: flex; align-items: center; gap: 24px; height: 64px; }
/* Logo wordmark: Montserrat 700 italic, used only here */
.logo { display: inline-flex; align-items: center; gap: 4px; position: relative; }
.logo::after { content: ""; position: absolute; inset: -6px -4px; }
.logo__word { font: italic 700 24px/1 "Montserrat", var(--f-head); letter-spacing: -0.01em; color: #FFFFFF; }
.logo__word b { color: var(--mint); font-weight: 700; font-style: italic; }
.logo__ring { width: 40px; height: 40px; margin: -4px 0 -4px -6px; overflow: visible; }
.nav__links { display: flex; gap: 38px; margin: 0 auto; font-size: 15px; color: var(--text); }
.nav__links a { transition: color .15s; }
@media (hover: hover) { .nav__links a:hover { color: var(--mint); } }
.is-soon { color: var(--faint); cursor: default; }

/* ---------- hero ---------- */
.hero { position: relative; isolation: isolate; padding-top: 22px; overflow-x: clip; }
.hero__bg {
  position: absolute; inset: -64px 0 -40px; z-index: -1;
  background: url("/assets/final/01_hero_volcano.webp") center 40% / cover no-repeat;
  mask-image: linear-gradient(to bottom, #000 70%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent);
}
.hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,9,10,.92) 0%, rgba(7,9,10,.55) 42%, rgba(7,9,10,.15) 70%, rgba(7,9,10,.35) 100%); }
.hero__inner { display: grid; grid-template-columns: minmax(0, 470px) minmax(0, 1fr); gap: 24px; align-items: center; min-height: 300px; }
.kicker { font: 500 var(--fs-label)/1 var(--f-mono); letter-spacing: .22em; color: var(--mint); margin-bottom: 14px; }
.hero h1 { font-size: var(--fs-h1); line-height: 1.02; font-weight: 700; letter-spacing: -0.025em; }
.hero h1 em { font-style: normal; color: var(--orange); text-shadow: 0 0 28px rgba(255, 138, 61, .35); }
.hero__lead { margin-top: 16px; font-size: var(--fs-lead); line-height: 1.45; color: var(--text); max-width: 440px; }

.term { margin-top: 20px; border-radius: var(--r); padding: 12px 16px 16px; max-width: 455px; }
.term__bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.dots { display: inline-flex; gap: 7px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: #FF5F57; }
.dots i:nth-child(2) { background: #FEBC2E; }
.dots i:nth-child(3) { background: #28C840; }
.term code { font: 500 15px/1.4 var(--f-mono); color: var(--text); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.term__prompt { color: var(--muted); }
.caret { display: inline-block; width: 9px; height: 18px; background: var(--mint); animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* stage: files → runtime → result */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* Columns: card | gap | cylinder | gap | card. The cylinder column is the width of the
   visible glass body (the picture spills past it), so each arrow sits in the middle of
   the real empty space between a card edge and the glass. */
.stage {
  display: grid; align-items: center; perspective: 900px;
  grid-template-columns: max-content minmax(88px, 1fr) minmax(200px, 292px) minmax(88px, 1fr) max-content;
  --arrow-w: 40px;
}
.stage__gap { display: flex; justify-content: center; align-items: center; padding: 0 24px; }
.stage__arrow { position: relative; z-index: 3; width: var(--arrow-w); height: 20px; overflow: visible; fill: none; stroke: var(--mint); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 5px rgba(94,234,176,.75)); }

.filecard {
  position: relative; z-index: 2; justify-self: center; min-width: 0;
  padding: 14px 18px 14px 16px; border-radius: 12px;
  background: linear-gradient(160deg, rgba(20, 34, 29, .78), rgba(6, 11, 9, .82));
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border: 1.5px solid rgba(94, 234, 176, .85);
  box-shadow: 0 0 18px rgba(94, 234, 176, .32), 0 0 2px rgba(94, 234, 176, .6), inset 0 0 18px rgba(94, 234, 176, .08);
  transform-style: preserve-3d;
}
/* hinge on the edge that faces the cylinder, so that edge stays where the layout puts it */
.filecard--in { transform: rotateY(11deg) rotateZ(-.5deg); transform-origin: right center; }
.filecard--out { transform: rotateY(-11deg) rotateZ(.5deg); transform-origin: left center; }
.filecard__title { display: flex; align-items: center; gap: 10px; white-space: nowrap; font: 600 15px/1.2 var(--f-title); color: #F3F7F5; margin-bottom: 10px; letter-spacing: -0.01em; }
.filecard li { display: flex; align-items: center; gap: 10px; font: 500 13px/2 var(--f-mono); color: #DDE6E2; }
.ico-lock { width: 22px; height: 22px; flex: none; fill: var(--mint); filter: drop-shadow(0 0 4px rgba(94,234,176,.55)); }
.ico-lock .shackle { fill: none; stroke: var(--mint); stroke-width: 2.6; stroke-linecap: round; }
.ico-lock .hole { fill: #07130E; }
.ico-bars { width: 22px; height: 22px; flex: none; fill: var(--mint); filter: drop-shadow(0 0 4px rgba(94,234,176,.55)); }
.ico-file { width: 16px; height: 16px; flex: none; fill: rgba(232,238,235,.14); stroke: #DDE6E2; stroke-width: 1.4; stroke-linejoin: round; }
.ico-file .fold { fill: none; }
.ico-check { width: 16px; height: 16px; flex: none; fill: none; stroke: var(--mint); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 3px rgba(94,234,176,.6)); }

/* visible glass body is ~81% of .runtime, so .runtime is 1/0.81 of the column, centred */
.runtime-col { position: relative; z-index: 1; min-width: 0; }
.runtime { position: relative; width: 123.5%; margin-left: -11.75%; aspect-ratio: 1 / 0.86; filter: drop-shadow(0 20px 40px rgba(255, 110, 30, .25)); container-type: inline-size; }
.runtime img { position: absolute; left: 50%; top: 50%; width: 150%; max-width: none; transform: translate(-50%, -50%); }

/* code window drawn over the one in the picture */
.codewin {
  position: absolute; left: 26%; top: 21%; width: 48%; height: 40%;
  padding: 3.2cqi 3.4cqi; border-radius: 2.4cqi;
  background: linear-gradient(180deg, rgba(14, 18, 20, .93), rgba(10, 12, 14, .9));
  border: 1px solid rgba(255, 170, 110, .55);
  box-shadow: 0 0 14px rgba(255, 138, 61, .35), inset 0 0 22px rgba(94, 234, 176, .06);
}
.codewin__bar { display: flex; gap: 1.2cqi; }
.codewin__bar span { width: 1.6cqi; height: 1.6cqi; border-radius: 50%; background: #FF8A3D; opacity: .8; }
.codewin__bar span:nth-child(2) { background: #FFB45C; }
.codewin__bar span:nth-child(3) { background: var(--mint); }
.codewin__tag { margin: 1.6cqi 0 1.4cqi; font: 700 6.4cqi/1 var(--f-mono); color: var(--mint); text-shadow: 0 0 8px rgba(94,234,176,.7); }
.codewin__lines { counter-reset: ln; display: grid; gap: 1.5cqi; }
.codewin__lines li { counter-increment: ln; display: flex; align-items: center; gap: 1.6cqi; }
.codewin__lines li::before { content: counter(ln); width: 3cqi; font: 400 2.6cqi/1 var(--f-mono); color: rgba(232,238,235,.35); text-align: right; }
.codewin__lines i { display: block; height: 1.4cqi; border-radius: 1cqi; }
.codewin__lines .m { background: var(--mint); box-shadow: 0 0 6px rgba(94,234,176,.6); }
.codewin__lines .v { background: #A78BFA; box-shadow: 0 0 6px rgba(167,139,250,.55); }
.codewin__lines .o { background: #FF8A3D; box-shadow: 0 0 6px rgba(255,138,61,.6); }

/* pentagon badge, overlapping the code window bottom */
.runtime__chip {
  position: absolute; left: 50%; top: 52%; width: 36%; aspect-ratio: 200 / 150; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 2.2cqi;
  padding-bottom: 4cqi; text-align: center;
  font: 600 3.7cqi/1.2 var(--f-body); color: #F6EEE8;
}
.chip__shape { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; z-index: -1; }
.chip__shape path { fill: rgba(16, 9, 5, .92); stroke: #FF9A4D; stroke-width: 2.4; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 6px rgba(255,138,61,.9)) drop-shadow(0 0 14px rgba(255,110,30,.55)); }
.chip__icon { width: 9cqi; height: 9cqi; fill: none; stroke: var(--mint); stroke-width: 1.8; stroke-linecap: round; filter: drop-shadow(0 0 4px rgba(94,234,176,.8)); }
.chip__icon .core { fill: var(--mint); stroke: none; }

/* curved, flame-coloured base label */
.runtime__base { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.runtime__base text {
  font: 600 29px/1 "Chakra Petch", var(--f-mono); letter-spacing: 5px;
  fill: url(#vr-flame);
  filter: drop-shadow(0 0 3px rgba(255, 138, 61, .9)) drop-shadow(0 0 10px rgba(255, 110, 30, .55));
}

.trust {
  display: grid; grid-template-columns: repeat(3, 1fr);
  margin-top: 22px; padding: 18px 0; border-radius: var(--r);
}
.trust li { display: flex; gap: 16px; align-items: center; justify-content: center; padding: 0 24px; }
.trust li + li { border-left: 1px solid var(--line); }
.trust li > svg.lucide { color: var(--mint); width: 30px; height: 30px; stroke-width: 1.6; }
.trust__title { font: 600 15px/1.3 var(--f-title); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.trust p:not(.trust__title) { color: var(--muted); font-size: var(--fs-small); }

/* ---------- shared surfaces ---------- */
/* .glass: dark glass box. Lighter at the top, darker at the bottom, a thin bright top edge,
   an inner shadow and a soft outer shadow. Used by every card/panel on the page. */
.glass {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .055) 0%, rgba(255, 255, 255, .018) 38%, rgba(0, 0, 0, .22) 100%),
    #0A0F0D;
  border: 1px solid rgba(170, 225, 205, .14);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .11),
    inset 0 0 0 1px rgba(255, 255, 255, .015),
    inset 0 -22px 32px -20px rgba(0, 0, 0, .7),
    0 14px 30px -14px rgba(0, 0, 0, .85);
}
/* .glass--glow: the highlighted card (mint edge + outer mint glow). */
.glass--glow {
  background:
    linear-gradient(180deg, rgba(94, 234, 176, .10) 0%, rgba(94, 234, 176, .03) 45%, rgba(0, 0, 0, .2) 100%),
    #0A120F;
  border-color: rgba(94, 234, 176, .8);
  box-shadow:
    inset 0 1px 0 rgba(190, 255, 228, .28),
    inset 0 0 24px rgba(94, 234, 176, .08),
    0 0 0 1px rgba(94, 234, 176, .35),
    0 0 18px rgba(94, 234, 176, .5),
    0 0 46px rgba(94, 234, 176, .3),
    0 0 90px -10px rgba(94, 234, 176, .35);
}

/* icon tile: dark glass square, mint gradient edge, filled mint icon */
.itile {
  --t: 40px;
  display: inline-grid; place-items: center; flex: none;
  width: var(--t); height: var(--t); border-radius: calc(var(--t) * .26);
  border: 1px solid transparent;
  background:
    linear-gradient(180deg, rgba(94, 234, 176, .14), rgba(8, 16, 13, .95) 70%) padding-box,
    linear-gradient(150deg, rgba(150, 255, 210, .9), rgba(94, 234, 176, .15) 55%, rgba(94, 234, 176, .45)) border-box;
  box-shadow: 0 0 14px -2px rgba(94, 234, 176, .35), inset 0 1px 0 rgba(255, 255, 255, .12);
  color: var(--mint);
}
.itile svg { width: 58%; height: 58%; fill: currentColor; filter: drop-shadow(0 0 4px rgba(94, 234, 176, .55)); }
.itile--lg { --t: 58px; }
.itile--sm { --t: 28px; }

/* ---------- features ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); margin-top: 18px; }
/* Picture is right-aligned at full card height (2:1 art, so it covers the right part of
   the card) and fades to the card colour toward the text on the left. */
.feat {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 136px; padding: 20px 18px 18px 20px;
  border-radius: var(--r);
  background-color: #060807;
  background-image:
    linear-gradient(90deg, #060807 0%, #060807 26%, rgba(6, 8, 7, .82) 44%, rgba(6, 8, 7, .25) 66%, rgba(6, 8, 7, 0) 80%),
    var(--feat-img);
  background-repeat: no-repeat;
  background-size: 100% 100%, auto 100%;
  background-position: left top, right -28px center;
  border: 1px solid rgba(160, 230, 200, .16);
  box-shadow: 0 0 0 1px rgba(94, 234, 176, .04), 0 0 18px -4px rgba(94, 234, 176, .16), inset 0 1px 0 rgba(255, 255, 255, .05);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
@media (hover: hover) { .feat:hover { border-color: rgba(160, 230, 200, .28); box-shadow: 0 0 0 1px rgba(94, 234, 176, .06), 0 0 22px -4px rgba(94, 234, 176, .24), inset 0 1px 0 rgba(255, 255, 255, .06); } }
.feat__badge { position: absolute; top: 12px; right: 12px; z-index: 1; font-size: 12px; padding: 3px 8px; gap: 4px; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); background-color: rgba(7, 9, 10, .6); }
.feat__num { font: 600 20px/1 var(--f-head); color: var(--mint); margin-bottom: 10px; font-variant-numeric: tabular-nums; }
.feat h2 { font: 600 18px/1.2 var(--f-title); letter-spacing: -0.01em; margin-bottom: 8px; white-space: nowrap; }
.feat__desc { font-size: 12.5px; line-height: 1.45; color: #B8C3BE; white-space: nowrap; text-shadow: 0 1px 6px rgba(0, 0, 0, .9), 0 0 2px rgba(0, 0, 0, .8); }

/* ---------- product row ---------- */
.product { display: grid; grid-template-columns: 1.02fr 1.08fr 0.9fr; gap: var(--gap); margin-top: var(--gap); align-items: stretch; }
.pcard { display: flex; flex-direction: column; gap: 14px; padding: 20px 22px; border-radius: 12px; }
.pcard__head { display: flex; gap: 16px; align-items: flex-start; }
.pcard h2 { font: 700 22px/1.2 var(--f-title); letter-spacing: -0.01em; }
.pcard h2 .badge { margin-left: 6px; position: relative; top: -2px; }
.pcard__head p { margin-top: 8px; color: #C3CCC8; font-size: 14px; line-height: 1.45; }
.pcard__meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 12px 0 2px; border-top: 1px solid rgba(170, 225, 205, .14); margin-top: auto; }
.price { display: flex; align-items: center; gap: 10px; font-size: 16px; color: var(--muted); }
.price strong { font: 700 22px/1 var(--f-title); color: #FFFFFF; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
/* small line under the price: lines up with the amount, not the icon (22px icon + 10px gap) */
.price__note { margin-top: 6px; padding-left: 32px; font: 500 var(--fs-label)/1.3 var(--f-mono); color: var(--muted); letter-spacing: .02em; }
.price__ico { width: 22px; height: 22px; fill: var(--mint); filter: drop-shadow(0 0 4px rgba(94, 234, 176, .5)); }

.code { display: flex; flex-direction: column; border-radius: 12px; overflow: hidden; min-width: 0; }
.code__tab { display: flex; justify-content: space-between; align-items: center; padding: 8px 12px; border-bottom: 1px solid rgba(170, 225, 205, .12); background: rgba(0, 0, 0, .18); }
.code__file { display: inline-flex; align-items: center; gap: 8px; font: 400 var(--fs-small)/1 var(--f-mono); background: rgba(255, 255, 255, .05); padding: 7px 10px; border-radius: 6px; color: var(--text); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06); }
.code__py { width: 16px; height: 16px; }
.code__file span { color: var(--faint); }
.code pre { margin: 0; padding: 14px 16px; overflow-x: auto; flex: 1; }
.code code { font: 400 12.5px/1.75 var(--f-mono); color: var(--text); }
.code .ln { display: inline-block; width: 2.2em; color: var(--faint); user-select: none; }
.code .k { color: #C792EA; }
.code .s { color: #FFB37A; }
.code .c { color: var(--faint); }

.flow { padding: 18px 18px; border-radius: 12px; }
.flow h2 { display: flex; align-items: center; gap: 10px; font: 700 16px/1.2 var(--f-title); margin-bottom: 14px; }
.flow__h-ico { width: 20px; height: 20px; fill: var(--mint); color: var(--mint); filter: drop-shadow(0 0 4px rgba(94, 234, 176, .5)); }
.flow ol { position: relative; display: grid; gap: 9px; }
.flow ol::before { content: ""; position: absolute; left: 11px; top: 16px; bottom: 16px; width: 2px; border-radius: 2px; background: linear-gradient(180deg, rgba(94, 234, 176, .9), rgba(94, 234, 176, .45)); box-shadow: 0 0 6px rgba(94, 234, 176, .45); }
.flow li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: center; }
.flow__n {
  position: relative; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #9FF7D3, var(--mint) 60%, #36C98F);
  color: #05140D; font: 700 12px/1 var(--f-title);
  box-shadow: 0 0 10px rgba(94, 234, 176, .55), inset 0 1px 0 rgba(255, 255, 255, .5);
}
.flow__row {
  display: flex; align-items: center; gap: 12px; padding: 7px 12px 7px 8px; font-size: 13px; font-weight: 500; color: #DDE6E2;
  border-radius: 8px; border: 1px solid rgba(170, 225, 205, .12);
  background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .01));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07);
}

/* ---------- marketplace ---------- */
.market { display: grid; grid-template-columns: 330px 1fr; gap: 20px; margin-top: 26px; align-items: center; }
.market__intro h2 { font: 700 24px/1.2 var(--f-title); letter-spacing: -0.01em; margin-bottom: 10px; white-space: nowrap; }
.market__intro p { color: #C3CCC8; font-size: 13px; line-height: 1.5; margin-bottom: 18px; }
.market__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.mcard {
  position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; align-items: center; gap: 12px;
  padding: 14px 12px 12px; min-height: 122px; text-align: center; border-radius: 12px;
}
/* blurred orange + green light inside each marketplace card */
.mcard::before, .mcard::after { content: ""; position: absolute; z-index: -1; pointer-events: none; border-radius: 50%; filter: blur(16px); }
.mcard::before { width: 60%; height: 46%; left: 14%; top: 42%; background: rgba(255, 128, 50, .42); }
.mcard::after { width: 52%; height: 44%; right: 6%; top: 48%; background: rgba(60, 200, 130, .34); }
.mcard:nth-child(2)::before { left: 30%; background: rgba(255, 128, 50, .5); }
.mcard:nth-child(2)::after { right: 52%; background: rgba(60, 200, 130, .22); }
.mcard:nth-child(3)::before { left: 40%; top: 46%; }
.mcard:nth-child(4)::before { background: rgba(255, 128, 50, .28); }
.mcard:nth-child(4)::after { right: 18%; background: rgba(60, 200, 130, .44); }
.mcard:nth-child(5)::before { left: 4%; background: rgba(255, 128, 50, .3); }
.mcard:nth-child(5)::after { right: 10%; background: rgba(60, 200, 130, .46); }
.mcard__t { display: flex; align-items: center; gap: 10px; font: 600 13.5px/1.25 var(--f-title); text-align: left; align-self: stretch; }
.mcard__more { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; font-size: var(--fs-label); color: #8E9A95; cursor: not-allowed; }
.mcard__more svg.lucide { width: 12px; height: 12px; }

/* ---------- bottom band ---------- */
.band {
  display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.15fr; align-items: center;
  margin-top: 24px; padding: 18px 0; border-radius: 12px;
}
.band li { display: flex; gap: 14px; align-items: center; padding: 0 24px; }
.band li + li { border-left: 1px solid rgba(170, 225, 205, .14); }
.band__lead { font: 700 17px/1.25 var(--f-title); white-space: nowrap; letter-spacing: -0.01em; }
.band li > svg.lucide { color: var(--mint); width: 28px; height: 28px; stroke-width: 2; filter: drop-shadow(0 0 5px rgba(94, 234, 176, .5)); }
.band__t { font: 600 14.5px/1.3 var(--f-title); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.band p:not(.band__t) { color: #B7C2BD; font-size: 12.5px; line-height: 1.4; margin-top: 2px; }

/* ---------- pilot ---------- */
.pilot {
  display: grid; grid-template-columns: 1fr minmax(0, 440px); gap: 48px; align-items: start;
  margin-top: 56px; scroll-margin-top: 84px;
}
.pilot__copy h2 { font: 700 30px/1.2 var(--f-title); letter-spacing: -0.01em; margin-bottom: 12px; }
.pilot__copy > p { color: var(--muted); font-size: var(--fs-lead); max-width: 520px; }
.keep { display: grid; gap: 12px; margin: 24px 0 0; max-width: 520px; }
.keep div { padding: 12px 16px; border-radius: var(--r-sm); }
.keep dt { font: 500 var(--fs-label)/1.3 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--mint); margin-bottom: 4px; }
.keep div + div dt { color: var(--orange); }
.keep dd { margin: 0; font-size: 14px; color: var(--text); }
.pform {
  position: relative; display: flex; flex-direction: column; gap: 8px; padding: 24px; border-radius: var(--r);
}
.pform label { font-size: 14px; font-weight: 500; margin-top: 8px; }
.pform input[type=email], .pform select {
  width: 100%; height: 46px; padding: 0 14px; border-radius: var(--r-sm);
  background: #070B0A; color: var(--text); border: 1px solid var(--line);
  font: 400 var(--fs-body)/1 var(--f-body); transition: border-color .15s;
}
.pform input::placeholder { color: var(--faint); }
.pform input:focus, .pform select:focus { outline: none; border-color: var(--mint); box-shadow: 0 0 0 3px rgba(94,234,176,.15); }
.pform .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--muted); margin: 12px 0 10px; cursor: pointer; }
.pform .check input { accent-color: var(--mint); width: 18px; height: 18px; margin: 2px 0 0; flex: none; }
.pform .note { margin-top: 4px; }
.pform .note.is-ok { color: var(--mint); }
.pform .note.is-err { color: var(--orange); }
.pform .btn[disabled] { opacity: .65; cursor: progress; }
.pform [aria-invalid="true"] { border-color: var(--orange); }
.pform__ts { min-height: 65px; margin-top: 6px; }
.pform__ts:empty { min-height: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- footer ---------- */
.foot { margin-top: 56px; border-top: 1px solid var(--line); padding: 26px 0 32px; }
.foot__inner { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.foot__tag { font-size: var(--fs-small); color: var(--muted); }
.foot__links { display: flex; gap: 28px; margin-left: auto; font-size: 14px; flex-wrap: wrap; }
.foot__links a { position: relative; transition: color .15s; }
.foot__links a::after { content: ""; position: absolute; inset: -9px -6px; }
@media (hover: hover) { .foot__links a:hover { color: var(--mint); } }
.disclaimer { margin-top: 20px; font-size: var(--fs-small); color: var(--muted); }

/* ---------- motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .caret { animation: none; }
  * { transition: none !important; }
}

/* ---------- responsive ---------- */
/* Hero: the stage needs ~770px (two cards + two arrow gaps + glass). Narrow the copy
   column first, then stack once even that no longer leaves room. */
@media (max-width: 1400px) {
  .hero__inner { grid-template-columns: minmax(0, 400px) minmax(0, 1fr); }
  .hero h1 { font-size: 52px; }
}
@media (max-width: 1279px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero h1 { font-size: var(--fs-h1); }
  .stage { max-width: 860px; margin: 0 auto; width: 100%; }
}

@media (max-width: 1240px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .product { grid-template-columns: 1fr 1fr; }
  .product .flow { grid-column: 1 / -1; }
  .market { grid-template-columns: 1fr; }
  .band { grid-template-columns: 1fr 1fr; row-gap: 18px; }
  .band__lead { white-space: normal; }
  .band li:nth-child(3) { border-left: 0; }
}

@media (max-width: 860px) {
  :root { --pad: 16px; }
  .nav__links { display: none; }
  .nav__inner { justify-content: space-between; }
  .stage { grid-template-columns: 1fr; justify-items: center; gap: 0; perspective: none; }
  .stage__gap { padding: 22px 0; }
  .stage__arrow { transform: rotate(90deg); }
  .filecard--in, .filecard--out { transform: none; }
  .runtime-col { width: 100%; max-width: 250px; margin: 44px 0; }
  .filecard { width: 100%; max-width: 340px; }
  .trust { grid-template-columns: 1fr; padding: 4px 0; }
  .trust li { justify-content: flex-start; padding: 14px 18px; }
  .trust li + li { border-left: 0; border-top: 1px solid var(--line); }
  .hero__bg { background-image: url("/assets/final/01_hero_volcano-1440.webp"); }
  .features, .product { grid-template-columns: 1fr; }
  /* phone: keep the art but push it well back behind the text */
  .feat {
    background-image:
      linear-gradient(90deg, #060807 0%, rgba(6, 8, 7, .92) 40%, rgba(6, 8, 7, .55) 75%, rgba(6, 8, 7, .35) 100%),
      var(--feat-img);
  }
  .market__grid { grid-template-columns: repeat(2, 1fr); }
  .band { grid-template-columns: 1fr; padding: 4px 0; row-gap: 0; }
  .band li { padding: 14px 18px; }
  .band li + li { border-left: 0; border-top: 1px solid var(--line); }
  .pilot { grid-template-columns: 1fr; gap: 24px; }
  .foot__links { margin-left: 0; gap: 18px; }
}

@media (max-width: 420px) {
  .market__grid { grid-template-columns: 1fr; }
  .mcard { flex-direction: row; flex-wrap: wrap; min-height: 0; align-items: center; justify-content: space-between; text-align: left; }
  .mcard__t { align-self: auto; }
  .mcard__more { margin-top: 0; width: 100%; }
  /* phone: dim the colour blobs so they never sit hard behind the text */
  .mcard::before, .mcard::after { opacity: .45; top: 30%; }
  .market__intro h2 { white-space: normal; }
  .pcard { padding: 18px; }
  .pcard__head { flex-direction: column; }
  /* keep "$" beside the command; the command wraps on its own line box */
  .term code { font-size: 13px; flex-wrap: nowrap; align-items: flex-start; }
  .btn--sm { padding: 10px 12px; }
}
