/* ============================================================
   LEDGEVO — POLISHED LANDING v5
   Background: #09100E (deep forest green-black, coming soon DNA)
   Accent: #10B981 emerald
   ============================================================ */

:root  {
  --bg:           #09100E;
  --bg-2:         #0b1510;
  --bg-3:         #0e1c14;
  --panel:        rgba(255,255,255,.036);
  --panel-2:      rgba(255,255,255,.058);
  --panel-soft:   rgba(255,255,255,.022);
  --line:         rgba(255,255,255,.07);
  --line-soft:    rgba(255,255,255,.042);
  --text:         rgba(240,249,244,.96);
  --text-soft:    rgba(220,242,230,.68);
  --muted:        rgba(220,242,230,.46);
  --faint:        rgba(220,242,230,.30);
  --emerald:      #10B981;
  --emerald-2:    #1AD18C;
  --emerald-3:    #0ea572;
  --emerald-dim:  #0d8f5e;
  --radius:       26px;
  --radius-xl:    40px;
  --shadow:       0 32px 100px rgba(0,0,0,.60);
  --shadow-soft:  0 16px 48px rgba(0,0,0,.38);
  --shadow-glow:  0 0 60px rgba(16,185,129,.12);
  --ease:         cubic-bezier(.2,.8,.2,1);
  --ease-snap:    cubic-bezier(.16,1,.3,1);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; background: none; border: none; font: inherit; color: inherit; }
h1,h2,h3,h4,p { margin: 0; }

/* ── BODY + BACKGROUND ── */
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Segoe UI', system-ui, sans-serif;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -5%, rgba(16,185,129,.18) 0%, transparent 65%),
    radial-gradient(ellipse 40% 30% at 14% 18%, rgba(16,185,129,.07) 0%, transparent 60%),
    radial-gradient(ellipse 35% 25% at 88% 12%, rgba(16,185,129,.04) 0%, transparent 55%);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Grid squares — exactly like coming soon page, 48px */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(16,185,129,.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16,185,129,.032) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
}

/* Vignette fade at edges */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 100% 40% at 50% 0%, rgba(16,185,129,.06), transparent 60%),
    linear-gradient(180deg, transparent 55%, rgba(9,16,14,.70) 100%);
  pointer-events: none;
  z-index: 0;
}

/* Film grain */
.site-noise {
  position: fixed;
  inset: 0;
  opacity: .055;
  pointer-events: none;
  z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='256' height='256' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

/* Cursor glow — desktop only */
.cursor-glow {
  position: fixed;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(circle, rgba(16,185,129,.09), transparent 62%);
  transform: translate(-50%, -50%);
  transition: opacity .3s var(--ease);
}

.container {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

/* ── NAV ── */
.nav-shell {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: 0;
  border-bottom: 1px solid rgba(16,185,129,.07);
  background: rgba(9,16,14,.82);
  backdrop-filter: blur(28px) saturate(1.4);
  -webkit-backdrop-filter: blur(28px) saturate(1.4);
  transition: box-shadow .3s var(--ease);
}
/* Offset content for the fixed bar (nav is 68px desktop, 60px mobile). */
body { padding-top: 68px; }
.nav-shell.scrolled {
  box-shadow: 0 8px 40px rgba(0,0,0,.45), 0 1px 0 rgba(16,185,129,.08);
}

.nav {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  height: 68px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -.7px;
  color: var(--text);
  transition: opacity .2s;
}
.brand-lockup:hover { opacity: .82; }
.brand-lockup em { color: var(--emerald); font-style: normal; }

.brand-mark {
  width: 44px;
  height: 44px;
  object-fit: contain;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  filter: drop-shadow(0 0 12px rgba(16,185,129,.16));
}

.nav-links {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-links a {
  padding: 7px 11px;
  border-radius: 999px;
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -.1px;
  white-space: nowrap;
  transition: color .2s var(--ease), background .2s var(--ease);
}
.nav-links a:hover {
  color: var(--text);
  background: rgba(255,255,255,.05);
}

/* Mobile-only CTA injected by JS — hidden on desktop */
.mobile-nav-cta { display: none !important; }
.nav-links.open .mobile-nav-cta { display: flex !important; }

.nav-cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--emerald);
  color: #051a0e;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -.15px;
  transition: background .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.nav-cta:hover {
  background: var(--emerald-2);
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(16,185,129,.32);
}

.mobile-menu-button {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,.09);
  background: rgba(255,255,255,.04);
  border-radius: 12px;
  padding: 10px;
  justify-self: end;
  margin-left: auto;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}
.mobile-menu-button span {
  display: block;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .22s var(--ease), opacity .22s;
}
.mobile-menu-button.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.mobile-menu-button.open span:nth-child(2) { opacity: 0; }
.mobile-menu-button.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── EYEBROW / KICKERS ── */
.eyebrow,
.section-kicker,
.mini-kicker {
  color: var(--emerald-2);
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 800;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid rgba(16,185,129,.2);
  background: rgba(16,185,129,.07);
  margin-bottom: 28px;
}
.eyebrow span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emerald);
  animation: pulse-dot 2.4s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes pulse-dot {
  0%,100% { box-shadow: 0 0 0 0 rgba(16,185,129,.5); }
  50%      { box-shadow: 0 0 0 8px rgba(16,185,129,0); }
}

/* ── HERO ── */
.hero-section {
  position: relative;
  z-index: 2;
  min-height: calc(100svh - 68px);
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 40px;
  align-items: center;
  padding: 80px 0 88px;
}

