/* ============================================================
   NVDA Doge — nvdge
   black + NVIDIA green, neon restrained to accents
   ============================================================ */

:root {
  --bg: #060806;
  --bg-alt: #090c08;
  --panel: #0c110a;
  --panel-2: #10160d;
  --line: #1c2417;
  --line-bright: #2c3a1f;
  --green: #76b900;
  --green-bright: #9be22d;
  --green-dim: #4c7a00;
  --text: #e8efe2;
  --muted: #97a28c;
  --font-head: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* faint engineering grid over the whole page */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(118, 185, 0, 0.030) 1px, transparent 1px),
    linear-gradient(90deg, rgba(118, 185, 0, 0.030) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
  z-index: 0;
}

main, .nav, .footer, .marquee { position: relative; z-index: 1; }

::selection { background: var(--green); color: #06130a; }

img { max-width: 100%; height: auto; display: block; }

a { color: var(--green-bright); text-decoration: none; }
a:hover { text-decoration: underline; }

:focus-visible {
  outline: 2px solid var(--green-bright);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow { max-width: 820px; }

/* ============ type ============ */

h1, h2, h3 {
  font-family: var(--font-head);
  line-height: 1.08;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.6rem, 6.5vw, 4.4rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 700; margin-bottom: 0.5em; }
h3 { font-size: 1.22rem; font-weight: 600; margin-bottom: 0.45em; }

.kicker {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--green);
  margin-bottom: 1rem;
}

.lede {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--muted);
  max-width: 34em;
}

.lede strong { color: var(--green-bright); font-weight: 600; }

.section-sub {
  color: var(--muted);
  margin-top: -0.4rem;
  margin-bottom: 2.4rem;
}

/* ============ nav ============ */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(6, 8, 6, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
}
.brand:hover { text-decoration: none; }

.brand-coin {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line-bright);
}

.brand-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  white-space: nowrap;
}

.brand-ticker {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--green);
  border: 1px solid var(--line-bright);
  border-radius: 999px;
  padding: 2px 9px;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  gap: 24px;
  margin-left: auto;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 500;
}
.nav-links a:hover { color: var(--green-bright); text-decoration: none; }

/* ============ buttons ============ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  padding: 13px 26px;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }

.btn-primary {
  background: var(--green);
  color: #0a1200;
  box-shadow: 0 0 0 rgba(118, 185, 0, 0);
}
.btn-primary:hover {
  background: var(--green-bright);
  box-shadow: 0 4px 28px rgba(118, 185, 0, 0.35);
}

.btn-ghost {
  border-color: var(--line-bright);
  color: var(--text);
}
.btn-ghost:hover {
  border-color: var(--green);
  color: var(--green-bright);
  box-shadow: 0 4px 24px rgba(118, 185, 0, 0.12);
}

.btn-small { padding: 9px 18px; font-size: 0.9rem; border-radius: 8px; }
.btn-big { padding: 16px 34px; font-size: 1.1rem; }

/* ============ hero ============ */

.hero {
  position: relative;
  padding: clamp(56px, 9vh, 110px) 0 clamp(48px, 7vh, 90px);
  overflow: hidden;
}

/* soft green wash behind hero */
.hero::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -12%;
  width: 65%;
  height: 130%;
  background: radial-gradient(closest-side, rgba(118, 185, 0, 0.13), transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  position: relative;
}

/* keep long unbreakable content (the CA) from inflating grid tracks */
.hero-grid > *, .lore-grid > * { min-width: 0; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--green-bright);
  border: 1px solid var(--line-bright);
  background: rgba(118, 185, 0, 0.06);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 26px;
}

.chip-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green-bright);
  box-shadow: 0 0 8px var(--green-bright);
  animation: pulse 2.2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.hero h1 { margin-bottom: 22px; }

.hero .lede { margin-bottom: 32px; }

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.hero-art { position: relative; }

.hero-img {
  border-radius: 22px;
  border: 1px solid var(--line-bright);
  box-shadow:
    0 0 60px rgba(118, 185, 0, 0.16),
    0 24px 60px rgba(0, 0, 0, 0.55);
}

/* ============ CA pill / block ============ */

.ca-pill, .ca-block {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 14px;
  max-width: 100%;
}

.ca-block {
  margin-top: 40px;
  padding: 16px 20px;
}

.ca-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--green);
  flex-shrink: 0;
}

.ca-value {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  flex: 1;
}

.copy-btn {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--green-bright);
  background: rgba(118, 185, 0, 0.08);
  border: 1px solid var(--line-bright);
  border-radius: 7px;
  padding: 6px 13px;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.copy-btn:hover { background: rgba(118, 185, 0, 0.16); border-color: var(--green); }
.copy-btn.copied { color: #0a1200; background: var(--green); border-color: var(--green); }

/* ============ marquee ============ */

.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-alt);
  overflow: hidden;
  padding: 13px 0;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: scroll 36s linear infinite;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  white-space: nowrap;
}

/* each group is one full copy of the strip; -50% lands exactly on the seam */
.marquee-group {
  display: flex;
  gap: 28px;
  padding-right: 28px;
}

