/* =========================================================
   StyleUp — Landing Page
   Palette: warm ink / warm paper / champagne gold accent
   ========================================================= */

:root {
  --ink: #100e0c;
  --ink-soft: #1c1917;
  --paper: #f7f2ea;
  --paper-dim: #efe8dc;
  --cream: #fbf8f2;
  --gold: #c69a52;
  --gold-soft: #e2c184;
  --line: rgba(16, 14, 12, 0.1);
  --line-light: rgba(247, 242, 234, 0.16);
  --text-muted: rgba(16, 14, 12, 0.62);
  --text-muted-light: rgba(247, 242, 234, 0.66);

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --wrap: 1180px;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 32px;
}

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

/* ---------- grain overlay ---------- */
.grain-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 22px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.35s var(--ease), background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: 15px 28px; font-size: 15px; }

.btn-primary { background: var(--gold); color: var(--ink); }
.btn-primary:hover { background: var(--gold-soft); }

.btn-outline { border-color: var(--line-light); color: var(--paper); }
.btn-outline:hover { border-color: var(--gold-soft); color: var(--gold-soft); }

/* ---------- header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px 0;
  transition: background 0.4s ease, padding 0.4s ease, border-color 0.4s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  padding: 14px 0;
  background: rgba(16, 14, 12, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  border-color: var(--line-light);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logotype {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 22px;
  color: var(--paper);
  letter-spacing: 0.01em;
}
.tm { font-size: 0.5em; vertical-align: super; opacity: 0.7; margin-left: 1px; }

.main-nav {
  display: flex;
  gap: 32px;
  font-size: 14px;
  color: var(--text-muted-light);
}
.main-nav a { transition: color 0.25s ease; }
.main-nav a:hover { color: var(--paper); }

.header-actions { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 20px; height: 1.5px;
  background: var(--paper);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  background: var(--ink);
  color: var(--paper);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 90px;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.hero-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 30%, transparent 0%, rgba(16,14,12,0.35) 70%, rgba(16,14,12,0.85) 100%),
    linear-gradient(180deg, rgba(16,14,12,0.15) 0%, transparent 20%, rgba(16,14,12,0.55) 100%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 24px;
  width: 100%;
  padding-top: 20px;
  padding-bottom: 60px;
}

.eyebrow {
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin: 0 0 18px;
}
.eyebrow-light { color: var(--gold-soft); }

.hero-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.04;
  letter-spacing: -0.01em;
  margin: 0 0 24px;
}
.hero-title em {
  font-style: italic;
  color: var(--gold-soft);
}

.hero-sub {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-muted-light);
  max-width: 460px;
  margin: 0 0 36px;
}

.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* phones (hero) */
.hero-phones {
  position: relative;
  width: 100%;
  max-width: 480px;
  height: 620px;
  justify-self: center;
}

.phone-mockup {
  position: absolute;
  width: 240px;
  animation: float 7s ease-in-out infinite;
  will-change: transform;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.45));
}

.phone-front {
  width: 262px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(0deg);
  z-index: 3;
  animation-duration: 6.5s;
}
.phone-back-left {
  width: 200px;
  left: 6%;
  top: 30%;
  transform: rotate(-11deg);
  z-index: 1;
  opacity: 0.92;
  animation-duration: 8s;
  animation-delay: -2s;
}
.phone-back-right {
  width: 200px;
  right: 2%;
  top: 42%;
  transform: rotate(9deg);
  z-index: 2;
  opacity: 0.96;
  animation-duration: 7.5s;
  animation-delay: -4s;
}

@keyframes float {
  0%, 100% { margin-top: 0; }
  50% { margin-top: -18px; }
}

