:root {
  --bg: #0f1a0f;
  --card: #1a281a;
  --card-border: #27392a;
  --text: #f5f5f5;
  --text-muted: #b9c4b9;
  --accent: #bce43a;
  --accent-dark: #0f1a0f;
  --font-body: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-head: "Barlow Condensed", -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.5;
}

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

a { color: inherit; text-decoration: none; }

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

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: rgba(15, 26, 15, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav__logo img { height: 48px; width: auto; }

.nav__cta-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  opacity: 0.85;
}
.nav__links a:hover { opacity: 1; color: var(--accent); }

.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 12px 24px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 15px;
}
.btn--accent { background: var(--accent); color: #0f1a0f; }
.btn--accent:hover { filter: brightness(1.08); }

.nav__links-cta { display: none; }

.nav__toggle {
  display: none;
  background: var(--accent);
  border: none;
  border-radius: 999px;
  cursor: pointer;
  width: 48px;
  height: 48px;
  padding: 0;
  position: relative;
  flex-shrink: 0;
  transition: filter 0.2s ease;
}
.nav__toggle:hover { filter: brightness(1.08); }
.nav__toggle-bar {
  display: block;
  position: absolute;
  left: 13px;
  right: 13px;
  height: 3px;
  background: var(--accent-dark);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease, top 0.2s ease;
}
.nav__toggle-bar--top { top: 15px; }
.nav__toggle-bar--mid { top: 23px; }
.nav__toggle-bar--bot { top: 31px; }
.nav__toggle[aria-expanded="true"] .nav__toggle-bar--mid { opacity: 0; }
.nav__toggle[aria-expanded="true"] .nav__toggle-bar--top { top: 23px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__toggle-bar--bot { top: 23px; transform: rotate(-45deg); }

/* Hero */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg img,
.hero__bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15,26,15,0.97) 0%, rgba(15,26,15,0.75) 35%, rgba(15,26,15,0.25) 65%, rgba(15,26,15,0.05) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  padding: 80px 24px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(188,228,58,0.12);
  border: 1px solid rgba(188,228,58,0.35);
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.badge::before {
  content: "";
  width: 7px; height: 7px;
  background: var(--accent);
  border-radius: 50%;
}

h1 {
  font-family: var(--font-head);
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(40px, 6vw, 68px);
  line-height: 0.98;
  margin: 0 0 20px;
}

.hero__sub {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 0 32px;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.link-arrow { font-weight: 600; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.link-arrow:hover { color: var(--accent); }

.share { display: flex; align-items: center; gap: 10px; }
.share span { font-size: 13px; color: var(--text-muted); }
.share a {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
}
.share a:hover { background: var(--accent); color: #0f1a0f; }

/* Section generic */
section { padding: 90px 0; }
.section-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
h2 {
  font-family: var(--font-head);
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.02;
  margin: 0 0 20px;
}
.lede { font-size: 17px; color: var(--text-muted); max-width: 640px; }

/* Video showcase */
.video-showcase { background: var(--bg); }
.video-showcase .section-label,
.video-showcase h2,
.video-showcase .lede { text-align: center; }
.video-showcase .lede { margin: 0 auto 48px; }
.video-card {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  background: var(--card);
  box-shadow: rgba(188, 228, 58, 0.08) 0 24px 80px 0;
}
.video-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.video-card__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: none;
  background: rgba(15, 20, 12, 0.55);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}
.video-card__play svg { margin-left: 3px; }
.video-card__play:hover { background: var(--accent); color: #0f140c; transform: translate(-50%, -50%) scale(1.06); }
.video-card__play[hidden] { display: none; }

/* About */
.about { background: var(--card); border-top: 1px solid var(--card-border); border-bottom: 1px solid var(--card-border); }
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.about__col h3 { font-family: var(--font-head); text-transform: uppercase; font-size: 22px; margin: 0 0 10px; }
.about__col p { color: var(--text-muted); margin: 0; }
.about__col + .about__col { border-top: 1px solid var(--card-border); padding-top: 32px; margin-top: 0; }
.about__grid--3 { grid-template-columns: repeat(3, 1fr); }
.about__grid--3 .about__col { border-top: 1px solid var(--card-border); padding-top: 32px; }
.about__grid--3 .about__col:first-child { border-top: none; padding-top: 0; }

/* Waitlist / contact form */
.contact { background: var(--bg); }
.contact__wrap { max-width: 560px; margin: 0 auto; text-align: center; }
form.waitlist { text-align: left; margin-top: 32px; display: grid; gap: 16px; }
.waitlist label { font-size: 13px; font-weight: 600; color: var(--text-muted); margin-bottom: 6px; display: block; }
.waitlist input, .waitlist textarea {
  width: 100%;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
}
.waitlist input:focus, .waitlist textarea:focus { outline: 2px solid var(--accent); border-color: transparent; }
.waitlist textarea { min-height: 100px; resize: vertical; }
.waitlist small { color: var(--text-muted); font-size: 12px; display: block; margin-top: 4px; }
.waitlist .btn { width: 100%; padding: 14px; margin-top: 4px; }
.form-note { font-size: 12px; color: var(--text-muted); margin-top: 16px; text-align: center; }
#waitlist-form[hidden] { display: none; }
.form-status { font-size: 14px; margin-top: 12px; text-align: center; min-height: 20px; }
.form-status.success { color: var(--accent); }
.form-status.error { color: #ff8a8a; }
.waitlist-success {
  margin-top: 32px;
  padding: 32px 24px;
  border: 1px solid var(--card-border);
  border-radius: 14px;
  background: var(--card);
  text-align: center;
}
.waitlist-success__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--bg);
  font-size: 22px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.waitlist-success h3 { font-family: var(--font-head); text-transform: uppercase; font-size: 20px; margin: 0 0 8px; }
.waitlist-success p { color: var(--text-muted); margin: 0; font-size: 15px; }

.offer-badge {
  display: inline-block;
  margin: 14px auto 0;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--accent);
  color: #0f1a0f;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.referral-teaser {
  font-size: 14px;
  color: var(--text-muted);
  margin: 10px auto 0;
  max-width: 460px;
}
.referral-teaser strong { color: var(--accent); font-weight: 700; }

.referral-box {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--card-border);
}
.referral-box__text { color: var(--text-muted); margin: 0 0 14px; font-size: 14px; }
.referral-box__text strong { color: var(--accent); font-weight: 700; }
.referral-box__row { display: flex; gap: 8px; }
.referral-box__input {
  flex: 1;
  min-width: 0;
  background: var(--bg);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 10px 12px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 13px;
}
.btn--outline {
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
  white-space: nowrap;
}
.btn--outline:hover { background: var(--accent); color: #0f1a0f; }
.btn--outline.is-copied { background: var(--accent); color: #0f1a0f; }

@media (max-width: 480px) {
  .referral-box__row { flex-direction: column; }
}

/* Cards grid (technology / game modes etc.) */
.grid { display: grid; gap: 24px; margin-top: 40px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 28px;
}
.card .num { font-family: var(--font-head); font-size: 15px; color: var(--accent); font-weight: 700; margin-bottom: 12px; }
.card h3 { font-family: var(--font-head); text-transform: uppercase; font-size: 20px; margin: 0 0 10px; }
.card p { color: var(--text-muted); margin: 0; font-size: 15px; }
.card__img {
  display: block;
  max-width: none;
  width: calc(100% + 56px);
  height: auto;
  margin: -28px -28px 20px;
  border-radius: 16px 16px 0 0;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

/* Inside the Bay — system layout diagram */
.diagram-frame {
  margin-top: 40px;
  border-radius: 16px;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--card-border);
  box-shadow: rgba(188, 228, 58, 0.08) 0 24px 80px 0;
}
.diagram-frame img { display: block; width: 100%; height: auto; }

.feature-list { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.feature-list li {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 16px 18px;
  font-weight: 600;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.feature-list li::before { content: "✓"; color: var(--accent); font-weight: 900; }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--card-border); padding: 22px 0; }
.faq-item summary { cursor: pointer; font-weight: 700; font-size: 17px; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 22px; color: var(--accent); margin-left: 16px; }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { color: var(--text-muted); margin: 14px 0 0; }

/* CTA band */
.cta-band {
  background: var(--card);
  border-radius: 24px;
  padding: 56px;
  text-align: center;
  margin: 0 24px;
}
.cta-band h2 { margin-bottom: 12px; }
.cta-band p { color: var(--text-muted); margin: 0 0 28px; }

/* Footer */
footer {
  border-top: 1px solid var(--card-border);
  padding: 56px 0 28px;
  margin-top: 40px;
}
.footer__grid { display: grid; grid-template-columns: 1.3fr 0.9fr 1.2fr 1.5fr; gap: 36px; }
.footer__brand p { color: var(--text-muted); font-size: 14px; max-width: 280px; }
footer h4 { font-family: var(--font-head); text-transform: uppercase; font-size: 14px; letter-spacing: 0.06em; margin: 0 0 16px; color: var(--accent); }
footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
footer ul a { color: var(--text-muted); font-size: 14px; }
footer ul a:hover { color: var(--text); }
.footer__bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--card-border);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--text-muted);
}

/* Simple pages (pricing, faq, privacy, terms) */
.page-hero { padding: 64px 0 20px; }
.back-link { display: inline-block; margin-bottom: 20px; color: var(--text-muted); font-size: 14px; }
.back-link:hover { color: var(--accent); }
.prose h2 { font-size: 24px; margin-top: 40px; }
.prose p, .prose li { color: var(--text-muted); font-size: 16px; }
.prose ul { padding-left: 20px; }

.pricing-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 40px;
  text-align: center;
  margin: 32px 0;
}
.pricing-card .tag { color: var(--accent); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; font-size: 13px; }
.pricing-card h3 { font-family: var(--font-head); font-size: 28px; text-transform: uppercase; margin: 10px 0; }