h1 {
  font-size: clamp(56px, 6.8vw, 100px);
  line-height: .92;
  letter-spacing: -5px;
  font-weight: 960;
  margin-bottom: 26px;
}
h1 span {
  color: transparent;
  background: linear-gradient(160deg, #34eca0 0%, #10B981 45%, #0d7a52 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-lead {
  max-width: 520px;
  color: var(--text-soft);
  font-size: clamp(17px, 1.45vw, 22px);
  line-height: 1.5;
  letter-spacing: -.28px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

/* Buttons */
.button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  padding: 0 28px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -.2px;
  transition: transform .22s var(--ease-snap), box-shadow .22s var(--ease-snap), background .22s var(--ease);
}
.button:hover { transform: translateY(-2px); }
.button.primary {
  color: #051a0e;
  background: linear-gradient(160deg, #20da92, #0ea572);
  box-shadow: 0 16px 48px rgba(16,185,129,.26);
}
.button.primary:hover {
  box-shadow: 0 20px 56px rgba(16,185,129,.38);
}
.button.secondary {
  color: rgba(240,249,244,.88);
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.04);
  backdrop-filter: blur(12px);
}
.button.secondary:hover {
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.16);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.trust-row span {
  padding: 9px 14px;
  border-radius: 999px;
  color: rgba(240,249,244,.60);
  background: rgba(16,185,129,.04);
  border: 1px solid rgba(16,185,129,.10);
  font-size: 13px;
  font-weight: 600;
}

/* Hero visual */
.hero-visual {
  position: relative;
  min-height: 780px;
  z-index: 2;
  /* subtle perspective gives the 3-phone group genuine depth */
  perspective: 1800px;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero-orb-one {
  width: 720px; height: 720px;
  left: 4%; top: -2%;
  background: radial-gradient(circle, rgba(16,185,129,.20) 0%, rgba(16,185,129,.06) 38%, transparent 62%);
  filter: blur(12px);
  animation: breathe 7s ease-in-out infinite alternate;
}
.hero-orb-two {
  width: 360px; height: 360px;
  right: -2%; bottom: 6%;
  background: radial-gradient(circle, rgba(16,185,129,.09) 0%, transparent 65%);
  filter: blur(8px);
  animation: breathe 8.5s ease-in-out infinite alternate-reverse;
}
@keyframes breathe {
  from { transform: scale(.95); opacity: .7; }
  to   { transform: scale(1.05); opacity: 1; }
}

.hero-device {
  position: absolute;
  margin: 0;
  will-change: transform;
  overflow: visible;
}
/* Legacy direct-image fallback (only direct img children) */
.hero-device > img {
  width: 100%;
  display: block;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 44px 80px rgba(0,0,0,.75)) drop-shadow(0 8px 24px rgba(0,0,0,.55));
}
/* phone-mockup inside hero-device sized by the variant. --phone-w MUST match the
   wrapper width so the inner calc()-based sizing (Dynamic Island, status bar
   font, padding) tracks the actual rendered width. */
.hero-device .phone-mockup { width: 100%; }
.hero-device-main { z-index: 5; left: 28%; top: -8px; width: 280px; }
.hero-device-left  { z-index: 4; left: 4%; top: 92px; width: 220px; opacity: .88; }
.hero-device-right { z-index: 3; right: 6%; top: 88px; width: 220px; opacity: .86; }
.hero-device-main .phone-mockup  { --phone-w: 280px; }
.hero-device-left .phone-mockup  { --phone-w: 220px; }
.hero-device-right .phone-mockup { --phone-w: 220px; }

.floating-insight {
  position: absolute;
  z-index: 8;
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(9,16,14,.88);
  border: 1px solid rgba(16,185,129,.16);
  box-shadow: var(--shadow-soft), 0 0 30px rgba(16,185,129,.06);
  backdrop-filter: blur(24px);
  animation: float-bob 4s ease-in-out infinite alternate;
}
.insight-two { animation-delay: -2s; }
@keyframes float-bob {
  from { transform: translateY(0px); }
  to   { transform: translateY(-8px); }
}
.floating-insight span {
  display: block;
  color: var(--emerald-2);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.floating-insight strong {
  display: block;
  margin-top: 6px;
  font-size: 26px;
  letter-spacing: -1px;
  color: var(--text);
}
.floating-insight small {
  display: block;
  color: var(--muted);
  margin-top: 3px;
  font-size: 12px;
  max-width: 200px;
  line-height: 1.4;
}
.insight-one { left: 0; bottom: 88px; }
.insight-two { right: 0; bottom: 145px; }

/* ── FEATURE STRIP ── */
.feature-strip {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: rgba(255,255,255,.014);
}
.feature-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.strip-item {
  padding: 30px 26px;
  border-right: 1px solid var(--line-soft);
  transition: background .25s var(--ease);
}
.strip-item:last-child { border-right: 0; }
.strip-item:hover { background: rgba(16,185,129,.03); }
.strip-item > span {
  color: var(--emerald-2);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.strip-item strong {
  display: block;
  margin-top: 10px;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -.4px;
  color: var(--text);
}
.strip-item p {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.4;
  font-size: 14px;
}

/* ── MISSION ── */
.mission-section { padding: 80px 0 0; position: relative; z-index: 2; }
.mission-card {
  position: relative;
  padding: 52px 48px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(ellipse 60% 80% at 8% 0%, rgba(16,185,129,.12), transparent 50%),
    rgba(255,255,255,.024);
  border: 1px solid rgba(16,185,129,.13);
  border-left: 3px solid rgba(16,185,129,.5);
  box-shadow: var(--shadow-soft), var(--shadow-glow);
  overflow: hidden;
}
.quote-mark {
  font-size: 100px;
  line-height: 1;
  color: rgba(16,185,129,.18);
  font-weight: 950;
  margin-bottom: 4px;
  display: block;
  font-family: Georgia, serif;
}
.mission-card > p:first-of-type {
  max-width: 860px;
  font-size: clamp(28px, 3.6vw, 52px);
  line-height: 1.07;
  letter-spacing: -2px;
  font-weight: 900;
  margin-bottom: 20px;
  color: var(--text);
}
.mission-em { color: var(--emerald-2); }
.mission-sub {
  max-width: 560px;
  font-size: clamp(15px, 1.2vw, 17px);
  color: var(--text-soft);
  line-height: 1.65;
  margin-bottom: 24px;
}
.mission-label {
  color: var(--muted);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 11px;
  display: block;
}

/* ── SECTION SHARED ── */
.story-section,
.features-section,
.screens-section,
.metrics-section,
.security-section,
.faq-section,
.final-cta-section,
.premium-section {
  padding: 96px 0;
  position: relative;
  z-index: 2;
}

.section-heading { max-width: 800px; margin-bottom: 52px; }
.section-heading.center { text-align: center; margin-left: auto; margin-right: auto; }

h2 {
  font-size: clamp(40px, 4.8vw, 74px);
  line-height: .97;
  letter-spacing: -3.2px;
  font-weight: 950;
  margin-bottom: 18px;
  color: var(--text);
}
h1 span,
.final-cta-card h2,
.metrics-card h2 {
  color: transparent;
  background: linear-gradient(160deg, #34eca0 0%, #10B981 45%, #0d7a52 100%);
  -webkit-background-clip: text;
  background-clip: text;
}
.section-heading p:not(.section-kicker) {
  color: var(--text-soft);
  font-size: clamp(16px, 1.3vw, 20px);
  line-height: 1.55;
  max-width: 640px;
}
.center p:not(.section-kicker) { margin-left: auto; margin-right: auto; }

/* ── STORY TIMELINE ── */
.story-timeline {
  max-width: 780px;
  margin: 0 auto;
  display: grid;
  gap: 0;
}
.story-step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 0 28px;
  align-items: stretch;
}
.step-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
}
.step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .06em;
  color: var(--emerald-2);
  background: rgba(16,185,129,.10);
  border: 1px solid rgba(16,185,129,.22);
  box-shadow: 0 0 20px rgba(16,185,129,.12);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  transition: background .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.story-step:hover .step-num {
  background: rgba(16,185,129,.18);
  border-color: rgba(16,185,129,.40);
  box-shadow: 0 0 32px rgba(16,185,129,.24);
}
.step-line {
  width: 1px;
  flex: 1;
  min-height: 32px;
  background: linear-gradient(to bottom, rgba(16,185,129,.28) 0%, rgba(16,185,129,.08) 100%);
  margin-top: 2px;
  margin-bottom: 2px;
}
.step-body {
  padding: 8px 0 48px;
}
.step-body h3 {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  letter-spacing: -0.8px;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.15;
  transition: color .2s var(--ease);
}
.story-step:hover .step-body h3 { color: var(--emerald-2); }
.step-body p {
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.65;
  max-width: 52ch;
  margin: 0;
}

/* ── FEATURE CARDS ── */
.feature-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.premium-card,
.premium-column,
.metrics-card,
.security-panel,
.final-cta-card {
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255,255,255,.06);
  background: linear-gradient(160deg, rgba(255,255,255,.046), rgba(255,255,255,.014));
  /* Depth: top highlight, bottom shadow, outer drop */
  box-shadow:
    0 1px 0 rgba(255,255,255,.06) inset,
    0 -1px 0 rgba(0,0,0,.4) inset,
    0 20px 56px rgba(0,0,0,.32),
    0 4px 16px rgba(0,0,0,.22),
    0 0 0 1px rgba(0,0,0,.2);
}
.feature-card {
  min-height: 250px;
  padding: 28px;
  border-radius: var(--radius);
  position: relative;
  transition: transform .22s var(--ease-snap), border-color .22s, background .22s, box-shadow .22s;
}
/* Glass top edge on feature cards */
.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(to bottom, rgba(255,255,255,.05) 0%, transparent 28%);
  pointer-events: none;
}
.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(16,185,129,.22);
  background: linear-gradient(160deg, rgba(16,185,129,.08), rgba(255,255,255,.018));
  box-shadow:
    0 1px 0 rgba(255,255,255,.08) inset,
    0 24px 72px rgba(0,0,0,.38),
    0 0 48px rgba(16,185,129,.10);
}
.feature-icon {
  width: 52px; height: 52px;
  border-radius: 16px;
  background: rgba(16,185,129,.08);
  border: 1px solid rgba(16,185,129,.14);
  margin-bottom: 28px;
  display: grid;
  place-items: center;
  color: var(--emerald-2);
  transition: background .22s, box-shadow .22s;
}
.feature-card:hover .feature-icon {
  background: rgba(16,185,129,.14);
  box-shadow: 0 0 20px rgba(16,185,129,.12);
}
.feature-icon svg { flex-shrink: 0; }
.feature-card h3 {
  font-size: 22px;
  line-height: 1.1;
  letter-spacing: -.8px;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--text);
}
.feature-card p { color: var(--text-soft); line-height: 1.5; font-size: 15px; }