.phone-frame {
  position: relative;
  aspect-ratio: 9 / 19.5;
  border-radius: 42px;
  background: linear-gradient(160deg, #322d29, #0b0a09 55%, #1a1613);
  padding: 10px;
  box-shadow:
    inset 0 0 0 1.5px rgba(255,255,255,0.09),
    inset 0 1px 1px rgba(255,255,255,0.12),
    inset 0 0 20px rgba(0,0,0,0.6);
}
/* power button */
.phone-frame::before {
  content: "";
  position: absolute;
  right: -2px;
  top: 22%;
  width: 3px;
  height: 11%;
  min-height: 38px;
  background: linear-gradient(180deg, #3d3833, #131110);
  border-radius: 0 3px 3px 0;
  box-shadow: 1px 0 2px rgba(0,0,0,0.5);
}
/* volume buttons (second bar drawn via offset box-shadow) */
.phone-frame::after {
  content: "";
  position: absolute;
  left: -2px;
  top: 17%;
  width: 3px;
  height: 7%;
  min-height: 24px;
  background: linear-gradient(180deg, #3d3833, #131110);
  border-radius: 3px 0 0 3px;
  box-shadow:
    -1px 0 2px rgba(0,0,0,0.5),
    0 32px 0 0 #1c1916;
}

.phone-island {
  position: absolute;
  top: 18px; left: 50%;
  transform: translateX(-50%);
  width: 34%;
  height: 20px;
  background: #050505;
  border-radius: 20px;
  z-index: 5;
}
.phone-island::after {
  content: "";
  position: absolute;
  top: 50%; right: 8px;
  transform: translateY(-50%);
  width: 7px; height: 7px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #3d5c6b, #060606 72%);
}

.phone-screen {
  position: relative;
  height: 100%;
  border-radius: 32px;
  background: linear-gradient(160deg, #201c19, #100e0c);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 16px 10px 10px;
}
.phone-screen-light { background: var(--cream); }

/* subtle glass sheen */
.phone-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg,
    rgba(255,255,255,0.09) 0%,
    rgba(255,255,255,0) 24%,
    rgba(255,255,255,0) 76%,
    rgba(255,255,255,0.05) 100%);
  pointer-events: none;
  z-index: 6;
}

.app-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  font-weight: 600;
  color: var(--paper);
  padding: 0 6px 10px;
  letter-spacing: 0.02em;
}
.app-status-bar.dark { color: var(--ink); }
.app-status-icons { display: flex; align-items: center; gap: 5px; opacity: 0.92; }
.app-status-icons svg { display: block; }

.phone-home-indicator {
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 34%;
  height: 4px;
  border-radius: 3px;
  background: rgba(255,255,255,0.32);
  z-index: 7;
}
.phone-home-indicator.dark { background: rgba(16,14,12,0.25); }

/* generic swatches (stand-ins for photography: layered "bokeh" light + grain
   reads as an out-of-focus editorial photo instead of a flat gradient) */
.swatch-1, .swatch-2, .swatch-3 {
  position: relative;
  overflow: hidden;
}
.swatch-1::after, .swatch-2::after, .swatch-3::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.15;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
}
.swatch-1 {
  background:
    radial-gradient(ellipse 55% 40% at 28% 20%, rgba(255,238,200,0.55), transparent 60%),
    radial-gradient(ellipse 60% 55% at 78% 80%, rgba(90,55,15,0.7), transparent 65%),
    linear-gradient(150deg, #d8b06a 0%, #6a4a24 55%, #1c140a 100%);
}
.swatch-2 {
  background:
    radial-gradient(ellipse 50% 40% at 24% 18%, rgba(255,218,224,0.5), transparent 60%),
    radial-gradient(ellipse 60% 55% at 76% 82%, rgba(64,22,48,0.72), transparent 65%),
    linear-gradient(150deg, #c98d8a 0%, #5e3350 55%, #1a0f18 100%);
}
.swatch-3 {
  background:
    radial-gradient(ellipse 55% 40% at 30% 18%, rgba(255,227,195,0.5), transparent 60%),
    radial-gradient(ellipse 60% 55% at 74% 82%, rgba(72,36,15,0.68), transparent 65%),
    linear-gradient(150deg, #b98a5f 0%, #6b4534 55%, #201209 100%);
}

.post-card {
  position: relative;
  flex: 1;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 12px;
}

.post-top { display: flex; align-items: center; gap: 8px; position: relative; z-index: 2; }
.avatar-ring {
  display: inline-flex;
  padding: 2px;
  border-radius: 50%;
  background: conic-gradient(from 210deg, var(--gold-soft), #e2a6c4, var(--gold-soft));
}
.avatar {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  border: 1.5px solid rgba(16,14,12,0.55);
  display: block;
}
.post-name {
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}
.verified { color: var(--gold-soft); }

.like-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(16,14,12,0.4);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  padding: 5px 9px;
  border-radius: 100px;
}
.like-badge svg { color: #f0a8b8; }

.post-bottom {
  position: relative;
  z-index: 2;
  background: rgba(16,14,12,0.42);
  backdrop-filter: blur(6px);
  border-radius: 14px;
  padding: 10px 12px;
}
.post-service { font-size: 11.5px; color: #fff; margin-bottom: 6px; font-weight: 500; }
.post-price-row { display: flex; align-items: center; justify-content: space-between; }
.post-price { font-family: var(--font-display); font-style: italic; font-size: 16px; color: var(--gold-soft); }

.pill {
  font-size: 10.5px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
}
.pill-solid { background: var(--gold); color: var(--ink); }

.app-tab-bar {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding-top: 10px;
}
.tab-dot { width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,0.25); }
.tab-dot.active { background: var(--gold-soft); }

/* confirmation screen */
.confirm-card {
  margin: auto;
  width: 100%;
  text-align: center;
  padding: 20px 14px;
}
.confirm-check {
  width: 38px; height: 38px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--gold-soft);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
}
.confirm-title {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 17px;
  margin-bottom: 14px;
  color: var(--ink);
}
.confirm-row {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--ink);
  opacity: 0.7;
  padding: 7px 4px;
  border-top: 1px solid rgba(16,14,12,0.08);
}

/* tagged pins */
.tag-pin {
  position: absolute;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  z-index: 4;
  animation: pulse-pin 2.4s ease-out infinite;
}
@keyframes pulse-pin {
  0% { box-shadow: 0 0 0 0 rgba(255,255,255,0.4); }
  70% { box-shadow: 0 0 0 11px rgba(255,255,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}
.product-strip { display: flex; gap: 8px; padding: 10px 4px 2px; overflow: hidden; }
.product-chip {
  flex: none;
  display: flex; align-items: center; gap: 6px;
  font-size: 9.5px;
  color: var(--paper);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 6px 10px;
  border-radius: 100px;
}
.chip-swatch { width: 12px; height: 12px; border-radius: 50%; }

/* feed list (ranking phone) */
.list-header {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 15px;
  color: var(--ink);
  padding: 2px 6px 12px;
}
.feed-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 6px;
  border-top: 1px solid rgba(16,14,12,0.08);
}
.feed-thumb { width: 34px; height: 34px; border-radius: 10px; flex: none; }
.feed-meta { display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 0; }
.feed-name { font-size: 11px; font-weight: 600; color: var(--ink); }
.feed-sub { font-size: 9.5px; color: var(--text-muted); }
.feed-price { font-size: 11px; font-weight: 600; color: var(--ink); opacity: 0.75; }

/* market grid */
.market-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 4px 4px 0;
}
.market-item { display: flex; flex-direction: column; gap: 6px; }
.market-thumb { aspect-ratio: 1; border-radius: 12px; }
.market-thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' fill-opacity='0.3' d='M9 2h6v3.2c1.7.9 3 2.8 3 5.3v9c0 1.4-1.1 2.5-2.5 2.5h-7C7.1 22 6 20.9 6 19.5v-9c0-2.5 1.3-4.4 3-5.3V2z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center 58%;
  background-size: 40% auto;
  pointer-events: none;
}
.market-item span { font-size: 8.5px; line-height: 1.3; color: var(--ink); opacity: 0.75; }

.scroll-cue {
  position: absolute;
  bottom: 30px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.scroll-cue span {
  display: block;
  width: 1px; height: 34px;
  background: linear-gradient(var(--gold-soft), transparent);
  animation: scrollcue 2.2s ease-in-out infinite;
}
@keyframes scrollcue {
  0% { transform: scaleY(0); transform-origin: top; opacity: 0; }
  40% { transform: scaleY(1); transform-origin: top; opacity: 1; }
  60% { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* ---------- sections ---------- */
.section { padding: 130px 0; }
.section-tight { padding: 100px 0; }
.section:nth-of-type(even) { background: var(--paper-dim); }

.section-head { max-width: 620px; margin: 0 0 64px; }
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1.18;
  margin: 0;
  letter-spacing: -0.01em;
}
/* feature split */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.feature-reverse .feature-grid { direction: rtl; }
.feature-reverse .feature-copy,
.feature-reverse .feature-visual { direction: ltr; }

.feature-copy h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(28px, 3.4vw, 38px);
  line-height: 1.2;
  margin: 0 0 20px;
  letter-spacing: -0.01em;
}
.feature-body { font-size: 16px; line-height: 1.7; color: var(--text-muted); max-width: 460px; }

.feature-visual { display: flex; justify-content: center; }
.phone-standalone { position: static; width: 250px; animation: float 8s ease-in-out infinite; filter: drop-shadow(0 40px 60px rgba(16,14,12,0.18)); }

/* worlds */
.worlds-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.world-pill {
  padding: 12px 22px;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease;
}
.world-pill:hover { border-color: var(--gold); background: rgba(198,154,82,0.08); transform: translateY(-2px); }

/* business cards */
.business-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.business-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 40px;
}
.business-index {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--gold);
  border: 1px solid rgba(198,154,82,0.4);
  padding: 5px 12px;
  border-radius: 100px;
  margin-bottom: 22px;
}
.business-card h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 24px;
  margin: 0 0 12px;
}
.business-card p { margin: 0; color: var(--text-muted); line-height: 1.65; font-size: 15px; }

