:root {
  --bg: #101812;
  --bg-2: #172318;
  --panel: rgba(255, 255, 255, 0.075);
  --panel-strong: rgba(255, 255, 255, 0.115);
  --text: #f3efe4;
  --muted: rgba(243, 239, 228, 0.72);
  --soft: rgba(243, 239, 228, 0.12);
  --line: rgba(243, 239, 228, 0.16);
  --accent: #d8a657;
  --accent-2: #8ead6d;
  --danger: #ffb3a6;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: 1160px;
  --serif: "Source Serif 4", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background:
    radial-gradient(circle at 20% 0%, rgba(216, 166, 87, 0.12), transparent 34rem),
    radial-gradient(circle at 80% 18%, rgba(142, 173, 109, 0.14), transparent 32rem),
    linear-gradient(180deg, #101812 0%, #0d120f 100%);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.7), transparent 78%);
  z-index: -1;
}

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

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

.narrow {
  width: min(820px, calc(100% - 40px));
}

.section {
  padding: 90px 0;
  position: relative;
}

.site-header {
  width: min(var(--container), calc(100% - 28px));
  margin: 14px auto 0;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  position: sticky;
  top: 14px;
  z-index: 20;
  background: rgba(16, 24, 18, 0.78);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #f0d59b);
  color: #17200f;
  font-size: 13px;
  letter-spacing: -0.04em;
  box-shadow: 0 8px 24px rgba(216, 166, 87, 0.22);
}

.brand-text {
  white-space: nowrap;
}

.nav {
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
}

.nav a,
.site-footer a {
  transition: color 0.2s ease;
}

.nav a:hover,
.site-footer a:hover {
  color: var(--text);
}

.header-cta {
  background: rgba(216, 166, 87, 0.16);
  border: 1px solid rgba(216, 166, 87, 0.34);
  color: #ffe1aa;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease;
}

.header-cta:hover {
  transform: translateY(-1px);
  background: rgba(216, 166, 87, 0.22);
}

.hero {
  padding-top: 96px;
  min-height: 760px;
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.96fr);
  align-items: center;
  gap: 64px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: #f0d59b;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12px;
  font-weight: 800;
}

.eyebrow span {
  width: 34px;
  height: 1px;
  background: var(--accent);
  display: inline-block;
}

.eyebrow.centered {
  justify-content: center;
}

h1 {
  font-family: var(--serif);
  font-size: clamp(52px, 8vw, 92px);
  line-height: 0.93;
  letter-spacing: -0.055em;
  margin-bottom: 26px;
  max-width: 820px;
}

h2 {
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.045em;
  margin-bottom: 22px;
}

h3 {
  font-size: 20px;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.hero-subtitle {
  font-size: clamp(18px, 2.2vw, 23px);
  color: var(--muted);
  max-width: 700px;
  margin-bottom: 30px;
}

.waitlist-form {
  display: flex;
  gap: 12px;
  max-width: 620px;
}

.waitlist-form input {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.09);
  color: var(--text);
  border-radius: 999px;
  padding: 17px 19px;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.waitlist-form input::placeholder {
  color: rgba(243, 239, 228, 0.48);
}

.waitlist-form input:focus {
  border-color: rgba(216, 166, 87, 0.72);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 4px rgba(216, 166, 87, 0.1);
}

.waitlist-form button {
  border: 0;
  background: linear-gradient(135deg, var(--accent), #f0d59b);
  color: #17200f;
  border-radius: 999px;
  padding: 17px 22px;
  font-weight: 900;
  white-space: nowrap;
  box-shadow: 0 16px 34px rgba(216, 166, 87, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.waitlist-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 42px rgba(216, 166, 87, 0.28);
  filter: brightness(1.03);
}

.waitlist-form button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.form-note {
  color: rgba(243, 239, 228, 0.62);
  font-size: 14px;
  margin: 14px 0 0;
}

.hero-visual {
  min-height: 560px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual::before {
  content: "";
  position: absolute;
  width: 78%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(216, 166, 87, 0.15), transparent 64%);
  filter: blur(6px);
}

.mountain-card {
  width: min(440px, 100%);
  position: relative;
  z-index: 2;
  padding: 26px;
  border: 1px solid rgba(243, 239, 228, 0.18);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.06)),
    rgba(14, 20, 16, 0.72);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  overflow: hidden;
}

.mountain-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  background:
    radial-gradient(circle at 20% 0%, rgba(216, 166, 87, 0.24), transparent 40%),
    radial-gradient(circle at 100% 100%, rgba(142, 173, 109, 0.18), transparent 44%);
  z-index: -1;
}

