/* ============================================================
   GYZE — design system v4
   Acid-lime on warm-black · Space Grotesk · custom bramble art
   ============================================================ */

:root {
  --bg: #0c0d0f;
  --bg-2: #101012;
  --warm: #1c180d;         /* warm olive surface */
  --warm-2: #241f11;
  --card: rgba(28, 24, 13, 0.42);
  --card-hover: rgba(28, 24, 13, 0.6);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.15);
  --text: #f3f3ee;
  --muted: #9a9c92;
  --faint: #5c5f55;
  --acid: #ccff00;
  --acid-2: #e2ff66;
  --acid-soft: #efff9e;
  --acid-dim: rgba(204, 255, 0, 0.11);
  --acid-glow: rgba(204, 255, 0, 0.30);
  --ink: #0c0d0f;          /* dark text on acid */
  /* legacy aliases → repointed to acid so component rules just work */
  --green: #ccff00;
  --green-bright: #e2ff66;
  --green-deep: #2a2410;
  --green-dim: rgba(204, 255, 0, 0.11);
  --green-glow: rgba(204, 255, 0, 0.30);
  --amber: #ffb020;
  --red: #ff6b6b;
  --display: "Space Grotesk", "Inter", sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --ease: cubic-bezier(0.22, 0.68, 0.32, 1);
  --radius: 22px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

::selection { background: rgba(204, 255, 0, 0.85); color: #0c0d0f; }

::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #24251f; border-radius: 8px; border: 3px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: #34362c; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh; overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; }

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 28px; }
section { padding: 96px 0; position: relative; }
.center { text-align: center; }

/* ---------------- ambient background ---------------- */
body::before {
  content: "";
  position: fixed; inset: -20% -10% auto -10%; height: 96vh; z-index: -3;
  background:
    radial-gradient(26% 32% at 80% 4%, rgba(204, 255, 0, 0.11), transparent 70%),
    radial-gradient(30% 30% at 12% 2%, rgba(204, 255, 0, 0.05), transparent 72%),
    radial-gradient(52% 46% at 62% 30%, rgba(28, 24, 13, 0.55), transparent 76%);
  filter: blur(30px);
  animation: aurora 24s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes aurora {
  0%   { transform: translate3d(-2%, -1%, 0) scale(1.04); opacity: 0.9; }
  50%  { transform: translate3d(3%, 2%, 0) scale(1.1); opacity: 1; }
  100% { transform: translate3d(-1%, 3%, 0) scale(1.05); opacity: 0.82; }
}
body::after {
  content: "";
  position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.cursor-glow {
  position: fixed; z-index: -1; top: 0; left: 0;
  width: 480px; height: 480px; border-radius: 50%;
  background: radial-gradient(circle, rgba(204, 255, 0, 0.06), transparent 66%);
  pointer-events: none; transform: translate(-50%, -50%); transition: opacity 0.4s;
}
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0;
  background: linear-gradient(90deg, var(--acid), var(--acid-2));
  box-shadow: 0 0 12px var(--acid-glow); z-index: 200;
}

/* ---------------- header ---------------- */
.site-header {
  position: sticky; top: 14px; z-index: 100;
  max-width: 1020px; margin: 14px auto 0;
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 18px; border-radius: 999px;
  background: rgba(14, 15, 12, 0.68);
  border: 1px solid var(--border);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  transition: padding 0.3s var(--ease), background 0.3s, box-shadow 0.3s;
}
.site-header.scrolled {
  padding: 7px 14px;
  background: rgba(12, 13, 10, 0.9);
  box-shadow: 0 14px 44px -18px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(204, 255, 0, 0.08);
}

.brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 16px; letter-spacing: -0.02em; }
.brand-mark {
  width: 26px; height: 26px; border-radius: 8px;
  background: linear-gradient(135deg, var(--acid), var(--acid-2));
  display: grid; place-items: center;
  box-shadow: 0 0 20px var(--acid-glow), inset 0 1px 0 rgba(255,255,255,0.4);
  transition: transform 0.35s var(--ease);
}
.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.06); }
.brand-mark svg { width: 15px; height: 15px; }

.site-nav { display: flex; align-items: center; gap: 4px; font-size: 13.5px; }
.site-nav a { color: var(--muted); padding: 7px 13px; border-radius: 999px; transition: color 0.15s, background 0.15s; }
.site-nav a:hover { color: var(--text); background: rgba(255,255,255,0.05); }
.site-nav a.active { color: var(--text); background: rgba(255,255,255,0.07); }

