:root {
  --white: #ffffff;
  --bg: #ffffff;
  --bg-alt: #f4f6fb;
  --navy: #13285f;
  --navy-deep: #0b1a42;
  --navy-ink: #0a1430;
  --accent: #2b55c7;
  --text: #16203c;
  --muted: #5b6684;
  --line: #e3e7f0;
  --line-dark: rgba(255, 255, 255, .12);
  --muted-dark: #a9b4d0;
  --up: #12a36b;
  --down: #d93f4c;
  --radius: 18px;
  --shadow: 0 24px 50px -28px rgba(19, 40, 95, .35);
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 120px; }
body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: "Raleway", sans-serif; color: var(--navy); line-height: 1.12; margin: 0 0 .5em; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); font-weight: 800; letter-spacing: -.02em; }
h1 em { font-style: normal; color: var(--accent); }
.gold { color: var(--navy); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); font-weight: 700; letter-spacing: -.01em; }
h3 { font-size: 1.2rem; font-weight: 700; }
.muted { color: var(--muted) !important; }

.container { width: min(1160px, 100% - 32px); margin-inline: auto; }

/* Buttons (.btn--gold is the primary button, now navy) */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .9em 1.5em; border-radius: 999px;
  font-weight: 600; text-decoration: none; font-size: 1rem;
  border: 1.5px solid transparent;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease, color .15s ease;
}
.btn svg { width: 1.15em; height: 1.15em; fill: currentColor; }
.btn svg[fill="none"], .btn svg path[fill="none"] { fill: none; stroke: currentColor; }
.btn:hover { transform: translateY(-2px); }
.btn--gold { background: var(--navy); color: var(--white); box-shadow: 0 12px 28px -14px rgba(19, 40, 95, .8); }
.btn--gold:hover { background: var(--navy-deep); }
.btn--ghost { border-color: var(--navy); color: var(--navy); background: var(--white); }
.btn--ghost:hover { background: var(--navy); color: var(--white); }
.btn--sm { padding: .55em 1.1em; font-size: .9rem; }
.btn--block { width: 100%; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .75em;
  font-family: "Raleway", sans-serif; font-weight: 700;
  text-transform: uppercase; letter-spacing: .28em; font-size: .78rem;
  color: var(--navy); margin: 0 0 1.1em;
}
.eyebrow .line { width: 34px; height: 1.5px; background: var(--navy); opacity: .5; }

.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(43, 85, 199, .6); animation: pulse 2s infinite; flex: none; }
.dot--green { width: 7px; height: 7px; background: var(--up); animation: none; box-shadow: none; }
@keyframes pulse {
  70% { box-shadow: 0 0 0 9px rgba(43, 85, 199, 0); }
  100% { box-shadow: 0 0 0 0 rgba(43, 85, 199, 0); }
}

/* Top bar: navy ticker + white nav */
.topbar { position: sticky; top: 0; z-index: 50; }
.ticker {
  overflow: hidden; background: var(--navy);
  font-family: var(--mono); font-size: .8rem; height: 36px; display: flex; align-items: center;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.ticker__track { display: flex; width: max-content; animation: scroll 40s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__item { display: inline-flex; align-items: center; gap: .55em; padding: 0 1.6rem; white-space: nowrap; color: var(--muted-dark); }
.ticker__item b { color: var(--white); font-weight: 600; }
.ticker__item img { width: 18px; height: 18px; border-radius: 50%; flex: none; background: var(--white); }
.ticker__item--brand img { width: 20px; height: 15px; border-radius: 0; background: none; }
.ticker__item .up { color: #5fe0a8; }
.ticker__item .down { color: #ff8a94; }
.ticker__item::after { content: "◆"; color: rgba(255, 255, 255, .3); font-size: .6em; margin-left: 2.2rem; }
@keyframes scroll { to { transform: translateX(-50%); } }

.nav { background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); position: relative; }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; font-family: "Raleway", sans-serif; font-weight: 600; color: var(--navy); font-size: 1.08rem; letter-spacing: .02em; }
.brand b { font-weight: 800; }
.nav__menu { display: flex; align-items: center; gap: 1.7rem; }
.nav__menu a:not(.btn) { text-decoration: none; font-weight: 500; color: var(--text); font-size: .95rem; }
.nav__menu a:not(.btn):hover { color: var(--accent); }
.nav__x { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); color: var(--navy) !important; }
.nav__x svg { width: 16px; height: 16px; fill: currentColor; }
.nav__x:hover { border-color: var(--navy); }
.nav__toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; }
.nav__toggle span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--navy); transition: transform .2s ease, top .2s ease; }
.nav__toggle span:first-child { top: 17px; }
.nav__toggle span:last-child { top: 25px; }
.nav--open .nav__toggle span:first-child { top: 21px; transform: rotate(45deg); }
.nav--open .nav__toggle span:last-child { top: 21px; transform: rotate(-45deg); }

