/* ROR design system — base: fonts, tokens, reset, type, buttons, shared pieces. Mobile first. */
@font-face { font-family: 'Archivo'; src: url('/assets/fonts/archivo-latin-wdth-normal.woff2') format('woff2'); font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap; }
@font-face { font-family: 'IBM Plex Mono'; src: url('/assets/fonts/ibm-plex-mono-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'IBM Plex Mono'; src: url('/assets/fonts/ibm-plex-mono-latin-500-normal.woff2') format('woff2'); font-weight: 500; font-display: swap; }

:root {
  --bg: #070707;
  --bg-2: #0c0c0d;
  --card: #111112;
  --card-2: #171718;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.15);
  --text: #f3efe8;
  --muted: #a39d93;
  --dim: #6f6a61;
  --amber: #e0a94a;
  --amber-2: #f5cf86;
  --amber-3: #a8701f;
  --sheen: linear-gradient(100deg, #9a6418 0%, #e6b25a 18%, #fff0c9 33%, #e9b35a 48%, #a8701f 64%, #f3c879 82%, #9a6418 100%);
  --f: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Consolas, monospace;
  --wrap: 1360px;
  --gutter: clamp(20px, 5vw, 64px);
  --edge: max(var(--gutter), calc((100vw - var(--wrap)) / 2));
  --r: 22px;
  --sec: clamp(96px, 13vw, 190px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--bg); }
html:not(.lenis) { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.6 var(--f); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip; }
body::after { content: ''; position: fixed; inset: 0; z-index: 200; pointer-events: none; opacity: 0.05; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a, button, summary { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
p, h1, h2, h3, figure, dl, dd, ol, ul { margin: 0; padding: 0; }
h1, h2, h3 { font-weight: inherit; }
ol, ul { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
code { font-family: var(--mono); }
::selection { background: var(--amber); color: #120c03; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: fixed; left: 12px; top: -80px; z-index: 300; padding: 12px 18px; border-radius: 999px; background: var(--amber); color: #120c03; font-weight: 600; transition: top 0.2s; }
.skip:focus { top: 12px; }

/* Type */
.h1, .h2, .hero-title { font-family: var(--f); font-stretch: 112%; font-weight: 600; letter-spacing: -0.035em; line-height: 1.02; overflow-wrap: break-word; text-wrap: balance; }
.h1 { font-size: clamp(2.6rem, 6.4vw, 7rem); }
.h2 { font-size: clamp(2.1rem, 3.7vw, 4.9rem); }
.sheen { background: var(--sheen); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; animation: sheen 9s linear infinite; }
@keyframes sheen { to { background-position: -220% 0; } }
.tag { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 26px; font: 500 12px/1 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--amber-2); }
.tag::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 14px var(--amber); }
.i { width: 1.15em; height: 1.15em; flex: none; }
.i-back { transform: rotate(180deg); }

/* Buttons */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: clamp(52px, 3.7vw, 64px); padding: 0 clamp(22px, 2vw, 34px); border-radius: 999px; border: 1px solid transparent; font: 600 clamp(15px, 1.05vw, 17px)/1 var(--f); letter-spacing: 0.01em; white-space: nowrap; transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), background-position 0.8s var(--ease), border-color 0.3s, background-color 0.3s; }
.btn .i { transition: transform 0.5s var(--ease); }
.btn:hover .i { transform: translateX(3px); }
.btn:hover .i-back { transform: rotate(180deg) translateX(3px); }
.btn:active { transform: scale(0.98); }
.btn-amber { background: var(--sheen); background-size: 200% 100%; color: #160e03; box-shadow: 0 0 0 1px rgba(255, 230, 170, 0.35) inset, 0 14px 40px -16px rgba(224, 169, 74, 0.75); }
.btn-amber:hover { background-position: 100% 0; box-shadow: 0 0 0 1px rgba(255, 230, 170, 0.5) inset, 0 18px 50px -14px rgba(224, 169, 74, 0.9); }
.btn-ghost { background: rgba(255, 255, 255, 0.04); border-color: var(--line-2); color: var(--text); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.btn-ghost:hover { border-color: rgba(224, 169, 74, 0.6); background: rgba(224, 169, 74, 0.08); }
.btn-sm { min-height: clamp(42px, 2.9vw, 48px); padding: 0 clamp(16px, 1.3vw, 22px); font-size: clamp(14px, 0.95vw, 15.5px); }
.btn-block { width: 100%; }
.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--amber-2); }
.link .i { transition: transform 0.5s var(--ease); }
.link:hover .i { transform: translateX(4px); }

/* Contract address pill */
.ca { display: inline-flex; align-items: center; gap: 12px; max-width: 100%; min-height: clamp(48px, 3.4vw, 56px); padding: 6px 6px 6px 20px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(10, 10, 11, 0.55); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); font: 400 clamp(13.5px, 0.95vw, 15px)/1 var(--mono); }
.ca-label { flex: none; font: 500 13px/1 var(--f); color: var(--amber-2); }
.ca-value { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text); }
.ca .ca-short { display: none; }
.ca.is-pending { padding-right: 20px; }
.ca.is-pending .ca-value { color: var(--muted); }
.ca-copy { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 16px; border-radius: 999px; background: rgba(224, 169, 74, 0.14); color: var(--amber-2); font: 600 13px/1 var(--f); transition: background 0.3s; }
.ca-copy:hover { background: rgba(224, 169, 74, 0.26); }
.ca-copy.is-done { background: rgba(120, 200, 140, 0.18); color: #a6e3b4; }
@media (max-width: 720px) { .ca .ca-full { display: none; } .ca .ca-short { display: inline; } }

/* Cursor spotlight on cards */
[data-spot] { position: relative; isolation: isolate; }
[data-spot]::after { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(224, 169, 74, 0.13), transparent 60%); opacity: 0; transition: opacity 0.5s; pointer-events: none; }
[data-spot]:hover::after { opacity: 1; }

/* Reveal */
.js [data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity 1.1s var(--ease) var(--d, 0ms), transform 1.1s var(--ease) var(--d, 0ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* Toast */
.toast { position: fixed; left: 50%; bottom: max(20px, env(safe-area-inset-bottom)); z-index: 150; transform: translate(-50%, 24px); max-width: calc(100% - 32px); padding: 14px 20px; border-radius: 999px; background: rgba(20, 20, 21, 0.92); border: 1px solid rgba(224, 169, 74, 0.4); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); font-size: 14px; text-align: center; opacity: 0; pointer-events: none; transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* Floating header, mobile menu, page frame and footer. */
:root { --frame: clamp(8px, 0.9vw, 16px); --panel-max: 1760px; --hdr-h: clamp(62px, 4.6vw, 78px); --hdr-top: clamp(8px, 0.9vw, 16px); }
main { display: flex; flex-direction: column; gap: var(--frame); padding: calc(var(--hdr-top) + var(--hdr-h) + var(--frame)) var(--frame) var(--frame); }

/* Header */
.hdr { position: fixed; z-index: 80; top: max(var(--hdr-top), env(safe-area-inset-top)); left: 50%; width: min(var(--panel-max), calc(100% - 2 * var(--frame))); transform: translateX(-50%); transition: transform 0.6s var(--ease); }
.hdr.is-hidden { transform: translate(-50%, calc(-100% - 24px)); }
.hdr-pill { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: var(--hdr-h); padding: 0 clamp(8px, 0.8vw, 12px) 0 clamp(14px, 1.4vw, 24px); border-radius: 999px; border: 1px solid var(--line); background: rgba(16, 16, 17, 0.62); -webkit-backdrop-filter: blur(20px) saturate(1.4); backdrop-filter: blur(20px) saturate(1.4); box-shadow: 0 20px 50px -30px rgba(0, 0, 0, 0.9); transition: background 0.4s; }
.hdr.is-scrolled .hdr-pill { background: rgba(12, 12, 13, 0.86); }
.hdr-brand { display: inline-flex; align-items: center; flex: none; }
/* Brand lockup */
.lockup { display: inline-flex; align-items: center; gap: 14px; }
.lockup-logo { width: auto; height: clamp(30px, 2.3vw, 40px); filter: drop-shadow(0 4px 16px rgba(224, 169, 74, 0.22)); }
.lockup-sub { padding-left: 14px; border-left: 1px solid var(--line-2); font: 500 clamp(11px, 0.75vw, 12.5px)/1.25 var(--f); letter-spacing: 0.01em; color: var(--muted); white-space: nowrap; }
.lockup-lg .lockup-logo { height: 52px; }
.lockup-lg .lockup-sub { font-size: 13.5px; }
.hdr-nav { display: flex; align-items: center; gap: 4px; }
.hdr-nav a { position: relative; padding: 11px clamp(10px, 1vw, 18px); border-radius: 999px; font: 500 clamp(14px, 1vw, 16px)/1 var(--f); color: var(--muted); transition: color 0.3s, background 0.3s; }
.hdr-nav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.hdr-nav a.is-active { color: var(--text); }
.hdr-nav a.is-active::after { content: ''; position: absolute; left: 50%; bottom: 3px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 8px var(--amber); }
.hdr-end { display: flex; align-items: center; gap: 8px; }
.hdr-menu { display: none; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.04); }
.hdr-menu .i { width: 20px; height: 20px; }

/* Mobile menu */
.menu { position: fixed; inset: 0; z-index: 120; background: rgba(6, 6, 7, 0.9); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); overflow-y: auto; }
.menu-in { display: flex; flex-direction: column; min-height: 100%; padding: var(--hdr-top) calc(var(--frame) + 10px) max(24px, env(safe-area-inset-bottom)); }
.menu-top { display: flex; align-items: center; justify-content: space-between; height: var(--hdr-h); padding-left: 12px; }
.menu-top .hdr-menu { display: grid; }
.menu-nav { display: flex; flex-direction: column; padding: 28px 12px; }
.menu-nav a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); font: 600 clamp(1.9rem, 8vw, 2.6rem)/1.1 var(--f); font-stretch: 112%; letter-spacing: -0.03em; opacity: 0; transform: translateY(16px); }
.menu:not([hidden]) .menu-nav a { animation: menu-in 0.7s var(--ease) calc(var(--i) * 60ms + 80ms) forwards; }
.menu-nav a .i { width: 22px; height: 22px; color: var(--amber-2); }
@keyframes menu-in { to { opacity: 1; transform: none; } }
.menu-foot { margin-top: auto; display: flex; flex-direction: column; gap: 12px; padding: 0 12px; }
.menu-foot .ca { width: 100%; }

