:root {
    --black: #0a0a08;
    --white: #f5f2eb;
    --cream: #ede8dd;
    --sand: #c8bb9f;
    --ember: #d4521a;
    --ember-dark: #a83d0e;
    --gold: #c9a84c;
    --muted: #6b6456;
    --border: rgba(200,187,159,0.25);
  }

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

  html { scroll-behavior: smooth; }

  body {
    background: var(--black);
    color: var(--white);
    font-family: 'DM Sans', sans-serif;
    font-weight: 300;
    overflow-x: hidden;
  }

  /* ─── NAVIGATION ─── */
  nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 3rem;
    background: rgba(10,10,8,0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
  }

  .nav-logo {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.6rem;
    letter-spacing: 0.12em;
    color: var(--white);
    text-decoration: none;
    cursor: pointer;
  }
  .nav-logo span { color: var(--ember); }

  .nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
  }

  .nav-links a {
    color: var(--sand);
    text-decoration: none;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: color 0.2s;
    cursor: pointer;
  }
  .nav-links a:hover { color: var(--white); }

  .nav-cta {
    background: var(--ember);
    color: var(--white) !important;
    padding: 0.55rem 1.4rem;
    border-radius: 2px;
    transition: background 0.2s !important;
  }
  .nav-cta:hover { background: var(--ember-dark) !important; }

  /* ─── HERO ─── */
  #home { position: relative; min-height: 100vh; }

  .hero-wrapper {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
  }

  .hero-bg {
    position: absolute;
    inset: 0;
    background:
      radial-gradient(ellipse 80% 60% at 60% 40%, rgba(212,82,26,0.12) 0%, transparent 70%),
      radial-gradient(ellipse 50% 40% at 20% 70%, rgba(201,168,76,0.06) 0%, transparent 60%),
      var(--black);
  }

  .hero-grid-lines {
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(rgba(200,187,159,0.04) 1px, transparent 1px),
      linear-gradient(90deg, rgba(200,187,159,0.04) 1px, transparent 1px);
    background-size: 80px 80px;
  }

  .hero-content {
    position: relative;
    z-index: 2;
    padding: 14rem 3rem 6rem;
    max-width: 1100px;
    margin: 0 auto;
  }

  .hero-eyebrow {
    font-size: 0.7rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ember);
    margin-bottom: 1.8rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
  }
  .hero-eyebrow::before {
    content: '';
    display: inline-block;
    width: 2rem;
    height: 1px;
    background: var(--ember);
  }

  .hero-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(3.5rem, 8vw, 8rem);
    line-height: 0.92;
    letter-spacing: 0.02em;
    color: var(--white);
    margin-bottom: 1.4rem;
  }

  .hero-title .accent { color: var(--ember); }
  .hero-title .italic {
    font-family: 'DM Serif Display', serif;
    font-style: italic;
    font-size: 0.85em;
    color: var(--sand);
  }

  .hero-headline {
    font-size: clamp(1rem, 1.8vw, 1.25rem);
    color: var(--sand);
    max-width: 520px;
    line-height: 1.7;
    margin-bottom: 3rem;
    font-weight: 300;
  }

  .hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
  }

  .btn-primary {
    background: var(--ember);
    color: var(--white);
    border: none;
    padding: 1rem 2.4rem;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    border-radius: 2px;
  }
  .btn-primary:hover { background: var(--ember-dark); transform: translateY(-1px); }

  .btn-secondary {
    background: transparent;
    color: var(--white);
    border: 1px solid var(--border);
    padding: 1rem 2.4rem;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s, transform 0.15s;
    border-radius: 2px;
  }
  .btn-secondary:hover { border-color: var(--sand); color: var(--sand); transform: translateY(-1px); }

  .hero-beta-note {
    font-size: 0.8rem;
    color: var(--muted);
    letter-spacing: 0.03em;
    max-width: 480px;
    line-height: 1.6;
  }

  .hero-trust {
    font-size: 0.9rem;
    color: var(--sand);
    letter-spacing: 0.02em;
    border-left: 2px solid var(--ember);
    padding: 1rem 1.2rem;
    margin-top: 2rem;
    max-width: 520px;
    background: rgba(212,82,26,0.05);
    line-height: 1.65;
    font-style: italic;
  }

  .trust-line-marker {
    color: var(--ember);
    font-style: normal;
    margin-right: 0.4rem;
    font-weight: 500;
  }

  .hero-badge {
    position: absolute;
    right: 4rem;
    top: 50%;
    transform: translateY(-40%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
  }
  .badge-circle {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1rem;
  }
  .badge-circle span:first-child {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.8rem;
    color: var(--ember);
    line-height: 1;
  }
  .badge-circle span:last-child {
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
  }

  /* ─── SECTIONS ─── */
  section {
    padding: 7rem 3rem;
    max-width: 1100px;
    margin: 0 auto;
  }

  .section-eyebrow {
    font-size: 0.7rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ember);
    margin-bottom: 1.2rem;
  }

  .section-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2.5rem, 5vw, 5rem);
    letter-spacing: 0.03em;
    line-height: 0.95;
    margin-bottom: 1rem;
  }

  .section-sub {
    color: var(--sand);
    font-size: 1rem;
    line-height: 1.7;
    max-width: 520px;
    margin-bottom: 4rem;
  }

  /* ─── DIVIDER ─── */
  .divider {
    width: 100%;
    height: 1px;
    background: var(--border);
    margin: 0 3rem;
    max-width: calc(100% - 6rem);
  }

  /* ─── HOW IT WORKS ─── */
  .steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: 4px;
    overflow: hidden;
  }

  .step-card {
    background: var(--black);
    padding: 3rem 2.5rem;
    position: relative;
    transition: background 0.3s;
  }
  .step-card:hover { background: #111109; }

  .step-number {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 5rem;
    color: rgba(212,82,26,0.12);
    line-height: 1;
    margin-bottom: 1.5rem;
    transition: color 0.3s;
  }
  .step-card:hover .step-number { color: rgba(212,82,26,0.25); }

  .step-title {
    font-family: 'DM Serif Display', serif;
    font-size: 1.35rem;
    color: var(--white);
    margin-bottom: 0.8rem;
  }

  .step-body {
    font-size: 0.9rem;
    color: var(--sand);
    line-height: 1.7;
  }

  /* ─── BETA FOCUS ─── */
  .focus-strip {
    background: rgba(212,82,26,0.06);
    border: 1px solid rgba(212,82,26,0.2);
    border-radius: 4px;
    padding: 4rem 3.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
  }

  .focus-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1.5rem 0 2rem;
  }

  .tag {
    border: 1px solid var(--border);
    padding: 0.35rem 0.9rem;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    color: var(--sand);
    border-radius: 2px;
  }

  .focus-btns { display: flex; flex-direction: column; gap: 0.8rem; }

  /* ─── WHY DIFFERENT ─── */
  .why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    background: var(--border);
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid var(--border);
  }

  .why-card {
    background: var(--black);
    padding: 3rem;
    transition: background 0.3s;
  }
  .why-card:hover { background: #0e0e0c; }

  .why-icon {
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
    display: block;
  }

  .why-title {
    font-family: 'DM Serif Display', serif;
    font-size: 1.1rem;
    color: var(--white);
    margin-bottom: 0.7rem;
    line-height: 1.3;
  }

  .why-body {
    font-size: 0.88rem;
    color: var(--sand);
    line-height: 1.7;
  }

  /* ─── EARLY ACCESS ─── */
  .access-block {
    text-align: center;
    padding: 8rem 3rem;
    position: relative;
    overflow: hidden;
  }

  .access-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(212,82,26,0.1) 0%, transparent 70%);
    pointer-events: none;
  }

  .access-block .section-title { font-size: clamp(3rem, 6vw, 6rem); }

  .access-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2.5rem;
  }

  /* ─── STORY PAGE ─── */
  .story-header {
    padding: 12rem 3rem 5rem;
    max-width: 800px;
    margin: 0 auto;
    border-bottom: 1px solid var(--border);
  }

  .story-body {
    max-width: 720px;
    margin: 0 auto;
    padding: 4rem 3rem 8rem;
  }

  .story-body p {
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--sand);
    margin-bottom: 1.8rem;
  }

  .story-body p strong {
    color: var(--white);
    font-weight: 500;
  }

  .story-body h3 {
    font-family: 'DM Serif Display', serif;
    font-size: 1.7rem;
    color: var(--white);
    margin: 3rem 0 1.2rem;
    line-height: 1.3;
  }

  .story-pull {
    border-left: 2px solid var(--ember);
    padding-left: 2rem;
    margin: 3rem 0;
    font-family: 'DM Serif Display', serif;
    font-style: italic;
    font-size: 1.4rem;
    color: var(--white);
    line-height: 1.5;
  }

  /* ─── HOW IT WORKS PAGE ─── */
  .how-header {
    padding: 12rem 3rem 5rem;
    max-width: 900px;
    margin: 0 auto;
  }

  .timeline {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 3rem 8rem;
  }

  .timeline-item {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
    position: relative;
  }

  .timeline-item::before {
    content: '';
    position: absolute;
    left: 39px;
    top: 60px;
    bottom: -4rem;
    width: 1px;
    background: var(--border);
  }
  .timeline-item:last-child::before { display: none; }

  .timeline-num {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 1px solid var(--ember);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8rem;
    color: var(--ember);
    flex-shrink: 0;
    background: rgba(212,82,26,0.06);
  }

  .timeline-content { padding-top: 1rem; }

  .timeline-title {
    font-family: 'DM Serif Display', serif;
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 0.8rem;
  }

  .timeline-body {
    font-size: 0.95rem;
    color: var(--sand);
    line-height: 1.75;
  }

  /* ─── FOOTER ─── */
  footer {
    border-top: 1px solid var(--border);
    padding: 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
  }

  .footer-logo {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.4rem;
    letter-spacing: 0.1em;
    color: var(--muted);
  }
  .footer-logo span { color: var(--ember); }

  .footer-tag {
    font-size: 0.75rem;
    color: var(--muted);
    letter-spacing: 0.08em;
  }

  /* ─── ANIMATIONS ─── */
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .fade-up {
    animation: fadeUp 0.7s ease both;
  }
  .fade-up:nth-child(2) { animation-delay: 0.1s; }
  .fade-up:nth-child(3) { animation-delay: 0.2s; }
  .fade-up:nth-child(4) { animation-delay: 0.3s; }
  .fade-up:nth-child(5) { animation-delay: 0.4s; }

  /* ─── RESPONSIVE ─── */
  @media (max-width: 768px) {
    nav { padding: 1rem 1.5rem; }
    .nav-links { display: none; }
    .hero-content { padding: 9rem 1.5rem 4rem; }
    .hero-badge { display: none; }
    section { padding: 4rem 1.5rem; }
    .steps-grid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr; }
    .focus-strip { grid-template-columns: 1fr; gap: 2rem; padding: 2.5rem; }
    .story-header { padding: 9rem 1.5rem 3rem; }
    .story-body { padding: 2rem 1.5rem 5rem; }
    .how-header { padding: 9rem 1.5rem 3rem; }
    .timeline { padding: 2rem 1.5rem 5rem; }
    footer { padding: 2rem 1.5rem; }
  }

