/* =====================================================================================
   clampd · design system
   Deep forest night, aurora light, frosted glass, soft lowercase type.
   Mint is the brand. Soft gold is only for "turned away" (rejections, blocked moves).
   ===================================================================================== */
:root {
  /* night */
  --bg: #0d0a0e;
  --bg-2: #151117;
  --bg-3: #1d171f;
  /* glass */
  --glass: rgba(255, 255, 255, 0.045);
  --glass-2: rgba(255, 255, 255, 0.07);
  --glass-3: rgba(255, 255, 255, 0.11);
  --line: rgba(248, 240, 227, 0.09);
  --line-2: rgba(248, 240, 227, 0.16);
  --hi: rgba(255, 255, 255, 0.07); /* top highlight on glass */
  /* ink */
  --text: #f4f1ec;
  --muted: #ea986d;
  --dim: #c9521d;
  /* brand */
  --mint: #f2b593;
  --mint-2: #f0e2cc;
  --teal: #e88e5f;
  --sky: #f4b38f;
  --ink-on-mint: #141015;
  --grad: linear-gradient(120deg, #efe1ca 0%, #eca47d 45%, #f4b38f 100%);
  --grad-soft: linear-gradient(120deg, rgba(239, 225, 202, 0.18), rgba(244, 179, 143, 0.12));
  --mint-dim: rgba(242, 181, 147, 0.12);
  --mint-line: rgba(242, 181, 147, 0.32);
  --glow: 0 10px 30px -10px rgba(236, 164, 125, 0.55);
  /* states */
  --green: #efaf8c;
  --green-dim: rgba(239, 175, 140, 0.12);
  --red: #f0c868; /* soft aurora gold: "turned away" states only */
  --red-2: #fbe3ae;
  --red-dim: rgba(240, 200, 104, 0.12);
  --red-line: rgba(240, 200, 104, 0.35);
  --amber: #ffcf7a;
  /* shape */
  --r-xl: 28px;
  --r-lg: 22px;
  --r: 16px;
  --r-sm: 12px;
  --ease: cubic-bezier(0.65, 0, 0.35, 1);
  --spring: cubic-bezier(0.3, 1.4, 0.5, 1);
  /* type */
  --head: 'Geist', 'Inter', system-ui, sans-serif;
  --body: 'Geist', 'Inter', system-ui, sans-serif;
  --mono: 'Geist Mono', ui-monospace, monospace;
  --side-w: 240px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font: 16.5px/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  letter-spacing: -0.005em;
}
/* the night sky behind everything: slow aurora + fine grain */
body::before {
  content: ''; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(60% 45% at 18% -5%, rgba(234, 150, 106, 0.16), transparent 70%),
    radial-gradient(50% 40% at 85% -10%, rgba(232, 144, 98, 0.12), transparent 70%),
    radial-gradient(80% 60% at 50% 120%, rgba(48, 39, 51, 0.55), transparent 70%),
    linear-gradient(180deg, #100c11 0%, var(--bg) 60%);
}
body::after {
  content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0.06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
::selection { background: rgba(242, 181, 147, 0.3); }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--head); font-weight: 500; letter-spacing: -0.035em; margin: 0; text-transform: lowercase; }
h1 { font-size: 44px; line-height: 1.04; }
h2 { font-size: 24px; line-height: 1.15; }
h3 { font-size: 17.5px; line-height: 1.3; letter-spacing: -0.02em; }
.mono, .num { font-family: var(--mono); font-feature-settings: 'tnum'; letter-spacing: -0.02em; }
.muted { color: var(--muted); }
.dim { color: var(--dim); }
.red { color: var(--red); }
.green { color: var(--green); }
.accent { color: var(--mint); }
.accent:hover { color: var(--mint-2); }

/* glass: the one surface everything sits on */
.glass, .card, .coin, .rule-card, .stat, .list-card, .fix, .modal, .cr-card, .chart {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025));
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 var(--hi), 0 18px 40px -24px rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}

