:root {
  --lime: #cdff00;
  --lime-deep: #a8d400;
  --ink: #10110e;
  --ink-soft: #1a1c17;
  --cream: #f7f4ea;
  --paper: #fffdf5;
  --muted: #696b62;
  --coral: #ff5f47;
  --line-dark: rgba(255, 255, 255, 0.14);
  --line-light: rgba(16, 17, 14, 0.14);
  --radius-xl: 26px;
  --radius-lg: 20px;
  --max: 1220px;
  --shadow: 0 24px 80px rgba(12, 14, 8, 0.16);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html {
  overflow-x: clip;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  background: var(--ink);
  color: var(--ink);
  font-family: "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
  text-rendering: optimizeLegibility;
}

body.menu-open { overflow: hidden; }

a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
img { display: block; width: 100%; }

.grain {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  opacity: 0.018;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%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)' opacity='.8'/%3E%3C/svg%3E");
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  transform: translateY(-150%);
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--ink);
  font-weight: 800;
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 34px), 1280px);
  height: 72px;
  margin: 14px auto 0;
  padding: 0 14px 0 20px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 16px;
  background: rgba(17, 18, 15, 0.72);
  color: white;
  box-shadow: 0 10px 34px rgba(0,0,0,.12);
  backdrop-filter: blur(18px);
  transition: height .35s var(--ease), background .35s ease, border-color .35s ease;
}

.site-header.scrolled {
  height: 64px;
  background: rgba(17, 18, 15, .9);
  border-color: rgba(205, 255, 0, .24);
}

.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 750; letter-spacing: -0.025em; }
.brand-mark { display: grid; place-items: center; width: 34px; aspect-ratio: 1; border-radius: 10px; background: var(--lime); color: var(--ink); font-size: 15px; }
.desktop-nav { display: flex; gap: 34px; font-size: 13px; font-weight: 750; }
.desktop-nav a, .footer-links a { transition: color .25s ease; }
.desktop-nav a:hover, .footer-links a:hover { color: var(--lime); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.social-icon { display: grid; place-items: center; width: 42px; aspect-ratio: 1; border: 1px solid var(--line-dark); border-radius: 14px; transition: transform .3s var(--ease), background .3s ease; }
.social-icon:hover { transform: translateY(-2px) rotate(4deg); background: var(--lime); color: var(--ink); }
.social-icon svg { width: 16px; fill: currentColor; }

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 58px;
  padding: 0 26px;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 13px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: transform .35s var(--ease), box-shadow .35s ease, background .3s ease;
}

.button::before { content: ""; position: absolute; inset: 0; background: rgba(255,255,255,.25); transform: translateX(-110%) skewX(-18deg); transition: transform .55s var(--ease); }
.button:hover::before { transform: translateX(110%) skewX(-18deg); }
.button:hover { transform: translateY(-3px); }
.button--small { min-height: 42px; padding: 0 18px; border-radius: 13px; font-size: 12px; }
.button--lime { background: var(--lime); color: var(--ink); box-shadow: 0 12px 34px rgba(205, 255, 0, .14); }
.button--lime:hover { box-shadow: 0 16px 42px rgba(205,255,0,.27); }
.button--dark { background: var(--ink); color: white; border-color: rgba(255,255,255,.15); }
.site-header .button--dark { background: white; color: var(--ink); }
.button--outline { background: rgba(255,255,255,.24); color: var(--ink); border-color: rgba(16,17,14,.28); backdrop-filter: blur(10px); }
.button-icon { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; background: var(--ink); color: var(--lime); }
.button--dark .button-icon { background: var(--lime); color: var(--ink); }

