/* ==========================================================================
   Techlution — core stylesheet
   Dark, technical, animated. Bilingual (EN / zh-Hant).
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

:root {
  --bg: #04060c;
  --bg-soft: #070c17;
  --surface: rgba(255, 255, 255, .035);
  --surface-2: rgba(255, 255, 255, .062);
  --line: rgba(255, 255, 255, .09);
  --line-strong: rgba(255, 255, 255, .18);
  --ink: #e9eefb;
  --ink-soft: #a7b4d1;
  --ink-dim: #6d7b9a;
  --blue: #4d7cff;
  --cyan: #22e0d0;
  --violet: #a06bff;
  --grad: linear-gradient(115deg, #4d7cff, #22e0d0);
  --grad-soft: linear-gradient(115deg, rgba(77, 124, 255, .18), rgba(34, 224, 208, .14));
  --radius: 16px;
  --radius-lg: 26px;
  --container: 1180px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --shadow: 0 40px 90px -40px rgba(0, 0, 0, .9);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --font-zh: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", "Heiti TC", sans-serif;
  --header-h: 74px;
}

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.lang-zh { font-family: var(--font-zh); line-height: 1.8; }
body.lang-zh h1, body.lang-zh h2, body.lang-zh h3, body.lang-zh .nav-link, body.lang-zh .btn { letter-spacing: .01em; }

img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.14; letter-spacing: -.022em; }
body.lang-zh h1, body.lang-zh h2, body.lang-zh h3 { letter-spacing: 0; }
p { margin: 0; }

::selection { background: rgba(77, 124, 255, .35); color: #fff; }

/* ---------- language helpers ---------- */
.en-only, .zh-only { display: none; }
body.lang-en .en-only { display: revert; }
body.lang-zh .zh-only { display: revert; }

/* ---------- layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.section { position: relative; padding: 120px 0; }
.section--tight { padding: 84px 0; }
.section--line { border-top: 1px solid var(--line); }

.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---------- background atmosphere ---------- */
.bg-fx {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(720px 480px at 12% -6%, rgba(77, 124, 255, .16), transparent 60%),
    radial-gradient(620px 420px at 88% 4%, rgba(160, 107, 255, .12), transparent 62%),
    radial-gradient(700px 520px at 60% 100%, rgba(34, 224, 208, .08), transparent 65%);
}
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .35;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 20%, transparent 78%);
}
.page { position: relative; z-index: 1; }

