/* GZX AI · ai.gzx.hk — single-page capability site
   Dark editorial system: ink base, cyan→violet energy, warm gold accent.
   No external assets: everything is CSS, inline SVG or canvas. */

:root {
  --ink: #04060c;
  --ink-2: #070b14;
  --ink-3: #0b1120;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #e9eef8;
  --muted: #93a3bb;
  --dim: #6b7a92;
  --cyan: #4fd1c5;
  --blue: #4c8dff;
  --violet: #8b5cf6;
  --gold: #d8b47a;
  --ok: #6ee7b7;
  --radius: 20px;
  --wrap: 1180px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --mono: "SF Mono", "JetBrains Mono", ui-monospace, "Cascadia Code", Consolas, monospace;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 60;
  opacity: 0.35;
  background-image: radial-gradient(rgba(255, 255, 255, 0.085) 0.5px, transparent 0.5px);
  background-size: 3px 3px;
  mix-blend-mode: soft-light;
}

::selection { background: rgba(79, 209, 197, 0.28); }

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

h1, h2, h3 { margin: 0; font-weight: 650; letter-spacing: -0.02em; }

p { margin: 0; }

em { font-style: normal; }

.wrap { width: min(var(--wrap), calc(100% - 48px)); margin-inline: auto; }

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: #fff;
  color: #000;
  padding: 8px 14px;
  z-index: 200;
}
.skip:focus { left: 12px; top: 12px; }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 13.5px;
  font-weight: 560;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.35s var(--ease), background 0.35s, border-color 0.35s, color 0.35s, box-shadow 0.35s;
  white-space: nowrap;
}
.btn:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.btn .arr { transition: transform 0.35s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }

