/* ── Reset ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
img  { display: block; max-width: 100%; }
a    { color: inherit; text-decoration: none; }

/* ── Tokens ─────────────────────────────────── */
:root {
  --bg:      #080810;
  --surface: #12121e;
  --raised:  #1a1a2e;
  --border:  #252540;
  --primary: #e2d9f8;
  --muted:   #8b7fb8;
  --dim:     #4a4070;
  --accent:  #9b7fe8;
  --brand:   #e0368c;
  --brand-g: rgba(224,54,140,0.18);
  --serif:   'Playfair Display', Georgia, serif;
  --sans:    'DM Sans', system-ui, sans-serif;
  --rad-sm:  6px;
  --rad-md:  12px;
  --rad-lg:  20px;
}

/* ── Body ──────────────────────────────────── */
body {
  background: var(--bg);
  color: var(--primary);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── Nav ───────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 1.5rem clamp(1.5rem, 4vw, 3.5rem);
  display: flex; align-items: center; justify-content: space-between;
  transition: background .4s, backdrop-filter .4s;
}
.nav.scrolled {
  background: rgba(8,8,16,.88);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}
.nav__links { display: flex; align-items: center; gap: 2.5rem; list-style: none; }
.nav__links a { font-size: .85rem; font-weight: 500; color: var(--muted); letter-spacing: .04em; transition: color .2s; padding: .5rem .25rem; }
.nav__links a:hover, .nav__links a.active { color: var(--primary); }
.nav__cta {
  background: var(--brand); color: #fff;
  font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  padding: .7rem 1.4rem; border-radius: 100px; min-height: 44px; display: inline-flex; align-items: center;
  transition: box-shadow .2s, transform .2s;
}
.nav__cta:hover { box-shadow: 0 0 24px var(--brand-g); transform: translateY(-1px); }

/* ── Mobile Nav ────────────────────────────── */
.nav__hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 10px; z-index: 101; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }
.nav__hamburger span { display: block; width: 22px; height: 2px; background: var(--primary); border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav__mobile { position: fixed; inset: 0; background: rgba(8,8,16,.97); z-index: 99; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.75rem; opacity: 0; pointer-events: none; transition: opacity .35s ease; }
.nav__mobile.open { opacity: 1; pointer-events: all; }
.nav__mobile__link { font-family: var(--serif); font-size: clamp(1.4rem, 5vw, 1.9rem); font-weight: 700; color: var(--primary); letter-spacing: -.02em; transition: color .2s; padding: .5rem 1rem; min-height: 44px; display: inline-flex; align-items: center; }
.nav__mobile__link:hover { color: var(--brand); }

/* ── Scroll Offset (fixed nav) ────────────── */
[id] { scroll-margin-top: 5rem; }

/* ── Shared Utilities ──────────────────────── */
.container        { max-width: 1200px; margin: 0 auto; padding: 0 clamp(1.5rem, 5vw, 4rem); }
.container--mid   { max-width: 960px;  margin: 0 auto; padding: 0 clamp(1.5rem, 5vw, 4rem); }
.container--narrow{ max-width: 720px;  margin: 0 auto; padding: 0 clamp(1.5rem, 5vw, 4rem); }
.eyebrow { font-size: .7rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--brand); }
.divider { height: 1px; background: var(--border); margin: 0 clamp(1.5rem, 5vw, 4rem); }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── Footer ────────────────────────────────── */
.footer { padding: 2rem clamp(1.5rem, 4vw, 3.5rem); border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer__links { display: flex; gap: 2rem; flex-wrap: wrap; align-items: center; }
.footer__nav-main, .footer__nav-legal { display: flex; gap: 2rem; }
.footer__links a { font-size: .8rem; color: var(--muted); transition: color .2s; padding: .5rem .25rem; min-height: 44px; display: inline-flex; align-items: center; }
.footer__links a:hover { color: var(--primary); }
.footer__legal-link { color: var(--dim) !important; }
.footer__legal-link:hover { color: var(--muted) !important; }
.footer__divider { color: var(--dim); font-size: .8rem; }
.footer__copy { font-size: .75rem; color: var(--dim); }
.footer__company { color: var(--dim); transition: color .2s; }
.footer__company:hover { color: var(--muted); }

/* ── Skip Link ─────────────────────────────── */
.skip-link { position: absolute; top: -100px; left: 0; background: var(--brand); color: #fff; padding: .75rem 1.5rem; z-index: 200; font-size: .85rem; font-weight: 500; transition: top .2s; }
.skip-link:focus { top: 0; }

/* ── Split Text Block ─────────────────────── */
.split__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ── Newsletter Checkbox ──────────────────── */
.waitlist-consent {
  display: flex;
  align-items: center;
  gap: .6rem;
  max-width: 480px;
  margin: 0 auto .75rem;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
}
.waitlist-consent input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  min-width: 20px;
  border: 2px solid #6b6190;
  border-radius: 5px;
  background: var(--surface);
  cursor: pointer;
  transition: background .2s, border-color .2s;
  position: relative;
}
.waitlist-consent input[type="checkbox"]::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 6px;
  width: 5px;
  height: 10px;
  border: solid transparent;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  transition: border-color .2s;
}
.waitlist-consent input[type="checkbox"]:checked {
  background: var(--brand);
  border-color: var(--brand);
}
.waitlist-consent input[type="checkbox"]:checked::after {
  border-color: #fff;
}
.waitlist-consent input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.waitlist-consent__label {
  font-size: .85rem;
  color: var(--primary);
  line-height: 1.4;
}

/* ── Image Drag Protection ─────────────────── */
img { -webkit-user-drag: none; }