/* ── SCREEN SHOWCASE ── */
.screens-section {
  background: rgba(255,255,255,.012);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  /* depth layer: darker floor so phones feel elevated above the page */
  background:
    radial-gradient(ellipse 120% 40% at 50% 100%, rgba(16,185,129,.04), transparent 60%),
    rgba(255,255,255,.012);
}
.screen-showcase { display: grid; gap: 80px; }
.showcase-panel {
  min-height: 640px;
  display: grid;
  /* Copy narrower, phone gets the lion’s share of width */
  grid-template-columns: .85fr 1.15fr;
  align-items: center;
  gap: 32px;
  padding: 64px 56px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255,255,255,.055);
  background:
    radial-gradient(ellipse 55% 80% at 85% 0%, rgba(16,185,129,.14), transparent 52%),
    radial-gradient(ellipse 40% 40% at 10% 100%, rgba(16,185,129,.05), transparent 55%),
    linear-gradient(160deg, rgba(255,255,255,.038) 0%, rgba(255,255,255,.012) 100%);
  /* Multi-layer box shadow for real depth */
  box-shadow:
    0 2px 0 rgba(255,255,255,.04) inset,
    0 -1px 0 rgba(0,0,0,.5) inset,
    0 24px 64px rgba(0,0,0,.40),
    0 8px 24px rgba(0,0,0,.28),
    0 0 0 1px rgba(0,0,0,.3);
  overflow: visible;
  position: relative;
  transition: border-color .4s var(--ease), box-shadow .4s var(--ease), transform .4s var(--ease);
}
/* Top highlight rim (glass ledge) */
.showcase-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(to bottom,
    rgba(255,255,255,.06) 0%,
    transparent 32%
  );
  pointer-events: none;
  z-index: 0;
}
.showcase-panel > * { position: relative; z-index: 1; }
.showcase-panel:hover {
  border-color: rgba(16,185,129,.32);
  box-shadow:
    0 2px 0 rgba(255,255,255,.06) inset,
    0 -1px 0 rgba(0,0,0,.5) inset,
    0 40px 100px rgba(0,0,0,.50),
    0 12px 36px rgba(0,0,0,.30),
    0 0 80px rgba(16,185,129,.12),
    0 0 0 1px rgba(16,185,129,.18);
  transform: translateY(-3px);
}
.showcase-panel:nth-child(even) { grid-template-columns: 1.15fr .85fr; }
.showcase-panel:nth-child(even) .showcase-copy { order: 2; }
.showcase-panel.light-panel {
  background:
    radial-gradient(ellipse 55% 65% at 75% 10%, rgba(16,185,129,.08), transparent 55%),
    linear-gradient(160deg, rgba(255,255,255,.12), rgba(255,255,255,.04));
}
.showcase-copy {
  padding-right: 36px;
  padding-left: 8px;
}
.showcase-panel:nth-child(even) .showcase-copy {
  padding-right: 0;
  padding-left: 36px;
}
.showcase-panel h3 {
  font-size: clamp(30px, 3.2vw, 52px);
  line-height: 1.00;
  letter-spacing: -2px;
  font-weight: 900;
  margin-bottom: 18px;
  color: var(--text);
}
.showcase-panel p:not(.mini-kicker) {
  color: var(--text-soft);
  font-size: clamp(15px, 1.15vw, 18px);
  line-height: 1.65;
  max-width: 42ch;
}
.mockup-frame {
  /* Phone is significantly bigger — takes up its column */
  width: min(580px, 100%);
  margin: 0 auto;
  position: relative;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* Legacy raw-image fallback (only direct img children) */
.mockup-frame > img {
  width: 100%;
  display: block;
  position: relative;
  z-index: 1;
  filter:
    drop-shadow(0 4px 8px rgba(0,0,0,.60))
    drop-shadow(0 20px 48px rgba(0,0,0,.72))
    drop-shadow(0 60px 100px rgba(0,0,0,.60));
}
/* New phone-mockup sizing inside showcase panels */
.mockup-frame .phone-mockup {
  --phone-w: 280px;
  z-index: 1;
}
@media (max-width: 900px) {
  .mockup-frame .phone-mockup { --phone-w: 300px; }
}
@media (max-width: 640px) {
  .mockup-frame .phone-mockup { --phone-w: min(280px, 76vw); }
}
/* Shared phone glow — sibling div that sits behind the img */
.phone-glow {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 130%;
  height: 130%;
  transform: translate(-50%, -46%);
  border-radius: 50%;
  background: radial-gradient(
    ellipse at 50% 48%,
    rgba(26,209,140,.82) 0%,
    rgba(16,185,129,.52) 22%,
    rgba(16,185,129,.22) 48%,
    rgba(16,185,129,.06) 65%,
    transparent 75%
  );
  filter: blur(48px);
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: screen;
  will-change: transform;
}
/* Outer diffuse halo for the showcase phones */
.mockup-frame .phone-glow::after {
  content: '';
  position: absolute;
  inset: -30%;
  border-radius: 50%;
  background: radial-gradient(
    ellipse at 50% 50%,
    rgba(16,185,129,.14) 0%,
    transparent 70%
  );
  filter: blur(80px);
  pointer-events: none;
}
.phone-glow-main {
  width: 155%;
  height: 155%;
  background: radial-gradient(
    ellipse at 50% 48%,
    rgba(26,209,140,.95) 0%,
    rgba(16,185,129,.60) 22%,
    rgba(16,185,129,.28) 48%,
    rgba(16,185,129,.08) 65%,
    transparent 75%
  );
  filter: blur(64px);
}

/* ── PREMIUM ── */
.premium-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.premium-column { padding: 32px; }
.premium-label {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: .15em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.premium-label.available {
  color: var(--emerald-2);
  background: rgba(16,185,129,.08);
  border: 1px solid rgba(16,185,129,.16);
}
.premium-label.soon {
  color: rgba(255,255,255,.65);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
}
.premium-column ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.premium-column li {
  padding: 18px 20px;
  border-radius: 20px;
  background: rgba(255,255,255,.022);
  border: 1px solid var(--line-soft);
  transition: background .2s, border-color .2s;
}
.premium-column li:hover {
  background: rgba(16,185,129,.04);
  border-color: rgba(16,185,129,.12);
}
.premium-column strong { display: block; margin-bottom: 4px; font-size: 15px; color: var(--text); }
.premium-column span { color: var(--muted); line-height: 1.45; font-size: 14px; }

/* ── METRICS ── */
.metrics-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
  padding: 52px;
  background:
    radial-gradient(ellipse 70% 80% at 50% 0%, rgba(16,185,129,.16), transparent 55%),
    linear-gradient(160deg, rgba(255,255,255,.046), rgba(255,255,255,.014));
  border-color: rgba(16,185,129,.14);
}
.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.metric-grid div {
  padding: 24px 18px;
  border-radius: 22px;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--line-soft);
  text-align: center;
  transition: background .2s, border-color .2s;
}
.metric-grid div:hover {
  background: rgba(16,185,129,.05);
  border-color: rgba(16,185,129,.14);
}
.metric-grid strong {
  display: block;
  color: var(--emerald-2);
  font-size: 46px;
  font-weight: 950;
  letter-spacing: -2px;
}
.metric-grid span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
  margin-top: 4px;
}