@media (max-width: 860px) {
  .nav { position: sticky; }
  .nav__links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--card-border);
    padding: 8px 24px 20px;
    gap: 4px;
    list-style: none;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.25s ease, opacity 0.2s ease;
  }
  .nav__links.is-open { max-height: 480px; opacity: 1; }
  .nav__links li { width: 100%; }
  .nav__links a { display: block; padding: 12px 4px; font-size: 16px; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .nav__links-cta { display: block; margin-top: 8px; }
  .nav__links-cta a { border-bottom: none; }
  .nav__links-cta .btn { width: 100%; text-align: center; }
  .nav__cta-group { display: none; }
  .nav__toggle { display: block; }
  .about__grid, .about__grid--3, .grid--2, .grid--4 { grid-template-columns: 1fr; }
  .feature-list { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero__bg::after { background: linear-gradient(180deg, rgba(15,26,15,0.55) 0%, rgba(15,26,15,0.97) 75%); }
  .hero__content { padding: 140px 20px 60px; max-width: 100%; }
  .cta-band { margin: 0 16px; padding: 40px 24px; }
}

/* Inner-page hero uses h1 for SEO; keep h2 sizing */
.page-hero h1 { font-size: clamp(30px, 4vw, 46px); line-height: 1.02; margin: 0 0 20px; }

/* "Coming soon" booking popup */
.coming-soon { border: 1px solid var(--card-border); border-radius: 20px; background: var(--card); color: inherit; padding: 36px 32px; max-width: 420px; width: calc(100% - 32px); text-align: center; }
.coming-soon::backdrop { background: rgba(0,0,0,0.65); }
.coming-soon h2 { margin: 0 0 12px; }
.coming-soon p { color: var(--text-muted); margin: 0 0 24px; }
.coming-soon__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Welcome popup (opening announcement + waitlist offer) */
.welcome { position: relative; max-width: 440px; }
.welcome h2 { font-size: clamp(1.5rem, 5vw, 1.9rem); line-height: 1.15; }
.welcome .section-label { margin-bottom: 10px; }
.welcome p strong { color: var(--text); }
.welcome form { display: flex; flex-direction: column; gap: 10px; }
.welcome input[type="email"] { width: 100%; padding: 14px; border-radius: 10px; border: 1px solid var(--card-border); background: transparent; color: inherit; font: inherit; box-sizing: border-box; }
.welcome .btn { width: 100%; padding: 14px; }
.welcome__x { position: absolute; top: 10px; right: 14px; background: none; border: 0; color: var(--text-muted); font-size: 28px; line-height: 1; cursor: pointer; padding: 4px 8px; }
.welcome__x:hover { color: var(--text); }
.welcome__done h3 { margin: 0 0 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Footer mini map + Getting Here section */
.footer__map iframe { border-radius: 12px; display: block; }
.footer__map-link { display: inline-block; margin-top: 10px; color: var(--accent); font-size: 14px; font-weight: 600; }
.getting-here { padding: 72px 0; border-top: 1px solid var(--card-border); }
.transit-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; max-width: 1000px; margin: 0 auto; }
.transit-card { border: 1px solid var(--card-border); background: var(--card); border-radius: 16px; padding: 22px; }
.transit-card h3 { margin: 0 0 10px; font-size: 1.05rem; color: var(--accent); }
.transit-card p { margin: 0 0 8px; color: var(--text-muted); font-size: 15px; }
.transit-card p strong { color: var(--text); }

/* Why a simulator */
.why .lede { margin-bottom: 40px; }
.why__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.why__card { border: 1px solid var(--card-border); background: var(--card); border-radius: 20px; padding: 32px; }
.why__num { font-family: var(--font-head); font-size: 44px; line-height: 1; color: var(--accent); margin-bottom: 14px; }
.why__card h3 { font-family: var(--font-head); text-transform: uppercase; font-size: 22px; margin: 0 0 12px; }
.why__card p { color: var(--text-muted); margin: 0; }
.why__close { text-align: center; font-size: 18px; font-weight: 600; margin: 36px auto 0; max-width: 640px; }
@media (max-width: 760px) { .why__grid { grid-template-columns: 1fr; } .why__card { padding: 24px; } }

.map-card { max-width: 1000px; margin: 32px auto 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--card-border); }
.map-card iframe { display: block; }
@media (max-width: 760px) { .map-card iframe { height: 340px; } }