/* ---------- type ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: 7px 14px 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .03);
  backdrop-filter: blur(6px);
}
.eyebrow::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 0 rgba(34, 224, 208, .6);
  animation: pulseDot 2.4s var(--ease) infinite;
}
body.lang-zh .eyebrow { letter-spacing: .12em; }

.h1 { font-size: clamp(2.5rem, 5.4vw, 4.35rem); font-weight: 650; }
.h2 { font-size: clamp(1.95rem, 3.4vw, 2.85rem); font-weight: 620; }
.h3 { font-size: clamp(1.2rem, 1.7vw, 1.42rem); }
.lede { font-size: clamp(1.03rem, 1.35vw, 1.18rem); color: var(--ink-soft); max-width: 62ch; }
.muted { color: var(--ink-soft); }
.dim { color: var(--ink-dim); }
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.nowrap { white-space: nowrap; }
body.lang-zh h1 .grad-text { white-space: nowrap; }
.section-head { max-width: 760px; margin-bottom: 54px; }
.section-head .h2 { margin: 18px 0 16px; }

/* ---------- buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 560;
  letter-spacing: .01em;
  border: 1px solid transparent;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s var(--ease), border-color .35s var(--ease), color .35s var(--ease);
  will-change: transform;
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.btn--primary {
  color: #04121c;
  background: var(--grad);
  box-shadow: 0 16px 40px -18px rgba(77, 124, 255, .9);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 22px 50px -18px rgba(34, 224, 208, .75); }
.btn--ghost { color: var(--ink); border-color: var(--line-strong); background: rgba(255, 255, 255, .02); }
.btn--ghost:hover { transform: translateY(-2px); border-color: rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .06); }
.btn--sm { padding: 10px 18px; font-size: 14px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 560;
  font-size: 15px;
  color: var(--cyan);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background .4s var(--ease), border-color .4s var(--ease), backdrop-filter .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-stuck {
  background: rgba(4, 6, 12, .78);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%; }

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-logo { height: 30px; width: auto; flex: none; display: block; }
.site-footer .brand-logo { height: 34px; }
.brand-name { font-size: 17px; font-weight: 640; letter-spacing: .04em; }
.brand-name span { color: var(--cyan); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav-link {
  position: relative;
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 14.5px;
  color: var(--ink-soft);
  transition: color .3s var(--ease), background .3s var(--ease);
}
.nav-link:hover { color: var(--ink); background: rgba(255, 255, 255, .05); }
.nav-link.is-active { color: var(--ink); }
.nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 2px;
  width: 16px; height: 2px;
  transform: translateX(-50%);
  border-radius: 2px;
  background: var(--grad);
}

.header-actions { display: flex; align-items: center; gap: 12px; }

.lang-toggle {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .03);
  position: relative;
}
.lang-toggle button {
  position: relative;
  z-index: 2;
  width: 46px;
  padding: 6px 0;
  text-align: center;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .06em;
  border-radius: 999px;
  color: var(--ink-dim);
  transition: color .3s var(--ease);
}
.lang-toggle button.is-active { color: #04121c; }
.lang-pill {
  position: absolute;
  top: 3px; left: 3px;
  height: calc(100% - 6px);
  width: 46px;
  border-radius: 999px;
  background: var(--grad);
  transition: transform .45s var(--ease-out);
  z-index: 1;
}
body.lang-zh .lang-pill { transform: translateX(46px); }

.burger { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 12px; align-items: center; justify-content: center; }
.burger span { display: block; width: 17px; height: 1.6px; background: var(--ink); border-radius: 2px; transition: transform .4s var(--ease), opacity .3s var(--ease); }
.burger span + span { margin-top: 4.4px; }
.is-menu-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.is-menu-open .burger span:nth-child(2) { opacity: 0; }
.is-menu-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: var(--header-h) 0 auto 0;
  z-index: 99;
  padding: 22px 24px 34px;
  background: rgba(4, 6, 12, .96);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
  transform: translateY(-14px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
}
.is-menu-open .mobile-menu { opacity: 1; visibility: visible; transform: none; }
.mobile-menu a { display: block; padding: 14px 4px; font-size: 18px; border-bottom: 1px solid var(--line); }

/* ---------- hero ---------- */
.hero { position: relative; padding: calc(var(--header-h) + 92px) 0 96px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 60px; align-items: center; }
.hero h1 { margin: 22px 0 22px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line); }
.hero-meta div { min-width: 120px; }
.hero-meta dt { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-dim); }
.hero-meta dd { margin: 4px 0 0; font-size: 15px; color: var(--ink-soft); }

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: .55;
  mask-image: radial-gradient(ellipse 70% 70% at 70% 40%, #000 10%, transparent 76%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 70% 40%, #000 10%, transparent 76%);
}

/* animated core visual */
.core { position: relative; width: 100%; aspect-ratio: 1 / 1; max-width: 460px; margin-inline: auto; display: grid; place-items: center; }
.core-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
}
.core-ring.r1 { inset: 4%; border-color: rgba(77, 124, 255, .34); border-style: dashed; animation: spin 40s linear infinite; }
.core-ring.r2 { inset: 16%; border-color: rgba(34, 224, 208, .3); animation: spin 28s linear infinite reverse; }
.core-ring.r3 { inset: 28%; border-color: rgba(160, 107, 255, .28); border-style: dashed; animation: spin 20s linear infinite; }
.core-ring::after {
  content: "";
  position: absolute;
  top: -4px; left: 50%;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 18px 4px rgba(34, 224, 208, .5);
}
.core-ring.r3::after { background: var(--violet); box-shadow: 0 0 18px 4px rgba(160, 107, 255, .55); }
.core-glow {
  position: absolute;
  inset: 22%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(77, 124, 255, .5), rgba(34, 224, 208, .12) 55%, transparent 72%);
  filter: blur(24px);
  animation: breathe 6s var(--ease) infinite;
}
.core-nucleus {
  position: relative;
  width: 30%;
  aspect-ratio: 1;
  border-radius: 34%;
  background: linear-gradient(150deg, rgba(77, 124, 255, .95), rgba(34, 224, 208, .85));
  box-shadow: 0 0 60px -8px rgba(77, 124, 255, .85), inset 0 0 30px rgba(255, 255, 255, .35);
  animation: morph 9s var(--ease) infinite;
}
.core-nucleus::after {
  content: "";
  position: absolute;
  inset: 18%;
  border-radius: 30%;
  background: rgba(4, 6, 12, .82);
  animation: morph 9s var(--ease) infinite reverse;
}
.chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  font-size: 12.5px;
  letter-spacing: .05em;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(8, 12, 24, .72);
  backdrop-filter: blur(10px);
  color: var(--ink-soft);
  animation: float 7s var(--ease) infinite;
}
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px rgba(34, 224, 208, .9); }
.chip-1 { top: 10%; left: 2%; animation-delay: -1s; }
.chip-2 { top: 30%; right: -4%; animation-delay: -3.2s; }
.chip-3 { bottom: 16%; right: 6%; animation-delay: -5s; }
.chip-4 { bottom: 4%; left: 12%; animation-delay: -2s; }
body.lang-zh .chip { letter-spacing: .04em; }

