/* ============================================================
   VULL — Landing page. Framed-sheet layout on true black.
   Tokens mirror app/styles.css (Space Grotesk + Hanken Grotesk,
   red/orange/pink tricolor). Structure inspired by a reference
   logistics landing page, recast for a music-taste product.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Hanken+Grotesk:wght@400;500;600;700;800&display=swap');

:root {
  --bg:        #000000;
  --card:      #101012;
  --card-soft: #17181c;
  --surface:   #1c1d22;
  --line:        rgba(255,255,255,0.09);
  --line-strong: rgba(255,255,255,0.17);

  --text:   #efece7;
  --text-2: #a29d96;
  --text-3: #6b6660;

  --accent:     #ff4d2e;
  --accent-2:   #ff8042;
  --accent-dim: rgba(255,77,46,0.16);
  --pink:       #ff3d82;

  --r-lg: 22px; --r-xl: 40px;
  --max: 1200px;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Hanken Grotesk', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.display { font-family: 'Space Grotesk', system-ui, sans-serif; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ── outer black stage + framed sheet ── */
.page {
  padding: 32px 24px 56px;
}
.frame {
  max-width: var(--max);
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: 0 50px 130px rgba(0,0,0,0.65);
}

/* ── hero ── */
.hero-band {
  position: relative;
  overflow: hidden;
  background: #08090b;
}

.hero-glow {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(560px 480px at 82% 38%, rgba(255,77,46,0.22), transparent 60%),
    radial-gradient(420px 380px at 100% 78%, rgba(255,61,130,0.16), transparent 65%),
    radial-gradient(500px 320px at 6% 8%, rgba(255,128,66,0.08), transparent 70%);
}
.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 42px 42px;
  -webkit-mask-image: radial-gradient(70% 60% at 78% 45%, #000 0%, transparent 75%);
          mask-image: radial-gradient(70% 60% at 78% 45%, #000 0%, transparent 75%);
}

/* ── floating nav pill ── */
nav {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 22px 36px 0;
  padding: 11px 12px 11px 22px;
  border-radius: 999px;
  background: rgba(20,21,24,0.6);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 4px 28px rgba(0,0,0,0.35);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.01em;
}
.brand img { width: 28px; height: 28px; border-radius: 7px; }

.nav-links {
  display: flex;
  gap: 30px;
  font-size: 14.5px;
  font-weight: 600;
  color: rgba(255,255,255,0.82);
}
.nav-links a:hover { color: #fff; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  transition: transform .15s ease, box-shadow .15s ease;
  box-shadow: 0 8px 22px rgba(255,77,46,0.35);
}
.nav-cta:hover { box-shadow: 0 10px 28px rgba(255,77,46,0.5); }
.nav-cta:active { transform: scale(0.96); }
.arrow { display: inline-block; font-size: 0.9em; }

/* ── hero layout ── */
.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 28px 48px 72px;
  min-height: 560px;
}

.hero-copy {
  max-width: 480px;
  animation: heroRise .7s cubic-bezier(.16,1,.3,1) both;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.pill .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}
.pill-dark {
  background: var(--accent-dim);
  border: 1px solid rgba(255,77,46,0.3);
  color: var(--accent-2);
}