/* ── SECURITY ── */
.security-panel {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 44px;
  padding: 52px;
  align-items: center;
  background:
    radial-gradient(ellipse 70% 80% at 50% 0%, rgba(16,185,129,.16), transparent 55%),
    linear-gradient(160deg, rgba(255,255,255,.046), rgba(255,255,255,.014));
  border-color: rgba(16,185,129,.14);
}
.security-copy h2 { font-size: clamp(32px, 3.2vw, 52px); }
.security-copy p:not(.section-kicker) {
  color: var(--text-soft);
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.6;
}
.security-list { display: grid; gap: 12px; }
.security-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--line-soft);
  transition: background .2s, border-color .2s;
}
.security-item:hover {
  background: rgba(16,185,129,.05);
  border-color: rgba(16,185,129,.14);
}
.security-item > span {
  width: 46px; height: 46px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(16,185,129,.07);
  border: 1px solid rgba(16,185,129,.12);
  font-size: 20px;
}
.security-item strong { display: block; margin-bottom: 3px; font-size: 15px; color: var(--text); }
.security-item p { color: var(--muted); line-height: 1.45; font-size: 14px; margin: 0; }

/* ── FAQ ── */
.faq-grid { display: grid; gap: 10px; }
details {
  border-radius: 20px;
  border: 1px solid var(--line-soft);
  background: rgba(255,255,255,.022);
  overflow: hidden;
  transition: border-color .2s;
}
details[open],
details:hover { border-color: rgba(16,185,129,.18); }
summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 26px;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -.3px;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
summary::after {
  content: '+';
  color: var(--emerald);
  font-size: 22px;
  font-weight: 300;
  transition: transform .22s var(--ease-snap);
  flex-shrink: 0;
}
details[open] summary::after { transform: rotate(45deg); }
summary::-webkit-details-marker { display: none; }
details p {
  margin: 0;
  padding: 0 26px 22px;
  color: var(--text-soft);
  line-height: 1.6;
  font-size: 15px;
}

/* ── FINAL CTA ── */
.final-cta-card {
  text-align: center;
  padding: 96px 36px;
  background:
    radial-gradient(ellipse 100% 80% at 50% 0%, rgba(16,185,129,.20), transparent 52%),
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(16,185,129,.08), transparent 60%),
    linear-gradient(160deg, rgba(255,255,255,.046), rgba(255,255,255,.014));
  border-color: rgba(16,185,129,.16);
}
.final-cta-card h2 {
  font-size: clamp(44px, 5.8vw, 86px);
  letter-spacing: -4px;
  margin-bottom: 18px;
}
.final-cta-card > p:not(.section-kicker):not(.cta-platform-note) {
  max-width: 600px;
  margin: 0 auto 36px;
  color: var(--text-soft);
  font-size: clamp(16px, 1.3vw, 20px);
  line-height: 1.55;
}
.cta-platform-note {
  margin-top: 20px;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 700;
}

/* ── FOOTER ── */
.footer {
  position: relative;
  z-index: 2;
  padding: 40px 0 56px;
  border-top: 1px solid var(--line-soft);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
  color: var(--faint);
}
.footer-brand { display: inline-flex; align-items: center; gap: 12px; }
.footer-brand img {
  width: 36px; height: 36px;
  object-fit: contain;
  background: transparent;
  border: none; border-radius: 0; box-shadow: none;
  filter: drop-shadow(0 0 10px rgba(16,185,129,.14));
}
.footer-brand strong { display: block; color: var(--text); font-size: 18px; font-weight: 800; }
.footer-brand strong em { color: var(--emerald); font-style: normal; }
.footer-brand span { display: block; font-size: 12px; color: var(--muted); }
.footer-links {
  display: flex;
  gap: 6px;
  font-size: 14px;
  justify-content: center;
}
.footer-links a {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--faint);
  transition: color .2s, background .2s;
}
.footer-links a:hover { color: var(--text-soft); background: rgba(255,255,255,.04); }
.footer-meta {
  justify-self: end;
  display: flex;
  gap: 14px;
  font-size: 13px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
}
.footer-meta a {
  color: var(--faint);
  text-decoration: none;
  transition: color .2s;
}
.footer-meta a:hover { color: var(--emerald); }
.footer-meta span { color: var(--faint); }

/* ── MOBILE BACKDROP ── */
.mobile-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(9,16,14,.7);
  backdrop-filter: blur(4px);
  z-index: 190;
}
.mobile-backdrop.active { display: block; }

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity  .80s cubic-bezier(.16,1,.3,1),
    transform .80s cubic-bezier(.16,1,.3,1);
}
.reveal.in { opacity: 1; transform: translateY(0); }
/* Stagger siblings naturally — no jank on simultaneous triggers */
.reveal:nth-child(1) { transition-delay: .00s; }
.reveal:nth-child(2) { transition-delay: .10s; }
.reveal:nth-child(3) { transition-delay: .20s; }
.reveal:nth-child(4) { transition-delay: .30s; }
.reveal:nth-child(5) { transition-delay: .40s; }
.reveal:nth-child(6) { transition-delay: .50s; }
/* Showcase panels get a slight scale-up for premium feel */
.showcase-panel.reveal { transform: translateY(24px) scale(.985); }
.showcase-panel.reveal.in { transform: translateY(0) scale(1); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .cursor-glow { display: none; }
  .reveal { opacity: 1; transform: none; }
}