/* ---------- marquee ---------- */
.marquee {
  position: relative;
  padding: 22px 0;
  border-block: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(77, 124, 255, .06), rgba(34, 224, 208, .05));
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track { display: flex; gap: 54px; width: max-content; animation: marquee 34s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
body.lang-en .marquee--zh { display: none; }
body.lang-zh .marquee--en { display: none; }
.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--ink-soft);
  white-space: nowrap;
}
.marquee-track span::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--blue); opacity: .7; }
body.lang-zh .marquee-track span { text-transform: none; letter-spacing: .1em; }

/* ---------- cards ---------- */
.card {
  position: relative;
  padding: 30px 28px 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .012));
  overflow: hidden;
  transition: transform .5s var(--ease), border-color .5s var(--ease), box-shadow .5s var(--ease);
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .5s var(--ease);
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(77, 124, 255, .16), transparent 65%);
  pointer-events: none;
}
.card:hover { transform: translateY(-6px); border-color: var(--line-strong); box-shadow: var(--shadow); }
.card:hover::before { opacity: 1; }
.card-icon {
  width: 50px; height: 50px;
  border-radius: 14px;
  display: grid; place-items: center;
  border: 1px solid var(--line-strong);
  background: var(--grad-soft);
  color: var(--cyan);
  margin-bottom: 20px;
}
.card-icon svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--ink-soft); font-size: 15.5px; }
.card-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.tag {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--ink-dim);
  background: rgba(255, 255, 255, .03);
}

/* ---------- process / timeline ---------- */
.timeline { position: relative; padding-left: 44px; }
.timeline-line {
  position: absolute;
  left: 15px; top: 6px; bottom: 6px;
  width: 2px;
  background: var(--line);
  border-radius: 2px;
  overflow: hidden;
}
.timeline-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--grad);
  transform-origin: top;
  transform: scaleY(var(--progress, 0));
  transition: transform .25s linear;
}
.step { position: relative; padding-bottom: 44px; }
.step:last-child { padding-bottom: 0; }
.step::before {
  content: "";
  position: absolute;
  left: -44px; top: 6px;
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: rgba(6, 10, 20, .9);
  transition: border-color .5s var(--ease), box-shadow .5s var(--ease);
}
.step.is-in::before { border-color: rgba(34, 224, 208, .8); box-shadow: 0 0 0 6px rgba(34, 224, 208, .08); }
.step-num {
  position: absolute;
  left: -44px; top: 6px;
  width: 32px; height: 32px;
  display: grid; place-items: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
}
.step.is-in .step-num { color: var(--cyan); }
.step h3 { margin-bottom: 8px; }
.step p { color: var(--ink-soft); font-size: 15.5px; max-width: 60ch; }

/* ---------- split features ---------- */
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; align-items: center; }
.split + .split { margin-top: 110px; }
.split.reverse .split-media { order: -1; }
.feature-list { display: grid; gap: 16px; margin-top: 26px; }
.feature-list li { display: flex; gap: 13px; color: var(--ink-soft); font-size: 15.5px; }
.feature-list svg { width: 20px; height: 20px; flex: none; color: var(--cyan); margin-top: 3px; }

