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

:root {
  --cream: #f0ece3;
  --dark-brown: #2a2924;
  --near-black: #1c1c1c;
  --warm-gray: #c8c1b1;
  --muted: #cdc9c0;
  --gold: #a0957b;
  --card-dark: #171612;
  --text-light: #dedede;
  --px: clamp(40px, 8vw, 114px);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  color: var(--dark-brown);
  overflow-x: hidden;
  background: #fff;
}

/* ── NAVBAR ─────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

/* logoTransparent.svg has intrinsic 187×40 — width:auto works correctly */
.navbar-logo {
  height: 34px;
  width: auto;
}

/* ── SHARED: dark-photo sections (hero + early-access) ── */
.hero,
.early-access {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: #000;
  opacity: 0.55;
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: clamp(2rem, 4vw, 5rem);
  padding: 110px var(--px) 90px;
}

.hero-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ── COMING SOON LABEL ───────────────────── */
.coming-soon {
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 7.8px;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── HERO HEADLINE ───────────────────────── */
.hero-headline {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.hl-serif {
  font-family: 'Libre Bodoni', serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(56px, 9vw, 130px);
  color: var(--muted);
  line-height: 1;
}

.hl-wait {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-style: italic;
  font-size: clamp(16px, 2.4vw, 35px);
  letter-spacing: 0.9em;
  text-transform: uppercase;
  color: var(--muted);
  padding-left: 0.9em;
  line-height: 1.8;
}

.hero-desc {
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 380px;
}

/* ── EARLY ACCESS HEADLINE ───────────────── */
.early-headline {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.hl-early {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: clamp(14px, 2.3vw, 33px);
  letter-spacing: 0.6em;
  text-transform: uppercase;
  color: var(--muted);
  padding-left: 0.6em;
  line-height: 1.7;
}

/* ── FORM CARD ───────────────────────────── */
.form-card {
  flex: 0 0 388px;
  min-width: 320px;
  background: rgba(255, 255, 255, 0.10);
  border-radius: 18px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 8px 30px rgba(30, 31, 39, 0.09);
  overflow: hidden;
}

.form-inner {
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.form-title {
  font-family: 'Libre Bodoni', serif;
  font-size: 20px;
  font-weight: 400;
  color: var(--muted);
  text-align: center;
  letter-spacing: -0.4px;
}

.form-subtitle {
  font-size: 13px;
  color: var(--muted);
  text-align: center;
  line-height: 1.4;
  margin-top: -12px;
}

.signup-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 100%;
}

.field-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.field-group label {
  font-family: 'Libre Bodoni', serif;
  font-size: 11px;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.7;
}

.field-group input {
  width: 169px;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(205, 201, 192, 0.5);
  color: var(--muted);
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 13px;
  text-align: center;
  padding: 4px 0;
  outline: none;
  transition: border-color 0.2s;
}

.field-group input:focus {
  border-bottom-color: var(--muted);
}

.btn-notify {
  background: var(--muted);
  border: none;
  border-radius: 11px;
  padding: 6px 0;
  width: 99px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 10px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--dark-brown);
  cursor: pointer;
  transition: opacity 0.2s;
}

.btn-notify:hover { opacity: 0.82; }
.btn-notify:disabled { opacity: 0.5; cursor: not-allowed; }

.form-msg {
  min-height: 14px;
  font-size: 11px;
  text-align: center;
  color: var(--muted);
}
.form-msg.error { color: #e57373; }
.form-msg.success { color: #aed09a; }

/* ── TICKER ──────────────────────────────── */
.ticker-wrap {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 115%;
  height: 51px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 48px;
  overflow: hidden;
  z-index: 2;
  display: flex;
  align-items: center;
}

.ticker {
  display: flex;
  align-items: center;
  gap: 50px;
  white-space: nowrap;
  padding: 0 50px;
  animation: ticker-scroll 40s linear infinite;
  will-change: transform;
}

.ticker span {
  font-size: 11px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.7;
  flex-shrink: 0;
}

.dot {
  width: 7px;
  height: 7px;
  flex-shrink: 0;
}

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── SECTION LABEL ───────────────────────── */
.section-label {
  display: flex;
  align-items: center;
  gap: 20px;
}

.label-text {
  font-weight: 300;
  font-style: italic;
  font-size: 11px;
  letter-spacing: 0.66px;
  text-transform: uppercase;
  color: var(--dark-brown);
  white-space: nowrap;
}

.section-label.light .label-text { color: var(--muted); }

.label-line {
  flex: 0 0 155px;
  height: 1px;
  background: var(--dark-brown);
  opacity: 0.2;
}

.section-label.light .label-line {
  background: var(--muted);
  opacity: 0.35;
}

/* ── SECTION HEADLINE ────────────────────── */
.section-headline {
  font-family: 'Libre Bodoni', serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(30px, 3.5vw, 50px);
  color: var(--warm-gray);
  line-height: 1.1;
}

.section-headline.light { color: var(--warm-gray); }

.gold-ul {
  color: var(--gold);
  text-decoration: underline solid var(--gold);
  text-underline-offset: 3px;
  text-decoration-skip-ink: none;
}

/* ── PHILOSOPHY ──────────────────────────── */
.philosophy {
  background: var(--cream);
  padding: 90px var(--px);
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.philosophy-content {
  display: flex;
  align-items: flex-start;
  gap: clamp(40px, 6vw, 120px);
}

.philosophy-left {
  flex: 0 0 clamp(280px, 31.5vw, 454px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.body-text {
  font-size: 14px;
  line-height: 28px;
  color: var(--dark-brown);
  max-width: 423px;
}

.philosophy-right {
  flex: 1;
  display: flex;
  align-items: center;
}

.no-list {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.no-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  line-height: 28px;
  font-size: 14px;
  color: var(--dark-brown);
}

.cross-icon {
  width: 17px;
  height: 16px;
  flex-shrink: 0;
}

/* ── FILM STRIP ──────────────────────────── */
.film-strip {
  width: 100%;
  height: 345px;
  overflow: hidden;
  display: block;
}

.film-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ── HOW IT WORKS ────────────────────────── */
.how-it-works {
  background: var(--dark-brown);
  padding: 90px var(--px);
  display: flex;
  flex-direction: column;
  gap: 55px;
}

.how-content {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.how-heading {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.how-sub {
  font-size: 17px;
  font-weight: 300;
  color: var(--warm-gray);
  line-height: 35px;
  font-style: italic;
}

.how-cards {
  display: flex;
  gap: 30px;
}

.how-card {
  flex: 1;
  background: var(--card-dark);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 218px;
}

.step-icon {
  width: 28px;
  height: 22px;
  object-fit: contain;
}

.step-title {
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  font-size: 15px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-light);
  line-height: 20px;
  margin-bottom: 10px;
}

.step-desc {
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  font-size: 12px;
  color: var(--text-light);
  line-height: 20px;
}

/* ── CONSTRAINTS ─────────────────────────── */
.constraints {
  background: var(--cream);
  padding: 90px var(--px);
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.constraints-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.constraint-item {
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.c-cat {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  line-height: 20px;
}

.c-title {
  font-family: 'Libre Bodoni', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 19px;
  color: var(--gold);
  line-height: 30px;
}

.c-desc {
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  font-size: 12px;
  color: var(--gold);
  line-height: 20px;
}

/* ── FOOTER ──────────────────────────────── */
footer {
  background: var(--near-black);
  height: 100px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 var(--px);
}

/* logoTransparent.svg has intrinsic 187×40 */
.footer-logo {
  height: 32px;
  width: auto;
}

.footer-download {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-download span {
  font-size: 13px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.store-badges {
  display: flex;
  gap: 10px;
  align-items: center;
}

.store-icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(30, 31, 39, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.store-icon-wrap:hover {
  background: rgba(255, 255, 255, 0.18);
}

/* appleLogo 13×15, androidLogo 14×15 — icon-only marks */
.store-icon {
  height: 22px;
  width: auto;
}

.footer-copy {
  font-size: 13px;
  color: var(--muted);
}

.contact-btn {
  height: 35px;
  padding: 0 24px;
  border-radius: 48px;
  border: none;
  background: rgba(255, 255, 255, 0.10);
  color: var(--muted);
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 11px;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 8px 30px rgba(30, 31, 39, 0.09);
  transition: opacity 0.2s;
}

.contact-btn:hover { opacity: 0.75; }

/* ══════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════ */

/* ── Tablet (≤ 1024px) ───────────────────── */
@media (max-width: 1024px) {
  .constraints-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .philosophy-left {
    flex: 0 0 40%;
  }

  .form-card {
    flex: 0 0 320px;
    min-width: 0;
  }

  .how-card {
    padding: 24px;
  }
}

/* ── Mobile (≤ 768px) ────────────────────── */
@media (max-width: 768px) {
  :root { --px: 24px; }

  /* Navbar */
  .navbar { height: 64px; }
  .navbar-logo { height: 26px; }

  /* Hero + Early Access — stack vertically */
  .hero-content {
    flex-direction: column;
    align-items: center;
    padding-top: 96px;
    padding-bottom: 80px;
    gap: 2.5rem;
  }

  .hero-text {
    align-items: center;
    text-align: center;
  }

  .hero-headline { align-items: center; }

  .hl-wait {
    letter-spacing: 0.55em;
    padding-left: 0.55em;
  }

  .hero-desc {
    text-align: center;
    max-width: 100%;
  }

  .coming-soon { text-align: center; }

  .form-card {
    width: 100%;
    max-width: 400px;
    flex: 0 0 auto;
    min-width: 0;
  }

  /* Early access */
  .early-headline { align-items: center; }

  .hl-early {
    letter-spacing: 0.5em;
    padding-left: 0.5em;
  }

  /* Philosophy */
  .philosophy-content {
    flex-direction: column;
    gap: 36px;
  }

  .philosophy-left {
    flex: 0 0 auto;
    width: 100%;
  }

  .body-text { max-width: 100%; }

  /* Film strip */
  .film-strip { height: 200px; }

  /* How it works */
  .how-cards {
    flex-direction: column;
    gap: 16px;
  }

  .how-card { min-height: 0; }

  /* Constraints — single column */
  .constraints-grid { grid-template-columns: 1fr; }

  .constraint-item { padding: 20px 16px; }

  /* Sections padding */
  .philosophy,
  .how-it-works,
  .constraints {
    padding-top: 64px;
    padding-bottom: 64px;
    gap: 40px;
  }

  /* Footer — stack */
  footer { height: auto; }

  .footer-inner {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 36px var(--px);
    text-align: center;
  }

  .footer-download {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
}

/* ── Small mobile (≤ 480px) ─────────────── */
@media (max-width: 480px) {
  :root { --px: 18px; }

  .hl-serif { font-size: clamp(48px, 14vw, 80px); }

  .section-headline { font-size: clamp(28px, 8vw, 42px); }

  .field-group input { width: 140px; }

  .how-card { padding: 20px; }
}