.btn-primary {
  background: linear-gradient(100deg, #5ee0d2, #4c8dff 62%, #8b5cf6);
  color: #04121a;
  font-weight: 700;
  box-shadow: 0 12px 40px -14px rgba(79, 209, 197, 0.55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 48px -14px rgba(79, 209, 197, 0.65); }

.btn-solid { background: rgba(255, 255, 255, 0.94); color: #090d16; }
.btn-solid:hover { background: #fff; transform: translateY(-1px); }

.btn-ghost, .btn-line {
  border-color: var(--line-2);
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
}
.btn-ghost:hover, .btn-line:hover { border-color: rgba(255, 255, 255, 0.34); background: rgba(255, 255, 255, 0.055); }

.btn.wide { width: 100%; }

/* ------------------------------------------------------------------ nav */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background 0.4s, border-color 0.4s, backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(4, 6, 12, 0.72);
  border-bottom-color: var(--line);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}
.nav-inner {
  width: min(1320px, calc(100% - 48px));
  margin-inline: auto;
  height: 76px;
  display: flex;
  align-items: center;
  gap: 30px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-mark {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  color: var(--cyan);
  border: 1px solid rgba(79, 209, 197, 0.28);
  border-radius: 10px;
  background: radial-gradient(circle at 30% 20%, rgba(79, 209, 197, 0.16), transparent 70%);
}
.brand-mark svg { width: 24px; height: 24px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text b { font-size: 15px; letter-spacing: 0.22em; }
.brand-text i { font-style: normal; font-size: 8.5px; letter-spacing: 0.3em; color: var(--dim); }

.nav-links { display: flex; gap: 26px; margin-left: 18px; }
.nav-links a {
  font-size: 13px;
  color: var(--muted);
  position: relative;
  padding: 4px 0;
  transition: color 0.3s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-actions { margin-left: auto; display: flex; gap: 10px; }
.nav-actions .btn { height: 38px; padding: 0 16px; font-size: 12.5px; }

.nav-burger {
  display: none;
  margin-left: auto;
  width: 40px; height: 40px;
  border-radius: 10px;
  border: 1px solid var(--line-2);
  background: transparent;
  cursor: pointer;
  position: relative;
}
.nav-burger span {
  position: absolute; left: 11px; right: 11px; height: 1px;
  background: var(--text);
  transition: transform 0.3s, top 0.3s;
}
.nav-burger span:first-child { top: 16px; }
.nav-burger span:last-child { top: 23px; }
.nav-burger[aria-expanded="true"] span:first-child { top: 19px; transform: rotate(45deg); }
.nav-burger[aria-expanded="true"] span:last-child { top: 19px; transform: rotate(-45deg); }

.nav-mobile {
  display: none;
  gap: 2px;
  padding: 8px 24px 20px;
  background: rgba(4, 6, 12, 0.96);
  border-bottom: 1px solid var(--line);
}
.nav-mobile a { padding: 12px 0; font-size: 15px; border-bottom: 1px solid rgba(255,255,255,0.05); }
.nav-mobile a:last-child { border: 0; color: var(--cyan); }

/* ----------------------------------------------------------------- hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 132px 0 96px;
  overflow: hidden;
  isolation: isolate;
}
.hero-field { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: 0.85; }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; }
.g1 {
  width: 60vw; height: 60vw; max-width: 900px; max-height: 900px;
  left: -14vw; top: -18vw;
  background: radial-gradient(circle, rgba(79, 209, 197, 0.2), transparent 62%);
}
.g2 {
  width: 52vw; height: 52vw; max-width: 760px; max-height: 760px;
  right: -12vw; bottom: -24vw;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.2), transparent 64%);
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 78%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; width: min(1180px, calc(100% - 48px)); margin-inline: auto; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.26em;
  color: var(--muted);
  text-transform: uppercase;
}
.pulse {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 0 rgba(79, 209, 197, 0.6);
  animation: pulse 2.6s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(79, 209, 197, 0.5); }
  70% { box-shadow: 0 0 0 11px rgba(79, 209, 197, 0); }
  100% { box-shadow: 0 0 0 0 rgba(79, 209, 197, 0); }
}

.hero h1 {
  margin-top: 26px;
  font-size: clamp(44px, 7vw, 94px);
  line-height: 1.06;
  letter-spacing: -0.035em;
  font-weight: 680;
  max-width: 15em;
}
.hero h1 em {
  display: inline-block;
  background: linear-gradient(96deg, #d8fff9 0%, var(--cyan) 34%, var(--blue) 66%, var(--violet) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  margin-top: 30px;
  max-width: 35em;
  font-size: clamp(15px, 1.35vw, 17.5px);
  line-height: 1.95;
  color: var(--muted);
}
.hero-cta { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 12px; }

.hero-stats {
  margin: 72px 0 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  padding-top: 26px;
  gap: 18px;
}
.hero-stats div { display: flex; flex-direction: column-reverse; gap: 4px; }
.hero-stats dt { font-size: 11.5px; letter-spacing: 0.14em; color: var(--dim); }
.hero-stats dd {
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-family: var(--mono);
}
.hero-stats b { font-size: clamp(26px, 2.8vw, 38px); font-weight: 500; letter-spacing: -0.02em; }
.hero-stats span { font-size: 12px; color: var(--dim); }

.hero-panel {
  position: absolute;
  right: max(40px, calc((100vw - 1180px) / 2));
  top: 50%;
  transform: translateY(-50%);
  width: 292px;
  padding: 20px 22px 16px;
  border: 1px solid var(--line-2);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.012));
  backdrop-filter: blur(16px) saturate(130%);
  -webkit-backdrop-filter: blur(16px) saturate(130%);
  box-shadow: 0 30px 80px -50px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  z-index: 3;
}
.hp-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--dim);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.hp-live { display: inline-flex; align-items: center; gap: 6px; color: var(--cyan); }
.hp-live i {
  width: 4px; height: 4px; border-radius: 50%; background: var(--cyan);
  animation: pulse 2.6s infinite;
}
.hp-rows { list-style: none; margin: 6px 0 0; padding: 0; }
.hp-rows li {
  position: relative;
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: center;
  padding: 13px 0 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
}
.hp-rows li:last-child { border-bottom: 0; }
.hp-rows i { font-family: var(--mono); font-style: normal; font-size: 9.5px; color: var(--dim); letter-spacing: 0.1em; }
.hp-rows b { display: block; font-size: 13px; font-weight: 560; letter-spacing: 0.01em; }
.hp-rows span { display: block; font-family: var(--mono); font-size: 9px; letter-spacing: 0.08em; color: var(--dim); margin-top: 2px; }
.hp-rows u {
  position: absolute;
  left: 0; bottom: -1px;
  height: 1px;
  width: 0;
  background: linear-gradient(90deg, var(--cyan), transparent);
  text-decoration: none;
  animation: scan 6s var(--ease) infinite;
}
.hp-rows li:nth-child(2) u { animation-delay: 0.6s; }
.hp-rows li:nth-child(3) u { animation-delay: 1.2s; }
.hp-rows li:nth-child(4) u { animation-delay: 1.8s; }
@keyframes scan {
  0%, 55% { width: 0; opacity: 0; }
  62% { opacity: 1; }
  90%, 100% { width: 100%; opacity: 0; }
}
.hp-foot {
  display: flex;
  justify-content: space-between;
  padding-top: 14px;
  margin-top: 2px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.12em;
  color: var(--dim);
  text-transform: uppercase;
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.28em;
  color: var(--dim);
  z-index: 2;
}
.hero-scroll span {
  width: 1px; height: 34px;
  background: linear-gradient(var(--cyan), transparent);
  animation: drop 2.4s infinite;
}
@keyframes drop {
  0% { transform: scaleY(0.2); transform-origin: top; opacity: 0.2; }
  50% { transform: scaleY(1); transform-origin: top; opacity: 1; }
  100% { transform: scaleY(0.2); transform-origin: bottom; opacity: 0.2; }
}

/* -------------------------------------------------------------- marquee */
.marquee {
  border-block: 1px solid var(--line);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.012);
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 34px;
  padding: 18px 0;
  width: max-content;
  animation: slide 46s linear infinite;
}
.marquee-track span {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--dim);
  text-transform: uppercase;
  white-space: nowrap;
}
.marquee-track i { width: 3px; height: 3px; border-radius: 50%; background: rgba(216, 180, 122, 0.6); }
@keyframes slide { to { transform: translateX(-50%); } }

/* --------------------------------------------------------------- section */
.section { padding: clamp(92px, 11vw, 150px) 0; position: relative; }
.sec-head { max-width: 780px; margin-bottom: clamp(44px, 5vw, 70px); }
.kicker {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--gold);
  text-transform: uppercase;
}
.sec-head h2 {
  margin-top: 18px;
  font-size: clamp(31px, 4vw, 54px);
  line-height: 1.16;
  letter-spacing: -0.03em;
}
.sec-head h2 em {
  background: linear-gradient(100deg, var(--cyan), var(--blue) 55%, var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.sec-sub { margin-top: 18px; max-width: 44em; font-size: 15px; line-height: 1.9; color: var(--muted); }

/* ---------------------------------------------------------- capabilities */
.caps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.cap {
  position: relative;
  padding: 30px 30px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(79, 209, 197, 0.055), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.028), rgba(255, 255, 255, 0.006));
  overflow: hidden;
  transition: border-color 0.5s, transform 0.5s var(--ease), background 0.5s;
}
.cap::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(130deg, rgba(79, 209, 197, 0.5), transparent 38%, transparent 62%, rgba(139, 92, 246, 0.45));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}
.cap:hover { transform: translateY(-4px); border-color: transparent; }
.cap:hover::after, .cap.is-open::after { opacity: 1; }
.cap-top { display: flex; align-items: center; justify-content: space-between; }
.cap-no { font-family: var(--mono); font-size: 11px; color: var(--dim); letter-spacing: 0.16em; }
.cap-ico {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 11px;
  color: var(--cyan);
  border: 1px solid rgba(79, 209, 197, 0.22);
  background: rgba(79, 209, 197, 0.06);
}
.cap-ico svg { width: 21px; height: 21px; stroke-width: 1.3; }
.cap h3 { margin-top: 22px; font-size: 23px; letter-spacing: -0.02em; }
.cap-en { margin-top: 3px; font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.22em; color: var(--dim); }
.cap-desc { margin-top: 14px; font-size: 13.5px; line-height: 1.9; color: var(--muted); max-width: 34em; }
.cap-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 7px; padding: 0; margin: 20px 0 0; }
.cap-tags li {
  font-size: 11px;
  color: #b8c6da;
  padding: 5px 10px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}
.cap-more {
  margin-top: 20px;
  background: none;
  border: 0;
  padding: 8px 0 4px;
  color: var(--cyan);
  font-size: 12px;
  font-family: var(--sans);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.cap-more span { font-family: var(--mono); transition: transform 0.35s var(--ease); }
.cap-more[aria-expanded="true"] span { transform: rotate(45deg); }
.cap-list {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s var(--ease), opacity 0.4s, margin 0.4s;
  opacity: 0;
  margin-top: 0;
}
.cap-list > p {
  overflow: hidden;
  font-size: 12.5px;
  line-height: 1.85;
  color: var(--muted);
  border-top: 1px dashed rgba(255, 255, 255, 0.09);
  padding: 10px 0 0;
  margin-top: 8px;
}
.cap.is-open .cap-list { grid-template-rows: 1fr; opacity: 1; margin-top: 10px; }
.cap-list > p:first-child { border-top: 0; padding-top: 0; }

/* -------------------------------------------------------------- console */
.console-sec {
  background:
    radial-gradient(70% 60% at 90% 0%, rgba(139, 92, 246, 0.09), transparent 60%),
    radial-gradient(50% 50% at 0% 100%, rgba(79, 209, 197, 0.07), transparent 60%);
  border-block: 1px solid var(--line);
}
.console {
  border: 1px solid var(--line-2);
  border-radius: 26px;
  background: rgba(9, 14, 25, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  overflow: hidden;
  box-shadow: 0 40px 120px -60px rgba(0, 0, 0, 0.9);
}
.tabs {
  position: relative;
  display: flex;
  gap: 4px;
  padding: 14px 16px 0;
  border-bottom: 1px solid var(--line);
}
.tab {
  position: relative;
  z-index: 2;
  background: none;
  border: 0;
  color: var(--dim);
  font-family: var(--sans);
  font-size: 13.5px;
  padding: 12px 16px 16px;
  cursor: pointer;
  transition: color 0.3s;
}
.tab:hover { color: var(--muted); }
.tab.active { color: var(--text); }
.tab:focus-visible { outline: 2px solid var(--cyan); outline-offset: -6px; border-radius: 8px; }
.tab-ink {
  position: absolute;
  bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  transition: left 0.4s var(--ease), width 0.4s var(--ease);
  z-index: 1;
}

.panels { padding: clamp(22px, 3vw, 36px); }
.panel { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: clamp(24px, 4vw, 52px); }
.panel[hidden] { display: none; }
.panel-form fieldset { border: 0; padding: 0; margin: 0 0 22px; }
.panel-form legend {
  padding: 0;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--dim);
  margin-bottom: 10px;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.02);
  color: var(--muted);
  font-family: var(--sans);
  font-size: 12.5px;
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}
.chip:hover { border-color: rgba(255, 255, 255, 0.3); color: var(--text); }
.chip.active {
  color: #04121a;
  border-color: transparent;
  background: linear-gradient(100deg, #7ee7dd, #8ab9ff);
  font-weight: 650;
}
.chip:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }

.slider { display: block; margin-bottom: 22px; }
.slider > span { display: flex; justify-content: space-between; font-size: 11px; letter-spacing: 0.16em; color: var(--dim); }
.slider b { font-family: var(--mono); font-size: 13px; color: var(--text); letter-spacing: 0; }
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 26px;
  margin: 6px 0 0;
  background: transparent;
  cursor: pointer;
}
input[type="range"]::-webkit-slider-runnable-track {
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--cyan), rgba(139, 92, 246, 0.55));
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 15px; height: 15px;
  margin-top: -6px;
  border-radius: 50%;
  background: #eaf6ff;
  border: 2px solid #0b1120;
  box-shadow: 0 0 0 3px rgba(79, 209, 197, 0.25);
}
input[type="range"]::-moz-range-track { height: 3px; background: rgba(255,255,255,0.2); border-radius: 3px; }
input[type="range"]::-moz-range-thumb { width: 13px; height: 13px; border-radius: 50%; background: #eaf6ff; border: 2px solid #0b1120; }

.form-note { font-size: 11.5px; line-height: 1.8; color: var(--dim); }

.panel-out {
  border-left: 1px solid var(--line);
  padding-left: clamp(24px, 3vw, 44px);
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.res-kicker { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.24em; color: var(--cyan); text-transform: uppercase; }
.res-title { margin-top: 10px; font-size: clamp(20px, 2.2vw, 27px); line-height: 1.35; letter-spacing: -0.02em; }
.res-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.res-chips span {
  font-size: 11px;
  color: #cfe3f5;
  border: 1px solid rgba(79, 209, 197, 0.22);
  background: rgba(79, 209, 197, 0.07);
  padding: 4px 9px;
  border-radius: 5px;
}
.res-meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 22px; }
.res-meta div { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.res-meta dt { font-size: 10px; letter-spacing: 0.14em; color: var(--dim); }
.res-meta dd { margin: 5px 0 0; font-size: 14px; color: var(--text); }
.res-list { margin: 20px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.res-list li { display: flex; gap: 9px; font-size: 12.5px; line-height: 1.75; color: var(--muted); }
.res-list li::before { content: "▸"; color: var(--cyan); font-size: 10px; line-height: 1.9; }

.cost-total { margin-top: 6px; display: flex; align-items: baseline; gap: 8px; }
.cost-total b { font-family: var(--mono); font-size: clamp(30px, 3.4vw, 44px); font-weight: 500; letter-spacing: -0.02em; }
.cost-total span { font-size: 12px; color: var(--dim); }
.bars { margin-top: 22px; display: grid; gap: 12px; }
.bar-row { display: grid; gap: 6px; }
.bar-label { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); }
.bar-label b { font-family: var(--mono); font-weight: 400; color: var(--text); }
.bar-track { height: 5px; border-radius: 4px; background: rgba(255, 255, 255, 0.06); overflow: hidden; }
.bar-fill { height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--cyan), var(--blue)); width: 0; transition: width 0.8s var(--ease); }
.bar-row:nth-child(2) .bar-fill { background: linear-gradient(90deg, #7aa7ff, #8b5cf6); }
.bar-row:nth-child(3) .bar-fill { background: linear-gradient(90deg, #d8b47a, #e6a15c); }
.bar-row:nth-child(4) .bar-fill { background: linear-gradient(90deg, #6ee7b7, #4fd1c5); }

.bp { display: grid; gap: 10px; margin-top: 4px; }
.bp-step {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 14px;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.015);
  animation: rise 0.5s var(--ease) both;
}
.bp-step:nth-child(2) { animation-delay: 0.06s; }
.bp-step:nth-child(3) { animation-delay: 0.12s; }
.bp-step:nth-child(4) { animation-delay: 0.18s; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.bp-when { font-family: var(--mono); font-size: 10.5px; color: var(--gold); letter-spacing: 0.08em; padding-top: 2px; }
.bp-step h4 { margin: 0; font-size: 13.5px; }
.bp-step p { font-size: 11.5px; color: var(--muted); line-height: 1.75; margin-top: 3px; }

/* --------------------------------------------------------------- global */
.globe-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 0.8fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(18px, 3vw, 34px);
  background:
    radial-gradient(80% 100% at 20% 0%, rgba(79, 209, 197, 0.07), transparent 55%),
    rgba(255, 255, 255, 0.012);
}
.map { width: 100%; height: auto; overflow: visible; }
.map .nodes circle { fill: #bfeee8; }
.map .node text { fill: #a9b8cc; font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em; }
.map .node.home circle { fill: #7ee7dd; }
.map .node.home .halo { fill: url(#nodeGlow); }
.map .node.home .ring {
  fill: none;
  stroke: rgba(126, 231, 221, 0.45);
  stroke-width: 1;
  transform-box: fill-box;
  transform-origin: center;
  animation: ring 3.4s ease-out infinite;
}
@keyframes ring {
  0% { transform: scale(0.7); opacity: 0.9; }
  100% { transform: scale(2.2); opacity: 0; }
}
.map .node.home text { fill: #eaf6ff; font-size: 12.5px; }
.map .arcs path {
  stroke-dasharray: 5 7;
  animation: dash 14s linear infinite;
}
.map .arcs path:nth-child(2) { animation-duration: 17s; }
.map .arcs path:nth-child(3) { animation-duration: 19s; }
.map .arcs path:nth-child(4) { animation-duration: 16s; }
.map .arcs path:nth-child(5) { animation-duration: 21s; }
@keyframes dash { to { stroke-dashoffset: -240; } }
.map .dotted circle { fill: rgba(255, 255, 255, 0.16); }

.globe-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.globe-facts li { display: flex; align-items: baseline; gap: 14px; border-bottom: 1px solid var(--line); padding-bottom: 16px; }
.globe-facts li:last-child { border: 0; padding-bottom: 0; }
.globe-facts b { font-family: var(--mono); font-size: 28px; font-weight: 500; color: var(--cyan); }
.globe-facts span { font-size: 12.5px; color: var(--muted); line-height: 1.7; }

/* --------------------------------------------------------------- process */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.steps li {
  position: relative;
  padding: 26px 26px 26px 0;
  border-top: 1px solid var(--line);
}
.steps li + li { padding-left: 26px; border-left: 1px solid var(--line); }
.step-no { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.18em; color: var(--gold); }
.steps h3 { margin-top: 12px; font-size: 17px; }
.steps p { margin-top: 8px; font-size: 12.5px; line-height: 1.85; color: var(--muted); min-height: 4.6em; }
.step-time { display: inline-block; margin-top: 16px; font-family: var(--mono); font-size: 10.5px; color: var(--dim); border: 1px solid var(--line); padding: 3px 8px; border-radius: 4px; }

/* ----------------------------------------------------------------- trust */
.trust-sec { border-top: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.trust {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px 26px;
  background: rgba(255, 255, 255, 0.014);
}
.trust h3 { font-size: 15.5px; }
.trust h3::before { content: "◇"; color: var(--gold); margin-right: 9px; font-size: 12px; }
.trust p { margin-top: 9px; font-size: 12.5px; line-height: 1.85; color: var(--muted); }

/* ------------------------------------------------------------------- cta */
.cta-sec {
  position: relative;
  padding: clamp(80px, 10vw, 130px) 0;
  border-top: 1px solid var(--line);
  overflow: hidden;
}
.cta-sec::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto;
  height: 90%;
  background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(79, 209, 197, 0.16), transparent 65%);
  pointer-events: none;
}
.cta-inner { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-inner h2 { margin-top: 16px; font-size: clamp(28px, 3.6vw, 46px); line-height: 1.25; letter-spacing: -0.03em; }
.cta-inner .sec-sub { margin-top: 16px; max-width: 34em; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------------------------------------------------------------- footer */
.foot { border-top: 1px solid var(--line); padding: 34px 0 28px; }
.foot-inner { display: grid; grid-template-columns: 1fr auto; gap: 18px 40px; align-items: center; }
.foot-brand { display: flex; align-items: center; gap: 12px; }
.foot-brand b { font-size: 14px; letter-spacing: 0.16em; }
.foot-brand p { font-size: 11.5px; color: var(--dim); margin-top: 2px; }
.foot-links { display: flex; gap: 22px; font-size: 12px; color: var(--muted); }
.foot-links a:hover { color: var(--text); }
.foot-legal { grid-column: 1 / -1; font-size: 11px; color: #55627a; border-top: 1px solid rgba(255,255,255,0.05); padding-top: 18px; }

/* --------------------------------------------------------------- reveal */
/* Reveal is opt-in: without JS (or if site.js fails) everything stays visible. */
.reveal { opacity: 1; transform: none; }
html.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
html.js .reveal.d1 { transition-delay: 0.08s; }
html.js .reveal.d2 { transition-delay: 0.16s; }
html.js .reveal.d3 { transition-delay: 0.24s; }
html.js .reveal.d4 { transition-delay: 0.32s; }
html.js .reveal.is-in { opacity: 1; transform: none; }

/* ------------------------------------------------------------- responsive */
@media (max-width: 1279px) {
  .hero-panel { display: none; }
}

@media (max-width: 1024px) {
  .panel { grid-template-columns: 1fr; }
  .panel-out { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; padding-top: 26px; min-height: 0; }
  .globe-wrap { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps li:nth-child(3) { border-left: 0; padding-left: 0; }
  .steps li:nth-child(4) { border-left: 1px solid var(--line); }
  .nav-links { display: none; }
  .nav-actions .btn-ghost { display: none; }
}

@media (max-width: 760px) {
  .wrap { width: calc(100% - 40px); }
  .nav-inner { width: calc(100% - 32px); height: 66px; }
  .nav-actions { display: none; }
  .nav-burger { display: block; }
  .nav-mobile:not([hidden]) { display: grid; }
  .hero { padding: 112px 0 84px; min-height: 92svh; }
  .hero-inner { width: calc(100% - 40px); }
  .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; margin-top: 52px; }
  .hero-scroll { display: none; }
  .caps { grid-template-columns: 1fr; }
  .cap { padding: 24px 22px 18px; }
  .tabs { overflow-x: auto; padding: 10px 10px 0; }
  .tab { padding: 12px 12px 15px; white-space: nowrap; }
  .panels { padding: 20px 18px 24px; }
  .res-meta { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .steps li, .steps li + li { border-left: 0; padding: 22px 0; }
  .trust-grid { grid-template-columns: 1fr; }
  .foot-inner { grid-template-columns: 1fr; }
  .cta-inner { align-items: flex-start; }
}

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