/* ---------------- buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  border-radius: 999px; border: none; cursor: pointer;
  font-family: var(--display); font-size: 14px; font-weight: 600; letter-spacing: -0.01em;
  padding: 12px 24px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s, background 0.25s, border-color 0.25s;
  position: relative; overflow: hidden;
}
.btn-green {
  background: linear-gradient(180deg, var(--acid-2), var(--acid) 60%);
  color: #0c0d0f;
  box-shadow: 0 1px 0 rgba(255,255,255,0.5) inset, 0 10px 32px -10px var(--acid-glow);
}
.btn-green:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 1px 0 rgba(255,255,255,0.5) inset, 0 16px 40px -10px var(--acid-glow); }
.btn-green::after {
  content: ""; position: absolute; top: 0; left: -150%; width: 55%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.55), transparent);
  transform: skewX(-18deg);
}
.btn-green:hover::after { animation: sheen 0.8s var(--ease); }
@keyframes sheen { to { left: 165%; } }
.btn-ghost { background: rgba(255,255,255,0.035); color: var(--text); border: 1px solid var(--border); backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: var(--border-strong); background: rgba(255,255,255,0.07); transform: translateY(-2px); }
.btn-sm { padding: 8px 18px; font-size: 12.5px; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none !important; }

/* ---------------- typography ---------------- */
.eyebrow {
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--acid);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow.dim { color: var(--muted); }
.eyebrow.dotted::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--acid); flex: none;
  box-shadow: 0 0 0 0 var(--acid-glow); animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(204,255,0,0.5); } 70%,100% { box-shadow: 0 0 0 9px rgba(204,255,0,0); } }
.center .eyebrow { justify-content: center; }
.center .eyebrow::after { content: ""; width: 42px; height: 1px; background: linear-gradient(90deg, rgba(204,255,0,0.5), transparent); }