.menu-button { display: none; width: 42px; height: 42px; border: 0; border-radius: 14px; background: var(--lime); cursor: pointer; }
.menu-button span { display: block; width: 18px; height: 2px; margin: 5px auto; background: var(--ink); transition: transform .3s ease; }
.menu-button[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-button[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.mobile-menu { position: absolute; top: 78px; left: 0; right: 0; display: none; padding: 18px; border-radius: 22px; background: var(--ink); border: 1px solid var(--line-dark); box-shadow: var(--shadow); }
.mobile-menu a { display: block; padding: 15px; border-bottom: 1px solid var(--line-dark); font-weight: 800; }

.section-dark { background: var(--ink); color: white; }
.section-light { background: var(--cream); }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; color: rgba(255,255,255,.63); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow span { width: 22px; height: 8px; border-radius: 99px; background: var(--lime); transform: rotate(-8deg); }
.eyebrow--dark { color: var(--muted); }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { margin-bottom: 22px; font-weight: 700; letter-spacing: -.05em; line-height: 1; }
h1 { font-size: clamp(46px, 5.5vw, 76px); }
h2 { font-size: clamp(38px, 4.7vw, 64px); }
h1 em, h2 em { color: var(--lime); font-style: normal; }
.section-light h2 em { color: var(--ink); position: relative; z-index: 1; text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: .18em; text-underline-offset: -.08em; text-decoration-skip-ink: none; }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(440px, 1.1fr);
  align-items: center;
  gap: 56px;
  min-height: 860px;
  padding: 146px max(30px, calc((100vw - var(--max)) / 2)) 90px;
  overflow: hidden;
}

.hero-glow { position: absolute; width: 520px; height: 520px; left: -260px; bottom: -260px; border-radius: 50%; background: var(--lime); opacity: .12; filter: blur(100px); }
.hero-copy { position: relative; z-index: 2; }
.hero-copy h1 { max-width: 720px; }
.hero-intro { max-width: 520px; margin-bottom: 30px; color: rgba(255,255,255,.68); font-size: clamp(15px, 1.25vw, 18px); line-height: 1.65; }
.hero-intro strong { color: white; }
.hero-actions { display: flex; align-items: center; gap: 26px; margin-bottom: 34px; }
.text-link { font-size: 13px; font-weight: 850; border-bottom: 1px solid rgba(255,255,255,.25); padding-bottom: 5px; }
.text-link span { color: var(--lime); margin-left: 4px; }
.contract-box { display: flex; align-items: center; justify-content: space-between; max-width: 510px; padding: 12px 12px 12px 17px; border: 1px solid var(--line-dark); border-radius: 18px; background: rgba(255,255,255,.04); }
.contract-box > div { min-width: 0; }
.contract-label { display: block; margin-bottom: 3px; color: rgba(255,255,255,.45); font-size: 9px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.contract-value { display: block; overflow: hidden; color: white; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.copy-button { display: inline-flex; align-items: center; gap: 7px; min-width: 82px; height: 40px; border: 0; border-radius: 12px; background: var(--lime); color: var(--ink); cursor: pointer; font-size: 11px; font-weight: 900; }
.copy-button svg { width: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; }

.hero-visual { position: relative; min-width: 0; }
.hero-image-card { position: relative; z-index: 2; margin: 0; overflow: hidden; border: 1px solid rgba(205,255,0,.24); border-radius: 28px; box-shadow: 0 24px 70px rgba(0,0,0,.32); transform-style: preserve-3d; }
.hero-image-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, transparent 45%, rgba(205,255,0,.12)); pointer-events: none; }
.hero-image-card img { aspect-ratio: 1.5; object-fit: cover; }
.hero-image-card figcaption { position: absolute; z-index: 2; left: 20px; bottom: 20px; display: flex; align-items: center; gap: 9px; padding: 11px 14px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; background: rgba(12,13,11,.7); font-size: 10px; font-weight: 800; backdrop-filter: blur(12px); }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 5px rgba(205,255,0,.14); animation: pulse 1.7s ease-in-out infinite; }
.hero-sticker { display: none; }
.sticker--top { top: -22px; right: -8px; }
.sticker--bottom { display: none; }
.hero-sticker small { font-size: 8px; }
.orbit { display: none; }
.orbit span { position: absolute; display: grid; place-items: center; width: 34px; aspect-ratio: 1; border-radius: 12px; background: var(--lime); color: var(--ink); }
.orbit--one { width: 116%; aspect-ratio: 1; top: -12%; left: -7%; }
.orbit--one span { top: 13%; left: 2%; }
.orbit--two { width: 88%; aspect-ratio: 1; top: 6%; left: 7%; animation-direction: reverse; animation-duration: 13s; }
.orbit--two span { right: -14px; bottom: 25%; }
.scroll-cue { position: absolute; bottom: 27px; left: 50%; display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.45); font-size: 9px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; transform: translateX(-50%); }
.scroll-cue i { display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid var(--line-dark); border-radius: 50%; color: var(--lime); font-style: normal; animation: bob 1.7s ease-in-out infinite; }