/* Classes */
.classes__jump { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.class-block { padding: 56px 0; }
.class-block__grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; align-items: start; }
.class-block h2 { margin: 8px 0 16px; }
.class-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.class-list li { color: var(--text-muted); padding-left: 22px; position: relative; }
.class-list li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.class-list li strong { color: var(--text); }
.class-card { border: 1px solid var(--card-border); background: var(--card); border-radius: 20px; padding: 32px; position: sticky; top: 96px; scroll-margin-top: 96px; }
.class-card h3 { font-family: var(--font-head); text-transform: uppercase; font-size: 24px; margin: 0 0 8px; }
.class-card > p { color: var(--text-muted); margin: 0; }
.class-card form.waitlist { margin-top: 20px; }
.waitlist select {
  width: 100%; background: var(--card); border: 1px solid var(--card-border); border-radius: 10px;
  padding: 12px 14px; color: var(--text); font-family: var(--font-body); font-size: 15px;
}
.waitlist select:focus { outline: 2px solid var(--accent); border-color: transparent; }
.class-form[hidden], .class-done[hidden] { display: none; }
.classes-teaser { padding: 64px 0; }
.classes-teaser .why__grid { margin-top: 28px; }
@media (max-width: 860px) { .class-block__grid { grid-template-columns: 1fr; gap: 32px; } .class-card { position: static; padding: 24px; } }
form.class-form { position: relative; overflow: hidden; }

