:root {
  --navy: #0A1628;
  --asphalt: #141414;
  --panel-black: #0D0D0D;
  --red: #D62828;
  --red-bright: #FF3B3B;
  --off-white: #F5F1E8;
  --steel: #8B95A1;
  --steel-dim: #4A5361;
  --amber: #E3A93F;
  --gold: #F2C94C;
  --green-go: #2E9E4F;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--navy);
  color: var(--off-white);
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

h1, h2, h3, .display {
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.mono { font-family: 'Space Mono', monospace; }

a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
}

.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;
}

/* ===== Scroll reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Top bar ===== */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px clamp(20px, 5vw, 64px);
  background: linear-gradient(to bottom, rgba(10,22,40,0.95), rgba(10,22,40,0));
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.03em;
  text-decoration: none;
}

.logo-mark {
  height: 48px;
  width: auto;
  display: block;
  border-radius: 8px;
}

.topbar-cta {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: var(--red);
  color: var(--off-white);
  padding: 10px 20px;
  border-radius: 3px;
  border: 1.5px solid var(--gold);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}
.topbar-cta:hover { background: var(--red-bright); transform: translateY(-1px); }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 20px 80px;
  background:
    radial-gradient(ellipse 60% 45% at 50% 38%, rgba(227,169,63,0.14), transparent 70%),
    radial-gradient(ellipse 90% 60% at 50% 0%, rgba(214,40,40,0.15), transparent),
    linear-gradient(180deg, #05090F 0%, var(--navy) 45%, #05090F 100%);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(90deg, transparent 0 78px, rgba(245,241,232,0.035) 78px 82px);
  pointer-events: none;
}

/* light columns echoing the tree panel from the logo */
.light-column {
  position: absolute;
  top: 0;
  bottom: 90px;
  width: 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 26px;
  opacity: 0.55;
  pointer-events: none;
}
.light-column.left { left: clamp(20px, 8vw, 90px); }
.light-column.right { right: clamp(20px, 8vw, 90px); }

.light-column .dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--steel-dim);
  opacity: 0.4;
}
.light-column .dot.amber { background: var(--amber); box-shadow: 0 0 14px 3px rgba(227,169,63,0.55); animation: flicker 3.2s ease-in-out infinite; opacity: 1; }
.light-column .dot.amber:nth-child(2) { animation-delay: 0.4s; }
.light-column .dot.amber:nth-child(3) { animation-delay: 0.8s; }
.light-column .dot.green { background: var(--green-go); box-shadow: 0 0 16px 4px rgba(46,158,79,0.6); animation: flicker 3.2s ease-in-out infinite; animation-delay: 1.2s; opacity: 1; }
.light-column .dot.red { background: var(--red); box-shadow: 0 0 16px 4px rgba(214,40,40,0.5); opacity: 0.85; }

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

@media (max-width: 700px) {
  .light-column { display: none; }
}

/* asphalt texture strip at bottom of hero */
.hero::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 90px;
  background: var(--asphalt);
  clip-path: polygon(0 40%, 100% 0%, 100% 100%, 0% 100%);
}

.hero-logo-wrap {
  position: relative;
  z-index: 2;
}

.hero-logo-wrap::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 130%;
  height: 130%;
  background: radial-gradient(circle, rgba(227,169,63,0.25) 0%, rgba(227,169,63,0.08) 45%, transparent 75%);
  z-index: -1;
  filter: blur(10px);
}

.hero-logo {
  width: min(500px, 86vw);
  height: auto;
  display: block;
  filter: drop-shadow(0 25px 60px rgba(0,0,0,0.7));
}

.sr-only-heading {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

.eyebrow {
  font-family: 'Space Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 18px;
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: clamp(48px, 10vw, 108px);
  font-weight: 700;
  line-height: 0.95;
  color: var(--off-white);
  position: relative;
  z-index: 2;
  text-shadow: 0 0 40px rgba(214,40,40,0.3);
}

.hero h1 span {
  color: var(--red-bright);
}

.hero p.sub {
  max-width: 560px;
  margin: 32px auto 0;
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.6;
  color: var(--steel);
  position: relative;
  z-index: 2;
}

.hero-form {
  margin-top: 40px;
  position: relative;
  z-index: 2;
}

/* ===== Email form (shared style) ===== */
.signup-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 460px;
  margin: 0 auto;
}

.signup-form input[type="email"] {
  flex: 1 1 260px;
  padding: 16px 18px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  background: rgba(245,241,232,0.06);
  border: 1.5px solid var(--steel-dim);
  border-radius: 3px;
  color: var(--off-white);
}
.signup-form input[type="email"]::placeholder { color: var(--steel); }
.signup-form input[type="email"]:focus { border-color: var(--amber); outline: none; }

