:root {
  color-scheme: dark;
  --ink: #f7f2df;
  --muted: #c9c2a7;
  --soft: rgba(247, 242, 223, 0.74);
  --bg: #10130f;
  --panel: #1a2119;
  --line: rgba(247, 242, 223, 0.18);
  --gold: #d7a73c;
  --green: #5ca36e;
  --green-deep: #203c2a;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--bg);
}

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

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 16px clamp(20px, 5vw, 72px);
  background: rgba(16, 19, 15, 0.7);
  border-bottom: 1px solid rgba(247, 242, 223, 0.12);
  backdrop-filter: blur(18px);
}

.brand,
.nav-links,
.hero-actions,
.site-footer,
.stat-row {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-size: 1rem;
  font-weight: 780;
  letter-spacing: 0;
}

.brand-mark {
  width: 28px;
  height: 28px;
  border: 1px solid rgba(247, 242, 223, 0.52);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(215, 167, 60, 0.96), rgba(92, 163, 110, 0.74)),
    #203c2a;
  box-shadow: 0 0 28px rgba(215, 167, 60, 0.25);
}

.nav-links {
  gap: clamp(14px, 3vw, 32px);
  color: var(--soft);
  font-size: 0.92rem;
  font-weight: 680;
}

.nav-links a {
  padding: 8px 0;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: min(92vh, 860px);
  display: grid;
  align-items: center;
  overflow: clip;
  padding: 112px clamp(20px, 5vw, 72px) 72px;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(16, 19, 15, 0.9) 0%, rgba(16, 19, 15, 0.64) 34%, rgba(16, 19, 15, 0.1) 76%),
    linear-gradient(180deg, rgba(16, 19, 15, 0.42) 0%, rgba(16, 19, 15, 0.08) 54%, #10130f 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(690px, 100%);
  padding-top: 3vh;
}

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

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4.8rem, 10vw, 9.5rem);
  line-height: 0.86;
  font-weight: 500;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  max-width: 780px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.3rem, 5vw, 4.8rem);
  line-height: 0.98;
  font-weight: 500;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 12px;
  font-size: 1.05rem;
  line-height: 1.2;
}

p {
  line-height: 1.65;
}

.hero-copy {
  width: min(610px, 100%);
  margin: 28px 0 0;
  color: var(--soft);
  font-size: clamp(1.1rem, 2vw, 1.42rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  max-width: 100%;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1;
  white-space: normal;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}

.button-primary {
  color: #11150f;
  background: var(--gold);
  border-color: rgba(215, 167, 60, 0.4);
}

.button-secondary {
  color: var(--ink);
  background: rgba(247, 242, 223, 0.08);
  backdrop-filter: blur(16px);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.intro,
.atlas,
.waitlist {
  padding: clamp(72px, 10vw, 128px) clamp(20px, 5vw, 72px);
}

.intro {
  background: #10130f;
}

.section-heading {
  display: grid;
  gap: 10px;
  margin-bottom: clamp(28px, 5vw, 54px);
}

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

.feature-card {
  min-height: 220px;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #171c15;
  box-shadow: var(--shadow);
}

.feature-card p,
.atlas-panel p {
  margin: 0;
  color: var(--muted);
}

.atlas {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: end;
  background:
    linear-gradient(180deg, rgba(32, 60, 42, 0.86), rgba(16, 19, 15, 0.96)),
    #203c2a;
}

.atlas-panel {
  display: grid;
  gap: 22px;
}

.atlas-panel p {
  max-width: 620px;
  font-size: 1.08rem;
}

.stat-row {
  align-items: stretch;
  flex-direction: column;
  gap: 10px;
}

.stat-row div {
  display: grid;
  gap: 6px;
  padding: 20px;
  border: 1px solid rgba(247, 242, 223, 0.2);
  border-radius: 8px;
  background: rgba(16, 19, 15, 0.46);
}

.stat-row strong {
  font-size: 1.1rem;
}

.stat-row span {
  color: var(--muted);
}

.waitlist {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: #171c15;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.waitlist h2 {
  font-size: clamp(2.2rem, 4vw, 4rem);
}

.site-footer {
  justify-content: space-between;
  gap: 20px;
  min-height: 90px;
  padding: 24px clamp(20px, 5vw, 72px);
  color: var(--muted);
}

@media (max-width: 820px) {
  .site-header {
    min-height: 64px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: 86vh;
    padding-top: 94px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(16, 19, 15, 0.9) 0%, rgba(16, 19, 15, 0.42) 100%),
      linear-gradient(180deg, rgba(16, 19, 15, 0.35) 0%, rgba(16, 19, 15, 0.04) 46%, #10130f 100%);
  }

  .feature-grid,
  .atlas {
    grid-template-columns: 1fr;
  }

  .waitlist {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  h1 {
    font-size: clamp(4rem, 22vw, 6rem);
  }

  .hero-copy {
    font-size: 1.04rem;
  }

  .button {
    width: 100%;
  }
}