.ticker { overflow: hidden; padding: 14px 0; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); background: var(--lime); color: var(--ink); transform: rotate(-.7deg) scale(1.01); }
.ticker-track { display: flex; width: max-content; animation: ticker 22s linear infinite; }
.ticker span { padding: 0 24px; font-size: 13px; font-weight: 950; letter-spacing: .04em; white-space: nowrap; }

.story { padding: 150px max(30px, calc((100vw - var(--max)) / 2)); }
.section-heading { max-width: 900px; margin-bottom: 65px; }
.story-grid { display: grid; grid-template-columns: minmax(360px, .9fr) 1.1fr; align-items: center; gap: clamp(50px, 8vw, 110px); }
.frame-card { position: relative; margin: 0; }
.story-image img { aspect-ratio: 1; object-fit: cover; border: 1px solid rgba(16,17,14,.2); border-radius: 24px; box-shadow: 0 24px 60px rgba(16,17,14,.14); }
.photo-tag { position: absolute; right: -22px; bottom: 28px; padding: 12px 16px; border: 2px solid var(--ink); border-radius: 12px; background: white; font-size: 10px; font-weight: 950; transform: rotate(-4deg); }
.story-copy { max-width: 600px; }
.story-copy p { color: var(--muted); font-size: 15px; line-height: 1.7; }
.story-copy .lead { color: var(--ink); font-size: clamp(20px, 1.8vw, 26px); font-weight: 700; line-height: 1.4; letter-spacing: -.025em; }
.story-copy strong { color: var(--ink); }
.mini-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin-top: 38px; }
.mini-stats div { padding: 18px 14px; border: 1px solid var(--line-light); border-radius: 18px; background: rgba(255,255,255,.55); }
.mini-stats strong, .mini-stats span { display: block; }
.mini-stats strong { margin-bottom: 4px; font-size: 28px; letter-spacing: -.06em; }
.mini-stats span { color: var(--muted); font-size: 10px; font-weight: 800; text-transform: uppercase; }

