:root {
  color-scheme: dark;
  --space: #030711;
  --space-2: #08111f;
  --ink: #f8fbff;
  --muted: #aab8cc;
  --line: rgba(255, 255, 255, 0.14);
  --cyan: #27c7ff;
  --blue: #1274ff;
  --gold: #ffbf38;
  --orange: #ff7a24;
  --panel: rgba(7, 17, 31, 0.72);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
}

@font-face {
  font-family: "Spaceline";
  src: url("assets/fonts/spaceline.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Nexa";
  src: url("assets/fonts/nexa-extralight.ttf") format("truetype");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "Nexa";
  src: url("assets/fonts/nexa-heavy.ttf") format("truetype");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 24%, rgba(39, 199, 255, 0.12) 0 1px, transparent 2px),
    radial-gradient(circle at 74% 16%, rgba(255, 191, 56, 0.14) 0 1px, transparent 2px),
    linear-gradient(180deg, #02050d 0%, #08111f 45%, #02050d 100%);
  background-size: 120px 120px, 180px 180px, auto;
  font-family: "Nexa", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 300;
  letter-spacing: 0;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(circle at 16% 18%, rgba(255, 255, 255, 0.5) 0 1px, transparent 2px),
    radial-gradient(circle at 84% 32%, rgba(39, 199, 255, 0.45) 0 1px, transparent 2px),
    radial-gradient(circle at 50% 72%, rgba(255, 191, 56, 0.35) 0 1px, transparent 2px);
  background-size: 220px 180px, 260px 240px, 310px 280px;
  opacity: 0.35;
}

button {
  font: inherit;
}

.meteor-field {
  position: fixed;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  pointer-events: none;
}

.meteor-field span {
  position: absolute;
  top: -16vh;
  left: var(--x);
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  background: #fff7d0;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.9), 0 0 28px rgba(255, 191, 56, 0.42);
  opacity: 0;
  transform: translate3d(0, 0, 0) rotate(135deg);
  animation: meteor-fall var(--duration) linear infinite;
  animation-delay: var(--delay);
}

.meteor-field span::after {
  position: absolute;
  top: 50%;
  right: 1px;
  width: clamp(90px, 12vw, 170px);
  height: 1px;
  content: "";
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(39, 199, 255, 0.36), rgba(255, 247, 208, 0.9));
  transform: translateY(-50%);
  transform-origin: right center;
}

@keyframes meteor-fall {
  0% {
    opacity: 0;
    transform: translate3d(0, 0, 0) rotate(135deg);
  }

  8% {
    opacity: 0.9;
  }

  56%,
  100% {
    opacity: 0;
    transform: translate3d(-46vw, 118vh, 0) rotate(135deg);
  }
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 16px;
  left: 50%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  width: min(1160px, calc(100% - 32px));
  min-height: 58px;
  padding: 8px 10px;
  border: 1px solid rgba(39, 199, 255, 0.28);
  border-radius: 2px;
  background: rgba(3, 7, 17, 0.62);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28), inset 0 0 22px rgba(39, 199, 255, 0.08);
  backdrop-filter: blur(18px);
  clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px);
  transform: translateX(-50%);
}

.site-header::before {
  position: absolute;
  inset: 0;
  content: "";
  border: 1px solid rgba(255, 191, 56, 0.18);
  clip-path: polygon(18px 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%, 0 18px);
  pointer-events: none;
}

main,
.site-footer {
  position: relative;
}

.hero-content,
.section-inner,
.site-footer span {
  position: relative;
  z-index: 4;
}

.brand,
.nav-actions button,
.nav-cta,
.button {
  min-height: 42px;
  border: 0;
  border-radius: 2px;
  color: var(--ink);
  cursor: pointer;
}

.brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  background: transparent;
  font-family: "Spaceline", "Nexa", ui-sans-serif, system-ui, sans-serif;
  font-weight: 400;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid rgba(255, 191, 56, 0.56);
  border-radius: 50%;
  color: #111;
  background: linear-gradient(145deg, #ffe08b, var(--gold) 62%, #e66e16);
  box-shadow: 0 0 30px rgba(255, 191, 56, 0.32);
}

.nav-actions {
  display: flex;
  justify-content: center;
  gap: 4px;
}

.nav-actions button {
  position: relative;
  padding: 0 12px;
  background: transparent;
  color: var(--muted);
  overflow: hidden;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}

.nav-actions button:hover,
.brand:hover {
  color: #fff;
  background: rgba(39, 199, 255, 0.1);
  box-shadow: inset 0 0 0 1px rgba(39, 199, 255, 0.26);
}

.nav-cta,
.button.primary {
  position: relative;
  overflow: hidden;
  padding: 0 18px;
  color: #06101f;
  background:
    linear-gradient(90deg, transparent 0 8px, rgba(255, 255, 255, 0.55) 8px 10px, transparent 10px),
    linear-gradient(135deg, #f9f7ef, var(--gold) 54%, var(--orange));
  font-weight: 800;
  box-shadow: 0 12px 34px rgba(255, 122, 36, 0.26), 0 0 0 1px rgba(255, 224, 139, 0.34);
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
}

.nav-cta::after,
.button.primary::after,
.button.ghost::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(105deg, transparent 0 34%, rgba(255, 255, 255, 0.42) 47%, transparent 60%);
  opacity: 0;
  transform: translateX(-120%);
  transition: transform 0.42s ease, opacity 0.42s ease;
}