@media (max-width: 1080px) {
  .hdr-nav { display: none; }
  .hdr-menu { display: grid; }
}
@media (max-width: 560px) {
  :root { --frame: 8px; --hdr-h: 58px; --hdr-top: 8px; }
  .hdr-pill { padding: 0 7px 0 18px; }
  .lockup-sub { display: none; }
  .hdr-end .btn-sm { min-height: 40px; padding: 0 14px; font-size: 13px; }
  .hdr-end .btn-sm .i { display: none; }
}

/* Footer */
.ftr { padding: clamp(56px, 7vw, 88px) var(--frame) 28px; }
.ftr .wrap { max-width: var(--panel-max); padding: 0 clamp(14px, 4vw, 56px); }
.ftr-top { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 2.1fr); gap: 48px; padding-bottom: 48px; }
.ftr-brand p { margin-top: 18px; font-size: 14.5px; line-height: 1.6; color: var(--muted); }
.ftr-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.ftr-cols > div { display: flex; flex-direction: column; align-items: flex-start; gap: 11px; }
.ftr-h { margin-bottom: 6px; font: 600 15px/1 var(--f); color: var(--text); }
.ftr-cols a, .ftr-soon { display: inline-flex; align-items: center; gap: 8px; font-size: 15.5px; color: var(--muted); transition: color 0.3s; }
.ftr-cols a:hover { color: var(--text); }
.ftr-cols .i { width: 14px; height: 14px; }
.ftr-soon { color: var(--dim); }
.ftr-soon small { padding: 3px 8px; border-radius: 999px; border: 1px dashed rgba(224, 169, 74, 0.4); font: 500 11px/1 var(--f); color: var(--amber); }
.ftr-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; padding-top: 22px; border-top: 1px solid var(--line); font: 400 14px/1.4 var(--f); color: var(--dim); }
.ftr-bottom a { color: var(--muted); }
.ftr-bottom a:hover { color: var(--text); }
.ftr-net { display: inline-flex; align-items: center; gap: 8px; }
.ftr-legal { margin-top: 18px; max-width: 130ch; font-size: 13px; line-height: 1.7; color: var(--dim); }
@media (max-width: 900px) {
  .ftr-top { grid-template-columns: 1fr; gap: 36px; }
  .ftr-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
}