.card-topline {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(243, 239, 228, 0.74);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 22px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 0 6px rgba(142, 173, 109, 0.13);
}

.locked-page {
  height: 220px;
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(243, 239, 228, 0.13), rgba(243, 239, 228, 0.055)),
    linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,0.18));
  border: 1px solid rgba(243, 239, 228, 0.14);
  position: relative;
  overflow: hidden;
  margin-bottom: 24px;
}

.locked-page::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 50%;
  background:
    linear-gradient(135deg, transparent 0 20%, rgba(16, 24, 18, 0.62) 20% 100%),
    linear-gradient(35deg, transparent 0 35%, rgba(216, 166, 87, 0.10) 35% 100%);
  clip-path: polygon(0 65%, 18% 44%, 34% 62%, 52% 32%, 70% 60%, 84% 38%, 100% 64%, 100% 100%, 0 100%);
}

.page-lines {
  display: grid;
  gap: 12px;
  padding: 28px;
}

.page-lines span {
  display: block;
  height: 10px;
  border-radius: 999px;
  background: rgba(243, 239, 228, 0.16);
}

.page-lines span:nth-child(1) {
  width: 74%;
}
.page-lines span:nth-child(2) {
  width: 58%;
}
.page-lines span:nth-child(3) {
  width: 66%;
}

.lock {
  width: 74px;
  height: 74px;
  border-radius: 24px;
  display: grid;
  place-items: center;
  background: rgba(16, 24, 18, 0.78);
  border: 1px solid rgba(216, 166, 87, 0.42);
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -45%;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.32);
}

.lock svg {
  width: 34px;
  fill: var(--accent);
}

.mountain-card h2 {
  font-size: 34px;
  margin-bottom: 10px;
}

.mountain-card p {
  color: var(--muted);
  margin-bottom: 22px;
}

.route-line {
  display: flex;
  align-items: center;
  gap: 8px;
}

.route-point {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(243, 239, 228, 0.24);
  border: 1px solid rgba(243, 239, 228, 0.28);
}

.route-point.active {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 0 8px rgba(216, 166, 87, 0.12);
}

.route-path {
  height: 2px;
  flex: 1;
  background: linear-gradient(90deg, rgba(216, 166, 87, 0.7), rgba(243, 239, 228, 0.14));
}

.hero-landscape {
  position: absolute;
  left: 50%;
  bottom: 12px;
  width: min(760px, 120vw);
  transform: translateX(-50%);
  opacity: 0.34;
  z-index: 1;
}

.hero-landscape svg {
  width: 100%;
  height: 260px;
}

.hero-landscape path:first-child {
  fill: rgba(142, 173, 109, 0.2);
}

.hero-landscape path:last-child {
  fill: rgba(216, 166, 87, 0.12);
}

.intro-section {
  padding-top: 40px;
}

.big-statement {
  font-family: var(--serif);
  font-size: clamp(30px, 5vw, 56px);
  line-height: 1.06;
  letter-spacing: -0.045em;
  text-align: center;
  color: rgba(243, 239, 228, 0.88);
  margin: 0;
}

.big-statement strong {
  color: var(--accent);
  font-weight: 700;
}

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

.section-heading p {
  color: var(--muted);
  font-size: 18px;
}

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

.step-card,
.audience-card,
.story-panel,
.quote-card,
.cta-box,
.faq-item {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: var(--radius-md);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.16);
}