.nav-cta:hover::after,
.button.primary:hover::after,
.button.ghost:hover::after {
  opacity: 1;
  transform: translateX(120%);
}

.hero {
  position: relative;
  display: grid;
  min-height: 88svh;
  overflow: hidden;
  align-items: end;
  padding: 122px max(22px, calc((100vw - 1160px) / 2)) 46px;
  background-image: url("assets/hero-doge-space.png");
  background-position: center center;
  background-size: cover;
  isolation: isolate;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(2, 5, 13, 0.86) 0%, rgba(2, 5, 13, 0.44) 34%, rgba(2, 5, 13, 0.08) 76%),
    linear-gradient(0deg, rgba(2, 5, 13, 0.96) 0%, rgba(2, 5, 13, 0.34) 31%, rgba(2, 5, 13, 0.06) 100%);
}

.hero-content {
  width: min(620px, 100%);
  min-width: 0;
  padding-bottom: 72px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 10ch;
  margin-bottom: 10px;
  font-family: "Spaceline", "Nexa", ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(2.9rem, 7.6vw, 6.2rem);
  font-weight: 400;
  line-height: 0.88;
  letter-spacing: 0;
  text-shadow: 0 12px 44px rgba(0, 0, 0, 0.48);
}

h1 span {
  display: block;
}

h2 {
  max-width: 780px;
  margin-bottom: 18px;
  font-size: clamp(2rem, 4.6vw, 4.2rem);
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.12;
}

p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.hero-kicker {
  margin-bottom: 16px;
  color: #fff;
  font-size: clamp(1.25rem, 3vw, 2.1rem);
  font-weight: 800;
  line-height: 1.08;
}

.hero-copy {
  max-width: 640px;
  color: #dbe7f6;
  font-size: clamp(1rem, 1.7vw, 1.2rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 154px;
  padding: 0 20px;
  text-align: center;
  text-decoration: none;
  overflow: hidden;
}

.button.ghost {
  border: 1px solid rgba(39, 199, 255, 0.38);
  background:
    linear-gradient(90deg, rgba(39, 199, 255, 0.18), transparent 18px),
    rgba(255, 255, 255, 0.08);
  color: #fff;
  box-shadow: inset 0 0 18px rgba(39, 199, 255, 0.1), 0 0 0 1px rgba(255, 255, 255, 0.06);
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
}

.button.ghost:hover {
  border-color: rgba(255, 191, 56, 0.62);
  background:
    linear-gradient(90deg, rgba(255, 191, 56, 0.18), transparent 18px),
    rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 0 24px rgba(255, 191, 56, 0.12), 0 0 24px rgba(39, 199, 255, 0.18);
}

.button.social {
  min-width: 128px;
  border: 1px solid rgba(39, 199, 255, 0.32);
  color: #ecf8ff;
  background:
    linear-gradient(90deg, rgba(39, 199, 255, 0.2), transparent 22px),
    rgba(2, 9, 20, 0.62);
  box-shadow: inset 0 0 18px rgba(39, 199, 255, 0.12), 0 0 0 1px rgba(255, 255, 255, 0.04);
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
}

.button.social:hover {
  border-color: rgba(255, 191, 56, 0.58);
  color: #fff;
  background:
    linear-gradient(90deg, rgba(255, 191, 56, 0.18), transparent 22px),
    rgba(2, 9, 20, 0.78);
  box-shadow: inset 0 0 22px rgba(255, 191, 56, 0.12), 0 0 28px rgba(39, 199, 255, 0.18);
}

.button.inert {
  color: rgba(255, 255, 255, 0.62);
  cursor: default;
}

.contract-panel span,
.timeline span,
.feature-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--cyan);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.section {
  position: relative;
  padding: 92px 22px;
}

.section-inner {
  width: min(1160px, 100%);
  margin: 0 auto;
}

.two-column,
.contract-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: clamp(30px, 6vw, 76px);
  align-items: center;
}

.mission-band,
.roadmap-band {
  background:
    linear-gradient(180deg, rgba(8, 17, 31, 0.96), rgba(3, 7, 17, 0.96)),
    linear-gradient(90deg, rgba(39, 199, 255, 0.08), transparent 60%);
}

.logo-orbit {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 460px;
}

.logo-orbit::before,
.logo-orbit::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(39, 199, 255, 0.24);
  border-radius: 50%;
}

.logo-orbit::before {
  width: min(440px, 88vw);
  aspect-ratio: 1;
}

.logo-orbit::after {
  width: min(540px, 96vw);
  aspect-ratio: 1;
  border-color: rgba(255, 191, 56, 0.18);
}