/* ─── REAL PAGE STRUCTURE ─── */
main { position: relative; }
.nav-logo { display: inline-block; }
.nav-cta { display: inline-block; }
a.btn-primary, a.btn-secondary { display: inline-block; text-decoration: none; }
.page-bg-wrapper { position: relative; overflow: hidden; min-height: 100vh; }
.page-bg-wrapper > *:not(.hero-bg):not(.hero-grid-lines) { position: relative; z-index: 2; }

/* ─── BETA FORM ─── */
.beta-page {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  padding: 12rem 3rem 6rem;
}

.beta-container {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
}

.beta-card {
  margin-top: 2.5rem;
  padding: 3rem;
  background: rgba(10,10,8,0.72);
  border: 1px solid var(--border);
  border-radius: 4px;
  backdrop-filter: blur(12px);
}

.beta-form {
  display: grid;
  gap: 1rem;
}

.beta-form label {
  display: grid;
  gap: 0.45rem;
  color: var(--sand);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.beta-form input,
.beta-form select,
.beta-form textarea {
  width: 100%;
  background: rgba(245,242,235,0.04);
  border: 1px solid var(--border);
  color: var(--white);
  padding: 1rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  border-radius: 2px;
  outline: none;
}

.beta-form textarea { min-height: 120px; resize: vertical; }
.beta-form input:focus,
.beta-form select:focus,
.beta-form textarea:focus { border-color: var(--ember); }
.beta-form select option { background: var(--black); color: var(--white); }
.form-note { color: var(--muted); font-size: 0.8rem; line-height: 1.6; margin-top: 1rem; }
.form-success { display:none; margin-top:1rem; color: var(--sand); font-size:0.9rem; line-height:1.6; }
.form-success.active { display:block; }

@media (max-width: 768px) {
  .beta-page { padding: 9rem 1.5rem 4rem; }
  .beta-card { padding: 2rem; }
}