.marquee-track .sep { color: var(--green-dim); }

@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============ sections ============ */

.section { padding: clamp(72px, 11vh, 120px) 0; }

.section-alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* ============ lore ============ */

.lore-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
  margin-top: 40px;
}

.lore-text p { margin-bottom: 1.2em; }
.lore-text em { color: var(--green-bright); font-style: normal; font-weight: 600; }

.lore-aside {
  color: var(--muted);
  font-size: 0.95rem;
}

/* the recreated launch form */
.form-mock {
  background: var(--panel);
  border: 1px solid var(--line-bright);
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 0 44px rgba(118, 185, 0, 0.10),
    0 20px 50px rgba(0, 0, 0, 0.5);
}

.form-mock-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--panel-2);
}

.form-mock-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line-bright);
}

.form-mock-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--muted);
  margin-left: 8px;
}

.form-mock-body { padding: 22px 22px 26px; }

.form-mock-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin: 16px 0 7px;
}
.form-mock-label:first-child { margin-top: 0; }

.form-mock-input {
  display: flex;
  align-items: center;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 11px 14px;
  font-family: var(--font-mono);
  font-size: 0.92rem;
}

.form-mock-input .placeholder { color: #707d66; }
.form-mock-input .filled { color: var(--text); }

.caret {
  width: 1.5px;
  height: 1.05em;
  background: var(--green-bright);
  margin-left: 2px;
  animation: blink 1.1s steps(1) infinite;
}

@keyframes blink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

.form-mock-btn {
  margin-top: 22px;
  text-align: center;
  font-family: var(--font-head);
  font-weight: 600;
  color: #0a1200;
  background: var(--green);
  border-radius: 9px;
  padding: 11px;
  opacity: 0.92;
}

.form-mock-caption {
  font-size: 0.85rem;
  color: var(--muted);
  padding: 14px 22px 18px;
  border-top: 1px solid var(--line);
}

/* ============ steps / stats ============ */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 44px;
}

.step, .buy-step {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px 24px;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.step:hover, .buy-step:hover {
  border-color: var(--line-bright);
  transform: translateY(-3px);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.4), 0 0 24px rgba(118, 185, 0, 0.07);
}

.step-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 14px;
}

.step p, .buy-step p {
  font-size: 0.95rem;
  color: var(--muted);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 44px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}

.stat-value {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--green-bright);
  line-height: 1.1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.88rem;
  color: var(--muted);
}

.footnote {
  margin-top: 36px;
  font-size: 0.85rem;
  color: var(--muted);
}

/* ============ buy ============ */

.buy-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 44px;
}

/* ============ faq ============ */

.faq-list { margin-top: 36px; }

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-list details[open] { border-color: var(--line-bright); }

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  list-style: none;
  padding: 19px 22px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.02rem;
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-icon {
  position: relative;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  background: var(--green);
  transition: transform 0.2s ease;
}
.faq-icon::before { top: 6px; left: 0; width: 14px; height: 2px; }
.faq-icon::after { top: 0; left: 6px; width: 2px; height: 14px; }

details[open] .faq-icon::after { transform: rotate(90deg); }

.faq-list details p {
  padding: 0 22px 20px;
  color: var(--muted);
  font-size: 0.97rem;
}

/* ============ final cta ============ */

.final-cta { text-align: center; }

.final-cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.final-coin {
  width: clamp(150px, 22vw, 210px);
  border-radius: 50%;
  border: 1px solid var(--line-bright);
  box-shadow: 0 0 70px rgba(118, 185, 0, 0.22);
}

.final-cta .lede { margin-bottom: 10px; }

/* ============ footer ============ */

.footer {
  border-top: 1px solid var(--line);
  background: var(--bg-alt);
  padding: 52px 0 40px;
}

.footer-grid {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

.footer-doge {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--green-dim);
  margin-top: 10px;
}

.footer-links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--muted);
  font-size: 0.94rem;
}
.footer-links a:hover { color: var(--green-bright); }

.footer-right { text-align: right; }

.footer-note {
  font-size: 0.82rem;
  color: #7d8873;
  margin-top: 10px;
}

.disclaimer {
  font-size: 0.82rem;
  line-height: 1.7;
  color: #7d8873;
  max-width: 62em;
  margin-bottom: 16px;
}

.copyright {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: #7d8873;
}

/* visually hidden, still read by screen readers */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ============ reveal on scroll ============ */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* ============ responsive ============ */

@media (max-width: 960px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 28px 18px; }
}

@media (max-width: 820px) {
  .nav-links { display: none; }
  .nav-inner > .btn { margin-left: auto; }

  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; max-width: 420px; }

  .lore-grid { grid-template-columns: 1fr; }
  .buy-steps { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .steps { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .brand-name { display: none; }
  .hero-actions .btn { flex: 1; }
  .nav-inner { gap: 12px; }
  .btn-small { padding: 8px 12px; font-size: 0.82rem; }
  .footer-right { text-align: left; }
}

/* ============ reduced motion ============ */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
  .chip-dot, .caret { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .step, .buy-step { transition: none; }
}