.signup-form button {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: var(--red);
  color: var(--off-white);
  padding: 16px 26px;
  border: 1.5px solid var(--gold);
  border-radius: 3px;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
  white-space: nowrap;
}
.signup-form button:hover { background: var(--red-bright); transform: translateY(-1px); }
.signup-form button:active { transform: translateY(0); }

.form-note {
  margin-top: 14px;
  font-size: 13px;
  color: var(--steel-dim);
  position: relative;
  z-index: 2;
}

.form-success {
  display: none;
  margin-top: 14px;
  font-family: 'Space Mono', monospace;
  font-size: 14px;
  color: var(--green-go);
}
.form-success.show { display: block; }

.form-error {
  display: none;
  margin-top: 14px;
  font-family: 'Space Mono', monospace;
  font-size: 13px;
  color: var(--red-bright);
}
.form-error.show { display: block; }

.signup-form button[disabled] {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

/* ===== Section shared ===== */
section {
  padding: 100px clamp(20px, 6vw, 64px);
  max-width: 1180px;
  margin: 0 auto;
}

.section-eyebrow {
  font-family: 'Space Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.15em;
  color: var(--red-bright);
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(30px, 4.5vw, 46px);
  font-weight: 600;
  max-width: 700px;
  line-height: 1.1;
}

/* ===== What it is ===== */
.what {
  background: var(--panel-black);
  border-radius: 4px;
  border-top: 3px solid var(--gold);
}

.what-inner {
  padding: 90px clamp(20px, 6vw, 72px);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: start;
}

.what-copy p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--steel);
  margin-top: 20px;
  max-width: 480px;
}

.track-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--steel-dim);
}

.track-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid var(--steel-dim);
  font-family: 'Space Mono', monospace;
  transition: padding-left 0.2s ease;
}
.track-item:hover {
  padding-left: 8px;
}

.track-item .label {
  font-size: 15px;
  color: var(--off-white);
}

.track-item .status {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 3px;
}

.status.live { background: rgba(46,158,79,0.15); color: var(--green-go); }
.status.soon { background: rgba(244,161,0,0.15); color: var(--amber); }

/* ===== Features ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--steel-dim);
  margin-top: 50px;
  border-radius: 4px;
  overflow: hidden;
}

.feature-card {
  background: var(--navy);
  padding: 40px 32px;
  transition: background 0.2s ease;
}
.feature-card:hover {
  background: #0F1D33;
}

.feature-num {
  font-family: 'Space Mono', monospace;
  font-size: 13px;
  color: var(--red-bright);
  margin-bottom: 24px;
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  text-transform: none;
  letter-spacing: 0;
}

.feature-card p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--steel);
}

/* ===== Final CTA ===== */
.final-cta {
  text-align: center;
  padding-top: 60px;
  padding-bottom: 60px;
}

.final-cta h2 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  margin-bottom: 16px;
}

.final-cta p {
  color: var(--steel);
  font-size: 17px;
  max-width: 480px;
  margin: 0 auto 36px;
}

/* ===== Footer ===== */
footer {
  border-top: 1px solid var(--steel-dim);
  padding: 40px clamp(20px, 6vw, 64px) 60px;
  max-width: 1180px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 30px;
}

.footer-logo {
  display: flex;
  align-items: center;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.03em;
}

.footer-logo img {
  height: 32px;
  width: auto;
  vertical-align: middle;
  margin-right: 10px;
  border-radius: 6px;
}

.footer-domain {
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  color: var(--steel-dim);
}

.footer-legal p {
  font-size: 12px;
  line-height: 1.7;
  color: var(--steel-dim);
  max-width: 900px;
}

.footer-legal p + p { margin-top: 10px; }

/* ===== Responsive ===== */
@media (max-width: 800px) {
  .what-inner { grid-template-columns: 1fr; gap: 40px; }
  .features-grid { grid-template-columns: 1fr; }
  .footer-top { flex-direction: column; align-items: flex-start; }
}

/* ===== 404 page ===== */
.notfound {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
  gap: 18px;
}
.notfound .code { color: var(--amber); letter-spacing: 0.15em; }
.notfound h1 { font-size: clamp(32px, 6vw, 56px); }
.notfound p { color: var(--steel); max-width: 440px; }
.notfound a.home {
  margin-top: 10px;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: var(--red);
  color: var(--off-white);
  padding: 14px 24px;
  border-radius: 3px;
  border: 1.5px solid var(--gold);
  text-decoration: none;
}
.notfound a.home:hover { background: var(--red-bright); }