.hero-copy h1 {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(36px, 4.6vw, 56px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0;
  text-wrap: balance;
}
.hero-copy h1 em {
  font-style: normal;
  background: linear-gradient(90deg, var(--accent), var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--text-2);
  margin: 20px 0 30px;
  max-width: 42ch;
}
.hero-cta { padding: 13px 22px; font-size: 15px; }

/* ── hero phone stack ── */
.hero-phones {
  position: relative;
  width: 380px;
  height: 540px;
  flex-shrink: 0;
  animation: heroRise .8s cubic-bezier(.16,1,.3,1) .12s both;
}
.hero-phone-slot { position: absolute; }
.hero-phone-slot.back {
  top: 4px;
  right: -6px;
  z-index: 1;
  animation: floatSlow 7s ease-in-out infinite;
}
.hero-phone-slot.back .iphone { transform: rotate(10deg); }
.hero-phone-slot.back .iphone-body { filter: brightness(0.62) saturate(0.85); }
.hero-phone-slot.front {
  bottom: 0;
  left: 4px;
  z-index: 2;
  animation: floatSlow 6s ease-in-out .3s infinite;
}
.hero-phone-slot.front .iphone { transform: rotate(-6deg); }
.hero-phone-slot.front .iphone-body {
  box-shadow:
    0 0 90px rgba(255,80,50,0.32),
    0 40px 90px rgba(0,0,0,0.55),
    inset 0 0 0 1px rgba(255,255,255,0.14),
    inset 0 0 0 calc(var(--iw) * 0.042) #0b0b0d;
}

@keyframes heroRise {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes floatSlow {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .hero-copy, .hero-phones, .hero-phone-slot.back, .hero-phone-slot.front { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .orbit-lines path { stroke-dashoffset: 0; transition: none; }
  .portrait { opacity: 1; transform: none; transition: none; }
  .satellite { transition: none; }
  .star-row.fill { width: var(--rating, 90%); transition: none; }
}

/* ── constellation — real album portraits, orbital arcs, satellite CTAs ── */
.constellation {
  position: relative;
  padding: 108px 36px 88px;
  overflow: hidden;
}
.ghost-watermark {
  position: absolute;
  top: -0.06em;
  left: 0;
  right: 0;
  z-index: 0;
  text-align: center;
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(72px, 13vw, 168px);
  letter-spacing: -0.03em;
  line-height: 1;
  color: rgba(255,255,255,0.035);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}
.constellation .section-head { position: relative; z-index: 1; margin-bottom: 8px; }
.constellation .section-head .pill { margin-bottom: 18px; }

.orbit-field {
  position: relative;
  z-index: 1;
  height: 520px;
  max-width: 920px;
  margin: 24px auto 0;
}
.orbit-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.orbit-lines path {
  fill: none;
  stroke: var(--accent-2);
  stroke-width: 1.4;
  stroke-linecap: round;
  opacity: 0.5;
  stroke-dasharray: 700;
  stroke-dashoffset: 700;
  transition: stroke-dashoffset 1.6s cubic-bezier(.2,.7,.2,1);
}
.orbit-lines path:nth-child(2) { transition-delay: .15s; }
.orbit-lines path:nth-child(3) { transition-delay: .3s; }
.reveal.in-view .orbit-lines path { stroke-dashoffset: 0; }

.portrait {
  position: absolute;
  width: var(--pw, 220px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  opacity: 0;
  transform: translateY(16px) scale(0.94);
  transition: opacity .6s ease, transform .6s ease;
  transition-delay: var(--pd, 0s);
}
.reveal.in-view .portrait { opacity: 1; transform: translateY(0) scale(1); }

.portrait-img {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}
.portrait-img img { width: 100%; height: 100%; object-fit: cover; }

.satellite {
  position: absolute;
  right: -4%;
  bottom: -4%;
  width: 22%;
  aspect-ratio: 1;
  min-width: 44px;
  border-radius: 50%;
  background: #fff;
  color: #0a0a0b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 12px 26px rgba(0,0,0,0.4);
  transition: transform .2s cubic-bezier(.2,.9,.3,1.3);
}
.satellite.pink { background: var(--pink); color: #fff; box-shadow: 0 12px 26px rgba(255,61,130,0.4); }
.satellite.orange { background: var(--accent-2); color: #1e0500; box-shadow: 0 12px 26px rgba(255,128,66,0.4); }
.satellite:hover { transform: scale(1.1) rotate(10deg); }
.satellite:active { transform: scale(0.95); }

.portrait-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-3);
}
.portrait-eyebrow .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.portrait h3 {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 16px;
  font-weight: 700;
  margin: 6px 0 2px;
  color: #fff;
}
.portrait p { font-size: 13px; color: var(--text-2); margin: 0; }

/* ── split section ── */
.split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
  align-items: center;
  padding: 96px 36px;
}
.split-copy .pill { color: var(--accent-2); }
.split-copy h2 {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(26px, 3vw, 34px);
  letter-spacing: -0.015em;
  line-height: 1.14;
  margin: 0 0 18px;
  text-wrap: balance;
}
.split-copy p {
  color: var(--text-2);
  font-size: 15.5px;
  line-height: 1.65;
  margin: 0 0 14px;
  max-width: 46ch;
}
.btn-dark {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 14px;
  padding: 13px 24px;
  border-radius: 999px;
  background: var(--pink);
  color: #fff;
  font-weight: 700;
  font-size: 14.5px;
  box-shadow: 0 8px 24px rgba(255,61,130,0.32);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn-dark:hover { transform: translateY(-1px); box-shadow: 0 10px 30px rgba(255,61,130,0.45); }
.btn-dark:active { transform: scale(0.97); }

.split-collage {
  display: flex;
  justify-content: center;
}

/* ── rating showcase — the star/half-star system, visualized ── */
.rating-showcase {
  padding: 88px 36px 100px;
  text-align: center;
}
.rating-showcase .section-head { margin-bottom: 60px; }

.star-hero {
  display: inline-flex;
  align-items: center;
  gap: 26px;
  margin: 0 auto;
}
.star-rating {
  position: relative;
  display: inline-block;
  font-size: clamp(38px, 5.5vw, 58px);
  line-height: 1;
}
.star-row {
  white-space: nowrap;
  letter-spacing: 0.12em;
}
.star-row.base { color: rgba(255,255,255,0.13); }
.star-row.fill {
  position: absolute;
  inset: 0;
  overflow: hidden;
  width: 0;
  transition: width 1.5s cubic-bezier(.16,1,.3,1);
}
.reveal.in-view .star-row.fill { width: var(--rating, 90%); }
.star-row.fill span {
  background: linear-gradient(90deg, var(--accent-2), var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.star-score {
  text-align: left;
}
.star-score .num {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(40px, 5vw, 56px);
  line-height: 1;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.star-score .of5 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 6px;
}

.rating-examples {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 56px;
}
.rating-example {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  border-radius: 999px;
  background: var(--card-soft);
  border: 1px solid var(--line);
}
.rating-example .star-row { font-size: 16px; letter-spacing: 0.1em; }
.rating-example .star-row.base { color: rgba(255,255,255,0.16); }
.rating-example span.label { font-size: 13.5px; font-weight: 600; color: var(--text-2); }

/* ── feature grid ── */
.features {
  padding: 20px 36px 100px;
}
.section-head {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 52px;
}
.section-head h2 {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(26px, 3.4vw, 36px);
  letter-spacing: -0.015em;
  margin: 0 0 14px;
}
.section-head p {
  color: var(--text-2);
  font-size: 16px;
  line-height: 1.55;
  margin: 0;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  padding: 30px 26px;
  border-radius: var(--r-lg);
  background: var(--card-soft);
  border: 1px solid var(--line);
}
.feature-icon {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  background: var(--accent-dim);
  border: 1px solid rgba(255,77,46,0.3);
  color: var(--accent-2);
  font-size: 16px;
}
.feature-card h3 {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 10px;
}
.feature-card p {
  color: var(--text-2);
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0;
}

/* ── final CTA ── */
.cta-band {
  margin: 0 36px 40px;
  padding: 64px 40px;
  border-radius: var(--r-xl);
  text-align: center;
  background: radial-gradient(600px 260px at 50% 0%, rgba(255,77,46,0.14), transparent 70%), var(--surface);
  border: 1px solid var(--line);
}
.cta-band h2 {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(24px, 3.2vw, 32px);
  margin: 0 0 14px;
}
.cta-band p {
  color: var(--text-2);
  font-size: 15.5px;
  margin: 0 0 28px;
}

.waitlist {
  display: flex;
  gap: 10px;
  max-width: 440px;
  margin: 0 auto;
}
.waitlist input {
  flex: 1;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--card);
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  outline: none;
  transition: border-color .15s ease;
}
.waitlist input::placeholder { color: var(--text-3); }
.waitlist input:focus { border-color: var(--accent); }

.btn-primary {
  padding: 14px 24px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(90deg, var(--accent-2), #ffb15c);
  color: #1e0500;
  font-family: inherit;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease;
  box-shadow: 0 8px 24px rgba(255,128,66,0.32);
}
.btn-primary:hover { box-shadow: 0 10px 30px rgba(255,128,66,0.45); }
.btn-primary:active { transform: scale(0.97); }

.waitlist-note {
  margin-top: 14px;
  font-size: 13px;
  color: var(--text-3);
}
.waitlist-success {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 auto;
  padding: 14px 22px;
  border-radius: 999px;
  background: rgba(111,219,154,0.1);
  border: 1px solid rgba(111,219,154,0.3);
  color: #6fdb9a;
  font-size: 14.5px;
  font-weight: 600;
  max-width: 440px;
}
.waitlist-success.show { display: flex; }

.waitlist-error {
  display: none;
  margin: 12px auto 0;
  max-width: 440px;
  font-size: 13.5px;
  color: #ff8a80;
}
.waitlist-error.show { display: block; }

/* ── legal pages (Terms / Privacy) — plain readable prose, reuses nav/footer above ── */
.legal {
  max-width: 720px;
  margin: 0 auto;
  padding: 56px 24px 72px;
}
.legal h1 {
  font-family: 'Hanken Grotesk', system-ui, sans-serif;
  font-size: 23px;
  font-weight: 700;
  margin: 0 0 4px;
}
.legal .updated { color: var(--text-3); font-size: 13.5px; margin: 0 0 30px; }
.legal h2 {
  font-family: 'Hanken Grotesk', system-ui, sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin: 22px 0 2px;
}
.legal p, .legal li { color: var(--text-2); font-size: 15px; line-height: 1.7; }
.legal ul { padding-left: 22px; margin: 12px 0; }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--text-2); text-decoration: underline; }
.legal strong { color: var(--text); font-weight: 600; }

/* ── contact / support forms — same field styling as .waitlist, stacked ── */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 440px;
  margin: 28px 0;
}
.contact-form input, .contact-form textarea {
  padding: 14px 22px;
  border-radius: 18px;
  border: 1px solid var(--line-strong);
  background: var(--card);
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  outline: none;
  resize: vertical;
  transition: border-color .15s ease;
}
.contact-form input { border-radius: 999px; }
.contact-form textarea { min-height: 120px; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: var(--text-3); }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--accent); }
.contact-form .btn-primary { align-self: flex-start; }

/* ── footer — darkest tone in the surface rhythm (page black → card → footer ink) ── */
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 34px 36px 40px;
  background: #000000;
  border-top: 1px solid var(--line);
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--text-2);
}
.footer-brand img { width: 22px; height: 22px; border-radius: 6px; opacity: 0.85; }
.footer-links { display: flex; gap: 24px; font-size: 13.5px; color: var(--text-3); }
.footer-links a:hover { color: var(--text-2); }