/* Sections: every block is a rounded panel inside the page frame. Mobile first, then wider screens. */
.panel { position: relative; width: 100%; max-width: var(--panel-max); margin: 0 auto; padding: clamp(24px, 4.6vw, 96px); border-radius: clamp(20px, 2.4vw, 30px); border: 1px solid var(--line); background: linear-gradient(180deg, #101011 0%, #0c0c0d 100%); overflow: hidden; isolation: isolate; }
.sec-top { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); align-items: end; gap: 24px 48px; margin-bottom: clamp(32px, 4vw, 56px); }
.sec-lead { font-size: clamp(16px, 1.2vw, 20px); line-height: 1.6; color: var(--muted); max-width: 42ch; }
.sec-top .sec-lead { justify-self: end; }
.h2 + .sec-lead, .tag + .h2 { margin-top: 0; }
.banner .sec-lead, .token-info .sec-lead, .faq .sec-lead { margin-top: 22px; }

/* Countdown band */
.band { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 20px clamp(24px, 3vw, 56px); padding-top: clamp(18px, 1.6vw, 26px); padding-bottom: clamp(18px, 1.6vw, 26px); background: radial-gradient(60% 140% at 0% 50%, rgba(224, 169, 74, 0.14), transparent 60%), linear-gradient(90deg, #15110a, #0e0e0f 55%); }
.band-l { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-width: 0; }
.band-ico { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(224, 169, 74, 0.45); color: var(--amber-2); }
.band-ico .i { width: 22px; height: 22px; }
.band-k { font-size: clamp(14px, 0.95vw, 15.5px); color: var(--muted); }
.band-date { margin-top: 4px; font: 600 clamp(1.2rem, 1.7vw, 1.75rem)/1.1 var(--f); font-stretch: 110%; letter-spacing: -0.02em; }
.countdown { display: flex; gap: clamp(16px, 2.6vw, 48px); }
.cd { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 56px; }
.cd b { font: 600 clamp(1.8rem, 2.6vw, 3rem)/1 var(--f); font-stretch: 110%; font-variant-numeric: tabular-nums; }
.cd small { font-size: 12.5px; color: var(--muted); }

/* Hero */
.hero { display: flex; flex-direction: column; justify-content: center; gap: 40px; min-height: max(640px, calc(100svh - var(--hdr-top) - var(--hdr-h) - 2 * var(--frame))); background: #050505; }
.hero-bg { position: absolute; inset: -6% 0 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 78% 40%; animation: hero-in 2.6s var(--ease) both; }
@keyframes hero-in { from { transform: scale(1.12); opacity: 0; } to { transform: none; opacity: 1; } }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(5, 5, 5, 0.92) 0%, rgba(5, 5, 5, 0.65) 38%, rgba(5, 5, 5, 0) 66%), linear-gradient(0deg, rgba(5, 5, 5, 0.85) 0%, rgba(5, 5, 5, 0) 30%); }
.hero-in { max-width: 1100px; }
.hero-in .ca { margin-top: 22px; }
.hero-sub, .hero-cta { max-width: 760px; }
.hero-title { font-size: clamp(2.35rem, 5vw, 6.6rem); margin-bottom: clamp(22px, 2vw, 34px); }
.hero-title .ln { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.hero-title .ln > span { display: inline-block; transform: translateY(110%); animation: rise 1.3s var(--ease) var(--d, 0s) forwards; }
@keyframes rise { to { transform: none; } }
.hero-anim { opacity: 0; transform: translateY(18px); animation: fade-up 1.2s var(--ease) var(--d, 0s) forwards; }
@keyframes fade-up { to { opacity: 1; transform: none; } }
.hero-sub { max-width: 46ch; font-size: clamp(16px, 1.35vw, 22px); line-height: 1.6; color: rgba(243, 239, 232, 0.78); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

@media (min-width: 721px) { .hero-bg { left: 30%; right: -6%; } }

/* Buy bar */
.buybar { display: grid; grid-template-columns: minmax(0, 0.32fr) minmax(0, 1fr); align-items: center; gap: 24px 40px; padding-top: 28px; padding-bottom: 28px; }
.bb-title { font: 600 clamp(1.7rem, 2.4vw, 2.8rem)/1 var(--f); font-stretch: 112%; letter-spacing: -0.03em; }
.bb-head p { margin-top: 10px; color: var(--muted); font-size: clamp(15px, 1.1vw, 18px); }
.bb-main { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.bb-ca { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.bb-note { font-size: 14px; line-height: 1.45; color: var(--dim); }
.pf-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.pf { display: flex; align-items: center; gap: 12px; min-height: clamp(62px, 4.4vw, 76px); padding: 8px 20px 8px 8px; border-radius: 999px; border: 1px solid var(--line-2); background: #151516; font: 600 clamp(15px, 1.1vw, 18px)/1.2 var(--f); color: var(--text); transition: transform 0.5s var(--ease), border-color 0.3s, background 0.3s; }
a.pf:hover { transform: translateY(-2px); border-color: rgba(224, 169, 74, 0.6); background: #1a1916; }
.pf-ico { display: grid; place-items: center; flex: none; width: clamp(46px, 3.3vw, 58px); height: clamp(46px, 3.3vw, 58px); border-radius: 50%; }
.pf-logo { width: 46%; height: auto; }
.pf-coinbase .pf-ico { background: #fff; }
.pf-phantom .pf-ico { background: #ab9ff2; }
.pf-phantom .pf-logo { width: 50%; }
.pf-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pf-go { margin-left: auto; flex: none; display: inline-flex; align-items: center; color: var(--amber-2); }

/* Ecosystem logos */
.eco { padding-top: clamp(22px, 2vw, 34px); padding-bottom: clamp(22px, 2vw, 34px); }
.eco-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 24px; margin-bottom: clamp(18px, 1.8vw, 28px); }
.eco-head p { font: 600 clamp(15px, 1.1vw, 18px)/1.2 var(--f); }
.eco-head span { font-size: 13px; color: var(--dim); }
.eco-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.eco-track { display: flex; width: max-content; animation: eco 36s linear infinite; }
.eco-marquee:hover .eco-track { animation-play-state: paused; }
@keyframes eco { to { transform: translateX(-50%); } }
.eco-item { display: flex; align-items: center; gap: 12px; height: clamp(44px, 3.4vw, 56px); padding: 0 clamp(28px, 3.4vw, 64px); font: 600 clamp(20px, 1.6vw, 26px)/1 var(--f); font-stretch: 105%; letter-spacing: -0.02em; color: #d8d3ca; opacity: 0.72; transition: opacity 0.3s; }
.eco-item:hover { opacity: 1; }
.eco-item img { width: auto; height: clamp(22px, 1.7vw, 28px); filter: grayscale(1) brightness(1.6); }
.eco-item .eco-word { height: clamp(20px, 1.5vw, 26px); filter: brightness(0) invert(0.88); }

/* About: three cards */
.cards3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.card { display: flex; flex-direction: column; padding: clamp(22px, 2.2vw, 30px); border-radius: 22px; border: 1px solid var(--line); background: #141415; }
.card-eb { font: 500 11px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber-2); }
.card h3 { margin: 0 0 14px; font: 600 clamp(1.5rem, 2vw, 2.4rem)/1.06 var(--f); font-stretch: 110%; letter-spacing: -0.03em; }
.card > p { font-size: clamp(15px, 1.05vw, 17.5px); line-height: 1.6; color: var(--muted); }
.card-media { position: relative; margin-top: 24px; aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; background: #0b0b0c; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.card:hover .card-media img { transform: scale(1.05); }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); font: 600 clamp(14.5px, 1vw, 16px)/1.3 var(--f); color: var(--text); transition: color 0.3s; }
.card-foot .i { color: var(--amber-2); transition: transform 0.5s var(--ease); }
.card-foot:hover { color: var(--amber-2); }
.card-foot:hover .i { transform: translateX(4px); }

/* Reserve tank illustration */
.card-tank { display: grid; place-items: center; background: radial-gradient(70% 60% at 50% 60%, rgba(224, 169, 74, 0.14), transparent 70%), #0b0b0c; }
.tank { position: relative; width: 42%; height: 76%; border-radius: 22px 22px 16px 16px; border: 1.5px solid rgba(245, 207, 134, 0.45); background: rgba(255, 255, 255, 0.02); overflow: hidden; box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.6); }
.tank-fill { position: absolute; left: 0; right: 0; bottom: 0; height: var(--lvl, 12%); background: linear-gradient(180deg, #f0c36a 0%, #b5781f 45%, #4a2e08 100%); transition: height 2.8s var(--ease); }
.wave { position: absolute; left: 50%; top: 0; width: 300%; aspect-ratio: 1; border-radius: 43%; background: #0e0e0f; transform: translate(-50%, -99%) rotate(0deg); animation: wave 9s linear infinite; }
.wave-2 { border-radius: 40%; opacity: 0.5; animation-duration: 13s; }
@keyframes wave { to { transform: translate(-50%, -99%) rotate(360deg); } }
.tank-ticks { position: absolute; right: 8px; top: 12%; bottom: 12%; display: flex; flex-direction: column; justify-content: space-between; }
.tank-ticks i { display: block; width: 8px; height: 1px; background: rgba(245, 207, 134, 0.5); }

/* Network illustration */
.card-net { display: grid; place-items: center; background: radial-gradient(60% 60% at 50% 50%, rgba(224, 169, 74, 0.1), transparent 70%), #0b0b0c; }
.net-ring { position: absolute; left: 50%; top: 50%; border-radius: 50%; border: 1px solid rgba(245, 207, 134, 0.22); transform: translate(-50%, -50%); animation: ring 4.5s var(--ease) infinite; }
.r1 { width: 34%; aspect-ratio: 1; }
.r2 { width: 56%; aspect-ratio: 1; animation-delay: 0.6s; }
.r3 { width: 78%; aspect-ratio: 1; animation-delay: 1.2s; }
@keyframes ring { 0%, 100% { opacity: 0.35; } 50% { opacity: 1; } }
.net-core { position: relative; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; border: 1px solid rgba(245, 207, 134, 0.6); background: #121212; box-shadow: 0 0 40px rgba(224, 169, 74, 0.35); color: var(--text); }
.net-core .i { width: 28px; height: 28px; }
.net-dot { position: absolute; left: 50%; top: 50%; width: 7px; height: 7px; margin: -3.5px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 10px var(--amber); transform: rotate(var(--a)) translateX(min(118px, 28vw)); animation: orbit 14s linear infinite; animation-delay: calc(var(--d) * -1); }
@keyframes orbit { to { transform: rotate(calc(var(--a) + 360deg)) translateX(min(118px, 28vw)); } }

/* Banner */
.banner { display: flex; align-items: flex-end; min-height: clamp(520px, 72svh, 760px); background: #050505; }
.banner-bg { position: absolute; inset: -8% 0; z-index: -2; }
.banner-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.banner::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(5, 5, 5, 0.85) 0%, rgba(5, 5, 5, 0.3) 55%, rgba(5, 5, 5, 0) 80%), linear-gradient(0deg, rgba(5, 5, 5, 0.7), rgba(5, 5, 5, 0) 50%); }
.banner-in { max-width: 560px; }
.banner-in .btn { margin-top: 30px; }
.banner-cap { position: absolute; right: clamp(24px, 5vw, 64px); bottom: clamp(24px, 4vw, 40px); font: 400 11px/1.3 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); }

/* Journey: native horizontal swipe by default, pinned horizontal scroll on large screens */
.journey { position: relative; }
.jr-pin { display: flex; flex-direction: column; gap: clamp(24px, 3vw, 40px); }
.jr-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.jr-ctrl { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; min-width: 180px; }
.jr-count { font: 500 15px/1 var(--f); color: var(--muted); font-variant-numeric: tabular-nums; }
.jr-count b { font-weight: 500; color: var(--amber-2); }
.jr-bar { position: relative; display: block; width: 100%; height: 2px; border-radius: 2px; background: var(--line-2); overflow: hidden; }
.jr-bar i { position: absolute; inset: 0 auto 0 0; width: var(--p, 0%); background: linear-gradient(90deg, var(--amber-3), var(--amber-2)); box-shadow: 0 0 12px var(--amber); }
.jr-viewport { margin: 0 calc(-1 * clamp(24px, 5vw, 64px)); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; }
.jr-viewport::-webkit-scrollbar { display: none; }
.jr-track { display: flex; gap: 12px; width: max-content; padding: 0 clamp(24px, 5vw, 64px); }
.jr-card { position: relative; flex: none; width: min(82vw, 560px); aspect-ratio: 4 / 5; border-radius: 22px; overflow: hidden; background: #141415; border: 1px solid var(--line); scroll-snap-align: center; }
.jr-img, .jr-img img { position: absolute; inset: 0; width: 100%; height: 100%; }
.jr-img img { object-fit: cover; transform: scale(1.08); transition: transform 1.6s var(--ease); }
.jr-card:hover .jr-img img { transform: scale(1.02); }
.jr-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5, 5, 5, 0.92) 0%, rgba(5, 5, 5, 0.2) 45%, rgba(5, 5, 5, 0) 70%); pointer-events: none; }
.jr-text { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: clamp(22px, 2.6vw, 34px); }
.jr-no { position: absolute; z-index: 1; top: clamp(18px, 2vw, 30px); left: clamp(20px, 2.4vw, 34px); font: 700 clamp(2.4rem, 3.6vw, 4rem)/1 var(--f); font-stretch: 125%; color: transparent; -webkit-text-stroke: 1px rgba(245, 207, 134, 0.7); }
.jr-mark { width: clamp(84px, 7vw, 120px); height: auto; margin-bottom: 26px; filter: drop-shadow(0 10px 30px rgba(224, 169, 74, 0.35)); }
.jr-text h3, .jr-end h3 { font: 600 clamp(1.9rem, 3.4vw, 3rem)/1 var(--f); font-stretch: 112%; letter-spacing: -0.035em; margin-bottom: 10px; }
.jr-text p, .jr-end p { max-width: 30ch; font-size: clamp(15px, 1.05vw, 17.5px); line-height: 1.5; color: rgba(243, 239, 232, 0.75); }
.jr-end { display: grid; place-items: center; background: radial-gradient(80% 70% at 50% 40%, rgba(224, 169, 74, 0.22), transparent 70%), #121110; text-align: center; }
.jr-end::after { display: none; }
.jr-end-in { display: flex; flex-direction: column; align-items: center; padding: 32px; }
.jr-end h3 { font-size: clamp(2.6rem, 5vw, 4.4rem); }
.jr-end .btn { margin-top: 26px; }
.journey.is-pinned .jr-pin { position: sticky; top: calc(var(--hdr-top) + var(--hdr-h) + var(--frame)); height: calc(100svh - var(--hdr-top) - var(--hdr-h) - 2 * var(--frame)); }
.journey.is-pinned .jr-viewport { flex: 1; min-height: 0; overflow: hidden; scroll-snap-type: none; }
.journey.is-pinned .jr-track { height: 100%; will-change: transform; }
.journey.is-pinned .jr-card { width: auto; height: 100%; aspect-ratio: 0.82; }

/* Token */
.token { padding-top: clamp(32px, 5vw, 72px); padding-bottom: clamp(32px, 5vw, 72px); }
.token-bg { position: absolute; inset: 0; z-index: -1; opacity: 0.32; -webkit-mask-image: linear-gradient(90deg, transparent 20%, #000 75%); mask-image: linear-gradient(90deg, transparent 20%, #000 75%); }
.token-bg img { width: 100%; height: 100%; object-fit: cover; }
.token-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); align-items: center; gap: 32px 56px; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 34px 0 14px; }
.stat { padding: clamp(16px, 1.3vw, 22px) clamp(18px, 1.5vw, 24px); border-radius: 16px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.025); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.stat dt { margin-bottom: 10px; font-size: clamp(13px, 0.9vw, 14.5px); color: var(--muted); }
.stat dd { display: flex; align-items: center; gap: 8px; min-height: 28px; font: 600 clamp(18px, 1.4vw, 24px)/1.2 var(--f); font-stretch: 105%; }
.stat .i { width: 18px; height: 18px; color: var(--amber-2); }
.tba { display: inline-flex; padding: 6px 11px; border-radius: 999px; border: 1px dashed rgba(224, 169, 74, 0.45); font: 600 13px/1 var(--f); color: var(--amber); }
.ca-token { display: flex; width: 100%; border-radius: 16px; }
.note { margin-top: 14px; font-size: 14px; line-height: 1.5; color: var(--dim); }

/* The coin */
.coin-stage { position: relative; display: grid; place-items: center; min-height: clamp(340px, 42vw, 560px); perspective: 1400px; }
.coin-glow { position: absolute; inset: 10%; border-radius: 50%; background: radial-gradient(circle, rgba(224, 169, 74, 0.34), rgba(224, 169, 74, 0) 65%); filter: blur(10px); }
.coin { --size: min(clamp(300px, 30vw, 540px), 72vw); position: relative; width: var(--size); height: var(--size); transform-style: preserve-3d; transform: translateY(var(--fy, 0px)) rotateX(var(--rx, 8deg)) rotateY(var(--ry, -18deg)); will-change: transform; }
.coin-face { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.coin-face img { width: 100%; height: 100%; }
.coin-front { transform: translateZ(7px); box-shadow: inset 0 0 0 2px rgba(255, 230, 170, 0.35); }
.coin-back { display: grid; place-items: center; transform: rotateY(180deg) translateZ(7px); background: radial-gradient(circle at 35% 30%, #1d1b17, #090909 70%); box-shadow: inset 0 0 0 10px #b98a3c, inset 0 0 0 12px #6d4b17, inset 0 0 0 28px #0b0b0b, inset 0 0 0 29px rgba(230, 190, 110, 0.55); }
.coin-back img { width: 58%; height: auto; }
.coin-edge i { position: absolute; inset: 0; border-radius: 50%; background: linear-gradient(90deg, #5c3e12, #e2b764 25%, #8a6224 50%, #f0cd85 75%, #5c3e12); transform: translateZ(calc(var(--z) * 1px)); }
.coin-shadow { position: absolute; bottom: 4%; width: 54%; height: 26px; border-radius: 50%; background: radial-gradient(ellipse, rgba(0, 0, 0, 0.8), transparent 70%); filter: blur(8px); }

/* How to buy */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 12px; }
.step { padding: clamp(20px, 2vw, 26px); border-radius: 22px; border: 1px solid var(--line); background: #141415; }
.step-top { display: flex; align-items: center; justify-content: space-between; }
.step-ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: rgba(224, 169, 74, 0.12); color: var(--amber-2); }
.step-no { font: 700 clamp(30px, 2.6vw, 44px)/1 var(--f); font-stretch: 125%; color: transparent; -webkit-text-stroke: 1px rgba(245, 207, 134, 0.5); }
.step h3 { margin: 28px 0 8px; font: 600 clamp(19px, 1.45vw, 24px)/1.2 var(--f); font-stretch: 108%; letter-spacing: -0.02em; }
.step p { font-size: clamp(15px, 1.05vw, 17px); line-height: 1.55; color: var(--muted); }

/* Roadmap */
.rm-list { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; padding-top: 34px; }
.rm-rail { position: absolute; left: 0; right: 0; top: 7px; height: 2px; border-radius: 2px; background: var(--line-2); overflow: hidden; }
.rm-rail i { position: absolute; inset: 0 auto 0 0; width: var(--fill, 0%); background: linear-gradient(90deg, var(--amber-3), var(--amber-2)); box-shadow: 0 0 12px var(--amber); }
.rm { position: relative; padding: clamp(20px, 1.8vw, 30px); border-radius: 20px; border: 1px solid var(--line); background: #141415; }
.rm-node { position: absolute; top: -34px; left: clamp(20px, 1.8vw, 30px); width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--line-2); background: #0d0d0e; }
.rm.is-now .rm-node { border-color: var(--amber); background: var(--amber); box-shadow: 0 0 0 6px rgba(224, 169, 74, 0.16), 0 0 16px var(--amber); }
.rm-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; font: 500 13.5px/1 var(--f); color: var(--muted); }
.rm-n { font: 700 clamp(26px, 2.2vw, 36px)/1 var(--f); font-stretch: 125%; color: transparent; -webkit-text-stroke: 1px rgba(245, 207, 134, 0.6); }
.rm-status { padding: 6px 11px; border-radius: 999px; border: 1px solid var(--line-2); }
.rm.is-now .rm-status { border-color: rgba(224, 169, 74, 0.6); color: var(--amber-2); }
.rm h3 { margin: 22px 0 8px; font: 600 clamp(1.4rem, 2vw, 2.3rem)/1.1 var(--f); font-stretch: 110%; letter-spacing: -0.03em; }
.rm p { font-size: clamp(15px, 1.05vw, 17px); line-height: 1.55; color: var(--muted); }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 32px 64px; }
.faq-list { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: clamp(20px, 1.7vw, 28px) 0; cursor: pointer; list-style: none; font: 500 clamp(16.5px, 1.3vw, 21px)/1.4 var(--f); transition: color 0.3s; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--amber-2); }
.qa-ico { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-2); transition: transform 0.5s var(--ease), border-color 0.3s, background 0.3s; }
.qa-ico .i { width: 16px; height: 16px; }
.qa[open] .qa-ico { transform: rotate(45deg); border-color: rgba(224, 169, 74, 0.6); background: rgba(224, 169, 74, 0.1); }
.qa-body { overflow: hidden; }
.qa-body p { padding: 0 52px 26px 0; font-size: clamp(15.5px, 1.1vw, 18px); line-height: 1.65; color: var(--muted); max-width: 62ch; }

/* Final call to action */
.cta { min-height: clamp(380px, 46vw, 520px); display: flex; align-items: flex-end; background: #050505; }
.cta-bg { position: absolute; inset: 0; z-index: -1; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.75; }
.cta::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(5, 5, 5, 0.9) 0%, rgba(5, 5, 5, 0.4) 60%, rgba(5, 5, 5, 0.2) 100%); }
.cta-in { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); align-items: end; gap: 28px 48px; width: 100%; }
.cta-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }

/* Legal page and 404 */
.page-head { min-height: clamp(380px, 52svh, 560px); display: flex; align-items: flex-end; }
.page-head .wrap, .legal .wrap { padding: 0; max-width: none; }
.page-sub { margin-top: 24px; max-width: 48ch; font-size: clamp(16px, 1.3vw, 18px); color: var(--muted); }
.page-404 { min-height: calc(100svh - var(--hdr-top) - var(--hdr-h) - 2 * var(--frame)); }
.legal-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.legal-item { padding: clamp(22px, 2.4vw, 32px); border-radius: 22px; border: 1px solid var(--line); background: #141415; }
.legal-no { font: 500 12px/1 var(--mono); color: var(--amber-2); }
.legal-item h2 { margin: 18px 0 10px; font: 600 20px/1.2 var(--f); font-stretch: 108%; letter-spacing: -0.02em; }
.legal-item p { font-size: 15px; line-height: 1.7; color: var(--muted); }
.legal-back { margin-top: 24px; }

/* Tablet */
@media (max-width: 1080px) {
  .band { grid-template-columns: 1fr auto; }
  .band-btn { display: none; }
  .cards3 { grid-template-columns: 1fr 1fr; }
  .cards3 .card:last-child { grid-column: 1 / -1; }
  .cards3 .card:last-child .card-media { aspect-ratio: 16 / 7; }
  .steps, .rm-list { grid-template-columns: 1fr 1fr; }
  .rm-rail, .rm-node { display: none; }
  .rm-list { padding-top: 0; }
  .buybar { grid-template-columns: 1fr; }
  .token-grid { grid-template-columns: 1fr; }
  .coin-stage { order: -1; }
  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Phone */
@media (max-width: 720px) {
  .sec-top { grid-template-columns: 1fr; }
  .sec-top .sec-lead { justify-self: start; }
  .hero { min-height: calc(100svh - var(--hdr-top) - var(--hdr-h) - 2 * var(--frame)); gap: 28px; }
  .hero-bg img { object-position: 72% 30%; }
  .hero::before { background: linear-gradient(0deg, rgba(5, 5, 5, 0.96) 0%, rgba(5, 5, 5, 0.86) 42%, rgba(5, 5, 5, 0.15) 72%, rgba(5, 5, 5, 0) 100%); }
  .hero-cta .btn { flex: 1 1 auto; }
  .hero-foot { font-size: 13px; }
  .hf-right { display: none; }
  .pf-row { grid-template-columns: 1fr; }
  .bb-ca .ca { width: 100%; }
  .cards3, .steps, .rm-list, .legal-grid { grid-template-columns: 1fr; }
  .band { grid-template-columns: 1fr; }
  .countdown { justify-content: space-between; }
  .cd { min-width: 0; }
  .step { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 4px 16px; }
  .step-top { grid-row: span 2; flex-direction: column; gap: 10px; }
  .step-no { font-size: 24px; }
  .step h3 { margin: 4px 0 2px; }
  .eco-head span { display: none; }
  .cards3 .card:last-child .card-media { aspect-ratio: 4 / 3; }
  .jr-head { flex-direction: column; align-items: flex-start; }
  .jr-ctrl { width: 100%; align-items: stretch; flex-direction: row-reverse; justify-content: space-between; align-items: center; }
  .jr-ctrl .jr-bar { flex: 1; margin-right: 16px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .faq-grid, .cta-in { grid-template-columns: 1fr; }
  .cta-actions { align-items: stretch; }
  .cta-actions .btn { width: 100%; }
  .qa-body p { padding-right: 0; }
  .banner { min-height: 560px; }
  .banner-bg img { object-position: 70% 50%; }
  .banner::before { background: linear-gradient(0deg, rgba(5, 5, 5, 0.95) 0%, rgba(5, 5, 5, 0.55) 55%, rgba(5, 5, 5, 0.1) 100%); }
  .banner-cap { display: none; }
}

/* Inner pages and the blocks they share. */
.hdr-nav a[aria-current='page'] { color: var(--text); }
.hdr-nav a[aria-current='page']::after { content: ''; position: absolute; left: 50%; bottom: 3px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 8px var(--amber); }
.menu-nav a[aria-current='page'] { color: var(--amber-2); }
.panel-foot { display: flex; justify-content: flex-end; margin-top: 24px; }
.sec-top .sec-link { justify-self: end; }
.token-more { margin-top: 22px; }

/* Countdown band background */
.band-bg { position: absolute; inset: 0 0 0 40%; z-index: -1; opacity: 0.55; -webkit-mask-image: linear-gradient(90deg, transparent, #000 45%); mask-image: linear-gradient(90deg, transparent, #000 45%); }
.band-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.band::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(12, 11, 9, 0.2), rgba(12, 11, 9, 0.55)); pointer-events: none; }
.band .cd b { text-shadow: 0 2px 20px rgba(0, 0, 0, 0.6); }
.band-k { font: 600 clamp(14px, 1vw, 16px)/1.2 var(--f); color: var(--amber-2); }
.band-sub { font-size: 13px; color: var(--muted); }

/* Ecosystem app icons */
.eco-item .eco-app { width: clamp(26px, 2vw, 32px); height: clamp(26px, 2vw, 32px); border-radius: 8px; filter: grayscale(1) brightness(1.3); }

/* Inner page intro */
.intro { display: flex; align-items: flex-end; min-height: clamp(460px, 62svh, 720px); background: #050505; }
.intro-bg { position: absolute; inset: -6% 0 0; z-index: -2; }
.intro-bg img { width: 100%; height: 100%; object-fit: cover; animation: hero-in 2.4s var(--ease) both; }
.intro::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(5, 5, 5, 0.9) 0%, rgba(5, 5, 5, 0.5) 45%, rgba(5, 5, 5, 0.1) 80%), linear-gradient(0deg, rgba(5, 5, 5, 0.85), rgba(5, 5, 5, 0) 55%); }
.intro-in { max-width: 1000px; }

/* Split panel: image and copy */
.split-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(28px, 5vw, 96px); }
.split-rev .split-fig { order: 2; }
.split-fig { border-radius: 22px; overflow: hidden; }
.split-fig img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.split-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }

/* Manifesto */
.manifesto { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px; min-height: clamp(420px, 56svh, 640px); text-align: center; background: #050505; }
.manifesto-bg { position: absolute; inset: 0; z-index: -1; opacity: 0.45; }
.manifesto-bg img { width: 100%; height: 100%; object-fit: cover; }
.manifesto-title { font: 600 clamp(2.6rem, 7vw, 7.5rem)/0.98 var(--f); font-stretch: 112%; letter-spacing: -0.04em; }
.manifesto .sec-lead { max-width: 52ch; margin: 0 auto; }

/* Small cards */
.cards4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.card.mini { gap: 0; }
.card.mini .step-ico { margin-bottom: 26px; }
.res-card { color: inherit; }
.res-card .card-media { margin: 0 0 22px; }
.res-cat { margin-bottom: 10px; font-size: 14px; font-weight: 600; color: var(--amber-2); }
.res-card h3 { margin-bottom: 10px; }
.res-card:hover h3 { color: var(--amber-2); }
.bm-n { font-size: clamp(2.6rem, 4.2vw, 4.4rem) !important; font-stretch: 125% !important; }

/* Explorer (oil stages) */
.ex-grid { display: grid; grid-template-columns: minmax(0, 0.38fr) minmax(0, 1fr); gap: 12px; }
.ex-tabs { display: flex; flex-direction: column; gap: 10px; }
.ex-tab { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; padding: clamp(18px, 1.6vw, 26px); border-radius: 18px; border: 1px solid var(--line); background: #141415; text-align: left; transition: border-color 0.3s, background 0.3s; }
.ex-tab:hover { border-color: var(--line-2); }
.ex-tab.is-active { border-color: rgba(224, 169, 74, 0.55); background: linear-gradient(90deg, rgba(224, 169, 74, 0.12), #141415 70%); }
.ex-no { font: 700 clamp(24px, 2vw, 32px)/1 var(--f); font-stretch: 125%; color: transparent; -webkit-text-stroke: 1px rgba(245, 207, 134, 0.65); }
.ex-t { font: 600 clamp(18px, 1.5vw, 24px)/1.1 var(--f); font-stretch: 108%; }
.ex-tab .i { color: var(--amber-2); opacity: 0; transform: translateX(-6px); transition: opacity 0.3s, transform 0.5s var(--ease); }
.ex-tab.is-active .i { opacity: 1; transform: none; }
.ex-stage { position: relative; min-height: clamp(380px, 38vw, 620px); border-radius: 22px; overflow: hidden; background: #0b0b0c; }
.ex-panel { position: absolute; inset: 0; }
.ex-panel.is-active { animation: ex-in 0.9s var(--ease) both; }
@keyframes ex-in { from { opacity: 0; transform: scale(1.03); } to { opacity: 1; transform: none; } }
.ex-img, .ex-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ex-panel::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5, 5, 5, 0.9), rgba(5, 5, 5, 0) 55%); }
.ex-copy { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: clamp(22px, 3vw, 44px); max-width: 640px; }
.ex-copy h3 { margin-bottom: 10px; font: 600 clamp(2rem, 3.4vw, 3.4rem)/1 var(--f); font-stretch: 112%; letter-spacing: -0.035em; }
.ex-copy p { font-size: clamp(15.5px, 1.15vw, 19px); line-height: 1.55; color: rgba(243, 239, 232, 0.8); }

/* Measures */
.measures { background: #050505; }
.measures-bg { position: absolute; inset: 0; z-index: -1; opacity: 0.35; }
.measures-bg img { width: 100%; height: 100%; object-fit: cover; }
.ms-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.ms { padding: clamp(22px, 2vw, 32px); border-radius: 22px; border: 1px solid var(--line); background: rgba(16, 16, 17, 0.7); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.ms dt { display: flex; flex-direction: column; gap: 12px; margin-bottom: 14px; }
.ms-n { font: 700 clamp(3rem, 5vw, 5.4rem)/0.9 var(--f); font-stretch: 112%; letter-spacing: -0.04em; background: var(--sheen); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.ms-u { font-weight: 600; color: var(--text); }
.ms dd { font-size: clamp(14.5px, 1vw, 16px); line-height: 1.5; color: var(--muted); }

/* Guide (how to buy) */
.guide { display: grid; gap: 12px; }
.guide-step { display: grid; grid-template-columns: auto auto minmax(0, 1fr); align-items: start; gap: clamp(16px, 2vw, 32px); padding: clamp(22px, 2.4vw, 36px); border-radius: 22px; border: 1px solid var(--line); background: #141415; }
.guide-no { font: 700 clamp(40px, 4vw, 64px)/0.9 var(--f); font-stretch: 125%; color: transparent; -webkit-text-stroke: 1px rgba(245, 207, 134, 0.6); }
.guide-step h3 { margin-bottom: 8px; font: 600 clamp(20px, 1.8vw, 28px)/1.15 var(--f); font-stretch: 108%; letter-spacing: -0.02em; }
.guide-step p { font-size: clamp(15.5px, 1.1vw, 18px); line-height: 1.55; color: var(--muted); }
.guide-tip { margin-top: 10px; padding-left: 14px; border-left: 2px solid rgba(224, 169, 74, 0.5); color: var(--text) !important; }
.checklist { display: grid; gap: 12px; width: 100%; }
.checklist li { display: flex; align-items: flex-start; gap: 14px; padding: 18px 20px; border-radius: 16px; border: 1px solid var(--line); background: #141415; font-size: clamp(15.5px, 1.1vw, 18px); line-height: 1.45; }
.checklist .i { color: var(--amber-2); width: 22px; height: 22px; margin-top: 1px; }

/* Tools directory */
.tools { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.tool { display: flex; align-items: center; gap: 16px; min-height: 96px; padding: 18px 22px 18px 18px; border-radius: 20px; border: 1px solid var(--line); background: #141415; transition: border-color 0.3s, transform 0.5s var(--ease); }
a.tool:hover { border-color: rgba(224, 169, 74, 0.55); transform: translateY(-2px); }
.tool-ico { display: grid; place-items: center; flex: none; width: 56px; height: 56px; border-radius: 16px; overflow: hidden; background: #1d1c1a; }
.tool-ico img { width: 52%; height: auto; }
.tool-phantom .tool-ico { background: #ab9ff2; }
.tool-coinbase .tool-ico { background: #fff; }
.tool-mono .i { width: 24px; height: 24px; color: var(--text); }
.tool-letter { font: 700 24px/1 var(--f); font-stretch: 112%; color: var(--amber-2); }
.tool-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.tool-n { font: 600 clamp(17px, 1.3vw, 20px)/1.2 var(--f); }
.tool-d { font-size: 14.5px; line-height: 1.45; color: var(--muted); }
.tool-go { margin-left: auto; color: var(--amber-2); }
.tool.is-soon { opacity: 0.7; }

/* Countdown page */
.launch { display: flex; align-items: center; min-height: calc(100svh - var(--hdr-top) - var(--hdr-h) - 2 * var(--frame)); background: #050505; text-align: center; }
.launch-bg { position: absolute; inset: -6% 0 0; z-index: -2; }
.launch-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; }
.launch::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 70% at 50% 45%, rgba(5, 5, 5, 0.35), rgba(5, 5, 5, 0.85)); }
.launch-in { display: flex; flex-direction: column; align-items: center; gap: clamp(20px, 2vw, 32px); width: 100%; }
.launch-k { font: 600 clamp(15px, 1.1vw, 18px)/1 var(--f); color: var(--amber-2); }
.launch .hero-title { margin: 0; }
.launch-cd .countdown { gap: clamp(14px, 3vw, 56px); }
.launch-cd .cd { min-width: clamp(64px, 8vw, 140px); padding: clamp(14px, 1.6vw, 26px) clamp(10px, 1.4vw, 22px); border-radius: 20px; border: 1px solid var(--line-2); background: rgba(16, 16, 17, 0.6); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.launch-cd .cd b { font-size: clamp(2.4rem, 6vw, 6.4rem); }
.launch .hero-sub { margin: 0 auto; }

/* Article */
.art-head { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); align-items: center; gap: clamp(28px, 4vw, 72px); }
.crumbs { display: flex; gap: 10px; margin-bottom: 24px; font-size: 14.5px; color: var(--muted); }
.crumbs a { color: var(--amber-2); }
.art-title { font-size: clamp(2.3rem, 4.6vw, 5.2rem); margin-bottom: 22px; }
.art-meta { margin-top: 22px; font-size: 14.5px; color: var(--dim); }
.art-fig { border-radius: 22px; overflow: hidden; }
.art-fig img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.reading { display: grid; grid-template-columns: minmax(200px, 0.32fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 96px); align-items: start; }
.toc { position: sticky; top: calc(var(--hdr-top) + var(--hdr-h) + 32px); display: flex; flex-direction: column; gap: 4px; }
.toc p { margin-bottom: 10px; font-weight: 600; }
.toc a { padding: 10px 14px; border-radius: 12px; font-size: 15px; color: var(--muted); transition: background 0.3s, color 0.3s; }
.toc a:hover { background: rgba(255, 255, 255, 0.05); color: var(--text); }
.prose { max-width: 760px; }
.prose section + section { margin-top: clamp(36px, 4vw, 56px); }
.prose h2 { margin-bottom: 16px; font: 600 clamp(1.6rem, 2.4vw, 2.4rem)/1.1 var(--f); font-stretch: 110%; letter-spacing: -0.03em; }
.prose p, .prose li { font-size: clamp(16.5px, 1.2vw, 19px); line-height: 1.75; color: #cfc9be; }
.prose p + p { margin-top: 1em; }
.prose ul { display: grid; gap: 10px; }
.prose li { position: relative; padding-left: 26px; }
.prose li::before { content: ''; position: absolute; left: 4px; top: 0.75em; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 10px var(--amber); }
.prose-note { margin-top: 48px !important; padding-top: 22px; border-top: 1px solid var(--line); font-size: 14.5px !important; color: var(--dim) !important; }
.prose-note a { color: var(--amber-2); }

/* The coin: a cleaner reverse and edge, stable on mobile Safari */
.coin-face { overflow: visible !important; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.coin-face img { -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.coin-front { transform: translateZ(8.5px) !important; }
.coin-front img { border-radius: 50%; }
.coin-back { transform: rotateY(180deg) translateZ(8.5px) !important; }
.coin-edge i { -webkit-backface-visibility: visible; backface-visibility: visible; }
.coin-face { box-shadow: 0 0 0 1px rgba(255, 230, 170, 0.25); }
.coin-back { background: radial-gradient(circle at 50% 38%, #1a1916 0%, #0a0a0a 72%) !important; box-shadow: inset 0 0 0 clamp(6px, 0.8vw, 10px) #c9a35f, inset 0 0 0 clamp(8px, 1vw, 13px) #6d4b17, inset 0 0 40px rgba(0, 0, 0, 0.8) !important; }
.coin-back::before { content: ''; position: absolute; inset: 7%; border-radius: 50%; border: 1px solid rgba(230, 190, 110, 0.45); }
.coin-back img { width: 62% !important; filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.7)); }
.coin-edge i { inset: 0.6%; background: linear-gradient(90deg, #4d3410 0%, #b98a3c 18%, #f2d491 34%, #a4782f 52%, #e6c27a 70%, #6a4a18 88%, #4d3410 100%); }
.coin.is-flipping .coin-face { transition: none; }

@media (max-width: 1080px) {
  .cards4, .ms-grid { grid-template-columns: 1fr 1fr; }
  .tools { grid-template-columns: 1fr 1fr; }
  .ex-grid { grid-template-columns: 1fr; }
  .ex-tabs { flex-direction: row; overflow-x: auto; scrollbar-width: none; }
  .ex-tab { flex: 0 0 auto; grid-template-columns: auto auto; }
  .ex-tab .i { display: none; }
  .reading { grid-template-columns: 1fr; }
  .toc { position: static; flex-direction: row; flex-wrap: wrap; }
  .toc p { width: 100%; margin-bottom: 4px; }
  .toc a { border: 1px solid var(--line); }
}
@media (max-width: 720px) {
  .split-panel, .art-head { grid-template-columns: 1fr; }
  .split-rev .split-fig { order: 0; }
  .cards4, .ms-grid, .tools { grid-template-columns: 1fr; }
  .intro { min-height: 520px; }
  .intro::before { background: linear-gradient(0deg, rgba(5, 5, 5, 0.95) 0%, rgba(5, 5, 5, 0.6) 50%, rgba(5, 5, 5, 0.15) 100%); }
  .guide-step { grid-template-columns: auto minmax(0, 1fr); }
  .guide-step .step-ico { display: none; }
  .launch-cd .cd { min-width: 0; flex: 1; padding: 12px 6px; }
  .launch-cd .countdown { width: 100%; gap: 8px; }
  .ex-stage { min-height: 440px; }
  .band-bg { inset: 0; opacity: 0.3; -webkit-mask-image: none; mask-image: none; }
  .sec-top .sec-link { justify-self: start; }
}

/* Lighter rendering on phones */
@media (max-width: 720px), (pointer: coarse) {
  body::after { display: none; }
  .stat, .ms, .ca, .btn-ghost, .launch-cd .cd, .toast { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .ca, .stat { background: #121213; }
  .coin-glow { filter: none; }
  .coin-shadow { filter: none; opacity: 0.7; }
}

/* Comfortable touch targets */
.hdr-brand { min-height: 44px; }
.link { min-height: 44px; }
.card-foot { min-height: 48px; }
.legal-no { font-size: 14px; }

/* Coinbase + Candles row, Candles app icon, completed roadmap phases */
.pf-row { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)) !important; }
.pf-candles .pf-ico, .tool-candles .tool-ico { overflow: hidden; background: #000; }
.pf-candles .pf-logo-app, .tool-candles .tool-ico img { width: 100%; height: 100%; object-fit: cover; }
.rm.is-done .rm-node { border-color: var(--amber-3); background: var(--amber-3); }
.rm.is-done .rm-status { border-color: rgba(224, 169, 74, 0.3); color: var(--muted); }