h1.hero-title {
  margin-top: 26px; font-family: var(--display);
  font-size: clamp(46px, 7.2vw, 84px); font-weight: 700; line-height: 0.98; letter-spacing: -0.045em;
}
.serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.02em; color: var(--acid-soft); }
.gradient-green {
  background: linear-gradient(92deg, var(--acid) 10%, var(--acid-2) 55%, var(--acid-soft) 92%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
h2.section-title { margin-top: 16px; font-family: var(--display); font-size: clamp(32px, 4.6vw, 52px); font-weight: 700; letter-spacing: -0.035em; line-height: 1.04; }
.lede { margin-top: 26px; max-width: 480px; color: var(--muted); font-size: 16.5px; line-height: 1.75; }

/* ---------------- card base ---------------- */
.card {
  background: linear-gradient(180deg, rgba(28,24,13,0.5), rgba(20,18,12,0.24));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
  position: relative;
}

/* ---------------- hero ---------------- */
.hero { display: grid; grid-template-columns: 1fr 1.06fr; gap: 48px; align-items: center; padding: 104px 0 116px; position: relative; }
.hero-cta { margin-top: 40px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-badges { margin-top: 34px; display: flex; gap: 10px; flex-wrap: wrap; }
.badge {
  font-family: var(--mono); font-size: 11px; color: var(--muted);
  border: 1px solid var(--border); border-radius: 999px; padding: 6px 13px;
  background: rgba(255,255,255,0.02); transition: border-color 0.2s, color 0.2s, transform 0.2s;
}
.badge:hover { border-color: rgba(204,255,0,0.4); color: var(--text); transform: translateY(-1px); }
.badge b { color: var(--acid); font-weight: 500; }

/* custom bramble art */
.hero-art {
  position: absolute; inset: -60px -12% -60px 26%; z-index: -1; pointer-events: none;
  opacity: 0.85;
  -webkit-mask: radial-gradient(58% 72% at 68% 46%, #000 38%, transparent 80%);
  mask: radial-gradient(58% 72% at 68% 46%, #000 38%, transparent 80%);
}
.hero-art svg { width: 100%; height: 100%; overflow: visible; }
.hero-art .strand { fill: none; stroke: var(--acid); vector-effect: non-scaling-stroke; }
.hero-art .berry { fill: var(--acid); }
.hero-art .gyze { transform-origin: 60% 50%; animation: sway 16s ease-in-out infinite alternate; }
@keyframes sway { from { transform: rotate(-1.4deg) translateY(4px); } to { transform: rotate(1.4deg) translateY(-4px); } }
.strand[data-grow] { stroke-dasharray: 620; stroke-dashoffset: 620; }
body.loaded .strand[data-grow] { animation: growStrand 2.6s var(--ease) forwards; }
body.loaded .strand[data-grow]:nth-of-type(2n) { animation-delay: 0.25s; }
body.loaded .strand[data-grow]:nth-of-type(3n) { animation-delay: 0.5s; }
@keyframes growStrand { to { stroke-dashoffset: 0; } }

/* entrance choreography */
.hero-left > * { opacity: 0; transform: translateY(26px); }
body.loaded .hero-left > * { animation: riseIn 0.9s var(--ease) forwards; }
body.loaded .hero-left > *:nth-child(1) { animation-delay: 0.05s; }
body.loaded .hero-left > *:nth-child(2) { animation-delay: 0.16s; }
body.loaded .hero-left > *:nth-child(3) { animation-delay: 0.30s; }
body.loaded .hero-left > *:nth-child(4) { animation-delay: 0.44s; }
body.loaded .hero-left > *:nth-child(5) { animation-delay: 0.58s; }
@keyframes riseIn { to { opacity: 1; transform: none; } }

.hero-visual { position: relative; display: flex; justify-content: center; opacity: 0; transform: translateX(34px) scale(0.97); }
body.loaded .hero-visual { animation: heroCard 1.1s var(--ease) 0.35s forwards; }
@keyframes heroCard { to { opacity: 1; transform: none; } }
#heroSwap { width: 100%; max-width: 490px; perspective: 1100px; }

.hero-coins { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: visible; }
.hero-coins .coin { position: absolute; opacity: 0.92; animation: floaty 7s ease-in-out infinite; box-shadow: 0 18px 40px -12px rgba(0,0,0,0.7), inset 0 1px 0 rgba(255,255,255,0.35); }
.hero-coins .hc1 { top: -7%; left: -6%; width: 56px; height: 56px; animation-delay: 0.2s; }
.hero-coins .hc2 { top: 12%; right: -9%; width: 44px; height: 44px; animation-delay: 1.1s; }
.hero-coins .hc3 { bottom: 8%; left: -10%; width: 48px; height: 48px; animation-delay: 0.6s; }
.hero-coins .hc4 { bottom: -5%; right: 1%; width: 38px; height: 38px; animation-delay: 1.6s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* ---------------- widget ---------------- */
.sw {
  width: 100%; position: relative;
  background: linear-gradient(165deg, rgba(30, 26, 15, 0.92), rgba(12, 13, 10, 0.94));
  border: 1px solid var(--border-strong); border-radius: 26px; padding: 22px;
  box-shadow: 0 50px 100px -42px rgba(204, 255, 0, 0.22), 0 34px 80px -30px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(24px);
}
.sw::before {
  content: ""; position: absolute; inset: -1px; border-radius: 26px; padding: 1px; pointer-events: none;
  background: linear-gradient(150deg, rgba(204,255,0,0.55), transparent 38%, transparent 62%, rgba(226,255,102,0.4));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.sw-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 15px; }
.sw-title { display: flex; align-items: center; gap: 9px; font-family: var(--display); font-size: 14px; font-weight: 600; letter-spacing: -0.01em; }
.sw-live { width: 8px; height: 8px; border-radius: 50%; background: var(--acid); animation: pulse 2.2s infinite; }
.sw-connect { font-family: var(--mono); font-size: 11px; padding: 6px 13px; border-radius: 999px; cursor: pointer; background: var(--card); border: 1px solid var(--border); color: var(--muted); transition: all 0.15s; }
.sw-connect:hover { color: var(--text); border-color: var(--border-strong); }
.sw-connect.on { color: var(--acid); border-color: rgba(204,255,0,0.4); background: var(--acid-dim); }

.sw-tabs { display: flex; gap: 4px; background: rgba(8, 8, 6, 0.8); border: 1px solid var(--border); border-radius: 14px; padding: 4px; margin-bottom: 13px; }
.sw-tab { flex: 1; border: none; background: transparent; cursor: pointer; color: var(--muted); font-family: var(--display); font-size: 13.5px; font-weight: 600; padding: 9px 0; border-radius: 10px; transition: all 0.2s var(--ease); }
.sw-tab.active { background: linear-gradient(180deg, var(--acid-2), var(--acid)); color: #0c0d0f; box-shadow: 0 6px 20px -8px var(--acid-glow); }
.sw-tab:not(.active):hover { color: var(--text); }
.sw-view { display: none; }
.sw-view.active { display: block; animation: fadein 0.22s var(--ease); }
@keyframes fadein { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: none; } }

.sw-row { background: rgba(18, 16, 9, 0.7); border: 1px solid var(--border); border-radius: 16px; padding: 13px 15px; transition: border-color 0.2s, box-shadow 0.2s; }
.sw-row:focus-within { border-color: rgba(204,255,0,0.45); box-shadow: 0 0 0 3px rgba(204,255,0,0.08); }
.sw-row-top { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); margin-bottom: 8px; font-family: var(--mono); }
.sw-bal { color: var(--faint); }
.sw-row-main { display: flex; align-items: center; gap: 10px; }
.sw-amt { flex: 1; min-width: 0; background: transparent; border: none; outline: none; color: var(--text); font-size: 25px; font-weight: 600; font-family: var(--mono); letter-spacing: -0.02em; }
.sw-amt::placeholder { color: var(--faint); }
.sw-addr { font-size: 14px !important; font-weight: 500 !important; }

.sw-flipwrap { display: flex; justify-content: center; height: 0; position: relative; z-index: 2; }
.sw-flip { margin-top: -13px; width: 36px; height: 36px; border-radius: 12px; cursor: pointer; background: #1a1710; border: 3px solid #0c0d0a; color: var(--acid); display: grid; place-items: center; transition: transform 0.3s var(--ease), color 0.15s; }
.sw-flip:hover { transform: rotate(180deg); color: var(--acid-2); }

.sw-meta { display: flex; justify-content: space-between; align-items: center; font-family: var(--mono); font-size: 11px; color: var(--muted); margin: 14px 2px; }
.sw-slip { cursor: pointer; border: 1px solid var(--border); border-radius: 999px; padding: 4px 10px; transition: all 0.15s; }
.sw-slip:hover { border-color: var(--acid); color: var(--acid); }

.sw-go { width: 100%; border: none; border-radius: 15px; padding: 16px; cursor: pointer; font-family: var(--display); font-size: 15.5px; font-weight: 700; letter-spacing: -0.01em; color: #0c0d0f; background: linear-gradient(180deg, var(--acid-2), var(--acid)); box-shadow: 0 1px 0 rgba(255,255,255,0.45) inset, 0 12px 34px -12px var(--acid-glow); transition: transform 0.2s var(--ease), filter 0.2s; }
.sw-go:hover:not(:disabled) { transform: translateY(-2px); filter: brightness(1.06); }
.sw-go:disabled { opacity: 0.5; cursor: not-allowed; }
.sw-log { font-family: var(--mono); font-size: 11.5px; min-height: 17px; margin-top: 11px; text-align: center; }
.sw-log a { color: var(--acid); text-decoration: underline; }
.sw-log .err { color: var(--red); } .sw-log .ok { color: var(--acid); } .sw-log .pending, .sw-log .warn { color: var(--amber); }
.sw-full { display: block; text-align: center; margin-top: 13px; font-size: 12.5px; color: var(--muted); transition: color 0.15s; }
.sw-full:hover { color: var(--acid); }

/* ---------------- coin + coinselect ---------------- */
.coin {
  display: inline-grid; place-items: center; border-radius: 50%;
  background: radial-gradient(120% 120% at 30% 22%, color-mix(in srgb, var(--brand) 92%, #fff 8%), var(--brand) 55%, color-mix(in srgb, var(--brand) 68%, #000 32%));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.35), inset 0 -3px 8px rgba(0,0,0,0.35), 0 4px 12px -4px rgba(0,0,0,0.6);
  flex: none;
}
.coin img { width: 58%; height: 58%; object-fit: contain; filter: brightness(0) invert(1) drop-shadow(0 1px 1px rgba(0,0,0,0.25)); }

.coinselect { position: relative; }
.cs-btn { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; background: rgba(255,255,255,0.045); border: 1px solid var(--border); border-radius: 999px; padding: 5px 13px 5px 5px; color: var(--text); font-family: var(--display); font-size: 14px; font-weight: 600; transition: border-color 0.15s, background 0.15s, transform 0.15s; }
.cs-btn:hover { border-color: var(--border-strong); background: rgba(255,255,255,0.08); transform: translateY(-1px); }
.cs-sym { letter-spacing: -0.01em; }
.cs-cv { font-size: 10px; color: var(--muted); margin-left: 1px; transition: transform 0.2s; }
.coinselect.open .cs-cv { transform: rotate(180deg); }
.cs-menu { position: absolute; top: calc(100% + 8px); right: 0; z-index: 60; width: 236px; max-height: 302px; overflow-y: auto; padding: 6px; background: rgba(17, 15, 10, 0.97); border: 1px solid var(--border-strong); border-radius: 18px; box-shadow: 0 28px 70px -22px rgba(0,0,0,0.9); backdrop-filter: blur(22px); display: none; }
.coinselect.open .cs-menu { display: block; animation: menuIn 0.18s var(--ease); }
@keyframes menuIn { from { opacity: 0; transform: translateY(-7px) scale(0.98); } to { opacity: 1; transform: none; } }
.cs-row { display: flex; align-items: center; gap: 11px; width: 100%; cursor: pointer; background: transparent; border: none; border-radius: 12px; padding: 9px 10px; color: var(--text); font-family: inherit; text-align: left; transition: background 0.12s, transform 0.12s; }
.cs-row:hover { background: rgba(255,255,255,0.05); transform: translateX(2px); }
.cs-row.sel { background: var(--acid-dim); }
.cs-row-txt { display: flex; flex-direction: column; line-height: 1.15; }
.cs-row-txt b { font-size: 13.5px; font-weight: 600; }
.cs-row-txt small { font-size: 11px; color: var(--muted); }

/* ---------------- logo marquee ---------------- */
.marquee-band { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 30px 0; overflow: hidden; background: rgba(255,255,255,0.014); }
.marquee-label { text-align: center; font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--faint); margin-bottom: 22px; display: flex; align-items: center; justify-content: center; gap: 16px; }
.marquee-label::before, .marquee-label::after { content: ""; width: 60px; height: 1px; background: linear-gradient(90deg, transparent, var(--faint)); }
.marquee-label::after { background: linear-gradient(90deg, var(--faint), transparent); }
.marquee { display: flex; gap: 48px; width: max-content; animation: marquee 36s linear infinite; }
.marquee-mask { position: relative; -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-band:hover .marquee { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.mq-item { display: inline-flex; align-items: center; gap: 12px; color: var(--muted); font-family: var(--display); font-weight: 600; font-size: 15.5px; white-space: nowrap; transition: color 0.2s; }
.mq-item:hover { color: var(--text); }
.mq-item small { color: var(--faint); font-family: var(--mono); font-size: 11px; font-weight: 500; }

/* ---------------- spec table ---------------- */
.spec-table { margin-top: 56px; overflow: hidden; text-align: left; counter-reset: spec; }
.spec-row { display: grid; grid-template-columns: 56px 1.1fr 1fr 1fr; gap: 12px; align-items: center; padding: 21px 28px; border-bottom: 1px solid var(--border); font-size: 14px; transition: background 0.2s, padding-left 0.25s var(--ease); }
.spec-row::before { counter-increment: spec; content: counter(spec, decimal-leading-zero); font-family: var(--mono); font-size: 11px; color: var(--faint); }
.spec-row:last-child { border-bottom: none; }
.spec-row:hover { background: rgba(204, 255, 0, 0.04); padding-left: 36px; }
.spec-row:hover::before { color: var(--acid); }
.spec-row .k { font-family: var(--display); font-weight: 600; letter-spacing: -0.01em; }
.spec-row .v { font-family: var(--mono); font-size: 12px; color: var(--acid); }
.spec-row .n { font-family: var(--mono); font-size: 12px; color: var(--muted); }

/* ---------------- feature cards ---------------- */
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 56px; }
.feature { padding: 36px; overflow: hidden; text-align: left; }
.feature::after { content: "+"; position: absolute; top: 14px; right: 20px; font-family: var(--mono); font-size: 14px; color: var(--faint); transition: color 0.25s, transform 0.4s var(--ease); }
.feature:hover::after { color: var(--acid); transform: rotate(90deg); }
.feature.tall { grid-row: span 2; min-height: 460px; }
.feature h3 { margin-top: 18px; font-family: var(--display); font-size: 26px; font-weight: 700; letter-spacing: -0.025em; }
.feature p { margin-top: 14px; font-size: 14px; color: var(--muted); max-width: 390px; line-height: 1.7; }
.feature .link { font-family: var(--mono); font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--acid); margin-top: 30px; display: inline-block; transition: letter-spacing 0.3s var(--ease), color 0.2s; }
.feature .link:hover { color: var(--acid-2); letter-spacing: 0.22em; }
.feature.tall .link { position: absolute; bottom: 32px; left: 36px; }
.card.feature { transition: transform 0.35s var(--ease), border-color 0.3s, box-shadow 0.35s; }
.card.feature:hover { transform: translateY(-6px); border-color: rgba(204,255,0,0.3); box-shadow: 0 36px 70px -34px rgba(204,255,0,0.16), 0 20px 50px -30px rgba(0,0,0,0.8); }
.feature-orb { position: absolute; bottom: -70px; right: -50px; width: 260px; opacity: 0.5; pointer-events: none; }

.feat-ic { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(150deg, var(--acid-dim), rgba(255,255,255,0.02)); border: 1px solid rgba(204,255,0,0.24); box-shadow: inset 0 1px 0 rgba(255,255,255,0.07); transition: transform 0.35s var(--ease); }
.card.feature:hover .feat-ic { transform: scale(1.08) rotate(-4deg); }
.feat-ic svg { width: 27px; height: 27px; stroke: var(--acid); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
[data-draw] { stroke-dasharray: 130; stroke-dashoffset: 130; }
.reveal.in [data-draw] { animation: draw 1.3s var(--ease) forwards 0.15s; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------------- flow diagram ---------------- */
.flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: stretch; margin-top: 56px; }
.flow-node { padding: 32px 26px; text-align: left; position: relative; }
.flow-node .fn-ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--acid-dim); border: 1px solid rgba(204,255,0,0.26); margin-bottom: 18px; }
.flow-node .fn-ic svg { width: 22px; height: 22px; stroke: var(--acid); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.flow-node h4 { font-family: var(--display); font-size: 17.5px; font-weight: 700; letter-spacing: -0.01em; }
.flow-node p { font-size: 13px; color: var(--muted); margin-top: 8px; line-height: 1.65; }
.flow-arrow { display: grid; place-items: center; color: var(--faint); min-width: 62px; }
.flow-arrow svg { width: 60px; height: 20px; }
.flow-arrow .dashline { stroke: rgba(204,255,0,0.5); stroke-width: 2; stroke-dasharray: 6 6; animation: dash 1.2s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -24; } }
.flow-arrow .head { fill: var(--acid); }

/* ---------------- list cards ---------------- */
.list-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 56px; }
.list-card { padding: 8px; text-align: left; }
.list-card .item { padding: 23px 27px; border-bottom: 1px solid var(--border); font-size: 14px; transition: background 0.2s, padding-left 0.25s var(--ease); border-radius: 14px; }
.list-card .item:hover { background: rgba(204,255,0,0.045); padding-left: 34px; }
.list-card .item:last-child { border-bottom: none; }
.list-card .item b { font-family: var(--display); font-weight: 600; }
.list-card .item span { color: var(--muted); }

/* ---------------- stats ---------------- */
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 56px; }
.stat-card { padding: 38px; text-align: left; }
.stat-pair { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: start; }
.stat-pair + .stat-pair { margin-top: 42px; padding-top: 36px; border-top: 1px dashed rgba(255,255,255,0.09); }
.stat-num { margin-top: 14px; font-family: var(--display); font-size: clamp(46px, 5.5vw, 64px); font-weight: 700; letter-spacing: -0.04em; line-height: 1; background: linear-gradient(92deg, var(--acid), var(--acid-2) 70%, var(--acid-soft)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-num.counter { font-variant-numeric: tabular-nums; }
.stat-label { font-size: 12px; color: var(--muted); margin-top: 8px; }
.stat-side { font-family: var(--display); font-size: 21px; font-weight: 700; letter-spacing: -0.02em; transition: color 0.2s; }
a.stat-side:hover { color: var(--acid); }

/* ---------------- page hero (subpages) ---------------- */
.page-hero { padding: 88px 0 44px; }
.page-hero p.sub { margin-top: 20px; max-width: 580px; color: var(--muted); line-height: 1.75; }

/* ---------------- tables ---------------- */
table.data { width: 100%; border-collapse: collapse; margin-top: 22px; font-size: 14px; background: var(--card); border: 1px solid var(--border); border-radius: 18px; overflow: hidden; }
table.data th, table.data td { padding: 14px 19px; text-align: left; border-bottom: 1px solid var(--border); }
table.data tr:last-child td { border-bottom: none; }
table.data tr { transition: background 0.15s; }
table.data tr:hover td { background: rgba(204,255,0,0.03); }
table.data th { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted); font-weight: 500; background: rgba(255,255,255,0.025); }
table.data td.mono, .mono { font-family: var(--mono); font-size: 12.5px; }
table.data td.green { color: var(--acid); font-family: var(--mono); font-size: 12.5px; }

/* ---------------- code ---------------- */
pre.code { background: #14120b; border: 1px solid var(--border); border-radius: 15px; padding: 19px 22px; font-family: var(--mono); font-size: 12.5px; line-height: 1.75; overflow-x: auto; margin-top: 16px; color: #dfe6cf; position: relative; }
pre.code::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(204,255,0,0.5), transparent); }
pre.code .c { color: var(--faint); }
pre.code .g { color: var(--acid); }
code.inline { font-family: var(--mono); font-size: 0.85em; background: rgba(204,255,0,0.1); border: 1px solid rgba(204,255,0,0.18); color: var(--acid-soft); padding: 1px 7px; border-radius: 7px; }

/* ---------------- steps ---------------- */
.steps { display: grid; gap: 22px; margin-top: 52px; }
.step { padding: 32px 36px; display: grid; grid-template-columns: 58px 1fr; gap: 26px; text-align: left; transition: transform 0.3s var(--ease), border-color 0.3s; }
.step:hover { transform: translateX(6px); border-color: rgba(204,255,0,0.24); }
.step-num { width: 46px; height: 46px; border-radius: 13px; background: var(--acid-dim); border: 1px solid rgba(204,255,0,0.3); display: grid; place-items: center; font-family: var(--display); font-size: 17px; color: var(--acid); font-weight: 700; }
.step h3 { font-family: var(--display); font-size: 19px; font-weight: 700; letter-spacing: -0.01em; }
.step p { margin-top: 8px; font-size: 14px; color: var(--muted); }

.callout { border: 1px solid rgba(204,255,0,0.28); background: var(--acid-dim); border-radius: 15px; padding: 17px 21px; font-size: 13.5px; color: #e7f0cf; margin: 18px 0; }
.callout b { color: var(--acid-soft); }

/* ---------------- docs layout ---------------- */
.docs-layout { display: grid; grid-template-columns: 252px 1fr; gap: 60px; align-items: start; padding: 60px 0 100px; }
.docs-sidebar { position: sticky; top: 100px; font-size: 13.5px; max-height: calc(100vh - 130px); overflow-y: auto; padding-right: 10px; }
.docs-sidebar .group { margin-bottom: 28px; }
.docs-sidebar .group-label { font-family: var(--mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.15em; color: var(--faint); margin-bottom: 10px; }
.docs-sidebar a { display: block; padding: 6px 13px; color: var(--muted); border-left: 1px solid var(--border); transition: color 0.13s, border-color 0.13s, padding-left 0.2s var(--ease); }
.docs-sidebar a:hover { color: var(--text); padding-left: 17px; }
.docs-sidebar a.active { color: var(--acid); border-left: 2px solid var(--acid); font-weight: 500; }

.docs-content { min-width: 0; }
.doc-section { display: none; }
.doc-section.visible { display: block; animation: fadein 0.3s var(--ease); }
.doc-section h1 { font-family: var(--display); font-size: 36px; font-weight: 700; letter-spacing: -0.035em; margin-bottom: 8px; }
.doc-section .doc-sub { color: var(--muted); font-size: 15.5px; margin-bottom: 36px; }
.doc-section h2 { font-family: var(--display); font-size: 22px; font-weight: 700; letter-spacing: -0.015em; margin: 42px 0 12px; }
.doc-section h3 { font-family: var(--display); font-size: 16.5px; font-weight: 600; margin: 28px 0 8px; }
.doc-section p { color: #cbcdc4; font-size: 14.5px; margin-bottom: 14px; line-height: 1.75; }
.doc-section ul, .doc-section ol { margin: 0 0 16px 22px; font-size: 14.5px; color: #cbcdc4; }
.doc-section li { margin-bottom: 7px; }
.doc-section li::marker { color: var(--acid); }

.doc-next { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 44px; }
.doc-next a { font-family: var(--mono); font-size: 12px; color: var(--acid); border: 1px solid rgba(204,255,0,0.28); border-radius: 999px; padding: 8px 17px; transition: background 0.15s, transform 0.2s var(--ease); }
.doc-next a:hover { background: var(--acid-dim); transform: translateY(-2px); }

/* ---------------- app page ---------------- */
.app-wrap { max-width: 780px; margin: 0 auto; padding: 44px 24px 100px; }
.app-banner { display: flex; gap: 13px; align-items: flex-start; border: 1px solid rgba(204,255,0,0.24); background: var(--acid-dim); border-radius: 16px; padding: 15px 19px; font-size: 13px; color: #e7f0cf; margin-bottom: 30px; }
.app-banner b { color: var(--acid-soft); }

.wallet-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 17px 21px; margin-bottom: 24px; }
.wallet-status { display: flex; align-items: center; gap: 13px; font-size: 13.5px; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--faint); box-shadow: 0 0 0 3px rgba(255,255,255,0.04); }
.dot.on { background: var(--acid); box-shadow: 0 0 12px var(--acid-glow); animation: pulse 2.4s infinite; }
.dot.warn { background: var(--amber); box-shadow: 0 0 12px rgba(255,176,32,0.4); }
.wallet-addr { font-family: var(--mono); font-size: 12.5px; color: var(--text); }
.wallet-sub { font-family: var(--mono); font-size: 11px; color: var(--muted); }

.balances { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; margin-bottom: 24px; }
.bal-card { padding: 17px 19px; transition: transform 0.25s var(--ease), border-color 0.25s; }
.bal-card:hover { transform: translateY(-3px); border-color: rgba(204,255,0,0.24); }
.bal-card .bal-label { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 7px; }
.bal-card .bal-num { font-family: var(--display); font-size: 23px; font-weight: 700; margin-top: 7px; letter-spacing: -0.02em; }
.bal-card .bal-sym { font-size: 12px; color: var(--muted); }

.tabs { display: flex; gap: 5px; padding: 5px; margin-bottom: 20px; border-radius: 999px; width: fit-content; }
.tab { border: none; background: transparent; color: var(--muted); font-family: var(--display); font-size: 13.5px; font-weight: 600; padding: 9px 22px; border-radius: 999px; cursor: pointer; transition: all 0.2s var(--ease); }
.tab.active { background: linear-gradient(180deg, var(--acid-2), var(--acid)); color: #0c0d0f; box-shadow: 0 6px 18px -8px var(--acid-glow); }
.tab:not(.active):hover { color: var(--text); }

.panel { display: none; padding: 28px; }
.panel.active { display: block; animation: fadein 0.22s var(--ease); }

.field { margin-bottom: 17px; }
.field label { display: block; font-size: 12px; color: var(--muted); margin-bottom: 8px; font-family: var(--mono); letter-spacing: 0.05em; }
.control { display: flex; align-items: center; gap: 10px; background: rgba(18,16,9,0.7); border: 1px solid var(--border); border-radius: 14px; padding: 4px 6px 4px 15px; transition: border-color 0.2s, box-shadow 0.2s; }
.control:focus-within { border-color: rgba(204,255,0,0.45); box-shadow: 0 0 0 3px rgba(204,255,0,0.08); }
.control input { flex: 1; background: transparent; border: none; outline: none; color: var(--text); font-family: var(--mono); font-size: 15px; padding: 12px 0; min-width: 0; }
.control input::placeholder { color: var(--faint); }
.control select { background: #1a1710; border: 1px solid var(--border); border-radius: 10px; color: var(--text); font-family: var(--mono); font-size: 13px; padding: 10px 11px; cursor: pointer; outline: none; }
.control .maxbtn { background: rgba(204,255,0,0.12); border: 1px solid rgba(204,255,0,0.28); color: var(--acid); font-family: var(--mono); font-size: 11px; padding: 7px 12px; border-radius: 9px; cursor: pointer; transition: background 0.15s; }
.control .maxbtn:hover { background: rgba(204,255,0,0.2); }

.swap-mid { display: flex; justify-content: center; margin: -4px 0 12px; }
.swap-flip { width: 38px; height: 38px; border-radius: 12px; cursor: pointer; background: #1a1710; border: 1px solid var(--border); color: var(--acid); display: grid; place-items: center; font-size: 15px; transition: transform 0.3s var(--ease), border-color 0.15s; }
.swap-flip:hover { transform: rotate(180deg); border-color: rgba(204,255,0,0.4); }

.quote-line { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--muted); font-family: var(--mono); padding: 4px 2px; margin: 4px 0; }
.quote-line b { color: var(--text); font-weight: 500; }

.btn-block { width: 100%; justify-content: center; padding: 16px; font-size: 15px; margin-top: 10px; border-radius: 15px; }

.slippage-row { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); font-family: var(--mono); margin-bottom: 15px; }
.slippage-row .chip { border: 1px solid var(--border); border-radius: 999px; padding: 4px 12px; cursor: pointer; color: var(--muted); transition: all 0.15s; }
.slippage-row .chip:hover { color: var(--text); }
.slippage-row .chip.active { border-color: var(--acid); color: var(--acid); background: var(--acid-dim); }

.tx-log { margin-top: 20px; font-family: var(--mono); font-size: 12px; min-height: 20px; }
.tx-log a { color: var(--acid); text-decoration: underline; }
.tx-log .err { color: var(--red); } .tx-log .ok { color: var(--acid); } .tx-log .pending { color: var(--amber); }

/* ---------------- footer ---------------- */
.site-footer { margin-top: 72px; border-top: 1px solid var(--border); position: relative; overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr; gap: 40px; padding: 64px 0 40px; }
.footer-grid .col-label { font-family: var(--mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.15em; color: var(--faint); margin-bottom: 15px; }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a { font-size: 12.5px; color: var(--muted); transition: color 0.15s, padding-left 0.2s var(--ease); }
.footer-grid a:hover { color: var(--acid); padding-left: 3px; }
.footer-blurb { margin-top: 16px; font-size: 12px; color: var(--muted); max-width: 280px; line-height: 1.7; }
.footer-disclaimer { margin-top: 12px; font-size: 11px; color: var(--faint); max-width: 300px; line-height: 1.6; }

.footer-word { font-family: var(--display); font-size: clamp(74px, 16.5vw, 230px); font-weight: 700; letter-spacing: -0.05em; line-height: 0.78; text-align: center; user-select: none; pointer-events: none; background: linear-gradient(180deg, rgba(204, 255, 0, 0.3), rgba(204, 255, 0, 0.02) 88%); -webkit-background-clip: text; background-clip: text; color: transparent; transform: translateY(12%); }

.footer-meta { border-top: 1px solid var(--border); padding: 22px 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-family: var(--mono); font-size: 10px; color: var(--faint); }

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

/* ---------------- responsive ---------------- */
@media (max-width: 940px) {
  .site-header { margin: 12px 16px 0; }
  .site-nav { display: none; }
  .hero { grid-template-columns: 1fr; padding: 64px 0 76px; gap: 44px; }
  .hero-visual { order: -1; transform: translateY(24px) scale(0.98); }
  body.loaded .hero-visual { animation: heroCardM 1s var(--ease) 0.1s forwards; }
  .hero-coins { display: none; }
  .hero-art { inset: -30px -20% auto -20%; height: 420px; opacity: 0.4; }
  .feature-grid, .list-grid, .stats-grid { grid-template-columns: 1fr; }
  .feature.tall { grid-row: auto; min-height: 0; }
  .spec-row { grid-template-columns: 34px 1fr; row-gap: 4px; }
  .spec-row .v, .spec-row .n { grid-column: 2; }
  .flow { grid-template-columns: 1fr; gap: 8px; }
  .flow-arrow { transform: rotate(90deg); min-width: 0; height: 40px; }
  .docs-layout { grid-template-columns: 1fr; gap: 34px; }
  .docs-sidebar { position: static; max-height: none; display: flex; flex-wrap: wrap; gap: 20px; }
  .docs-sidebar .group { margin-bottom: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  section { padding: 64px 0; }
  .step { grid-template-columns: 1fr; gap: 14px; }
  .balances { grid-template-columns: 1fr; }
  #heroSwap { max-width: 100%; }
}
@keyframes heroCardM { to { opacity: 1; transform: none; } }

/* ---------------- X / social links ---------------- */
.nav-x { display: inline-grid; place-items: center; padding: 8px 11px; border-radius: 999px; color: var(--muted); transition: color 0.15s, background 0.15s; }
.nav-x:hover { color: var(--text); background: rgba(255,255,255,0.05); }
.nav-x svg { width: 14px; height: 14px; fill: currentColor; }
.x-inline { display: inline-flex; align-items: center; gap: 7px; }
.x-inline svg { width: 12px; height: 12px; fill: currentColor; flex: none; }

/* ---------------- feature illustrations ---------------- */
.feature > h3:first-child { margin-top: 0; }
.feature-art { width: 100%; margin-top: 26px; }
.feature-art svg { width: 100%; height: auto; display: block; }
.feature.tall .feature-art { margin: 30px 0 48px; }
.dash-flow { stroke-dasharray: 4 7; animation: dashflow 1.4s linear infinite; }
@keyframes dashflow { to { stroke-dashoffset: -22; } }
.ping { transform-box: fill-box; transform-origin: center; animation: ping 2.4s ease-out infinite; }
@keyframes ping { 0% { opacity: 0.8; transform: scale(0.65); } 70%, 100% { opacity: 0; transform: scale(1.5); } }
.rot { transform-box: fill-box; transform-origin: center; animation: rotslow 16s linear infinite; }
@keyframes rotslow { to { transform: rotate(360deg); } }

/* ---------------- flow scenes ---------------- */
.flow-node { overflow: hidden; }
.flow-ghost {
  position: absolute; top: 8px; right: 16px;
  font-family: var(--display); font-weight: 700; font-size: 46px; line-height: 1;
  color: rgba(204, 255, 0, 0.09); user-select: none; pointer-events: none;
}
.flow-scene { width: 100%; margin-bottom: 16px; }
.flow-scene svg { width: 100%; height: auto; display: block; }

/* ---------------- builder list icons ---------------- */
.list-card .item { display: flex; align-items: flex-start; gap: 14px; }
.li-ic {
  flex: none; width: 36px; height: 36px; border-radius: 11px;
  display: grid; place-items: center; margin-top: -3px;
  background: var(--acid-dim); border: 1px solid rgba(204,255,0,0.22);
  transition: transform 0.25s var(--ease);
}
.list-card .item:hover .li-ic { transform: scale(1.1) rotate(-4deg); }
.li-ic svg { width: 17px; height: 17px; stroke: var(--acid); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.li-txt { min-width: 0; }