/* ── RESPONSIVE: TABLET (≤1160px) ── */
@media (max-width: 1160px) {
  .nav { grid-template-columns: auto 1fr auto; }
  .nav-links { display: none; }
  .mobile-menu-button { display: flex; }
  .nav-cta { display: none; }

  .nav-links.open {
    display: flex;
    position: fixed;
    top: 70px;
    left: 16px;
    right: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px;
    border-radius: 22px;
    background: rgba(9,16,14,.97);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    z-index: 300;
  }
  .nav-links.open a {
    padding: 14px 16px;
    border-radius: 14px;
    font-size: 16px;
  }
  .nav-links.open .mobile-nav-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 8px;
    padding: 14px 16px;
    border-radius: 14px;
    background: var(--emerald);
    color: #051a0e;
    font-weight: 800;
    font-size: 16px;
  }

  .hero-section,
  .metrics-card,
  .security-panel { grid-template-columns: 1fr; }

  /* Prevent tablet-width glows from causing horizontal scroll */
  .hero-orb,
  .video-phone-glow,
  .video-phone-glow--outer { max-width: 100vw; overflow: hidden; }

  .hero-section { padding-top: 52px; }
  .hero-visual {
    min-height: 600px;
    transform: scale(.86);
    transform-origin: top center;
    overflow: hidden;
    margin-bottom: -60px;
  }

  .feature-card-grid,
  .premium-columns { grid-template-columns: repeat(2, 1fr); }

  .showcase-panel,
  .showcase-panel:nth-child(even) { grid-template-columns: 1fr; }
  .showcase-panel:nth-child(even) .showcase-copy { order: initial; }
  .showcase-copy,
  .showcase-panel:nth-child(even) .showcase-copy { padding-left: 0; padding-right: 0; }

  .security-panel { gap: 28px; }
  .security-copy h2 { font-size: clamp(32px, 4vw, 48px); }

  .metrics-card { grid-template-columns: 1fr; }

  .footer { grid-template-columns: 1fr; text-align: center; }
  .footer-brand, .footer-links, .footer-meta {
    justify-content: center;
    justify-self: center;
    flex-wrap: wrap;
  }
}

/* ── RESPONSIVE: MOBILE (≤640px) ── */
@media (max-width: 640px) {
  .container { width: min(100% - 32px, 1180px); }

  /* Story timeline mobile */
  .story-step { grid-template-columns: 48px 1fr; gap: 0 16px; }
  .step-num { width: 38px; height: 38px; font-size: 11px; }
  .step-body { padding-bottom: 32px; }
  .step-body h3 { font-size: 20px; }
  /* Mobile nav is 60px tall — shrink the body offset to match. */
  body { padding-top: 60px; }
  .nav { height: 60px; }
  .brand-lockup { font-size: 19px; }
  .brand-mark { width: 36px; height: 36px; }

  /* Hero */
  .hero-section {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 40px 0 48px;
  }
  h1 { font-size: clamp(50px, 13vw, 72px); letter-spacing: -3px; }
  h2 { letter-spacing: -2.2px; }
  .hero-lead { font-size: 16px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .button { width: 100%; justify-content: center; }
  .trust-row { flex-direction: column; }
  .trust-row span { text-align: center; }

  /* Mobile hero — single centered phone */
  .hero-visual {
    min-height: auto;
    transform: none;
    margin-bottom: 0;
    display: flex;
    justify-content: center;
    padding: 12px 0 4px;
    overflow: visible;
  }
  .hero-orb { display: none; }
  .hero-device-left,
  .hero-device-right { display: none; }
  .hero-device-main {
    position: relative;
    left: auto; top: auto;
    width: min(300px, 76%);
    /* Match --phone-w to the wrapper width so the Dynamic Island + status bar
       text + paddings scale correctly on mobile. Use a fixed 280px which is
       at or near the 76vw value for typical mobile widths. */
  }
  .hero-device-main .phone-mockup { --phone-w: min(300px, 76vw); }
    z-index: 5;
  }
  .hero-device-main .phone-mockup { --phone-w: min(300px, 76vw); }
  .floating-insight { display: none; }

  /* Sections */
  .story-section,
  .features-section,
  .screens-section,
  .metrics-section,
  .security-section,
  .faq-section,
  .final-cta-section,
  .premium-section { padding: 60px 0; }

  .mission-section { padding-top: 40px; }
  .mission-card { padding: 28px 24px; }
  .mission-card > p:first-of-type { letter-spacing: -1.4px; }

  .feature-card-grid,
  .premium-columns,
  .metric-grid { grid-template-columns: 1fr; }
  /* Feature strip stays as 2 columns even on mobile so the four items
     don't stack into a long vertical list. */
  .feature-strip-grid { grid-template-columns: repeat(2, 1fr); }

  .strip-item {
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
  }
  .strip-item:last-child { border-bottom: 0; }



  .showcase-panel {
    min-height: auto;
    padding: 28px 24px;
  }
  .mockup-frame { width: min(460px, 106%); }
  .raw-phone { width: min(280px, 90%); }

  .metrics-card,
  .security-panel,
  .final-cta-card,
  .premium-column { padding: 26px; }

  .final-cta-card { padding: 56px 24px; }
  .final-cta-card h2 { letter-spacing: -2.4px; }

  .security-copy h2 { font-size: clamp(28px, 7vw, 40px); }

  .footer-meta { justify-content: center; }

  /* FAQ */
  summary { padding: 18px 20px; font-size: 15px; }
  details p { padding: 0 20px 18px; }
}

/* Force GPU compositing on all phone images for smooth edges */
.hero-device img,
.mockup-frame img {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
  will-change: transform;
}

