/* ─── RoboFrog — industrial chrome ────────────────────────────────────── */
:root {
  --graphite: #1a1d21;
  --graphite-2: #121417;
  --panel: #22262b;
  --panel-2: #2b3037;
  --line: #343a42;
  --steel-hi: #e6e9ee;
  --steel-mid: #9aa3ad;
  --steel-lo: #6c7580;
  --orange: #ff6a00;
  --orange-hi: #ff9a4d;
  --text: #e8eaed;
  --muted: #8b929b;
  --steel-grad: linear-gradient(180deg, #eef1f5 0%, #b3bbc5 40%, #7d8792 60%, #c8ced6 100%);
  --steel-grad-h: linear-gradient(90deg, #6c7580 0%, #dfe4ea 50%, #6c7580 100%);
  --orange-grad: linear-gradient(180deg, #ff9a4d, #ff6a00);
  --display: "Rajdhani", "Barlow", sans-serif;
  --body: "Barlow", system-ui, sans-serif;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  overflow-x: hidden;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(255, 106, 0, .10), transparent 60%),
    repeating-linear-gradient(0deg, transparent 0 39px, rgba(255, 255, 255, .025) 39px 40px),
    repeating-linear-gradient(90deg, transparent 0 39px, rgba(255, 255, 255, .025) 39px 40px),
    var(--graphite);
}
a { color: var(--orange-hi); text-decoration: none; }
code { font-family: "SFMono-Regular", Menlo, Consolas, monospace; font-size: .9em; color: var(--steel-hi); background: var(--graphite-2); padding: .1em .4em; border-radius: 3px; border: 1px solid var(--line); }
.display { font-family: var(--display); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; line-height: 1; margin: 0; }
h2.display { font-size: clamp(2rem, 4.5vw, 3.2rem); }
h3 { font-family: var(--display); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin: 0 0 .4rem; font-size: 1.25rem; }
p { margin: 0 0 1rem; }
section { max-width: var(--max); margin: 0 auto; padding: 5rem 1.5rem; }

/* ─── Buttons ─────────────────────────────────────────────────────────── */
.btn {
  display: inline-block; font-family: var(--display); font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; padding: .85rem 1.6rem; border-radius: 4px; border: 2px solid transparent;
  cursor: pointer; font-size: 1rem; transition: transform .12s ease, box-shadow .12s ease;
}
.btn:active { transform: translateY(1px); }
.btn-orange { background: var(--orange-grad); color: #1a1d21; box-shadow: 0 0 0 2px #0d0f11, 0 6px 22px rgba(255, 106, 0, .35); }
.btn-orange:hover { box-shadow: 0 0 0 2px #0d0f11, 0 8px 30px rgba(255, 106, 0, .55); }
.btn-steel { background: var(--steel-grad); color: #1a1d21; box-shadow: 0 0 0 2px #0d0f11; }
.btn-outline { background: transparent; color: var(--steel-hi); border-color: var(--steel-lo); }
.btn-outline:hover { border-color: var(--steel-hi); }
.btn-sm { padding: .4rem .9rem; font-size: .85rem; }

/* ─── Nav ─────────────────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .8rem 1.5rem;
  background: linear-gradient(180deg, rgba(34, 38, 43, .96), rgba(26, 29, 33, .96));
  border-bottom: 2px solid #0d0f11;
  box-shadow: 0 1px 0 var(--line), 0 8px 24px rgba(0, 0, 0, .4);
}
.brand { display: flex; align-items: center; gap: .6rem; color: var(--text); }
.brand-mark { width: 34px; height: 34px; }
.brand-name { font-family: var(--display); font-weight: 700; font-size: 1.35rem; letter-spacing: .1em; }
.brand-name span { color: var(--orange); }
.nav-toggle {
  display: none; background: transparent; color: var(--orange); border: 1px solid var(--line);
  font-size: 1.2rem; line-height: 1; padding: 4px 10px; cursor: pointer; border-radius: 3px;
}
.nav-links { display: flex; gap: 1.6rem; align-items: center; }
.nav-links a { font-family: var(--display); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-size: .95rem; }
.nav-links a:hover { color: var(--steel-hi); }

/* ─── Hero ────────────────────────────────────────────────────────────── */
.hero {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 3rem; align-items: center;
  padding-top: 4.5rem; padding-bottom: 4rem;
}
.tag-row { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.2rem; }
.tag {
  font-family: var(--display); font-weight: 600; letter-spacing: .16em; font-size: .78rem;
  padding: .3rem .7rem; border: 1px solid var(--line); border-radius: 3px; color: var(--muted); background: var(--graphite-2);
}
.tag-orange { color: var(--orange-hi); border-color: rgba(255, 106, 0, .5); }
h1.display {
  font-size: clamp(3.4rem, 9vw, 6.4rem);
  background: var(--steel-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 0 #0d0f11);
}
h1 .accent { background: var(--orange-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ticker { font-family: var(--display); font-weight: 600; font-size: 1.6rem; letter-spacing: .3em; color: var(--orange); margin: .4rem 0 1rem; }
.hook { font-size: 1.3rem; max-width: 34rem; color: #cfd4da; }
.hook strong { color: var(--steel-hi); }

.ca-box {
  margin: 1.6rem 0 1.4rem; padding: .9rem 1rem;
  background: var(--panel); border: 1px solid var(--line); border-left: 4px solid var(--orange); border-radius: 4px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}
.ca-label { font-family: var(--display); font-weight: 600; letter-spacing: .2em; font-size: .75rem; color: var(--muted); margin-bottom: .3rem; }
.ca-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
#contractAddr { font-family: "SFMono-Regular", Menlo, Consolas, monospace; font-size: .95rem; color: var(--steel-hi); word-break: break-all; }

.cta-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 1.8rem; }
.spec-strip { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.spec-strip li { background: var(--graphite-2); padding: .8rem .6rem; text-align: center; display: flex; flex-direction: column; }
.spec-strip b { font-family: var(--display); font-size: 1.6rem; font-weight: 700; color: var(--orange-hi); line-height: 1; }
.spec-strip span { font-size: .8rem; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; margin-top: .3rem; }

/* ─── Frog art + piston animation ──────────────────────────────────────── */
.hero-art { display: flex; justify-content: center; }
.frog { width: 100%; max-width: 440px; height: auto; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .55)); }
.frog .body { animation: bob 2.4s ease-in-out infinite; transform-origin: 210px 240px; }
.frog .piston-rod { animation: piston 2.4s ease-in-out infinite; }
.frog .leg-right .piston-rod { animation-delay: -1.2s; }
.frog .leg-right ~ .body { animation-delay: 0s; }
.frog .eye { animation: optic 4s ease-in-out infinite; }
.frog .exhaust circle { animation: puff 2.4s ease-out infinite; transform-origin: center; }
.frog .exhaust circle:nth-child(2) { animation-delay: -1.2s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
@keyframes piston { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(8px); } }
@keyframes optic { 0%, 90%, 100% { opacity: 1; } 95% { opacity: .35; } }
@keyframes puff { 0% { transform: translateY(0) scale(1); opacity: .7; } 100% { transform: translateY(-40px) scale(2.2); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .frog * { animation: none !important; } }

/* ─── Sections ────────────────────────────────────────────────────────── */
.section-head { margin-bottom: 2.4rem; }
.eyebrow { font-family: var(--display); font-weight: 600; letter-spacing: .3em; font-size: .8rem; color: var(--orange); display: block; margin-bottom: .5rem; }
.lede { max-width: 46rem; color: #c3c9d0; font-size: 1.1rem; margin-top: .8rem; }

/* ─── Gauge ───────────────────────────────────────────────────────────── */
.gauge-section { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.gauge-wrap { display: grid; grid-template-columns: 360px 1fr; gap: 3rem; align-items: center; }
.gauge { width: 100%; max-width: 360px; }
.gauge-svg { width: 100%; height: auto; filter: drop-shadow(0 12px 30px rgba(0, 0, 0, .5)); }
#gaugeFill { transition: stroke-dashoffset 1.2s cubic-bezier(.2, .8, .2, 1); }
.gauge-big { font-family: var(--display); font-weight: 700; font-size: 56px; fill: var(--orange-hi); letter-spacing: 1px; }
.gauge-sub { font-family: var(--display); font-weight: 600; font-size: 13px; fill: #9aa3ad; letter-spacing: 3px; }
.gauge-sub2 { font-family: var(--body); font-size: 12px; fill: #6c7580; }
.gauge-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.stat-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: 4px; padding: 1rem 1.1rem;
  display: flex; flex-direction: column; gap: .3rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 4px 14px rgba(0, 0, 0, .3);
}
.stat-card::before { content: ""; display: block; width: 28px; height: 3px; background: var(--steel-grad-h); margin-bottom: .3rem; border-radius: 2px; }
.stat-orange::before { background: var(--orange-grad); }
.stat-label { font-family: var(--display); font-weight: 600; letter-spacing: .18em; font-size: .72rem; color: var(--muted); }
.stat-value { font-family: var(--display); font-weight: 700; font-size: 1.45rem; color: var(--steel-hi); }
.stat-orange .stat-value { color: var(--orange-hi); }

/* ─── Fuel log ────────────────────────────────────────────────────────── */
.fuel-log { margin-top: 3rem; display: flex; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; background: var(--graphite-2); }
.fuel-log-head {
  flex: 0 0 auto; padding: .7rem 1rem; font-family: var(--display); font-weight: 700; letter-spacing: .2em; font-size: .8rem;
  color: #1a1d21; background: var(--orange-grad); display: flex; align-items: center;
}
.fuel-track { flex: 1; overflow: hidden; position: relative; }
.fuel-track::before, .fuel-track::after { content: ""; position: absolute; top: 0; bottom: 0; width: 60px; z-index: 1; pointer-events: none; }
.fuel-track::before { left: 0; background: linear-gradient(90deg, var(--graphite-2), transparent); }
.fuel-track::after { right: 0; background: linear-gradient(270deg, var(--graphite-2), transparent); }
.fuel-items { display: inline-flex; white-space: nowrap; animation: scroll 40s linear infinite; }
.fuel-items:hover { animation-play-state: paused; }
.fuel-item { display: inline-flex; align-items: center; gap: .6rem; padding: .7rem 1.4rem; border-right: 1px solid var(--line); font-size: .9rem; }
.fuel-item .k { font-family: var(--display); font-weight: 700; letter-spacing: .12em; font-size: .78rem; padding: .1rem .45rem; border-radius: 2px; }
.k-buy { background: rgba(255, 106, 0, .18); color: var(--orange-hi); }
.k-sell { background: rgba(154, 163, 173, .18); color: var(--steel-hi); }
.k-hop { background: rgba(255, 255, 255, .06); color: var(--muted); }
.fuel-item .w { font-family: "SFMono-Regular", Menlo, Consolas, monospace; color: var(--muted); }
.fuel-item .a { font-family: var(--display); font-weight: 600; color: var(--orange-hi); letter-spacing: .04em; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ─── How it works ────────────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-bottom: 2.4rem; }
.step {
  position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: 4px; padding: 1.6rem 1.4rem 1.4rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}
.step::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--steel-grad-h); }
.step-num { font-family: var(--display); font-weight: 700; font-size: 2.4rem; color: var(--orange); line-height: 1; margin-bottom: .6rem; }
.step p { margin: 0; color: #c3c9d0; }
.example { background: var(--graphite-2); border: 1px solid var(--line); border-radius: 4px; padding: 1.4rem; }
.example-head { font-family: var(--display); font-weight: 700; letter-spacing: .2em; font-size: .8rem; color: var(--muted); margin-bottom: .8rem; }
.example-table { width: 100%; border-collapse: collapse; margin-bottom: 1rem; }
.example-table td { padding: .55rem .4rem; border-bottom: 1px solid var(--line); }
.example-table td:first-child { color: var(--muted); width: 40%; font-family: var(--display); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: .9rem; }
.example-table td:last-child { font-family: var(--display); font-weight: 600; font-size: 1.1rem; color: var(--steel-hi); }
.example-table tr.orange td:last-child { color: var(--orange-hi); }
.fine { font-size: .95rem; color: var(--muted); margin: 0; }

/* ─── Tokenomics ──────────────────────────────────────────────────────── */
.spec-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 4px; }
.spec-table { width: 100%; border-collapse: collapse; background: var(--panel); }
.spec-table th, .spec-table td { padding: .9rem 1.1rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { font-family: var(--display); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-size: .85rem; color: var(--muted); width: 32%; background: var(--graphite-2); }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }

/* ─── How to buy ──────────────────────────────────────────────────────── */
.buy-steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.buy-steps li { counter-increment: s; background: var(--panel); border: 1px solid var(--line); border-radius: 4px; padding: 1.4rem 1.4rem 1.2rem 4.2rem; position: relative; }
.buy-steps li::before {
  content: counter(s, decimal-leading-zero); position: absolute; left: 1.1rem; top: 1.2rem;
  font-family: var(--display); font-weight: 700; font-size: 1.6rem; color: #1a1d21;
  background: var(--steel-grad); padding: .1rem .4rem; border-radius: 3px; line-height: 1.2; box-shadow: 0 0 0 2px #0d0f11;
}
.buy-steps p { margin: 0; color: #c3c9d0; }

/* ─── Roadmap ─────────────────────────────────────────────────────────── */
.phases { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.phase { background: var(--panel); border: 1px solid var(--line); border-radius: 4px; padding: 1.4rem; position: relative; overflow: hidden; }
.phase::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: var(--orange-grad); }
.phase-tag { font-family: var(--display); font-weight: 600; letter-spacing: .2em; font-size: .75rem; color: var(--orange); margin-bottom: .3rem; }
.phase ul { margin: 0; padding-left: 1.1rem; color: #c3c9d0; font-size: .95rem; }
.phase li { margin-bottom: .35rem; }

/* ─── Footer ──────────────────────────────────────────────────────────── */
.footer { border-top: 2px solid #0d0f11; box-shadow: inset 0 1px 0 var(--line); padding: 3rem 1.5rem; text-align: center; background: var(--graphite-2); }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.6rem; margin-bottom: 1.6rem; }
.footer-links a { font-family: var(--display); font-weight: 700; letter-spacing: .18em; color: var(--steel-mid); font-size: .9rem; }
.footer-links a:hover { color: var(--orange-hi); }
.disclaimer { max-width: 44rem; margin: 0 auto 1rem; color: var(--muted); font-size: .9rem; }
.copy { color: #5b6570; font-size: .85rem; margin: 0; }

/* ─── Responsive ──────────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; text-align: left; }
  .hero-art { order: -1; }
  .frog { max-width: 320px; }
  .gauge-wrap { grid-template-columns: 1fr; }
  .gauge { margin: 0 auto; }
  .gauge-stats { grid-template-columns: repeat(2, 1fr); }
  .steps, .phases { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  section { padding: 3.5rem 1.1rem; }
  .nav { flex-wrap: wrap; gap: 10px; }
  .nav-toggle { display: inline-block; margin-left: auto; }
  .nav-links {
    display: none; width: 100%; order: 3; gap: 12px; margin: 0; padding-top: 8px;
    flex-direction: column; align-items: flex-start;
  }
  .nav-links.is-open { display: flex; }
  .nav-cta { padding: .6rem 1rem; font-size: .85rem; margin-left: 0; }
  .spec-strip { grid-template-columns: repeat(2, 1fr); }
  .steps, .phases, .buy-steps, .gauge-stats { grid-template-columns: 1fr; }
  .ca-row { flex-direction: column; align-items: flex-start; }
  .hook { font-size: 1.15rem; }
  .gauge-big { font-size: 48px; }
}

/* ── Launch polish: TBA / disabled outbound links (pre-deploy) ── */
a.link-tba,
a[aria-disabled="true"] {
  opacity: 0.92;
  cursor: not-allowed;
  text-decoration: none;
  pointer-events: none;
  position: relative;
}
.link-tba.btn,
.link-tba.btn-orange,
.link-tba.btn-primary,
.link-tba.btn-nav,
.link-tba.nav-cta,
.link-tba.nav__cta,
a.link-tba.btn,
a.btn.link-tba {
  opacity: 1;
  box-shadow: none;
  filter: none;
}
.chain-tba-badge {
  display: inline-block;
  margin: 0.55rem 0 0.25rem;
  padding: 0.35rem 0.75rem;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  border: 1px dashed currentColor;
  border-radius: 999px;
  opacity: 0.9;
  max-width: 100%;
}
.kit-chain-note {
  font-size: 0.85rem;
  opacity: 0.82;
  margin: 0.4rem 0 1rem;
  max-width: 70ch;
}