/* Mobile length reductions */
.why__toggle { display: none; }
.sticky-cta { display: none; }
@media (max-width: 760px) {
  .about { display: none; }
  .why__rest { display: none; }
  .why__card.is-open .why__rest { display: inline; }
  .why__toggle { display: inline; background: none; border: 0; padding: 0; color: var(--accent); font: inherit; font-weight: 600; cursor: pointer; text-decoration: underline; }
  .why__card.is-open .why__toggle { display: none; }
  .map-card { display: none; }
  .getting-here { padding: 48px 0; }
  .transit-card h3 { cursor: pointer; display: flex; justify-content: space-between; align-items: center; margin: 0; }
  .transit-card h3::after { content: "+"; font-size: 1.3rem; line-height: 1; }
  .transit-card.is-open h3 { margin-bottom: 10px; }
  .transit-card.is-open h3::after { content: "\2212"; }
  .transit-card p { display: none; }
  .transit-card.is-open p { display: block; }
  .sticky-cta { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(10,15,10,.92); border-top: 1px solid var(--card-border); transform: translateY(0); transition: transform .25s; }
  .sticky-cta.is-hidden { transform: translateY(110%); }
  .sticky-cta .btn { display: block; width: 100%; text-align: center; }
  body { padding-bottom: 72px; }
}