/* ── iphone frame — real app screenshots, mounted in a device frame.
   Every dimension is a fraction of --iw (frame width) so one component
   scales cleanly at any size instead of needing size-specific classes. ── */
.iphone {
  --iw: 240px;
  width: var(--iw);
  aspect-ratio: 1170 / 2532;
  position: relative;
  flex-shrink: 0;
}
.iphone-body {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #4c4d52, #16171a 55%, #232428);
  border-radius: calc(var(--iw) * 0.21);
  padding: calc(var(--iw) * 0.042);
  box-shadow:
    0 calc(var(--iw) * 0.1) calc(var(--iw) * 0.28) rgba(0,0,0,0.55),
    inset 0 0 0 1px rgba(255,255,255,0.14),
    inset 0 0 0 calc(var(--iw) * 0.042) #0b0b0d;
}
.iphone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: calc(var(--iw) * 0.165);
  overflow: hidden;
  background: #000;
}
.iphone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.iphone-island {
  position: absolute;
  top: calc(var(--iw) * 0.055);
  left: 50%;
  transform: translateX(-50%);
  width: calc(var(--iw) * 0.3);
  height: calc(var(--iw) * 0.078);
  background: #000;
  border-radius: 999px;
  z-index: 2;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05);
}
.iphone-btn {
  position: absolute;
  background: #26272b;
  border-radius: 2px;
}
.iphone-btn.power {
  right: calc(var(--iw) * -0.013);
  top: calc(var(--iw) * 0.21);
  width: calc(var(--iw) * 0.014);
  height: calc(var(--iw) * 0.095);
}
.iphone-btn.vol1 {
  left: calc(var(--iw) * -0.013);
  top: calc(var(--iw) * 0.15);
  width: calc(var(--iw) * 0.014);
  height: calc(var(--iw) * 0.055);
}
.iphone-btn.vol2 {
  left: calc(var(--iw) * -0.013);
  top: calc(var(--iw) * 0.225);
  width: calc(var(--iw) * 0.014);
  height: calc(var(--iw) * 0.055);
}