/* ── VIDEO DEMO SECTION ── */
.video-demo-section {
  padding: 120px 0 80px;
  text-align: center;
  position: relative;
  overflow: visible;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.video-phone-wrap {
  --phone-w: 320px;
  position: relative;
  display: inline-flex;
  align-items: flex-start;
  justify-content: center;
  z-index: 1;
  /* Heading sits at ~52% of phone height — close to the Auto-set button.
     The mask-image fades the phone+glow to fully transparent below that,
     so the headline reads on the page background (with the emerald glow
     showing through) rather than on a solid dark rectangle. */
  margin-bottom: calc(var(--phone-w) * -1.0);
  /* Smoothly fade the phone (and its glow halo) to transparent below the
     Auto-set button. No overlay → no visible rectangle behind the heading. */
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 42%, rgba(0,0,0,0.55) 56%, transparent 72%);
          mask-image: linear-gradient(to bottom, #000 0%, #000 42%, rgba(0,0,0,0.55) 56%, transparent 72%);
}

/* Overlay no longer needed — the wrap's mask-image handles the fade and
   guarantees no solid rectangle is drawn behind the heading text below. */
.video-phone-wrap::after {
  content: none;
}

.demo-heading {
  position: relative;
  z-index: 4;
  margin-top: 0;
  padding-top: 0;
}
.demo-heading > * { position: relative; }

/* Glow behind phone — emerald aurora that frames the device like in the brand renders */
.video-phone-glow {
  position: absolute;
  left: 50%;
  top: 55%;
  width: 520px;
  height: 880px;
  transform: translate(-50%, -50%);
  background: radial-gradient(
    ellipse 60% 55% at 50% 50%,
    rgba(16,185,129,.42) 0%,
    rgba(16,185,129,.18) 38%,
    rgba(16,185,129,.05) 62%,
    transparent 78%
  );
  filter: blur(48px);
  pointer-events: none;
  z-index: 0;
}
.video-phone-glow--outer {
  width: 820px;
  height: 1100px;
  background: radial-gradient(
    ellipse at 50% 50%,
    rgba(16,185,129,.22) 0%,
    rgba(16,185,129,.06) 45%,
    transparent 70%
  );
  filter: blur(110px);
}

/*
  iPhone 17 navy mockup — pure CSS, no images.
  Outer frame is a navy gradient bezel, screen has rounded inner radius,
  Dynamic Island sits at the top. Sized via --phone-w; all inner UI is em-based
  so the Assign UI scales cleanly down to mobile.
*/
.demo-phone {
  position: relative;
  z-index: 2;
  width: var(--phone-w);
  aspect-ratio: 9 / 19.5;
  padding: calc(var(--phone-w) * 0.024);
  border-radius: calc(var(--phone-w) * 0.165);
  background:
    linear-gradient(155deg, #2a3a52 0%, #1a2436 38%, #0e1622 72%, #1a2436 100%);
  box-shadow:
    0 50px 90px rgba(0,0,0,.5),
    0 18px 36px rgba(0,0,0,.32),
    inset 0 0 0 1px rgba(255,255,255,.08),
    inset 0 1px 0 rgba(255,255,255,.18),
    inset 0 -1px 0 rgba(0,0,0,.4);
}

.demo-phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: calc(var(--phone-w) * 0.142);
  background: #09100E;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.6);
  font-size: calc(var(--phone-w) * 0.028);
  color: #f6fbf9;
  display: flex;
  flex-direction: column;
}

/* Home indicator bar at bottom — hidden because phone fades out before reaching it */
.demo-phone-screen::after { content: none; }

.demo-phone-island {
  position: absolute;
  top: 0.75em;
  left: 50%;
  transform: translateX(-50%);
  width: 10.5em;
  height: 2.35em;
  background: #000;
  border-radius: 2em;
  z-index: 6;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.04);
}
/* Camera sensor on the right side of the Dynamic Island */
.demo-phone-island::after {
  content: '';
  position: absolute;
  right: 0.58em;
  top: 50%;
  transform: translateY(-50%);
  width: 0.75em;
  height: 0.75em;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 30%, rgba(50,68,96,.55) 0%, rgba(10,16,28,.92) 50%, #000 80%);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.06),
    inset 0 0 2px rgba(0,0,0,.8);
}

/* Status bar — sized and laid out like a real iPhone 17 */
.demo-status {
  position: relative;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.55em 2.15em 0.35em;
  font-size: 1.15em;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.demo-status-time {
  letter-spacing: -.02em;
  font-weight: 700;
  font-feature-settings: 'tnum';
}
.demo-status-right {
  display: inline-flex;
  align-items: center;
  gap: 0.42em;
  color: #fff;
}
.demo-icon-signal,
.demo-icon-wifi {
  display: block;
  height: 0.92em;
  width: auto;
}
.demo-status-batt {
  position: relative;
  width: 2em;
  height: 0.95em;
  border-radius: 0.27em;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.55);
  padding: 0.14em;
  margin-left: 0.08em;
}
.demo-status-batt::after {
  content: '';
  position: absolute;
  right: -0.22em;
  top: 50%;
  transform: translateY(-50%);
  width: 0.15em;
  height: 0.45em;
  background: rgba(255,255,255,.55);
  border-radius: 0 0.07em 0.07em 0;
}
.demo-status-batt-fill {
  display: block;
  width: 100%;
  height: 100%;
  background: #fff;
  border-radius: 0.14em;
}

/* Assign UI body */
.assign-ui {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1.1em 1.15em 2em;
  font-size: 1em;
  min-height: 0;
}

.assign-ui-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.6em;
  padding-bottom: 0.85em;
  margin-bottom: 0.9em;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.assign-ui-head h4 {
  margin: 0 0 0.25em;
  font-size: 1.22em;
  font-weight: 800;
  letter-spacing: -.025em;
  color: #fff;
}
.assign-ui-head p {
  margin: 0;
  font-size: 0.78em;
  color: rgba(255,255,255,.5);
  font-weight: 500;
}
.assign-ui-head p strong {
  color: rgba(255,255,255,.78);
  font-weight: 700;
}
.assign-ui-x {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 1.9em;
  height: 1.9em;
  border-radius: 50%;
  background: rgba(255,255,255,.07);
  color: rgba(255,255,255,.6);
}