.visual-panel {
  position: relative;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .012));
  overflow: hidden;
  display: grid;
  place-items: center;
}
.visual-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(500px circle at 70% 20%, rgba(77, 124, 255, .18), transparent 62%);
}
.visual-panel canvas, .visual-panel svg { position: relative; z-index: 1; }
.v-scan {
  position: absolute;
  inset: auto 0 0 0;
  height: 34%;
  background: linear-gradient(180deg, transparent, rgba(34, 224, 208, .12));
  animation: scan 5s var(--ease) infinite;
  z-index: 2;
}
.bar-stack { display: flex; align-items: flex-end; gap: 12px; height: 58%; }
.bar-stack i {
  display: block;
  width: 22px;
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, rgba(34, 224, 208, .9), rgba(77, 124, 255, .35));
  transform-origin: bottom;
  animation: barPulse 3.4s var(--ease) infinite;
}

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.stat { padding: 30px 26px; background: rgba(6, 10, 20, .72); }
.stat b { display: block; font-size: clamp(1.7rem, 2.6vw, 2.2rem); font-weight: 620; }
.stat span { font-size: 14px; color: var(--ink-dim); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  padding: 66px 54px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: linear-gradient(140deg, rgba(77, 124, 255, .16), rgba(34, 224, 208, .1) 55%, rgba(160, 107, 255, .12));
  overflow: hidden;
  text-align: center;
}
.cta-band::before {
  content: "";
  position: absolute;
  width: 520px; height: 520px;
  top: -60%; left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(255, 255, 255, .16), transparent 62%);
  animation: breathe 8s var(--ease) infinite;
}
.cta-band > * { position: relative; }
.cta-band .h2 { margin: 0 auto 18px; max-width: 22ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 30px; }

/* ---------- page hero (sub pages) ---------- */
.page-hero { padding: calc(var(--header-h) + 76px) 0 56px; }
.page-hero .h1 { margin: 20px 0 18px; font-size: clamp(2.1rem, 4.2vw, 3.3rem); }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 13.5px; color: var(--ink-dim); }
.breadcrumb a:hover { color: var(--ink-soft); }

/* ---------- legal / prose ---------- */
.prose { max-width: 820px; margin-inline: 0 auto; }
.prose h2 { margin: 46px 0 14px; font-size: 1.5rem; }
.prose h3 { margin: 30px 0 10px; font-size: 1.13rem; }
.prose p, .prose li { color: var(--ink-soft); font-size: 16px; }
.prose p + p { margin-top: 14px; }
.prose ul { display: grid; gap: 10px; margin: 16px 0; padding-left: 4px; }
.prose ul li { display: flex; gap: 12px; }
.prose ul li::before { content: ""; width: 6px; height: 6px; margin-top: 11px; flex: none; border-radius: 50%; background: var(--cyan); }
.prose a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
.legal-meta {
  display: flex; flex-wrap: wrap; gap: 10px 26px;
  padding: 18px 22px;
  margin-bottom: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .025);
  font-size: 14px;
  color: var(--ink-dim);
}
.notice {
  display: flex; gap: 14px;
  padding: 18px 22px;
  border: 1px solid rgba(255, 193, 94, .32);
  border-radius: var(--radius);
  background: rgba(255, 193, 94, .07);
  color: #f0d59c;
  font-size: 14.5px;
  margin: 22px 0 8px;
}
.notice svg { width: 20px; height: 20px; flex: none; margin-top: 2px; }
.toc { display: grid; gap: 2px; padding: 22px 26px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255, 255, 255, .025); margin-bottom: 34px; max-width: 820px; }
.toc a { display: flex; gap: 12px; padding: 8px 0; font-size: 15px; color: var(--ink-soft); text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .05); }
.toc a:last-child { border-bottom: 0; }
.toc a:hover { color: var(--cyan); }
.toc a span { color: var(--ink-dim); font-variant-numeric: tabular-nums; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 46px; }
.field { display: grid; gap: 8px; margin-bottom: 18px; }
.field label { font-size: 13.5px; color: var(--ink-dim); letter-spacing: .04em; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 15px;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: rgba(255, 255, 255, .035);
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: border-color .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease);
}
.field textarea { min-height: 148px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: rgba(34, 224, 208, .6);
  background: rgba(255, 255, 255, .06);
  box-shadow: 0 0 0 4px rgba(34, 224, 208, .1);
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink-dim) 50%), linear-gradient(135deg, var(--ink-dim) 50%, transparent 50%); background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }
.form-note { font-size: 13px; color: var(--ink-dim); margin-top: 14px; }
.form-status { margin-top: 16px; font-size: 14.5px; color: var(--cyan); min-height: 22px; }
.info-card { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: rgba(255, 255, 255, .03); }
.info-card + .info-card { margin-top: 18px; }
.info-card h3 { font-size: 15px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-dim); margin-bottom: 12px; }
.info-card p { color: var(--ink-soft); font-size: 15.5px; }
.info-row { display: flex; gap: 12px; align-items: center; padding: 9px 0; font-size: 15.5px; color: var(--ink-soft); }
.info-row svg { width: 18px; height: 18px; color: var(--cyan); flex: none; }
.info-row a:hover { color: var(--cyan); }
.pulse-live { display: inline-flex; align-items: center; gap: 9px; font-size: 13.5px; color: var(--cyan); }
.pulse-live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); animation: pulseDot 2s var(--ease) infinite; }