.token { display: grid; grid-template-columns: 1fr .85fr; align-items: center; gap: clamp(60px, 9vw, 130px); padding: 150px max(30px, calc((100vw - var(--max)) / 2)); overflow: hidden; }
.token-art { position: relative; }
.token-halo { position: absolute; inset: 8%; border-radius: 50%; background: var(--lime); opacity: .18; filter: blur(48px); }
.token-image { position: relative; z-index: 2; margin: 0; overflow: hidden; border: 1px solid rgba(205,255,0,.24); border-radius: 26px; box-shadow: 0 26px 70px rgba(0,0,0,.3); }
.token-image img { aspect-ratio: 1; object-fit: cover; }
.float-pill { display: none; }
.float-pill--one { left: -24px; top: 13%; transform: rotate(-8deg); }
.float-pill--two { right: -25px; bottom: 12%; transform: rotate(7deg); animation-delay: -.9s; }
.token-copy > p:not(.eyebrow) { max-width: 520px; color: rgba(255,255,255,.62); font-size: 15px; line-height: 1.7; }
.token-list { margin: 34px 0; border-top: 1px solid var(--line-dark); }
.token-list div { display: grid; grid-template-columns: 1fr 1.5fr; padding: 16px 2px; border-bottom: 1px solid var(--line-dark); }
.token-list dt { color: rgba(255,255,255,.42); font-size: 10px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.token-list dd { margin: 0; font-size: 13px; font-weight: 800; }

.buy { padding: 150px max(30px, calc((100vw - var(--max)) / 2)); }
.buy-heading { max-width: 900px; }
.buy-heading > p:last-child { max-width: 520px; color: var(--muted); font-size: 15px; line-height: 1.65; }
.buy-layout { display: grid; grid-template-columns: 1.1fr .7fr; align-items: stretch; gap: 60px; margin-top: 60px; }
.steps { display: flex; flex-direction: column; gap: 13px; }
.step-card { display: grid; grid-template-columns: 54px 1fr 46px; align-items: center; gap: 18px; padding: 22px; border: 1px solid var(--line-light); border-radius: 18px; background: rgba(255,255,255,.52); transition: transform .35s var(--ease), background .3s ease, border-color .3s ease; }
.step-card:hover { transform: translateX(9px); background: white; border-color: var(--ink); }
.step-number { display: grid; place-items: center; width: 48px; aspect-ratio: 1; border-radius: 15px; background: var(--lime); font-size: 12px; font-weight: 950; }
.step-card h3 { margin-bottom: 5px; font-size: 17px; font-weight: 700; letter-spacing: -.025em; }
.step-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.step-icon { display: grid; place-items: center; width: 42px; aspect-ratio: 1; border: 1px solid var(--line-light); border-radius: 50%; font-size: 18px; }
.buy-image { min-height: 470px; overflow: hidden; border: 1px solid rgba(16,17,14,.2); border-radius: 24px; box-shadow: 0 24px 60px rgba(16,17,14,.14); }
.buy-image img { height: 100%; object-fit: cover; }
.buy-image figcaption { position: absolute; inset: auto 18px 18px; padding: 17px; border-radius: 18px; background: rgba(16,17,14,.78); color: white; backdrop-filter: blur(12px); }
.buy-image figcaption span, .buy-image figcaption strong { display: block; }
.buy-image figcaption span { margin-bottom: 5px; color: var(--lime); font-size: 9px; font-weight: 900; letter-spacing: .1em; }
.buy-image figcaption strong { font-size: 15px; }

.community { position: relative; display: flex; align-items: center; min-height: 760px; padding: 120px max(30px, calc((100vw - var(--max)) / 2)); overflow: hidden; background: var(--lime); }
.community-image { position: absolute; inset: 0; }
.community-image img { width: 100%; height: 100%; object-fit: cover; object-position: 60% center; }
.community-scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(247,244,234,.98) 0%, rgba(247,244,234,.93) 35%, rgba(247,244,234,.08) 68%); }
.community-copy { position: relative; z-index: 2; max-width: 600px; }
.community-copy h2 { font-size: clamp(48px, 5.8vw, 78px); }
.community-copy > p:not(.eyebrow) { max-width: 430px; color: #55584e; font-size: 15px; line-height: 1.65; }
.community-actions { display: flex; gap: 12px; margin-top: 32px; }

.footer { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 28px; padding: 55px max(30px, calc((100vw - var(--max)) / 2)) 35px; }
.footer p { margin: 0; color: rgba(255,255,255,.48); font-size: 13px; }
.footer-links { display: flex; gap: 24px; font-size: 11px; font-weight: 800; }
.footer small { grid-column: 1 / -1; padding-top: 25px; border-top: 1px solid var(--line-dark); color: rgba(255,255,255,.32); font-size: 9px; letter-spacing: .06em; text-transform: uppercase; }

.toast { position: fixed; z-index: 80; left: 50%; bottom: 24px; display: flex; align-items: center; gap: 9px; padding: 13px 17px; border: 1px solid rgba(255,255,255,.15); border-radius: 999px; background: var(--ink); color: white; box-shadow: 0 14px 45px rgba(0,0,0,.24); font-size: 12px; font-weight: 850; opacity: 0; pointer-events: none; transform: translate(-50%, 20px); transition: opacity .3s ease, transform .4s var(--ease); }
.toast span { color: var(--lime); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s var(--ease), transform .9s var(--ease); transition-delay: var(--delay, 0ms); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes bob { 50% { translate: 0 -7px; } }
@keyframes pulse { 50% { box-shadow: 0 0 0 9px rgba(205,255,0,0); } }
@keyframes ticker { to { transform: translateX(-50%); } }

@media (max-width: 1050px) {
  .desktop-nav { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 150px; }
  .hero-copy { max-width: 760px; }
  .hero-visual { width: min(760px, 92%); margin: 20px auto 40px; }
  .scroll-cue { display: none; }
  .story-grid, .token, .buy-layout { gap: 55px; }
  .token { grid-template-columns: .95fr 1fr; }
}

@media (max-width: 780px) {
  :root { --radius-xl: 28px; }
  .site-header { width: calc(100% - 22px); margin-top: 10px; height: 62px; border-radius: 18px; }
  .site-header .button, .social-icon { display: none; }
  .menu-button { display: block; }
  .mobile-menu.open { display: block; }
  .hero { grid-template-columns: 1fr; min-height: auto; gap: 46px; padding: 126px 20px 84px; }
  .hero h1 { font-size: clamp(44px, 12vw, 62px); }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 19px; }
  .hero-image-card { border-radius: 22px; }
  .hero-image-card img { aspect-ratio: 1.05; object-position: 63% center; }
  .hero-sticker { width: 70px; font-size: 13px; }
  .orbit { display: none; }
  .ticker { padding: 11px 0; }
  .story, .token, .buy { padding: 100px 20px; }
  .section-heading { margin-bottom: 44px; }
  .story-grid, .token, .buy-layout { grid-template-columns: 1fr; }
  .story-grid { gap: 64px; }
  .story-image { width: calc(100% - 16px); }
  .token { gap: 80px; }
  .token-art { order: 2; width: calc(100% - 14px); }
  .token-copy { order: 1; }
  .buy-layout { gap: 42px; }
  .buy-image { min-height: 430px; }
  .community { min-height: 820px; align-items: flex-start; padding: 85px 20px; }
  .community-image { top: 42%; }
  .community-image img { object-position: center; }
  .community-scrim { background: linear-gradient(180deg, var(--cream) 0%, rgba(247,244,234,.98) 37%, rgba(247,244,234,.05) 72%); }
  .community-copy h2 { font-size: clamp(46px, 13vw, 68px); }
  .footer { grid-template-columns: 1fr; align-items: start; }
  .footer-links { margin-top: 10px; }
  .footer small { grid-column: 1; }
}

@media (max-width: 520px) {
  h2 { font-size: clamp(38px, 11vw, 54px); }
  .hero-intro { font-size: 15px; }
  .contract-box { align-items: flex-end; }
  .contract-value { max-width: 190px; }
  .hero-image-card figcaption { right: 14px; left: 14px; bottom: 14px; justify-content: center; }
  .sticker--top { right: -10px; }
  .sticker--bottom { left: -7px; }
  .photo-tag { right: -12px; }
  .mini-stats { grid-template-columns: 1fr; }
  .mini-stats div { display: flex; align-items: center; gap: 12px; }
  .mini-stats strong { margin: 0; }
  .step-card { grid-template-columns: 46px 1fr; padding: 19px 16px; }
  .step-number { width: 42px; }
  .step-icon { display: none; }
  .float-pill--one { left: -10px; }
  .float-pill--two { right: -10px; }
  .community-actions { flex-direction: column; align-items: stretch; }
}

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