:root {
  color-scheme: dark;
  --background: #06110f;
  --surface: rgba(8, 31, 27, 0.72);
  --text: #edf7f3;
  --muted: #b7cbc4;
  --mint: #8ee5c6;
  --teal: #69dfbd;
  --gold: #f3bd5d;
  --line: rgba(190, 239, 224, 0.24);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--background);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 15% 65%, rgba(21, 111, 91, 0.22), transparent 34%),
    var(--background);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

/* Use a fixed decorative layer so long forms keep the landscape behind them. */
.scenic-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(2, 10, 9, 0.82), rgba(2, 10, 9, 0.58)),
    url("/assets/adventure-hero.jpg") center 47% / cover no-repeat;
  pointer-events: none;
}

.scenic-page {
  isolation: isolate;
}

.scenic-page .standalone-main {
  min-height: calc(100svh - 150px);
}

a {
  color: var(--mint);
}

:where(a, button, input):focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.button:hover {
  filter: brightness(1.08);
}

.button:disabled {
  opacity: 0.65;
  cursor: wait;
}

button,
input {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 1000;
  padding: 10px 16px;
  border-radius: 12px;
  background: #ffffff;
  color: #07110f;
}

.skip-link:focus {
  top: 16px;
}

.glass-shell,
.glass-panel {
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(8, 31, 27, 0.72);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.17), rgba(8, 31, 27, 0.68) 38%, rgba(8, 31, 27, 0.78));
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  backdrop-filter: blur(28px) saturate(160%);
}

.site-header {
  position: absolute;
  top: 22px;
  left: 50%;
  z-index: 50;
  display: flex;
  width: calc(100% - 32px);
  max-width: 1180px;
  min-height: 64px;
  padding: 8px 10px 8px 16px;
  align-items: center;
  justify-content: space-between;
  transform: translateX(-50%);
  border-radius: 28px;
}

.brand-lockup {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 7px;
  color: #ffffff;
  font-weight: 800;
  text-decoration: none;
}

.brand-lockup img {
  display: block;
  width: 46px;
  height: 39px;
  object-fit: contain;
}

.site-header nav,
.marketing-footer nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-header nav a,
.marketing-footer nav a {
  padding: 10px 13px;
  border-radius: 18px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
}

.site-header nav a:hover,
.site-header nav a:focus-visible,
.site-header nav a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.site-header .nav-cta {
  border: 1px solid rgba(105, 223, 189, 0.35);
  background: rgba(105, 223, 189, 0.16);
  color: #c9ffef;
}

.hero {
  position: relative;
  z-index: 0;
  display: flex;
  min-height: 760px;
  align-items: center;
  overflow: hidden;
  background: #06110f url("/assets/adventure-hero.jpg") center 47% / cover no-repeat;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(2, 10, 9, 0.74), rgba(2, 10, 9, 0.5) 48%, rgba(2, 10, 9, 0.06) 78%),
    linear-gradient(0deg, #06110f 0%, transparent 27%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  width: calc(100% - 40px);
  max-width: 1180px;
  margin: 0 auto;
  padding-top: 82px;
}

.hero-copy-panel {
  width: 100%;
  max-width: 700px;
  padding: 38px 42px 34px;
  overflow: hidden;
  border-radius: 38px;
}

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

.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 14px var(--teal);
}

.hero h1,
.page-title {
  margin: 14px 0 22px;
  color: var(--text);
  font-size: clamp(54px, 7.4vw, 104px);
  line-height: 0.94;
  letter-spacing: -0.055em;
}

.page-title {
  font-size: clamp(44px, 6vw, 82px);
}

.hero h1 span,
.page-title span {
  color: var(--gold);
}

.hero-copy,
.section-lede,
.feature p,
.dna-copy p,
.access-copy p {
  color: var(--muted);
}

.hero-copy {
  max-width: 620px;
  margin: 0;
  font-size: 19px;
}

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

