@font-face {
  font-family: "Open Sans";
  src: url("/fonts/open-sans-variable.woff2") format("woff2-variations");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans";
  src: url("/fonts/noto-sans-variable.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #08090D;
  --bg-soft: #0d0f15;
  --surface: #12141b;
  --line: #272C35;
  --text: #FAFAFA;
  --muted: #A6A6A6;
  --amber: #F9BC2F;   /* primary */
  --cyan: #00FFFF;    /* secondary */
  /* chatoyant sheen: warm gold shifting to cyan, like a cat's-eye */
  --sheen: linear-gradient(100deg, #F9BC2F 0%, #FFD86B 22%, #F9BC2F 40%, #7DF9E8 64%, #00FFFF 82%, #F9BC2F 100%);
  --max: 1120px;
  --font: "Noto Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Open Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); }

a { color: inherit; text-decoration: none; }

/* chatoyant shimmer: iridescent text that shifts amber -> cyan */
.chatoyant {
  background: var(--sheen);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: sheen 7s ease-in-out infinite;
}
@keyframes sheen {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}
@media (prefers-reduced-motion: reduce) {
  .chatoyant { animation: none; background-position: 30% 50%; }
}

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
/* Ventures-family hero eyebrow: bordered cyan chip with a spark */
.eyebrow.chip {
  display: inline-flex; align-items: center; gap: 9px;
  color: var(--cyan); letter-spacing: .16em;
  border: 1px solid rgba(0,255,255,.32);
  background: rgba(0,255,255,.05);
  padding: 8px 15px; border-radius: 999px;
}
.eyebrow.chip::before { content: "✦"; font-size: 12px; line-height: 1; }

/* ---- Header ---- */
header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(8,9,13,.72);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand .mark { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 17px; letter-spacing: -.005em; }
.logo-mark { flex: none; display: block; }
/* Logo mark motion (both header and footer) lives with the sheen keyframes further down. */
.foot .mark { display: inline-flex; align-items: center; gap: 8px; }
.brand .mark b { color: var(--amber); }
.parent-tag {
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); border-left: 1px solid var(--line); padding-left: 12px;
  transition: color .2s;
}
.parent-tag:hover { color: var(--cyan); }
.menu { display: flex; gap: 28px; font-size: 14px; }
.menu a { color: var(--muted); transition: color .2s; }
.menu a:hover, .menu a.active { color: var(--text); }

/* ---- Hero ---- */
.hero { padding: 120px 0 88px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; top: -30%; left: 50%; transform: translateX(-50%);
  width: 1000px; height: 760px; pointer-events: none;
  background:
    radial-gradient(circle at 42% 40%, rgba(0,255,255,.12), transparent 60%),
    radial-gradient(circle at 62% 66%, rgba(249,188,47,.07), transparent 60%);
}
.hero h1 {
  font-size: clamp(44px, 7vw, 92px);
  font-weight: 700; letter-spacing: -.02em; line-height: .98;
  max-width: 14ch;
  /* line-height under 1 pulls the box in tighter than the ascenders, so the
     glyphs overflow upward. em keeps the gap proportional as the size clamps. */
  margin-top: .4em;
}
.hero h1 .accent { color: var(--cyan); }
.hero p.lead {
  margin-top: 28px; max-width: 52ch; font-size: clamp(17px, 2.2vw, 21px);
  color: var(--muted);
}
.cta-row { margin-top: 40px; display: flex; gap: 16px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 600; padding: 13px 22px; border-radius: 8px;
  transition: transform .15s, background .2s, border-color .2s;
}
.btn-primary {
  background: var(--amber); color: #0a0a0a;
  box-shadow: 0 8px 30px -12px rgba(249,188,47,.55);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 34px -12px rgba(249,188,47,.7); }
.btn-ghost { border: 1px solid rgba(0,255,255,.38); color: var(--cyan); }
.btn-ghost:hover { border-color: var(--cyan); background: rgba(0,255,255,.07); }

/* ---- Sub-page hero ---- */
.page-hero { padding: 96px 0 64px; position: relative; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; top: -40%; left: 60%; transform: translateX(-50%);
  width: 820px; height: 660px; pointer-events: none;
  background: radial-gradient(circle at center, rgba(0,255,255,.10), transparent 62%);
}
.page-hero h1 { font-size: clamp(38px, 6vw, 68px); font-weight: 700; letter-spacing: -.02em; line-height: 1.02; max-width: 16ch; margin-top: .4em; }
.page-hero .accent { color: var(--cyan); }
.page-hero p.lead { margin-top: 24px; max-width: 56ch; font-size: clamp(16px, 2vw, 20px); color: var(--muted); }

/* ---- Section shell ---- */
section.block { padding: 88px 0; border-top: 1px solid var(--line); }
.section-head { max-width: 60ch; margin-bottom: 52px; }
.section-head h2 {
  font-size: clamp(28px, 4vw, 40px); font-weight: 700; letter-spacing: -.01em;
  margin-top: 14px;
}
.section-head p { margin-top: 16px; color: var(--muted); font-size: 17px; }

/* ---- Steps ---- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step {
  border: 1px solid var(--line); border-radius: 14px; padding: 28px;
  background: var(--surface); transition: border-color .25s, transform .25s;
}
.step:hover { border-color: var(--cyan); transform: translateY(-3px); }
.step .num { font-size: 13px; font-weight: 700; color: var(--cyan); letter-spacing: .1em; }
.step h3 { margin: 14px 0 10px; font-size: 21px; font-weight: 700; }
.step p { color: var(--muted); font-size: 15px; }

/* ---- Animated signal flow across the sequential steps (invent -> prototype -> ship) ---- */
.steps.flow { position: relative; }
.steps.flow .step { position: relative; z-index: 1; }
/* flow rail sits in the open band above the cards, so the signal is fully visible */
.steps.flow::before {
  content: ""; position: absolute; top: -30px; left: 4%; right: 4%;
  height: 2px; z-index: 0;
  background: linear-gradient(90deg, transparent, rgba(0,255,255,.28) 15%, rgba(0,255,255,.28) 85%, transparent);
}
/* the travelling signal */
.steps.flow::after {
  content: ""; position: absolute; top: -32px; left: 5%;
  width: 74px; height: 6px; border-radius: 6px; z-index: 0;
  background: linear-gradient(90deg, transparent, #ffffff, var(--cyan), transparent);
  box-shadow: 0 0 16px 2px rgba(0,255,255,.85);
  animation: flowpulse 4.5s linear infinite;
}
@keyframes flowpulse {
  0%   { left: 4%;  opacity: 0; }
  7%   { opacity: 1; }
  93%  { opacity: 1; }
  100% { left: 86%; opacity: 0; }
}
/* numbers flash in sequence as the signal passes over each card */
.steps.flow .step .num { animation: numglow 4.5s ease-in-out infinite; }
.steps.flow .step:nth-child(1) .num { animation-delay: .5s; }
.steps.flow .step:nth-child(2) .num { animation-delay: 2s; }
.steps.flow .step:nth-child(3) .num { animation-delay: 3.4s; }
@keyframes numglow {
  0%   { color: var(--cyan); text-shadow: none; }
  4%   { color: #fff; text-shadow: 0 0 16px rgba(0,255,255,.95); }
  18%  { color: var(--cyan); text-shadow: none; }
  100% { color: var(--cyan); text-shadow: none; }
}
@media (prefers-reduced-motion: reduce) {
  .steps.flow::after { display: none; }
  .steps.flow .step .num { animation: none; color: var(--cyan); }
}

/* ---- Contact brief form (Ventures-style signal brief) ---- */
.brief { max-width: 640px; border-left: 2px solid rgba(0,255,255,.28); padding-left: 30px; }
.brief .field { margin-bottom: 18px; }
/* progressive steps: each unfolds (grows in) once the previous is answered */
.qstep { margin-bottom: 42px; }
.qstep:last-child { margin-bottom: 0; }
.qstep[hidden] { display: none; }
.qstep .field:last-child { margin-bottom: 0; }
.brief .q, .brief .flabel { display: block; font-size: 15px; font-weight: 600; margin-bottom: 12px; }
.brief .flabel span { color: var(--muted); font-weight: 400; font-size: 13px; }
/* options are compact selectable chips that wrap, not full-width boxes */
.options { display: flex; flex-wrap: wrap; gap: 10px; }
.opt {
  position: relative; display: inline-flex; align-items: center; white-space: nowrap;
  border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px;
  color: var(--muted); font-size: 14px; cursor: pointer;
  transition: border-color .16s, color .16s, background .16s;
}
.opt input { position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none; }
.opt:hover { border-color: rgba(0,255,255,.45); color: var(--text); }
.opt:has(input:checked) { border-color: var(--cyan); background: var(--cyan); color: #05131a; font-weight: 600; }
.opt:has(input:focus-visible) { outline: 2px solid var(--cyan); outline-offset: 2px; }
.brief input[type=text], .brief input[type=email], .brief textarea {
  width: 100%; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 10px;
  padding: 12px 15px; color: var(--text); font: inherit; font-size: 15px;
}
.brief input::placeholder, .brief textarea::placeholder { color: var(--muted); }
.brief input:focus, .brief textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(0,255,255,.12); }
.brief textarea { min-height: 104px; resize: vertical; }
.btn.full { width: 100%; justify-content: center; margin-top: 6px; }
.brief-note { margin-top: 14px; font-size: 13px; color: var(--muted); text-align: center; }
.brief-success {
  max-width: 760px; border-left: 2px solid var(--cyan);
  padding: 28px 30px; background: rgba(0,255,255,.05); border-radius: 0 12px 12px 0;
}
.brief-success h3 { font-size: 22px; font-weight: 700; margin-bottom: 12px; }
.brief-success p { color: var(--muted); font-size: 16px; }

/* ---- Themes ---- */
.themes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.theme {
  border: 1px solid var(--line); border-radius: 14px; padding: 26px; background: var(--bg-soft);
  position: relative; overflow: hidden;
}
.theme .tnum { font-size: 12px; letter-spacing: .15em; color: var(--cyan); font-weight: 700; }
.theme h3 { margin: 12px 0 8px; font-size: 19px; }
.theme p { color: var(--muted); font-size: 14px; }

/* ---- Flagship ---- */
.flagship {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center;
  border: 1px solid var(--line); border-radius: 18px; padding: 44px; background: var(--surface);
}
.flagship .tags { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.tag {
  font-size: 11px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600;
  padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted);
}
.caps { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 0; }
.caps .tag {
  font-size: 13px; line-height: 1; padding: 12px 18px; border-radius: 10px;
  color: var(--text); transition: border-color .2s, color .2s;
}
.caps .tag:hover { border-color: var(--cyan); color: var(--cyan); }
.flagship h3 { font-size: clamp(30px, 4vw, 44px); font-weight: 700; letter-spacing: -.01em; }
.flagship p { margin: 16px 0 24px; color: var(--muted); font-size: 16px; }
.flag-art {
  aspect-ratio: 4/3; border-radius: 14px;
  background:
    radial-gradient(circle at 30% 30%, rgba(249,188,47,.35), transparent 55%),
    radial-gradient(circle at 75% 70%, rgba(0,255,255,.30), transparent 55%),
    #0a0b10;
  border: 1px solid var(--line);
  display: grid; place-items: center; overflow: hidden;
  transition: border-color .2s, transform .2s;
}
a.flag-art:hover { border-color: var(--cyan); transform: translateY(-2px); }
.flag-art img {
  width: 44%; max-width: 190px; aspect-ratio: 1; border-radius: 22px;
  box-shadow: 0 20px 50px -18px rgba(0,0,0,.7);
}

/* ---- CTA strip ---- */
.cta-strip { text-align: center; }
.cta-strip h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 700; letter-spacing: -.01em; }
.cta-strip p { color: var(--muted); margin: 16px auto 32px; max-width: 46ch; }

/* ---- Footer ---- */
footer { border-top: 1px solid var(--line); padding: 56px 0 40px; }
.foot { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; flex-wrap: wrap; }
.foot .mark { font-weight: 700; font-size: 16px; }
.foot .mark b { color: var(--amber); }
.foot p { color: var(--muted); font-size: 13px; margin-top: 10px; max-width: 34ch; }
.foot .links { display: flex; gap: 40px; }
.foot .links h4 { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.foot .links a { display: block; font-size: 14px; color: var(--muted); margin-bottom: 8px; transition: color .2s; }
.foot .links a:hover { color: var(--cyan); }
.copyright { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: var(--muted); font-size: 13px; }
.flag-eu { color: var(--text); }

/* ===== Showcase / product pages (Orbit Restore and future products) ===== */
.breadcrumb { display: flex; gap: 10px; align-items: center; font-size: 13px; color: var(--muted); padding-top: 30px; margin-bottom: 24px; }
.breadcrumb a { color: var(--muted); transition: color .2s; }
.breadcrumb a:hover { color: var(--cyan); }
.breadcrumb .sep { color: #5b6170; }
.breadcrumb .here { color: var(--text); }

.showcase-hero { position: relative; padding: 60px 0 76px; overflow: hidden; border-bottom: 1px solid var(--line); }
.showcase-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(680px 440px at 72% 8%, rgba(0,255,255,.10), transparent 60%),
    radial-gradient(560px 360px at 12% 96%, rgba(249,188,47,.06), transparent 60%);
}
.showcase-hero .wrap { position: relative; }
.showcase-title { font-size: clamp(52px, 11vw, 128px); font-weight: 800; letter-spacing: -.03em; line-height: .9; margin-top: .4em; }
.showcase-lead { margin-top: 26px; max-width: 60ch; color: var(--muted); font-size: clamp(17px, 2.3vw, 22px); }
.showcase-lead strong { color: var(--text); font-weight: 600; }
.showcase-cta { margin-top: 36px; display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.attrib { margin-top: 34px; font-size: 13px; color: var(--muted); letter-spacing: .01em; }

/* ---- Brand page: download rows and swatches ---- */
.dl-head { font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 34px 0 14px; }
.dl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.dl {
  display: flex; align-items: center; gap: 18px; text-decoration: none;
  border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; background: var(--surface);
  transition: border-color .18s, transform .18s;
}
.dl:hover { border-color: var(--cyan); transform: translateY(-2px); }
.dl:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.dl-fmt {
  flex: none; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; font-weight: 700;
  letter-spacing: .06em; color: var(--cyan); border: 1px solid var(--line); border-radius: 7px; padding: 7px 9px;
}
.dl-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.dl-name { font-size: 15px; font-weight: 600; color: var(--text); }
.dl-meta { font-size: 13px; color: var(--muted); }
.dl-go { margin-left: auto; flex: none; font-size: 13px; font-weight: 600; color: var(--cyan); }
.dl-links { margin-left: auto; flex: none; display: flex; gap: 8px; }
.dl-links a {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; font-weight: 700;
  color: var(--cyan); border: 1px solid var(--line); border-radius: 7px; padding: 6px 10px;
  transition: border-color .16s, background .16s;
}
.dl-links a:hover { border-color: var(--cyan); background: rgba(0,255,255,.08); }
.dl-links a:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.dl-multi:hover { transform: none; border-color: var(--line); }
/* Download previews. Each thumbnail is the exported file itself, not a redrawn copy,
   so a broken or stale export shows up here instead of after the download. */
.dl-pv {
  flex: none; width: 44px; height: 44px; border-radius: 9px; border: 1px solid var(--line);
  display: grid; place-items: center; padding: 6px; overflow: hidden;
}
.dl-pv.wide { width: 124px; height: 48px; }
.dl-pv.on-light { background: #FFFFFF; }
.dl-pv.on-dark { background: #0D0F15; }
.dl-pv img { max-width: 100%; max-height: 100%; display: block; }
.dl-all { background: var(--bg-soft); border-color: rgba(0,255,255,.35); }
.dl-all .dl-fmt { color: var(--amber); }
.dl-all .dl-go { color: var(--amber); }

.sw-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.sw { display: flex; flex-direction: column; gap: 8px; border: 1px solid var(--line); border-radius: 12px; padding: 16px; background: var(--surface); }
.sw-chip { display: block; height: 46px; border-radius: 8px; border: 1px solid transparent; }
.sw-name { font-size: 13px; color: var(--text); }
.sw-hex { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; color: var(--muted); text-transform: uppercase; }

.dl-note { margin-top: 16px; font-size: 13px; color: var(--muted); max-width: 70ch; }


/* ---- Brand page: powered-by badge demo and code block ---- */
/* Mirrors the shipped snippets so the demos are honest. Subtlety comes from the
   colours, not from opacity, which would fade the label along with the pill. */
.cht-poweredby {
  display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px; border-radius: 999px;
  white-space: nowrap; text-decoration: none;
  font: 500 11.5px/1 ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  letter-spacing: .02em;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: color .18s ease, background .18s ease, border-color .18s ease, transform .18s ease;
}
.cht-poweredby:hover { transform: translateY(-1px); }
.cht-poweredby:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }

/* One sweep of the sheen around the blades on hover. The blades are the ramp laid
   around a circle, so one cycling keyframe plus a negative delay per blade returns
   every blade to its own colour: no jump in or out. */
@keyframes cht-sheen {
  0%    { fill: #F9BC2F; }
  16.7% { fill: #FFD86B; }
  33.3% { fill: #7DF9E8; }
  50%   { fill: #00FFFF; }
  66.7% { fill: #7DF9E8; }
  83.3% { fill: #FFD86B; }
  100%  { fill: #F9BC2F; }
}
/* Resting glint: a white spark runs round the blades every 5s. This was SMIL inside
   logo.svg until the mark went inline; it has to be CSS now, because SMIL holds the
   fill for its entire cycle and would override the hover sweep below. Four keyframes,
   not six: blades 3 and 5 share a colour, as do 2 and 6. */
@keyframes cht-glint-a { 0% { fill: #F9BC2F; } 5% { fill: #FFFFFF; } 15%, 100% { fill: #F9BC2F; } }
@keyframes cht-glint-b { 0% { fill: #FFD86B; } 5% { fill: #FFFFFF; } 15%, 100% { fill: #FFD86B; } }
@keyframes cht-glint-c { 0% { fill: #7DF9E8; } 5% { fill: #FFFFFF; } 15%, 100% { fill: #7DF9E8; } }
@keyframes cht-glint-d { 0% { fill: #00FFFF; } 5% { fill: #FFFFFF; } 15%, 100% { fill: #00FFFF; } }

@media (prefers-reduced-motion: no-preference) {
  .logo-mark path:nth-child(1) { animation: cht-glint-a 5s linear infinite 0s; }
  .logo-mark path:nth-child(2) { animation: cht-glint-b 5s linear infinite .1s; }
  .logo-mark path:nth-child(3) { animation: cht-glint-c 5s linear infinite .2s; }
  .logo-mark path:nth-child(4) { animation: cht-glint-d 5s linear infinite .3s; }
  .logo-mark path:nth-child(5) { animation: cht-glint-c 5s linear infinite .4s; }
  .logo-mark path:nth-child(6) { animation: cht-glint-b 5s linear infinite .5s; }
}

@media (prefers-reduced-motion: no-preference) {
  .cht-poweredby:hover svg path,
  .brand .mark:hover .logo-mark path,
  .foot .mark:hover .logo-mark path { animation: cht-sheen .9s linear; }
  .cht-poweredby:hover svg path:nth-child(2),
  .brand .mark:hover .logo-mark path:nth-child(2),
  .foot .mark:hover .logo-mark path:nth-child(2) { animation-delay: -.15s; }
  .cht-poweredby:hover svg path:nth-child(3),
  .brand .mark:hover .logo-mark path:nth-child(3),
  .foot .mark:hover .logo-mark path:nth-child(3) { animation-delay: -.3s; }
  .cht-poweredby:hover svg path:nth-child(4),
  .brand .mark:hover .logo-mark path:nth-child(4),
  .foot .mark:hover .logo-mark path:nth-child(4) { animation-delay: -.45s; }
  .cht-poweredby:hover svg path:nth-child(5),
  .brand .mark:hover .logo-mark path:nth-child(5),
  .foot .mark:hover .logo-mark path:nth-child(5) { animation-delay: -.6s; }
  .cht-poweredby:hover svg path:nth-child(6),
  .brand .mark:hover .logo-mark path:nth-child(6),
  .foot .mark:hover .logo-mark path:nth-child(6) { animation-delay: -.75s; }
}

.pb-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pb-demo { position: relative; height: 190px; border-radius: 14px; border: 1px solid var(--line); overflow: hidden; }
.pb-demo .cht-poweredby { position: absolute; right: 14px; bottom: 14px; }
.pb-demo-label {
  position: absolute; top: 14px; left: 16px; font-size: 11px; letter-spacing: .16em;
  text-transform: uppercase;
}

/* white page demo */
.pb-demo.pb-white { background: #FFFFFF; }
.pb-demo.pb-white .pb-demo-label { color: #8A90A0; }
.pb-demo.pb-white .cht-poweredby {
  background: rgba(11,13,18,.05); border: 1px solid rgba(11,13,18,.10); color: #565D6B;
}
.pb-demo.pb-white .cht-poweredby:hover {
  background: rgba(11,13,18,.08); border-color: rgba(11,13,18,.16); color: #0B0D12;
}

/* dark page demo */
.pb-demo.pb-dark { background: #101218; }
.pb-demo.pb-dark .pb-demo-label { color: var(--muted); }
.pb-demo.pb-dark .cht-poweredby {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); color: #A6ADBB;
}
.pb-demo.pb-dark .cht-poweredby:hover {
  background: rgba(255,255,255,.11); border-color: rgba(255,255,255,.22); color: #FAFAFA;
}

/* Live version lockup. Mirrors the shipped snippet: colour is inherited, and the
   version sits at reduced opacity of that colour so its contrast scales with the
   page's own text rather than being pinned to one ground. */
.cht-lockup {
  display: inline-flex; align-items: center; gap: 9px; color: inherit;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}
.cht-lockup-text { display: flex; flex-direction: column; line-height: 1.15; }
.cht-lockup-name { font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.cht-lockup-version {
  font-size: 12px; font-weight: 600; letter-spacing: .02em; opacity: .62;
  font-variant-numeric: tabular-nums;
}
.pb-demo.pb-white .cht-lockup { color: #0B0D12; }
.pb-demo.pb-dark .cht-lockup { color: #FAFAFA; }

.pb-code { position: relative; margin-top: 18px; }
.pb-code pre {
  overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-soft);
  padding: 18px 20px; margin: 0;
}
.pb-code code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12.5px; line-height: 1.65;
  color: #cfd4de; white-space: pre;
}
.pb-copy {
  position: absolute; top: 10px; right: 10px; z-index: 1; cursor: pointer;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; font-weight: 700;
  color: var(--cyan); background: var(--surface); border: 1px solid var(--line);
  border-radius: 7px; padding: 6px 11px; transition: border-color .16s, background .16s;
}
.pb-copy:hover { border-color: var(--cyan); background: rgba(0,255,255,.08); }
.pb-copy:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }

/* ---- 404 ---- */
.page-hero h1.err-code {
  font-size: clamp(88px, 17vw, 200px); font-weight: 800; letter-spacing: -.035em;
  line-height: .9; margin-top: 20px; max-width: none;
}
.err-head {
  font-size: clamp(28px, 4.6vw, 52px); font-weight: 700; letter-spacing: -.02em;
  line-height: 1.05; margin-top: 22px; max-width: 20ch; text-wrap: balance;
}
.err-head .accent { color: var(--cyan); }
.err-path {
  display: inline-block; font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 15px; color: var(--cyan); background: var(--bg-soft);
  border: 1px solid var(--line); border-radius: 10px; padding: 11px 16px;
  max-width: 100%; overflow-wrap: anywhere;
}
.err-note { margin-top: 20px; max-width: 58ch; color: var(--muted); font-size: 16px; }
.err-status { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.err-status div {
  display: flex; align-items: baseline; gap: 9px;
  border: 1px solid var(--line); border-radius: 10px; padding: 10px 15px; background: var(--bg-soft);
}
.err-status .k {
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600;
}
.err-status .v {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 14px; color: var(--cyan);
}

.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 52px; }
.stat { border: 1px solid var(--line); border-radius: 14px; padding: 26px 28px; background: var(--surface); }
.stat .n {
  font-size: clamp(36px, 5.4vw, 56px); font-weight: 800; letter-spacing: -.01em; line-height: 1;
  background: var(--sheen); background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}
.stat .l { margin-top: 10px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

.acts { display: flex; flex-direction: column; gap: 20px; }
.act { border: 1px solid var(--line); border-radius: 16px; padding: 36px 38px; background: var(--surface); }
.act .tag { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--cyan); font-weight: 700; }
.act h3 { font-size: clamp(23px, 3.4vw, 34px); font-weight: 700; letter-spacing: -.01em; margin: 12px 0 16px; }
.act p { color: var(--muted); font-size: 16px; max-width: 66ch; }
.act p + p { margin-top: 12px; }
.act .kicker { color: var(--text); font-weight: 600; }

.transmission { text-align: center; }
.transmission h2 { font-size: clamp(30px, 5vw, 52px); font-weight: 800; letter-spacing: -.01em; }
.transmission p { color: var(--muted); margin: 16px auto 30px; max-width: 54ch; font-size: 17px; }

/* FAQ — native details, no JS */
.faq { display: flex; flex-direction: column; gap: 12px; max-width: 820px; }
.faq details { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 22px; display: flex; gap: 16px; align-items: center; font-weight: 600; font-size: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .qn { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; color: var(--cyan); flex: none; }
.faq summary::after { content: "+"; margin-left: auto; color: var(--muted); font-size: 22px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); color: var(--cyan); }
.faq summary:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; border-radius: 12px; }
.faq .answer { padding: 0 22px 20px 60px; color: var(--muted); font-size: 15px; line-height: 1.65; }
.faq .answer strong { color: var(--text); font-weight: 600; }
.faq .answer a { color: var(--cyan); }

/* Legal / privacy */
.legal { max-width: 820px; }
.legal .updated { color: var(--muted); font-size: 14px; }
.legal .clause { padding: 30px 0; border-top: 1px solid var(--line); }
.legal .clause:first-of-type { border-top: none; }
.legal .cnum { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; color: var(--cyan); }
.legal h2 { font-size: 22px; font-weight: 700; margin: 6px 0 14px; letter-spacing: -.005em; }
.legal p, .legal li { color: var(--muted); font-size: 15px; line-height: 1.65; }
.legal p + p { margin-top: 10px; }
.legal ul { margin: 12px 0 0; padding-left: 20px; display: flex; flex-direction: column; gap: 7px; }
.legal a { color: var(--cyan); }
.legal .addr { color: var(--text); }
.legal .tbl { overflow-x: auto; margin-top: 14px; border: 1px solid var(--line); border-radius: 12px; }
.legal table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 560px; }
.legal th, .legal td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); color: var(--muted); vertical-align: top; }
.legal th { color: var(--text); font-weight: 600; background: var(--bg-soft); }
.legal tr:last-child td { border-bottom: none; }
.legal code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; color: var(--text); background: var(--bg-soft); padding: 2px 6px; border-radius: 6px; overflow-wrap: anywhere; }

@media (max-width: 820px) {
  .menu { display: none; }
  .steps, .themes { grid-template-columns: 1fr; }
  .flagship { grid-template-columns: 1fr; padding: 28px; }
  .hero { padding: 84px 0 64px; }
  /* rail hides when cards stack; the sequential number glow still carries the flow */
  .steps.flow::before, .steps.flow::after { display: none; }
  .brief { padding-left: 20px; }
  .dl-grid, .sw-grid, .pb-grid { grid-template-columns: 1fr; }
  .dl { flex-wrap: wrap; }
  .stat-row { grid-template-columns: 1fr; }
  .act { padding: 26px 24px; }
  .faq .answer { padding-left: 22px; }
}