/* ---------------------------------------------------------------- layout */
.app { display: grid; grid-template-columns: var(--side-w) 1fr; min-height: 100vh; }
.side {
  position: sticky; top: 0; height: 100vh; border-right: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(19, 15, 21, 0.75), rgba(13, 10, 14, 0.85));
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  display: flex; flex-direction: column; padding: 20px 14px; gap: 22px;
}
.brand { display: flex; align-items: center; gap: 10px; padding: 4px 8px; }
.brand-mark { width: 30px; height: 30px; flex: none; display: grid; place-items: center; }
.brand-mark svg { width: 30px; height: 30px; filter: drop-shadow(0 0 10px rgba(242, 181, 147, 0.35)); }
.brand-name { font: 500 22px/1 var(--head); letter-spacing: -0.045em; }
.brand-name b { color: var(--mint); font-weight: 500; }
.nav { display: flex; flex-direction: column; gap: 2px; }
.nav a {
  display: flex; align-items: center; gap: 11px; padding: 9px 12px; border-radius: 99px; color: var(--muted);
  font-weight: 450; font-size: 16px; text-transform: lowercase; transition: background 0.2s, color 0.2s;
}
.nav a svg { width: 17px; height: 17px; flex: none; stroke: currentColor; transition: stroke 0.2s; }
.nav a:hover { background: var(--glass); color: var(--text); }
.nav a.on { background: var(--glass-2); color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
.nav a.on svg { stroke: var(--mint); }
.nav .sep { height: 1px; background: var(--line); margin: 10px 8px; }
.side-foot { margin-top: auto; display: flex; flex-direction: column; gap: 10px; }
.list-card { border-radius: var(--r); padding: 13px 15px; }
.list-card .k { font-size: 13.5px; color: var(--muted); text-transform: lowercase; }
.list-card .v { font: 500 26px/1.2 var(--mono); letter-spacing: -0.04em; }
.list-card .s { font-size: 13.5px; color: var(--dim); }

/* content column: capped and centred beside the sidebar, so wide screens don't stretch it */
.main { min-width: 0; width: 100%; max-width: 1180px; justify-self: center; padding: 24px 32px 70px; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.topbar h1 { font-size: 32px; }
.top-actions { display: flex; gap: 10px; align-items: center; }

/* ---------------------------------------------------------------- controls */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 18px;
  border-radius: 99px; border: 1px solid var(--line-2); background: var(--glass-2); font-weight: 500; font-size: 16px;
  cursor: pointer; white-space: nowrap; text-transform: lowercase; color: var(--text);
  box-shadow: inset 0 1px 0 var(--hi);
  transition: background 0.2s, border-color 0.2s, transform 0.12s var(--ease), box-shadow 0.25s, filter 0.2s;
}
.btn:hover { background: var(--glass-3); border-color: var(--mint-line); }
.btn:active { transform: translateY(1px) scale(0.99); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn.primary, .btn.green {
  background: var(--grad); border-color: transparent; color: var(--ink-on-mint); font-weight: 600;
  box-shadow: var(--glow), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.btn.primary:hover, .btn.green:hover { filter: brightness(1.06) saturate(1.05); box-shadow: 0 14px 34px -10px rgba(236, 164, 125, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.5); }
.btn.red { background: var(--red-dim); border-color: var(--red-line); color: var(--red-2); }
.btn.red:hover { background: rgba(240, 200, 104, 0.2); }
.btn.ghost { background: transparent; box-shadow: none; }
.btn.sm { height: 32px; padding: 0 13px; font-size: 14.5px; }
.btn.block { width: 100%; }
.btn.lg { height: 52px; font-size: 17.5px; padding: 0 24px; }
.btn .arrow { transition: transform 0.25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 14.5px; color: var(--muted); font-weight: 450; }
.input, .textarea, .select {
  width: 100%; background: var(--glass); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 12px 14px;
  outline: none; transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.input::placeholder, .textarea::placeholder { color: var(--dim); }
.input:focus, .textarea:focus { border-color: var(--mint-line); background: var(--glass-2); box-shadow: 0 0 0 4px rgba(242, 181, 147, 0.07); }
.textarea { resize: vertical; min-height: 84px; }
.hint { font-size: 14px; color: var(--dim); }

.seg { display: inline-flex; background: var(--glass); border: 1px solid var(--line); border-radius: 99px; padding: 4px; gap: 2px; flex-wrap: wrap; }
.seg button {
  border: 0; background: transparent; padding: 7px 14px; border-radius: 99px; cursor: pointer; color: var(--muted);
  font-weight: 500; font-size: 15px; text-transform: lowercase; transition: background 0.2s, color 0.2s;
}
.seg button:hover { color: var(--text); }
.seg button.on { background: var(--glass-3); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2), inset 0 1px 0 var(--hi); }

/* ---------------------------------------------------------------- cards */
.card { border-radius: var(--r-lg); padding: 22px; }
.card.tight { padding: 15px 17px; }
.grid { display: grid; gap: 14px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 99px; font-size: 13.5px;
  font-weight: 500; background: var(--glass-2); color: var(--muted); border: 1px solid var(--line); text-transform: lowercase;
}
.chip.red { background: var(--red-dim); color: var(--red-2); border-color: var(--red-line); }
.chip.green, .chip.mint { background: var(--mint-dim); color: var(--mint); border-color: var(--mint-line); }

/* section heading badge: the little glowing orb before a heading */
.section-head > h2, .sec h2 { display: inline-flex; align-items: center; gap: 12px; }
.section-head > h2::before, .sec h2::before {
  content: ''; width: 26px; height: 26px; flex: none; border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, var(--ink-on-mint) 0 3.5px, transparent 4px), var(--grad);
  box-shadow: 0 0 18px rgba(242, 181, 147, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

/* "clamped": a frosted coral glass pill with a glowing turned-away icon */
.stamp {
  display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 12px 0 4px; border-radius: 99px;
  font: 600 14px/1 var(--body); letter-spacing: -0.005em; text-transform: lowercase; color: #fff3d9; white-space: nowrap;
  background: linear-gradient(180deg, rgba(246, 213, 142, 0.24), rgba(226, 176, 74, 0.1));
  border: 1px solid rgba(246, 213, 142, 0.38);
  backdrop-filter: blur(14px) saturate(150%); -webkit-backdrop-filter: blur(14px) saturate(150%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 10px 28px -12px rgba(226, 176, 74, 0.7);
  animation: pill-in 0.6s var(--spring) both;
}
.stamp::before {
  content: ""; width: 20px; height: 20px; flex: none; border-radius: 50%;
  background: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'%23fff'%20stroke-width%3D'2.6'%20stroke-linecap%3D'round'%3E%3Ccircle%20cx%3D'12'%20cy%3D'12'%20r%3D'7'%2F%3E%3Cpath%20d%3D'M7.2%2016.8%2016.8%207.2'%2F%3E%3C%2Fsvg%3E") center / 13px no-repeat, radial-gradient(circle at 35% 30%, #ffe9b8, #e2b04a 60%, #c08d2c);
  box-shadow: 0 0 12px rgba(226, 176, 74, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.stamp.big { height: 40px; padding: 0 18px 0 6px; gap: 10px; font-size: 17.5px; }
.stamp.big::before { width: 28px; height: 28px; background-size: 17px, auto; }
@keyframes pill-in { from { opacity: 0; transform: translateY(6px) scale(0.92); } to { opacity: 1; transform: none; } }
.light .stamp { color: #6a4a10; background: linear-gradient(180deg, rgba(246, 213, 142, 0.22), rgba(255, 255, 255, 0.5)); }

/* ---------------------------------------------------------------- scene panels (generated imagery) */
.scene {
  position: relative; overflow: hidden; isolation: isolate; border-radius: var(--r-xl); border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 var(--hi), 0 30px 60px -30px rgba(0, 0, 0, 0.8); background-color: #0c090d;
}
.scene > .scene-img {
  position: absolute; inset: -3%; z-index: -3; width: 106%; height: 106%; object-fit: cover; object-position: var(--pos, center);
  transform: translate3d(var(--px, 0px), var(--py, 0px), 0) scale(1.04); transition: transform 1.2s var(--ease), opacity 1s var(--ease);
  opacity: 0; will-change: transform;
}
.scene > .scene-img.loaded { opacity: 1; animation: scene-breathe 26s ease-in-out infinite alternate; }
.scene > .scene-shine { /* a slow light shimmer over the image, so the sky feels alive */
  position: absolute; inset: -20% -10% 30%; z-index: -2; pointer-events: none; mix-blend-mode: screen; opacity: 0.35;
  background: radial-gradient(30% 50% at 30% 30%, rgba(255, 182, 140, 0.35), transparent 70%), radial-gradient(26% 46% at 70% 20%, rgba(240, 162, 120, 0.25), transparent 70%);
  filter: blur(30px); animation: shine-drift 18s ease-in-out infinite alternate;
}
.scene > .scene-shade { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: var(--shade, linear-gradient(180deg, rgba(12, 9, 13, 0.35) 0%, rgba(12, 9, 13, 0.15) 40%, rgba(12, 9, 13, 0.75) 100%)); }
@keyframes scene-breathe { from { filter: saturate(1) brightness(1); } to { filter: saturate(1.12) brightness(1.06); } }
@keyframes shine-drift { 0% { transform: translate3d(-4%, 0, 0); opacity: 0.25; } 100% { transform: translate3d(5%, 3%, 0); opacity: 0.45; } }

/* floating 3D renders */
.float3d { position: absolute; pointer-events: none; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 40px rgba(242, 181, 147, 0.25)); animation: float3d 7s ease-in-out infinite; }
@keyframes float3d { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-12px) rotate(2deg); } }
.ico3d { width: 56px; height: 56px; object-fit: contain; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 16px rgba(242, 181, 147, 0.25)); transition: transform 0.5s var(--spring); }
.tile:hover .ico3d, .rule-tab:hover .ico3d { transform: translateY(-4px) rotate(-6deg) scale(1.06); }

/* ---------------------------------------------------------------- home */
.home-hero { min-height: 470px; padding: 34px 32px 26px; display: flex; flex-direction: column; align-items: center; text-align: center; margin-bottom: 18px; }
.home-hero .pill-row { display: inline-flex; gap: 6px; padding: 5px; border-radius: 99px; background: rgba(13, 10, 14, 0.45); border: 1px solid var(--line); backdrop-filter: blur(12px); }
.home-hero .pill-row span { font-size: 14px; padding: 5px 12px; border-radius: 99px; color: var(--muted); text-transform: lowercase; white-space: nowrap; }
h1.keep-case, h2.keep-case { text-transform: none; }
.home-hero .pill-row span.on { background: var(--grad); color: var(--ink-on-mint); font-weight: 600; }
.home-hero h1 { font-size: 56px; max-width: 700px; margin-top: 46px; text-shadow: 0 2px 30px rgba(0, 0, 0, 0.35); }
.home-hero h1 em { font-style: normal; color: var(--mint-2); }
.home-hero p { color: #f4cbb2; max-width: 520px; margin: 16px 0 0; font-size: 17.5px; }
.home-hero .cta { display: flex; gap: 10px; margin-top: 26px; flex-wrap: wrap; justify-content: center; }
.home-hero .stamp { position: absolute; right: 34px; top: 30px; }
.hero-stats {
  margin-top: auto; width: 100%; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border-radius: var(--r-lg); background: rgba(15, 12, 16, 0.55); border: 1px solid var(--line);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: inset 0 1px 0 var(--hi);
}
.hero-stats > div { padding: 14px 18px; text-align: left; border-left: 1px solid var(--line); }
.hero-stats > div:first-child { border-left: 0; }
.hero-stats .k { font-size: 13.5px; color: var(--muted); text-transform: lowercase; }
.hero-stats .v { font: 500 24px/1.25 var(--mono); letter-spacing: -0.04em; }

/* legacy split hero (compare page) */
.hero { display: grid; grid-template-columns: 1.25fr 1fr; gap: 14px; margin-bottom: 14px; }
.hero-main { padding: 32px; min-height: 260px; display: flex; flex-direction: column; justify-content: flex-end; }
.hero-main h1 { font-size: 44px; max-width: 540px; margin-top: 24px; }
.hero-main h1 s { color: var(--muted); text-decoration-color: var(--red); text-decoration-thickness: 3px; }
.hero-main p { color: #f4cbb2; max-width: 480px; margin: 12px 0 0; }
.hero-main .stamp { align-self: flex-end; margin-bottom: auto; }
.hero-side { display: flex; flex-direction: column; gap: 14px; }

.rules-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-bottom: 30px; }
.rule-card { border-radius: var(--r-lg); padding: 14px; display: flex; flex-direction: column; gap: 7px; transition: transform 0.35s var(--ease), border-color 0.3s; }
.rule-card:hover { transform: translateY(-3px); border-color: var(--line-2); }
.rule-card h3 { font-size: 16px; margin-top: 4px; }
.rule-card p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.45; }
.rule-card.new { border-color: var(--mint-line); background: linear-gradient(180deg, rgba(242, 181, 147, 0.08), rgba(255, 255, 255, 0.02)); }

.section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 10px 0 16px; flex-wrap: wrap; }
.coins { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.coin {
  border-radius: var(--r-lg); padding: 15px; display: flex; flex-direction: column; gap: 13px;
  transition: transform 0.35s var(--ease), border-color 0.3s, box-shadow 0.35s;
}
.coin:hover { transform: translateY(-3px); border-color: var(--mint-line); box-shadow: inset 0 1px 0 var(--hi), 0 24px 48px -26px rgba(236, 164, 125, 0.35); }
.coin-top { display: flex; gap: 12px; }
.coin-img { width: 64px; height: 64px; border-radius: 16px; object-fit: cover; background: var(--glass-2); flex: none; box-shadow: inset 0 0 0 1px var(--line); }
.coin-name { font: 500 18.5px/1.2 var(--head); letter-spacing: -0.025em; }
.coin-sym { font: 500 14px var(--mono); color: var(--muted); }
.coin-addr { font: 400 13px var(--mono); color: var(--dim); }
.coin-addr b { color: var(--mint); font-weight: 500; }
.coin-chips { display: flex; flex-wrap: wrap; gap: 5px; }
.bar { height: 8px; background: var(--glass-2); border-radius: 99px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.bar i { display: block; height: 100%; background: var(--grad); border-radius: 99px; box-shadow: 0 0 12px rgba(242, 181, 147, 0.5); transition: width 0.8s var(--ease); }
.bar.done i { background: linear-gradient(90deg, var(--green), var(--mint)); }
.coin-foot { display: flex; justify-content: space-between; font-size: 14px; color: var(--muted); }
.coin-foot b { color: var(--text); font-family: var(--mono); font-weight: 500; }
.empty { text-align: center; padding: 54px 20px; color: var(--muted); border: 1px dashed var(--line-2); border-radius: var(--r-lg); background: var(--glass); }

/* ---------------------------------------------------------------- coin page */
.coin-page { display: grid; grid-template-columns: 1fr 360px; gap: 16px; align-items: start; }
.coin-head { display: flex; gap: 16px; align-items: center; }
.coin-head .coin-img { width: 84px; height: 84px; border-radius: 22px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.stat { border-radius: var(--r); padding: 13px 15px; }
.stat .k { font-size: 13.5px; color: var(--muted); text-transform: lowercase; }
.stat .v { font: 500 21px/1.3 var(--mono); letter-spacing: -0.03em; }
.chart { height: 260px; border-radius: var(--r-lg); position: relative; overflow: hidden; }
.chart svg { width: 100%; height: 100%; display: block; }
.chart .none { position: absolute; inset: 0; display: grid; place-items: center; color: var(--dim); font-size: 14.5px; }
.table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table th { text-align: left; font-weight: 450; color: var(--dim); font-size: 13.5px; padding: 8px 10px; border-bottom: 1px solid var(--line); text-transform: lowercase; }
.table td { padding: 10px; border-bottom: 1px solid var(--line); }
.table tr:last-child td { border-bottom: 0; }
.table tr { transition: background 0.2s; }
.table tr:hover td { background: rgba(255, 255, 255, 0.02); }
.table .mono { font-size: 14px; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.tabs button { background: none; border: 0; padding: 10px 12px; color: var(--muted); font-weight: 500; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; text-transform: lowercase; transition: color 0.2s, border-color 0.2s; }
.tabs button:hover { color: var(--text); }
.tabs button.on { color: var(--text); border-color: var(--mint); }

.trade { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 14px; }
.trade .seg { width: 100%; }
.trade .seg button { flex: 1; }
.trade .seg button.on.buy { background: var(--grad); color: var(--ink-on-mint); box-shadow: var(--glow); }
.trade .seg button.on.sell { background: var(--red-dim); color: var(--red-2); box-shadow: inset 0 0 0 1px var(--red-line); }
.amount { position: relative; }
.amount .input { font: 500 24px var(--mono); padding: 15px 70px 15px 15px; letter-spacing: -0.03em; }
.amount .unit { position: absolute; right: 15px; top: 50%; transform: translateY(-50%); color: var(--muted); font-weight: 500; font-size: 14.5px; }
.quick { display: flex; gap: 6px; }
.quick button { flex: 1; }
.kv { display: flex; justify-content: space-between; font-size: 14.5px; color: var(--muted); }
.kv b { color: var(--text); font-family: var(--mono); font-weight: 500; }
.rule-list { display: flex; flex-direction: column; gap: 9px; }
.rule-line { display: flex; justify-content: space-between; align-items: center; font-size: 15px; }
.rule-line .on { color: var(--mint); font-weight: 500; }
.rule-line .off { color: var(--dim); }

.result { border-radius: var(--r); padding: 14px; display: none; animation: rise 0.35s var(--ease); }
.result.show { display: block; }
.result.bad { background: var(--red-dim); border: 1px solid var(--red-line); }
.result.good { background: var(--mint-dim); border: 1px solid var(--mint-line); }
.result .stamp { margin-bottom: 10px; }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------------------------------------------------------------- create */
.cr { display: flex; gap: 44px; align-items: flex-start; }
.cr-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.cr-top { display: flex; gap: 20px; }
.cr-fields { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.lbl { display: flex; justify-content: space-between; font-size: 14.5px; color: var(--muted); font-weight: 450; margin-bottom: 8px; text-transform: lowercase; }
.lbl .count { font-family: var(--mono); font-size: 13.5px; color: var(--dim); transition: color 0.2s; }
.lbl .count.full { color: var(--red-2); }
.inp {
  display: flex; align-items: center; gap: 10px; height: 50px; padding: 0 16px; background: var(--glass);
  border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--line), inset 0 1px 0 var(--hi); transition: box-shadow 0.2s, background 0.2s;
}
.inp:hover { box-shadow: inset 0 0 0 1px var(--line-2), inset 0 1px 0 var(--hi); }
.inp:focus-within { box-shadow: inset 0 0 0 1px var(--mint-line), 0 0 0 4px rgba(242, 181, 147, 0.07); background: var(--glass-2); }
.inp input, .inp textarea { flex: 1; min-width: 0; background: none; border: 0; outline: none; font-size: 16.5px; }
.inp input::placeholder, .inp textarea::placeholder { color: var(--dim); }
.inp.area { height: auto; padding: 14px 16px; align-items: stretch; }
.inp.area textarea { resize: vertical; min-height: 70px; line-height: 1.5; }
.inp .pre { color: var(--dim); font-weight: 500; }
.inp svg { width: 18px; height: 18px; flex: none; color: var(--dim); }
.inp:focus-within svg { color: var(--mint); }
.inp .suf { color: var(--muted); font-size: 15.5px; font-weight: 500; }
.cr-drop {
  width: 152px; height: 152px; flex: none; border-radius: var(--r-lg); border: 1.5px dashed var(--line-2); background: var(--glass);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: var(--muted);
  font-size: 14.5px; cursor: pointer; overflow: hidden; padding: 0; position: relative; transition: border-color 0.25s, background 0.25s;
}
.cr-drop:hover, .cr-drop.over { border-color: var(--mint-line); background: var(--mint-dim); color: var(--mint); }
.cr-drop svg { width: 22px; height: 22px; transition: transform 0.3s var(--spring); }
.cr-drop:hover svg { transform: translateY(-3px); }
.cr-drop img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: pop-in 0.45s var(--spring); }
.sec { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.sec h2 { font-size: 24px; }
.sec span { font-size: 15.5px; color: var(--dim); }
.links { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.rules { display: flex; flex-direction: column; }
.rule { display: flex; align-items: flex-start; gap: 18px; padding: 16px 0; border-top: 1px solid var(--line); }
.rule:first-child { border-top: 0; padding-top: 4px; }
.rule-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; padding-top: 4px; }
.rule-name { font-weight: 500; font-size: 17.5px; line-height: 22px; display: flex; align-items: center; gap: 8px; letter-spacing: -0.02em; text-transform: lowercase; }
.rule-name .tag { font: 600 12px var(--body); letter-spacing: 0.04em; text-transform: lowercase; color: var(--ink-on-mint); background: var(--grad); padding: 2px 8px; border-radius: 99px; }
.rule-help { font-size: 15.5px; line-height: 20px; color: var(--muted); }
.rule-opts { margin-top: 10px; }
.rule-opts .seg { padding: 4px; flex-wrap: nowrap; }
.rule-opts .seg button { height: 28px; padding: 0 12px; font-size: 14.5px; }
.sw {
  position: relative; flex: none; width: 46px; height: 27px; border: 0; border-radius: 99px; background: var(--glass-3);
  cursor: pointer; transition: background 0.25s; margin-top: 2px; box-shadow: inset 0 0 0 1px var(--line);
}
.sw::after {
  content: ''; position: absolute; top: 3.5px; left: 3.5px; width: 20px; height: 20px; border-radius: 50%; background: var(--muted);
  transition: transform 0.3s var(--spring), background 0.2s; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}
.sw[aria-checked='true'] { background: var(--grad); box-shadow: var(--glow); }
.sw[aria-checked='true']::after { transform: translateX(19px); background: #fff; }
.sw:disabled { cursor: default; opacity: 0.85; }
.sw:focus-visible { outline: 2px solid var(--mint); outline-offset: 2px; }

/* ---------------------------------------------------------------- the animated rule pictures (3D)
   Built from the jade-glass 3D renders in /img/3d. Loop while on screen, pause off screen,
   dim when the rule is off. Mint glow = allowed, coral glow = turned away, amber megaphone = a KOL. */
.viz {
  position: relative; flex: none; width: 132px; height: 76px; padding: 0; border: 0; border-radius: var(--r);
  background: radial-gradient(120% 100% at 50% 115%, rgba(81, 65, 86, 0.55), rgba(19, 15, 21, 0.65) 70%);
  box-shadow: inset 0 0 0 1px var(--line), inset 0 1px 0 var(--hi);
  cursor: pointer; transition: opacity 0.3s, box-shadow 0.3s, filter 0.3s; overflow: hidden; color: inherit;
  perspective: 420px;
}
.viz::after { /* floor */
  content: ''; position: absolute; left: 8%; right: 8%; bottom: 9px; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(244, 231, 211, 0.16), transparent);
}
.viz:hover { box-shadow: inset 0 0 0 1px var(--mint-line), inset 0 1px 0 var(--hi); }
.viz[data-on='false'] { opacity: 0.42; filter: saturate(0.25); }
.viz > div { position: absolute; inset: 0; transform-style: preserve-3d; }
.viz * { animation-play-state: paused !important; }
.viz.play[data-on='true'] * { animation-play-state: running !important; }

.viz .sp { position: absolute; display: block; pointer-events: none; filter: drop-shadow(0 6px 7px rgba(0, 0, 0, 0.45)); will-change: transform; }
.viz .sp img { display: block; width: 100%; height: auto; }
.viz .sh { position: absolute; bottom: 7px; height: 5px; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, 0.55), transparent); pointer-events: none; }
.viz .spin img { animation: coin-spin 1.1s linear infinite; transform-style: preserve-3d; }
@keyframes coin-spin { from { transform: rotateY(0deg); } to { transform: rotateY(360deg); } }
.viz .ban {
  position: absolute; width: 18px; height: 18px; border-radius: 50%; opacity: 0; transform: scale(0.4); pointer-events: none;
  background: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.8' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='7'/%3E%3Cpath d='M7.2 16.8 16.8 7.2'/%3E%3C/svg%3E") center / 12px no-repeat, radial-gradient(circle at 35% 30%, #ffe9b8, #e2b04a 60%, #c08d2c);
  box-shadow: 0 0 14px rgba(226, 176, 74, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.viz .ok {
  position: absolute; width: 16px; height: 16px; border-radius: 50%; opacity: 0; transform: scale(0.4); pointer-events: none;
  background: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23052019' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E") center / 10px no-repeat, var(--grad);
  box-shadow: 0 0 12px rgba(242, 181, 147, 0.8);
}
@keyframes badge-pop { 0%, 100% { opacity: 0; transform: scale(0.4); } 8% { opacity: 1; transform: scale(1.15); } 14%, 70% { opacity: 1; transform: scale(1); } 85% { opacity: 0; transform: scale(0.8); } }
@keyframes glow-coral { 0%, 100% { filter: drop-shadow(0 6px 7px rgba(0, 0, 0, 0.45)); } 50% { filter: drop-shadow(0 6px 7px rgba(0, 0, 0, 0.45)) drop-shadow(0 0 9px rgba(226, 176, 74, 0.95)); } }
@keyframes glow-mint { 0%, 100% { filter: drop-shadow(0 6px 7px rgba(0, 0, 0, 0.45)); } 50% { filter: drop-shadow(0 6px 7px rgba(0, 0, 0, 0.45)) drop-shadow(0 0 10px rgba(242, 181, 147, 0.95)); } }

/* No KOLs: the megaphone hops to the door, bonks, the door flares coral, it hops back */
.x-door .door { right: 10px; bottom: 9px; width: 30px; animation: door-flare 3.6s infinite; }
.x-door .mega { left: 6px; bottom: 10px; width: 34px; animation: mega-hop 3.6s infinite cubic-bezier(0.45, 0, 0.55, 1); }
.x-door .sh-m { left: 8px; width: 30px; animation: mega-shadow 3.6s infinite cubic-bezier(0.45, 0, 0.55, 1); }
.x-door .sh-d { right: 9px; width: 32px; }
.x-door .ban { right: 16px; top: 4px; animation: badge-pop 3.6s infinite; animation-delay: 1.55s; }
@keyframes mega-hop {
  0%, 6% { transform: translate(0, 0) rotate(0); }
  14% { transform: translate(14px, -10px) rotate(-6deg); } 22% { transform: translate(26px, 0) rotate(0); }
  30% { transform: translate(38px, -10px) rotate(-6deg); } 40% { transform: translate(52px, 0) rotate(4deg); }
  45% { transform: translate(44px, -6px) rotate(-16deg); } 52% { transform: translate(36px, 0) rotate(0); }
  70% { transform: translate(14px, -7px) rotate(0); } 82%, 100% { transform: translate(0, 0) rotate(0); }
}
@keyframes mega-shadow {
  0%, 6% { transform: translateX(0) scale(1); opacity: 1; } 14% { transform: translateX(14px) scale(0.7); opacity: 0.6; } 22% { transform: translateX(26px) scale(1); opacity: 1; }
  30% { transform: translateX(38px) scale(0.7); opacity: 0.6; } 40% { transform: translateX(52px) scale(1); opacity: 1; } 52% { transform: translateX(36px) scale(1); }
  70% { transform: translateX(14px) scale(0.8); } 82%, 100% { transform: translateX(0) scale(1); opacity: 1; }
}
@keyframes door-flare {
  0%, 38% { filter: drop-shadow(0 6px 7px rgba(0, 0, 0, 0.45)); transform: none; }
  42% { filter: drop-shadow(0 6px 7px rgba(0, 0, 0, 0.45)) drop-shadow(0 0 12px rgba(226, 176, 74, 1)); transform: rotate(2deg); }
  46% { transform: rotate(-1.5deg); } 50% { transform: none; }
  70%, 100% { filter: drop-shadow(0 6px 7px rgba(0, 0, 0, 0.45)); }
}

/* One bag per wallet: a spinning coin lands in the main wallet; a second heads for another
   account in the same wallet, gets turned away and drops */
.x-bag .w1 { left: 6px; bottom: 10px; width: 42px; animation: glow-mint 3.6s infinite; animation-delay: 1.1s; }
.x-bag .w2 { right: 8px; bottom: 12px; width: 32px; opacity: 0.5; filter: grayscale(0.6) drop-shadow(0 6px 7px rgba(0, 0, 0, 0.45)); }
.x-bag .c1, .x-bag .c2 { left: 54px; top: 14px; width: 20px; }
.x-bag .c1 { animation: bag-c1 3.6s infinite var(--ease); }
.x-bag .c2 { animation: bag-c2 3.6s infinite var(--ease); }
.x-bag .ban { right: 15px; top: 8px; animation: badge-pop 3.6s infinite; animation-delay: 2.35s; }
@keyframes bag-c1 { 0% { transform: translate(0, -8px) scale(0); opacity: 0; } 8% { transform: translate(0, 0) scale(1); opacity: 1; } 32% { transform: translate(-30px, 14px) scale(0.85); opacity: 1; } 38%, 100% { transform: translate(-30px, 22px) scale(0.3); opacity: 0; } }
@keyframes bag-c2 { 0%, 44% { transform: translate(0, -8px) scale(0); opacity: 0; } 52% { transform: translate(0, 0) scale(1); opacity: 1; } 64% { transform: translate(26px, 4px) scale(0.9); } 68% { transform: translate(20px, 0) scale(0.9); } 86% { transform: translate(18px, 34px) scale(0.7) rotate(40deg); opacity: 0; } 100% { opacity: 0; } }

/* Signer check: the KOL signs (amber dashes) a buy paying a clean wallet; it's caught and the coin falls */
.x-sign .mega { left: 4px; bottom: 26px; width: 26px; }
.x-sign .w { right: 6px; bottom: 10px; width: 36px; }
.x-sign .line { position: absolute; left: 30px; top: 31px; height: 2px; width: 0; border-radius: 2px; background: repeating-linear-gradient(90deg, var(--amber) 0 4px, transparent 4px 7px); animation: sign-line 3.6s infinite; }
.x-sign .coin { left: 58px; top: 22px; width: 20px; animation: sign-coin3d 3.6s infinite var(--ease); }
.x-sign .ban { left: 66px; top: 6px; animation: badge-pop 3.6s infinite; animation-delay: 1.65s; }
@keyframes sign-line { 0% { width: 0; opacity: 1; } 24% { width: 26px; } 44% { width: 26px; background: repeating-linear-gradient(90deg, var(--amber) 0 4px, transparent 4px 7px); } 48%, 78% { width: 26px; background: repeating-linear-gradient(90deg, #e2b04a 0 4px, transparent 4px 7px); opacity: 1; } 90%, 100% { opacity: 0; width: 26px; } }
@keyframes sign-coin3d { 0%, 18% { transform: translate(0, 0) scale(0); opacity: 0; } 26% { transform: translate(0, 0) scale(1); opacity: 1; } 44% { transform: translate(14px, 0) scale(1); } 50% { transform: translate(8px, -3px) scale(1); } 80% { transform: translate(6px, 30px) scale(0.7) rotate(60deg); opacity: 0; } 100% { opacity: 0; } }

/* Dev lock: the lock drops onto the wallet with a squash, the wallet shudders, sell dims */
.x-lock .w { left: 44px; bottom: 9px; width: 44px; animation: wallet-shudder 3.6s infinite; }
.x-lock .lock { left: 56px; top: 6px; width: 22px; animation: lock-drop3d 3.6s infinite; }
.x-lock .sell { position: absolute; right: 8px; top: 9px; font: 600 9.5px/1 var(--body); padding: 4px 7px; border-radius: 99px; color: #fff3d9; background: rgba(226, 176, 74, 0.25); border: 1px solid rgba(246, 213, 142, 0.4); opacity: 0; animation: sell-tag 3.6s infinite; }
.x-lock .sh { left: 46px; width: 40px; }
@keyframes lock-drop3d {
  0% { transform: translateY(-34px) scale(0.8); opacity: 0; } 10% { opacity: 1; }
  22% { transform: translateY(14px) scaleY(0.86) scaleX(1.1); } 28% { transform: translateY(8px) scale(1); } 34% { transform: translateY(12px); }
  86% { transform: translateY(12px); opacity: 1; } 100% { transform: translateY(12px); opacity: 0; }
}
@keyframes wallet-shudder { 0%, 22% { transform: none; } 25% { transform: translateY(2px) scaleY(0.95); } 30% { transform: rotate(-3deg); } 35% { transform: rotate(3deg); } 40%, 100% { transform: none; } }
@keyframes sell-tag { 0%, 30% { opacity: 0; transform: translateY(4px); } 36%, 80% { opacity: 1; transform: none; } 92%, 100% { opacity: 0; } }

/* Max bag: coins stack up to the cap; the next one hits the cap, flares coral and tumbles off */
.x-stack .sh { left: 34px; width: 40px; }
.x-stack .k { left: 38px; width: 32px; transform-origin: center; opacity: 0; }
.x-stack .k img { transform: rotateX(62deg); }
.x-stack .k1 { bottom: 8px; animation: stack-1 3.6s infinite var(--ease); }
.x-stack .k2 { bottom: 15px; animation: stack-2 3.6s infinite var(--ease); }
.x-stack .k3 { bottom: 22px; animation: stack-3 3.6s infinite var(--ease); }
.x-stack .k4 { bottom: 29px; animation: stack-4 3.6s infinite var(--ease); }
.x-stack .cap { position: absolute; left: 26px; width: 58px; bottom: 44px; height: 2px; border-radius: 2px; background: var(--mint-2); box-shadow: 0 0 8px rgba(242, 181, 147, 0.7); animation: cap-flare 3.6s infinite; }
.x-stack .cap b { position: absolute; left: calc(100% + 6px); top: -6px; font: 600 10.5px/1 var(--mono); color: var(--mint-2); white-space: nowrap; }
@keyframes stack-1 { 0% { opacity: 0; transform: translateY(-40px); } 6% { opacity: 1; } 14%, 86% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; transform: none; } }
@keyframes stack-2 { 0%, 12% { opacity: 0; transform: translateY(-40px); } 18% { opacity: 1; } 26%, 86% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; } }
@keyframes stack-3 { 0%, 24% { opacity: 0; transform: translateY(-40px); } 30% { opacity: 1; } 38%, 86% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; } }
@keyframes stack-4 { 0%, 42% { opacity: 0; transform: translateY(-40px); } 47% { opacity: 1; filter: none; } 52% { transform: translateY(-14px); filter: drop-shadow(0 0 8px rgba(226, 176, 74, 1)); } 60% { transform: translate(18px, -20px) rotate(30deg); } 76% { transform: translate(44px, 30px) rotate(120deg); opacity: 0; } 100% { opacity: 0; } }
@keyframes cap-flare { 0%, 48% { background: var(--mint-2); box-shadow: 0 0 8px rgba(242, 181, 147, 0.7); } 52%, 62% { background: #f0c868; box-shadow: 0 0 12px rgba(226, 176, 74, 1); } 70%, 100% { background: var(--mint-2); box-shadow: 0 0 8px rgba(242, 181, 147, 0.7); } }

/* Slow start: the hourglass turns over and the cap opens up from 0.5% to the max bag */
.x-slow .hg { left: 8px; bottom: 12px; width: 26px; animation: hg-flip 4s infinite var(--ease); }
.x-slow .track { position: absolute; left: 44px; right: 10px; top: 33px; height: 10px; border-radius: 99px; background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 1px var(--line), inset 0 2px 3px rgba(0, 0, 0, 0.35); }
.x-slow .fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 99px; background: var(--grad); box-shadow: 0 0 10px rgba(242, 181, 147, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.5); animation: slow-fill 4s infinite var(--ease); }
.x-slow .cap { position: absolute; top: -9px; bottom: -9px; width: 2px; margin-left: -1px; border-radius: 2px; background: var(--mint-2); left: 14%; animation: slow-cap 4s infinite var(--ease); }
.x-slow .cap b { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); width: 40px; height: 11px; font: 600 10px/1 var(--mono); color: var(--mint-2); }
.x-slow .cap b span { position: absolute; left: 0; right: 0; text-align: center; }
.x-slow .cap b .a { animation: label-a 4s infinite steps(1); }
.x-slow .cap b .b { animation: label-b 4s infinite steps(1); }
@keyframes hg-flip { 0%, 40% { transform: rotate(0); } 52%, 92% { transform: rotate(180deg); } 100% { transform: rotate(360deg); } }
@keyframes slow-fill { 0% { width: 0; } 28%, 44% { width: 14%; } 66%, 90% { width: 72%; } 100% { width: 0; } }
@keyframes slow-cap { 0%, 44% { left: 14%; } 66%, 90% { left: 72%; } 100% { left: 14%; } }
@keyframes label-a { 0%, 49% { opacity: 1; } 50%, 93% { opacity: 0; } 94%, 100% { opacity: 1; } }
@keyframes label-b { 0%, 49% { opacity: 0; } 50%, 93% { opacity: 1; } 94%, 100% { opacity: 0; } }

/* No transfers: a spinning coin leaves one wallet, hits the glass barrier, which flares, and comes back */
.x-wall .w1 { left: 4px; bottom: 10px; width: 32px; }
.x-wall .w2 { right: 4px; bottom: 10px; width: 32px; opacity: 0.85; }
.x-wall .bar { left: 60px; bottom: 9px; width: 12px; animation: bar-flare 3.4s infinite; }
.x-wall .coin { left: 26px; top: 18px; width: 18px; animation: wall-coin 3.4s infinite var(--ease); }
.x-wall .sh { width: 30px; }
.x-wall .sh.a { left: 5px; } .x-wall .sh.b { right: 5px; }
@keyframes wall-coin { 0%, 8% { transform: translate(0, 4px) scale(0.6); opacity: 0; } 14% { transform: translate(0, 0) scale(1); opacity: 1; } 38% { transform: translate(22px, -4px); } 44% { transform: translate(14px, -10px) rotate(-20deg); } 64% { transform: translate(4px, 0); } 80% { transform: translate(0, 6px) scale(0.6); opacity: 0; } 100% { opacity: 0; } }
@keyframes bar-flare { 0%, 36% { filter: drop-shadow(0 6px 7px rgba(0, 0, 0, 0.45)); transform: none; } 40% { filter: drop-shadow(0 0 12px rgba(226, 176, 74, 1)); transform: scaleX(1.15); } 46% { transform: none; } 64%, 100% { filter: drop-shadow(0 6px 7px rgba(0, 0, 0, 0.45)); } }

/* Creator rewards: coins arc in from trades and land in the creator's wallet, which glows */
.x-earn .w { right: 8px; bottom: 9px; width: 42px; animation: glow-mint 0.9s infinite; }
.x-earn .coin { left: 6px; top: 30px; width: 17px; opacity: 0; animation: earn-arc 2.7s infinite var(--ease); }
.x-earn .e2 { animation-delay: 0.9s; } .x-earn .e3 { animation-delay: 1.8s; }
.x-earn .sh { right: 9px; width: 40px; }
@keyframes earn-arc { 0% { transform: translate(0, 10px) scale(0.4); opacity: 0; } 12% { transform: translate(6px, 0) scale(1); opacity: 1; } 45% { transform: translate(40px, -22px) scale(1); } 76% { transform: translate(78px, 4px) scale(0.85); opacity: 1; } 86%, 100% { transform: translate(80px, 12px) scale(0.3); opacity: 0; } }

/* Holder rewards: the jar wobbles and drips a coin to each holder's wallet in turn */
.x-jar .jar { left: 52px; top: 3px; width: 28px; animation: jar-wobble 2.7s infinite; }
.x-jar .h { bottom: 8px; width: 24px; animation: glow-mint 2.7s infinite; }
.x-jar .h1 { left: 10px; animation-delay: 0.7s; } .x-jar .h2 { left: 54px; animation-delay: 0.95s; } .x-jar .h3 { right: 10px; animation-delay: 1.2s; }
.x-jar .d { left: 60px; top: 24px; width: 12px; opacity: 0; animation: jar-drip 2.7s infinite cubic-bezier(0.5, 0, 0.7, 0.4); }
.x-jar .d1 { --dx: -42px; } .x-jar .d2 { --dx: 0px; animation-delay: 0.25s; } .x-jar .d3 { --dx: 42px; animation-delay: 0.5s; }
@keyframes jar-wobble { 0%, 100% { transform: rotate(0); } 6% { transform: rotate(-8deg); } 12% { transform: rotate(6deg); } 18% { transform: rotate(0); } }
@keyframes jar-drip { 0% { opacity: 0; transform: translate(0, 0) scale(0.6); } 10% { opacity: 1; transform: translate(0, 2px) scale(1); } 55% { opacity: 1; transform: translate(var(--dx), 28px); } 62%, 100% { opacity: 0; transform: translate(var(--dx), 32px) scale(0.5); } }

/* Anti-snipe: the hourglass runs while a coral fee bar melts down to a small mint one */
.x-snipe .hg { left: 8px; bottom: 12px; width: 24px; animation: hg-tilt 4s infinite ease-in-out; }
.x-snipe .track { position: absolute; left: 42px; right: 10px; top: 33px; height: 10px; border-radius: 99px; background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 1px var(--line), inset 0 2px 3px rgba(0, 0, 0, 0.35); }
.x-snipe .fill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 99px; animation: snipe-melt 4s infinite cubic-bezier(0.1, 0.6, 0.3, 1); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4); }
.x-snipe .lbl { position: absolute; left: 42px; top: 13px; width: 70px; height: 12px; font: 600 10.5px/1 var(--mono); }
.x-snipe .lbl span { position: absolute; left: 0; }
.x-snipe .lbl .a { color: #ffe9b8; animation: label-a 4s infinite steps(1); }
.x-snipe .lbl .b { color: var(--mint-2); animation: label-b 4s infinite steps(1); }
@keyframes hg-tilt { 0%, 100% { transform: rotate(-8deg); } 50% { transform: rotate(8deg); } }
@keyframes snipe-melt { 0% { width: 100%; background: linear-gradient(90deg, #f0c868, #e2b04a); box-shadow: 0 0 10px rgba(226, 176, 74, 0.7); } 70%, 90% { width: 8%; background: var(--grad); box-shadow: 0 0 10px rgba(242, 181, 147, 0.6); } 100% { width: 100%; background: linear-gradient(90deg, #f0c868, #e2b04a); } }

/* rule pictures outside the create page */
.rule-card .viz { width: 132px; max-width: 100%; height: 68px; cursor: default; }
.rule-card .viz:hover { box-shadow: inset 0 0 0 1px var(--line), inset 0 1px 0 var(--hi); }
.viz-row { display: flex; gap: 12px; align-items: center; }
.viz-row .viz { width: 132px; height: 68px; cursor: default; flex: none; }
.viz-row .viz:hover { box-shadow: inset 0 0 0 1px var(--line), inset 0 1px 0 var(--hi); }

/* summary card */
.cr-card {
  width: 360px; flex: none; position: sticky; top: 24px; display: flex; flex-direction: column; gap: 20px; padding: 24px;
  border-radius: var(--r-xl); transition: border-color 0.5s, box-shadow 0.5s, background 0.5s;
}
.cr-card.ready { border-color: var(--mint-line); background: linear-gradient(180deg, rgba(242, 181, 147, 0.1), rgba(255, 255, 255, 0.025)); box-shadow: inset 0 1px 0 var(--hi), 0 30px 60px -30px rgba(236, 164, 125, 0.45); }
.cr-id { display: flex; gap: 14px; align-items: center; }
.cr-id .av { width: 58px; height: 58px; border-radius: 18px; background: var(--glass-2); flex: none; overflow: hidden; display: grid; place-items: center; color: var(--dim); font: 500 22px var(--head); box-shadow: inset 0 0 0 1px var(--line); }
.cr-id .av img { width: 100%; height: 100%; object-fit: cover; animation: pop-in 0.45s var(--spring); }
.cr-id .nm { font: 500 21px/1.3 var(--head); letter-spacing: -0.03em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cr-id .tk { font: 500 14.5px var(--mono); color: var(--dim); }
.cr-addr { font: 400 14px var(--mono); color: var(--dim); padding: 11px 13px; border-radius: var(--r-sm); background: var(--glass); box-shadow: inset 0 0 0 1px var(--line); word-break: break-all; }
.cr-addr b { color: var(--mint); font-weight: 500; }
.cr-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.cr-list li { display: flex; gap: 10px; font-size: 15.5px; line-height: 20px; color: var(--muted); animation: slide-in 0.4s var(--ease); }
.cr-list li svg { width: 18px; height: 18px; flex: none; margin-top: 1px; color: var(--mint); }
.cr-list li.g svg { color: var(--mint); }
.cr-list b { color: var(--text); font-weight: 500; }
.cr-small { font-size: 14px; line-height: 18px; color: var(--dim); }
@keyframes pop-in { from { transform: scale(0.88); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes slide-in { from { transform: translateY(-6px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------------------------------------------------------------- clamped */
.check { display: flex; gap: 10px; }
.check .input { font-family: var(--mono); font-size: 15px; border-radius: 99px; padding-left: 18px; }
.big-num { font: 500 42px/1.05 var(--mono); letter-spacing: -0.05em; }
.feed { display: flex; flex-direction: column; }
.feed-row { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 13px 4px; border-bottom: 1px solid var(--line); animation: rise 0.4s var(--ease) both; }
.feed-row:last-child { border-bottom: 0; }
.feed-row .stamp { height: 24px; font-size: 13px; }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 14px; }

/* ---------------------------------------------------------------- docs */
.docs { max-width: 820px; }
.docs h2 { margin: 38px 0 10px; font-size: 26px; }
.docs h3 { margin: 24px 0 6px; }
.docs p, .docs li { color: #f4cbb2; }
.docs code { font-family: var(--mono); font-size: 14.5px; background: var(--glass-2); padding: 2px 7px; border-radius: 8px; border: 1px solid var(--line); }
.docs .callout { border: 1px solid var(--red-line); background: var(--red-dim); border-radius: var(--r); padding: 14px 16px; color: #fff3d9; margin: 14px 0; }
.docs table { width: 100%; border-collapse: collapse; margin: 10px 0; font-size: 15.5px; }
.docs td, .docs th { border-bottom: 1px solid var(--line); padding: 10px 8px; text-align: left; vertical-align: top; }
.docs th { color: var(--muted); font-weight: 450; font-size: 14.5px; }

/* ---------------------------------------------------------------- toast / modal */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(30px); opacity: 0; z-index: 50;
  background: rgba(24, 19, 25, 0.85); backdrop-filter: blur(16px); border: 1px solid var(--line-2); border-radius: 99px; padding: 11px 18px; font-size: 15.5px;
  transition: all 0.35s var(--ease); pointer-events: none; max-width: min(92vw, 520px); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.8);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.bad { border-color: var(--red-line); }
.modal-bg { position: fixed; inset: 0; background: rgba(6, 5, 7, 0.6); backdrop-filter: blur(6px); display: none; place-items: center; z-index: 40; padding: 16px; }
.modal-bg.show { display: grid; animation: fade 0.25s var(--ease); }
.modal-bg.show .modal { animation: pop-in 0.35s var(--spring); }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.modal { border-radius: var(--r-xl); padding: 22px; width: min(390px, 100%); display: flex; flex-direction: column; gap: 10px; background: rgba(23, 18, 24, 0.88); }
.wallet-opt { display: flex; align-items: center; gap: 12px; padding: 13px; border-radius: var(--r); border: 1px solid var(--line); background: var(--glass); cursor: pointer; font-weight: 500; transition: border-color 0.2s, background 0.2s, transform 0.2s var(--ease); }
.wallet-opt:hover { border-color: var(--mint-line); background: var(--glass-2); transform: translateY(-1px); }
.wallet-opt img { width: 28px; height: 28px; border-radius: 8px; }
.menu-btn { display: none; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1180px) {
  .rules-row { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1100px) {
  .cr { flex-direction: column; gap: 24px; }
  .cr-card { width: 100%; position: static; }
}
@media (max-width: 980px) {
  .hero, .coin-page { grid-template-columns: 1fr; }
  .trade { position: static; }
  .stats, .stat-row { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-stats > div:nth-child(3) { border-left: 0; }
  .hero-stats > div:nth-child(n + 3) { border-top: 1px solid var(--line); }
}
@media (max-width: 760px) {
  .app { grid-template-columns: 1fr; }
  .side { position: fixed; z-index: 30; left: 0; top: 0; width: 264px; transform: translateX(-100%); transition: transform 0.35s var(--ease); }
  .side.open { transform: none; box-shadow: 0 0 0 100vmax rgba(0, 0, 0, 0.5); }
  .menu-btn { display: inline-flex; }
  .main { padding: 14px 16px 50px; }
  .topbar h1 { font-size: 26px; }
  .home-hero { min-height: 0; padding: 24px 18px 18px; }
  .home-hero h1 { font-size: 36px; margin-top: 30px; }
  .home-hero .stamp { position: static; margin-top: 18px; }
  .home-hero .pill-row span:nth-child(3) { display: none; }
  .hero-main { padding: 22px; min-height: 0; }
  .hero-main h1 { font-size: 32px; }
  .hero-main .stamp { align-self: flex-start; margin-bottom: 0; }
  .rules-row { grid-template-columns: repeat(2, 1fr); }
  .coins { grid-template-columns: 1fr; }
  .top-actions .btn.hide-sm { display: none; }
}
@media (max-width: 640px) {
  .cr-top { flex-direction: column; }
  .cr-drop { width: 100%; height: 160px; }
  .links { grid-template-columns: 1fr; }
  .viz { width: 104px; padding: 2px 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .viz *, .cr-list li, .cr-drop img, .cr-id .av img, .scene-img, .scene-shine, .float3d, .feed-row { animation: none !important; }
}

/* =====================================================================================
   No browser chrome, anywhere
   ===================================================================================== */
html { scrollbar-color: rgba(242, 181, 147, 0.28) transparent; scrollbar-width: thin; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(242, 181, 147, 0.18); border-radius: 99px; border: 3px solid transparent; background-clip: padding-box; }
::-webkit-scrollbar-thumb:hover { background: rgba(242, 181, 147, 0.4); background-clip: padding-box; border: 3px solid transparent; }
::-webkit-scrollbar-corner { background: transparent; }
* { -webkit-tap-highlight-color: transparent; }
button, input, textarea, select { appearance: none; -webkit-appearance: none; border-radius: 0; }
button { background: none; border: 0; padding: 0; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; }
input::-webkit-outer-spin-button, input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
input[type='number'] { -moz-appearance: textfield; }
input::-webkit-search-cancel-button, input::-webkit-search-decoration { -webkit-appearance: none; }
input:-webkit-autofill, input:-webkit-autofill:hover, input:-webkit-autofill:focus, textarea:-webkit-autofill {
  -webkit-text-fill-color: var(--text); caret-color: var(--text);
  box-shadow: 0 0 0 1000px #19141b inset; transition: background-color 9999s;
}
input, textarea { caret-color: var(--mint); }
img { -webkit-user-drag: none; }

/* =====================================================================================
   Tooltip: any element with data-tip
   ===================================================================================== */
[data-tip] { position: relative; }
.tip {
  position: fixed; z-index: 60; pointer-events: none; max-width: 260px; padding: 9px 12px; border-radius: 12px;
  background: rgba(22, 18, 23, 0.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line-2); box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.8), inset 0 1px 0 var(--hi);
  font-size: 14px; line-height: 1.45; color: var(--text); opacity: 0; transform: translateY(4px) scale(0.98);
  transition: opacity 0.18s var(--ease), transform 0.22s var(--ease);
}
.tip.show { opacity: 1; transform: none; }
.tip b { display: block; font-weight: 500; margin-bottom: 2px; color: var(--mint-2); }

/* =====================================================================================
   Dropdown (replaces <select>)
   ===================================================================================== */
.dd { position: relative; display: inline-block; }
.dd-btn {
  display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 14px 0 16px; border-radius: 99px;
  background: var(--glass-2); border: 1px solid var(--line); box-shadow: inset 0 1px 0 var(--hi); cursor: pointer;
  font-size: 15.5px; color: var(--text); text-transform: lowercase; transition: border-color 0.2s, background 0.2s;
}
.dd-btn:hover, .dd.open .dd-btn { border-color: var(--mint-line); background: var(--glass-3); }
.dd-btn .lbl-k { color: var(--dim); }
.dd-btn svg { width: 14px; height: 14px; color: var(--muted); transition: transform 0.3s var(--spring); }
.dd.open .dd-btn svg { transform: rotate(180deg); }
.dd-menu {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 45; min-width: 210px; padding: 6px; border-radius: 18px;
  background: rgba(22, 18, 23, 0.94); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--line-2); box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.85), inset 0 1px 0 var(--hi);
  opacity: 0; transform: translateY(-6px) scale(0.98); transform-origin: top right; pointer-events: none;
  transition: opacity 0.2s var(--ease), transform 0.25s var(--ease);
}
.dd.open .dd-menu { opacity: 1; transform: none; pointer-events: auto; }
.dd-opt {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 10px 12px;
  border-radius: 12px; font-size: 15.5px; color: var(--muted); cursor: pointer; text-align: left; text-transform: lowercase;
  transition: background 0.15s, color 0.15s;
}
.dd-opt:hover, .dd-opt.active { background: var(--glass-2); color: var(--text); }
.dd-opt .ck { width: 16px; height: 16px; color: var(--mint); opacity: 0; transform: scale(0.6); transition: opacity 0.2s, transform 0.25s var(--spring); }
.dd-opt.on { color: var(--text); }
.dd-opt.on .ck { opacity: 1; transform: none; }
.dd-opt small { display: block; font-size: 13.5px; color: var(--dim); margin-top: 1px; }

/* =====================================================================================
   Tiles: the card system. Cursor spotlight, lift, staggered reveal.
   ===================================================================================== */
.tile {
  position: relative; overflow: hidden; isolation: isolate; border-radius: var(--r-xl); padding: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.022));
  border: 1px solid var(--line); box-shadow: inset 0 1px 0 var(--hi), 0 22px 46px -28px rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
  transition: transform 0.45s var(--ease), border-color 0.35s, box-shadow 0.45s var(--ease);
}
.tile::before { /* cursor spotlight */
  content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity 0.35s;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(242, 181, 147, 0.11), transparent 45%);
}
.tile::after { /* spotlight on the border */
  content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; z-index: 1; pointer-events: none; opacity: 0;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(242, 181, 147, 0.55), transparent 45%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  transition: opacity 0.35s;
}
.tile:hover::before, .tile:hover::after { opacity: 1; }
a.tile:hover, .tile.lift:hover { transform: translateY(-3px); box-shadow: inset 0 1px 0 var(--hi), 0 30px 56px -28px rgba(236, 164, 125, 0.32); }
.tile-k { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); text-transform: lowercase; }
.tile-k .ico { width: 26px; height: 26px; border-radius: 9px; display: grid; place-items: center; background: var(--glass-2); box-shadow: inset 0 0 0 1px var(--line); color: var(--mint); }
.tile-k .ico svg { width: 14px; height: 14px; }
.tile-v { font: 500 34px/1.1 var(--mono); letter-spacing: -0.05em; margin-top: 14px; }
.tile-s { font-size: 14px; color: var(--dim); margin-top: 4px; }
.tile h3 { font-size: 21px; }
.tile p { color: var(--muted); font-size: 15.5px; margin: 6px 0 0; line-height: 1.5; }
.tile .go { position: absolute; right: 18px; top: 18px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--glass-2); box-shadow: inset 0 0 0 1px var(--line); color: var(--muted); transition: transform 0.35s var(--spring), background 0.25s, color 0.25s; }
.tile .go svg { width: 15px; height: 15px; }
a.tile:hover .go { transform: rotate(-45deg); background: var(--grad); color: var(--ink-on-mint); }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 rgba(242, 181, 147, 0.6); animation: live 2s infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(242, 181, 147, 0.55); } 70% { box-shadow: 0 0 0 8px rgba(242, 181, 147, 0); } 100% { box-shadow: 0 0 0 0 rgba(242, 181, 147, 0); } }

/* scroll reveal */
.reveal { opacity: 0; transform: translateY(16px) scale(0.99); transition: opacity 0.7s var(--ease), transform 0.8s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }

/* sparkline */
.spark { display: block; width: 100%; height: 40px; margin-top: 12px; overflow: visible; }
.spark path.line { fill: none; stroke: var(--mint); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: var(--len, 400); stroke-dashoffset: var(--len, 400); transition: stroke-dashoffset 1.6s var(--ease); filter: drop-shadow(0 0 6px rgba(242, 181, 147, 0.5)); }
.drawn .spark path.line { stroke-dashoffset: 0; }
.spark path.area { fill: url(#spark-fill); opacity: 0; transition: opacity 1.2s 0.4s; }
.drawn .spark path.area { opacity: 1; }

/* =====================================================================================
   Homepage bento
   ===================================================================================== */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.b-hero { grid-column: span 8; grid-row: span 2; min-height: 460px; padding: 30px 34px; display: flex; flex-direction: column; }
.b-hero .pill-row { display: inline-flex; gap: 4px; padding: 5px; border-radius: 99px; background: rgba(13, 10, 14, 0.5); border: 1px solid var(--line); backdrop-filter: blur(12px); align-self: flex-start; }
.b-hero .pill-row button { font-size: 14px; padding: 6px 13px; border-radius: 99px; color: var(--muted); text-transform: lowercase; white-space: nowrap; cursor: pointer; transition: color 0.2s, background 0.3s var(--ease); }
.b-hero .pill-row button.on { background: var(--grad); color: var(--ink-on-mint); font-weight: 600; box-shadow: var(--glow); }
.b-hero h1 { font-size: 58px; line-height: 1.02; margin-top: 34px; max-width: 600px; text-shadow: 0 2px 30px rgba(0, 0, 0, 0.35); }
.b-hero h1 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.b-hero p { color: #f4cbb2; max-width: 470px; margin: 18px 0 0; font-size: 17.5px; line-height: 1.55; }
.b-hero .cta { display: flex; gap: 10px; margin-top: 28px; flex-wrap: wrap; }
.b-hero .stamp { position: absolute; right: 30px; top: 28px; animation: stamp-in 0.7s 0.4s var(--spring) both; }
@keyframes stamp-in { from { opacity: 0; transform: translateY(8px) scale(0.9); } to { opacity: 1; transform: none; } }
.b-hero .rule-say { margin-top: auto; padding-top: 30px; display: flex; align-items: center; gap: 14px; min-height: 76px; position: relative; z-index: 1; }
.b-hero .rule-say .viz { background: rgba(13, 10, 14, 0.55); backdrop-filter: blur(10px); }
.b-hero .rule-say .txt { font-size: 15.5px; color: var(--muted); max-width: 340px; transition: opacity 0.3s; }
.b-hero .rule-say .txt b { display: block; color: var(--text); font-weight: 500; font-size: 16.5px; }

.b-feed { grid-column: span 4; grid-row: span 2; display: flex; flex-direction: column; padding: 20px; }
.b-feed .head { display: flex; align-items: center; justify-content: space-between; }
.feed-list { position: relative; margin-top: 14px; flex: 1; overflow: hidden; mask-image: linear-gradient(180deg, #000 75%, transparent); -webkit-mask-image: linear-gradient(180deg, #000 75%, transparent); }
.feed-item { display: flex; gap: 10px; align-items: center; padding: 11px 12px; border-radius: 16px; background: var(--glass); border: 1px solid var(--line); margin-bottom: 8px; animation: feed-in 0.6s var(--ease) both; }
.feed-item .stamp { height: 24px; font-size: 12.5px; padding-right: 9px; flex: none; }
.feed-item .stamp::before { width: 16px; height: 16px; background-size: 10px, auto; }
.feed-item .who { font: 500 14px var(--mono); }
.feed-item .why { font-size: 13.5px; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feed-item .ago { margin-left: auto; font-size: 13px; color: var(--dim); flex: none; }
@keyframes feed-in { from { opacity: 0; transform: translateY(-10px) scale(0.98); } to { opacity: 1; transform: none; } }
.feed-empty { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center; color: var(--muted); font-size: 15px; padding: 20px; }
.radar { width: 120px; height: 120px; border-radius: 50%; position: relative; background: radial-gradient(circle, rgba(242, 181, 147, 0.06) 0 30%, transparent 31%), radial-gradient(circle, transparent 0 48%, rgba(242, 181, 147, 0.12) 49% 50%, transparent 51%), radial-gradient(circle, transparent 0 68%, rgba(242, 181, 147, 0.1) 69% 70%, transparent 71%); box-shadow: inset 0 0 0 1px var(--line); }
.radar::before { content: ''; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, rgba(242, 181, 147, 0.35), transparent 25%); animation: sweep 3s linear infinite; }
.radar::after { content: ''; position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; margin: -3px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 10px var(--mint); }
@keyframes sweep { to { transform: rotate(360deg); } }
.feed-check { display: flex; gap: 8px; margin-top: 12px; }
.feed-check input { flex: 1; min-width: 0; height: 40px; border-radius: 99px; padding: 0 16px; background: var(--glass); border: 1px solid var(--line); font: 400 14px var(--mono); transition: border-color 0.2s; }
.feed-check input:focus { border-color: var(--mint-line); }
.feed-check-res { font-size: 14px; margin-top: 8px; min-height: 18px; color: var(--muted); }

.b-stat { grid-column: span 3; padding: 20px; }
.b-stat .tile-v.red { color: var(--red-2); }

.b-rules { grid-column: span 8; padding: 24px; }
.b-rules .head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.rule-tabs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.rule-tab {
  display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 18px; text-align: left; cursor: pointer;
  background: var(--glass); border: 1px solid var(--line); transition: border-color 0.3s, background 0.3s, transform 0.35s var(--ease);
}
.rule-tab:hover { border-color: var(--line-2); transform: translateY(-2px); }
.rule-tab.on { border-color: var(--mint-line); background: linear-gradient(180deg, rgba(242, 181, 147, 0.09), rgba(255, 255, 255, 0.02)); }
.rule-tab .viz { width: 88px; height: 52px; padding: 2px 8px; flex: none; transform: scale(1); }
.rule-tab .viz > div { transform: scale(0.68); transform-origin: left center; width: 147%; }
.rule-tab .rt b { display: block; font-weight: 500; font-size: 15.5px; letter-spacing: -0.015em; text-transform: lowercase; }
.rule-tab .rt span { display: block; font-size: 13.5px; color: var(--dim); line-height: 1.35; margin-top: 2px; }
.rule-tab { position: relative; }
.rule-tab .new { position: absolute; top: 8px; right: 9px; font-size: 11.5px; font-weight: 600; color: var(--ink-on-mint); background: var(--grad); padding: 1px 7px; border-radius: 99px; box-shadow: var(--glow); }

.b-vs { grid-column: span 4; display: flex; flex-direction: column; padding: 24px; }
.vs-score { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: auto; padding-top: 18px; }
.vs-score > div { border-radius: 18px; padding: 14px; background: var(--glass); border: 1px solid var(--line); }
.vs-score .n { font: 500 40px/1 var(--mono); letter-spacing: -0.06em; }
.vs-score .l { font-size: 13.5px; color: var(--muted); margin-top: 6px; line-height: 1.35; }
.vs-score .us { border-color: var(--mint-line); background: linear-gradient(180deg, rgba(242, 181, 147, 0.1), rgba(255, 255, 255, 0.02)); }

.b-launch { grid-column: span 12; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px; padding: 26px 30px; }
.b-launch .steps { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.b-launch .step { display: flex; align-items: center; gap: 8px; padding: 7px 13px 7px 7px; border-radius: 99px; background: var(--glass); border: 1px solid var(--line); font-size: 14.5px; color: var(--muted); }
.b-launch .step i { font-style: normal; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font: 600 12.5px var(--mono); background: var(--grad); color: var(--ink-on-mint); }

.launch-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 38px 0 16px; flex-wrap: wrap; }
.launch-bar .filters { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.fchip { height: 36px; padding: 0 14px; border-radius: 99px; font-size: 14.5px; color: var(--muted); background: var(--glass); border: 1px solid var(--line); cursor: pointer; text-transform: lowercase; transition: all 0.2s; display: inline-flex; align-items: center; gap: 7px; }
.fchip:hover { color: var(--text); border-color: var(--line-2); }
.fchip.on { color: var(--ink-on-mint); background: var(--grad); border-color: transparent; font-weight: 600; box-shadow: var(--glow); }
.fchip .n { font-family: var(--mono); font-size: 13px; opacity: 0.7; }

/* coin tiles get the spotlight too */
.coin { position: relative; overflow: hidden; isolation: isolate; }
.coin::before { content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity 0.35s; background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%), rgba(242, 181, 147, 0.1), transparent 45%); }
.coin:hover::before { opacity: 1; }

@media (max-width: 1100px) {
  .b-hero, .b-feed { grid-column: span 12; grid-row: auto; }
  .b-feed { min-height: 360px; }
  .b-stat { grid-column: span 6; }
  .b-rules, .b-vs { grid-column: span 12; }
}
@media (max-width: 760px) {
  .bento { gap: 12px; }
  .b-hero { min-height: 0; padding: 24px 20px; }
  .b-hero h1 { font-size: 38px; margin-top: 26px; }
  .b-hero .stamp { position: static; align-self: flex-start; margin-top: 18px; order: -1; }
  .b-hero .pill-row button:nth-child(3) { display: none; }
  .rule-tabs { grid-template-columns: 1fr; }
  .b-launch { grid-template-columns: 1fr; }
  .tile-v { font-size: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .radar::before, .live-dot, .feed-item, .b-hero .stamp { animation: none !important; }
}

/* every card-style panel gets the tile treatment: cursor spotlight */
.card, .fix, .rule-card, .stat { position: relative; isolation: isolate; overflow: hidden; }
.card::before, .fix::before, .rule-card::before, .stat::before {
  content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0; pointer-events: none; transition: opacity 0.35s;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 50%), rgba(242, 181, 147, 0.08), transparent 45%);
}
.card:hover::before, .fix:hover::before, .rule-card:hover::before, .stat:hover::before { opacity: 1; }

/* generated imagery in tiles */
.tile.scene { background: #0c090d; }
.b-hero.scene { border-color: rgba(242, 181, 147, 0.18); }
.b-launch.scene { min-height: 220px; padding-right: 300px; }
.b-launch .launch-emblem { right: 64px; top: 50%; width: 180px; margin-top: -90px; }
.b-launch > a.btn { position: relative; z-index: 2; }
.tile-3d { position: absolute; right: 14px; top: 12px; width: 54px; height: 54px; opacity: 0.95; }
.vs-3d { position: absolute; right: 64px; top: 14px; width: 58px; height: 58px; }
.cr-banner { height: 150px; margin: -24px -24px 0; border-radius: var(--r-xl) var(--r-xl) 0 0; border: 0; border-bottom: 1px solid var(--line); box-shadow: none; display: flex; align-items: flex-end; padding: 16px 20px; }
.cr-banner .cr-id { width: 100%; }
@media (max-width: 760px) {
  .b-launch.scene { padding-right: 22px; }
  .b-launch .launch-emblem { right: 14px; top: 16px; width: 90px; margin-top: 0; opacity: 0.85; }
}
.b-stat .tile-k, .b-stat .tile-v { padding-right: 62px; }
.b-vs .tile-k { padding-right: 120px; }

/* =====================================================================================
   Site layout: floating pill nav, full-bleed sections, grid lines, light sections, footer
   ===================================================================================== */
:root { --wrap: 1180px; --gl: rgba(244, 231, 211, 0.07); }
body { overflow-x: hidden; }
.main { padding-top: 34px; }
.main.landing { max-width: none; width: 100%; padding: 0; }

/* thin vertical guide lines at the container edges and thirds, like a design grid */
.grid-lines { position: relative; }
.grid-lines::after {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: linear-gradient(var(--gl), var(--gl)), linear-gradient(var(--gl), var(--gl)), linear-gradient(var(--gl), var(--gl)), linear-gradient(var(--gl), var(--gl));
  background-size: 1px 100%; background-repeat: no-repeat;
  background-position: calc(50% - var(--wrap) / 2) 0, calc(50% - var(--wrap) / 6) 0, calc(50% + var(--wrap) / 6) 0, calc(50% + var(--wrap) / 2) 0;
}
.grid-lines > * { position: relative; z-index: 1; }
.grid-lines > .scene-img, .grid-lines > .scene-shine, .grid-lines > .scene-shade { position: absolute; }
.grid-lines > .scene-img { z-index: -3; }
.grid-lines > .scene-shine { z-index: -2; }
.grid-lines > .scene-shade { z-index: -1; }

/* ---------------------------------------------------------------- pill nav */
.topnav { position: fixed; top: 16px; left: 0; right: 0; z-index: 35; display: flex; flex-direction: column; align-items: center; pointer-events: none; padding: 0 16px; }
.topnav-pill {
  pointer-events: auto; display: flex; align-items: center; gap: 6px; padding: 6px 6px 6px 14px; border-radius: 99px;
  background: rgba(20, 16, 22, 0.42); border: 1px solid rgba(244, 231, 211, 0.16); backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 14px 40px -18px rgba(0, 0, 0, 0.6); transition: background 0.35s, box-shadow 0.35s;
}
.topnav.scrolled .topnav-pill { background: rgba(16, 13, 17, 0.78); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 18px 46px -18px rgba(0, 0, 0, 0.8); }
.topnav .brand { padding: 0 10px 0 0; gap: 8px; }
.topnav .brand-mark, .topnav .brand-mark svg { width: 26px; height: 26px; }
.topnav .brand-name { font-size: 19px; }
.topnav-links { display: flex; gap: 2px; }
.topnav-links a { padding: 7px 12px; border-radius: 99px; font-size: 15px; color: rgba(244, 241, 236, 0.78); transition: color 0.2s, background 0.2s; }
.topnav-links a:hover { color: var(--text); background: rgba(255, 255, 255, 0.07); }
.topnav-links a.on { color: var(--text); background: rgba(255, 255, 255, 0.11); box-shadow: inset 0 0 0 1px rgba(244, 231, 211, 0.14); }
.topnav #side-wallet { margin-left: 6px; height: 34px; }
.menu-btn { display: none; width: 38px; height: 34px; border-radius: 99px; background: rgba(255, 255, 255, 0.08); cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.menu-btn span { width: 15px; height: 1.6px; border-radius: 2px; background: var(--text); transition: transform 0.3s var(--ease); }
.sheet-open .menu-btn span:first-child { transform: translateY(3.3px) rotate(45deg); }
.sheet-open .menu-btn span:last-child { transform: translateY(-3.3px) rotate(-45deg); }
.topnav-sheet {
  pointer-events: auto; margin-top: 8px; width: min(420px, 100%); display: flex; flex-direction: column; padding: 8px; border-radius: 24px;
  background: rgba(16, 13, 17, 0.92); border: 1px solid var(--line-2); backdrop-filter: blur(18px); box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.8);
  opacity: 0; transform: translateY(-8px) scale(0.98); visibility: hidden; transition: opacity 0.25s var(--ease), transform 0.3s var(--ease), visibility 0s 0.3s;
}
.sheet-open .topnav-sheet { opacity: 1; transform: none; visibility: visible; transition: opacity 0.25s var(--ease), transform 0.3s var(--ease); }
.topnav-sheet a { padding: 13px 14px; border-radius: 14px; color: var(--muted); font-size: 16.5px; }
.topnav-sheet a.on, .topnav-sheet a:hover { background: var(--glass-2); color: var(--text); }

/* ---------------------------------------------------------------- page banner (app pages) */
.page-banner { min-height: 330px; display: flex; align-items: flex-end; padding: 140px 16px 40px; border-bottom: 1px solid var(--line); background: #0c090d; overflow: hidden; }
.page-banner .page-banner-in { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 32px; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px; }
.page-banner h1 { font-size: 54px; line-height: 1; width: 100%; text-shadow: 0 2px 30px rgba(0, 0, 0, 0.4); animation: rise 0.8s var(--ease) both; }
.page-banner .page-sub { margin: 4px 0 0; color: #f6d2bc; font-size: 17.5px; max-width: 520px; animation: rise 0.8s 0.1s var(--ease) both; }
.page-banner .page-sub:empty { display: none; }
.page-banner.scene { border-radius: 0; border-left: 0; border-right: 0; border-top: 0; box-shadow: none; }

/* ---------------------------------------------------------------- landing sections */
.l-sec { position: relative; padding: 120px 16px; border-top: 1px solid var(--line); }
.l-in { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
.l-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 32px; align-items: center; }
.l-3 > .l-c { display: flex; justify-content: center; }
.l-3 > .l-r { align-self: end; }
.l-head .badge-orb { margin-bottom: 18px; }
.l-head h2 { font-size: 44px; line-height: 1.04; letter-spacing: -0.045em; }
.l-small { font-size: 16px; line-height: 1.6; color: var(--muted); max-width: 300px; }
.badge-orb {
  display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, var(--ink-on-mint) 0 4.5px, transparent 5px), var(--grad);
  box-shadow: 0 0 22px rgba(242, 181, 147, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

/* landing hero: full bleed, full height */
.l-hero { min-height: max(720px, 100vh); padding: 150px 16px 50px; display: flex; flex-direction: column; border-radius: 0; border: 0; box-shadow: none; background: #0c090d; overflow: hidden; }
.l-hero .scene-img { object-position: center 62%; }
.l-hero .l-in { width: 100%; flex: 1; display: grid; grid-template-columns: 1fr 1.6fr 1fr; grid-template-rows: auto 1fr auto; gap: 24px; }
.l-hero h1 { grid-column: 1 / -1; text-align: center; font-size: 72px; line-height: 0.98; letter-spacing: -0.055em; margin: 0 auto; max-width: 860px; text-shadow: 0 4px 40px rgba(0, 0, 0, 0.45); animation: rise 1s var(--ease) both; }
.l-hero h1 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.l-hero .tagline { grid-column: 1; align-self: start; margin-top: 46px; font-size: 16.5px; line-height: 1.5; color: #e9e4dc; text-shadow: 0 2px 14px rgba(0, 0, 0, 0.6); animation: rise 1s 0.15s var(--ease) both; }
.l-hero .center { grid-column: 2; display: flex; flex-direction: column; align-items: center; gap: 22px; margin-top: 30px; animation: rise 1s 0.25s var(--ease) both; }
.l-hero .cta { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.laurel { display: inline-flex; align-items: center; gap: 10px; color: #f4f0ea; text-align: center; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; line-height: 1.35; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6); }
.laurel svg { width: 30px; height: 56px; opacity: 0.9; }
.laurel b { display: block; font-size: 14.5px; letter-spacing: 0.1em; font-weight: 600; }
.l-hero .side-r { grid-column: 3; align-self: start; margin-top: 46px; justify-self: end; animation: rise 1s 0.35s var(--ease) both; }
.l-hero .stamp { animation: stamp-in 0.7s 0.8s var(--spring) both; }
.l-hero .built { grid-column: 1 / -1; align-self: end; display: flex; justify-content: center; align-items: center; gap: 34px; color: rgba(244, 241, 236, 0.75); font-size: 16.5px; letter-spacing: -0.02em; flex-wrap: wrap; }
.l-hero .built span { display: inline-flex; align-items: center; gap: 8px; }
.l-hero .built svg { width: 18px; height: 18px; opacity: 0.85; }
.l-hero .built small { color: rgba(244, 241, 236, 0.5); font-size: 13.5px; letter-spacing: 0.08em; text-transform: uppercase; }
.scroll-cue { position: absolute; left: 50%; bottom: 18px; width: 22px; height: 34px; margin-left: -11px; border-radius: 12px; box-shadow: inset 0 0 0 1.5px rgba(244, 241, 236, 0.35); z-index: 2; }
.scroll-cue::after { content: ''; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--mint); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(10px); opacity: 0; } 100% { opacity: 0; } }

/* dark section */
.l-dark { background: linear-gradient(180deg, #1c161e 0%, #171218 100%); }

/* light (mint) sections */
.light {
  --text: #1e181f; --muted: #973b16; --dim: #e1672d; --line: rgba(44, 35, 47, 0.12); --line-2: rgba(44, 35, 47, 0.2);
  --glass: rgba(255, 255, 255, 0.55); --glass-2: rgba(255, 255, 255, 0.75); --glass-3: rgba(255, 255, 255, 0.9); --hi: rgba(255, 255, 255, 0.95);
  --gl: rgba(44, 35, 47, 0.08);
  color: var(--text);
}
.l-mint { background: radial-gradient(70% 90% at 30% 0%, #eee3d0 0%, transparent 70%), radial-gradient(60% 80% at 90% 20%, #efe2cd 0%, transparent 70%), linear-gradient(180deg, #f3ece0 0%, #f8f4ed 100%); border-top: 0; }
.l-paper { background: #f7f3ee; border-top: 1px solid var(--line); }
.light .l-small { color: var(--muted); }
.light .btn { background: rgba(255, 255, 255, 0.7); color: var(--text); border-color: var(--line-2); }
.light .btn.primary { background: #1e181f; color: #faf4eb; box-shadow: 0 12px 30px -12px rgba(30, 24, 31, 0.6); }

/* feature grid with hairline dividers (light) */
.feat-intro { display: grid; grid-template-columns: 1fr 2fr; gap: 32px; align-items: end; padding-bottom: 46px; border-bottom: 1px solid var(--line); }
.feat-intro .lead { font-size: 23px; line-height: 1.4; letter-spacing: -0.025em; }
.feat-intro .lead span { color: var(--muted); }
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.feat { padding: 30px 28px 34px 0; border-bottom: 1px solid var(--line); }
.feat:not(:nth-child(3n + 1)) { padding-left: 28px; border-left: 1px solid var(--line); }
.feat .ic { width: 30px; height: 30px; border-radius: 9px; background: #1e181f; color: #f3be9f; display: grid; place-items: center; margin-bottom: 20px; transition: transform 0.4s var(--spring); }
.feat:hover .ic { transform: rotate(-8deg) scale(1.08); }
.feat .ic svg { width: 16px; height: 16px; }
.feat h3 { font-size: 17.5px; margin-bottom: 8px; }
.feat p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.55; max-width: 260px; }

/* phone mockup with a live screen */
.phone-wrap { perspective: 1200px; }
.phone {
  position: relative; width: 300px; height: 620px; border-radius: 48px; padding: 11px;
  background: linear-gradient(145deg, #3a313c, #100d11 60%, #2c252f); transform-style: preserve-3d;
  box-shadow: 0 50px 90px -30px rgba(0, 0, 0, 0.75), inset 0 0 0 1.5px rgba(255, 255, 255, 0.14), inset 0 0 0 10px #09070a;
  transform: rotateY(var(--ry, 0deg)) rotateX(var(--rx, 0deg)); transition: transform 0.6s var(--ease);
  animation: phone-float 8s ease-in-out infinite;
}
@keyframes phone-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
.phone::before { content: ''; position: absolute; top: 22px; left: 50%; width: 92px; height: 26px; margin-left: -46px; border-radius: 20px; background: #050406; z-index: 5; }
.phone-screen { position: relative; height: 100%; border-radius: 38px; overflow: hidden; background: #141016; isolation: isolate; }
.phone-screen > .scene-img { inset: 0; width: 100%; height: 100%; }
.ps { position: absolute; inset: 0; padding: 60px 18px 18px; display: flex; flex-direction: column; gap: 10px; }
.ps-top { display: flex; align-items: center; justify-content: space-between; font-size: 13px; }
.ps-top .brand-name { font-size: 16px; }
.ps-top .brand-mark, .ps-top .brand-mark svg { width: 22px; height: 22px; }
.ps-pill { font-size: 10.5px; font-weight: 600; padding: 3px 8px; border-radius: 99px; background: var(--grad); color: var(--ink-on-mint); }
.ps h4 { font: 500 26px/1.05 var(--head); letter-spacing: -0.04em; margin: 12px 0 0; text-transform: lowercase; }
.ps h4 span { color: rgba(244, 241, 236, 0.6); }
.ps-glass { border-radius: 18px; padding: 11px 13px; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.14); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12); }
.ps-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ps-k { font-size: 10.5px; color: rgba(244, 241, 236, 0.7); text-align: center; }
.ps-v { font: 500 16px/1.3 var(--mono); text-align: center; letter-spacing: -0.03em; }
.ps-big { margin-top: auto; text-align: center; }
.ps-big .stamp { font-size: 20px; }
.ps-big p { font: 500 20px/1.2 var(--head); letter-spacing: -0.035em; margin: 18px 0 14px; text-transform: lowercase; }
.ps-btns { display: flex; gap: 8px; justify-content: center; }
.ps-btns span { height: 36px; padding: 0 16px; display: inline-flex; align-items: center; border-radius: 99px; font-size: 12.5px; }
.ps-btns .a { background: var(--grad); color: var(--ink-on-mint); font-weight: 600; }
.ps-btns .b { background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.14); color: var(--red-2); }
.ps-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ps-card { border-radius: 16px; padding: 10px; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.14); backdrop-filter: blur(10px); }
.ps-card .t { display: inline-block; font-size: 9.5px; font-weight: 600; padding: 2px 6px; border-radius: 99px; background: rgba(242, 181, 147, 0.25); color: var(--mint-2); }
.ps-card b { display: block; font: 500 17px/1.2 var(--mono); margin-top: 18px; letter-spacing: -0.03em; }
.ps-card span { font-size: 10.5px; color: rgba(244, 241, 236, 0.7); }

/* image divider banner with a glass card (fees) */
.l-band { min-height: 640px; padding: 110px 16px; border-radius: 0; border-left: 0; border-right: 0; box-shadow: none; display: flex; align-items: center; background: #0c090d; overflow: hidden; }
.l-band .l-in { width: 100%; }
.fee-card {
  width: 340px; border-radius: 30px; padding: 22px; color: var(--text);
  background: linear-gradient(180deg, rgba(43, 34, 46, 0.72), rgba(20, 16, 22, 0.82)); border: 1px solid rgba(244, 231, 211, 0.16);
  backdrop-filter: blur(20px) saturate(140%); -webkit-backdrop-filter: blur(20px) saturate(140%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 40px 80px -30px rgba(0, 0, 0, 0.8);
}
.fee-card .fc-top { display: flex; justify-content: space-between; align-items: center; font-size: 14.5px; color: var(--muted); }
.fee-card h3 { text-align: center; font-size: 22px; margin: 18px 0 16px; }
.fee-opts { border-radius: 20px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line); overflow: hidden; }
.fee-opt { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; text-align: left; cursor: pointer; transition: background 0.2s; }
.fee-opt + .fee-opt { border-top: 1px solid var(--line); }
.fee-opt:hover { background: rgba(255, 255, 255, 0.04); }
.fee-opt .rd { width: 20px; height: 20px; border-radius: 50%; flex: none; box-shadow: inset 0 0 0 1.5px var(--line-2); display: grid; place-items: center; transition: background 0.25s, box-shadow 0.25s; }
.fee-opt .rd svg { width: 12px; height: 12px; color: var(--ink-on-mint); opacity: 0; transform: scale(0.5); transition: opacity 0.2s, transform 0.3s var(--spring); }
.fee-opt.on .rd { background: var(--mint); box-shadow: 0 0 12px rgba(242, 181, 147, 0.6); }
.fee-opt.on .rd svg { opacity: 1; transform: none; }
.fee-opt small { display: block; font-size: 13px; color: var(--dim); }
.fee-opt b { font-weight: 500; font-size: 16.5px; }
.fee-opt .best { margin-left: auto; font-size: 12px; font-weight: 600; padding: 3px 8px; border-radius: 99px; background: rgba(242, 181, 147, 0.2); color: var(--mint); }
.fee-incl { margin: 16px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 9px; font-size: 15px; }
.fee-incl li { display: flex; gap: 10px; align-items: center; }
.fee-incl svg { width: 16px; height: 16px; color: var(--mint); flex: none; }
.fee-card .btn { margin-top: 18px; }
.fee-card .fine { text-align: center; font-size: 13px; color: var(--dim); margin-top: 10px; }

/* live cards section */
.live-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 46px; }
.live-grid .tile { min-height: 340px; display: flex; flex-direction: column; }
.live-grid .tile h3 { font-size: 20px; }

/* FAQ accordion (custom) */
.faq { display: grid; grid-template-columns: 1fr 2fr; gap: 32px; }
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; padding: 22px 0; text-align: left; font-size: 20px; letter-spacing: -0.025em; cursor: pointer; color: var(--text); text-transform: lowercase; }
.faq-q i { position: relative; width: 28px; height: 28px; flex: none; border-radius: 50%; background: var(--glass-2); box-shadow: inset 0 0 0 1px var(--line); transition: background 0.3s, transform 0.4s var(--spring); }
.faq-q i::before, .faq-q i::after { content: ''; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.6px; margin: -0.8px 0 0 -5.5px; border-radius: 2px; background: currentColor; transition: transform 0.35s var(--ease); }
.faq-q i::after { transform: rotate(90deg); }
.faq-item.open .faq-q i { background: var(--grad); color: var(--ink-on-mint); transform: rotate(180deg); }
.faq-item.open .faq-q i::after { transform: rotate(0deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.45s var(--ease); }
.faq-a > div { overflow: hidden; color: var(--muted); font-size: 16px; line-height: 1.6; max-width: 620px; }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-item.open .faq-a > div { padding-bottom: 22px; }

/* launches section on the landing page */
.l-launches .launch-bar { margin-top: 0; }

/* ---------------------------------------------------------------- footer */
.site-foot { margin-top: 0; padding: 110px 16px 30px; background: radial-gradient(70% 100% at 80% 0%, #ece0cd 0%, transparent 70%), linear-gradient(180deg, #f3ece0 0%, #f8f4ed 100%); border-top: 1px solid var(--line); overflow: hidden; }
.main:not(.landing) + .site-foot { margin-top: 100px; }
.foot-hero, .foot-cols, .foot-legal { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
.foot-hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 30px; }
.foot-copy h2 { font-size: 46px; line-height: 1.02; letter-spacing: -0.05em; margin-top: 18px; }
.foot-copy p { color: var(--muted); max-width: 400px; margin: 16px 0 24px; }
.foot-emblem { justify-self: center; width: 330px; filter: drop-shadow(0 40px 50px rgba(39, 31, 41, 0.35)) drop-shadow(0 0 40px rgba(234, 150, 106, 0.35)); animation: float3d 8s ease-in-out infinite; }
.foot-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 70px; padding-top: 34px; border-top: 1px solid var(--line); }
.foot-cols div { display: flex; flex-direction: column; gap: 9px; }
.foot-cols b { font-weight: 500; font-size: 15.5px; margin-bottom: 6px; text-transform: lowercase; }
.foot-cols a { color: var(--muted); font-size: 15.5px; transition: color 0.2s; text-transform: lowercase; }
.foot-cols a:hover { color: var(--text); }
.foot-legal { display: flex; justify-content: space-between; gap: 20px; margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; color: var(--dim); flex-wrap: wrap; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1240px) {
  :root { --wrap: calc(100vw - 32px); }
}
@media (max-width: 1060px) {
  .topnav-links { display: none; }
  .menu-btn { display: inline-flex; }
  .l-3, .feat-intro, .faq, .foot-hero { grid-template-columns: 1fr; }
  .l-3 > .l-c { order: 3; }
  .l-3 > .l-r { align-self: start; }
  .feat-grid, .live-grid { grid-template-columns: 1fr 1fr; }
  .feat:not(:nth-child(3n + 1)) { padding-left: 0; border-left: 0; }
  .feat:nth-child(2n) { padding-left: 24px; border-left: 1px solid var(--line); }
  .l-hero .l-in { grid-template-columns: 1fr; text-align: center; }
  .l-hero .tagline, .l-hero .center, .l-hero .side-r { grid-column: 1; justify-self: center; margin-top: 10px; }
  .foot-emblem { width: 240px; order: -1; }
}
@media (max-width: 680px) {
  .l-sec { padding: 80px 0; }
  .l-in { padding: 0 18px; }
  .l-hero { padding: 120px 0 40px; }
  .l-hero h1 { font-size: 44px; }
  .l-head h2, .foot-copy h2 { font-size: 34px; }
  .page-banner { min-height: 250px; padding: 120px 0 28px; }
  .page-banner .page-banner-in { padding: 0 18px; }
  .page-banner h1 { font-size: 38px; }
  .feat-grid, .live-grid { grid-template-columns: 1fr; }
  .feat:nth-child(2n) { padding-left: 0; border-left: 0; }
  .phone { width: 270px; height: 560px; }
  .fee-card { width: 100%; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .topnav #side-wallet { display: none; }
  .l-band { min-height: 0; padding: 70px 0; }
}
@media (prefers-reduced-motion: reduce) {
  .phone, .foot-emblem, .scroll-cue::after, .l-hero h1, .l-hero .tagline, .l-hero .center, .l-hero .side-r, .page-banner h1, .page-banner .page-sub { animation: none !important; }
}

/* hero: the "turned away" card (3D megaphone + pill) */
.reject-card {
  display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 10px; border-radius: 22px; max-width: 290px;
  background: linear-gradient(180deg, rgba(43, 34, 46, 0.6), rgba(20, 16, 22, 0.72)); border: 1px solid rgba(244, 231, 211, 0.16);
  backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 24px 50px -24px rgba(0, 0, 0, 0.8);
  animation: rise 1s 0.6s var(--ease) both, card-bob 7s 1.6s ease-in-out infinite;
}
.reject-card .rc-3d { width: 52px; height: 52px; object-fit: contain; flex: none; filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 14px rgba(255, 200, 110, 0.35)); animation: mega-nudge 3.2s ease-in-out infinite; }
.reject-card b { display: block; font-weight: 500; font-size: 15.5px; margin-top: 7px; letter-spacing: -0.015em; }
.reject-card small { display: block; font-size: 13.5px; color: var(--muted); margin-top: 2px; }
@keyframes card-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes mega-nudge { 0%, 60%, 100% { transform: rotate(0) translateX(0); } 66% { transform: rotate(-10deg) translateX(3px); } 72% { transform: rotate(6deg) translateX(-2px); } 78% { transform: rotate(0); } }

/* feature grid: each feature shows its live 3D picture */
.feat .viz { width: 132px; height: 76px; margin-bottom: 20px; cursor: default; box-shadow: inset 0 0 0 1px rgba(44, 35, 47, 0.25), 0 14px 26px -16px rgba(30, 24, 31, 0.55); }
@media (prefers-reduced-motion: reduce) { .reject-card, .reject-card .rc-3d { animation: none !important; } }
.light .viz { background: radial-gradient(120% 100% at 50% 115%, #423546 0%, #1b161d 70%); box-shadow: inset 0 0 0 1px rgba(44, 35, 47, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 14px 26px -16px rgba(30, 24, 31, 0.55); }

/* phone screens always use the dark theme, even inside light sections */
.phone-screen {
  --text: #f4f1ec; --muted: #f0b593; --dim: #e26e36; --line: rgba(248, 240, 227, 0.12); --line-2: rgba(248, 240, 227, 0.2);
  --glass: rgba(255, 255, 255, 0.08); --glass-2: rgba(255, 255, 255, 0.12); --hi: rgba(255, 255, 255, 0.12);
  color: var(--text);
}
.phone-screen .ps-big p { color: #f7f3ee; text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55); }
.phone-screen .stamp { color: #fff3d9; background: linear-gradient(180deg, rgba(246, 213, 142, 0.26), rgba(226, 176, 74, 0.12)); border-color: rgba(246, 213, 142, 0.42); }

/* the coral glass barrier render, re-tinted to the gold "turned away" colour */
.x-wall .bar img { filter: hue-rotate(38deg) saturate(1.05) brightness(1.08); }

/* ---------------------------------------------------------------- the app, shown on a desktop (pc) or on phones (mobile) */
.show-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 32px; }
.show-head .l-small { max-width: 400px; margin: 0; }
.l-show .show { margin-top: 44px; }
.phones { display: none; }
.desk-wrap { perspective: 1800px; display: flex; flex-direction: column; align-items: center; animation: phone-float 9s ease-in-out infinite; }
.desk {
  position: relative; width: min(100%, 920px); border-radius: 22px; padding: 12px 12px 26px;
  background: linear-gradient(160deg, #3a313c, #100d11 55%, #2c252f);
  box-shadow: 0 60px 100px -40px rgba(0, 0, 0, 0.85), 0 0 80px -30px rgba(234, 150, 106, 0.25), inset 0 0 0 1.5px rgba(255, 255, 255, 0.14), inset 0 0 0 10px #09070a;
  transform: rotateY(var(--ry, 0deg)) rotateX(var(--rx, 0deg)); transition: transform 0.6s var(--ease);
}
.desk::after { content: ''; position: absolute; left: 50%; bottom: 9px; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: rgba(242, 181, 147, 0.35); box-shadow: 0 0 8px rgba(242, 181, 147, 0.5); }
.desk-neck { width: 130px; height: 54px; background: linear-gradient(180deg, #151117, #2f2832 70%, #1d181e); clip-path: polygon(14% 0, 86% 0, 100% 100%, 0 100%); }
.desk-foot { width: 300px; height: 12px; border-radius: 4px 4px 14px 14px; background: linear-gradient(180deg, #413844, #151117); box-shadow: 0 24px 30px -10px rgba(0, 0, 0, 0.7); }
.desk-screen { position: relative; aspect-ratio: 1000 / 600; border-radius: 10px; overflow: hidden; background: #141016; isolation: isolate; }
.desk-screen > .scene-img { inset: 0; width: 100%; height: 100%; }
.desk-screen::after { content: ''; position: absolute; inset: 0; z-index: 3; pointer-events: none; background: linear-gradient(115deg, rgba(255, 255, 255, 0.07) 0%, transparent 32%); }
/* the screen's own layout, 1000 x 600, scaled by js */
.ds {
  position: absolute; left: 0; top: 0; width: 1000px; height: 600px; transform-origin: 0 0; padding: 20px 26px; display: flex; flex-direction: column; gap: 18px; z-index: 2;
  --text: #f4f1ec; --muted: #f0b593; --dim: #e26e36; --line: rgba(248, 240, 227, 0.12); --line-2: rgba(248, 240, 227, 0.2); color: var(--text);
}
.ds-nav { display: flex; align-items: center; justify-content: space-between; height: 44px; padding: 0 8px 0 16px; border-radius: 99px; background: rgba(17, 14, 18, 0.55); border: 1px solid var(--line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.ds-nav .brand-mark, .ds-nav .brand-mark svg { width: 22px; height: 22px; }
.ds-nav .brand-name { font-size: 16px; }
.ds-links { display: flex; gap: 4px; font-size: 13px; color: var(--muted); }
.ds-links span { padding: 6px 12px; border-radius: 99px; }
.ds-links .on { background: rgba(255, 255, 255, 0.1); color: var(--text); }
.ds-btn { height: 30px; padding: 0 14px; display: inline-flex; align-items: center; border-radius: 99px; background: var(--grad); color: var(--ink-on-mint); font-size: 12.5px; font-weight: 600; }
.ds-grid { flex: 1; display: grid; grid-template-columns: 1.6fr 1fr; gap: 16px; min-height: 0; }
.ds-card { border-radius: 20px; padding: 16px; background: rgba(23, 18, 24, 0.55); border: 1px solid rgba(248, 240, 227, 0.13); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08); }
.ds-card small { display: block; font-size: 11.5px; color: var(--dim); }
.ds-main { display: flex; flex-direction: column; gap: 12px; }
.ds-coin { display: flex; align-items: center; gap: 12px; }
.ds-coin img { width: 46px; height: 46px; object-fit: contain; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.5)); }
.ds-coin b { font: 600 18px/1.2 var(--head); letter-spacing: -0.03em; }
.ds-coin small em, .ds-price em { font-style: normal; color: var(--mint); }
.ds-tag { font-size: 10.5px; font-weight: 600; padding: 3px 8px; border-radius: 99px; background: rgba(255, 255, 255, 0.1); color: var(--muted); }
.ds-price { margin-left: auto; text-align: right; }
.ds-price b { font: 500 20px/1.2 var(--mono); letter-spacing: -0.03em; }
.ds-chart { position: relative; flex: 1; min-height: 0; border-radius: 14px; background: linear-gradient(rgba(248, 240, 227, 0.05) 1px, transparent 1px) 0 0 / 100% 25%; }
.ds-chart svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ds-chart .line { fill: none; stroke: var(--mint); stroke-width: 2.2; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 6px rgba(242, 181, 147, 0.6)); stroke-dasharray: 1; stroke-dashoffset: 1; }
.ds-chart .area { opacity: 0; }
.show.in .ds-chart .line, .show.drawn .ds-chart .line { animation: ds-draw 2.4s 0.4s var(--ease) forwards; }
.show.in .ds-chart .area, .show.drawn .ds-chart .area { animation: ds-fade 1.2s 1.8s ease forwards; }
@keyframes ds-draw { to { stroke-dashoffset: 0; } }
@keyframes ds-fade { to { opacity: 1; } }
.ds-dot { position: absolute; right: -5px; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: var(--mint); animation: ds-ping 2s ease-out infinite; }
@keyframes ds-ping { 0% { box-shadow: 0 0 0 0 rgba(242, 181, 147, 0.6); } 100% { box-shadow: 0 0 0 14px rgba(242, 181, 147, 0); } }
.ds-bond { display: flex; flex-direction: column; gap: 8px; }
.ds-bond > div { display: flex; align-items: baseline; gap: 8px; font-size: 12.5px; color: var(--muted); }
.ds-bond b { font: 500 13px var(--mono); color: var(--text); }
.ds-bond small { margin-left: auto; }
.ds-bond i { height: 8px; border-radius: 99px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.ds-bond s { display: block; height: 100%; width: 41%; border-radius: inherit; background: var(--grad); box-shadow: 0 0 12px rgba(242, 181, 147, 0.6); }
.ds-side { display: flex; flex-direction: column; gap: 12px; min-height: 0; }
.ds-tabs { display: grid; grid-template-columns: 1fr 1fr; padding: 3px; border-radius: 99px; background: rgba(255, 255, 255, 0.06); font-size: 13px; text-align: center; color: var(--muted); }
.ds-tabs span { padding: 6px; border-radius: 99px; }
.ds-tabs .on { background: rgba(242, 181, 147, 0.18); color: var(--mint); }
.ds-amt { display: flex; align-items: baseline; justify-content: space-between; margin-top: 12px; padding: 10px 14px; border-radius: 14px; background: rgba(0, 0, 0, 0.2); border: 1px solid var(--line); }
.ds-amt b { font: 500 22px var(--mono); }
.ds-chips { display: flex; gap: 6px; margin-top: 8px; font-size: 11.5px; color: var(--muted); }
.ds-chips span { padding: 4px 10px; border-radius: 99px; background: rgba(255, 255, 255, 0.06); }
.ds-chips .on { background: rgba(242, 181, 147, 0.18); color: var(--mint); }
.ds-buy { display: flex; align-items: center; justify-content: center; height: 38px; margin-top: 12px; border-radius: 99px; background: var(--grad); color: var(--ink-on-mint); font-weight: 600; font-size: 14px; }
.ds-rules ul { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 7px; font-size: 13px; }
.ds-rules li { display: flex; align-items: center; gap: 8px; }
.ds-rules svg { width: 14px; height: 14px; color: var(--mint); flex: none; }
.ds-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ds-stats .ds-card { padding: 12px 14px; }
.ds-stats b { display: block; font: 500 20px/1.3 var(--mono); margin-top: 2px; }
.ds-stats b.red { color: var(--red); }
/* the "turned away" toast that pops in over the chart, on a loop */
.ds-toast {
  position: absolute; left: 300px; top: 150px; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; border-radius: 20px;
  background: linear-gradient(180deg, rgba(48, 39, 51, 0.85), rgba(20, 16, 22, 0.9)); border: 1px solid rgba(246, 213, 142, 0.3);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.9), 0 0 40px -10px rgba(226, 176, 74, 0.35);
  opacity: 0; animation: ds-toast 8s 2.6s var(--ease) infinite;
}
.ds-toast img { width: 46px; height: 46px; object-fit: contain; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.5)); animation: mega-nudge 3.2s ease-in-out infinite; }
.ds-toast b { display: block; font-weight: 500; font-size: 14px; margin-top: 6px; }
.ds-toast small { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.ds-toast .stamp { color: #fff3d9; background: linear-gradient(180deg, rgba(246, 213, 142, 0.26), rgba(226, 176, 74, 0.12)); border-color: rgba(246, 213, 142, 0.42); }
@keyframes ds-toast { 0% { opacity: 0; transform: translateY(16px) scale(0.96); } 6%, 62% { opacity: 1; transform: none; } 70%, 100% { opacity: 0; transform: translateY(-8px) scale(0.98); } }

/* mobile: swipe between the two phones instead of the desktop */
@media (max-width: 760px) {
  .desk-wrap { display: none; }
  .phones { display: flex; gap: 16px; margin: 0 -18px; padding: 10px 18px 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .phones::-webkit-scrollbar { display: none; }
  .phones .phone-wrap { scroll-snap-align: center; flex: none; }
  .show-head { grid-template-columns: 1fr; gap: 14px; }
  .l-show .show { margin-top: 28px; }
}
@media (min-width: 761px) and (max-width: 1060px) { .show-head { grid-template-columns: 1fr; gap: 14px; } }
@media (prefers-reduced-motion: reduce) {
  .desk-wrap, .ds-toast, .ds-toast img, .ds-dot { animation: none !important; }
  .ds-toast { opacity: 1; }
  .ds-chart .line { stroke-dashoffset: 0; }
  .ds-chart .area { opacity: 1; }
}

/* compact landing rhythm */
.l-sec { padding: 84px 16px; }
.l-head h2 { font-size: 40px; }
.l-hero { min-height: max(640px, 92vh); padding-top: 130px; }
.l-band { min-height: 520px; padding: 80px 16px; }
.live-grid { margin-top: 32px; }
.live-grid .tile { min-height: 300px; }
.faq-q { padding: 18px 0; }
.site-foot { padding-top: 80px; }
.foot-cols { margin-top: 50px; }
@media (max-width: 680px) {
  .l-sec { padding: 56px 0; }
  .l-band { padding: 56px 0; }
  .l-hero { padding-top: 110px; }
  .l-head h2 { font-size: 34px; }
  .site-foot { padding-top: 60px; }
}

/* ---------------------------------------------------------------- hero v2: one centred stack, floating live cards, built-on strip with the scroll cue under it */
.l-hero { position: relative; min-height: max(700px, 100vh); padding: 120px 16px 26px; }
.hero-in { position: relative; z-index: 2; width: 100%; max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-pill {
  display: inline-flex; align-items: center; gap: 10px; height: 36px; padding: 0 6px 0 14px; border-radius: 99px; font-size: 14.5px; color: #e9e4dc;
  background: rgba(17, 14, 18, 0.5); border: 1px solid rgba(248, 240, 227, 0.16); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08); animation: rise 0.9s var(--ease) both; transition: border-color 0.25s, background 0.25s;
}
.hero-pill:hover { border-color: rgba(242, 181, 147, 0.4); background: rgba(27, 21, 29, 0.6); }
.hero-pill b { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 12px; border-radius: 99px; font-weight: 500; background: rgba(242, 181, 147, 0.14); color: var(--mint); }
.hero-pill .arrow { transition: transform 0.25s var(--ease); }
.hero-pill:hover .arrow { transform: translateX(3px); }
.l-hero h1 { margin-top: 26px; max-width: 880px; }
.hero-sub { margin: 22px 0 0; max-width: 520px; font-size: 19px; line-height: 1.55; color: #e9e4dc; text-shadow: 0 2px 16px rgba(0, 0, 0, 0.6); animation: rise 1s 0.15s var(--ease) both; }
.hero-in .cta { margin-top: 30px; animation: rise 1s 0.25s var(--ease) both; }
.hero-in .laurel { margin-top: 26px; animation: rise 1s 0.35s var(--ease) both; }

/* the two live cards float over the trees on either side of the gate */
.hero-floats { position: absolute; z-index: 2; left: 0; right: 0; bottom: 150px; max-width: 1240px; margin: 0 auto; padding: 0 32px; display: flex; justify-content: space-between; align-items: flex-end; pointer-events: none; }
.hero-floats > * { pointer-events: auto; }
.hero-floats .reject-card { margin-bottom: 70px; }
.hero-stat {
  display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 10px; border-radius: 22px;
  background: linear-gradient(180deg, rgba(43, 34, 46, 0.6), rgba(20, 16, 22, 0.72)); border: 1px solid rgba(244, 231, 211, 0.16);
  backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 24px 50px -24px rgba(0, 0, 0, 0.8);
  animation: rise 1s 0.5s var(--ease) both, card-bob 8s 1.5s ease-in-out infinite;
}
.hero-stat img { width: 50px; height: 50px; object-fit: contain; flex: none; filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 14px rgba(234, 150, 106, 0.35)); }
.hero-stat small { display: block; font-size: 13px; color: var(--muted); }
.hero-stat b { display: block; font: 500 24px/1.2 var(--mono); letter-spacing: -0.03em; }
.hero-stat span { display: block; font-size: 13.5px; color: var(--dim); }

/* built-on strip, with the scroll cue centred under it (same column, so they always line up) */
.hero-foot { position: relative; z-index: 2; margin-top: auto; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.hero-foot .built {
  display: inline-flex; justify-content: center; align-items: center; gap: 28px; padding: 10px 22px; border-radius: 99px;
  background: rgba(12, 9, 13, 0.42); border: 1px solid rgba(248, 240, 227, 0.1); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  color: rgba(244, 241, 236, 0.78); font-size: 15.5px; flex-wrap: wrap;
}
.hero-foot .scroll-cue { position: relative; left: auto; bottom: auto; margin: 0; flex: none; }

@media (max-width: 1060px) {
  .hero-floats { position: relative; bottom: auto; margin-top: 34px; padding: 0; justify-content: center; align-items: center; flex-direction: column; gap: 12px; }
  .hero-floats .reject-card { margin-bottom: 0; }
  .hero-foot { margin-top: 40px; }
}
@media (max-width: 680px) {
  .l-hero { min-height: 0; padding: 104px 18px 22px; }
  .hero-pill { font-size: 13.5px; gap: 8px; }
  .hero-pill { padding-right: 14px; }
  .hero-pill b { display: none; }
  .hero-sub { font-size: 17px; }
  .hero-stat { display: none; }
  .hero-foot .built { gap: 14px 18px; padding: 10px 18px; border-radius: 22px; font-size: 14.5px; }
  .hero-foot .built small { width: 100%; text-align: center; }
}
@media (prefers-reduced-motion: reduce) { .hero-pill, .hero-sub, .hero-in .cta, .hero-in .laurel, .hero-stat { animation: none !important; } }
.hero-foot .built { align-self: center; }

/* =====================================================================================
   v3 · bolder, bigger, deeper
   Higher-contrast ink, heavier headings, features locked to the page lines,
   scroll parallax, three.js canvases (smoke, coins), tilt cards, ticker band.
   ===================================================================================== */
:root { --muted: #efb18e; --dim: #e3713a; }
.light { --muted: #953a15; --dim: #d4571e; }
body { line-height: 1.6; }
h1, h2, h3 { font-weight: 600; letter-spacing: -0.04em; }
h3 { letter-spacing: -0.025em; }
.btn { font-weight: 550; }
.btn.lg { height: 58px; padding: 0 28px; font-size: 18px; }
.topnav-links a { font-weight: 500; }

/* landing type */
.l-hero h1 { font-size: clamp(46px, 6.7vw, 98px); font-weight: 700; line-height: 0.94; letter-spacing: -0.06em; max-width: 1100px; margin-top: 24px; }
.hero-in { max-width: 1140px; }
.hero-sub { font-size: 21px; max-width: 600px; font-weight: 450; color: #f3efe8; }
.hero-pill { height: 40px; font-size: 14.5px; }
.hero-pill b { height: 30px; }
.l-head h2 { font-size: clamp(34px, 4.6vw, 62px); line-height: 1; letter-spacing: -0.055em; }
.l-small { font-size: 17.5px; line-height: 1.55; max-width: 420px; }
.show-head .l-small { max-width: 460px; }
.feat-intro .lead { font-size: 26px; line-height: 1.32; font-weight: 500; }
.faq-q { font-size: 22px; font-weight: 550; }
.faq-a > div { font-size: 17px; }
.foot-copy h2 { font-size: clamp(36px, 4.6vw, 62px); }

/* features: cells sit exactly on the page's grid lines (the lines themselves are the dividers) */
.feat-intro { margin: 0 -32px; padding: 0 32px 50px; }
.feat-grid { margin: 0 -32px; }
.feat, .feat:not(:nth-child(3n + 1)) { padding: 36px 32px 40px; border-left: 0; border-bottom: 1px solid var(--line); }
.feat { transition: background 0.35s var(--ease); }
.feat:hover { background: rgba(44, 35, 47, 0.045); }
.feat .viz { zoom: 1.75; margin-bottom: 14px; }
.feat h3 { font-size: 23px; margin-bottom: 10px; }
.feat p { font-size: 16.5px; max-width: 320px; }
@media (max-width: 1060px) {
  .feat:nth-child(2n) { padding-left: 32px; border-left: 1px solid var(--line); }
}
@media (max-width: 680px) {
  .feat-intro { margin: 0 -18px; padding: 0 18px 36px; }
  .feat-grid { margin: 0 -18px; }
  .feat, .feat:not(:nth-child(3n + 1)), .feat:nth-child(2n) { padding: 28px 18px 32px; border-left: 0; }
  .feat .viz { zoom: 1.5; }
  .hero-sub { font-size: 17.5px; }
  .feat-intro .lead { font-size: 21px; }
  .faq-q { font-size: 19px; }
  .btn.lg { height: 54px; padding: 0 22px; font-size: 17px; }
}

/* live tiles and launch cards read bigger */
.tile h3 { font-size: 24px; }
.tile-v { letter-spacing: -0.04em; }
.live-grid .tile { padding: 26px; }

/* ---------------------------------------------------------------- scroll parallax */
[data-par] { will-change: translate; }
[data-par-bg] > .scene-img {
  inset: -7% -3%; height: 114%; transition: opacity 1s var(--ease);
  transform: translate3d(var(--px, 0px), calc(var(--py, 0px) + var(--sy, 0px)), 0) scale(1.04);
}

/* ---------------------------------------------------------------- three.js canvases */
canvas.fx { position: absolute !important; inset: 0; width: 100%; height: 100%; z-index: 0 !important; pointer-events: none; opacity: 0; transition: opacity 1.4s var(--ease); }
canvas.fx.on { opacity: 1; }
.l-hero canvas.fx { mix-blend-mode: screen; }
.foot-3d { position: relative; justify-self: center; width: min(380px, 80vw); aspect-ratio: 1; }
.foot-3d .foot-emblem { width: 86%; margin: 7%; transition: opacity 0.8s var(--ease); }
.foot-3d canvas.fx { pointer-events: auto; cursor: grab; }
.foot-3d canvas.fx:active { cursor: grabbing; }
.foot-3d.live .foot-emblem { opacity: 0; }

/* ---------------------------------------------------------------- tilt cards */
.tilt { transform: perspective(900px) rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg)); transition: transform 0.5s var(--ease); transform-style: preserve-3d; }
.tilt.tilting { transition: transform 0.08s linear; }

/* ---------------------------------------------------------------- ticker band under the hero */
.ticker { position: relative; overflow: hidden; border-top: 1px solid var(--line); background: linear-gradient(90deg, #1c161e, #231c26 50%, #1c161e); padding: 20px 0; }
.ticker-track { display: flex; width: max-content; animation: ticker 38s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker span { display: inline-flex; align-items: center; gap: 22px; padding-right: 22px; font: 600 26px/1 var(--head); letter-spacing: -0.04em; text-transform: lowercase; color: #f2ece2; white-space: nowrap; }
.ticker span i { width: 26px; height: 26px; flex: none; background: url('/img/3d/coin.webp') center / contain no-repeat; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5)); animation: spin-flat 5s linear infinite; }
.ticker span em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ticker span b { font-weight: 600; color: var(--red); }
@keyframes ticker { to { transform: translateX(-50%); } }
@keyframes spin-flat { to { rotate: 360deg; } }
@media (max-width: 680px) { .ticker { padding: 14px 0; } .ticker span { font-size: 19px; gap: 16px; padding-right: 16px; } .ticker span i { width: 20px; height: 20px; } }
@media (prefers-reduced-motion: reduce) { .ticker-track, .ticker span i { animation: none !important; } .tilt { transform: none !important; } }
@media (max-width: 1060px) { .foot-3d { order: -1; width: 260px; } .foot-3d .foot-emblem { width: 86%; } }
.l-show > .l-in { position: relative; z-index: 2; }
.cr > *, .cr-main, .cr-main > * { min-width: 0; }
@media (max-width: 1100px) { .cr { align-items: stretch; } }
.coin-page.side-340 { grid-template-columns: minmax(0, 1fr) 340px; }
@media (max-width: 980px) { .coin-page.side-340 { grid-template-columns: minmax(0, 1fr); } }

/* =====================================================================================
   clampd theme · plum night, orange glow, warm cream paper
   ===================================================================================== */
:root {
  --bg: #2a2430; --bg-2: #342E37; --bg-3: #3e3742;
  --text: #F4EBDD; --muted: #cdbfae; --dim: #9e9187;
  --mint: #FA824C; --mint-2: #ffb38a; --teal: #ffb38a; --sky: #ffc9a8;
  --ink-on-mint: #342E37;
  --grad: linear-gradient(120deg, #FA824C 0%, #ff9d6b 52%, #ffc29e 100%);
  --grad-soft: linear-gradient(120deg, rgba(250, 130, 76, 0.18), rgba(255, 194, 158, 0.12));
  --mint-dim: rgba(250, 130, 76, 0.13); --mint-line: rgba(250, 130, 76, 0.42);
  --glow: 0 10px 30px -10px rgba(250, 130, 76, 0.6);
  --green: #ffb38a; --green-dim: rgba(255, 179, 138, 0.14);
  --ink: #342E37; --cream: #F4EBDD; --pink: #ff9d6b; --peri: #FA824C;
}
.light { --text: #2e2631; --muted: #a03f17; --dim: #e06126; --line: rgba(46, 38, 49, 0.1); --line-2: rgba(46, 38, 49, 0.18); --gl: rgba(46, 38, 49, 0.07); }
.l-dark { background: linear-gradient(180deg, #261f28 0%, #1e1820 100%); }
.l-paper { background: var(--cream); }
.l-mint { background: radial-gradient(70% 90% at 30% 0%, #f8f0e3 0%, transparent 70%), radial-gradient(60% 80% at 90% 20%, #f7efe1 0%, transparent 70%), linear-gradient(180deg, #faf4eb 0%, var(--cream) 100%); }
.site-foot { background: radial-gradient(60% 90% at 82% 0%, #f6ecdc 0%, transparent 70%), radial-gradient(60% 90% at 10% 10%, #f9f1e5 0%, transparent 70%), linear-gradient(180deg, #faf4eb 0%, var(--cream) 100%); }
.light .btn.primary { background: var(--ink); color: #fff; box-shadow: 0 12px 30px -12px rgba(46, 38, 49, 0.6); }
.light .l-head h2, .light h3, .foot-copy h2 { color: var(--ink); }
.feat:hover { background: rgba(242, 157, 111, 0.06); }
.ticker { background: #261f28; border-top: 0; }

/* ---------------------------------------------------------------- hero stage: one scene built from separate layers */
.hero-stage { position: relative; height: 185vh; --p: 0; --mx: 0; --word: 18vw; --padw: min(58vw, 880px); --pady: 12vh; background: #261f28; }
.hs-pin { position: sticky; top: 0; height: 100vh; min-height: 620px; overflow: hidden; isolation: isolate; }
.hs-sky {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(46% 46% at 50% 46%, rgba(255, 206, 176, 0.95) 0%, rgba(241, 189, 159, 0.55) 38%, transparent 72%),
    linear-gradient(180deg, #f28f5c 0%, #f4a57a 34%, #f2bb9c 66%, #f3c7ae 100%);
}
.hs-layer { position: absolute; left: 50%; max-width: none; pointer-events: none; user-select: none; will-change: transform; }
.hs-cloudfar { z-index: 1; width: max(118vw, 900px); bottom: 20vh; opacity: 0.96; transform: translate3d(calc(-50% + var(--mx) * -8px), calc(var(--p) * -5vh), 0); }
.hs-word { position: absolute; z-index: 2; left: 0; right: 0; top: 19vh; display: flex; flex-direction: column; align-items: center; pointer-events: none; transform: translate3d(calc(var(--mx) * -14px), calc(var(--p) * -9vh), 0); will-change: transform; }
.hs-word h1 { margin: 0; font: 900 18vw/0.86 'Unbounded', var(--head); letter-spacing: -0.065em; color: #fff; text-transform: lowercase; white-space: nowrap; text-shadow: 0 14px 70px rgba(210, 86, 30, 0.28); }
.hs-kicker { align-self: flex-start; margin: 0 0 0.35em 7vw; font: 700 clamp(18px, 2.3vw, 34px)/1 var(--head); letter-spacing: -0.04em; color: #fff; text-shadow: 0 2px 20px rgba(175, 70, 25, 0.35); }
.hs-pad { z-index: 3; width: var(--padw); bottom: var(--pady); transform: translate3d(calc(-50% + var(--mx) * -22px), calc(var(--p) * 10vh), 0); }
.hs-rocket {
  position: absolute; z-index: 4; left: 50%; bottom: calc(var(--pady) + var(--padw) * 0.2653 * 0.87); height: clamp(170px, 34vh, 330px); aspect-ratio: 459 / 946;
  transform: translate3d(calc(-50% + var(--mx) * -22px), calc(var(--p) * 10vh - var(--p) * var(--p) * 190vh), 0); will-change: transform;
}
.hs-rocket img { position: relative; display: block; height: 100%; width: auto; filter: drop-shadow(0 18px 30px rgba(149, 58, 21, 0.35)); animation: hs-rumble 0.12s linear infinite; animation-play-state: paused; }
.hero-stage.launching .hs-rocket img { animation-play-state: running; }
@keyframes hs-rumble { 0% { translate: -1px 0; } 50% { translate: 1px -1px; } 100% { translate: -1px 0; } }
.hs-flame {
  position: absolute; left: 50%; top: 88%; width: 34%; height: 95%; margin-left: -17%; border-radius: 40% 40% 50% 50% / 12% 12% 88% 88%; transform-origin: 50% 0;
  background: linear-gradient(180deg, #fff 0%, #ffe9b8 14%, #ffd0b3 42%, rgba(255, 188, 150, 0.4) 70%, transparent 100%); filter: blur(5px);
  opacity: min(1, calc(var(--p) * 14)); transform: scaleY(calc(0.25 + var(--p) * 1.6)); animation: hs-flicker 0.14s ease-in-out infinite alternate;
}
@keyframes hs-flicker { from { scale: 1 1; } to { scale: 0.86 1.08; } }
.hs-pin canvas.fx { z-index: 5 !important; }
.hs-cloudnear { z-index: 6; width: max(132vw, 1000px); bottom: -5vh; transform: translate3d(calc(-50% + var(--mx) * -34px), calc(var(--p) * 18vh), 0); }
.hs-hill { z-index: 7; width: max(104vw, 1100px); bottom: -3vh; transform: translate3d(calc(-50% + var(--mx) * -48px), calc(var(--p) * 30vh), 0); }
.hs-pin::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 22vh; z-index: 7; pointer-events: none; background: linear-gradient(180deg, transparent, rgba(38, 31, 40, 0.75) 70%, #261f28); }
.hs-copy { position: absolute; inset: 0; z-index: 8; pointer-events: none; opacity: calc(1 - var(--p) * 2.6); }
.hs-copy > * { pointer-events: auto; }
.hs-copy .hero-pill { position: absolute; top: 92px; left: 50%; translate: -50% 0; white-space: nowrap; background: rgba(46, 38, 49, 0.34); border-color: rgba(255, 255, 255, 0.3); color: #fff; }
.hs-copy .hero-pill b { background: rgba(255, 255, 255, 0.2); color: #fff; }
.hs-cta { position: absolute; left: 7vw; top: calc(19vh + var(--word) * 0.86 + 5.5vw); display: flex; gap: 10px; flex-wrap: wrap; animation: rise 1s 0.3s var(--ease) both; }
.hs-cta .btn.primary { background: var(--ink); color: #fff; box-shadow: 0 16px 36px -14px rgba(46, 38, 49, 0.7); }
.hs-cta .btn:not(.primary) { background: rgba(255, 255, 255, 0.24); border-color: rgba(255, 255, 255, 0.5); color: #fff; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.hs-tag { position: absolute; right: 7vw; top: calc(19vh + var(--word) * 0.86 + 5.2vw); margin: 0; font: 700 clamp(20px, 2.5vw, 38px)/1.12 var(--head); letter-spacing: -0.045em; color: #fff; text-shadow: 0 2px 24px rgba(175, 70, 25, 0.4); animation: rise 1s 0.4s var(--ease) both; }
.hs-copy .reject-card { position: absolute; right: 6vw; bottom: 25vh; background: linear-gradient(180deg, rgba(69, 55, 73, 0.72), rgba(43, 34, 46, 0.82)); border-color: rgba(255, 255, 255, 0.22); }
.hs-copy .hero-foot { position: absolute; left: 0; right: 0; bottom: 22px; margin: 0; }
.hs-copy .hero-foot .built { background: rgba(38, 31, 40, 0.5); border-color: rgba(255, 255, 255, 0.16); color: #fff; }
.hs-copy .hero-foot .built small { color: rgba(255, 255, 255, 0.6); }

@media (max-width: 760px) {
  .hero-stage { height: 165vh; --padw: 112vw; --pady: 15vh; }
  .hs-pin { height: 100svh; min-height: 560px; }
  .hs-word { top: 17vh; }
  .hs-kicker { margin-left: 6vw; }
  .hs-cloudfar { bottom: 24vh; }
  .hs-rocket { height: clamp(150px, 26vh, 240px); }
  .hs-copy .hero-pill { top: 82px; }
  .hs-tag { right: auto; left: 0; width: 100%; text-align: center; top: calc(17vh + var(--word) * 0.86 + 44px); font-size: 22px; }
  .hs-tag br { display: none; }
  .hs-cta { left: 0; right: 0; justify-content: center; top: calc(17vh + var(--word) * 0.86 + 88px); }
  .hs-cta .btn.lg { height: 50px; padding: 0 18px; font-size: 16px; }
  .hs-copy .reject-card { display: none; }
  .hs-copy .hero-foot .built { gap: 6px 16px; padding: 8px 16px; font-size: 12.5px; border-radius: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-stage { height: 100vh; }
  .hs-rocket img, .hs-flame { animation: none !important; }
}
.hs-copy .hero-foot .built span { display: inline-flex; align-items: center; gap: 8px; }
.hs-copy .hero-foot .built svg { width: 18px; height: 18px; opacity: 0.9; flex: none; }
.hs-copy .hero-foot .built small { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
.hs-copy .reject-card { bottom: 13vh; }
@media (max-width: 760px) {
  .hero-stage { --pady: 21vh; }
  .hs-copy .hero-foot .built small { width: auto; }
}
@media (max-width: 760px) {
  .hs-cloudnear { width: 200vw; bottom: 7vh; transform: translate3d(calc(-50% + var(--mx) * -20px), calc(var(--p) * 5vh), 0); }
  .hs-hill { transform: translate3d(calc(-50% + var(--mx) * -28px), calc(var(--p) * 9vh), 0); }
  .hs-pad { transform: translate3d(calc(-50% + var(--mx) * -14px), calc(var(--p) * 4vh), 0); }
  .hs-rocket { transform: translate3d(calc(-50% + var(--mx) * -14px), calc(var(--p) * 4vh - var(--p) * var(--p) * 190vh), 0); }
}
.hs-pad { -webkit-mask-image: linear-gradient(180deg, #000 62%, transparent 98%); mask-image: linear-gradient(180deg, #000 62%, transparent 98%); }

/* ---------------------------------------------------------------- deeper parallax: hero layers travel further, and it carries on down the page */
.hero-stage { height: 240vh; }
.hs-cloudfar { transform: translate3d(calc(-50% + var(--mx) * -14px), calc(var(--p) * -16vh), 0) scale(calc(1 + var(--p) * 0.08)); }
.hs-word { transform: translate3d(calc(var(--mx) * -26px), calc(var(--p) * -26vh), 0) scale(calc(1 + var(--p) * 0.06)); }
.hs-pad { transform: translate3d(calc(-50% + var(--mx) * -40px), calc(var(--p) * 30vh), 0) scale(calc(1 + var(--p) * 0.12)); transform-origin: 50% 100%; }
.hs-rocket { transform: translate3d(calc(-50% + var(--mx) * -40px), calc(var(--p) * 30vh - var(--p) * var(--p) * 260vh), 0); }
.hs-cloudnear { transform: translate3d(calc(-50% + var(--mx) * -64px), calc(var(--p) * 52vh), 0) scale(calc(1 + var(--p) * 0.45)); transform-origin: 50% 100%; }
.hs-hill { transform: translate3d(calc(-50% + var(--mx) * -90px), calc(var(--p) * 78vh), 0) scale(calc(1 + var(--p) * 0.6)); transform-origin: 50% 100%; }
@media (max-width: 760px) {
  .hero-stage { height: 200vh; }
  .hs-word { transform: translate3d(0, calc(var(--p) * -12vh), 0); }
  .hs-pad { transform: translate3d(-50%, calc(var(--p) * 12vh), 0) scale(calc(1 + var(--p) * 0.1)); }
  .hs-rocket { transform: translate3d(-50%, calc(var(--p) * 12vh - var(--p) * var(--p) * 230vh), 0); }
  .hs-cloudnear { transform: translate3d(-50%, calc(var(--p) * 20vh), 0) scale(calc(1 + var(--p) * 0.3)); }
  .hs-hill { transform: translate3d(-50%, calc(var(--p) * 30vh), 0) scale(calc(1 + var(--p) * 0.35)); }
}
[data-par-bg] > .scene-img { inset: -24% -3%; height: 148%; }

/* cloud banks that sit on the seams between sections and slide with the scroll */
.grid-lines > .par-cloud, .par-cloud { position: absolute; left: 0; right: 0; height: 0; z-index: 2; pointer-events: none; overflow: visible; }
.par-cloud img { position: absolute; left: 50%; width: max(120vw, 1100px); max-width: none; margin-left: calc(max(120vw, 1100px) / -2); user-select: none; }
.par-cloud.pc-top { top: 0; }
.par-cloud.pc-top img { bottom: -60px; }
.par-cloud.pc-bottom { bottom: 0; }
.par-cloud.pc-bottom img { bottom: -90px; }
.par-cloud.pc-back { z-index: 1; }
.par-cloud.pc-back img { width: max(150vw, 1300px); margin-left: calc(max(150vw, 1300px) / -2 + 12vw); bottom: 10px; opacity: 0.7; }
.par-cloud.pc-dim img { opacity: 0.5; filter: saturate(0.9) brightness(0.9); }
.l-show > .par-cloud.pc-top img { bottom: -140px; }
.main.landing { overflow-x: clip; }
.l-sec > .l-in, .l-band > .l-in { position: relative; z-index: 3; }
@media (prefers-reduced-motion: reduce) { .par-cloud { display: none; } }
/* the branded rocket */
.hs-rocket { aspect-ratio: 494 / 1000; height: clamp(190px, 41vh, 410px); bottom: calc(var(--pady) + var(--padw) * 0.2653 * 0.84); }
.hs-flame { top: 95%; width: 42%; margin-left: -21%; height: 105%; }
@media (max-width: 760px) { .hs-rocket { height: clamp(160px, 27vh, 250px); } }
.par-cloud img { -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 96%); mask-image: linear-gradient(180deg, #000 55%, transparent 96%); }

/* ---------------------------------------------------------------- fees: a working receipt */
.fees { min-height: 0; padding: 110px 16px; }
.fees-in { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center; }
.fees-copy h2 { font-size: clamp(38px, 5.2vw, 72px); line-height: 0.98; letter-spacing: -0.055em; margin-top: 18px; color: #fff; }
.fees-copy > p { margin: 20px 0 0; max-width: 460px; font-size: 19px; line-height: 1.5; color: #f8f2e9; }
.fees-modes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 34px; max-width: 520px; }
.fees-modes button { text-align: left; padding: 14px 16px; border-radius: 18px; cursor: pointer; color: #fff; background: rgba(30, 24, 32, 0.42); border: 1.5px solid rgba(255, 255, 255, 0.16); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transition: background 0.25s, border-color 0.25s, transform 0.25s var(--spring); }
.fees-modes button:hover { border-color: rgba(255, 255, 255, 0.4); transform: translateY(-2px); }
.fees-modes button.on { background: #fff; border-color: #fff; color: var(--ink); }
.fees-modes b { display: block; font: 600 16.5px/1.2 var(--head); letter-spacing: -0.03em; text-transform: lowercase; }
.fees-modes small { display: block; margin-top: 4px; font: 500 12.5px var(--mono); opacity: 0.7; }
.fees-vol { display: block; margin-top: 30px; max-width: 520px; }
.fees-vol span { display: block; font-size: 17px; color: #f8f2e9; }
.fees-vol span b { font: 600 17px var(--mono); color: #fff; }
/* slider: fully drawn by us, no browser look */
.fees-vol input { -webkit-appearance: none; appearance: none; width: 100%; height: 30px; margin: 10px 0 0; background: transparent; cursor: grab; --fill: 46%; }
.fees-vol input:active { cursor: grabbing; }
.fees-vol input::-webkit-slider-runnable-track { height: 8px; border-radius: 99px; background: linear-gradient(90deg, #fff var(--fill), rgba(255, 255, 255, 0.22) var(--fill)); }
.fees-vol input::-moz-range-track { height: 8px; border-radius: 99px; background: linear-gradient(90deg, #fff var(--fill), rgba(255, 255, 255, 0.22) var(--fill)); }
.fees-vol input::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -9px; border-radius: 50%; background: #fff; border: 6px solid var(--ink); box-shadow: 0 6px 16px -4px rgba(0, 0, 0, 0.6); transition: transform 0.2s var(--spring); }
.fees-vol input::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 6px solid var(--ink); box-shadow: 0 6px 16px -4px rgba(0, 0, 0, 0.6); }
.fees-vol input:hover::-webkit-slider-thumb, .fees-vol input:focus-visible::-webkit-slider-thumb { transform: scale(1.15); }
.fees-vol input:focus-visible { outline: none; }

/* the receipt: cream paper, mono figures, a torn bottom edge */
.receipt {
  --ink: #2e2631; position: relative; justify-self: end; width: min(100%, 440px); padding: 26px 26px 34px; color: var(--ink); background: var(--cream);
  border-radius: 6px 6px 0 0; box-shadow: 0 50px 90px -40px rgba(19, 15, 20, 0.9), 0 2px 0 rgba(255, 255, 255, 0.6) inset; rotate: 1.4deg; transition: rotate 0.5s var(--spring);
}
.receipt:hover { rotate: 0deg; }
.receipt::after { content: ''; position: absolute; left: 0; right: 0; bottom: -11px; height: 12px; background: linear-gradient(135deg, var(--cream) 50%, transparent 50%) 0 0 / 16px 12px repeat-x, linear-gradient(225deg, var(--cream) 50%, transparent 50%) 0 0 / 16px 12px repeat-x; }
.rc-head { display: flex; align-items: center; gap: 8px; font: 500 13px var(--mono); text-transform: lowercase; color: #c8511d; }
.rc-head .brand-mark, .rc-head .brand-mark svg { width: 22px; height: 22px; }
.rc-head b { font: 600 17px var(--head); letter-spacing: -0.03em; color: var(--ink); }
.rc-head span:last-child { margin-left: auto; }
.rc-total { margin-top: 22px; }
.rc-total small { display: block; font: 500 13.5px var(--mono); color: #c8511d; }
.rc-total b { display: block; font: 600 clamp(40px, 4.4vw, 56px)/1.05 var(--head); letter-spacing: -0.055em; font-variant-numeric: tabular-nums; }
.rc-bar { display: flex; gap: 3px; height: 16px; margin-top: 18px; }
.rc-bar i { flex: 0 1 0; min-width: 0; border-radius: 4px; transition: flex-grow 0.6s var(--ease); }
.rc-bar .you, .rc-row i.you { background: #e88e5f; }
.rc-bar .rj, .rc-row i.rj { background: #f29d6f; }
.rc-bar .mt, .rc-row i.mt { background: #f3c6ac; }
.rc-rows { margin-top: 16px; }
.rc-row { display: grid; grid-template-columns: 1fr auto 96px; gap: 12px; align-items: baseline; padding: 7px 0; font: 500 14.5px var(--mono); }
.rc-row span { display: flex; align-items: center; gap: 9px; font-family: var(--body); font-size: 15.5px; }
.rc-row i { width: 10px; height: 10px; border-radius: 3px; flex: none; }
.rc-row em { font-style: normal; color: #c8511d; }
.rc-row b { font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.rc-row.head { border-bottom: 1.5px dashed rgba(46, 38, 49, 0.25); padding-bottom: 11px; margin-bottom: 4px; }
.rc-row.head span { font-weight: 600; }
.rc-tear { margin: 10px 0 6px; border-top: 1.5px dashed rgba(46, 38, 49, 0.25); }
.rc-tear ~ .rc-row { grid-template-columns: 1fr auto; color: #903815; }
.receipt .btn { margin-top: 18px; background: var(--ink); color: #fff; box-shadow: none; }
.receipt .btn:hover { filter: none; background: #443848; }
@media (max-width: 980px) {
  .fees-in { grid-template-columns: 1fr; gap: 44px; }
  .receipt { justify-self: center; }
}
@media (max-width: 680px) {
  .fees { padding: 64px 0 76px; }
  .fees-modes { grid-template-columns: 1fr; }
  .fees-modes button { display: flex; justify-content: space-between; align-items: baseline; }
  .fees-modes small { margin: 0; }
  .receipt { padding: 22px 18px 30px; rotate: 0deg; }
  .rc-row { grid-template-columns: 1fr auto 84px; gap: 8px; font-size: 13.5px; }
  .rc-row span { font-size: 14.5px; }
}

/* built on: a plain row of white marks across the bottom of the hero, no box */
.hs-copy .hero-foot { bottom: 20px; gap: 14px; }
.logos { display: flex; align-items: center; justify-content: center; gap: clamp(26px, 5.2vw, 84px); flex-wrap: wrap; padding: 0 24px; color: #fff; }
.logos .lg { display: inline-flex; align-items: center; gap: 11px; font: 700 clamp(19px, 1.9vw, 27px)/1 var(--head); letter-spacing: -0.045em; text-transform: lowercase; white-space: nowrap; text-shadow: 0 2px 18px rgba(46, 37, 49, 0.55); opacity: 0.96; transition: opacity 0.25s, transform 0.3s var(--spring); }
.logos .lg:hover { opacity: 1; transform: translateY(-2px); }
.logos .lg svg { width: clamp(24px, 2.3vw, 33px); height: auto; flex: none; filter: drop-shadow(0 2px 10px rgba(46, 37, 49, 0.5)); }
.logos .lg-k { font: 600 12px var(--body); letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.72); }
@media (max-width: 760px) {
  .logos { gap: 10px 22px; }
  .logos .lg-k { width: 100%; text-align: center; }
  .logos .lg { font-size: 17px; gap: 8px; }
  .logos .lg svg { width: 21px; }
}
/* official marks in the built-on row */
.logos .lg img { height: clamp(22px, 2.1vw, 30px); width: auto; flex: none; filter: drop-shadow(0 2px 10px rgba(46, 37, 49, 0.5)); }
.logos .lg-img img { height: clamp(19px, 1.75vw, 25px); }
@media (max-width: 760px) { .logos .lg img { height: 20px; } .logos .lg-img img { height: 17px; } }

/* hero layout: "launch on" on the wordmark's top-left corner, buttons bottom-middle above built-on, no scroll cue */
.hs-wm { display: flex; flex-direction: column; align-items: flex-start; width: max-content; }
.hs-kicker { align-self: flex-start; margin: 0 0 0.12em 0.4vw; }
.hs-cta { left: 0; right: 0; top: auto; bottom: 92px; justify-content: center; }
.scroll-cue { display: none; }
@media (max-width: 760px) {
  .hs-kicker { margin: 0 0 0.1em 1vw; }
  .hs-cta { left: 0; right: 0; top: auto; bottom: 118px; }
}

/* ---------------------------------------------------------------- hero, space edition: asteroid launch pad, planet horizon, nebulae */
.hero-stage { --padw: min(48vw, 760px); --pady: 25vh; }
.hs-sky {
  background:
    radial-gradient(46% 38% at 50% 78%, rgba(250, 130, 76, 0.55) 0%, rgba(250, 130, 76, 0.18) 45%, transparent 72%),
    radial-gradient(60% 50% at 85% 8%, rgba(120, 90, 130, 0.35), transparent 70%),
    linear-gradient(180deg, #221d26 0%, #2f2833 30%, #4a3439 58%, #a2553a 84%, #e0743f 100%);
}
/* stars: two tiled layers of tiny dots that twinkle out of step */
.hs-stars, .hs-stars::after { position: absolute; inset: 0 0 30% 0; z-index: 0; pointer-events: none; }
.hs-stars {
  background-image:
    radial-gradient(1.4px 1.4px at 20px 30px, #fff 50%, transparent), radial-gradient(1px 1px at 140px 90px, #fff 50%, transparent),
    radial-gradient(1.6px 1.6px at 260px 40px, #faf4eb 50%, transparent), radial-gradient(1px 1px at 330px 150px, #fff 50%, transparent),
    radial-gradient(1.2px 1.2px at 90px 190px, #faf3e9 50%, transparent), radial-gradient(1px 1px at 210px 230px, #fff 50%, transparent);
  background-size: 380px 260px; opacity: 0.85;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 100%); mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 100%);
  transform: translate3d(0, calc(var(--p) * -6vh), 0);
}
.hs-stars::after {
  content: ''; inset: 0;
  background-image: radial-gradient(1.8px 1.8px at 60px 120px, #fff 50%, transparent), radial-gradient(1.3px 1.3px at 300px 60px, #f8f0e3 50%, transparent), radial-gradient(1.5px 1.5px at 190px 200px, #fff 50%, transparent);
  background-size: 420px 300px; animation: hs-twinkle 4.5s ease-in-out infinite alternate;
}
@keyframes hs-twinkle { from { opacity: 0.25; } to { opacity: 1; } }
/* far bodies */
.hs-body { position: absolute; z-index: 1; pointer-events: none; user-select: none; will-change: transform; filter: drop-shadow(0 10px 30px rgba(75, 60, 80, 0.35)); }
.hs-ringed { width: clamp(150px, 15vw, 250px); right: 7vw; top: 15vh; transform: translate3d(0, calc(var(--p) * -22vh), 0) rotate(-8deg); animation: hs-drift 14s ease-in-out infinite alternate; }
.hs-moon { width: clamp(70px, 6.5vw, 112px); left: 6vw; top: 30vh; opacity: 0.95; transform: translate3d(0, calc(var(--p) * -12vh), 0); animation: hs-drift 18s ease-in-out infinite alternate-reverse; }
@keyframes hs-drift { from { translate: 0 0; } to { translate: 0 -14px; } }
/* asteroid launch pad floats gently */
.hs-pad { -webkit-mask-image: none; mask-image: none; filter: drop-shadow(0 30px 40px rgba(49, 40, 52, 0.45)); animation: hs-float 7s ease-in-out infinite; }
@keyframes hs-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
.hs-rocket { bottom: calc(var(--pady) + var(--padw) * 0.4906 * 0.875); animation: hs-float 7s ease-in-out infinite; }
/* clampd coins drifting in the foreground at different depths */
.hs-coin { position: absolute; z-index: 5; pointer-events: none; will-change: transform; }
.hs-coin img { display: block; width: 100%; filter: drop-shadow(0 12px 18px rgba(49, 40, 52, 0.45)); animation: hs-spin 9s linear infinite; }
.hs-coin.c1 { width: clamp(54px, 5.4vw, 92px); left: 15vw; top: 56vh; transform: translate3d(0, calc(var(--p) * 34vh), 0); }
.hs-coin.c2 { width: clamp(38px, 3.6vw, 62px); right: 18vw; top: 47vh; transform: translate3d(0, calc(var(--p) * 22vh), 0); }
.hs-coin.c2 img { animation-duration: 12s; animation-direction: reverse; }
.hs-coin.c3 { width: clamp(28px, 2.6vw, 44px); left: 33vw; top: 33vh; z-index: 2; transform: translate3d(0, calc(var(--p) * -10vh), 0); opacity: 0.85; }
.hs-coin.c3 img { animation-duration: 15s; }
@keyframes hs-spin { 0% { transform: rotate(0deg) translateY(0); } 50% { transform: rotate(180deg) translateY(-8px); } 100% { transform: rotate(360deg) translateY(0); } }
/* planet horizon: the foreground layer */
.hs-hill { width: max(112vw, 1100px); bottom: -8vh; }
.hs-pin::after { height: 16vh; background: linear-gradient(180deg, transparent, rgba(38, 31, 40, 0.7) 70%, #261f28); }
@media (max-width: 760px) {
  .hero-stage { --padw: 96vw; --pady: 24vh; }
  .hs-ringed { width: 110px; right: -14px; top: 13vh; }
  .hs-moon { width: 56px; left: 4vw; top: 31vh; }
  .hs-coin.c1 { width: 46px; left: 5vw; top: 60vh; }
  .hs-coin.c2 { width: 34px; right: 6vw; top: 52vh; }
  .hs-coin.c3 { display: none; }
  .hs-hill { width: 220vw; }
}
@media (prefers-reduced-motion: reduce) { .hs-stars::after, .hs-body, .hs-pad, .hs-rocket, .hs-coin img { animation: none !important; } }
/* asteroid smaller and lower so the rocket rises through the wordmark, not into the nav */
.hero-stage { --padw: min(34vw, 540px); --pady: 14vh; }
@media (max-width: 760px) {
  .hero-stage { --padw: 92vw; --pady: 23vh; }
  .hs-ringed { width: 84px; right: -10px; top: 72px; }
  .hs-moon { display: none; }
}
.hs-coin.c3 { z-index: 1; }
/* "launch on" tucked onto the wordmark; tagline under its bottom-right corner */
.hs-kicker { margin: 0 0 -0.32em 0.5vw; position: relative; z-index: 1; }
.hs-wm .hs-tag { position: static; align-self: flex-end; margin: 0.55em 0.3vw 0 0; text-align: right; animation: rise 1s 0.4s var(--ease) both; }
@media (max-width: 760px) {
  .hs-kicker { margin: 0 0 -0.2em 1vw; }
  .hs-wm .hs-tag { width: auto; margin: 0.45em 1vw 0 0; font-size: 18px; text-align: right; }
  .hs-wm .hs-tag br { display: inline; }
}
.hs-kicker, .hs-wm .hs-kicker { margin-bottom: calc(var(--word) * -0.175); }
.hs-coin.c2 { right: 25vw; top: 66vh; }
@media (max-width: 760px) { .hs-coin.c2 { right: 6vw; top: 52vh; } }
/* buttons and built-on row raised */
.hs-copy .hero-foot { bottom: 56px; }
.hs-cta { bottom: 134px; }
@media (max-width: 760px) {
  .hs-copy .hero-foot { bottom: 40px; }
  .hs-cta { bottom: 150px; }
}
/* hero coins are placed and moved by script now */
.hs-coin { position: absolute; transform: none; margin: -0.5em 0 0 -0.5em; }

/* scene images must be free to overflow their box (a global img rule capped them at 100% and left a gap) */
.scene > .scene-img { max-width: none; }

/* ---------------------------------------------------------------- watch it work: one console, three columns */
.lv-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 32px; }
.lv-head .l-small { max-width: 420px; margin: 0; }
.lv-panel {
  position: relative; margin-top: 40px; border-radius: 28px; overflow: hidden;
  background: linear-gradient(180deg, rgba(66, 52, 70, 0.72), rgba(37, 29, 39, 0.82));
  border: 1px solid rgba(245, 234, 215, 0.14); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 50px 90px -50px rgba(12, 9, 13, 0.9);
}
.lv-panel::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 80% at 15% 0%, rgba(239, 177, 143, 0.14), transparent 70%), radial-gradient(50% 70% at 90% 100%, rgba(242, 157, 111, 0.16), transparent 70%); }
.lv-bar { position: relative; display: flex; align-items: center; gap: 10px; padding: 14px 22px; border-bottom: 1px solid rgba(245, 234, 215, 0.1); font: 500 13px var(--mono); color: var(--dim); }
.lv-bar b { color: #fff; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; font-size: 12px; }
.lv-bar a { margin-left: auto; color: var(--muted); font-family: var(--body); font-size: 14px; transition: color 0.2s; }
.lv-bar a:hover { color: #fff; }
.lv-cols { position: relative; display: grid; grid-template-columns: 1.25fr 1fr 1fr; }
.lv-col { position: relative; padding: 26px 26px 28px; display: flex; flex-direction: column; min-height: 400px; }
.lv-col + .lv-col { border-left: 1px solid rgba(245, 234, 215, 0.1); }
.lv-k { display: flex; align-items: center; gap: 10px; font: 600 12px var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); }
.lv-k em { font-style: normal; padding: 2px 8px; border-radius: 99px; background: var(--red-dim); color: var(--red); letter-spacing: 0; }
/* feed */
.lv-feed .feed-list { margin-top: 16px; display: flex; flex-direction: column; flex: 1; }
.lv-feed .feed-item { display: grid; grid-template-columns: 34px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; margin: 0; border: 0; border-bottom: 1px solid rgba(245, 234, 215, 0.08); border-radius: 0; background: none; }
.lv-id { width: 34px; height: 34px; border-radius: 11px; background: conic-gradient(from calc(var(--h) * 1deg), hsl(calc(var(--h) * 1deg) 70% 62%), hsl(calc(var(--h) * 1deg + 80deg) 70% 55%), hsl(calc(var(--h) * 1deg + 160deg) 70% 60%), hsl(calc(var(--h) * 1deg) 70% 62%)); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.18); }
.lv-row { min-width: 0; }
.lv-row .who { font-size: 15px; color: var(--muted); }
.lv-row .who b { font: 600 14px var(--mono); color: #fff; }
.lv-row .who em { font-style: normal; color: var(--red); font-weight: 600; }
.lv-row .why { font-size: 13px; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lv-feed .ago { font: 500 12.5px var(--mono); color: var(--dim); }
.lv-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 8px; padding: 10px 6px; }
.lv-empty img { width: 92px; height: 92px; object-fit: contain; margin-bottom: 6px; filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.45)); animation: mega-nudge 3.6s ease-in-out infinite; }
.lv-empty b { font: 600 19px var(--head); letter-spacing: -0.03em; color: #fff; }
.lv-empty span { max-width: 300px; font-size: 14.5px; line-height: 1.5; color: var(--dim); }
/* wallet check */
.lv-3d { position: absolute; right: 18px; top: 16px; width: 86px; height: 86px; object-fit: contain; opacity: 0.95; filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.45)); transition: transform 0.6s var(--spring); }
.lv-check:hover .lv-3d { transform: rotate(-8deg) translateY(-4px); }
.lv-check h3 { margin-top: 40px; font-size: 26px; color: #fff; }
.lv-check p { margin: 8px 0 0; font-size: 15px; color: var(--muted); max-width: 260px; }
.lv-input { display: flex; align-items: center; margin-top: 22px; padding: 5px 5px 5px 16px; border-radius: 16px; background: rgba(15, 12, 16, 0.5); border: 1px solid rgba(245, 234, 215, 0.14); transition: border-color 0.2s, box-shadow 0.2s; }
.lv-input:focus-within { border-color: rgba(242, 226, 201, 0.5); box-shadow: 0 0 0 4px rgba(242, 226, 201, 0.1); }
.lv-input input { flex: 1; min-width: 0; height: 40px; border: 0; background: none; outline: none; color: #fff; font: 500 14px var(--mono); }
.lv-input input::placeholder { color: var(--dim); }
.lv-input button { height: 40px; padding: 0 18px; border-radius: 12px; border: 0; cursor: pointer; background: var(--grad); color: var(--ink-on-mint); font: 600 14.5px var(--body); transition: filter 0.2s, transform 0.2s var(--spring); }
.lv-input button:hover { filter: brightness(1.06); transform: translateY(-1px); }
.lv-res { display: grid; grid-template-rows: 0fr; margin-top: 0; transition: grid-template-rows 0.35s var(--ease), margin 0.35s var(--ease); }
.lv-res > * { overflow: hidden; }
.lv-res.show { grid-template-rows: auto; margin-top: 12px; padding: 12px 14px; border-radius: 14px; }
.lv-res b { display: block; font: 600 14px var(--mono); }
.lv-res span { display: block; font-size: 13.5px; color: var(--muted); margin-top: 2px; }
.lv-res.ok { background: rgba(255, 198, 164, 0.12); box-shadow: inset 0 0 0 1px rgba(255, 198, 164, 0.3); }
.lv-res.ok b { color: var(--mint); }
.lv-res.bad { background: var(--red-dim); box-shadow: inset 0 0 0 1px var(--red-line); }
.lv-res.bad b { color: var(--red); }
.lv-meter { margin-top: auto; padding-top: 22px; }
.lv-meter > div { display: flex; align-items: baseline; gap: 10px; }
.lv-meter b { font: 600 34px/1 var(--head); letter-spacing: -0.04em; color: #fff; font-variant-numeric: tabular-nums; }
.lv-meter span { font-size: 13.5px; color: var(--dim); }
.lv-meter i { display: block; height: 6px; margin-top: 12px; border-radius: 99px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.lv-meter s { display: block; height: 100%; width: 1.5%; border-radius: inherit; background: var(--grad); box-shadow: 0 0 10px rgba(242, 226, 201, 0.6); transition: width 1.2s var(--ease); }
/* numbers */
.lv-grid { display: grid; grid-template-columns: 1fr 1fr; margin-top: 16px; border-top: 1px solid rgba(245, 234, 215, 0.08); }
.lv-grid > div { padding: 16px 0 14px; border-bottom: 1px solid rgba(245, 234, 215, 0.08); }
.lv-grid > div:nth-child(2n) { padding-left: 18px; border-left: 1px solid rgba(245, 234, 215, 0.08); }
.lv-grid small, .lv-vol small { display: block; font-size: 13px; color: var(--dim); }
.lv-grid b { display: block; margin-top: 4px; font: 600 36px/1.05 var(--head); letter-spacing: -0.045em; color: #fff; font-variant-numeric: tabular-nums; }
.lv-grid b.red { color: var(--red); }
.lv-vol { margin-top: auto; padding-top: 18px; }
.lv-vol b { display: block; margin-top: 4px; font: 600 28px/1.1 var(--head); letter-spacing: -0.04em; color: #fff; }
.lv-vol .spark { width: 100%; height: 46px; margin-top: 8px; }
@media (max-width: 1060px) {
  .lv-head { grid-template-columns: 1fr; gap: 14px; }
  .lv-cols { grid-template-columns: 1fr 1fr; }
  .lv-feed { grid-column: 1 / -1; min-height: 0; border-bottom: 1px solid rgba(245, 234, 215, 0.1); }
  .lv-check { border-left: 0 !important; }
}
@media (max-width: 680px) {
  .lv-cols { grid-template-columns: 1fr; }
  .lv-col { min-height: 0; padding: 22px 18px 24px; }
  .lv-col + .lv-col { border-left: 0; border-top: 1px solid rgba(245, 234, 215, 0.1); }
  .lv-bar span:not(.live-dot) { display: none; }
  .lv-bar { padding: 12px 18px; }
  .lv-panel { border-radius: 22px; margin-top: 28px; }
}

/* ---------------------------------------------------------------- launch cards */
.coins { grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 18px; }
.cc {
  position: relative; display: flex; flex-direction: column; padding: 0; border-radius: 24px; isolation: isolate;
  background: linear-gradient(180deg, rgba(60, 48, 64, 0.9), rgba(34, 27, 36, 0.96)); border: 1px solid rgba(245, 234, 215, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 30px 60px -36px rgba(12, 9, 13, 0.9);
  transition: transform 0.45s var(--spring), border-color 0.3s, box-shadow 0.4s;
}
.cc:hover { transform: translateY(-4px); border-color: rgba(242, 226, 201, 0.34); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 40px 70px -36px rgba(225, 103, 45, 0.55); }
.cc-link { position: absolute; inset: 0; z-index: 2; border-radius: inherit; }
.cc-link:focus-visible { outline: 2px solid var(--mint); outline-offset: -2px; }
/* the token image covers the whole card, faded right back */
.coin.cc { overflow: visible; }
/* only the background is clipped to the card, so tooltips (like "copied") can show past its edge */
.cc-clip { position: absolute; inset: 0; z-index: -1; border-radius: inherit; overflow: hidden; pointer-events: none; }
.cc-bg { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; opacity: 0.1; transform: scale(1.06); transition: opacity 0.5s var(--ease), transform 0.9s var(--ease); pointer-events: none; }
.cc:hover .cc-bg { opacity: 0.16; transform: scale(1.12); }
.cc-top { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 6px; padding: 16px 16px 0; }
/* the address sits between the bonding and clamped pills, centred, and shrinks before they do */
.cc-top .cc-addr { justify-self: center; align-self: center; max-width: 100%; height: 28px; padding: 0 5px 0 9px; gap: 6px; font-size: 12px; border-radius: 99px; }
.cc-top .cc-addr span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cc-top .cc-addr em { width: 19px; height: 19px; border-radius: 99px; flex: none; }
.cc-top .cc-addr em svg { width: 11px; height: 11px; }
.cc-top .cc-status, .cc-top .cc-rej { padding: 0 10px; font-size: 12px; white-space: nowrap; }
.cc-gen { opacity: 0.22; background: radial-gradient(70% 90% at 30% 20%, hsl(calc(var(--h) * 1deg) 75% 66% / 0.9), transparent 70%), radial-gradient(70% 90% at 80% 30%, hsl(calc(var(--h) * 1deg + 70deg) 70% 58% / 0.8), transparent 70%), linear-gradient(160deg, #903815, #28202a); }
.cc-status { position: relative; display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 11px; border-radius: 99px; font: 600 12.5px var(--mono); color: #fff; background: rgba(23, 18, 24, 0.55); border: 1px solid rgba(255, 255, 255, 0.16); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.cc-status i { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 8px var(--mint); animation: pulse 2s ease-in-out infinite; }
.is-bonded .cc-status { background: var(--grad); color: var(--ink-on-mint); border-color: transparent; }
.cc-rej { position: relative; height: 28px; padding: 0 11px; display: inline-flex; align-items: center; border-radius: 99px; font: 600 12.5px var(--mono); color: var(--red); background: rgba(23, 18, 24, 0.55); border: 1px solid var(--red-line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.cc-body { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 16px 18px 18px; }
.cc-head { display: flex; align-items: flex-end; gap: 12px; }
.cc-av { width: 58px; height: 58px; flex: none; border-radius: 18px; overflow: hidden; background: #28202a; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14), 0 10px 20px -8px rgba(0, 0, 0, 0.6); }
.cc-av img { width: 100%; height: 100%; object-fit: cover; }
.cc-av span { display: grid; place-items: center; width: 100%; height: 100%; font: 900 24px 'Unbounded', var(--head); color: #fff; background: linear-gradient(140deg, hsl(calc(var(--h) * 1deg) 70% 60%), hsl(calc(var(--h) * 1deg + 70deg) 65% 45%)); }
.cc-id { min-width: 0; flex: 1; padding-bottom: 2px; }
.cc-id b { display: block; font: 600 19px/1.15 var(--head); letter-spacing: -0.03em; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cc-id small { display: block; font: 500 13.5px var(--mono); color: var(--muted); }
.cc-mc { text-align: right; padding-bottom: 2px; }
.cc-mc b { display: block; font: 600 19px/1.15 var(--mono); letter-spacing: -0.03em; color: #fff; }
.cc-mc small { font-size: 12px; color: var(--dim); }
/* the address: click to copy (sits above the card link) */
.cc-addr { position: relative; z-index: 3; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 8px 0 12px; border-radius: 10px; cursor: copy; font: 500 13px var(--mono); color: var(--muted); background: rgba(15, 12, 16, 0.45); border: 1px solid rgba(245, 234, 215, 0.12); transition: background 0.2s, border-color 0.2s, color 0.2s; }
.cc-addr:hover { color: #fff; border-color: rgba(242, 226, 201, 0.38); background: rgba(15, 12, 16, 0.65); }
.cc-addr b { color: var(--mint); font-weight: 600; }
.cc-addr em { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: rgba(255, 255, 255, 0.06); }
.cc-addr em svg { width: 13px; height: 13px; }
.cc-addr i { position: absolute; left: 50%; bottom: calc(100% + 8px); translate: -50% 4px; padding: 4px 9px; border-radius: 8px; font: 600 12px var(--body); font-style: normal; color: var(--ink-on-mint); background: var(--mint); opacity: 0; pointer-events: none; transition: opacity 0.2s, translate 0.25s var(--spring); white-space: nowrap; }
.cc-addr.copied { color: #fff; border-color: rgba(242, 226, 201, 0.5); }
.cc-addr.copied em { background: var(--mint); color: var(--ink-on-mint); }
.cc-addr.copied i { opacity: 1; translate: -50% 0; }
.cc-rules { display: flex; flex-wrap: wrap; gap: 6px; }
.cc-rules span { height: 26px; padding: 0 10px; display: inline-flex; align-items: center; border-radius: 8px; font-size: 12.5px; font-weight: 500; color: var(--muted); background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 1px rgba(245, 234, 215, 0.1); }
.cc-rules span.k { color: #fff; background: rgba(242, 226, 201, 0.14); box-shadow: inset 0 0 0 1px rgba(242, 226, 201, 0.3); }
.cc-rules span.g { color: #f7edde; background: rgba(239, 177, 143, 0.12); box-shadow: inset 0 0 0 1px rgba(239, 177, 143, 0.28); }
.cc-track { height: 8px; border-radius: 99px; background: rgba(255, 255, 255, 0.07); overflow: hidden; }
.cc-track i { display: block; height: 100%; border-radius: inherit; background: var(--grad); box-shadow: 0 0 12px rgba(242, 226, 201, 0.55); }
.cc-foot { display: flex; justify-content: space-between; gap: 10px; margin-top: 8px; font-size: 13px; color: var(--dim); }
.cc-foot b { font-family: var(--mono); font-weight: 600; color: #fff; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
/* empty feed: the branded radar, scanning */
.lv-radar { position: relative; width: 124px; height: 124px; margin-bottom: 10px; }
.lv-radar img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 16px 26px rgba(24, 19, 25, 0.6)); animation: none; }
/* a sweep that turns over the dish face */
.lv-radar s { position: absolute; z-index: 2; inset: 12%; border-radius: 50%; pointer-events: none; mix-blend-mode: screen;
  background: conic-gradient(from 0deg, rgba(255, 188, 150, 0.55), rgba(255, 188, 150, 0) 70deg, transparent 360deg); animation: lv-sweep 3.2s linear infinite; }
/* pings that ripple outward */
.lv-radar i { position: absolute; inset: 6%; border-radius: 50%; border: 1.5px solid rgba(239, 177, 143, 0.6); animation: lv-ping 3.2s ease-out infinite; }
.lv-radar i + i { animation-delay: 1.6s; }
@keyframes lv-sweep { to { transform: rotate(360deg); } }
@keyframes lv-ping { 0% { transform: scale(0.9); opacity: 0.9; } 100% { transform: scale(1.55); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .lv-radar s, .lv-radar i { animation: none; } .lv-radar i { display: none; } }

/* ---------------------------------------------------------------- coin chart (lightweight-charts + bubbles) */
.card.ch { padding: 0; display: flex; flex-direction: column; height: 460px; overflow: visible; }
.ch-bar { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.ch-frames { display: flex; gap: 2px; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.ch-frames::-webkit-scrollbar { display: none; }
.ch-frames button, .ch-unit button { flex: none; height: 28px; padding: 0 10px; border-radius: 99px; font: 500 12.5px var(--mono); color: var(--dim); cursor: pointer; transition: color 0.2s, background 0.2s; }
.ch-frames button:hover, .ch-unit button:hover { color: var(--text); }
.ch-frames button.on, .ch-unit button.on { background: rgba(255, 255, 255, 0.1); color: #fff; }
.ch-menu { position: relative; flex: none; }
.ch-ev-btn { display: inline-flex; align-items: center; gap: 8px; height: 28px; padding: 0 10px; border-radius: 99px; font-size: 12.5px; color: var(--muted); background: rgba(255, 255, 255, 0.05); cursor: pointer; transition: background 0.2s, color 0.2s; }
.ch-ev-btn:hover, .ch-menu.open .ch-ev-btn { background: rgba(255, 255, 255, 0.1); color: #fff; }
.ch-ev-btn svg { width: 13px; height: 13px; transition: transform 0.25s var(--ease); }
.ch-menu.open .ch-ev-btn svg { transform: rotate(180deg); }
.ch-dots { display: inline-flex; }
.ch-dots i { width: 8px; height: 8px; border-radius: 50%; margin-left: -2px; box-shadow: 0 0 0 1.5px #261f28; }
.ch-dots i:first-child { margin-left: 0; }
.ch-ev-n { font-family: var(--mono); color: var(--dim); }
.ch-ev-pop { position: absolute; right: 0; top: calc(100% + 8px); z-index: 40; width: 230px; padding: 6px; border-radius: 16px; background: rgba(37, 29, 39, 0.97); border: 1px solid rgba(245, 234, 215, 0.14); box-shadow: 0 24px 50px -16px rgba(0, 0, 0, 0.8); backdrop-filter: blur(16px);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity 0.2s, transform 0.25s var(--ease), visibility 0s 0.25s; }
.ch-menu.open .ch-ev-pop { opacity: 1; visibility: visible; transform: none; transition: opacity 0.2s, transform 0.25s var(--ease); }
.ch-ev-pop > button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 10px; border-radius: 10px; font-size: 13.5px; color: var(--muted); text-align: left; cursor: pointer; }
.ch-ev-pop > button:hover { background: rgba(255, 255, 255, 0.06); color: #fff; }
.ch-ev-pop > button i { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.ch-ev-pop > button em { margin-left: auto; font-style: normal; color: var(--mint); }
.ch-ev-all { display: flex; gap: 4px; padding: 2px 2px 6px; margin-bottom: 4px; border-bottom: 1px solid rgba(245, 234, 215, 0.08); }
.ch-ev-all button { flex: 1; height: 26px; border-radius: 8px; font-size: 12px; color: var(--dim); background: rgba(255, 255, 255, 0.04); cursor: pointer; }
.ch-ev-all button:hover { color: #fff; }
.ch-unit { margin-left: auto; display: inline-flex; padding: 2px; border-radius: 99px; background: rgba(255, 255, 255, 0.05); flex: none; }
.ch-plot { position: relative; flex: 1; min-height: 0; }
.ch-canvas { position: absolute; inset: 0; }
.ch-legend { position: absolute; left: 12px; top: 8px; z-index: 10; display: flex; flex-wrap: wrap; gap: 2px 12px; font: 500 11.5px var(--mono); color: var(--dim); pointer-events: none; }
.ch-legend b { font-weight: 500; }
.ch-legend b.up { color: #ffc09b; }
.ch-legend b.down { color: var(--red); }
.ch-legend .ev { color: #fff; }
.ch-empty { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; color: var(--dim); font-size: 14.5px; pointer-events: none; }
.ch-goal { position: absolute; right: 72px; top: 8px; z-index: 10; display: none; padding: 2px 9px; border-radius: 99px; border: 1px dashed #f8f0e3; background: rgba(30, 24, 32, 0.85); font: 500 11.5px var(--mono); color: #f8f0e3; pointer-events: none; }
/* bubbles */
.ch-tags { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.ch-tag { position: absolute; z-index: 10; display: flex; align-items: center; border-radius: 99px; pointer-events: auto; background: rgba(22, 18, 23, 0.92); box-shadow: inset 0 0 0 1px rgba(var(--rgb), 0.55), 0 4px 12px -4px rgba(0, 0, 0, 0.6); }
.ch-tag.left { flex-direction: row-reverse; transform: translateX(-100%); }
.ch-tag:hover { z-index: 30; }
.ch-tag .ic { position: relative; display: grid; place-items: center; flex: none; border-radius: 50%; color: var(--c); background: rgba(var(--rgb), 0.18); }
.ch-tag .ic svg { position: static; inset: auto; width: 10px; height: 10px; overflow: visible; } /* static: the homepage demo's .ds-chart svg rule must not pin it */
.ch-tag .ic .bd { font: 800 8px/1 var(--body); }
.ch-tag .ic i { position: absolute; right: -6px; top: -6px; min-width: 14px; padding: 0 2px; border-radius: 99px; font: 700 8px/14px var(--mono); font-style: normal; text-align: center; color: #2e2531; background: var(--c); }
.ch-tag .tx { max-width: 0; overflow: hidden; white-space: nowrap; font-size: 11.5px; font-weight: 500; color: #fff; transition: max-width 0.2s var(--ease), padding 0.2s; }
.ch-tag:hover .tx { max-width: 280px; padding: 0 9px; }
.ch-vline { position: absolute; top: 0; bottom: 0; border-left: 1px dashed rgba(248, 240, 227, 0.55); }
@media (max-width: 680px) { .card.ch { height: 380px; } .ch-bar { flex-wrap: wrap; } .ch-unit { margin-left: 0; } }

/* ---------------------------------------------------------------- trade panel */
.tp .seg button { text-transform: lowercase; font-weight: 600; }
.tp-in, .tp-out { border-radius: 18px; padding: 14px; background: rgba(15, 12, 16, 0.35); border: 1px solid rgba(245, 234, 215, 0.1); }
.tp-top { display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: var(--dim); }
.tp-bal { font: 500 13px var(--mono); color: var(--muted); cursor: pointer; transition: color 0.2s; }
.tp-bal:hover { color: #fff; }
.tp-in .amount { margin-top: 8px; }
.tp-in .quick { margin-top: 10px; }
.tp-get { margin-top: 6px; font: 600 26px/1.15 var(--head); letter-spacing: -0.04em; color: #fff; font-variant-numeric: tabular-nums; }
.tp-get.err { font: 500 14px/1.4 var(--body); color: var(--red); letter-spacing: 0; }
.tp-live { font: 500 11.5px var(--mono); color: var(--mint); }
.tp-rows { margin-top: 12px; padding-top: 10px; border-top: 1px dashed rgba(245, 234, 215, 0.12); display: flex; flex-direction: column; gap: 7px; }
.tp-rows > div { display: flex; justify-content: space-between; align-items: center; font-size: 13.5px; color: var(--dim); }
.tp-rows b { font: 500 13px var(--mono); color: var(--text); }
.tp-rows b.warn { color: var(--red); }
.tp-rows b.red { color: #ff8aa8; }
.tp-slip { display: inline-flex; gap: 3px; }
.tp-slip button { height: 24px; padding: 0 8px; border-radius: 8px; font: 500 12px var(--mono); color: var(--dim); background: rgba(255, 255, 255, 0.04); cursor: pointer; }
.tp-slip button:hover { color: #fff; }
.tp-slip button.on { color: var(--ink-on-mint); background: var(--mint); }
/* coin page: columns can't be stretched past the screen by a wide table or chart */
.coin-page { grid-template-columns: minmax(0, 1fr) 360px; }
.coin-page > *, .coin-page .grid > * { min-width: 0; }
#tab { overflow-x: auto; scrollbar-width: none; }
#tab::-webkit-scrollbar { display: none; }
@media (max-width: 980px) { .coin-page { grid-template-columns: minmax(0, 1fr); } }
#tab td, #tab th { white-space: nowrap; }

/* ---------------------------------------------------------------- showcase: the real coin chart and trade panel on a pretend coin */
.ds .ds-chart.ch { height: auto; flex: 1; min-height: 0; padding: 0; margin: 0; border-radius: 14px; background: rgba(15, 12, 16, 0.3); border: 1px solid rgba(245, 234, 215, 0.1); box-shadow: none; }
.ds .ds-chart.ch .ch-bar { padding: 7px 8px; gap: 6px; }
.ds .ds-chart.ch .ch-frames button, .ds .ds-chart.ch .ch-unit button { height: 24px; padding: 0 8px; font-size: 11.5px; }
.ds .ds-chart.ch .ch-ev-btn { height: 24px; font-size: 11.5px; }
.ds .ds-chart.ch { pointer-events: none; } /* look, don't touch: it's a picture of the app */
.ds-trade.tp { display: flex; flex-direction: column; gap: 9px; padding: 12px; }
.ds-trade.tp .seg { width: 100%; display: flex; }
.ds-trade.tp .seg button { flex: 1; height: 30px; font-size: 13px; }
.ds-trade.tp .tp-in, .ds-trade.tp .tp-out { padding: 10px 12px; border-radius: 14px; }
.ds-trade.tp .tp-top { font-size: 11.5px; }
.ds-trade.tp .amount { position: relative; margin-top: 6px; }
.ds-trade.tp .amount .input { display: flex; align-items: center; height: 42px; padding: 0 56px 0 14px; border-radius: 12px; background: rgba(15, 12, 16, 0.5); border: 1px solid rgba(245, 234, 215, 0.12); font: 500 18px var(--mono); color: #fff; }
.ds-trade.tp .amount .unit { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font: 500 13px var(--mono); color: var(--muted); }
.ds-trade.tp .quick { display: flex; gap: 5px; margin-top: 8px; }
.ds-trade.tp .quick .btn.sm { flex: 1; height: 26px; padding: 0; font-size: 11.5px; justify-content: center; }
.ds-trade.tp .tp-get { font-size: 21px; margin-top: 4px; }
.ds-trade.tp .tp-rows { margin-top: 8px; padding-top: 8px; gap: 5px; }
.ds-trade.tp .tp-rows > div { font-size: 12px; }
.ds-trade.tp .tp-rows b { font-size: 12px; }
.ds-trade.tp .tp-slip button { height: 20px; padding: 0 6px; font-size: 11px; }
.ds-trade.tp > .btn.lg { height: 40px; font-size: 14.5px; display: flex; align-items: center; justify-content: center; }
.ds-price small { font-size: 11.5px; }
/* the toast shows when the pretend coin turns a KOL buy away, not on a timer */
.ds-toast { animation: none; opacity: 0; transform: translateY(16px) scale(0.96); transition: opacity 0.35s var(--ease), transform 0.45s var(--spring); pointer-events: none; }
.ds-toast.show { opacity: 1; transform: none; }
.ds-trade.tp > .btn.lg { text-transform: none; }

/* ---------------------------------------------------------------- launch from any device: one frame that morphs desktop → tablet → phone */
/* copy stacked and centred above the device */
.any { display: flex; flex-direction: column; align-items: center; gap: 40px; }
.any-copy { display: flex; flex-direction: column; align-items: center; text-align: center; max-width: 920px; }
.any-copy .l-head { display: flex; flex-direction: column; align-items: center; }
.any-copy .l-small { margin: 16px auto 0; max-width: 540px; font-size: 17px; }
.any-stage { width: 100%; }
.any-pick { position: relative; display: inline-flex; gap: 2px; margin-top: 30px; padding: 4px; border-radius: 99px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(245, 234, 215, 0.12); }
.any-pick button { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; border-radius: 99px; font-size: 14px; color: var(--muted); cursor: pointer; transition: color 0.3s; }
.any-pick button svg { width: 16px; height: 16px; }
.any-pick button:hover { color: #fff; }
.any-pick button.on { color: var(--ink-on-mint); }
.any-glide { position: absolute; top: 4px; bottom: 4px; left: 4px; width: 0; border-radius: 99px; background: var(--grad); box-shadow: 0 6px 18px -6px rgba(255, 188, 150, 0.7); transition: left 0.55s var(--spring), width 0.55s var(--spring); }
.any-list { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; font-size: 14.5px; color: var(--muted); }
.any-list li { display: flex; align-items: center; gap: 8px; }
.any-list li::before { content: ''; width: 18px; height: 18px; flex: none; border-radius: 50%; background: rgba(242, 226, 201, 0.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d9bcff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center / 11px no-repeat; }
.any-stage { margin-top: 0; display: flex; align-items: center; justify-content: center; }
.any-stage .desk-wrap { display: flex; }

/* the frame: size comes from the script, shape from the mode, and both ease between devices */
.any-stage .desk { width: auto; transition: padding 0.9s var(--ease), border-radius 0.9s var(--ease), transform 0.6s var(--ease); }
.any-stage .desk-screen { aspect-ratio: auto; transition: width 0.9s var(--ease), height 0.9s var(--ease), border-radius 0.9s var(--ease); }
.any-stage .desk-neck, .any-stage .desk-foot { transition: opacity 0.5s var(--ease), height 0.7s var(--ease), width 0.7s var(--ease), margin 0.7s var(--ease); overflow: hidden; }
.any-stage .desk::before { content: ''; position: absolute; z-index: 4; left: 50%; top: 14px; width: 0; height: 0; border-radius: 99px; background: #080609; transform: translateX(-50%); transition: width 0.7s var(--ease), height 0.7s var(--ease), top 0.7s var(--ease); }
.any-stage .desk::after { transition: opacity 0.4s; }
.desk-wrap[data-mode='tablet'] .desk { padding: 14px; border-radius: 30px; }
.desk-wrap[data-mode='tablet'] .desk-screen { border-radius: 18px; }
.desk-wrap[data-mode='tablet'] .desk::before { width: 7px; height: 7px; top: 4px; } /* front camera */
.desk-wrap[data-mode='phone'] .desk { padding: 9px; border-radius: 40px; }
.desk-wrap[data-mode='phone'] .desk-screen { border-radius: 32px; }
.desk-wrap[data-mode='phone'] .desk::before { width: 70px; height: 20px; top: 17px; } /* dynamic island */
.desk-wrap:not([data-mode='desktop']) .desk::after { opacity: 0; }
.desk-wrap:not([data-mode='desktop']) .desk-neck, .desk-wrap:not([data-mode='desktop']) .desk-foot { opacity: 0; height: 0; width: 0; }
/* the switch itself: the app dips out while the frame changes shape */
.any-stage .ds { transition: opacity 0.22s var(--ease), filter 0.22s var(--ease); }
.desk-wrap.morph .ds { opacity: 0; filter: blur(6px); }
.desk-wrap.morph .desk { transform: rotateY(var(--ry, 0deg)) rotateX(var(--rx, 0deg)) scale(0.985); }

/* the app reflowing inside each device, like the live site */
.ds[data-mode='tablet'] { padding: 18px; gap: 14px; }
.ds[data-mode='tablet'] .ds-links { display: none; }
.ds[data-mode='tablet'] .ds-grid { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) auto; }
.ds[data-mode='tablet'] .ds-side { flex-direction: row; align-items: stretch; }
.ds[data-mode='tablet'] .ds-side .ds-trade { flex: 1.5; }
.ds[data-mode='tablet'] .ds-side .ds-stats { flex: 1; grid-template-columns: 1fr; align-content: start; }
.ds[data-mode='phone'] { padding: 46px 12px 14px; gap: 10px; }
.ds[data-mode='phone'] .ds-nav { height: 38px; padding: 0 6px 0 12px; }
.ds[data-mode='phone'] .ds-links, .ds[data-mode='phone'] .ds-stats, .ds[data-mode='phone'] .ds-tag { display: none; }
.ds[data-mode='phone'] .ds-grid { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) auto; gap: 10px; }
.ds[data-mode='phone'] .ds-card { padding: 12px; border-radius: 16px; }
.ds[data-mode='phone'] .ds-coin img { width: 34px; height: 34px; }
.ds[data-mode='phone'] .ds-coin b { font-size: 15px; }
.ds[data-mode='phone'] .ds-price b { font-size: 16px; }
.ds[data-mode='phone'] .ds-trade.tp { gap: 7px; padding: 10px; }
.ds[data-mode='phone'] .ds-trade.tp .tp-rows { display: none; }
.ds[data-mode='phone'] .ds-trade.tp .tp-get { font-size: 18px; }
.ds[data-mode='phone'] .ds-chart.ch .ch-unit { display: none; }
.ds[data-mode='tablet'] .ds-toast { left: 120px; top: 150px; }
.ds[data-mode='phone'] .ds-toast { left: 12px; right: 12px; top: 210px; }

@media (max-width: 1060px) {
  .any { gap: 30px; }
}
@media (max-width: 760px) {
  .any-stage .desk-wrap { display: flex !important; }
  .any-pick button { padding: 0 11px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) { .any-stage .desk, .any-stage .desk-screen, .any-glide { transition: none; } }
/* inside the devices nothing may push past the screen edge */
.ds-grid > *, .ds-side > *, .ds-trade.tp > * { min-width: 0; }
.ds-trade.tp .quick .btn.sm { min-width: 0; }
.ds[data-mode='phone'] .ds-trade.tp .quick .btn.sm:nth-child(4) { display: none; }
/* this section's cloud stays a soft glow behind the copy */
.l-show > .par-cloud img { opacity: 0.22; filter: saturate(0.8) brightness(0.8); }
.any-copy .l-small, .any-list { text-shadow: 0 1px 14px rgba(19, 15, 20, 0.8); }
.any-list { color: #e9e0d2; }
/* the cream section's seam clouds stay at the seam, below the any-device copy */
.l-paper > .par-cloud.pc-top img { bottom: -150px; }
.l-paper > .par-cloud.pc-back img { bottom: -80px; }

/* ---------------------------------------------------------------- trailer (homepage, above the faq) */
/* watch-it-work, the trailer and the faq run as one dark stretch: no seams between them */
.seam { background: #1e1820; border-top: 0; }
.l-trailer { padding-bottom: 40px; }
.l-trailer + .seam { padding-top: 60px; }
.tr-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 32px; margin-bottom: 34px; }
.tr-head .l-small { max-width: 360px; margin: 0; }
.tr-frame { position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 16 / 9; background: #100d11 url('/video/trailer-poster.jpg') center / cover no-repeat; box-shadow: 0 0 0 1px rgba(245, 234, 215, 0.14), 0 60px 120px -50px rgba(255, 147, 90, 0.55), 0 0 140px -40px rgba(255, 188, 150, 0.35); }
.tr-frame.is-v { aspect-ratio: 9 / 16; max-width: 420px; margin: 0 auto; background-image: url('/video/trailer-poster-v.jpg'); }
.tr-frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: transparent; }
.tr-frame::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(80% 80% at 50% 55%, transparent 40%, rgba(19, 15, 20, 0.55) 100%); transition: opacity 0.4s; }
.tr-frame.playing::after { opacity: 0; }
.tr-play { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; color: #fff; cursor: pointer; transition: opacity 0.35s; }
.tr-play i { display: grid; place-items: center; width: 96px; height: 96px; border-radius: 50%; color: var(--ink-on-mint); background: var(--grad); box-shadow: 0 20px 50px -14px rgba(255, 188, 150, 0.85), 0 0 0 10px rgba(255, 255, 255, 0.08); transition: transform 0.4s var(--spring), box-shadow 0.4s; }
.tr-play i svg { width: 38px; height: 38px; margin-left: 5px; }
.tr-play span { font: 600 18px var(--head); letter-spacing: -0.02em; text-shadow: 0 2px 20px rgba(37, 29, 39, 0.8); }
.tr-play em { font: 500 13px var(--mono); font-style: normal; color: #f8f0e3; padding: 4px 10px; border-radius: 99px; background: rgba(23, 18, 24, 0.5); border: 1px solid rgba(255, 255, 255, 0.14); }
.tr-play:hover i { transform: scale(1.08); box-shadow: 0 26px 60px -14px rgba(255, 188, 150, 0.95), 0 0 0 14px rgba(255, 255, 255, 0.1); }
.tr-frame.playing .tr-play { opacity: 0; pointer-events: none; }
@media (max-width: 760px) {
  .tr-head { grid-template-columns: 1fr; gap: 12px; margin-bottom: 24px; }
  .tr-play i { width: 76px; height: 76px; }
  .tr-play i svg { width: 30px; height: 30px; }
}
@media (max-width: 420px) {
  .cc-top { gap: 5px; padding: 14px 12px 0; }
  .cc-top .cc-status, .cc-top .cc-rej { padding: 0 8px; font-size: 11px; gap: 5px; }
  .cc-top .cc-addr { padding: 0 4px 0 8px; gap: 4px; font-size: 11px; }
  .cc-top .cc-addr em { width: 17px; height: 17px; }
}

/* ---------------------------------------------------------------- no flash of raw content */
/* Each page's HTML is wrapped in the nav, banner and column by layout() once the scripts load. Until then
   the raw content would show full width, so it stays hidden; if the scripts never run it shows after 4s. */
body:not(.laid) > * { visibility: hidden; animation: show-unlaid 0s 4s forwards; }
@keyframes show-unlaid { to { visibility: visible; } }
body.laid > .main, body.laid > .page-banner { animation: laid-in 0.35s var(--ease) both; }
@keyframes laid-in { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { body.laid > .main, body.laid > .page-banner { animation: none; } }

/* ---------------------------------------------------------------- wallet picker */
.wm-bg { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 16px; margin: 0;
  background: radial-gradient(60% 50% at 50% 40%, rgba(255, 161, 110, 0.18), transparent 70%), rgba(15, 12, 16, 0.62);
  backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
  opacity: 0; visibility: hidden; transition: opacity 0.3s var(--ease), visibility 0s 0.3s; }
.wm-bg.open { opacity: 1; visibility: visible; transition: opacity 0.3s var(--ease); }
body.wm-lock { overflow: hidden; }
.wm { position: relative; width: min(430px, 100%); max-height: calc(100vh - 32px); overflow: auto; padding: 30px 24px 20px; border-radius: 30px; isolation: isolate;
  background: linear-gradient(180deg, rgba(64, 51, 68, 0.94) 0%, rgba(31, 25, 33, 0.97) 60%);
  border: 1px solid rgba(245, 234, 215, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 50px 120px -40px rgba(255, 140, 80, 0.6), 0 0 0 1px rgba(0, 0, 0, 0.2);
  transform: translateY(18px) scale(0.97); transition: transform 0.45s var(--spring); }
.wm-bg.open .wm { transform: none; }
/* dusk glow behind the header */
.wm::before { content: ''; position: absolute; inset: 0 0 auto; height: 200px; z-index: -1; pointer-events: none; border-radius: inherit;
  background: radial-gradient(70% 100% at 30% 0%, rgba(255, 202, 170, 0.28), transparent 70%), radial-gradient(60% 90% at 90% 0%, rgba(255, 168, 120, 0.3), transparent 70%); }
.wm-x { position: absolute; top: 16px; right: 16px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: var(--muted); cursor: pointer;
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1); transition: color 0.2s, background 0.2s, transform 0.3s var(--spring); }
.wm-x:hover { color: #fff; background: rgba(255, 255, 255, 0.12); transform: rotate(90deg); }
.wm-x svg { width: 16px; height: 16px; }
.wm-head { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; margin-bottom: 22px; }
.wm-mark { width: 52px; height: 52px; margin-bottom: 10px; filter: drop-shadow(0 10px 24px rgba(255, 182, 140, 0.55)); }
.wm-mark svg { width: 100%; height: 100%; }
.wm-head h2 { margin: 0; font: 900 32px/1 'Unbounded', var(--head); letter-spacing: -0.05em; color: #fff; text-transform: lowercase; }
.wm-head p { margin: 4px 0 0; font-size: 15px; color: var(--muted); }
.wm-list { display: flex; flex-direction: column; gap: 10px; }
.wm-opt { position: relative; display: flex; align-items: center; gap: 14px; width: 100%; padding: 12px 14px 12px 12px; border-radius: 20px; text-align: left; cursor: pointer; color: #fff;
  background: rgba(255, 255, 255, 0.045); border: 1px solid rgba(245, 234, 215, 0.11);
  transition: transform 0.35s var(--spring), border-color 0.25s, background 0.25s, box-shadow 0.35s; }
.wm-opt:hover, .wm-opt:focus-visible { outline: none; transform: translateY(-2px); background: rgba(255, 255, 255, 0.08); border-color: rgba(242, 226, 201, 0.4); box-shadow: 0 16px 36px -18px rgba(255, 161, 110, 0.7); }
.wm-ic { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 14px; overflow: hidden; background: #2e2531; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); }
.wm-ic img { width: 100%; height: 100%; object-fit: cover; }
.wm-opt[data-w="phantom"] .wm-ic { background: #f2bd9f; }
.wm-opt[data-w="phantom"] .wm-ic img { width: 74%; height: 74%; object-fit: contain; }
.wm-opt[data-w="backpack"] .wm-ic { background: #1d1c1e; }
.wm-opt[data-w="backpack"] .wm-ic img { width: 66%; height: 66%; object-fit: contain; }
.wm-ic .brand-mark, .wm-ic .brand-mark svg { width: 100%; height: 100%; }
.wm-n { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
.wm-n b { font: 600 17px/1.15 var(--head); letter-spacing: -0.02em; }
.wm-n small { display: inline-flex; align-items: center; gap: 6px; font: 500 12.5px var(--mono); color: var(--dim); }
.wm-n small i { width: 7px; height: 7px; border-radius: 50%; background: #7cf0b0; box-shadow: 0 0 8px #7cf0b0; }
.wm-opt.ready .wm-n small { color: #b9f3d3; }
.wm-go { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 99px; font: 600 13px var(--head); color: var(--muted); background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.08); white-space: nowrap; transition: color 0.2s, background 0.25s, gap 0.3s var(--spring); }
.wm-go svg { width: 14px; height: 14px; }
.wm-opt.ready .wm-go { color: var(--ink-on-mint); background: var(--grad); border-color: transparent; }
.wm-opt:hover .wm-go { gap: 9px; }
.wm-foot { display: flex; align-items: flex-start; gap: 10px; margin-top: 18px; padding: 14px 4px 0; border-top: 1px solid rgba(245, 234, 215, 0.1); font-size: 13px; line-height: 1.45; color: var(--dim); }
.wm-foot svg { width: 18px; height: 18px; flex: none; color: var(--mint); margin-top: 1px; }
@media (max-width: 480px) {
  .wm-bg { place-items: end center; padding: 0; }
  .wm { width: 100%; border-radius: 28px 28px 0 0; padding: 26px 18px 22px; transform: translateY(40px); }
  .wm-head h2 { font-size: 28px; }
}
@media (prefers-reduced-motion: reduce) { .wm, .wm-bg { transition: none; } }

/* create page: the clampd preset note (dev wallet only) */
.cr-preset { display: flex; align-items: center; gap: 14px; margin: 0 0 22px; padding: 14px 18px; border-radius: 20px;
  background: linear-gradient(120deg, rgba(244, 231, 211, 0.14), rgba(255, 186, 147, 0.12)); border: 1px solid rgba(242, 226, 201, 0.32);
  box-shadow: 0 20px 50px -30px rgba(255, 161, 110, 0.7); animation: laid-in 0.4s var(--ease) both; }
.cr-preset .brand-mark { width: 38px; height: 38px; flex: none; }
.cr-preset .brand-mark svg { width: 38px; height: 38px; }
.cr-preset b { display: block; font: 600 16px var(--head); color: #fff; letter-spacing: -0.02em; }
.cr-preset span:not(.brand-mark) { display: block; font-size: 14px; color: var(--muted); margin-top: 2px; }

/* rule picture: buyback & burn — coins drop into a flame and vanish */
.x-burn .fire { position: absolute; left: 50%; bottom: 8px; width: 46px; height: 40px; translate: -50% 0; border-radius: 50% 50% 46% 46% / 60% 60% 40% 40%;
  background: radial-gradient(60% 70% at 50% 75%, #fff 0%, #f6ebd9 25%, #ffb48a 55%, rgba(255, 161, 110, 0.4) 80%, transparent 100%);
  filter: blur(1.5px); animation: burn-flicker 0.6s ease-in-out infinite alternate; }
.x-burn .b { left: 50%; top: 4px; width: 16px; margin-left: -8px; opacity: 0; animation: burn-drop 2.4s infinite cubic-bezier(0.5, 0, 0.8, 0.5); }
.x-burn .b2 { animation-delay: 0.8s; } .x-burn .b3 { animation-delay: 1.6s; }
.x-burn .cap { position: absolute; right: 6px; top: 6px; font: 600 10px var(--mono); color: #f4e7d3; letter-spacing: 0.06em; text-transform: uppercase; }
@keyframes burn-flicker { from { transform: scale(0.94, 0.9); opacity: 0.85; } to { transform: scale(1.04, 1.08); opacity: 1; } }
@keyframes burn-drop { 0% { transform: translateY(0) scale(1); opacity: 0; } 12% { opacity: 1; } 70% { transform: translateY(32px) scale(0.9); opacity: 1; } 100% { transform: translateY(42px) scale(0.2); opacity: 0; } }

/* create page: first buy over what the coin's rules allow */
.inp.over { box-shadow: inset 0 0 0 1px rgba(255, 138, 168, 0.75), 0 0 0 4px rgba(255, 138, 168, 0.1); background: rgba(255, 138, 168, 0.06); }
.inp.over input, .inp.over .suf { color: #ffb3c8; }
.dev-hint b { color: var(--text); font-weight: 600; }
.dev-hint.warn { color: #ffb3c8; }
.dev-hint.warn b { color: #fff; }
.dev-max { display: inline-flex; align-items: center; height: 26px; margin-left: 6px; padding: 0 11px; border-radius: 99px; cursor: pointer;
  font: 600 12.5px var(--head); color: var(--ink-on-mint); background: var(--grad); border: 0; transition: transform 0.25s var(--spring), box-shadow 0.25s; }
.dev-max:hover { transform: translateY(-1px); box-shadow: 0 8px 20px -8px rgba(255, 188, 150, 0.8); }
/* the launch button greys out (our own look, not the browser's disabled style) */
#launch.blocked, #launch.blocked:hover { opacity: 1; cursor: not-allowed; transform: none; color: var(--dim); background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 0 1px rgba(245, 234, 215, 0.12); filter: none; }

/* rejection tags: which rule turned it away */
.stamp.rk-bag, .lv-tag.rk-bag { color: #ffb38a; border-color: rgba(255, 179, 138, 0.5); background: rgba(255, 179, 138, 0.1); }
.stamp.rk-devlock, .stamp.rk-transfers, .stamp.rk-account, .stamp.rk-holders, .stamp.rk-other,
.lv-tag.rk-devlock, .lv-tag.rk-transfers, .lv-tag.rk-account, .lv-tag.rk-holders, .lv-tag.rk-other { color: #e9e0d2; border-color: rgba(233, 224, 210, 0.35); background: rgba(233, 224, 210, 0.08); }
.lv-tag { display: inline-flex; align-items: center; height: 18px; margin-right: 6px; padding: 0 7px; border-radius: 99px; font: 600 10.5px var(--mono); letter-spacing: 0.02em; text-transform: uppercase; color: #f0c868; border: 1px solid rgba(240, 200, 104, 0.45); background: rgba(240, 200, 104, 0.1); vertical-align: 1px; }

/* ---------------------------------------------------------------- clampd hero: the clamp stands on the platform */
/* same layered scene as before; the clamp rides with the platform instead of lifting off */
.hs-clamp { aspect-ratio: 644 / 1400; height: clamp(200px, 44vh, 440px); bottom: calc(var(--pady) + var(--padw) * 0.574);
  transform: translate3d(calc(-50% + var(--mx) * -40px), calc(var(--p) * 30vh), 0) scale(calc(1 + var(--p) * 0.12)); transform-origin: 50% 100%; }
.hs-clamp img { animation: none !important; filter: drop-shadow(0 24px 34px rgba(36, 20, 24, 0.45)) drop-shadow(0 0 40px rgba(250, 130, 76, 0.25)); }
@media (max-width: 760px) {
  .hs-clamp { height: clamp(170px, 30vh, 270px); transform: translate3d(-50%, calc(var(--p) * 12vh), 0) scale(calc(1 + var(--p) * 0.1)); }
}

/* live console: rules in force */
.lv-rules { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.lv-rule { display: grid; grid-template-columns: 104px 1fr auto; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.lv-rule i { position: relative; height: 6px; border-radius: 99px; background: rgba(244, 235, 221, 0.08); overflow: hidden; }
.lv-rule s { position: absolute; inset: 0 auto 0 0; border-radius: inherit; background: var(--grad); transition: width 0.8s var(--ease); }
.lv-rule b { font: 600 14px var(--mono); color: var(--text); min-width: 2ch; text-align: right; }
/* the clampd near clouds are taller than the old ones: sit them lower so the tagline stays clear */
@media (min-width: 761px) { .hs-cloudnear { bottom: -17vh; } }
/* hero buttons on the clampd sky: orange primary, plum glass secondary with cream text */
.hs-cta .btn.primary { background: #FA824C; color: #342E37; box-shadow: 0 16px 36px -14px rgba(250, 130, 76, 0.75); }
.hs-cta .btn:not(.primary) { background: rgba(52, 46, 55, 0.55); border-color: rgba(244, 235, 221, 0.35); color: #F4EBDD; }

/* ---------------------------------------------------------------- 404: a still, pointer-driven cloud scene */
body.nf { overflow: hidden; height: 100vh; background: #221d26; }
.nf-scene { position: fixed; inset: 0; overflow: hidden; display: grid; place-items: center; }
.nf-layer, .nf-sky, .nf-stars, .nf-planet { position: absolute; pointer-events: none; will-change: transform; }
.nf-sky { inset: 0; background:
  radial-gradient(50% 42% at 50% 82%, rgba(250, 130, 76, 0.55) 0%, rgba(250, 130, 76, 0.16) 46%, transparent 74%),
  radial-gradient(60% 50% at 84% 10%, rgba(120, 90, 130, 0.38), transparent 70%),
  linear-gradient(180deg, #201b25 0%, #2f2833 32%, #4a3439 60%, #a2553a 86%, #e0743f 100%); }
.nf-stars { inset: 0 0 24% 0; opacity: 0.85;
  background-image:
    radial-gradient(1.4px 1.4px at 20px 30px, #fff 50%, transparent), radial-gradient(1px 1px at 140px 90px, #fff 50%, transparent),
    radial-gradient(1.6px 1.6px at 260px 40px, #faf4eb 50%, transparent), radial-gradient(1px 1px at 330px 150px, #fff 50%, transparent),
    radial-gradient(1.2px 1.2px at 90px 190px, #faf3e9 50%, transparent), radial-gradient(1px 1px at 210px 230px, #fff 50%, transparent);
  background-size: 380px 260px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 52%, transparent 100%); mask-image: linear-gradient(180deg, #000 0%, #000 52%, transparent 100%); }
.nf-far { top: 3vh; left: 50%; width: max(130vw, 1100px); transform: translateX(-50%); opacity: 0.6; filter: saturate(0.9) brightness(0.92); }
.nf-near { bottom: -4vh; left: 50%; width: max(150vw, 1200px); transform: translateX(-50%); z-index: 6; }
.nf-planet { bottom: -10vh; left: 50%; width: max(140vw, 1150px); transform: translateX(-50%); z-index: 7;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 36%); mask-image: linear-gradient(180deg, transparent 0, #000 36%); }
/* the digits, cut out of the clouds and warmed to brand */
.nf-404 { position: relative; z-index: 4; line-height: 0.82; margin-top: -8vh; will-change: transform; }
.nf-404 span { display: block; font-weight: 800; letter-spacing: -0.04em; font-size: clamp(170px, 42vw, 560px);
  background-image: linear-gradient(176deg, #fff3e7 4%, #ffb892 40%, #FA824C 84%), url(/img/hero/clouds-near.webp);
  background-size: cover; background-position: 50% 42%; background-blend-mode: soft-light;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 20px 46px rgba(250, 130, 76, 0.4)) drop-shadow(0 2px 0 rgba(255, 240, 227, 0.25)); }
.nf-copy { position: absolute; z-index: 8; left: 50%; bottom: 13vh; transform: translateX(-50%); text-align: center; width: min(92vw, 560px); }
.nf-copy::before { content: ''; position: absolute; inset: -46px -80px -30px; z-index: -1; pointer-events: none;
  background: radial-gradient(62% 74% at 50% 52%, rgba(26, 21, 29, 0.6) 0%, rgba(26, 21, 29, 0.28) 48%, transparent 74%); }
.nf-mark { width: 54px; height: 54px; margin: 0 auto 18px; filter: drop-shadow(0 10px 24px rgba(250, 130, 76, 0.5)); }
.nf-mark svg { width: 100%; height: 100%; display: block; }
.nf-copy h1 { font-size: clamp(22px, 3.4vw, 30px); font-weight: 600; color: #F4EBDD; margin: 0 0 8px; letter-spacing: -0.01em; text-shadow: 0 2px 20px rgba(26, 21, 29, 0.6); }
.nf-copy p { color: #f7d3bb; font-size: 15.5px; margin: 0 0 22px; text-shadow: 0 1px 14px rgba(26, 21, 29, 0.7); }
.nf-copy .btn { background: #FA824C; color: #342E37; border-color: transparent; box-shadow: 0 16px 36px -14px rgba(250, 130, 76, 0.8); }
.nf-copy .btn:hover { filter: brightness(1.06); }
.nf-coin { position: absolute; z-index: 5; pointer-events: none; will-change: transform; }
.nf-coin img { width: 100%; height: 100%; display: block; animation: hs-spin 14s linear infinite; }
@media (max-width: 640px) { .nf-404 span { font-size: clamp(130px, 46vw, 300px); } .nf-copy { bottom: 10vh; } .nf-planet { bottom: -4vh; } }
@media (prefers-reduced-motion: reduce) { .nf-coin img { animation: none; } }