/* ---------- footer ---------- */
.faq { display: grid; gap: 12px; max-width: 820px; }
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .03);
  padding: 2px 22px;
  transition: border-color .4s var(--ease), background .4s var(--ease);
}
.faq details[open] { border-color: var(--line-strong); background: rgba(255, 255, 255, .05); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0;
  font-weight: 560;
  font-size: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 20px;
  line-height: 1;
  color: var(--cyan);
  transition: transform .4s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq-body { padding: 0 0 20px; color: var(--ink-soft); font-size: 15.5px; max-width: 64ch; }

.field--check { display: flex; align-items: flex-start; gap: 12px; margin: 6px 0 4px; }
.field--check input { width: 18px; height: 18px; margin-top: 3px; flex: none; accent-color: #22e0d0; }
.field--check label { font-size: 14px; color: var(--ink-soft); line-height: 1.55; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }

.site-footer { position: relative; border-top: 1px solid var(--line); background: rgba(3, 5, 10, .7); padding: 68px 0 34px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand p { color: var(--ink-soft); font-size: 15px; margin-top: 16px; max-width: 34ch; }
.footer-col h4 { font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-dim); margin-bottom: 16px; font-weight: 600; }
.footer-col a { display: block; padding: 6px 0; font-size: 15px; color: var(--ink-soft); transition: color .3s var(--ease), transform .3s var(--ease); }
.footer-col a:hover { color: var(--cyan); transform: translateX(3px); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; margin-top: 54px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--ink-dim); }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-bottom a:hover { color: var(--cyan); }

/* ---------- reveal animations ---------- */
.reveal { opacity: 0; transform: translate3d(0, 26px, 0); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: var(--d, 0s); }
.reveal[data-anim="left"] { transform: translate3d(-30px, 0, 0); }
.reveal[data-anim="right"] { transform: translate3d(30px, 0, 0); }
.reveal[data-anim="zoom"] { transform: scale(.94); }
.reveal[data-anim="blur"] { filter: blur(12px); }
.reveal.is-visible { opacity: 1; transform: none; filter: none; }

/* ---------- keyframes ---------- */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes breathe { 0%, 100% { opacity: .55; transform: scale(1); } 50% { opacity: .95; transform: scale(1.06); } }
@keyframes pulseDot { 0% { box-shadow: 0 0 0 0 rgba(34, 224, 208, .55); } 70% { box-shadow: 0 0 0 10px rgba(34, 224, 208, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 224, 208, 0); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-11px); } }
@keyframes morph {
  0%, 100% { border-radius: 34% 66% 62% 38% / 42% 38% 62% 58%; }
  50% { border-radius: 60% 40% 34% 66% / 56% 62% 38% 44%; }
}
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes scan { 0% { transform: translateY(60%); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(-160%); opacity: 0; } }
@keyframes barPulse { 0%, 100% { transform: scaleY(.42); } 50% { transform: scaleY(1); } }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 46px; }
  .core { max-width: 380px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .nav { display: none; }
  .burger { display: inline-flex; flex-direction: column; }
  .header-cta { display: none; }
  .section { padding: 88px 0; }
  .split { grid-template-columns: 1fr; gap: 34px; }
  .split.reverse .split-media { order: 0; }
  .split + .split { margin-top: 76px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .cta-band { padding: 48px 26px; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .brand-logo { height: 26px; }
  .site-footer .brand-logo { height: 30px; }
  .grid-4, .stats { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .chip-2, .chip-4 { display: none; }
  .timeline { padding-left: 34px; }
  .step::before, .step-num { left: -34px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; filter: none; }
}