.button {
  display: inline-flex;
  min-height: 54px;
  padding: 0 24px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.button-primary {
  background: linear-gradient(135deg, #a5f0d8, #65d8b7);
  box-shadow: 0 14px 34px rgba(57, 204, 162, 0.22);
  color: #06110f;
}

.button-glass {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.microcopy {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
}

.floating-card {
  position: absolute;
  right: max(calc((100vw - 1180px) / 2), 20px);
  bottom: 70px;
  z-index: 4;
  width: 300px;
  padding: 23px;
  border-radius: 26px;
  transform: rotate(-2deg);
}

.floating-kicker {
  color: var(--teal);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.floating-card strong {
  display: block;
  margin: 7px 0;
  font-size: 23px;
}

.floating-card small {
  color: var(--muted);
}

.dna-mini-bars {
  display: flex;
  gap: 6px;
  margin: 16px 0;
}

.dna-mini-bars i {
  flex: 1;
  height: 6px;
  border-radius: 10px;
  background: linear-gradient(90deg, var(--gold) var(--score), rgba(255, 255, 255, 0.13) var(--score));
}

.standalone-main {
  min-height: calc(100vh - 150px);
  padding-top: 90px;
}

.section {
  width: calc(100% - 40px);
  max-width: 1120px;
  margin: 0 auto;
  padding: 90px 0 76px;
}

.intro {
  text-align: center;
}

.section-lede {
  max-width: 700px;
  margin: 0 auto;
  font-size: 18px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 38px;
  text-align: left;
}

.feature {
  min-height: 220px;
  padding: 28px;
  border-radius: 28px;
}

.feature-icon {
  color: var(--gold);
  font-size: 26px;
}

.feature h2 {
  margin: 28px 0 8px;
  font-size: 21px;
}

.dna-section,
.early-access {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 46px;
}

.dna-card,
.access-form {
  padding: 30px;
  border-radius: 32px;
}

.dna-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 7px;
  margin-bottom: 19px;
}

.dna-row strong {
  color: var(--gold);
}

.dna-row i {
  display: block;
  grid-column: 1 / -1;
  height: 7px;
  overflow: hidden;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
}

.dna-row b {
  display: block;
  width: var(--score);
  height: 100%;
  border-radius: 10px;
  background: linear-gradient(90deg, var(--teal), var(--gold));
}

.access-copy ul {
  padding: 0;
  color: var(--muted);
  list-style: none;
}

.access-copy li {
  margin: 13px 0;
}

.access-copy li::before {
  content: "✓";
  margin-right: 10px;
  color: var(--teal);
  font-weight: 900;
}

.form-heading span {
  color: var(--teal);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.form-heading h2 {
  margin: 5px 0 24px;
  font-size: 29px;
}

.access-form label:not(.consent):not(.honeypot) {
  display: block;
  margin: 16px 0;
  font-size: 13px;
  font-weight: 750;
}

.access-form input[type="text"],
.access-form input[type="email"],
.access-form input:not([type]) {
  display: block;
  width: 100%;
  margin-top: 7px;
  padding: 14px 15px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  outline: none;
  background: rgba(1, 10, 8, 0.52);
  color: #ffffff;
  -webkit-appearance: none;
  appearance: none;
}

.access-form input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(105, 223, 189, 0.13);
}

.access-form small {
  display: block;
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
}

.consent {
  display: flex;
  gap: 11px;
  margin: 22px 0;
  align-items: flex-start;
  color: var(--muted);
  font-size: 13px;
}

.consent input {
  margin-top: 5px;
  accent-color: var(--teal);
}

.honeypot {
  position: absolute !important;
  left: -10000px !important;
}

.cf-turnstile {
  min-height: 140px;
  max-width: 100%;
}

.submit-button {
  width: 100%;
  margin-top: 8px;
}

.form-status {
  min-height: 24px;
  color: #b8ffe9;
  font-weight: 700;
}

.form-status.error {
  color: #ffaaa1;
}

.form-note {
  color: rgba(255, 255, 255, 0.48);
  font-size: 12px;
  text-align: center;
}

.marketing-footer {
  display: grid;
  width: calc(100% - 40px);
  max-width: 1120px;
  margin: 0 auto;
  padding: 40px 0 54px;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  border-top: 1px solid var(--line);
}

.footer-brand {
  display: flex;
  align-items: center;
}

.footer-brand img {
  display: block;
  width: 58px;
  height: 49px;
  object-fit: contain;
}

.footer-brand strong,
.footer-brand span {
  display: block;
}

.footer-brand span,
.marketing-footer p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
}

.marketing-footer p {
  grid-column: 1 / -1;
  margin: 0;
}

@media (max-width: 1100px) {
  .floating-card {
    display: none;
  }
}

@media (max-width: 820px) {
  .site-header {
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 24px;
  }

  .site-header nav {
    width: 100%;
    justify-content: space-between;
    gap: 4px;
    border-top: 1px solid var(--line);
    padding-top: 8px;
  }

  .site-header nav a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    font-size: 13px;
  }

  .standalone-main {
    padding-top: 150px;
  }

  .section {
    padding-top: 52px;
  }

  .hero {
    min-height: 720px;
  }

  .hero-content {
    padding-top: 170px;
  }

  .hero-copy-panel {
    padding: 32px;
    border-radius: 32px;
  }

  .floating-card {
    display: none;
  }

  .feature-grid,
  .dna-section,
  .early-access {
    grid-template-columns: 1fr;
  }

  .dna-section,
  .early-access {
    gap: 36px;
  }

  .marketing-footer {
    grid-template-columns: 1fr;
  }

  .marketing-footer nav {
    flex-wrap: wrap;
  }
}

@media (max-width: 520px) {
  .site-header {
    top: 12px;
    padding-inline: 12px;
  }

  .site-header nav a {
    padding-inline: 5px;
    font-size: 12px;
  }

  .brand-lockup span {
    font-size: 15px;
  }

  .site-header .nav-cta {
    padding: 9px 7px;
    font-size: 12px;
  }

  .hero {
    min-height: 700px;
    align-items: flex-end;
  }

  .hero {
    background-position: 56% center;
  }

  .hero-content {
    padding: 180px 0 54px;
  }

  .hero-copy-panel {
    padding: 25px 22px 23px;
    border-radius: 28px;
  }

  .hero h1 {
    font-size: clamp(50px, 17vw, 75px);
  }

  .hero-copy {
    font-size: 16px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .standalone-main {
    padding-top: 150px;
  }

  .section {
    padding-top: 40px;
  }

  .page-title {
    font-size: clamp(40px, 10vw, 52px);
    line-height: 1.04;
  }

  .feature {
    padding: 24px;
    min-height: auto;
  }

  .dna-card,
  .access-form {
    padding: 20px;
    border-radius: 24px;
  }

  .early-access {
    width: calc(100% - 24px);
  }

  .form-heading h2 {
    font-size: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
