/* =========================================================
   Leeway MCP · premium dark/gold landing
   ========================================================= */
:root {
  --bg: #06060a;
  --bg-2: #08080d;
  --card: #0a0a11;
  --card-2: #0d0d15;
  --line: rgba(255, 255, 255, 0.07);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #f5f5f7;
  --muted: #a0a0b0;
  --dim: #5d5d6b;
  --gold-1: #fbe7a1;
  --gold-2: #e7b94f;
  --gold-3: #b07a1f;
  --gold-4: #6e4710;
  --gold: linear-gradient(180deg, #fbe7a1 0%, #e9bd55 45%, #c48a28 100%);
  --gold-h: linear-gradient(90deg, #f7dc8a, #e2ac3f 55%, #c58a2a);
  --blue: #5b7cff;
  --up: #21d36b;
  --down: #ff3b3b;
  --radius: 4px;
  --container: 1180px;
  --f-head: "Instrument Sans", "Inter", system-ui, sans-serif;
  --f-body: "Inter", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 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-family: var(--f-body);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, canvas, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--gold-2); color: #000; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.center { display: flex; justify-content: center; margin-top: 56px; }

.noise {
  position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: 0.035;
  /* pre-rasterised tile: an SVG feTurbulence here would be re-rendered on every repaint */
  background-image: url("assets/noise.png");
}
.cursor-glow {
  position: fixed; left: 0; top: 0; width: 520px; height: 520px; margin: -260px 0 0 -260px;
  border-radius: 50%; pointer-events: none; z-index: 0;
  background: radial-gradient(circle, rgba(231, 185, 79, 0.07), transparent 60%);
  transform: translate3d(-999px, -999px, 0); transition: opacity 0.4s;
}

/* ---------- type ---------- */
.label {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-2); margin: 0 0 18px;
}
.title {
  font-family: var(--f-head); font-weight: 500; letter-spacing: -0.025em;
  font-size: clamp(32px, 4.4vw, 54px); line-height: 1.08; margin: 0; text-align: center;
}
.title--left { text-align: left; }
.fade {
  background: linear-gradient(90deg, #d9d9e0 0%, #7a7a88 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.sec-head { text-align: center; max-width: 900px; margin: 0 auto 64px; }
.sec-sub { color: var(--muted); max-width: 600px; margin: 18px auto 0; font-size: 15px; }
.sec-sub--left { margin-left: 0; }

/* ---------- buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  height: 46px; padding: 0 22px; border-radius: 2px;
  font-family: var(--f-body); font-weight: 600; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s;
  isolation: isolate; overflow: hidden; white-space: nowrap;
}
.btn i { font-style: normal; font-size: 13px; }
.btn--gold { background: var(--gold); color: #1a1205; box-shadow: 0 0 0 1px rgba(255, 220, 140, 0.4) inset, 0 8px 30px -10px rgba(231, 185, 79, 0.6); }
.btn--gold::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.65) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform 0.8s var(--ease);
}
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(255, 220, 140, 0.6) inset, 0 14px 40px -10px rgba(231, 185, 79, 0.85); }
.btn--gold:hover::after { transform: translateX(120%); }
.btn--ghost { border: 1px solid rgba(231, 185, 79, 0.55); color: var(--text); background: rgba(10, 10, 15, 0.4); }
.btn--ghost:hover { background: rgba(231, 185, 79, 0.1); transform: translateY(-2px); border-color: var(--gold-2); }
.btn--sm { height: 38px; padding: 0 18px; font-size: 11px; }
.btn--xs { height: 32px; padding: 0 14px; font-size: 11px; letter-spacing: 0.02em; text-transform: none; border-radius: 4px; }
.spark { display: inline-block; animation: twinkle 2.6s ease-in-out infinite; }
@keyframes twinkle { 0%, 100% { transform: scale(1) rotate(0); } 50% { transform: scale(1.25) rotate(20deg); } }

/* ---------- corners ---------- */
.corners { position: relative; }
.corners::before, .corners::after {
  content: ""; position: absolute; width: 10px; height: 10px; pointer-events: none;
  border-color: rgba(255, 255, 255, 0.45); border-style: solid; z-index: 3;
}
.corners::before { top: -1px; left: -1px; border-width: 1px 0 0 1px; }
.corners::after { bottom: -1px; right: -1px; border-width: 0 1px 1px 0; }
.corners-outer { position: relative; }
.corners-outer::before, .corners-outer::after {
  content: ""; position: absolute; inset: -6px; pointer-events: none; z-index: 3;
  background:
    linear-gradient(var(--line-2), var(--line-2)) top left / 12px 1px no-repeat,
    linear-gradient(var(--line-2), var(--line-2)) top left / 1px 12px no-repeat,
    linear-gradient(var(--line-2), var(--line-2)) top right / 12px 1px no-repeat,
    linear-gradient(var(--line-2), var(--line-2)) top right / 1px 12px no-repeat,
    linear-gradient(var(--line-2), var(--line-2)) bottom left / 12px 1px no-repeat,
    linear-gradient(var(--line-2), var(--line-2)) bottom left / 1px 12px no-repeat,
    linear-gradient(var(--line-2), var(--line-2)) bottom right / 12px 1px no-repeat,
    linear-gradient(var(--line-2), var(--line-2)) bottom right / 1px 12px no-repeat;
}
.corners-outer::after { display: none; }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background 0.4s, backdrop-filter 0.4s, border-color 0.4s; border-bottom: 1px solid transparent; }
.nav.is-scrolled { background: rgba(6, 6, 10, 0.72); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); border-color: var(--line); }
.nav__inner { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-head); font-weight: 600; font-size: 19px; letter-spacing: 0.06em; }
.logo__mark { width: 30px; height: 30px; filter: drop-shadow(0 4px 14px rgba(231, 185, 79, 0.35)); }
.nav__links { display: flex; gap: 32px; font-size: 13px; font-weight: 500; }
.nav__links a { color: #d6d6de; transition: color 0.25s; position: relative; }
.nav__links a:hover, .nav__links a.is-active { color: var(--gold-2); }
.nav__links a.is-active::after { content: ""; position: absolute; left: 50%; bottom: -8px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--gold-2); box-shadow: 0 0 8px var(--gold-2); }
.nav__cta { display: flex; align-items: center; gap: 14px; }
.nav__gh { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: 2px; color: #cfcfd8; transition: 0.25s; }
.nav__gh:hover { color: var(--gold-2); border-color: var(--gold-2); }
.nav__burger { display: none; width: 38px; height: 38px; position: relative; }
.nav__burger span { position: absolute; left: 9px; right: 9px; height: 1.5px; background: #fff; transition: 0.3s var(--ease); }
.nav__burger span:first-child { top: 15px; } .nav__burger span:last-child { top: 22px; }
.nav__burger[aria-expanded="true"] span:first-child { top: 18px; transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { top: 18px; transform: rotate(-45deg); }
.mobile-menu { display: none; }

/* ---------- hero ---------- */
.hero { position: relative; padding-top: 76px; }
.hero__frame {
  position: relative; margin: 0 6px; min-height: min(760px, calc(100vh - 140px));
  border: 1px solid var(--line); border-top: 0; overflow: hidden;
  background: radial-gradient(120% 90% at 0% 0%, #2a1a12 0%, transparent 55%), #050508;
}
.hero__glow {
  position: absolute; inset: -20% auto auto -10%; width: 70%; height: 90%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(214, 138, 96, 0.55), rgba(140, 70, 50, 0.2) 55%, transparent 80%);
  filter: blur(40px); animation: breathe 9s ease-in-out infinite;
}
@keyframes breathe { 0%, 100% { opacity: 0.85; transform: scale(1); } 50% { opacity: 1; transform: scale(1.06); } }
.hero__grid {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  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: 72px 72px; mask-image: radial-gradient(60% 70% at 72% 60%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(60% 70% at 72% 60%, #000 0%, transparent 75%);
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 24px; min-height: inherit; padding-top: 40px; padding-bottom: 40px; }
.hero__copy { position: relative; z-index: 2; }
.hero__eyebrow { font-family: var(--f-head); font-style: italic; font-size: 18px; color: #e9e3dc; margin: 0 0 18px; }
.hero__title { font-family: var(--f-head); font-weight: 500; font-size: clamp(42px, 5.6vw, 74px); line-height: 1.02; letter-spacing: -0.035em; margin: 0 0 26px; max-width: 640px; }
.hero__title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.06em; }
.hero__title .w > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease); }
.hero__title.is-in .w > span { transform: none; }
.hero__lead { color: #c9c9d3; max-width: 470px; margin: 0 0 36px; font-size: 15.5px; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero__actions--center { justify-content: center; }
.hero__meta { display: flex; gap: 40px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); max-width: 470px; }
.hero__meta b { display: block; font-family: var(--f-head); font-weight: 500; font-size: 26px; letter-spacing: -0.02em; background: var(--gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__meta span { font-size: 12px; color: var(--muted); }

.hero__visual { position: relative; height: 100%; min-height: 560px; }
#globe { position: absolute; inset: -60px -80px -60px -40px; width: calc(100% + 120px); height: calc(100% + 120px); z-index: 1; }
.beam {
  position: absolute; left: 50%; top: -20%; bottom: -20%; width: 220px; margin-left: -110px; z-index: 0; pointer-events: none;
  background:
    radial-gradient(50% 50% at 50% 50%, rgba(170, 190, 255, 0.0), transparent),
    linear-gradient(90deg, transparent 0%, rgba(91, 124, 255, 0.0) 30%, rgba(140, 165, 255, 0.55) 47%, #fff 50%, rgba(140, 165, 255, 0.55) 53%, rgba(91, 124, 255, 0) 70%, transparent 100%);
  filter: blur(6px); opacity: 0.85;
  mask-image: linear-gradient(180deg, transparent, #000 15%, #000 85%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 15%, #000 85%, transparent);
  animation: beamPulse 4s ease-in-out infinite;
}
@keyframes beamPulse { 0%, 100% { opacity: 0.7; transform: scaleX(1); } 50% { opacity: 1; transform: scaleX(1.25); } }

.tag {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px;
  padding: 9px 12px 9px 0; background: rgba(255, 255, 255, 0.96); color: #15151c;
  font-size: 11.5px; font-weight: 500; border-radius: 3px; white-space: nowrap;
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.3);
  animation: floaty 6s ease-in-out infinite;
}
.tag b { font-weight: 600; }
.tag em { font-style: normal; font-size: 10px; font-family: var(--f-mono); color: #8a5a17; background: #f5ecd6; padding: 2px 6px; border-radius: 2px; }
.tag em.ok { color: var(--up); background: #e3f8eb; }
.tag__bar { align-self: stretch; width: 3px; background: var(--blue); border-radius: 0 2px 2px 0; }
.tag--1 { right: 6%; top: 4%; }
.tag--2 { right: -3%; top: 11%; animation-delay: -2s; }
.tag--2 .tag__bar { background: var(--gold-2); }
.tag--3 { right: 2%; top: 18%; animation-delay: -4s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

#globe { touch-action: pan-y; cursor: grab; }
.globe-card {
  position: absolute; left: 0; top: 0; z-index: 5; width: 232px; pointer-events: none;
  margin: -14px 0 0 22px; padding: 14px 16px 12px;
  background: linear-gradient(180deg, rgba(22, 18, 10, 0.92), rgba(10, 10, 16, 0.92));
  border: 1px solid rgba(231, 185, 79, 0.45); border-radius: 4px;
  box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.8), 0 0 30px -8px rgba(231, 185, 79, 0.35);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  opacity: 0; transition: opacity 0.35s var(--ease);
  will-change: transform;
}
.globe-card::before { content: ""; position: absolute; left: -22px; top: 14px; width: 22px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-2)); }
.globe-card.is-left { margin-left: -254px; }
.globe-card.is-left::before { left: auto; right: -22px; background: linear-gradient(270deg, transparent, var(--gold-2)); }
.globe-card.is-on { opacity: 1; }
.gc__head { display: flex; align-items: baseline; gap: 8px; margin-bottom: 10px; }
.gc__head i { width: 7px; height: 7px; border-radius: 50%; background: var(--gold-2); box-shadow: 0 0 10px var(--gold-2); align-self: center; }
.gc__head b { font-family: var(--f-head); font-weight: 600; font-size: 15px; }
.gc__head span { font-size: 11px; color: var(--muted); }
.gc__grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; padding: 10px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.gc__grid em { display: block; font-style: normal; font-size: 9.5px; color: var(--dim); text-transform: uppercase; letter-spacing: 0.06em; }
.gc__grid strong { font-family: var(--f-head); font-weight: 500; font-size: 14px; color: var(--gold-1); }
.gc__foot { margin-top: 8px; font-family: var(--f-mono); font-size: 10px; color: var(--muted); }
.gc__foot span { color: var(--up); }
.globe-ui { position: absolute; left: 50%; bottom: 2%; transform: translateX(-50%); z-index: 4; display: flex; flex-direction: column; align-items: center; gap: 10px; width: max-content; max-width: 100%; }
.globe-chips { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.globe-chips button { padding: 6px 12px; font-size: 11.5px; font-weight: 500; color: #d8d8e0; border: 1px solid rgba(231, 185, 79, 0.3); background: rgba(10, 10, 16, 0.7); backdrop-filter: blur(6px); border-radius: 100px; transition: 0.3s var(--ease); }
.globe-chips button::before { content: ""; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--gold-2); margin-right: 7px; vertical-align: 1px; box-shadow: 0 0 6px var(--gold-2); }
.globe-chips button:hover { border-color: var(--gold-2); color: #fff; }
.globe-chips button.is-on { background: var(--gold); color: #1a1205; border-color: transparent; }
.globe-chips button.is-on::before { background: #1a1205; box-shadow: none; }
.globe-hint { position: relative; z-index: 3; margin: 0; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255, 255, 255, 0.45); white-space: nowrap; pointer-events: none; }
.globe-hint span { color: var(--gold-2); margin-right: 6px; }
.tag span, .tag em { transition: opacity 0.3s; }
.tag.is-swap span, .tag.is-swap em { opacity: 0; }
.cross { position: absolute; color: rgba(255, 255, 255, 0.5); font-size: 14px; line-height: 1; font-family: var(--f-mono); z-index: 4; }
.cross--bl { left: -5px; bottom: -8px; } .cross--br { right: -5px; bottom: -8px; }

/* ---------- ticker ---------- */
.ticker { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); background: rgba(6, 6, 10, 0.9); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.ticker__track { display: flex; width: max-content; animation: marquee 60s linear infinite; padding: 14px 0; }
.ticker:hover .ticker__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.tick { display: inline-flex; align-items: center; gap: 8px; padding: 0 26px; font-size: 13px; white-space: nowrap; position: relative; }
.tick::after { content: "/"; position: absolute; right: -4px; color: var(--dim); }
.tick__ico { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 10px; font-weight: 700; color: #fff; }
.tick__sym { font-size: 10px; color: var(--muted); font-weight: 600; letter-spacing: 0.04em; }
.tick__price { font-weight: 600; font-variant-numeric: tabular-nums; }
.tick__chg { font-size: 12px; font-weight: 500; font-variant-numeric: tabular-nums; }
.tick__chg.up { color: var(--up); } .tick__chg.down { color: var(--down); }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 790px; margin: 90px auto 40px; }
.stat { position: relative; padding: 26px 26px 30px; min-height: 186px; border: 1px solid var(--line); overflow: hidden; }
.stat--up { background: linear-gradient(180deg, rgba(18, 90, 40, 0.0) 0%, rgba(10, 70, 30, 0.55) 100%), linear-gradient(135deg, #031a0b, #04120a); }
.stat--down { background: linear-gradient(180deg, rgba(110, 10, 10, 0.0) 0%, rgba(110, 8, 8, 0.55) 100%), linear-gradient(135deg, #1a0404, #120404); }
.stat__coin { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 30px; background: radial-gradient(circle at 35% 30%, #ffe9a8, #d39a35 45%, #7c4f12 100%); box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.04), 0 0 0 6px rgba(255, 255, 255, 0.08), 0 6px 20px rgba(231, 185, 79, 0.25); font-family: var(--f-head); font-weight: 600; color: #4a2e06; }
.stat__coin--alt span { font-size: 18px; }
.stat__name { margin: 0; font-size: 15px; font-weight: 500; }
.stat__name small { color: var(--muted); font-size: 11px; margin-left: 6px; font-family: var(--f-mono); }
.stat__value { margin: 4px 0 0; font-family: var(--f-head); font-size: 34px; font-weight: 500; letter-spacing: -0.02em; display: flex; align-items: center; font-variant-numeric: tabular-nums; }
.stat__value .tri { margin-right: 12px; }
.stat--up .stat__value { color: var(--up); } .stat--down .stat__value { color: var(--down); }
.tri { width: 0; height: 0; border-left: 7px solid transparent; border-right: 7px solid transparent; }
.tri--up { border-bottom: 9px solid var(--up); } .tri--down { border-top: 9px solid var(--down); }
.spark-line { position: absolute; right: 18px; top: 26px; width: 150px; height: 60px; opacity: 0.9; }

/* ---------- sections & cards ---------- */
.section { position: relative; padding: 110px 0; }
.card { position: relative; background: var(--card); border: 1px solid var(--line); }
.card__title { font-family: var(--f-head); font-weight: 500; font-size: 32px; letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 16px; }
.card__title--sm { font-size: 24px; }
.card__text { color: var(--muted); font-size: 14px; margin: 0; }

.grid-what { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.card--what { padding: 56px 48px; display: flex; flex-direction: column; justify-content: center; }
.checks { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 10px; font-size: 13.5px; color: #cfcfd8; }
.checks li { position: relative; padding-left: 24px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 7px; width: 10px; height: 10px; transform: rotate(45deg); background: var(--gold); box-shadow: 0 0 10px rgba(231, 185, 79, 0.5); }
.card--visual { min-height: 460px; overflow: hidden; padding: 12px; background: var(--card); }
.visual-bg { position: absolute; inset: 12px; overflow: hidden; }
.visual-bg--rose { background: radial-gradient(100% 90% at 30% 100%, #a8706a 0%, #5a3a3c 35%, #1a1218 70%, #0a0a10 100%); }
.visual-bg--dark { inset: 0; background: radial-gradient(80% 80% at 50% 50%, #131326, #08080f 70%); }
.vlines { position: absolute; top: 0; bottom: 0; right: 0; width: 48%; background: repeating-linear-gradient(90deg, rgba(255, 200, 210, 0.35) 0 1px, transparent 1px 7px); mask-image: linear-gradient(180deg, transparent, #000 25%, #000 70%, transparent); -webkit-mask-image: linear-gradient(180deg, transparent, #000 25%, #000 70%, transparent); }
.vlines--blue { width: 34%; background: repeating-linear-gradient(90deg, rgba(150, 160, 255, 0.35) 0 1px, transparent 1px 7px); }
.vlines--gold { width: 42%; background: repeating-linear-gradient(90deg, rgba(231, 185, 79, 0.55) 0 1px, transparent 1px 8px); }
.mini-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(circle at 40% 50%, #000, transparent 70%); -webkit-mask-image: radial-gradient(circle at 40% 50%, #000, transparent 70%); }
.gold-scene { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.card--feature { padding: 34px 34px 30px; }
.feature-visual { position: relative; height: 300px; margin: 6px 0 24px; overflow: hidden; }

/* ---------- install ---------- */
.grid-install { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: center; }
.install__cmd { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 32px; padding: 10px 10px 10px 20px; border: 1px solid var(--line-2); background: #09090f; max-width: 380px; }
.install__docs { display: inline-flex; margin-top: 26px; }
.install__cmd code {font-family: var(--f-mono); font-size: 14px; color: var(--gold-1); }
.install__cmd code::before { content: "$ "; color: var(--dim); }
.copy { font-family: var(--f-mono); font-size: 11px; padding: 7px 12px; border: 1px solid var(--line-2); color: #ddd; transition: 0.25s; text-transform: uppercase; letter-spacing: 0.08em; }
.copy:hover, .copy.is-done { border-color: var(--gold-2); color: var(--gold-2); }
.copy--sm { margin-left: auto; padding: 4px 10px; font-size: 10px; }
.code-card { background: linear-gradient(180deg, #0d0d16, #08080d); border: 1px solid var(--line); box-shadow: 0 40px 120px -40px rgba(231, 185, 79, 0.25); }
.code-card__bar, .term__bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.code-card__bar span, .term__bar span { width: 10px; height: 10px; border-radius: 50%; background: #2a2a35; }
.code-card__bar em, .term__bar em { font-style: normal; font-family: var(--f-mono); font-size: 11px; color: var(--muted); margin-left: 10px; }
.code-card pre { margin: 0; padding: 22px 24px 26px; overflow-x: auto; font-family: var(--f-mono); font-size: 13px; line-height: 1.75; color: #ddd; }
.t-k { color: #9fb4ff; } .t-s { color: var(--gold-1); } .t-p { color: #6d6d7d; }

.tools { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin: 90px 0 28px; }
.tool { padding: 9px 18px; font-size: 13px; border: 1px solid var(--line-2); border-radius: 100px; color: var(--muted); transition: 0.3s var(--ease); }
.tool:hover { color: #fff; border-color: rgba(231, 185, 79, 0.5); }
.tool sup { font-family: var(--f-mono); font-size: 9px; letter-spacing: 0.06em; text-transform: uppercase; color: #7ee2ff; margin-left: 3px; vertical-align: 4px; }
.tool.is-on sup { color: #1a1205; }
.tool.is-on { background: var(--gold); color: #1a1205; border-color: transparent; font-weight: 600; }
.tool-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.tool-item { background: var(--card); padding: 22px 22px 24px; opacity: 0; transform: translateY(10px); animation: toolIn 0.6s var(--ease) forwards; transition: background 0.3s; }
.tool-item:hover { background: #0f0f18; }
.tool-item code { font-family: var(--f-mono); font-size: 13px; color: var(--gold-1); }
.tool-item__head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.tool-item__head em { font-style: normal; font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--dim); }
.tool-item__head em.live { color: var(--up); }
.tool-item p { margin: 8px 0 12px; font-size: 13px; color: var(--muted); }
.tool-item small { font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; padding: 3px 8px; border: 1px solid var(--line-2); color: #bbb; }
.tool-item small.w { color: #ffb4a0; border-color: rgba(255, 120, 90, 0.35); }
@keyframes toolIn { to { opacity: 1; transform: none; } }

/* ---------- token ---------- */
.grid-token { display: grid; grid-template-columns: 1fr 1.05fr 0.95fr; border: 1px solid var(--line); background: var(--card); min-height: 400px; }
.token-card { padding: 40px 36px; display: flex; flex-direction: column; }
.token-card h3 { font-family: var(--f-head); font-weight: 500; font-size: 24px; line-height: 1.25; letter-spacing: -0.015em; margin: 0 0 18px; }
.token-card h3 b { font-weight: 600; }
.token-card p { color: var(--muted); font-size: 13.5px; margin: 0 0 32px; }
.link-arrow { margin-top: auto; font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; display: inline-flex; gap: 10px; align-items: center; border-bottom: 1px solid #fff; align-self: flex-start; padding-bottom: 2px; transition: 0.3s; }
.link-arrow i { font-style: normal; transition: transform 0.3s var(--ease); }
.link-arrow:hover { color: var(--gold-2); border-color: var(--gold-2); }
.link-arrow:hover i { transform: translateX(4px); }
.token-visual { position: relative; margin: 10px 0; overflow: hidden; background: radial-gradient(70% 60% at 50% 50%, #2a1c08 0%, #0a0806 70%); border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
.token-visual .vlines { opacity: 0.8; }

.tokenomics { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; margin-top: 40px; }
.tk { position: relative; padding-top: 18px; }
.tk span { position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--line); }
.tk span::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 0; background: var(--gold-h); box-shadow: 0 0 10px rgba(231, 185, 79, 0.6); transition: width 1.6s var(--ease); }
.tokenomics.is-in .tk span::after { width: calc(var(--w) * 2.6); max-width: 100%; }
.tk b { display: block; font-family: var(--f-head); font-weight: 500; font-size: 28px; letter-spacing: -0.02em; }
.tk em { font-style: normal; font-size: 12.5px; color: var(--muted); }

/* ---------- tech fan ---------- */
.fan { display: flex; justify-content: center; gap: 22px; perspective: 1200px; padding: 20px 0; }
.glass {
  position: relative; width: 300px; height: 190px; border-radius: 14px; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 4px;
  background: linear-gradient(145deg, rgba(60, 64, 80, 0.55), rgba(16, 17, 24, 0.9) 60%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
  transform-style: preserve-3d; will-change: transform;
}
.glass::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 100% 100%, rgba(231, 170, 50, 0.55), transparent 60%); opacity: 0.7; transition: opacity 0.5s; }
.glass::after { content: ""; position: absolute; inset: 0; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, 0.12), transparent 40%); }
.glass--l { transform: rotate(-4deg) translateY(10px); }
.glass--l::before { background: radial-gradient(60% 80% at 100% 100%, rgba(231, 170, 50, 0.35), transparent 60%); }
.glass--c { transform: rotate(5deg) translateY(28px); background: linear-gradient(120deg, rgba(150, 150, 165, 0.6), rgba(25, 26, 34, 0.9) 45%); }
.glass--c::before { background: radial-gradient(60% 90% at 95% 90%, rgba(240, 180, 40, 0.9), transparent 60%); opacity: 0.9; }
.glass--r { transform: rotate(6deg) translateY(0); }
.glass:hover { box-shadow: 0 40px 80px -20px rgba(231, 185, 79, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.12); }
.glass:hover::before { opacity: 1; }
.glass > * { position: relative; z-index: 1; }
.glass__ico { width: 26px; height: 26px; color: #e9e9ef; margin-bottom: 10px; }
.glass b { font-family: var(--f-head); font-weight: 500; font-size: 30px; letter-spacing: -0.02em; line-height: 1.1; }
.glass span { font-size: 12.5px; color: #c3c3cc; }

/* ---------- why ---------- */
.orrery { position: relative; height: 540px; max-width: 1240px; margin: -56px auto -110px; -webkit-mask-image: linear-gradient(to bottom, #000 68%, transparent 96%); mask-image: linear-gradient(to bottom, #000 68%, transparent 96%); pointer-events: none; }
.orrery__scene { z-index: 1; }
.orrery__chips span { position: absolute; left: var(--x); top: var(--y); z-index: 2; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: #e9dcb8; white-space: nowrap; border: 1px solid rgba(231, 185, 79, 0.28); border-radius: 100px; background: rgba(10, 10, 16, 0.55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 240, 200, 0.06); animation: chipFloat 6s ease-in-out infinite; }
.orrery__chips span:nth-child(2) { animation-delay: -1.5s; } .orrery__chips span:nth-child(3) { animation-delay: -3s; } .orrery__chips span:nth-child(4) { animation-delay: -4.5s; }
.orrery__chips i { width: 6px; height: 6px; border-radius: 50%; background: var(--gold-2); box-shadow: 0 0 0 3px rgba(231, 185, 79, 0.15), 0 0 10px rgba(231, 185, 79, 0.8); }
@keyframes chipFloat { 0%, 100% { transform: translate(-50%, -50%); } 50% { transform: translate(-50%, calc(-50% - 7px)); } }
.no-webgl .orrery { height: 120px; }

.grid-why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; position: relative; z-index: 2; }
.why { --mx: 50%; --my: 50%; position: relative; isolation: isolate; overflow: hidden; padding: 30px 28px 26px; min-height: 290px; display: flex; flex-direction: column; background: linear-gradient(180deg, #0f0f17, #09090e); border: 1px solid var(--line); transition: transform 0.5s var(--ease), border-color 0.4s; transform-style: preserve-3d; }
.why::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(380px circle at var(--mx) var(--my), rgba(231, 185, 79, 0.13), transparent 60%); opacity: 0; transition: opacity 0.4s; }
.why::after { content: ""; position: absolute; inset: 0; padding: 1px; pointer-events: none; background: radial-gradient(240px circle at var(--mx) var(--my), rgba(255, 220, 150, 0.85), rgba(231, 185, 79, 0.25) 40%, transparent 70%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); opacity: 0; transition: opacity 0.4s; }
.grid-why:hover .why::after { opacity: 0.55; }
.why:hover::before, .grid-why .why:hover::after { opacity: 1; }
.why__n { position: absolute; top: 18px; right: 24px; font-family: var(--f-head); font-weight: 500; font-size: 64px; line-height: 1; letter-spacing: -0.04em; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.09); transition: -webkit-text-stroke-color 0.4s, transform 0.6s var(--ease); }
.why:hover .why__n { -webkit-text-stroke-color: rgba(231, 185, 79, 0.55); transform: translateY(-3px); }
.why__ico { position: relative; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 40px; color: #e9e9ef; background: radial-gradient(circle at 35% 30%, #1d1d28, #0c0c12); box-shadow: 0 0 0 1px var(--line-2), 0 0 0 7px rgba(255, 255, 255, 0.02), 0 12px 30px -10px rgba(0, 0, 0, 0.9); transition: color 0.4s, box-shadow 0.4s; }
.why__ico::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; background: conic-gradient(from 0deg, transparent 0 70%, rgba(255, 220, 150, 0.9) 85%, transparent 100%); -webkit-mask: radial-gradient(circle, transparent 23px, #000 24px); mask: radial-gradient(circle, transparent 23px, #000 24px); opacity: 0; animation: icoSpin 3.2s linear infinite; transition: opacity 0.4s; }
.why:hover .why__ico { color: var(--gold-1); box-shadow: 0 0 0 1px rgba(231, 185, 79, 0.45), 0 0 0 7px rgba(231, 185, 79, 0.05), 0 0 30px rgba(231, 185, 79, 0.25); }
.why:hover .why__ico::after { opacity: 1; }
@keyframes icoSpin { to { transform: rotate(360deg); } }
.why__ico svg { width: 20px; height: 20px; }
.why h3 { margin: 0 0 10px; font-family: var(--f-head); font-weight: 500; font-size: 20px; letter-spacing: -0.01em; }
.why p { margin: 0 0 22px; font-size: 13.5px; line-height: 1.6; color: var(--muted); }
.why__proof { margin-top: auto; align-self: flex-start; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 6px 10px; font-family: var(--f-mono); font-size: 11.5px; color: var(--gold-1); background: rgba(231, 185, 79, 0.05); border: 1px dashed rgba(231, 185, 79, 0.3); transition: border-color 0.4s, background 0.4s; }
.why:hover .why__proof { border-style: solid; background: rgba(231, 185, 79, 0.09); }

/* ---------- terminal ---------- */
.term-wrap { display: grid; grid-template-columns: 300px 1fr; gap: 20px; align-items: start; }
.prompts { display: grid; gap: 10px; }
.prompt { text-align: left; padding: 16px 18px; border: 1px solid var(--line); background: var(--card); font-size: 13.5px; color: var(--muted); transition: 0.3s var(--ease); font-family: var(--f-head); font-style: italic; }
.prompt:hover { color: #fff; border-color: var(--line-2); }
.prompt.is-on { color: #fff; border-color: rgba(231, 185, 79, 0.55); background: linear-gradient(90deg, rgba(231, 185, 79, 0.12), transparent); box-shadow: inset 2px 0 0 var(--gold-2); }
.term { background: #07070c; border: 1px solid var(--line); min-height: 400px; }
.term__live { margin-left: auto; font-style: normal; font-family: var(--f-mono); font-size: 10px; color: var(--up); animation: blink 1.4s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0.35; } }
.term__body { padding: 22px 24px; font-family: var(--f-mono); font-size: 13px; line-height: 1.8; min-height: 350px; }
.term__body .ln { opacity: 0; transform: translateY(4px); animation: toolIn 0.4s var(--ease) forwards; white-space: pre-wrap; word-break: break-word; }
.ln--user { color: #fff; } .ln--user::before { content: "you › "; color: var(--gold-2); }
.ln--agent { color: #cfcfd8; } .ln--agent::before { content: "agent › "; color: #9fb4ff; }
.ln--tool { color: var(--muted); padding-left: 16px; border-left: 1px solid var(--line-2); margin-left: 4px; }
.ln--tool b { color: var(--gold-1); font-weight: 500; }
.ln--ok { color: var(--up); padding-left: 16px; margin-left: 4px; border-left: 1px solid rgba(33, 211, 107, 0.4); }
.ln--warn { color: #ffb020; padding-left: 16px; margin-left: 4px; border-left: 1px solid rgba(255, 176, 32, 0.5); }
.ln--deny { color: var(--down); padding-left: 16px; margin-left: 4px; border-left: 1px solid rgba(255, 59, 59, 0.5); }
.caret { display: inline-block; width: 8px; height: 15px; background: var(--gold-2); vertical-align: -2px; animation: blink 1s steps(2) infinite; }

/* ---------- roadmap ---------- */
.roadmap { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-top: 40px; }
.roadmap__line { position: absolute; top: 9px; left: 0; right: 0; height: 1px; background: var(--line-2); }
.roadmap__line span { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--gold-h); box-shadow: 0 0 12px rgba(231, 185, 79, 0.7); transition: width 2s var(--ease); }
.phase { position: relative; padding: 24px 22px; border: 1px solid var(--line); background: var(--card); transition: 0.4s; }
.phase::before { content: ""; position: absolute; top: -37px; left: 22px; width: 11px; height: 11px; transform: rotate(45deg); background: #111; border: 1px solid var(--line-2); }
.phase.is-done::before { background: var(--gold-2); border-color: var(--gold-1); box-shadow: 0 0 12px var(--gold-2); }
.phase.is-now::before { background: #06060a; border-color: var(--gold-2); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(231, 185, 79, 0.6); } 100% { box-shadow: 0 0 0 12px rgba(231, 185, 79, 0); } }
.phase em { font-style: normal; font-family: var(--f-mono); font-size: 11px; color: var(--gold-2); letter-spacing: 0.1em; }
.phase h4 { margin: 8px 0 8px; font-family: var(--f-head); font-weight: 500; font-size: 20px; }
.phase p { margin: 0; font-size: 13px; color: var(--muted); }
.phase.is-now { border-color: rgba(231, 185, 79, 0.35); background: linear-gradient(180deg, rgba(231, 185, 79, 0.07), var(--card)); }
.phase:hover { transform: translateY(-4px); border-color: rgba(231, 185, 79, 0.35); }

/* ---------- impact / cta ---------- */
.impact {
  position: relative; max-width: 880px; margin: 0 auto 90px; padding: 44px 32px; text-align: center; border-radius: 18px; overflow: hidden;
  background: radial-gradient(70% 140% at 50% -20%, rgba(170, 120, 70, 0.45), transparent 70%), linear-gradient(180deg, #17120f, #0b0b12 80%, #0b1020);
  border: 1px solid rgba(255, 255, 255, 0.07);
}
.impact h2 { font-family: var(--f-head); font-weight: 500; font-size: clamp(26px, 3vw, 36px); letter-spacing: -0.02em; margin: 0 0 10px; }
.impact p { margin: 0 auto; max-width: 520px; color: #c8c8d2; font-size: 14px; }

.cta { position: relative; height: 420px; overflow: hidden; display: grid; place-items: center; text-align: center; background: #050508; border: 1px solid var(--line); }
.cta__glow { position: absolute; inset: 0; background: radial-gradient(80% 75% at 50% 115%, #ffe0a0 0%, #e9a860 22%, #a8664a 42%, rgba(70, 40, 40, 0.6) 62%, transparent 82%), radial-gradient(45% 60% at 0% 100%, rgba(220, 150, 100, 0.55), transparent 70%), radial-gradient(45% 60% at 100% 100%, rgba(220, 150, 100, 0.4), transparent 70%); }
.cta__beam { position: absolute; left: 50%; top: 0; width: 160px; height: 24%; margin-left: -80px; z-index: 1; pointer-events: none; }
.cta__beam::before { content: ""; position: absolute; inset: -40px -120px 0; background: radial-gradient(35% 55% at 50% 30%, rgba(170, 190, 255, 0.55), rgba(91, 124, 255, 0.15) 50%, transparent 75%); filter: blur(10px); animation: beamPulse 5s ease-in-out infinite; }
.cta__beam::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 40% 50% at 50% 0%, #fff, transparent 70%),
    linear-gradient(90deg, transparent 47%, rgba(255, 255, 255, 0.95) 50%, transparent 53%);
  -webkit-mask-image: linear-gradient(180deg, #000 40%, transparent); mask-image: linear-gradient(180deg, #000 40%, transparent);
}
.cta__helix { position: absolute; left: 50%; top: 0; width: 70px; height: 24%; margin-left: -35px; z-index: 1; border-radius: 50%; border: 1.5px solid rgba(220, 228, 255, 0.75); border-top-color: transparent; border-bottom-color: transparent; filter: blur(0.6px) drop-shadow(0 0 6px #9fb4ff); animation: helix 6s linear infinite; -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent); mask-image: linear-gradient(180deg, #000 30%, transparent); }
.cta__helix--2 { animation-delay: -3s; }
@keyframes helix { 0% { transform: scaleX(1); } 50% { transform: scaleX(-1); } 100% { transform: scaleX(1); } }
.cta__content { position: relative; z-index: 3; padding: 0 20px; }
.cta__content h2 { font-family: var(--f-head); font-weight: 500; font-size: clamp(30px, 3.6vw, 44px); letter-spacing: -0.025em; margin: 0 0 12px; }
.cta__content p { color: #e6dfd8; max-width: 520px; margin: 0 auto 30px; font-size: 15px; }
.cta__obj { position: absolute; z-index: 2; }
.cta__obj--tr { width: 260px; height: 260px; inset: -60px -50px auto auto; }
.cta__obj--bl { width: 300px; height: 300px; inset: auto auto -90px -70px; }

/* ---------- news ---------- */
.section--news { overflow: hidden; }
.news-glow { position: absolute; left: 50%; top: -260px; width: 900px; height: 520px; margin-left: -450px; border-radius: 50%; background: radial-gradient(closest-side, rgba(91, 124, 255, 0.35), transparent); filter: blur(20px); pointer-events: none; }
.news { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; border: 1px solid var(--line); background: rgba(12, 12, 20, 0.8); }
.post { position: relative; padding: 26px 28px; display: flex; flex-direction: column; min-height: 200px; transition: background 0.4s; }
.post:hover { background: rgba(255, 255, 255, 0.02); }
.post + .post { border-left: 1px solid var(--line); }
.post:nth-child(3) { border-top: 1px solid var(--line); }
.post--big { grid-row: span 2; }
.chip { align-self: flex-start; font-size: 10.5px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; padding: 5px 12px; border-radius: 100px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.03); }
.post__img { position: relative; margin: 18px 0 auto auto; width: 62%; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 2px; background: #0a0a12; }
.post__img canvas { width: 100%; height: 100%; transition: transform 1s var(--ease); }
.post:hover .post__img canvas { transform: scale(1.06); }
.post h3 { font-family: var(--f-head); font-weight: 500; font-size: 20px; line-height: 1.3; letter-spacing: -0.01em; margin: 26px 0 auto; max-width: 420px; transition: color 0.3s; }
.post--big h3 { margin-top: 40px; }
.post:hover h3 { color: var(--gold-1); }
.post__foot { display: flex; justify-content: space-between; align-items: center; margin-top: 28px; }
.author { display: flex; align-items: center; gap: 12px; }
.av { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 11px; font-weight: 600; color: #1a1205; background: var(--gold); box-shadow: 0 0 0 2px #0a0a12, 0 0 0 3px rgba(231, 185, 79, 0.4); }
.author b { display: block; font-size: 13.5px; font-weight: 500; }
.author small { color: var(--muted); font-size: 11.5px; }
.post time { font-family: var(--f-mono); font-size: 11.5px; color: var(--muted); }

/* ---------- footer ---------- */
.footer { position: relative; padding: 90px 0 clamp(150px, 19vw, 300px); overflow: hidden; border-top: 1px solid var(--line); }
.footer__glow { position: absolute; left: -10%; right: -10%; bottom: -40px; height: 640px; background: radial-gradient(55% 60% at 50% 100%, rgba(230, 140, 40, 0.75), rgba(150, 85, 25, 0.35) 45%, transparent 75%); pointer-events: none; }
.footer { background: linear-gradient(180deg, #06060a, #07080e 40%, #0a0c14); }
.footer .container { position: relative; z-index: 2; max-width: 980px; }
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 16px; }
.fbox { position: relative; padding: 26px 24px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.fbox::before, .fbox::after { content: ""; position: absolute; width: 8px; height: 8px; transform: rotate(45deg); border: 1px solid rgba(255, 255, 255, 0.3); background: var(--bg); }
.fbox::before { top: -5px; left: -4px; } .fbox::after { top: -5px; right: -4px; }
.fbox h4 { margin: 0 0 8px; font-size: 14px; font-weight: 600; }
.fbox a { font-size: 13px; color: #c9c9d3; transition: color 0.25s; }
.fbox a:hover { color: var(--gold-2); }
.fbox--brand p { margin: 0 0 8px; font-size: 13px; color: #d6d6de; }
.subscribe { width: 100%; text-align: left; }
.subscribe label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.subscribe div { display: flex; gap: 6px; padding: 5px 5px 5px 14px; border-radius: 6px; background: #12121a; border: 1px solid var(--line-2); }
.subscribe input { flex: 1; min-width: 0; background: none; border: 0; color: #fff; font: inherit; font-size: 13px; outline: none; }
.subscribe__ok { display: block; margin-top: 8px; color: var(--gold-2); }
.subscribe__ok[hidden] { display: none; }
.footer__bottom { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 50px; }
.fbox--row { flex-direction: row; justify-content: center; font-size: 12.5px; color: #c9c9d3; }
.socials { gap: 22px; }
.socials svg { width: 17px; height: 17px; }
.footer__word { position: absolute; left: 50%; bottom: -0.22em; transform: translateX(-50%); font-family: var(--f-head); font-weight: 600; font-size: clamp(90px, 16.5vw, 260px); letter-spacing: -0.04em; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(255, 220, 160, 0.09); background: linear-gradient(180deg, rgba(255, 210, 140, 0.12), transparent 70%); -webkit-background-clip: text; background-clip: text; pointer-events: none; white-space: nowrap; z-index: 1; }

/* ---------- roadmap: ascent ---------- */
.ascent-stats { display: grid; grid-template-columns: repeat(3, auto) 1fr; gap: 44px; align-items: end; padding: 22px 28px; border: 1px solid var(--line); background: linear-gradient(90deg, rgba(231, 185, 79, 0.06), transparent 60%), var(--card); margin-bottom: 70px; }
.ascent-stats b { display: block; font-family: var(--f-head); font-weight: 500; font-size: 28px; letter-spacing: -0.02em; background: var(--gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ascent-stats span { font-size: 12.5px; color: var(--muted); }
.ascent-stats__bar { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; align-items: center; }
.ascent-stats__bar span { grid-column: 1 / -1; }
.ascent-stats__bar i { height: 6px; border-radius: 3px; background: var(--line-2); overflow: hidden; }
.ascent-stats__bar em { display: block; height: 100%; width: 0; background: var(--gold-h); box-shadow: 0 0 12px rgba(231, 185, 79, 0.6); transition: width 1.8s var(--ease) 0.3s; }
.ascent-stats.is-in .ascent-stats__bar em { width: var(--p); }
.ascent-stats__bar small { font-family: var(--f-mono); color: var(--gold-1); }

.ascent { position: relative; padding: 10px 0; }
.ascent__rail { position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: linear-gradient(180deg, transparent, var(--line-2) 4%, var(--line-2) 96%, transparent); }
.ascent__fill { position: absolute; inset: 0; background: linear-gradient(180deg, #fbe7a1, #e7b94f 60%, #b07a1f); transform-origin: top; transform: scaleY(0); box-shadow: 0 0 14px rgba(231, 185, 79, 0.7); }
.ascent__orb { position: absolute; left: 50%; top: 0; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff8dc, #f2c45a 45%, #9a6614); box-shadow: 0 0 0 6px rgba(231, 185, 79, 0.15), 0 0 30px 6px rgba(231, 185, 79, 0.65); transform: translate(-50%, 0); }
.stage { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 90px; margin-bottom: 34px; }
.stage__node { position: absolute; left: 50%; top: 26px; width: 46px; height: 46px; margin-left: -23px; display: grid; place-items: center; font-family: var(--f-mono); font-size: 12px; color: var(--muted); z-index: 2; isolation: isolate; transition: color 0.5s; }
.stage__node::before { content: ""; position: absolute; inset: 6px; z-index: -1; transform: rotate(45deg); background: #0a0a10; border: 1px solid var(--line-2); transition: 0.5s var(--ease); }
.stage__card { grid-column: 1; padding: 26px 28px 24px; border: 1px solid var(--line); background: var(--card); position: relative; transition: border-color 0.4s, transform 0.5s var(--ease), box-shadow 0.4s; }
.stage:nth-of-type(even) .stage__card { grid-column: 2; }
.stage__card::before { content: ""; position: absolute; top: 48px; width: 46px; height: 1px; background: linear-gradient(90deg, var(--line-2), transparent); }
.stage:nth-of-type(odd) .stage__card::before { right: -46px; background: linear-gradient(270deg, transparent, var(--line-2)); }
.stage:nth-of-type(even) .stage__card::before { left: -46px; }
.stage__card:hover { transform: translateY(-4px); border-color: rgba(231, 185, 79, 0.35); box-shadow: 0 30px 60px -30px rgba(231, 185, 79, 0.25); }
.stage__card header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.stage__card header em { font-style: normal; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.12em; color: var(--gold-2); }
.stage__card h3 { margin: 0 0 6px; font-family: var(--f-head); font-weight: 500; font-size: 26px; letter-spacing: -0.02em; }
.stage__card p { margin: 0 0 14px; font-size: 14px; color: var(--muted); }
.stage__card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 7px; }
.stage__card li { position: relative; padding-left: 24px; font-size: 13.5px; color: #c9c9d3; }
.stage__card li::before { content: ""; position: absolute; left: 2px; top: 5px; width: 10px; height: 10px; border: 1px solid var(--line-2); border-radius: 50%; }
.stage__card li.ok { color: #e8e8ee; }
.stage__card li.ok::before { content: "✓"; display: grid; place-items: center; width: 14px; height: 14px; left: 0; top: 3px; font-size: 9px; font-weight: 700; color: #1a1205; background: var(--gold); border: 0; }
.stage__kpi { margin-top: 16px; padding-top: 12px; border-top: 1px dashed var(--line-2); font-size: 13px; color: #d8d8e0; }
.stage__kpi span { font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.12em; color: var(--gold-2); margin-right: 10px; padding: 2px 6px; border: 1px solid rgba(231, 185, 79, 0.4); }
.st { font-style: normal; font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; padding: 3px 8px; border: 1px solid var(--line-2); color: var(--muted); border-radius: 2px; white-space: nowrap; }
.st--done { color: var(--up); border-color: rgba(33, 211, 107, 0.4); }
.st--now { color: var(--gold-1); border-color: var(--gold-2); animation: blink 1.6s steps(2) infinite; }
.st--gold { color: #1a1205; background: var(--gold); border-color: transparent; }
.stage.is-done .stage__node, .stage.is-passed .stage__node { color: #1a1205; font-weight: 600; }
.stage.is-done .stage__node::before, .stage.is-passed .stage__node::before { background: var(--gold); border-color: transparent; box-shadow: 0 0 24px rgba(231, 185, 79, 0.55); }
.stage.is-now .stage__node { color: var(--gold-1); }
.stage.is-now .stage__node::before { border-color: var(--gold-2); animation: pulse 2s infinite; }
.stage.is-now.is-passed .stage__node { color: #1a1205; }
.stage.is-now .stage__card { border-color: rgba(231, 185, 79, 0.45); background: linear-gradient(180deg, rgba(231, 185, 79, 0.07), var(--card) 60%); }
.stage--gold .stage__card { background: radial-gradient(90% 120% at 100% 0%, rgba(231, 185, 79, 0.14), transparent 60%), var(--card); border-color: rgba(231, 185, 79, 0.3); }

/* equity rails */
.eq { display: grid; grid-template-columns: 1.25fr 1fr; gap: 20px; align-items: stretch; }
.eq-board { border: 1px solid rgba(126, 226, 255, 0.22); background: radial-gradient(80% 100% at 0% 0%, rgba(91, 160, 255, 0.1), transparent 60%), #08090f; font-size: 13.5px; }
.eq-board__bar { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.eq-board__bar span { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: #7ee2ff; }
.eq-board__bar em { font-style: normal; font-size: 11px; color: var(--dim); font-family: var(--f-mono); }
.eq-row { display: grid; grid-template-columns: 0.9fr 1fr 1fr 0.9fr 1.5fr; gap: 10px; align-items: center; padding: 13px 20px; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; transition: background 0.3s; }
.eq-row:last-child { border-bottom: 0; }
.eq-row:not(.eq-row--head):hover { background: rgba(126, 226, 255, 0.04); }
.eq-row--head { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); padding-top: 10px; padding-bottom: 10px; }
.eq-row b { font-family: var(--f-mono); font-weight: 500; color: var(--gold-1); }
.eq-row i { font-style: normal; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.06em; padding: 3px 8px; border-radius: 2px; border: 1px solid; white-space: nowrap; }
.eq-ok { color: var(--up); border-color: rgba(33, 211, 107, 0.4); background: rgba(33, 211, 107, 0.06); }
.eq-block { color: var(--down); border-color: rgba(255, 59, 59, 0.4); background: rgba(255, 59, 59, 0.07); }
.eq-wait { color: #9fb4ff; border-color: rgba(159, 180, 255, 0.4); }
.eq-cap { color: #ffb020; border-color: rgba(255, 176, 32, 0.4); }
.eq-cards { display: grid; gap: 12px; }
.eq-card { padding: 22px 24px; border: 1px solid var(--line); background: var(--card); transition: border-color 0.3s, transform 0.4s var(--ease); }
.eq-card:hover { border-color: rgba(126, 226, 255, 0.35); transform: translateX(4px); }
.eq-card b { display: block; font-family: var(--f-head); font-weight: 500; font-size: 18px; margin-bottom: 6px; }
.eq-card p { margin: 0; font-size: 13.5px; color: var(--muted); }
@media (max-width: 900px) { .eq { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .eq-row { grid-template-columns: 1fr 1fr 1fr; padding: 12px 14px; font-size: 12.5px; }
  .eq-row > span:nth-child(3), .eq-row > span:nth-child(4) { display: none; }
  .eq-row i { font-size: 9.5px; }
}
.st--new { color: #7ee2ff; border-color: rgba(126, 226, 255, 0.5); background: rgba(126, 226, 255, 0.08); }
.stage--equity .stage__card { border-color: rgba(126, 226, 255, 0.3); background: radial-gradient(90% 120% at 0% 0%, rgba(91, 160, 255, 0.12), transparent 60%), var(--card); }
.stage--equity .stage__card li b { color: #fff; font-weight: 600; }
.parity { margin: 4px 0 16px; padding: 12px 14px; border: 1px solid rgba(126, 226, 255, 0.2); background: #07080e; font-size: 13px; }
.parity__row { display: grid; grid-template-columns: 74px 1fr auto; align-items: center; gap: 10px; padding: 5px 0; }
.parity__row span:not(.parity__tk) { color: var(--dim); font-size: 12px; }
.parity__row b { font-family: var(--f-mono); font-weight: 500; color: #fff; }
.parity__tk { font-family: var(--f-mono); font-size: 12px; padding: 2px 8px; border-radius: 2px; color: #1a1205; background: var(--gold); text-align: center; }
.parity__tk--ref { color: #cfe9ff; background: rgba(126, 226, 255, 0.12); border: 1px solid rgba(126, 226, 255, 0.35); }
.parity__verdict { margin-top: 8px; padding-top: 8px; border-top: 1px dashed var(--line-2); font-size: 12px; color: var(--muted); }
.parity__verdict i { font-style: normal; color: var(--up); }
.parity__verdict b { color: var(--up); font-weight: 500; }
.ladder-wrap { margin-top: 90px; padding: 40px 36px 30px; border: 1px solid var(--line); background: radial-gradient(70% 100% at 100% 100%, rgba(231, 185, 79, 0.12), transparent 60%), linear-gradient(180deg, #0c0c13, #08080d); position: relative; overflow: hidden; }
.ladder-head { max-width: 560px; margin-bottom: 30px; }
.ladder-head .label { margin-bottom: 10px; }
.ladder-head h3 { margin: 0 0 8px; font-family: var(--f-head); font-weight: 500; font-size: 32px; letter-spacing: -0.02em; }
.ladder-head p { margin: 0; color: var(--muted); font-size: 14px; }
.ladder { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; align-items: end; }
.rung { display: flex; flex-direction: column; justify-content: flex-end; }
.rung__bar { position: relative; flex: none; height: calc(var(--h) * 2.4px); min-height: 60px; transform-origin: bottom; transform: scaleY(0); transition: transform 1s var(--ease); border: 1px solid rgba(231, 185, 79, 0.35); border-bottom: 0; background: linear-gradient(180deg, rgba(251, 231, 161, 0.22), rgba(176, 122, 31, 0.05)); }
.rung__bar::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--gold-h); box-shadow: 0 0 16px rgba(231, 185, 79, 0.8); }
.rung__bar span { position: absolute; top: 12px; left: 14px; font-family: var(--f-head); font-size: 34px; font-weight: 500; color: rgba(251, 231, 161, 0.35); }
.rung:nth-child(n+2):nth-child(-n+3) .rung__bar { background: linear-gradient(180deg, rgba(251, 231, 161, 0.45), rgba(176, 122, 31, 0.08)); border-color: rgba(231, 185, 79, 0.6); }
.ladder.is-in .rung__bar { transform: scaleY(1); }
.ladder.is-in .rung:nth-child(2) .rung__bar { transition-delay: 0.1s; } .ladder.is-in .rung:nth-child(3) .rung__bar { transition-delay: 0.2s; }
.ladder.is-in .rung:nth-child(4) .rung__bar { transition-delay: 0.3s; } .ladder.is-in .rung:nth-child(5) .rung__bar { transition-delay: 0.4s; } .ladder.is-in .rung:nth-child(6) .rung__bar { transition-delay: 0.5s; }
.rung b { margin-top: 12px; font-family: var(--f-head); font-weight: 500; font-size: 15px; }
.rung small { font-size: 12px; color: var(--muted); line-height: 1.45; margin: 4px 0 10px; min-height: 52px; }
.rung .st { align-self: flex-start; }
.rung:hover .rung__bar { background: linear-gradient(180deg, rgba(251, 231, 161, 0.55), rgba(176, 122, 31, 0.1)); }
.ladder-note { margin: 22px 0 0; font-size: 11.5px; color: var(--dim); font-family: var(--f-mono); }

@media (max-width: 900px) {
  .ascent-stats { grid-template-columns: 1fr 1fr; gap: 22px; }
  .ascent-stats__bar { grid-column: 1 / -1; }
  .ascent__rail { left: 22px; }
  .ascent__orb { left: 50%; }
  .stage { grid-template-columns: 1fr; gap: 0; padding-left: 60px; }
  .stage__node { left: 22px; width: 36px; height: 36px; margin-left: -18px; top: 22px; }
  .stage__card, .stage:nth-of-type(even) .stage__card { grid-column: 1; }
  .stage__card::before { display: none; }
  .ladder { grid-template-columns: 1fr; height: auto; gap: 10px; }
  .rung { display: grid; grid-template-columns: calc(var(--h) * 1.1px + 40px) 1fr; grid-template-rows: auto auto auto; column-gap: 14px; height: auto; }
  .rung__bar { grid-row: 1 / 4; height: 64px; min-height: 0; transform: scaleX(0); transform-origin: left; border: 1px solid rgba(231, 185, 79, 0.35); border-right: 0; }
  .rung__bar::before { left: auto; top: 0; bottom: 0; right: 0; width: 3px; height: auto; }
  .rung__bar span { font-size: 22px; top: 50%; transform: translateY(-50%); }
  .ladder.is-in .rung__bar { transform: scaleX(1); }
  .rung b { margin-top: 4px; }
  .rung .st { justify-self: start; }
  .rung small { min-height: 0; margin: 2px 0 4px; }
}
@media (max-width: 560px) {
  .ladder-wrap { padding: 28px 18px 22px; }
  .stage { padding-left: 50px; }
  .stage__card { padding: 22px 18px 20px; }
  .stage__card h3 { font-size: 22px; }
}

/* ---------- playground ---------- */
.section--pg { overflow: hidden; }
.pg-glow { position: absolute; left: 50%; top: 120px; width: 1100px; height: 700px; margin-left: -550px; background: radial-gradient(closest-side, rgba(231, 185, 79, 0.1), transparent); pointer-events: none; }
.pg { display: grid; grid-template-columns: 290px minmax(0, 1fr); border: 1px solid var(--line); background: linear-gradient(180deg, #0c0c13, #08080d); box-shadow: 0 60px 140px -60px rgba(231, 185, 79, 0.25); }
.pg__tools { border-right: 1px solid var(--line); padding: 10px; display: flex; flex-direction: column; gap: 2px; max-height: 720px; overflow-y: auto; }
.pg-tool { display: flex; gap: 12px; align-items: flex-start; text-align: left; padding: 11px 12px; border: 1px solid transparent; transition: 0.25s var(--ease); }
.pg-tool i { flex: none; width: 30px; height: 30px; display: grid; place-items: center; font-style: normal; font-size: 12px; font-weight: 700; color: var(--gold-2); background: #12121b; border: 1px solid var(--line-2); border-radius: 6px; transition: 0.25s; }
.pg-tool b { display: block; font-family: var(--f-mono); font-size: 12.5px; font-weight: 500; color: #e6e6ee; }
.pg-tool em { display: block; font-style: normal; font-size: 11.5px; color: var(--dim); line-height: 1.4; margin-top: 2px; }
.pg-tool:hover { background: rgba(255, 255, 255, 0.02); }
.pg-tool.is-on { border-color: rgba(231, 185, 79, 0.4); background: linear-gradient(90deg, rgba(231, 185, 79, 0.1), transparent); }
.pg-tool.is-on i { background: var(--gold); color: #1a1205; border-color: transparent; }
.pg-tool.is-on b { color: var(--gold-1); }
.pg__main { min-width: 0; display: flex; flex-direction: column; }

.pg__pipe { display: flex; align-items: center; padding: 22px 26px; border-bottom: 1px solid var(--line); background: radial-gradient(80% 140% at 50% 0%, rgba(91, 124, 255, 0.08), transparent); }
.pipe-step { flex: none; display: flex; flex-direction: column; align-items: center; gap: 6px; width: 72px; opacity: 0.45; transition: opacity 0.3s; }
.pipe-step i { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 13px; color: #aaa; background: #0e0e16; border: 1px solid var(--line-2); transition: 0.35s var(--ease); }
.pipe-step span { font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.pipe-step.is-on, .pipe-step.is-run, .pipe-step.is-err { opacity: 1; }
.pipe-step.is-on i { background: var(--gold); color: #1a1205; border-color: transparent; box-shadow: 0 0 22px rgba(231, 185, 79, 0.55); }
.pipe-step.is-run i { border-color: var(--gold-2); color: var(--gold-2); animation: pulse 1.1s infinite; }
.pipe-step.is-err i { background: #3a0d0d; color: #ff6b6b; border-color: #ff3b3b; box-shadow: 0 0 22px rgba(255, 59, 59, 0.45); }
.pipe-line { flex: 1; height: 2px; background: var(--line-2); position: relative; overflow: hidden; margin: 0 4px 18px; }
.pipe-line b { position: absolute; inset: 0; background: var(--gold-h); transform: scaleX(0); transform-origin: left; transition: transform 0.26s linear; }
.pipe-line.is-on b { transform: scaleX(1); }
.pg__pipe.no-policy .pipe-step[data-step="policy"] { opacity: 0.18; }

.pg__form { padding: 22px 26px; border-bottom: 1px solid var(--line); }
.pg__head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
.pg__head code { font-family: var(--f-mono); font-size: 17px; color: var(--gold-1); }
.pg__head span { font-size: 13px; color: var(--muted); }
.pg__fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.fld { display: flex; flex-direction: column; gap: 6px; }
.fld span { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); }
.fld input, .fld select, .select select { width: 100%; padding: 11px 12px; background: #07070c; border: 1px solid var(--line-2); color: #fff; font-family: var(--f-mono); font-size: 13px; outline: none; border-radius: 2px; transition: border-color 0.25s, box-shadow 0.25s; }
.fld input:focus, .fld select:focus, .select select:focus { border-color: var(--gold-2); box-shadow: 0 0 0 3px rgba(231, 185, 79, 0.12); }
.fld-none { margin: 0; font-size: 13px; color: var(--dim); font-family: var(--f-mono); }
.presets { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; }
.presets button { font-size: 11.5px; padding: 5px 10px; border: 1px dashed rgba(231, 185, 79, 0.4); color: var(--gold-1); border-radius: 100px; transition: 0.2s; }
.presets button:hover { background: rgba(231, 185, 79, 0.1); border-style: solid; }
.pg__actions { display: flex; align-items: center; gap: 16px; margin-top: 18px; flex-wrap: wrap; }
.pg__hint { font-size: 12px; color: var(--muted); font-family: var(--f-mono); }
.btn.is-loading { opacity: 0.7; pointer-events: none; }
.btn.is-loading i { animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.pg__out { flex: 1; display: flex; flex-direction: column; min-height: 300px; }
.pg__tabs { display: flex; align-items: center; border-bottom: 1px solid var(--line); padding: 0 14px; }
.pg__tabs button { padding: 12px 14px; font-size: 12.5px; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.pg__tabs button.is-on { color: var(--gold-1); border-bottom-color: var(--gold-2); }
.pg__tabs em { margin-left: auto; font-style: normal; font-family: var(--f-mono); font-size: 11px; color: var(--muted); }
.pg__tabs em i { font-style: normal; } .pg__tabs em .ok { color: var(--up); } .pg__tabs em .bad { color: var(--down); }
.pg__panel { display: none; padding: 22px 26px; }
.pg__panel.is-on { display: block; animation: toolIn 0.4s var(--ease) forwards; }
.pg__panel pre { margin: 0; font-family: var(--f-mono); font-size: 12.5px; line-height: 1.7; color: #cfcfd8; white-space: pre-wrap; word-break: break-word; max-height: 420px; overflow: auto; }
.pg__panel pre .k { color: #9fb4ff; } .pg__panel pre .s { color: var(--gold-1); } .pg__panel pre .n { color: #7ee2a8; } .pg__panel pre .c { color: var(--dim); }
.pg__empty { color: var(--dim); font-size: 14px; margin: 30px 0; text-align: center; }
.pg__empty b { color: var(--gold-2); }
.pg__loading { display: flex; gap: 8px; justify-content: center; padding: 50px 0; }
.pg__loading span { width: 9px; height: 9px; border-radius: 50%; background: var(--gold-2); animation: blink 0.9s infinite; }
.pg__loading span:nth-child(2) { animation-delay: 0.15s; } .pg__loading span:nth-child(3) { animation-delay: 0.3s; }

.r-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.r-grid--2 { grid-template-columns: 1fr 1fr; margin-top: 14px; } .r-grid--3 { grid-template-columns: repeat(3, 1fr); margin-top: 14px; }
.r-card { padding: 14px 16px; border: 1px solid var(--line); background: #0b0b12; display: flex; flex-direction: column; gap: 2px; animation: toolIn 0.5s var(--ease) both; }
.r-card small { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.08em; color: var(--dim); text-transform: uppercase; }
.r-card b { font-family: var(--f-head); font-weight: 500; font-size: 22px; letter-spacing: -0.01em; }
.r-card em, .r-list em { font-style: normal; font-size: 12px; font-family: var(--f-mono); }
.up { color: var(--up); } .down { color: var(--down); }
.r-list { margin: 0; padding: 0; list-style: none; counter-reset: r; }
.r-list li { counter-increment: r; display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.r-list li::before { content: counter(r, decimal-leading-zero); font-family: var(--f-mono); font-size: 11px; color: var(--gold-2); width: 26px; flex: none; padding-top: 2px; }
.r-list li > span:first-child { flex: 1; }
.r-list small { color: var(--dim); font-family: var(--f-mono); font-size: 11px; margin-left: 4px; }
.r-big { display: flex; flex-direction: column; gap: 4px; }
.r-big b { font-family: var(--f-head); font-weight: 500; font-size: 44px; letter-spacing: -0.03em; line-height: 1.05; background: var(--gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.r-big b small { font-size: 20px; }
.r-big span { font-size: 13px; color: var(--muted); }
.r-addr { display: inline-block; margin-top: 14px; font-family: var(--f-mono); font-size: 12px; color: var(--muted); word-break: break-all; }
.r-scan { display: grid; grid-template-columns: 130px 1fr; gap: 24px; align-items: center; }
.r-scan svg text { font-family: var(--f-head); font-size: 30px; font-weight: 500; fill: #fff; }
.r-scan b { display: block; font-family: var(--f-head); font-weight: 500; font-size: 20px; margin-bottom: 4px; }
.r-scan span { font-size: 13px; color: var(--muted); }
.r-scan ul { margin: 12px 0 0; padding: 0; list-style: none; display: grid; gap: 5px; }
.r-scan li { font-size: 13px; color: #d0d0da; padding-left: 18px; position: relative; }
.r-scan li::before { content: "▸"; position: absolute; left: 0; color: var(--gold-2); }
.g-bg { fill: none; stroke: rgba(255, 255, 255, 0.07); stroke-width: 7; }
.g-anim { animation: gauge 1.2s var(--ease) forwards; }
@keyframes gauge { to { stroke-dashoffset: var(--to); } }
.r-verdict { padding: 16px 18px; border: 1px solid; display: flex; flex-direction: column; gap: 4px; margin-top: 4px; animation: toolIn 0.5s var(--ease) both; }
.r-verdict b { font-family: var(--f-mono); font-size: 16px; letter-spacing: 0.04em; font-weight: 500; }
.r-verdict span { font-size: 13.5px; color: #cfcfd8; }
.r-verdict.good { border-color: rgba(33, 211, 107, 0.4); background: rgba(33, 211, 107, 0.06); } .r-verdict.good b { color: var(--up); }
.r-verdict.warn { border-color: rgba(255, 176, 32, 0.4); background: rgba(255, 176, 32, 0.06); } .r-verdict.warn b { color: #ffb020; }
.r-verdict.bad { border-color: rgba(255, 59, 59, 0.4); background: rgba(255, 59, 59, 0.06); } .r-verdict.bad b { color: var(--down); }
.r-big + .r-verdict { margin-top: 16px; }
.pg-tool sup { margin-left: 6px; padding: 1px 5px; font-size: 9px; letter-spacing: 0.08em; text-transform: uppercase; vertical-align: 2px; color: #1a1205; background: var(--gold); border-radius: 3px; font-family: var(--f-mono); }
.r-swap { display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: center; animation: toolIn 0.5s var(--ease) both; }
.r-swap > div { padding: 14px 16px; border: 1px solid var(--line); background: #0b0b12; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.r-swap small { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.08em; color: var(--dim); text-transform: uppercase; }
.r-swap b { font-family: var(--f-head); font-weight: 500; font-size: 24px; letter-spacing: -0.02em; overflow-wrap: anywhere; }
.r-swap b i { font-style: normal; font-size: 14px; color: var(--gold-1); }
.r-swap span { font-size: 12px; color: var(--muted); font-family: var(--f-mono); }
.r-swap > em { font-style: normal; font-size: 22px; color: var(--gold-2); }
.r-swap + .r-verdict { margin-top: 14px; }
.r-checks { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.r-checks li { display: grid; grid-template-columns: 22px 110px 1fr; gap: 10px; align-items: baseline; padding: 8px 10px; border: 1px solid var(--line); background: #0a0a11; font-size: 13px; animation: toolIn 0.5s var(--ease) both; }
.r-checks li:nth-child(2) { animation-delay: 0.06s; } .r-checks li:nth-child(3) { animation-delay: 0.12s; } .r-checks li:nth-child(4) { animation-delay: 0.18s; } .r-checks li:nth-child(5) { animation-delay: 0.24s; }
.r-checks i { font-style: normal; font-family: var(--f-mono); font-weight: 700; text-align: center; }
.r-checks b { font-family: var(--f-mono); font-weight: 500; font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.06em; color: #cfcfd8; }
.r-checks span { color: var(--muted); overflow-wrap: anywhere; }
.r-checks .pass i { color: var(--up); } .r-checks .warn i { color: #ffb020; } .r-checks .fail i { color: var(--down); }
.r-checks .fail { border-color: rgba(255, 59, 59, 0.3); }
.r-sub { margin: 16px 0 8px; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--dim); }
.r-flow { display: grid; gap: 6px; margin-top: 12px; }
.r-sub + .r-flow { margin-top: 0; }
.r-flow > div { display: grid; grid-template-columns: 26px 1fr auto; align-items: center; gap: 10px; padding: 10px 14px; border: 1px solid var(--line); background: #0b0b12; animation: toolIn 0.5s var(--ease) both; }
.r-flow i { font-style: normal; font-family: var(--f-mono); font-size: 18px; font-weight: 700; }
.r-flow b { font-family: var(--f-head); font-weight: 500; font-size: 17px; overflow-wrap: anywhere; }
.r-flow span { font-family: var(--f-mono); font-size: 12.5px; color: var(--muted); }
.r-flow .out i { color: var(--down); } .r-flow .in i { color: var(--up); }
.r-flow .out { border-left: 2px solid rgba(255, 59, 59, 0.6); } .r-flow .in { border-left: 2px solid rgba(33, 211, 107, 0.6); }
.r-revert { margin: 12px 0 0; padding: 10px 14px; font-family: var(--f-mono); font-size: 13px; color: #ffd0d0; background: rgba(255, 59, 59, 0.06); border: 1px dashed rgba(255, 59, 59, 0.4); }
.r-appr { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; margin-top: 10px; padding: 12px 14px; border: 1px solid rgba(255, 59, 59, 0.35); background: repeating-linear-gradient(-45deg, rgba(255, 59, 59, 0.05) 0 8px, transparent 8px 16px); }
.r-appr b { font-family: var(--f-head); font-weight: 500; font-size: 17px; color: #ffb4b4; }
.r-appr span { font-size: 13px; color: var(--muted); }
.r-appr code { font-family: var(--f-mono); color: #e6e6ee; }
.r-appr em { font-style: normal; font-family: var(--f-mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.06em; padding: 1px 6px; color: #1a0505; background: var(--down); border-radius: 3px; }
.r-warns { margin: 12px 0; padding: 0; list-style: none; display: grid; gap: 5px; }
.r-warns li { font-size: 13px; padding-left: 20px; position: relative; color: #d8d8e0; overflow-wrap: anywhere; }
.r-warns li::before { content: "▲"; position: absolute; left: 0; top: 1px; font-size: 10px; }
.r-warns .high::before { color: var(--down); } .r-warns .medium::before { color: #ffb020; }
.r-pol { margin: 14px 0 0; padding-top: 12px; border-top: 1px dashed var(--line-2); display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: baseline; font-size: 12.5px; color: var(--muted); }
.r-pol span { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); }
.r-pol b { font-family: var(--f-mono); font-weight: 500; font-size: 11.5px; text-transform: uppercase; padding: 1px 7px; border: 1px solid; border-radius: 3px; }
.r-pol .allow { color: var(--up); } .r-pol .needs_approval { color: #ffb020; } .r-pol .deny { color: var(--down); }
@media (max-width: 640px) {
  .r-swap { grid-template-columns: 1fr; } .r-swap > em { transform: rotate(90deg); justify-self: center; }
  .r-checks li { grid-template-columns: 20px 1fr; } .r-checks span { grid-column: 2; }
}
.r-note { margin: 12px 0 0; font-size: 12px; color: var(--dim); font-family: var(--f-mono); }
.r-bar { height: 6px; background: var(--line); margin: 16px 0 4px; border-radius: 3px; overflow: hidden; }
.r-bar i { display: block; height: 100%; background: var(--gold-h); }
.r-err { display: flex; flex-direction: column; gap: 6px; padding: 18px; border: 1px solid rgba(255, 59, 59, 0.4); background: rgba(255, 59, 59, 0.05); }
.r-err b { color: var(--down); font-family: var(--f-mono); font-weight: 500; }
.r-err span { font-family: var(--f-mono); font-size: 13px; color: #ffd0d0; }
.r-err small { color: var(--muted); font-size: 12.5px; }

/* simulator */
.sim { display: grid; grid-template-columns: 1.15fr 1fr; gap: 0; margin-top: 24px; border: 1px solid var(--line); background: var(--card); }
.sim__controls { padding: 30px 32px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 18px; }
.sim__controls .label { margin: 0; }
.sim__title { margin: -6px 0 4px; font-family: var(--f-head); font-weight: 500; font-size: 26px; letter-spacing: -0.02em; }
.range { display: flex; flex-direction: column; gap: 10px; }
.range span { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); }
.range b { color: var(--gold-1); font-family: var(--f-mono); font-weight: 500; }
.range input { -webkit-appearance: none; appearance: none; width: 100%; height: 4px; border-radius: 2px; background: var(--line-2); outline: none; }
.range input::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; border-radius: 50%; background: var(--gold); border: 0; box-shadow: 0 0 0 4px rgba(231, 185, 79, 0.18), 0 0 14px rgba(231, 185, 79, 0.6); cursor: pointer; }
.range input::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #e7b94f; border: 0; cursor: pointer; }
.sim__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: end; }
.select { display: flex; flex-direction: column; gap: 6px; }
.select span { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); }
.toggle { display: flex; align-items: center; gap: 12px; cursor: pointer; font-size: 13px; color: #cfcfd8; }
.toggle input { position: absolute; opacity: 0; pointer-events: none; }
.toggle i { flex: none; width: 38px; height: 22px; border-radius: 11px; background: #1a1a24; border: 1px solid var(--line-2); position: relative; transition: 0.3s; }
.toggle i::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #777; transition: 0.3s var(--ease); }
.toggle input:checked + i { background: rgba(255, 59, 59, 0.25); border-color: #ff3b3b; }
.toggle input:checked + i::after { left: 18px; background: #ff5a5a; }
.toggle input:focus-visible + i { box-shadow: 0 0 0 3px rgba(231, 185, 79, 0.3); }
.toggle em { font-style: italic; color: var(--muted); }
.sim__result { padding: 30px 32px; display: flex; flex-direction: column; gap: 18px; transition: background 0.5s; --c: var(--up); }
.sim__result[data-d="needs_approval"] { --c: #ffb020; background: linear-gradient(180deg, rgba(255, 176, 32, 0.06), transparent); }
.sim__result[data-d="deny"] { --c: var(--down); background: linear-gradient(180deg, rgba(255, 59, 59, 0.07), transparent); }
.sim__result[data-d="allow"] { background: linear-gradient(180deg, rgba(33, 211, 107, 0.05), transparent); }
.sim__gauge { display: flex; align-items: center; gap: 22px; }
.sim__gauge svg { width: 120px; height: 120px; flex: none; transform: rotate(-90deg); }
.sim__gauge .g-fg { fill: none; stroke: var(--c); stroke-width: 8; stroke-linecap: round; transition: stroke-dashoffset 0.5s var(--ease), stroke 0.4s; filter: drop-shadow(0 0 8px var(--c)); }
.sim__gauge b { display: block; font-family: var(--f-mono); font-size: 30px; font-weight: 500; color: var(--c); letter-spacing: 0.02em; transition: color 0.4s; }
.sim__gauge span { font-size: 13px; color: var(--muted); }
.sim__reasons { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.sim__reasons li { font-size: 13.5px; color: #d6d6de; padding: 10px 14px; border: 1px solid var(--line); background: #09090f; border-left: 2px solid var(--c); animation: toolIn 0.35s var(--ease) both; }
.sim__note { margin: auto 0 0; font-size: 12px; color: var(--dim); }
.sim__note code { font-family: var(--f-mono); color: var(--gold-1); font-size: 11.5px; }

@media (max-width: 900px) {
  .pg { grid-template-columns: 1fr; }
  .pg__tools { flex-direction: row; overflow-x: auto; max-height: none; border-right: 0; border-bottom: 1px solid var(--line); scrollbar-width: none; }
  .pg-tool { flex: none; }
  .pg-tool em { display: none; }
  .sim { grid-template-columns: 1fr; }
  .sim__controls { border-right: 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .pg__pipe { padding: 16px 10px; }
  .pipe-step { width: 50px; }
  .pipe-step i { width: 30px; height: 30px; font-size: 11px; }
  .pipe-step span { font-size: 8.5px; }
  .pg__form, .pg__panel { padding: 18px 16px; }
  .sim__controls, .sim__result { padding: 24px 18px; }
  .sim__row { grid-template-columns: 1fr; }
  .r-scan { grid-template-columns: 1fr; justify-items: start; }
  .r-scan svg { width: 110px; }
  .r-big b { font-size: 34px; }
}

/* ---------- no-WebGL fallback ---------- */
.no-webgl .gold-scene { display: none; }
.no-webgl #globe { display: none; }
.no-webgl .hero__visual::after { content: ""; position: absolute; left: 50%; top: 50%; width: 380px; height: 380px; margin: -190px 0 0 -190px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #1a2250, #05060f 60%); box-shadow: 0 0 80px rgba(91, 124, 255, 0.5), inset 0 0 40px rgba(159, 180, 255, 0.6); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); filter: blur(6px); transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; filter: none; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav__links { gap: 22px; }
  .hero__inner { grid-template-columns: 1fr 1fr; }
  .tool-list { grid-template-columns: repeat(2, 1fr); }
  .glass { width: 250px; }
  .grid-why { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav__links, .nav__gh, .nav__cta > .btn { display: none; }
  .nav__burger { display: block; }
  .mobile-menu { display: flex; flex-direction: column; gap: 4px; padding: 0 24px; max-height: 0; overflow: hidden; background: rgba(6, 6, 10, 0.96); backdrop-filter: blur(16px); transition: max-height 0.5s var(--ease), padding 0.5s var(--ease); }
  .mobile-menu a { padding: 14px 0; border-bottom: 1px solid var(--line); font-family: var(--f-head); font-size: 20px; }
  .mobile-menu .btn { margin: 18px 0 8px; justify-content: center; border: 0; font-family: var(--f-body); font-size: 12px; }
  .nav.is-open { background: rgba(6, 6, 10, 0.96); }
  .nav.is-open .mobile-menu { max-height: 560px; padding: 8px 24px 24px; }
  .hero__frame { margin: 0; }
  .hero__inner { grid-template-columns: 1fr; padding-top: 48px; gap: 0; align-content: start; }
  .hero__visual { min-height: 440px; order: 2; margin: 0 -24px; }
  #globe { inset: -20px 0 0 0; width: 100%; height: calc(100% + 20px); }
  .grid-what, .grid-2, .grid-install, .term-wrap { grid-template-columns: 1fr; }
  .grid-why { grid-template-columns: 1fr 1fr; }
  .card--visual { min-height: 380px; }
  .grid-token { grid-template-columns: 1fr; }
  .token-visual { min-height: 340px; border: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 0; }
  .tokenomics { grid-template-columns: repeat(2, 1fr); }
  .tokenomics .tk:last-child { grid-column: span 2; }
  .fan { flex-direction: column; align-items: center; gap: 0; }
  .glass { width: min(320px, 90%); }
  .glass--l { transform: rotate(-4deg); } .glass--c { transform: rotate(3deg) translateY(-10px); } .glass--r { transform: rotate(-3deg) translateY(-20px); }
  .roadmap { grid-template-columns: 1fr 1fr; }
  .roadmap__line { display: none; }
  .phase::before { top: 24px; left: auto; right: 22px; }
  .news { grid-template-columns: 1fr; grid-template-rows: auto; }
  .post--big { grid-row: auto; }
  .post + .post { border-left: 0; border-top: 1px solid var(--line); }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .fbox--brand { grid-column: span 2; }
  .footer__bottom { grid-template-columns: 1fr; }
  .prompts { grid-template-columns: 1fr 1fr; }
  .orrery { height: 420px; margin: -40px -20px -90px; }
  .orrery__chips span:nth-child(n+3) { display: none; }
}
@media (max-width: 560px) {
  body { font-size: 14.5px; }
  .container { padding: 0 16px; }
  .section { padding: 80px 0; }
  .hero__inner { padding-top: 44px; padding-bottom: 24px; }
  .hero__title { font-size: 42px; }
  .hero__meta { gap: 28px; }
  .hero__visual { min-height: 380px; margin: 0 -16px; }
  .tag { font-size: 10.5px; padding: 7px 10px 7px 0; }
  .tag--1 { right: 4%; top: 2%; } .tag--2 { right: 2%; top: 10%; } .tag--3 { display: none; }
  .globe-chips button:nth-child(n+5) { display: none; }
  .stats { grid-template-columns: 1fr; margin-top: 60px; padding: 0 16px; }
  .spark-line { width: 110px; }
  .card--what { padding: 36px 24px; }
  .card__title { font-size: 26px; }
  .card--feature { padding: 26px 20px; }
  .feature-visual { height: 240px; }
  .tool-list { grid-template-columns: 1fr; }
  .token-card { padding: 30px 24px; }
  .prompts { grid-template-columns: 1fr; }
  .term__body { padding: 18px 16px; font-size: 12px; }
  .roadmap { grid-template-columns: 1fr; }
  .cta { height: 460px; }
  .cta__obj--tr { width: 180px; height: 180px; inset: -50px -50px auto auto; }
  .cta__obj--bl { width: 200px; height: 200px; inset: auto auto -70px -60px; }
  .post { padding: 22px 20px; }
  .post__img { width: 100%; }
  .footer__top { grid-template-columns: 1fr; }
  .fbox--brand { grid-column: auto; }
  .fbox--row { flex-wrap: wrap; text-align: center; }
  .orrery { height: 340px; margin: -30px -16px -70px; }
  .orrery__chips { display: none; }
  .grid-why { grid-template-columns: 1fr; }
  .why { min-height: 0; }
  .install__cmd { max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; filter: none; }
}

/* ---------- hero: new product pill ---------- */






/* ---------- Leeway Guard section ---------- */
.section--guard { overflow: hidden; }
.section--guard::before { content: ""; position: absolute; left: 50%; top: 38%; width: 900px; height: 620px; transform: translate(-10%, -50%); background: radial-gradient(closest-side, rgba(231, 185, 79, 0.09), transparent 70%); pointer-events: none; }
.gd { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; align-items: center; position: relative; }
.gd-feats { margin: 0; padding: 0; list-style: none; display: grid; gap: 22px; }
.gd-feats li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; }
.gd-feats i { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--gold-1); background: radial-gradient(circle at 35% 30%, #1d1d28, #0c0c12); box-shadow: 0 0 0 1px rgba(231, 185, 79, 0.3), 0 0 0 6px rgba(231, 185, 79, 0.04); }
.gd-feats svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.gd-feats b { display: block; font-family: var(--f-head); font-weight: 500; font-size: 17px; margin: 2px 0 4px; }
.gd-feats p { margin: 0; font-size: 13.5px; line-height: 1.6; color: var(--muted); }
.gd-feats code { font-family: var(--f-mono); font-size: 12px; color: var(--gold-1); }
.gd-feats em { font-style: normal; color: #e6e6ee; }
.gd-install { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.gd-stores { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.gd-store { display: inline-flex; align-items: center; gap: 8px; padding: 7px 10px 7px 9px; border: 1px solid var(--line-2); background: rgba(12, 12, 18, 0.7); font-size: 12.5px; color: #dcdce4; }
.gd-store svg { width: 17px; height: 17px; fill: none; stroke: #cfcfd8; stroke-width: 1.4; stroke-linecap: round; }
.gd-store b { font-weight: 500; }
.st--soon { color: var(--gold-1); border-color: rgba(231, 185, 79, 0.55); background: rgba(231, 185, 79, 0.08); }
.gd-note { margin: 14px 0 0; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.04em; color: var(--dim); }

/* mock browser window */
.gd-mock { position: relative; height: 520px; border: 1px solid rgba(255, 255, 255, 0.1); background: linear-gradient(180deg, #0e0e16, #08080d); box-shadow: 0 60px 140px -50px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(231, 185, 79, 0.06), 0 0 90px -40px rgba(231, 185, 79, 0.45); overflow: hidden; isolation: isolate; }
.gd-win__bar { display: flex; align-items: center; gap: 12px; height: 42px; padding: 0 14px; border-bottom: 1px solid var(--line); background: #0c0c13; }
.gd-dots { display: flex; gap: 6px; } .gd-dots i { width: 10px; height: 10px; border-radius: 50%; background: #262632; }
.gd-dots i:nth-child(1) { background: #ff5f57; } .gd-dots i:nth-child(2) { background: #febc2e; } .gd-dots i:nth-child(3) { background: #28c840; }
.gd-url { flex: 1; min-width: 0; display: flex; align-items: center; gap: 7px; height: 26px; padding: 0 10px; border-radius: 6px; background: #15151e; font-family: var(--f-mono); font-size: 11px; color: #9a9aa8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gd-url svg { flex: none; width: 12px; height: 12px; fill: none; stroke: #7a7a88; stroke-width: 1.6; }
.gd-ext { width: 28px; height: 26px; display: grid; place-items: center; border-radius: 6px; color: var(--gold-2); background: rgba(231, 185, 79, 0.08); box-shadow: inset 0 0 0 1px rgba(231, 185, 79, 0.25); transition: box-shadow 0.4s, background 0.4s; }
.gd-ext svg { width: 15px; height: 15px; }
.gd-win__body { position: relative; height: calc(100% - 42px); }

/* fake dApp */
.gd-dapp { position: absolute; inset: 0; padding: 18px 22px; background: radial-gradient(70% 60% at 50% 0%, rgba(91, 124, 255, 0.12), transparent 70%); transition: filter 0.5s var(--ease), opacity 0.5s; }
.gd-dapp__nav { display: flex; align-items: center; gap: 18px; font-size: 12.5px; color: #8d8d9b; }
.gd-dapp__nav b { color: #e9ecff; font-family: var(--f-head); font-weight: 600; font-size: 14px; margin-right: 6px; }
.gd-chip { margin-left: auto; padding: 4px 10px; border-radius: 100px; background: #171722; font-family: var(--f-mono); font-size: 10.5px; color: #b9bccc; }
.gd-swap { width: min(320px, 100%); margin: 38px auto 0; padding: 14px; border-radius: 16px; background: #12121b; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06), 0 30px 60px -30px rgba(0, 0, 0, 0.8); }
.gd-swap__row { padding: 12px 14px; border-radius: 12px; background: #0b0b12; }
.gd-swap__row small { display: block; font-size: 11px; color: #7d7d8c; margin-bottom: 6px; }
.gd-swap__row div { display: flex; align-items: center; justify-content: space-between; }
.gd-swap__row b { font-family: var(--f-head); font-weight: 500; font-size: 24px; color: #f0f0f6; }
.gd-tok { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 5px; border-radius: 100px; background: #1b1b26; font-size: 12px; font-weight: 600; color: #e6e6ee; }
.gd-tok::before { content: ""; width: 16px; height: 16px; border-radius: 50%; }
.gd-tok--usdc::before { background: radial-gradient(circle at 35% 30%, #7fb2ff, #2775ca); }
.gd-tok--eth::before { background: radial-gradient(circle at 35% 30%, #c8ccff, #6271d6); }
.gd-swap__arrow { width: 28px; height: 28px; margin: -6px auto; position: relative; z-index: 1; display: grid; place-items: center; border-radius: 8px; background: #1b1b26; border: 3px solid #12121b; font-size: 12px; color: #a6a6b4; }
.gd-confirm { width: 100%; height: 46px; margin-top: 12px; border-radius: 12px; font-family: var(--f-head); font-weight: 600; font-size: 14.5px; color: #fff; background: linear-gradient(180deg, #6d84ff, #4a63e8); box-shadow: 0 10px 30px -10px rgba(91, 124, 255, 0.7); transition: transform 0.15s; }
.gd-swap__meta { margin: 10px 0 0; text-align: center; font-size: 11px; color: #6c6c7a; }

/* Leeway Guard overlay */
.gd-guard { position: absolute; z-index: 3; top: 16px; right: 16px; width: min(330px, calc(100% - 32px)); padding: 16px; border: 1px solid rgba(255, 59, 59, 0.35); background: linear-gradient(180deg, rgba(20, 12, 14, 0.94), rgba(10, 10, 15, 0.96)); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(231, 185, 79, 0.1), 0 0 50px -20px rgba(255, 59, 59, 0.45); opacity: 0; transform: translateY(-14px) scale(0.98); pointer-events: none; transition: opacity 0.45s var(--ease), transform 0.55s var(--ease); }
.gd-guard::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--down), transparent); }
.gd-guard__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.gd-guard__brand { display: inline-flex; align-items: center; gap: 7px; font-family: var(--f-head); font-weight: 600; font-size: 12.5px; letter-spacing: 0.04em; color: var(--gold-1); }
.gd-guard__brand svg { width: 15px; height: 15px; color: var(--gold-2); }
.gd-guard__head em { font-style: normal; font-family: var(--f-mono); font-size: 9.5px; color: var(--dim); white-space: nowrap; }
.gd-verdict { padding: 10px 12px; border: 1px solid rgba(255, 59, 59, 0.4); background: rgba(255, 59, 59, 0.07); }
.gd-verdict b { display: block; font-family: var(--f-mono); font-weight: 500; font-size: 15px; letter-spacing: 0.06em; color: var(--down); }
.gd-verdict span { font-family: var(--f-mono); font-size: 10.5px; color: #c9c0c4; }
.gd-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-top: 8px; padding: 9px 12px; border: 1px solid var(--line); background: #0c0c12; font-size: 11.5px; color: var(--muted); }
.gd-row--appr { border-color: rgba(255, 59, 59, 0.35); background: repeating-linear-gradient(-45deg, rgba(255, 59, 59, 0.06) 0 7px, transparent 7px 14px); }
.gd-row--appr b { font-family: var(--f-head); font-weight: 500; font-size: 14px; color: #ffb4b4; }
.gd-row code { font-family: var(--f-mono); color: #ececf2; }
.gd-row em { font-style: normal; font-family: var(--f-mono); font-size: 9px; text-transform: uppercase; letter-spacing: 0.06em; padding: 1px 5px; border-radius: 2px; color: #1a0505; background: var(--down); }
.gd-flow { font-style: normal; font-family: var(--f-mono); font-weight: 700; color: var(--dim); }
.gd-warn { margin: 10px 0 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.gd-warn li { position: relative; padding-left: 15px; font-size: 11.5px; line-height: 1.45; color: #d6d6de; }
.gd-warn li::before { content: "▲"; position: absolute; left: 0; top: 1px; font-size: 8px; color: var(--down); }
.gd-guard__actions { display: grid; grid-template-columns: 1fr 1.25fr; gap: 8px; margin-top: 14px; }
.gd-reject, .gd-continue { height: 36px; padding: 0 8px; font-size: 12.5px; font-weight: 600; white-space: nowrap; transition: transform 0.15s; }
.gd-row--note { font-size: 11.5px; color: #b9b9c4; }
.gd-reject { background: var(--gold); color: #1a1205; box-shadow: 0 8px 24px -10px rgba(231, 185, 79, 0.8); }
.gd-continue { border: 1px solid var(--line-2); color: #9a9aa8; }
.gd-row, .gd-warn, .gd-guard__actions, .gd-verdict { opacity: 0; transform: translateY(6px); transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); }

/* toast */
.gd-toast { position: absolute; z-index: 4; left: 50%; bottom: 22px; display: flex; align-items: center; gap: 12px; padding: 12px 16px; min-width: 270px; border: 1px solid rgba(33, 211, 107, 0.4); background: rgba(10, 18, 14, 0.94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.9), 0 0 40px -16px rgba(33, 211, 107, 0.6); opacity: 0; transform: translate(-50%, 16px); transition: opacity 0.4s var(--ease), transform 0.5s var(--ease); }
.gd-toast > i { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 700; color: #04170c; background: var(--up); }
.gd-toast b { display: block; font-family: var(--f-mono); font-weight: 500; font-size: 13px; color: #b8ffd6; }
.gd-toast span { font-size: 11.5px; color: #9ab3a5; }

/* animated cursor */
.gd-cursor { position: absolute; z-index: 6; left: 0; top: 0; width: 22px; height: 22px; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.6)); transform: translate(var(--cx, 420px), var(--cy, 440px)); transition: transform 1s cubic-bezier(0.45, 0, 0.2, 1); pointer-events: none; }
.gd-cursor::after { content: none; }

/* states driven by main.js */
.gd-mock.is-press-confirm .gd-confirm, .gd-mock.is-press-reject .gd-reject { transform: scale(0.96); }
.gd-mock.is-guard .gd-dapp { filter: blur(2px) saturate(0.7); opacity: 0.55; }
.gd-mock.is-guard .gd-guard { opacity: 1; transform: none; }
.gd-mock.is-guard .gd-verdict { opacity: 1; transform: none; transition-delay: 0.15s; }
.gd-mock.is-guard .gd-row { opacity: 1; transform: none; transition-delay: 0.35s; }
.gd-mock.is-guard .gd-row + .gd-row { transition-delay: 0.5s; }
.gd-mock.is-guard .gd-warn { opacity: 1; transform: none; transition-delay: 0.65s; }
.gd-mock.is-guard .gd-guard__actions { opacity: 1; transform: none; transition-delay: 0.8s; }
.gd-mock.is-guard .gd-ext, .gd-mock.is-safe .gd-ext { background: rgba(231, 185, 79, 0.2); box-shadow: inset 0 0 0 1px rgba(231, 185, 79, 0.6), 0 0 14px rgba(231, 185, 79, 0.5); }
.gd-mock.is-safe .gd-toast { opacity: 1; transform: translate(-50%, 0); }
.gd-mock.is-reset > * { transition: none !important; }

/* two ways in */
.ways { margin-top: 90px; }
.ways__label { margin: 0 0 16px; text-align: center; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-2); }
.ways__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.way { position: relative; display: grid; grid-template-columns: 1fr auto; grid-template-areas: "s i" "b i" "t t" "c c"; gap: 4px 16px; padding: 24px 26px; border: 1px solid var(--line); background: linear-gradient(180deg, #0f0f17, #09090e); transition: border-color 0.4s, transform 0.5s var(--ease), background 0.4s; }
.way:hover { border-color: rgba(231, 185, 79, 0.45); transform: translateY(-3px); }
.way small { grid-area: s; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); }
.way b { grid-area: b; font-family: var(--f-head); font-weight: 500; font-size: 24px; letter-spacing: -0.01em; }
.way span { grid-area: t; font-size: 13.5px; color: var(--muted); margin-top: 4px; }
.way code { grid-area: c; justify-self: start; margin-top: 14px; padding: 6px 10px; font-family: var(--f-mono); font-size: 12px; color: var(--gold-1); background: rgba(231, 185, 79, 0.05); border: 1px dashed rgba(231, 185, 79, 0.35); }
.way i { grid-area: i; align-self: center; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; font-style: normal; color: var(--gold-2); box-shadow: 0 0 0 1px rgba(231, 185, 79, 0.35); transition: transform 0.4s var(--ease), background 0.4s, color 0.4s; }
.way:hover i { background: var(--gold); color: #1a1205; transform: translateX(3px); }
.way--guard { background: linear-gradient(180deg, rgba(231, 185, 79, 0.07), #09090e 70%); border-color: rgba(231, 185, 79, 0.25); }

@media (max-width: 1080px) { .gd { gap: 36px; } }
@media (max-width: 900px) {
  .gd { grid-template-columns: 1fr; }
  .gd-mock { height: 500px; }
  .ways__grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .hero__new { font-size: 11.5px; }
  .hero__new span { white-space: nowrap; }
  .gd-mock { height: 470px; margin: 0 -8px; }
  .gd-dapp { padding: 14px; }
  .gd-dapp__nav span:not(.gd-chip) { display: none; }
  .gd-swap { margin-top: 24px; }
  .gd-guard { top: 10px; right: 10px; width: calc(100% - 20px); padding: 13px; }
  .gd-toast { min-width: 0; width: calc(100% - 28px); }
  .way { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) { .gd-cursor { display: none; } }

/* ---------- custom cursor ---------- */
.has-cur, .has-cur * { cursor: none !important; }
.has-cur input:not([type="range"]):not([type="checkbox"]), .has-cur textarea, .has-cur [contenteditable="true"] { cursor: text !important; }
.cur { position: fixed; inset: 0; z-index: 9999; pointer-events: none; transition: opacity 0.3s; }
.cur.is-hidden { opacity: 0; }
.cur__dot, .cur__ring { position: fixed; left: 0; top: 0; will-change: transform; }
.cur__dot::before { content: ""; position: absolute; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff6d6, #e7b94f 60%, #a8741f); box-shadow: 0 0 10px rgba(231, 185, 79, 0.9), 0 0 2px rgba(0, 0, 0, 0.6); transition: transform 0.25s var(--ease), opacity 0.2s; }
.cur__in { position: absolute; width: 40px; height: 40px; margin: -20px 0 0 -20px; display: grid; place-items: center; transition: transform 0.45s cubic-bezier(0.2, 0.9, 0.2, 1.15), opacity 0.25s; }
.cur__in svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; animation: curSpin 6s linear infinite; }
.cur__track { fill: rgba(231, 185, 79, 0); stroke: rgba(231, 185, 79, 0.35); stroke-width: 1; vector-effect: non-scaling-stroke; transition: fill 0.35s, stroke 0.35s; }
.cur__arc { fill: none; stroke: #ffdf92; stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 22 78; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 3px rgba(231, 185, 79, 0.9)); transition: stroke-dasharray 0.5s var(--ease); }
.cur__label { position: relative; font-family: var(--f-mono); font-size: 8.5px; font-weight: 500; letter-spacing: 0.16em; color: #fbe7a1; opacity: 0; transform: scale(0.6); transition: opacity 0.25s, transform 0.35s var(--ease); }
@keyframes curSpin { to { transform: rotate(360deg); } }
/* hover: ring opens up, fills with a faint gold glass, arc closes into a full seal */
.cur.is-hover .cur__in { transform: scale(1.55); }
.cur.is-hover .cur__track { fill: rgba(231, 185, 79, 0.08); stroke: rgba(231, 185, 79, 0.6); }
.cur.is-hover .cur__arc { stroke-dasharray: 100 0; }
.cur.is-hover .cur__dot::before { transform: scale(0.5); }
/* drag (globe): large ring with a label */
.cur.is-drag .cur__in { transform: scale(1.9); }
.cur.is-drag .cur__track { fill: rgba(10, 10, 16, 0.35); stroke: rgba(231, 185, 79, 0.55); }
.cur.is-drag .cur__arc { stroke-dasharray: 34 16; }
.cur.is-drag .cur__label, .cur.is-hover .cur__label { opacity: 1; transform: scale(0.52); }
.cur.is-drag .cur__dot::before { opacity: 0; }
/* press */
.cur.is-down .cur__in { transform: scale(0.78); }
.cur.is-down.is-hover .cur__in, .cur.is-down.is-drag .cur__in { transform: scale(1.25); }
/* text fields: get out of the way */
.cur.is-text .cur__in, .cur.is-text .cur__dot::before { opacity: 0; transform: scale(0.4); }
@media (prefers-reduced-motion: reduce) { .cur__in svg { animation: none; } }

/* ---------- legal pages (privacy) ---------- */
.legal-body { background: var(--bg); }
.legal-back { font-size: 13px; color: var(--muted); transition: color 0.3s; }
.legal-back:hover { color: var(--gold-1); }
.legal { max-width: 820px; padding-top: 140px; padding-bottom: 80px; }
.legal h1 { margin: 10px 0 8px; font-family: var(--f-head); font-weight: 500; font-size: clamp(40px, 6vw, 64px); letter-spacing: -0.03em; }
.legal-meta { margin: 0 0 34px; font-family: var(--f-mono); font-size: 12px; color: var(--dim); }
.legal h2 { margin: 56px 0 14px; padding-top: 22px; border-top: 1px solid var(--line); font-family: var(--f-head); font-weight: 500; font-size: 26px; letter-spacing: -0.01em; }
.legal h3 { margin: 28px 0 8px; font-family: var(--f-head); font-weight: 500; font-size: 17px; color: var(--gold-1); }
.legal p, .legal li { font-size: 15px; line-height: 1.7; color: #c9c9d3; }
.legal p { margin: 0 0 14px; }
.legal code { font-family: var(--f-mono); font-size: 13px; color: var(--gold-1); }
.legal em { font-style: normal; color: #ececf2; }
.legal a { color: var(--gold-1); border-bottom: 1px solid rgba(231, 185, 79, 0.4); }
.legal-sum { padding: 22px 26px; border: 1px solid rgba(231, 185, 79, 0.3); background: linear-gradient(180deg, rgba(231, 185, 79, 0.07), rgba(10, 10, 16, 0.6)); }
.legal-sum b { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-2); }
.legal-sum ul, .legal-list { margin: 10px 0 0; padding-left: 18px; display: grid; gap: 6px; }
.legal-list { margin-bottom: 10px; }
.legal-list b { color: #f0f0f5; font-weight: 600; }
.legal-table { margin: 6px 0 18px; overflow-x: auto; border: 1px solid var(--line); }
.legal-table table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.legal-table th { text-align: left; padding: 11px 14px; font-family: var(--f-mono); font-weight: 500; font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); background: #0b0b12; border-bottom: 1px solid var(--line); }
.legal-table td { padding: 12px 14px; vertical-align: top; color: #c9c9d3; line-height: 1.55; border-bottom: 1px solid var(--line); }
.legal-table tr:last-child td { border-bottom: 0; }
.legal-table td small { font-family: var(--f-mono); font-size: 11px; color: var(--dim); }
.legal-foot { display: flex; flex-wrap: wrap; gap: 10px 22px; padding-top: 28px; padding-bottom: 50px; border-top: 1px solid var(--line); font-size: 13px; color: var(--dim); }
.legal-foot span { margin-right: auto; }
.legal-foot a:hover { color: var(--gold-1); }
@media (max-width: 560px) { .legal { padding-top: 110px; } .legal-table table { min-width: 520px; } }

/* ---------- hero: extension chip + floating Leeway Guard verdict ---------- */
.hero-ext { position: relative; display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 13px 0 9px; border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 2px; background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01)); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: border-color 0.3s, background 0.3s, transform 0.3s var(--ease); }
.hero-ext:hover { border-color: rgba(231, 185, 79, 0.55); background: rgba(231, 185, 79, 0.07); transform: translateY(-2px); }
.hero-ext__icons { display: flex; }
.hero-ext__icons svg { width: 26px; height: 26px; padding: 5px; margin-left: -8px; border-radius: 50%; background: #121219; box-shadow: 0 0 0 1px rgba(231, 185, 79, 0.35); fill: none; stroke: var(--gold-1); stroke-width: 1.6; stroke-linecap: round; transition: transform 0.35s var(--ease); }
.hero-ext__icons svg:first-child { margin-left: 0; }
.hero-ext:hover .hero-ext__icons svg:nth-child(1) { transform: translateX(-2px); }
.hero-ext:hover .hero-ext__icons svg:nth-child(3) { transform: translateX(2px); }
.hero-ext__txt { display: flex; flex-direction: column; line-height: 1.15; }
.hero-ext__txt b { font-size: 12.5px; font-weight: 600; color: #f1f1f4; }
.hero-ext__txt small { font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.06em; color: var(--muted); }
.hero-ext em { position: absolute; top: -8px; right: -8px; font-style: normal; font-family: var(--f-mono); font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; padding: 2px 6px; border-radius: 100px; color: #1a1205; background: var(--gold); box-shadow: 0 4px 14px -4px rgba(231, 185, 79, 0.8); }

.hg { --c: 255, 90, 90; position: absolute; z-index: 2; left: -2%; top: 57%; width: 254px; padding: 12px 14px 13px; pointer-events: none; border-radius: 12px; background: linear-gradient(180deg, rgba(20, 20, 28, 0.82), rgba(10, 10, 15, 0.78)); border: 1px solid rgba(var(--c), 0.38); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 24px 60px -18px rgba(0, 0, 0, 0.9), 0 0 50px -24px rgba(var(--c), 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.05); animation: floaty 7s ease-in-out infinite, hgIn 0.9s var(--ease) 0.9s both; transition: border-color 0.5s, box-shadow 0.5s; }
.hg.is-good { --c: 33, 211, 107; }
/* step aside while the globe shows a city card */
.hg { transition: border-color 0.5s, box-shadow 0.5s, filter 0.4s; }
.hg.is-under { filter: opacity(0.35); }
@keyframes hgIn { from { opacity: 0; translate: 0 14px; } to { opacity: 1; translate: 0 0; } }
.hg__head { display: flex; align-items: center; gap: 7px; margin-bottom: 10px; }
.hg__head svg { width: 15px; height: 15px; }
.hg__head b { font-family: var(--f-head); font-size: 11.5px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: #eee; }
.hg__head small { margin-left: auto; font-family: var(--f-mono); font-size: 9.5px; color: var(--dim); white-space: nowrap; }
.hg__head b { white-space: nowrap; }
.hg__verdict { display: flex; align-items: center; gap: 10px; padding: 9px 11px; border-radius: 8px; background: rgba(var(--c), 0.09); border: 1px solid rgba(var(--c), 0.28); transition: background 0.5s, border-color 0.5s; }
.hg__verdict i { flex: none; width: 9px; height: 9px; border-radius: 50%; background: rgb(var(--c)); box-shadow: 0 0 0 4px rgba(var(--c), 0.18), 0 0 12px rgba(var(--c), 0.9); animation: hgPulse 1.8s ease-in-out infinite; }
@keyframes hgPulse { 50% { box-shadow: 0 0 0 7px rgba(var(--c), 0.05), 0 0 18px rgba(var(--c), 1); } }
.hg__verdict b { display: block; font-family: var(--f-head); font-weight: 500; font-size: 15px; color: rgb(var(--c)); }
.hg__verdict span { display: block; font-family: var(--f-mono); font-size: 10px; color: var(--muted); margin-top: 1px; }
.hg__line { margin: 9px 1px 10px; font-size: 11.5px; color: #d8d8e0; }
.hg__line code { font-family: var(--f-mono); color: #fff; }
.hg__line em { white-space: nowrap; font-style: normal; font-family: var(--f-mono); font-size: 9px; letter-spacing: 0.06em; text-transform: uppercase; padding: 1px 5px; border-radius: 3px; color: #1a0505; background: rgb(var(--c)); }
.hg__line .up { color: var(--up); } .hg__line .down { color: #ff8a8a; }
.hg__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.hg__b { text-align: center; padding: 6px 0; font-size: 11px; font-weight: 600; border-radius: 6px; color: #bbb; border: 1px solid rgba(255, 255, 255, 0.1); }
.hg__b--main { color: #1a1205; border: 0; background: var(--gold); box-shadow: 0 6px 18px -8px rgba(231, 185, 79, 0.9); }
.hg.is-flip [data-hg] { animation: hgFlip 0.45s var(--ease) both; }
@keyframes hgFlip { from { opacity: 0; transform: translateY(3px); } to { opacity: 1; transform: none; } }
@media (max-width: 1080px) {
  .hg { left: -6%; top: 44%; width: 214px; padding: 10px 12px 11px; }
  .hg__head small, .hg__line, .hg__btns { display: none; }
  .hg__head { margin-bottom: 8px; }
}
@media (max-width: 900px) { .hg { left: 4%; top: auto; bottom: 96px; } }
@media (max-width: 560px) { .hg { display: none; } }
@media (prefers-reduced-motion: reduce) { .hg, .hg__verdict i { animation: none; } }
/* when the globe tour shows a city card, the Guard card steps back so the two never fight */
.hg > * { transition: opacity 0.45s; }
.hg { transition: border-color 0.5s, box-shadow 0.5s, background 0.45s; }

/* ================= THE VOYAGE (pinned scroll story) ================= */
.voyage { position: relative; }
.voyage__track { position: relative; height: 420vh; }
.voyage__stage { position: sticky; top: 0; height: 100vh; min-height: 640px; display: flex; align-items: center; overflow: hidden; }
.voyage__stage::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 50% at 30% 55%, rgba(231, 185, 79, 0.06), transparent 70%); }
.voyage__inner { position: relative; width: 100%; display: grid; gap: 24px; padding-top: 64px; }
.voyage__head { display: flex; align-items: end; justify-content: space-between; gap: 40px; }
.voyage__head .label { margin: 0 0 10px; }
.voyage__head .title { margin: 0; font-size: clamp(32px, 3.6vw, 52px); line-height: 1.04; }
.voyage__head .sec-sub { max-width: 430px; margin: 0; font-size: 14px; color: var(--muted); text-align: left; }
.voyage__body { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.8fr); gap: 26px; align-items: stretch; }
.voyage__chart { position: relative; align-self: start; border: 1px solid var(--line-2); background: #08080c; box-shadow: 0 60px 140px -70px rgba(231, 185, 79, 0.35); }
.vy-chart { display: block; width: 100%; height: auto; max-height: calc(100vh - 250px); }
.voyage__coords { position: absolute; left: 26px; top: 34px; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.1em; color: var(--gold-2); opacity: 0.8; }

.vy-g { stroke: rgba(231, 185, 79, 0.05); stroke-width: 1; }
.vy-g--major { stroke: rgba(231, 185, 79, 0.11); }
.vy-tick { stroke: rgba(231, 185, 79, 0.35); stroke-width: 1; }
.vy-frame { fill: none; stroke: rgba(231, 185, 79, 0.35); stroke-width: 1; }
.vy-frame--in { stroke: rgba(231, 185, 79, 0.14); }
.vy-lbl { font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.12em; fill: rgba(231, 185, 79, 0.55); }
.vy-lbl--r { font-size: 9px; fill: rgba(231, 185, 79, 0.35); }
.vy-depth { fill: none; stroke: rgba(160, 175, 255, 0.16); stroke-width: 1; vector-effect: non-scaling-stroke; stroke-dasharray: 2 4; }
.vy-depth--1 { stroke: rgba(160, 175, 255, 0.2); stroke-dasharray: none; }
.vy-depth--2 { stroke: rgba(231, 185, 79, 0.18); stroke-dasharray: none; }
.vy-depth--3 { stroke: rgba(231, 185, 79, 0.3); stroke-dasharray: none; }
.vy-land { fill: rgba(231, 185, 79, 0.07); stroke: rgba(231, 185, 79, 0.55); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.vy-place { font-family: var(--f-head); font-style: italic; font-size: 13px; fill: rgba(240, 220, 170, 0.55); letter-spacing: 0.02em; }
.vy-place--port { font-style: normal; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; fill: var(--gold-1); }
.vy-rose__ring { fill: none; stroke: rgba(231, 185, 79, 0.45); stroke-width: 1; }
.vy-rose__ring--in { stroke: rgba(231, 185, 79, 0.2); }
.vy-rose__tick { stroke: rgba(231, 185, 79, 0.5); stroke-width: 1; }
.vy-rose__p1 { fill: #e9c46a; } .vy-rose__p1--dark { fill: #7a5216; }
.vy-rose__p2 { fill: rgba(233, 196, 106, 0.55); } .vy-rose__p2--dark { fill: rgba(122, 82, 22, 0.6); }
.vy-rose__hub { fill: #07070b; stroke: #e9c46a; stroke-width: 1; }
.vy-rose__n { font-family: var(--f-head); font-size: 12px; font-weight: 600; fill: var(--gold-1); }
.vy-port__dot { fill: #07070b; stroke: var(--gold-2); stroke-width: 2; }
.vy-port__star { fill: url(#vyGold); filter: url(#vyGlow); }
.vy-route { fill: none; stroke: rgba(231, 185, 79, 0.45); stroke-width: 1.6; stroke-dasharray: 2 7; stroke-linecap: round; }
.vy-route--done { stroke: #f2cf7a; stroke-width: 2.4; stroke-dasharray: none; filter: url(#vyGlow); }
.vy-wp__halo { fill: rgba(231, 185, 79, 0.08); stroke: rgba(231, 185, 79, 0.3); stroke-width: 1; transform-box: fill-box; transform-origin: center; transition: fill 0.5s, stroke 0.5s; }
.vy-wp__dot { fill: #0b0b11; stroke: rgba(231, 185, 79, 0.55); stroke-width: 1.6; transition: fill 0.5s, stroke 0.5s; }
.vy-wp__num { font-family: var(--f-mono); font-size: 10px; font-weight: 600; fill: rgba(231, 185, 79, 0.8); transition: fill 0.5s; }
.vy-wp__lbl { font-family: var(--f-mono); font-size: 9.5px; letter-spacing: 0.12em; text-transform: uppercase; fill: rgba(240, 225, 190, 0.45); transition: fill 0.5s; }
.vy-wp.is-lit .vy-wp__dot { fill: #e7b94f; stroke: #fff2c4; }
.vy-wp.is-lit .vy-wp__num { fill: #1a1205; }
.vy-wp.is-lit .vy-wp__lbl { fill: var(--gold-1); }
.vy-wp.is-lit .vy-wp__halo { fill: rgba(231, 185, 79, 0.16); stroke: rgba(255, 230, 160, 0.7); animation: vyPulse 2.4s ease-out infinite; }
@keyframes vyPulse { 0% { transform: scale(0.8); opacity: 1; } 100% { transform: scale(1.9); opacity: 0; } }
.vy-ship { will-change: transform; }
.vy-ship__wake { fill: rgba(255, 225, 150, 0.16); filter: url(#vyGlow); }

.voyage__side { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.voyage__body > *, .vy-cards > .vy-card, .vy-card__snip, .vy-card__snip > * { min-width: 0; }
.vy-card__snip > * { max-width: 100%; }
.vy-progress { display: grid; grid-template-columns: repeat(4, auto) 1fr; align-items: center; gap: 14px; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.1em; color: var(--dim); }
.vy-progress span { transition: color 0.4s; }
.vy-progress span.is-on { color: var(--gold-1); }
.vy-progress i { height: 2px; background: var(--line-2); position: relative; overflow: hidden; border-radius: 2px; }
.vy-progress em { position: absolute; inset: 0; transform-origin: left; transform: scaleX(0); background: var(--gold-h); }
.vy-cards { position: relative; flex: 1; min-height: 340px; }
.vy-card { position: absolute; inset: 0; display: flex; flex-direction: column; padding: 28px 26px 24px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(18, 17, 24, 0.92), rgba(9, 9, 14, 0.92)); opacity: 0; transform: translateY(16px); transition: opacity 0.55s var(--ease), transform 0.65s var(--ease), border-color 0.5s; pointer-events: none; }
.vy-card.is-on { opacity: 1; transform: none; border-color: rgba(231, 185, 79, 0.32); pointer-events: auto; }
.vy-card::before { content: ""; position: absolute; left: -1px; top: -1px; width: 12px; height: 12px; border: solid var(--gold-2); border-width: 1px 0 0 1px; }
.vy-card__n { font-family: var(--f-head); font-weight: 500; font-size: 54px; line-height: 1; letter-spacing: -0.04em; color: transparent; -webkit-text-stroke: 1px rgba(231, 185, 79, 0.6); }
.vy-card__n small { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.1em; -webkit-text-stroke: 0; color: var(--dim); margin-left: 6px; }
.vy-card h3 { margin: 18px 0 10px; font-family: var(--f-head); font-weight: 500; font-size: 26px; letter-spacing: -0.015em; }
.vy-card p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--muted); }
.vy-card__snip { margin-top: auto; padding-top: 22px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.vy-code { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 8px 12px; font-family: var(--f-mono); font-size: 11.5px; color: #d7d7e0; background: #07070b; border: 1px solid var(--line-2); }
.vy-code .k { color: #9fb4ff; } .vy-code .s { color: var(--gold-1); }
.vy-pill { white-space: nowrap; max-width: 100%; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 100px; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.04em; border: 1px solid; }
.vy-pill i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; }
.vy-pill--bad { color: #ff6b6b; border-color: rgba(255, 90, 90, 0.4); background: rgba(255, 59, 59, 0.06); }
.vy-pill--good { color: #3be38a; border-color: rgba(33, 211, 107, 0.35); background: rgba(33, 211, 107, 0.06); }
.vy-pill--gold { color: var(--gold-1); border-color: rgba(231, 185, 79, 0.45); background: rgba(231, 185, 79, 0.07); }
.vy-tg { width: 100%; padding: 12px 14px; border-radius: 12px 12px 12px 4px; background: #17212b; border: 1px solid rgba(255, 255, 255, 0.06); font-size: 12.5px; color: #e8edf2; display: grid; gap: 4px; }
.vy-tg b { font-weight: 600; } .vy-tg code { font-family: var(--f-mono); color: #8ecbff; font-size: 11px; }
.vy-tg span { color: #b7c3cf; }
.vy-tg__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 8px; }
.vy-tg__btns em { font-style: normal; text-align: center; padding: 7px 0; border-radius: 6px; background: rgba(255, 255, 255, 0.07); font-size: 12px; }
.vy-tg__btns em.is-yes { background: rgba(84, 169, 235, 0.25); color: #fff; box-shadow: 0 0 0 1px rgba(84, 169, 235, 0.5); }
.vy-card.is-on .vy-tg__btns em.is-yes { animation: vyTap 2.6s ease-in-out 0.8s infinite; }
@keyframes vyTap { 0%, 70%, 100% { transform: none; } 78% { transform: scale(0.94); background: rgba(84, 169, 235, 0.5); } }

/* static fallback: mobile, short screens, reduced motion */
.voyage--static .voyage__track { height: auto; }
.voyage--static .voyage__stage { position: relative; height: auto; min-height: 0; padding: 110px 0 30px; }
.voyage--static .voyage__inner { padding-top: 0; }
.voyage--static .voyage__body { grid-template-columns: 1fr; }
.voyage--static .vy-chart { max-height: none; }
.voyage--static .vy-progress { display: none; }
.voyage--static .vy-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; min-height: 0; }
.voyage--static .vy-card { position: relative; inset: auto; opacity: 1; transform: none; pointer-events: auto; }
@media (max-width: 900px) {
  .voyage__head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .voyage--static .vy-cards { grid-template-columns: 1fr; }
  .voyage__coords { display: none; }
  .vy-card h3 { font-size: 22px; }
}

/* ================= THE AGENT SEA teaser ================= */
.sea-teaser { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; align-items: center; gap: 40px; padding: 44px 46px; overflow: hidden; border: 1px solid rgba(231, 185, 79, 0.28); background: radial-gradient(80% 120% at 100% 50%, rgba(40, 60, 140, 0.22), transparent 60%), linear-gradient(180deg, #0e0e16, #08080c); }
.sea-teaser .label { margin: 0 0 14px; }
.sea-teaser h2 { margin: 0 0 14px; font-family: var(--f-head); font-weight: 500; font-size: clamp(28px, 3vw, 40px); letter-spacing: -0.02em; line-height: 1.08; }
.sea-teaser p { margin: 0 0 26px; color: var(--muted); font-size: 14.5px; max-width: 440px; }
.sea-teaser__live { display: inline-flex; align-items: center; gap: 8px; margin-left: 10px; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.12em; color: #3be38a; vertical-align: 3px; }
.sea-teaser__live i, .nav-live { width: 6px; height: 6px; border-radius: 50%; background: #3be38a; box-shadow: 0 0 0 0 rgba(59, 227, 138, 0.6); animation: liveDot 1.8s ease-out infinite; }
@keyframes liveDot { 0% { box-shadow: 0 0 0 0 rgba(59, 227, 138, 0.55); } 100% { box-shadow: 0 0 0 7px rgba(59, 227, 138, 0); } }
.sea-mini { position: relative; height: 230px; border: 1px solid var(--line-2); border-radius: 4px; overflow: hidden; background: radial-gradient(70% 90% at 50% 0%, #1a2350, #0a0c1c 65%, #07070d); }
.sea-mini svg.sea-mini__w { position: absolute; left: 0; width: 200%; max-width: none; }
.sea-mini__w { bottom: 0; height: 120px; animation: seaDrift 14s linear infinite; }
.sea-mini__w--2 { height: 95px; animation-duration: 9s; opacity: 0.85; }
.sea-mini__w--3 { height: 70px; animation-duration: 6s; animation-direction: reverse; }
@keyframes seaDrift { to { transform: translateX(-50%); } }
.sea-mini__moon { position: absolute; right: 16%; top: 22px; width: 46px; height: 46px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff4cf, #e7b94f 60%, #8a5a17); box-shadow: 0 0 60px 10px rgba(231, 185, 79, 0.25); }
.sea-mini svg.sea-mini__ship { position: absolute; bottom: 74px; width: 34px; height: 34px; animation: seaBob 3.2s ease-in-out infinite; filter: drop-shadow(0 4px 10px rgba(231, 185, 79, 0.45)); }
.sea-mini svg.sea-mini__ship--1 { left: 18%; }
.sea-mini svg.sea-mini__ship--2 { left: 52%; bottom: 62px; width: 26px; height: 26px; animation-delay: -1.1s; opacity: 0.85; }
.sea-mini svg.sea-mini__ship--3 { left: 78%; bottom: 80px; width: 22px; height: 22px; animation-delay: -2s; opacity: 0.7; }
@keyframes seaBob { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-6px) rotate(3deg); } }
.sea-mini__chip { position: absolute; padding: 4px 9px; border-radius: 100px; font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.04em; background: rgba(8, 8, 14, 0.8); border: 1px solid; opacity: 0; animation: seaChip 6s ease-in-out infinite; }
.sea-mini__chip--ok { left: 10%; bottom: 118px; color: #3be38a; border-color: rgba(33, 211, 107, 0.4); }
.sea-mini__chip--no { left: 46%; bottom: 100px; color: #ff6b6b; border-color: rgba(255, 90, 90, 0.4); animation-delay: -2s; }
.sea-mini__chip--ask { left: 68%; bottom: 120px; color: var(--gold-1); border-color: rgba(231, 185, 79, 0.45); animation-delay: -4s; }
@keyframes seaChip { 0%, 100% { opacity: 0; transform: translateY(6px); } 12%, 40% { opacity: 1; transform: none; } 55% { opacity: 0; transform: translateY(-6px); } }
@media (max-width: 900px) { .sea-teaser { grid-template-columns: 1fr; padding: 32px 22px; gap: 26px; } }

/* nav "Sea" live dot */
.nav__links a.nav-sea, .mobile-menu a.nav-sea { display: inline-flex; align-items: center; gap: 7px; }
.nav-live { display: inline-block; flex: none; }

/* ================= cross-page transitions ================= */
@view-transition { navigation: auto; }
.nav .logo { view-transition-name: site-logo; }
::view-transition-old(root) { animation: vtOut 0.36s var(--ease) both; }
::view-transition-new(root) { animation: vtIn 0.55s var(--ease) both; }
@keyframes vtOut { to { opacity: 0; transform: translateY(-10px) scale(0.995); filter: blur(4px); } }
@keyframes vtIn { from { opacity: 0; transform: translateY(14px); filter: blur(3px); } }
.sail-curtain { position: fixed; inset: 0; z-index: 10000; pointer-events: none; display: grid; place-items: center; background: linear-gradient(115deg, #07070b 0%, #120e08 45%, #07070b 100%); clip-path: inset(0 100% 0 0); transition: clip-path 0.38s cubic-bezier(0.7, 0, 0.3, 1); }
.sail-curtain::after { content: ""; position: absolute; top: 0; bottom: 0; width: 2px; right: 0; background: linear-gradient(180deg, transparent, #f2cf7a, transparent); box-shadow: 0 0 24px 4px rgba(231, 185, 79, 0.45); }
.sail-curtain svg { width: 54px; height: 54px; opacity: 0; transition: opacity 0.25s 0.12s; filter: drop-shadow(0 6px 24px rgba(231, 185, 79, 0.5)); }
.sail-curtain.is-in { clip-path: inset(0 0 0 0); pointer-events: auto; }
.sail-curtain.is-in svg { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  .sail-curtain { display: none; }
}

/* ---------- community ---------- */
.crew { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.crew__card { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 28px 26px 24px; border: 1px solid var(--line); background: linear-gradient(180deg, #0f0f17, #09090e); transition: border-color 0.4s, transform 0.5s var(--ease), box-shadow 0.4s; overflow: hidden; }
.crew__card::after { content: ""; position: absolute; inset: auto -30% -60% -30%; height: 80%; background: radial-gradient(50% 50% at 50% 50%, rgba(231, 185, 79, 0.16), transparent 70%); opacity: 0; transition: opacity 0.5s; pointer-events: none; }
.crew__card:hover { border-color: rgba(231, 185, 79, 0.45); transform: translateY(-4px); box-shadow: 0 30px 70px -40px rgba(231, 185, 79, 0.45); }
.crew__card:hover::after { opacity: 1; }
.crew__ico { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 18px; color: var(--gold-1); background: radial-gradient(circle at 35% 30%, #1d1d28, #0c0c12); box-shadow: 0 0 0 1px rgba(231, 185, 79, 0.3), 0 0 0 7px rgba(231, 185, 79, 0.04); }
.crew__ico svg { width: 22px; height: 22px; }
.crew__card b { font-family: var(--f-head); font-weight: 500; font-size: 24px; letter-spacing: -0.01em; color: #f3f3f6; }
.crew__card em { font-style: normal; font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.06em; color: var(--gold-2); }
.crew__card p { margin: 8px 0 18px; font-size: 14px; line-height: 1.6; color: var(--muted); }
.crew__go { margin-top: auto; align-self: flex-start; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: #e9dcb8; padding: 7px 12px; border: 1px solid rgba(231, 185, 79, 0.32); border-radius: 100px; transition: background 0.3s, color 0.3s; }
.crew__card:hover .crew__go { background: var(--gold); color: #1a1205; border-color: transparent; }
@media (max-width: 900px) { .crew { grid-template-columns: 1fr; } }

/* ---------- the voyage: living chart ---------- */
.vy-amb, .vy-haz, .vy-ripples, .vy-chip { pointer-events: none; }
.vy-swell__l { fill: none; stroke: rgba(160, 175, 255, 0.11); stroke-width: 1; stroke-linecap: round; }
.vy-swell__l--b { stroke: rgba(231, 185, 79, 0.09); }
.vy-swell { animation: vySwell 22s linear infinite; }
@keyframes vySwell { to { transform: translateX(-120px); } }
.vy-fog { opacity: 0.9; }
.vy-fog--a { animation: vyFogA 26s ease-in-out infinite; }
.vy-fog--b { animation: vyFogB 31s ease-in-out infinite; }
@keyframes vyFogA { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(70px, -16px); } }
@keyframes vyFogB { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-60px, 18px); } }
.vy-spark { fill: #ffeec2; opacity: 0; animation: vyTwinkle 5s ease-in-out infinite; }
@keyframes vyTwinkle { 0%, 100% { opacity: 0; } 45% { opacity: 0; } 55% { opacity: 0.75; } 70% { opacity: 0.1; } }

.vy-route:not(.vy-route--done):not(.vy-route--pulse) { animation: vyMarch 1.4s linear infinite; }
@keyframes vyMarch { to { stroke-dashoffset: -9; } }
.vy-route--pulse { stroke: #fff6dc; stroke-width: 3.2; stroke-dasharray: none; stroke-linecap: round; filter: url(#vyGlow); opacity: 0; mix-blend-mode: screen; }

.vy-depth--0 { animation: vyDepthMarch 9s linear infinite; }
.vy-depth--1 { animation: vyBreathe 7s ease-in-out infinite; }
.vy-depth--2 { animation: vyBreathe 7s ease-in-out -2.3s infinite; }
@keyframes vyDepthMarch { to { stroke-dashoffset: -60; } }
@keyframes vyBreathe { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; } }
.vy-isl .vy-land { transition: fill 0.5s, stroke 0.5s; }
.vy-isl.is-pinged .vy-land { fill: rgba(255, 120, 90, 0.16); stroke: rgba(255, 150, 110, 0.9); }
.vy-isl.is-pinged .vy-depth--3 { stroke: rgba(255, 140, 100, 0.55); }

.vy-wp__ping { fill: none; stroke: rgba(255, 226, 150, 0.7); stroke-width: 1; opacity: 0; transform-box: fill-box; transform-origin: center; }
.vy-wp.is-lit .vy-wp__ping { animation: vyPing 3.6s ease-out infinite; }
@keyframes vyPing { 0% { transform: scale(1); opacity: 0.7; } 60%, 100% { transform: scale(3.4); opacity: 0; } }

.vy-port__star { transform-box: fill-box; transform-origin: center; animation: vyStar 3.4s ease-in-out infinite; }
@keyframes vyStar { 0%, 100% { transform: scale(1); opacity: 0.9; } 50% { transform: scale(1.22); opacity: 1; } }
.vy-ripple { fill: none; stroke: rgba(255, 226, 150, 0.45); stroke-width: 1; transform-box: fill-box; transform-origin: center; animation: vyRipple 2.6s ease-out forwards; }
@keyframes vyRipple { from { transform: scale(1); opacity: 0.6; } to { transform: scale(5.5); opacity: 0; } }
.vy-gleam { fill: rgba(255, 255, 255, 0.85); animation: vyGleam 5.2s ease-in-out infinite; }
@keyframes vyGleam { 0%, 60% { transform: translateX(-14px); opacity: 0; } 64% { opacity: 1; } 84% { opacity: 1; } 88%, 100% { transform: translateX(46px); opacity: 0; } }

.vy-beacon__post { stroke: rgba(231, 185, 79, 0.5); stroke-width: 1.2; }
.vy-beacon__base { fill: #0b0b11; stroke: rgba(231, 185, 79, 0.45); stroke-width: 1; }
.vy-beacon__light, .vy-beacon__glow { animation: vyBlink 2.8s ease-in-out infinite; }
.vy-beacon--red .vy-beacon__light { fill: #ff6b5a; } .vy-beacon--red .vy-beacon__glow { fill: rgba(255, 90, 70, 0.28); }
.vy-beacon--amber .vy-beacon__light { fill: #ffb43a; } .vy-beacon--amber .vy-beacon__glow { fill: rgba(255, 176, 50, 0.26); }
.vy-beacon:nth-child(2) .vy-beacon__light, .vy-beacon:nth-child(2) .vy-beacon__glow { animation-delay: -0.9s; }
.vy-beacon:nth-child(3) .vy-beacon__light, .vy-beacon:nth-child(3) .vy-beacon__glow { animation-delay: -1.8s; }
@keyframes vyBlink { 0%, 64%, 100% { opacity: 0.25; } 70%, 86% { opacity: 1; } }
.vy-lh__rock { fill: rgba(231, 185, 79, 0.08); stroke: rgba(231, 185, 79, 0.45); stroke-width: 1; }
.vy-lh__tower { fill: #12111a; stroke: rgba(231, 185, 79, 0.7); stroke-width: 1; }
.vy-lh__lamp { fill: #ffe6a6; }
.vy-lh__halo { fill: rgba(255, 226, 150, 0.18); animation: vyBreathe 3s ease-in-out infinite; }
.vy-lh__beam { mix-blend-mode: screen; opacity: 0.55; }
.vy-sweep { mix-blend-mode: screen; }
.vy-sweep__edge { stroke: rgba(255, 226, 150, 0.16); stroke-width: 1; }
@media (max-width: 560px) { .vy-sweep__g, .vy-chip { display: none; } }

.vy-chip { opacity: 0; transform: translateY(5px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.vy-chip.is-on { opacity: 1; transform: none; }
.vy-chip__bg { fill: rgba(9, 9, 14, 0.88); stroke-width: 1; }
.vy-chip--red .vy-chip__bg { stroke: rgba(255, 110, 90, 0.55); } .vy-chip--red .vy-chip__t { fill: #ff9b8a; }
.vy-chip--amber .vy-chip__bg { stroke: rgba(255, 180, 60, 0.55); } .vy-chip--amber .vy-chip__t { fill: #ffc76a; }
.vy-chip__t { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.04em; }

.vy-cur { display: inline-block; width: 6px; height: 11px; margin-left: 6px; vertical-align: -1px; background: var(--gold-2); animation: vyCur 1.05s steps(1) infinite; }
@keyframes vyCur { 50% { opacity: 0; } }

.voyage.vy-paused * { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) {
  .voyage .vy-swell, .voyage .vy-fog, .voyage .vy-spark, .voyage .vy-route, .voyage .vy-depth, .voyage .vy-wp__ping, .voyage .vy-port__star,
  .voyage .vy-gleam, .voyage .vy-beacon__light, .voyage .vy-beacon__glow, .voyage .vy-lh__halo, .voyage .vy-cur { animation: none !important; }
  .voyage .vy-spark, .voyage .vy-sweep__g, .voyage .vy-lh__beam, .voyage .vy-gleam { display: none; }
}