.logo-orbit img {
  position: relative;
  z-index: 1;
  width: min(350px, 78vw);
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.55), 0 0 70px rgba(39, 199, 255, 0.24);
}

.section-heading {
  margin-bottom: 34px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-card,
.timeline article,
.faq-item,
.contract-panel {
  position: relative;
  border: 1px solid rgba(39, 199, 255, 0.24);
  border-radius: 2px;
  background:
    linear-gradient(135deg, rgba(39, 199, 255, 0.12), transparent 24px),
    linear-gradient(315deg, rgba(255, 191, 56, 0.08), transparent 28px),
    var(--panel);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.2), inset 0 0 30px rgba(39, 199, 255, 0.06);
  clip-path: polygon(18px 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%, 0 18px);
}

.feature-card::before,
.timeline article::before,
.faq-item::before,
.contract-panel::before {
  position: absolute;
  top: 0;
  left: 24px;
  width: 64px;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, var(--cyan), transparent);
  box-shadow: 0 0 18px rgba(39, 199, 255, 0.6);
}

.feature-card {
  min-height: 260px;
  padding: 26px;
}

.token-band,
.faq-band {
  background:
    radial-gradient(circle at 70% 8%, rgba(255, 191, 56, 0.09) 0 1px, transparent 2px),
    linear-gradient(180deg, #02050d, #07111f 55%, #02050d);
  background-size: 150px 150px, auto;
}

.timeline {
  display: grid;
  gap: 16px;
}

.timeline article {
  display: grid;
  grid-template-columns: 140px 180px 1fr;
  gap: 18px;
  align-items: center;
  min-height: 126px;
  padding: 24px 26px;
}

.timeline h3,
.timeline p {
  margin-bottom: 0;
}

.contract-band {
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(18, 116, 255, 0.16), transparent 52%),
    linear-gradient(180deg, #07111f, #02050d);
}

.contract-panel {
  min-height: 270px;
  padding: 30px;
}

.contract-panel strong {
  display: block;
  margin: 22px 0 28px;
  padding: 18px;
  border: 1px dashed rgba(39, 199, 255, 0.38);
  border-radius: 2px;
  color: #fff;
  background:
    repeating-linear-gradient(90deg, rgba(39, 199, 255, 0.07) 0 1px, transparent 1px 10px),
    rgba(0, 0, 0, 0.28);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: clamp(1.3rem, 3vw, 2.2rem);
}

.button.disabled {
  width: 100%;
  color: rgba(255, 255, 255, 0.52);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.11), transparent 20px),
    rgba(255, 255, 255, 0.08);
  cursor: not-allowed;
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  overflow: hidden;
}

.faq-item button {
  display: grid;
  grid-template-columns: 1fr 32px;
  align-items: center;
  width: 100%;
  min-height: 72px;
  padding: 18px 22px;
  border: 0;
  background: transparent;
  color: #fff;
  text-align: left;
  cursor: pointer;
}

.faq-item button span:first-child {
  font-size: 1rem;
  font-weight: 800;
}

.faq-icon {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid rgba(39, 199, 255, 0.44);
  border-radius: 2px;
  color: var(--gold);
  background: rgba(39, 199, 255, 0.08);
  box-shadow: inset 0 0 12px rgba(39, 199, 255, 0.14);
  clip-path: polygon(7px 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%, 0 7px);
}

.faq-item p {
  max-width: 820px;
  margin: -4px 22px 22px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px 26px;
  padding: 34px 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: #02050d;
}

.site-footer span:first-child {
  color: #fff;
  font-family: "Spaceline", "Nexa", ui-sans-serif, system-ui, sans-serif;
  font-weight: 400;
}

.site-footer a,
.site-footer button {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(39, 199, 255, 0.28);
  border-radius: 2px;
  color: #dff6ff;
  background: rgba(39, 199, 255, 0.08);
  font: inherit;
  text-decoration: none;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}

.site-footer a {
  display: inline-flex;
  align-items: center;
}

.site-footer button {
  color: rgba(255, 255, 255, 0.58);
  cursor: default;
}

.site-footer a:hover {
  border-color: rgba(255, 191, 56, 0.58);
  color: #fff;
  background: rgba(255, 191, 56, 0.1);
}

@media (max-width: 860px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-actions {
    display: none;
  }

  .hero {
    min-height: 92svh;
    background-position: 58% center;
  }

  .hero-content {
    padding-bottom: 144px;
  }

  .two-column,
  .contract-layout,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .logo-orbit {
    min-height: 360px;
  }

  .timeline article {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

@media (max-width: 540px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
    gap: 8px;
  }

  .brand {
    padding: 0 8px;
    font-size: 0.86rem;
  }

  .nav-cta {
    padding: 0 12px;
  }

  .hero {
    padding-top: 100px;
    padding-bottom: 28px;
  }

  h1 {
    max-width: 7ch;
    font-size: clamp(3rem, 15vw, 3.8rem);
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .section {
    padding: 68px 18px;
  }

  .feature-card {
    min-height: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .meteor-field span {
    animation: none;
    opacity: 0.18;
  }
}