/* Segmented bar */
.assign-ui-bar {
  display: flex;
  gap: 0.22em;
  height: 0.48em;
  border-radius: 999px;
  margin-bottom: 0.85em;
}
.assign-ui-bar .seg {
  display: block;
  height: 100%;
  border-radius: 999px;
  transition: width .9s cubic-bezier(.4, 0, .2, 1);
}
.assign-ui-bar .seg-1 { width: 50%; background: #d97706; }
.assign-ui-bar .seg-2 { width: 22%; background: #2563eb; }
.assign-ui-bar .seg-3 { width: 10%; background: #f87171; }
.assign-ui-bar .seg-4 { flex: 1;     background: rgba(255,255,255,.08); }

/* Cards */
.assign-ui-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5em;
  margin-bottom: 0.95em;
}
.assign-ui-card {
  padding: 0.85em 0.5em 0.9em;
  border-radius: 1em;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
  text-align: center;
}
.card-lbl {
  display: block;
  font-size: 0.58em;
  font-weight: 700;
  letter-spacing: .18em;
  color: rgba(255,255,255,.42);
  margin-bottom: 0.55em;
}
.card-amount {
  display: block;
  font-size: 1.5em;
  font-weight: 800;
  letter-spacing: -.03em;
  margin-bottom: 0.3em;
  font-variant-numeric: tabular-nums;
  transition: color .25s ease;
}
.card-amount-savings { color: #3b82f6; }
.card-amount-debt    { color: #f87171; }
.card-sub {
  display: block;
  font-size: 0.66em;
  color: rgba(255,255,255,.45);
  font-variant-numeric: tabular-nums;
}

/* Slider */
.assign-ui-slider {
  margin-bottom: 0.9em;
}
.slider-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.7em;
  color: rgba(255,255,255,.6);
}
.slider-row-top { margin-bottom: 0.6em; font-weight: 700; }
.slider-row-top .row-savings,
.slider-row-top .row-debt {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
}
.slider-row-top .row-savings { color: #3b82f6; }
.slider-row-top .row-debt    { color: #f87171; }
.slider-row-top .row-mid     { color: #fff; font-weight: 700; }
.slider-row .dot {
  display: inline-block;
  width: 0.45em;
  height: 0.45em;
  border-radius: 50%;
}
.dot-savings { background: #3b82f6; }
.dot-debt    { background: #f87171; }
.slider-row-bot {
  margin-top: 0.55em;
  font-size: 0.62em;
  color: rgba(255,255,255,.4);
  font-variant-numeric: tabular-nums;
}

.slider-track {
  position: relative;
  height: 0.45em;
  background: transparent;
}
.track-fill-left {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 74%;
  background: #3b82f6;
  border-radius: 999px 0 0 999px;
  transition: width .9s cubic-bezier(.4, 0, .2, 1);
}
.track-fill-right {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 26%;
  background: #f87171;
  border-radius: 0 999px 999px 0;
  transition: width .9s cubic-bezier(.4, 0, .2, 1);
}
.track-thumb {
  position: absolute;
  left: 74%;
  top: 50%;
  width: 1.4em;
  height: 1.4em;
  margin-left: -0.7em;
  margin-top: -0.7em;
  background: #fff;
  border-radius: 50%;
  box-shadow:
    0 0 0 4px rgba(255,255,255,.08),
    0 4px 10px rgba(0,0,0,.5);
  transition: left .9s cubic-bezier(.4, 0, .2, 1);
  z-index: 2;
}

/* Pills */
.assign-ui-pill {
  display: flex;
  align-items: center;
  gap: 0.55em;
  padding: 0.7em 0.85em;
  border-radius: 0.65em;
  background: rgba(255,255,255,.025);
  border: 1px solid rgba(255,255,255,.06);
  margin-bottom: 0.5em;
}
.assign-ui-pill p {
  margin: 0;
  font-size: 0.7em;
  color: rgba(255,255,255,.6);
  line-height: 1.35;
}
.assign-ui-pill p strong {
  color: #fff;
  font-weight: 700;
}
.pill-ico {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.3em;
  height: 1.3em;
  color: rgba(255,255,255,.55);
}
.assign-ui-pill-tip {
  background: rgba(16,185,129,.04);
  border-color: rgba(16,185,129,.35);
}
.assign-ui-pill-tip .pill-ico { color: var(--emerald-2); }

/* Auto-set button */
.assign-ui-auto {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  width: 100%;
  padding: 0.85em 1em;
  margin-top: 0.35em;
  border-radius: 0.7em;
  background: rgba(255,255,255,.025);
  border: 1px solid rgba(255,255,255,.06);
  color: rgba(255,255,255,.65);
  font-size: 0.72em;
  font-weight: 600;
  letter-spacing: -.01em;
}
.auto-icon {
  display: inline-flex;
  color: rgba(255,255,255,.5);
}

/* Cancel/Done actions removed — phone fades out below the Auto-set button */

@media (max-width: 900px) {
  .video-phone-wrap { --phone-w: 300px; }
}
@media (max-width: 640px) {
  .video-demo-section { padding: 96px 0 44px; overflow: visible; }
  .video-phone-wrap { --phone-w: min(280px, 76vw); max-width: 100%; overflow: visible; }
  .video-phone-glow { width: min(340px, 90vw); }
  .video-phone-glow--outer { width: min(460px, 100vw); }
}

/* ──────────────────────────────────────────────────────────────
   PHONE MOCKUP — premium navy iPhone 17 Pro frame as PNG, with
   app screenshot positioned in the transparent screen cutout.

   Frame PNG: 1310x2710. Measured cutouts:
     Screen area:     top 1.62%, bottom 98.34%, left 3.89%, right 4.05%
     Dynamic Island:  top 3.25%, bottom 7.12%, ~28.5% wide, centered
   ────────────────────────────────────────────────────────────── */
.phone-mockup {
  --phone-w: 320px;
  --pm-bg: #0F1412;
  position: relative;
  z-index: 1;
  width: var(--phone-w);
  aspect-ratio: 131 / 271;
  animation: phone-float 7s ease-in-out infinite;
  /* Mask everything to the EXACT iPhone shape (bezel + cutout) so screen-bg
     and screenshot can't overflow past the rounded outer corners. The mask
     matches Apple's actual squircle exactly — no approximation. */
  -webkit-mask-image: url('assets/iphone-mask.png');
          mask-image: url('assets/iphone-mask.png');
  -webkit-mask-size: 100% 100%;
          mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
}
.phone-mockup--light { --pm-bg: #F6F8F7; }
@media (prefers-reduced-motion: reduce) {
  .phone-mockup { animation: none; }
}
@keyframes phone-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-4px); }
}

/* Emerald glow disabled — phone sits cleanly on the page bg without a halo */
.phone-mockup .pm-glow { display: none; }

/* Solid bg fills the screen cutout's bounding box, with circular border-radius
   matching the frame's inner screen curve (~205px in image-space = 15.65% of
   phone width). Using calc(--phone-w * 0.1565) gives a circular corner that
   scales with the phone size — keeps the bg's silhouette strictly inside the
   iPhone outline so the drop-shadow doesn't leak rectangular shadows. */
/* Solid bg fills the screen cutout's bounding box. The phone-mockup's
   mask-image clips everything to the exact iPhone shape, so we don't
   need a border-radius here — the mask handles the rounded corners
   with Apple's actual squircle curve. */
.phone-mockup .pm-screen-bg {
  position: absolute;
  top: 1.62%;
  left: 3.89%;
  width: 92.06%;
  height: 96.72%;
  background: var(--pm-bg);
  z-index: 1;
}

/* App screenshot — same cutout box, clipped by the phone-mockup mask. */
.phone-mockup .pm-screen-img {
  position: absolute;
  top: 1.62%;
  left: 3.89%;
  width: 92.06%;
  height: 96.72%;
  object-fit: cover;
  object-position: top center;
  display: block;
  z-index: 2;
}

/* Demo phone: live CSS-animated content (Assign UI) hosted in the screen area.
   Top: 7.12% to leave room for the Dynamic Island, since the live UI has its
   own padding handling. */
.phone-mockup .pm-screen-content {
  position: absolute;
  top: 7.12%;
  left: 3.89%;
  width: 92.06%;
  height: 91.22%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 0 0 calc(var(--phone-w) * 0.1565) calc(var(--phone-w) * 0.1565);
  /* Em base so the existing .assign-ui em-sized children scale with phone */
  font-size: calc(var(--phone-w) * 0.028);
  color: #f6fbf9;
}

/* Frame PNG sits on top. Drop-shadow on JUST the frame follows the iPhone
   alpha silhouette — so the shadow is the phone shape, not the rectangular
   bg/img behind it. */
.phone-mockup .pm-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  z-index: 3;
  filter:
    drop-shadow(0 18px 36px rgba(0,0,0,.5))
    drop-shadow(0 8px 16px rgba(0,0,0,.3));
}

/* CSS status bar text — sits at the Dynamic Island vertical center,
   to the left and right of the Island */
.phone-mockup .pm-status {
  position: absolute;
  /* Vertical: aligns with Dynamic Island center (5.17% of phone) */
  top: 3.7%;
  left: 9%;
  right: 9%;
  height: 3%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 4;
  pointer-events: none;
  font-size: calc(var(--phone-w) * 0.034);
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.phone-mockup--light .pm-status { color: #0a0f0c; }

.phone-mockup .ps-time {
  letter-spacing: -.02em;
  font-feature-settings: 'tnum';
}
.phone-mockup .ps-right {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
}
.phone-mockup .ps-signal,
.phone-mockup .ps-wifi {
  display: block;
  height: 0.9em;
  width: auto;
}
.phone-mockup .ps-batt {
  position: relative;
  width: 1.85em;
  height: 0.88em;
  border-radius: 0.26em;
  box-shadow: inset 0 0 0 0.08em rgba(255,255,255,.6);
  padding: 0.12em;
  margin-left: 0.08em;
}
.phone-mockup--light .ps-batt {
  box-shadow: inset 0 0 0 0.08em rgba(0,0,0,.55);
}
.phone-mockup .ps-batt::after {
  content: '';
  position: absolute;
  right: -0.2em;
  top: 50%;
  transform: translateY(-50%);
  width: 0.14em;
  height: 0.42em;
  background: rgba(255,255,255,.6);
  border-radius: 0 0.07em 0.07em 0;
}
.phone-mockup--light .ps-batt::after {
  background: rgba(0,0,0,.55);
}
.phone-mockup .ps-batt-fill {
  display: block;
  width: 100%;
  height: 100%;
  background: #fff;
  border-radius: 0.13em;
}
.phone-mockup--light .ps-batt-fill {
  background: #0a0f0c;
}

/* ── NOTIFICATIONS SECTION ── */
.notifs-section {
  padding: 96px 0;
  position: relative;
  z-index: 2;
}

.notifs-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 28px;
}

/* Column wrapper */
.notifs-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Column label pill */
.notifs-col-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(16,185,129,.07);
  border: 1px solid rgba(16,185,129,.18);
  color: var(--emerald-2);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.notifs-col-label--motivation {
  background: rgba(250,200,80,.06);
  border-color: rgba(250,200,80,.18);
  color: #f5c842;
}

/* Individual toast card */
.notif-toast {
  position: relative;
  padding: 16px 18px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.06);
  background: linear-gradient(160deg, rgba(255,255,255,.040), rgba(255,255,255,.014));
  box-shadow:
    0 1px 0 rgba(255,255,255,.05) inset,
    0 -1px 0 rgba(0,0,0,.35) inset,
    0 8px 28px rgba(0,0,0,.28),
    0 2px 8px rgba(0,0,0,.18);
  transition: transform .22s var(--ease-snap), border-color .22s, box-shadow .22s;
  overflow: hidden;
}
/* Glass top rim */
.notif-toast::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(to bottom, rgba(255,255,255,.045) 0%, transparent 28%);
  pointer-events: none;
}
.notif-toast:hover {
  transform: translateY(-2px);
  border-color: rgba(16,185,129,.16);
  box-shadow:
    0 1px 0 rgba(255,255,255,.07) inset,
    0 -1px 0 rgba(0,0,0,.35) inset,
    0 16px 48px rgba(0,0,0,.36),
    0 0 32px rgba(16,185,129,.06);
}

/* Warning variant */
.notif-toast--warning {
  border-color: rgba(251,146,60,.10);
  background: linear-gradient(160deg, rgba(251,146,60,.06), rgba(255,255,255,.014));
}
.notif-toast--warning:hover {
  border-color: rgba(251,146,60,.24);
  box-shadow:
    0 1px 0 rgba(255,255,255,.06) inset,
    0 -1px 0 rgba(0,0,0,.35) inset,
    0 16px 48px rgba(0,0,0,.36),
    0 0 32px rgba(251,146,60,.07);
}

/* Motivation variant */
.notif-toast--motivation {
  border-color: rgba(250,200,80,.08);
  background: linear-gradient(160deg, rgba(250,200,80,.05), rgba(255,255,255,.014));
}
.notif-toast--motivation:hover {
  border-color: rgba(250,200,80,.22);
  box-shadow:
    0 1px 0 rgba(255,255,255,.06) inset,
    0 -1px 0 rgba(0,0,0,.35) inset,
    0 16px 48px rgba(0,0,0,.36),
    0 0 32px rgba(250,200,80,.06);
}

/* App row — icon + name + time */
.notif-app {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 9px;
  position: relative;
  z-index: 1;
}
.notif-icon {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,.4));
}
.notif-app > span:first-of-type {
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -.1px;
  flex: 1;
}
.notif-time {
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
}

/* Unread dot */
.notif-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse-dot 2.6s ease-in-out infinite;
}
.notif-dot--alert  { background: var(--emerald-2); }
.notif-dot--warning { background: #fb923c; animation: none; }
.notif-dot--goal   { background: #f5c842; }

/* Notification text */
.notif-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -.2px;
  margin-bottom: 4px;
  line-height: 1.3;
  position: relative;
  z-index: 1;
}
.notif-body {
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.5;
  position: relative;
  z-index: 1;
  max-width: none;
}
.notif-body strong {
  color: var(--text);
  font-weight: 600;
}

/* Bottom prefs strip */
.notifs-prefs-strip {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 24px;
  border-radius: 20px;
  border: 1px solid rgba(16,185,129,.12);
  background:
    radial-gradient(ellipse 60% 100% at 0% 50%, rgba(16,185,129,.06), transparent 55%),
    rgba(255,255,255,.018);
  box-shadow: 0 4px 16px rgba(0,0,0,.18);
}
.notifs-prefs-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(16,185,129,.08);
  border: 1px solid rgba(16,185,129,.14);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--emerald-2);
}
.notifs-prefs-strip strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 3px;
  letter-spacing: -.2px;
}
.notifs-prefs-strip span {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.55;
}