/* Hero */
.hero { position: relative; padding: clamp(56px, 8vw, 100px) 0 clamp(64px, 8vw, 110px); overflow: hidden; background: linear-gradient(180deg, #f6f8fd 0%, var(--white) 100%); }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 70%);
  opacity: .7;
}
.hero__glow {
  position: absolute; width: 720px; height: 720px; right: -160px; top: -220px;
  background: radial-gradient(closest-side, rgba(43, 85, 199, .12), transparent);
  pointer-events: none;
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: .6em; margin: 0 0 1.4rem;
  padding: .45em 1em; border-radius: 999px; font-size: .85rem; font-weight: 600;
  border: 1px solid rgba(19, 40, 95, .2); background: var(--white); color: var(--navy);
}
.lead { font-size: 1.15rem; color: var(--muted); max-width: 34em; }
.lead strong { color: var(--navy); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2rem; }

/* Launch card: navy card on white page */
.launch {
  background: linear-gradient(180deg, #17306f, var(--navy-deep));
  color: var(--white); border-radius: 24px; padding: 26px;
  box-shadow: 0 30px 60px -28px rgba(11, 26, 66, .6);
}
.launch h2 { color: var(--white); }
.launch__head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.launch__head img { width: 64px; height: 64px; border-radius: 16px; object-fit: contain; background: var(--white); padding: 8px; flex: none; }
.launch__head > div { min-width: 0; }
.launch__head h2 { font-size: 1.15rem; margin: 0; overflow-wrap: anywhere; }
.launch__ticker { margin: 0; font-family: var(--mono); color: var(--muted-dark); font-weight: 600; }
.status { display: inline-flex; align-items: center; gap: .45em; margin-left: auto; font-size: .75rem; font-weight: 600; padding: .35em .8em; border-radius: 999px; background: rgba(255, 255, 255, .1); color: #7ff0bf; border: 1px solid rgba(127, 240, 191, .35); }
.launch .dot--green { background: #7ff0bf; }
.launch__rows { margin: 0 0 20px; }
.launch__rows > div { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line-dark); font-size: .93rem; }
.launch__rows dt { color: var(--muted-dark); }
.launch__rows dd { margin: 0; text-align: right; font-weight: 500; }
.launch__rows .ca dd { gap: 8px; }
.launch__rows a { color: var(--white); text-underline-offset: 3px; }
.launch .ca code { color: var(--muted-dark); }
.launch .copy { border-color: rgba(255, 255, 255, .45); color: var(--white); }
.launch .btn--gold { background: var(--white); color: var(--navy); box-shadow: none; }
.launch .btn--gold:hover { background: #e9eefb; }
.launch .btn--ghost { background: transparent; border-color: rgba(255, 255, 255, .45); color: var(--white); }
.launch .btn--ghost:hover { background: rgba(255, 255, 255, .1); }
.launch__alt { margin-top: 10px; }
.chain { display: inline-block; margin-left: .35em; padding: .05em .55em; border-radius: 6px; font-size: .72rem; font-weight: 600; letter-spacing: .03em; background: #e6ecfb; color: var(--navy); vertical-align: middle; }
.chain--sol { background: #efe7fd; color: #5b2bb5; }
.launch .chain { background: rgba(255, 255, 255, .14); color: var(--white); }

/* Sections */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--alt { background: var(--bg-alt); border-block: 1px solid var(--line); }
.section__head { max-width: 680px; margin-bottom: 3rem; }
.section__head p { color: var(--muted); font-size: 1.08rem; }
.section__head a { color: var(--navy); font-weight: 600; text-underline-offset: 3px; }
.section__head--center { margin-inline: auto; text-align: center; }
.soon-tag {
  display: inline-block; vertical-align: middle; font-family: "Inter", sans-serif;
  font-size: .8rem; font-weight: 600; letter-spacing: .04em; padding: .35em .9em; border-radius: 999px;
  background: rgba(255, 255, 255, .12); color: var(--white); border: 1px solid rgba(255, 255, 255, .35);
}

/* Dashboard: navy band */
#dashboard { background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%); color: var(--white); }
#dashboard h2, #dashboard h3 { color: var(--white); }
#dashboard .eyebrow { color: var(--white); }
#dashboard .eyebrow .line { background: var(--white); }
#dashboard .section__head p { color: var(--muted-dark); }
.dash { display: grid; gap: 20px; }
.dash__stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { background: rgba(255, 255, 255, .06); border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 22px; display: grid; gap: 4px; }
.stat__label { color: var(--muted-dark); font-size: .85rem; }
.stat__value { font-family: var(--mono); font-size: 1.9rem; font-weight: 600; color: var(--white); }
.stat__hint { font-size: .78rem; color: #7d89ab; }
.dash__panel { position: relative; background: rgba(255, 255, 255, .06); border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 22px; overflow: hidden; }
.dash__panel-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.dash__panel-head h3 { margin: 0; }
.live { display: inline-flex; align-items: center; gap: .5em; font-size: .82rem; color: var(--muted-dark); }
.live .dot { background: var(--white); }
.table { filter: blur(1.5px); opacity: .55; }
.table__row { display: grid; grid-template-columns: 1fr 2fr 1fr 1fr; gap: 14px; align-items: center; padding: 14px 6px; border-bottom: 1px solid var(--line-dark); font-family: var(--mono); font-size: .88rem; }
.table__row:last-child { border-bottom: 0; }
.table__row--head { color: var(--muted-dark); font-family: "Inter", sans-serif; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; }
.skeleton { height: 10px; border-radius: 6px; background: linear-gradient(90deg, rgba(255,255,255,.08), rgba(255,255,255,.22), rgba(255,255,255,.08)); background-size: 200% 100%; animation: shimmer 1.8s linear infinite; }
.skeleton--sm { width: 60%; }
@keyframes shimmer { to { background-position: -200% 0; } }
.tag { justify-self: start; font-size: .75rem; padding: .25em .7em; border-radius: 6px; background: rgba(255, 255, 255, .1); color: var(--muted-dark); }
.dash__overlay {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 6px; text-align: center; padding: 20px;
  background: radial-gradient(ellipse at center, rgba(11, 26, 66, .9), rgba(11, 26, 66, .4));
}
.dash__overlay img { margin-bottom: 6px; }
.dash__overlay strong { font-family: "Raleway", sans-serif; font-size: 1.4rem; color: var(--white); }
.dash__overlay span { color: var(--muted-dark); }

/* Cards / steps */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card, .steps li {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.card:hover, .steps li:hover { transform: translateY(-4px); border-color: var(--navy); box-shadow: var(--shadow); }
.card p, .steps p { color: var(--muted); margin: 0; }
.card__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--navy); margin-bottom: 1.2rem; }
.card__icon svg { width: 26px; height: 26px; fill: none; stroke: var(--white); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps__num { display: block; font-family: var(--mono); font-weight: 600; font-size: 2rem; color: var(--accent); margin-bottom: .6rem; }

/* Token */
.token { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.token__copy p { color: var(--muted); font-size: 1.08rem; }
.token__side { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.token__side .token__panel { grid-column: 1 / -1; }
.token__buy { justify-self: stretch; }
.token__panel { background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--navy); border-radius: 24px; padding: 10px 28px; box-shadow: var(--shadow); }
.token__panel dl { margin: 0; }
.token__panel dl > div { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.token__panel dl > div:last-child { border-bottom: 0; }
.token__panel dt { color: var(--muted); font-size: .92rem; }
.token__panel dd { margin: 0; font-weight: 600; color: var(--navy); text-align: right; overflow-wrap: anywhere; }
.token__panel a { color: var(--navy); text-underline-offset: 3px; }
.token__panel .gold { font-family: var(--mono); }
.ca dd { display: flex; align-items: center; gap: 10px; }
.ca code { font-family: var(--mono); font-size: .88rem; color: var(--muted); }
.token__panel .ca { flex-direction: column; align-items: stretch; gap: 8px; }
.token__panel .ca dd { justify-content: space-between; text-align: left; background: var(--bg-alt); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.token__panel .ca code { color: var(--navy); overflow-wrap: anywhere; }
.copy { flex: none; white-space: nowrap; border: 1px solid var(--navy); background: none; color: var(--navy); border-radius: 999px; padding: .3em .9em; cursor: pointer; font: inherit; font-size: .8rem; }
.copy:hover { background: var(--navy); color: var(--white); }
.launch .copy:hover { background: var(--white); color: var(--navy); }

/* Socials */
.socials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 900px; margin-inline: auto; }
.social {
  display: flex; align-items: center; gap: 16px; padding: 22px 24px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  text-decoration: none; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.social:not(.social--soon):hover { transform: translateY(-3px); border-color: var(--navy); box-shadow: var(--shadow); }
.social svg { width: 32px; height: 32px; flex: none; fill: var(--navy); color: var(--navy); }
.social svg[fill="none"] { fill: none; }
.social b { display: block; color: var(--navy); font-family: "Raleway", sans-serif; }
.social small { color: var(--muted); }
.social--soon { opacity: .5; cursor: default; }

/* Footer */
.footer { background: var(--navy-ink); color: var(--muted-dark); padding: 48px 0 36px; }
.footer .brand { color: var(--white); }
.footer__inner { display: grid; gap: 18px; justify-items: start; }
.footer__disclaimer { max-width: 720px; font-size: .88rem; margin: 0; }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0; font-size: .9rem; }
.footer__links a { color: var(--white); text-decoration: none; }
.footer__links a:hover { text-decoration: underline; }
.footer__copy { font-size: .82rem; margin: 0; color: #6f7a98; }

/* Responsive */
@media (max-width: 960px) {
  .dash__stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .hero__inner, .token { grid-template-columns: minmax(0, 1fr); }
  .launch { max-width: 520px; }
  .cards, .steps, .socials { grid-template-columns: 1fr; }
}
@media (max-width: 1120px) {
  .nav__toggle { display: block; }
  .nav__menu {
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--line);
    padding: 8px 16px 20px; display: none;
    max-height: calc(100vh - 108px); max-height: calc(100dvh - 108px);
    overflow-y: auto; overscroll-behavior: contain;
  }
  .nav--open .nav__menu { display: flex; }
  .nav__menu a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav__menu .btn { margin-top: 16px; }
  .nav__menu .nav__x { margin-top: 16px; width: 100%; height: 44px; border-radius: 999px; }
}
@media (max-width: 560px) {
  .table__row { grid-template-columns: 1fr 1fr 1fr; }
  .table__row > :nth-child(2) { display: none; }
  .stat__value { font-size: 1.5rem; }
  .launch { position: relative; padding-top: 56px; }
  .status { position: absolute; top: 20px; left: 26px; margin: 0; }
  .launch__head h2 { font-size: 1.05rem; }
  .hero__actions .btn { flex: 1; }
  .hero__actions .btn--gold { flex-basis: 100%; }
  .token__side { grid-template-columns: 1fr; }
}
@media (max-width: 360px) {
  .launch { padding-inline: 22px; }
  .status { left: 22px; }
  .launch__head img { width: 48px; height: 48px; padding: 6px; }
  .launch__head h2 { font-size: .95rem; }
  .token__panel { padding-inline: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