/* ---------- final CTA ---------- */
.cta-section {
  position: relative;
  background: var(--ink);
  color: var(--paper);
  padding: 150px 0 110px;
  overflow: hidden;
  text-align: center;
}
.cta-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 55% at 50% 0%, rgba(198,154,82,0.16), transparent 70%);
  pointer-events: none;
}
.cta-inner { position: relative; max-width: 620px; }
.cta-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(32px, 4.6vw, 52px);
  line-height: 1.15;
  margin: 0 0 18px;
  letter-spacing: -0.01em;
}
.cta-sub { color: var(--text-muted-light); font-size: 16px; margin: 0 0 36px; }

.waitlist-form {
  display: flex;
  gap: 10px;
  max-width: 420px;
  margin: 0 auto 14px;
}
.waitlist-form input {
  flex: 1;
  padding: 13px 18px;
  border-radius: 100px;
  border: 1px solid var(--line-light);
  background: rgba(255,255,255,0.05);
  color: var(--paper);
  font-size: 14px;
  font-family: var(--font-body);
}
.waitlist-form input::placeholder { color: var(--text-muted-light); }
.waitlist-form input:focus { outline: none; border-color: var(--gold-soft); }

.form-note { font-size: 12.5px; color: var(--text-muted-light); margin: 0; }
.form-note.success { color: var(--gold-soft); }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: var(--paper); padding-top: 70px; }
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid var(--line-light);
  flex-wrap: wrap;
}
.footer-brand p { color: var(--text-muted-light); font-size: 13.5px; margin-top: 10px; max-width: 220px; }
.logotype-light { color: var(--paper); }
.footer-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col h4 { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted-light); margin: 0 0 4px; font-weight: 600; }
.footer-col a { font-size: 14px; color: var(--paper); opacity: 0.82; transition: opacity 0.25s ease; }
.footer-col a:hover { opacity: 1; color: var(--gold-soft); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding: 22px 32px;
  font-size: 12.5px;
  color: var(--text-muted-light);
  flex-wrap: wrap;
  gap: 8px;
}

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .hero-sub { max-width: 520px; }
  .hero-cta { justify-content: center; }
  .hero-phones { margin-top: 20px; height: 460px; width: 100%; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-reverse .feature-grid { direction: ltr; }
  .feature-copy { text-align: center; margin: 0 auto; }
  .feature-copy p { margin-left: auto; margin-right: auto; }
  .business-grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(16, 14, 12, 0.96);
    backdrop-filter: blur(14px) saturate(140%);
    border-bottom: 1px solid var(--line-light);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s var(--ease);
  }
  .main-nav.open { max-height: 320px; }
  .main-nav a {
    padding: 16px 32px;
    border-top: 1px solid var(--line-light);
    color: var(--paper);
  }
  .nav-toggle { display: flex; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
}

@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
  .hero-title { font-size: clamp(36px, 10vw, 52px); }
  .hero-phones { height: 380px; }
  .phone-front { width: 190px; }
  .phone-back-left, .phone-back-right { width: 150px; }
  .waitlist-form { flex-direction: column; }
  .footer-inner { flex-direction: column; gap: 30px; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .phone-mockup, .scroll-cue span, .tag-pin { animation: none !important; }
}