.step-card,
.audience-card {
  padding: 26px;
}

.step-number {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(216, 166, 87, 0.13);
  color: var(--accent);
  font-weight: 900;
  margin-bottom: 34px;
}

.step-card p,
.audience-card p,
.story-panel p,
.no-race-grid p,
.cta-box p,
.faq-item p {
  color: var(--muted);
}

.adventure-section {
  overflow: hidden;
}

.adventure-section::before {
  content: "";
  position: absolute;
  inset: 20% auto auto 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(216, 166, 87, 0.34), transparent);
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: start;
}

.story-panel {
  padding: 34px;
  background:
    linear-gradient(135deg, rgba(216, 166, 87, 0.11), transparent 38%),
    var(--panel);
}

.story-panel p {
  font-size: 19px;
}

.story-panel p:last-child {
  margin-bottom: 0;
}

.no-race-grid {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 40px;
  align-items: center;
}

.quote-card {
  padding: 34px;
  background:
    linear-gradient(145deg, rgba(216, 166, 87, 0.14), rgba(255,255,255,0.05)),
    rgba(255, 255, 255, 0.075);
}

.quote-mark {
  font-family: var(--serif);
  display: block;
  font-size: 86px;
  line-height: 0.8;
  color: var(--accent);
  opacity: 0.7;
}

.quote-card p {
  font-family: var(--serif);
  color: rgba(243, 239, 228, 0.84);
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.quote-card strong {
  color: var(--text);
}

.final-cta-section {
  padding-top: 70px;
}

.cta-box {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  padding: clamp(32px, 6vw, 64px);
  background:
    radial-gradient(circle at 50% 0%, rgba(216, 166, 87, 0.22), transparent 32rem),
    var(--panel);
}

.cta-box h2 {
  max-width: 740px;
  margin-inline: auto;
}

.cta-box > p {
  max-width: 650px;
  margin-inline: auto;
  font-size: 18px;
}

.centered-form {
  margin: 28px auto 0;
}

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

.faq-item {
  padding: 0;
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 24px;
  font-weight: 800;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

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

.faq-item summary::after {
  content: "+";
  color: var(--accent);
  font-size: 24px;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item p {
  padding: 0 24px 22px;
  margin: 0;
}

.site-footer {
  border-top: 1px solid var(--line);
  color: rgba(243, 239, 228, 0.56);
  padding: 30px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%) translateY(20px);
  width: min(520px, calc(100% - 32px));
  padding: 16px 18px;
  border-radius: 18px;
  color: var(--text);
  background: rgba(17, 26, 19, 0.94);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  z-index: 50;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
  text-align: center;
}

.toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.toast.is-error {
  border-color: rgba(255, 179, 166, 0.48);
  color: var(--danger);
}

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

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

@media (max-width: 900px) {
  .site-header {
    border-radius: 24px;
  }

  .nav {
    display: none;
  }

  .hero {
    padding-top: 70px;
    min-height: auto;
  }

  .hero-grid,
  .split,
  .no-race-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .hero-visual {
    min-height: 500px;
  }

  .steps,
  .audience-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 68px 0;
  }
}

@media (max-width: 620px) {
  .container,
  .narrow {
    width: min(100% - 28px, var(--container));
  }

  .site-header {
    width: calc(100% - 20px);
    top: 10px;
    margin-top: 10px;
  }

  .brand-text {
    display: none;
  }

  .header-cta {
    padding: 9px 12px;
  }

  h1 {
    font-size: clamp(46px, 14vw, 64px);
  }

  .hero-subtitle {
    font-size: 17px;
  }

  .waitlist-form {
    flex-direction: column;
  }

  .waitlist-form input,
  .waitlist-form button {
    width: 100%;
  }

  .mountain-card {
    padding: 20px;
  }

  .locked-page {
    height: 190px;
  }

  .quote-card p {
    font-size: 24px;
  }

  .footer-inner {
    flex-direction: column;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

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