/* Mobile */
@media (max-width: 640px) {
  .notifs-columns { grid-template-columns: 1fr; gap: 32px; }
  .notifs-prefs-strip { flex-direction: column; gap: 12px; }
}

/* ── SECTION ATMOSPHERE BANDS ── */
/* Faint green aurora rises between sections for depth */
.mission-section,
.story-section,
.screens-section,
.premium-section { overflow: hidden; }

.mission-section::after,
.story-section::after,
.screens-section::after,
.video-demo-section::after,
.premium-section::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -60px;
  transform: translateX(-50%);
  width: min(70%, 800px);
  height: 120px;
  background: radial-gradient(ellipse at 50% 50%, rgba(16,185,129,.07) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

/* ── DEPTH LAYER ON HERO IMAGE ── */
/* Subtle angled shadow beneath the main phone for floor depth */
.hero-device-main img {
  filter:
    drop-shadow(0 4px 6px rgba(0,0,0,.70))
    drop-shadow(0 24px 56px rgba(0,0,0,.80))
    drop-shadow(0 80px 120px rgba(0,0,0,.65));
}
.hero-device-left img,
.hero-device-right img {
  filter:
    drop-shadow(0 4px 6px rgba(0,0,0,.65))
    drop-shadow(0 20px 48px rgba(0,0,0,.75))
    drop-shadow(0 60px 100px rgba(0,0,0,.55));
}

/* ── FEATURE STRIP DEPTH ── */
.feature-strip {
  background:
    linear-gradient(to bottom, rgba(255,255,255,.022) 0%, rgba(255,255,255,.008) 100%);
  box-shadow:
    0 1px 0 rgba(255,255,255,.04) inset,
    0 -1px 0 rgba(0,0,0,.3) inset;
}

/* ── MISSION CARD DEPTH ── */
.mission-card {
  box-shadow:
    0 2px 0 rgba(255,255,255,.06) inset,
    0 -1px 0 rgba(0,0,0,.4) inset,
    0 28px 80px rgba(0,0,0,.38),
    0 0 80px rgba(16,185,129,.10),
    0 0 0 1px rgba(16,185,129,.08);
}
