:root {
  --ink: #20271f;
  --ink-soft: #4a564b;
  --cream: #f3f0e5;
  --paper: #e9eadc;
  --sage: #a7b29b;
  --sage-light: #cad7b4;
  --green: #2f493a;
  --mint: #b6e1a0;
  --ochre: #d49d52;
  --coral: #e57d60;
  --line: rgba(32, 39, 31, 0.18);
  --shadow: 0 20px 60px rgba(35, 42, 33, 0.16);
  --sans: "Space Grotesk", "Segoe UI", sans-serif;
  --mono: "DM Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--sans);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.42;
  background-image: linear-gradient(rgba(32,39,31,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(32,39,31,.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
}

.site-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.025;
  z-index: 10;
  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='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}

a { color: inherit; text-decoration: none; }
button { font: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  width: min(1320px, calc(100% - 48px));
  height: 82px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border-bottom: 1px solid var(--line);
  background: rgba(243, 240, 229, 0.86);
  backdrop-filter: blur(18px);
}

.brand { display: inline-flex; align-items: center; gap: 11px; min-width: 210px; }
.brand-mark { width: 44px; height: 44px; display: grid; place-items: center; overflow: hidden; border: 2px solid var(--ink); border-radius: 50%; background: var(--mint); }
.brand-mark img { width: 53px; height: 53px; object-fit: cover; }
.brand-copy { display: grid; line-height: 1; gap: 5px; }
.brand-name { font-size: 13px; font-weight: 700; letter-spacing: .12em; }
.brand-ticker, .footer-ticker { color: var(--ink-soft); font: 10px var(--mono); letter-spacing: .12em; }

.main-nav { display: flex; align-items: center; gap: clamp(18px, 3.4vw, 48px); margin-left: auto; margin-right: auto; }
.main-nav a { display: flex; align-items: center; gap: 9px; padding: 8px 0; color: #6d776d; font: 11px var(--mono); letter-spacing: .04em; transition: color .2s ease; }
.main-nav a span { color: var(--ink); font: 600 13px var(--sans); }
.main-nav a:hover, .main-nav a.active { color: var(--coral); }
.main-nav a.active span { color: var(--ink); }

.header-buy { display: inline-flex; align-items: center; gap: 16px; padding: 13px 16px 13px 18px; border: 1.5px solid var(--ink); border-radius: 999px; background: var(--ink); color: var(--cream); font-size: 12px; font-weight: 600; transition: transform .2s ease, background .2s ease; }
.header-buy:hover { transform: translateY(-2px); background: var(--green); }
.arrow { font-size: 18px; line-height: 10px; }

.section-shell { width: min(1320px, calc(100% - 48px)); margin: 0 auto; }
.hero { min-height: calc(100vh - 82px); padding: clamp(64px, 9vw, 126px) 0 108px; display: grid; grid-template-columns: minmax(0, .94fr) minmax(460px, 1.06fr); align-items: center; gap: clamp(30px, 6vw, 110px); }
.hero-copy { position: relative; z-index: 2; }
.eyebrow, .section-kicker, .aside-label, .character-topline, .character-caption, .live-label { font: 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 28px; color: var(--green); }
.eyebrow-dot, .live-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 5px rgba(229,125,96,.14); }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 700px; margin-bottom: 27px; font-size: clamp(62px, 7.5vw, 118px); line-height: .89; letter-spacing: -.085em; font-weight: 600; }
h1 em { color: var(--coral); font-style: normal; }
.hero-lede { max-width: 445px; margin-bottom: 37px; color: var(--ink-soft); font-size: 16px; line-height: 1.6; }

.hero-actions { display: grid; grid-template-columns: repeat(2, minmax(195px, 1fr)); gap: 9px; width: min(100%, 520px); }
.action-card { min-height: 72px; display: flex; align-items: center; gap: 12px; padding: 10px 13px 10px 10px; border: 1px solid var(--ink); border-radius: 15px; background: var(--ink); color: var(--cream); text-align: left; cursor: pointer; transition: transform .22s ease, border-color .22s ease, background .22s ease, box-shadow .22s ease; }
.action-card:hover { transform: translateY(-3px); border-color: var(--ink); background: #111a14; box-shadow: 0 12px 24px rgba(32,39,31,.16); }
.action-card img { width: 49px; height: 49px; flex: 0 0 49px; border-radius: 12px; object-fit: contain; background: var(--sage-light); }
.action-card-buy { border-color: var(--ink); background: var(--ink); color: var(--cream); }
.action-card-buy:hover { background: #111a14; }
.action-card-buy img { background: var(--ochre); }
.action-text { display: grid; min-width: 0; gap: 5px; }
.action-text strong { font-size: 12px; letter-spacing: -.02em; white-space: nowrap; }
.action-text small { color: #b9c5b8; font: 10px var(--mono); white-space: nowrap; }
.action-card-buy small { color: #b9c5b8; }
.action-arrow { margin-left: auto; align-self: flex-start; font: 17px var(--mono); }
.social-icon { width: 49px; height: 49px; display: grid; flex: 0 0 49px; place-items: center; border-radius: 12px; background: var(--ink); color: var(--cream); }
.social-icon svg { width: 22px; height: 22px; fill: currentColor; }
.action-card-copy { border: 1px dashed rgba(32,39,31,.36); }
.hero-meta { display: flex; gap: 27px; margin-top: 35px; padding-top: 18px; border-top: 1px solid var(--line); width: min(100%, 520px); }
.hero-meta div { display: grid; gap: 7px; }
.hero-meta span { color: #7e897e; font: 10px var(--mono); text-transform: uppercase; letter-spacing: .08em; }
.hero-meta strong { font-size: 12px; font-weight: 600; }

.hero-art { position: relative; min-height: 650px; display: grid; place-items: center; }
.hero-art::before { content: ""; position: absolute; width: min(44vw, 560px); aspect-ratio: 1; border-radius: 50%; background: var(--sage); transform: translate(8%, 2%); }
.character-card { position: relative; z-index: 1; width: min(100%, 500px); padding: 15px 15px 13px; overflow: hidden; border: 2px solid var(--ink); border-radius: 24px; background: #a5b29c; box-shadow: var(--shadow); transform: rotate(2.8deg); }
.character-card::after { content: ""; position: absolute; inset: 58px 0 42px; pointer-events: none; background: linear-gradient(90deg, rgba(255,255,255,.13), transparent 34%, rgba(31,41,32,.11)); mix-blend-mode: soft-light; }
.character-topline, .character-caption { position: relative; z-index: 2; display: flex; justify-content: space-between; color: var(--ink); font-size: 9px; }
.character-topline { padding: 2px 3px 12px; }
.character-topline span:last-child { color: var(--coral); }
.character-card img { display: block; width: 100%; aspect-ratio: 1 / 1.1; object-fit: cover; border: 1px solid rgba(32,39,31,.22); border-radius: 15px; }
.character-caption { padding: 12px 3px 0; }
.art-stamp { position: absolute; top: 2%; right: 0; z-index: 3; display: grid; place-items: center; width: 92px; height: 92px; border: 2px solid var(--ink); border-radius: 50%; background: var(--coral); color: var(--ink); font-size: 12px; font-weight: 700; line-height: .95; text-align: center; transform: rotate(12deg); }
.art-stamp span { font: 9px var(--mono); }
.art-scribble { position: absolute; z-index: 3; color: var(--ink); font: 12px var(--mono); line-height: 1.1; }
.scribble-one { bottom: 6%; left: 2%; transform: rotate(-8deg); }
.scribble-two { right: -1%; bottom: 18%; color: var(--coral); font-size: 40px; transform: rotate(13deg); }

.roadmap { padding: 120px 0 130px; border-top: 1px solid var(--line); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 50px; margin-bottom: 52px; }
.section-kicker { margin-bottom: 17px; color: var(--coral); }
h2 { margin-bottom: 0; font-size: clamp(47px, 6.5vw, 88px); line-height: .92; letter-spacing: -.08em; font-weight: 600; }
h2 span { color: #879487; }
.section-heading > p, .market-side-copy { max-width: 305px; margin-bottom: 2px; color: var(--ink-soft); font-size: 14px; line-height: 1.55; }
.roadmap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.roadmap-card { position: relative; min-height: 372px; display: flex; flex-direction: column; padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.22); transition: transform .25s ease; }
.roadmap-card:hover { transform: translateY(-5px); }
.roadmap-card-active { border-color: var(--green); background: var(--green); color: var(--cream); }
.roadmap-card-top { display: flex; justify-content: space-between; align-items: center; color: var(--coral); font: 12px var(--mono); }
.roadmap-card-active .roadmap-card-top { color: var(--mint); }
.status-pill { padding: 5px 8px; border: 1px solid rgba(229,125,96,.45); border-radius: 99px; color: var(--coral); font-size: 9px; }
.roadmap-card-active .status-pill { border-color: rgba(182,225,160,.5); color: var(--mint); }
.status-next { color: var(--green); border-color: rgba(47,73,58,.25); }
.status-later { color: #808d7e; border-color: rgba(128,141,126,.28); }
.roadmap-symbol { margin-top: auto; margin-bottom: 20px; color: var(--coral); font-size: 48px; line-height: 1; }
.roadmap-card-active .roadmap-symbol { color: var(--mint); }
.roadmap-card h3 { margin-bottom: 11px; font-size: 24px; letter-spacing: -.055em; }
.roadmap-card p { min-height: 68px; margin-bottom: 24px; color: #687369; font-size: 13px; line-height: 1.55; }
.roadmap-card-active p { color: #c1ccb9; }
.roadmap-line { height: 1px; margin-bottom: 12px; background: var(--line); }
.roadmap-line span { display: block; width: 42%; height: 2px; margin-top: -1px; background: var(--coral); }
.roadmap-card-active .roadmap-line { background: rgba(243,240,229,.2); }
.roadmap-card-active .roadmap-line span { background: var(--mint); }
.roadmap-card small { color: #7d887d; font: 9px var(--mono); letter-spacing: .05em; text-transform: uppercase; }
.roadmap-card-active small { color: #afc0ac; }
.roadmap-note { margin-top: 28px; color: var(--ink-soft); font: 12px var(--mono); }
.roadmap-note span { margin-right: 12px; color: var(--coral); }

.market { padding: 116px 0 138px; border-top: 1px solid var(--line); }
.market-heading { align-items: start; }
.market-side-copy { padding-top: 31px; }
.market-side-copy p { margin: 16px 0 0; }
code { font-family: var(--mono); font-size: .88em; }
.market-layout { display: grid; grid-template-columns: minmax(0, 1fr) 254px; gap: 17px; }
.market-frame-wrap { padding: 11px; border: 1px solid var(--line); border-radius: 20px; background: var(--ink); box-shadow: var(--shadow); }
.market-toolbar { height: 36px; display: flex; align-items: center; gap: 12px; padding: 0 8px 10px; color: #9ca99c; font: 10px var(--mono); }
.window-dots { display: flex; gap: 5px; }
.window-dots span { width: 7px; height: 7px; border-radius: 50%; background: #6b776b; }
.window-dots span:first-child { background: var(--coral); }
.market-url { overflow: hidden; flex: 1; text-overflow: ellipsis; white-space: nowrap; }
.toolbar-link { color: var(--mint); }
.market-frame { position: relative; min-height: 570px; overflow: hidden; border: 1px solid rgba(243,240,229,.12); border-radius: 13px; background: #18211b; }
.market-frame iframe { position: relative; z-index: 2; width: 100%; height: 570px; display: block; border: 0; background: #18211b; }
.market-empty-state { position: absolute; inset: 0; z-index: 1; display: grid; place-content: center; justify-items: center; gap: 10px; color: var(--cream); background: radial-gradient(circle at 50% 45%, rgba(182,225,160,.18), transparent 34%), #18211b; text-align: center; }
.empty-symbol { color: var(--mint); font-size: 35px; }
.market-empty-state strong { font-size: 17px; letter-spacing: .1em; }
.market-empty-state p { margin: 0; color: #8d9a8d; font: 11px var(--mono); }
.market-empty-state code { color: var(--mint); }
.market-aside { display: grid; align-content: start; gap: 12px; }
.aside-card { position: relative; min-height: 184px; display: flex; flex-direction: column; padding: 21px; border: 1px solid var(--line); border-radius: 17px; background: var(--paper); }
.aside-label { color: #778377; font-size: 9px; }
.aside-highlight { overflow: hidden; min-height: 268px; background: var(--ochre); }
.aside-highlight strong { margin-top: auto; font-size: 31px; line-height: .94; letter-spacing: -.08em; }
.aside-mark { position: absolute; top: 17px; right: 18px; color: var(--ink); font-size: 32px; }
.contract-value { display: block; overflow: hidden; max-width: 100%; margin-top: 22px; color: var(--ink); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.mini-copy { display: inline-flex; align-items: center; justify-content: space-between; width: 100%; margin-top: auto; padding: 10px 0 0; border: 0; border-top: 1px solid var(--line); background: transparent; color: var(--green); font: 10px var(--mono); cursor: pointer; }
.mini-copy span { font-size: 17px; }
.toast { position: fixed; left: 50%; bottom: 25px; z-index: 30; padding: 12px 16px; border: 1px solid var(--ink); border-radius: 99px; background: var(--ink); color: var(--cream); font: 11px var(--mono); opacity: 0; pointer-events: none; transform: translate(-50%, 14px); transition: opacity .25s ease, transform .25s ease; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0 34px; border-top: 1px solid var(--line); color: var(--ink-soft); }
.footer-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-size: 12px; font-weight: 700; letter-spacing: .1em; }
.footer-brand img { width: 29px; height: 29px; object-fit: cover; border: 1px solid var(--ink); border-radius: 50%; background: var(--mint); }
.site-footer p { margin: 0; font: 10px var(--mono); }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; padding-top: 75px; }
  .hero-art { min-height: 600px; order: -1; }
  .hero-art::before { width: min(68vw, 550px); }
  .hero-copy { margin-top: -20px; }
  .roadmap-grid { grid-template-columns: 1fr; }
  .roadmap-card { min-height: 300px; }
  .market-layout { grid-template-columns: 1fr; }
  .market-aside { grid-template-columns: repeat(2, 1fr); }
  .aside-highlight { min-height: 184px; }
}

@media (max-width: 650px) {
  .site-header, .section-shell { width: min(100% - 30px, 1320px); }
  .site-header { height: 72px; gap: 12px; }
  .brand { min-width: auto; }
  .brand-mark { width: 38px; height: 38px; }
  .brand-mark img { width: 45px; height: 45px; }
  .main-nav { gap: 11px; }
  .main-nav a { font-size: 0; }
  .main-nav a span { font-size: 11px; }
  .main-nav a span::before { content: ""; }
  .header-buy { padding: 10px 11px 10px 13px; }
  .header-buy span:first-child { display: none; }
  .hero { padding-top: 58px; padding-bottom: 80px; }
  h1 { font-size: clamp(57px, 17vw, 95px); }
  .hero-art { min-height: 430px; }
  .character-card { width: min(100%, 370px); }
  .art-stamp { width: 74px; height: 74px; right: -2px; font-size: 10px; }
  .art-scribble { font-size: 10px; }
  .hero-actions { grid-template-columns: 1fr; }
  .hero-meta { justify-content: space-between; gap: 10px; }
  .hero-meta strong { font-size: 11px; }
  .section-heading { display: block; }
  .section-heading > p, .market-side-copy { padding-top: 25px; }
  h2 { font-size: 57px; }
  .roadmap, .market { padding: 82px 0 90px; }
  .market-frame, .market-frame iframe { min-height: 450px; height: 450px; }
  .market-aside { grid-template-columns: 1fr; }
  .site-footer { align-items: flex-start; flex-wrap: wrap; }
  .site-footer p { order: 3; flex-basis: 100%; }
}