.phone-gallery { padding-top: 24px; }
.phone-row {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 26px;
  flex-wrap: wrap;
  padding: 12px 36px 100px;
}
.phone-row .iphone.tilt-l { transform: rotate(-5deg); }
.phone-row .iphone.tilt-r { transform: rotate(5deg); }

/* ── responsive ── */
@media (max-width: 980px) {
  .split { grid-template-columns: 1fr; padding: 64px 30px; }
  .hero-inner {
    flex-direction: column;
    text-align: center;
    align-items: center;
    min-height: auto;
    padding: 24px 30px 48px;
    gap: 32px;
  }
  .hero-copy { max-width: 480px; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .nav-links { display: none; }
  .feature-grid { grid-template-columns: 1fr; }
  .phone-row .iphone { --iw: 170px !important; }

  /* orbital arcs only work with wide asymmetric placement — stack on narrower screens */
  .constellation { padding: 84px 30px 64px; }
  .orbit-lines { display: none; }
  .orbit-field {
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
  }
  .portrait { position: static; width: min(var(--pw, 220px), 240px); }
}
@media (max-width: 560px) {
  .page { padding: 14px 10px 30px; }
  nav { margin: 14px 14px 0; padding: 10px 10px 10px 18px; }
  .hero-inner { padding: 20px 20px 40px; gap: 24px; }
  .hero-phones {
    width: 260px;
    height: 370px;
  }
  .hero-phone-slot.back .iphone,
  .hero-phone-slot.front .iphone { --iw: 155px !important; }
  .constellation { padding: 64px 20px 48px; }
  .portrait { width: 190px; }
  .split { padding: 48px 20px; gap: 32px; }
  .split-collage .iphone { --iw: 220px !important; }
  .features { padding: 10px 20px 60px; }
  .cta-band { margin: 0 16px 30px; padding: 44px 22px; }
  .waitlist { flex-direction: column; }
  footer { padding: 26px 20px 32px; justify-content: center; text-align: center; }
  .phone-row .iphone { --iw: 118px !important; }
  .phone-row { gap: 12px; padding: 8px 14px 60px; }
}
