/* ============================================================
   BOND — Luxury commercial web experience
   Design tokens, atmosphere, components, motion
   ============================================================ */

:root {
  /* Canvas */
  --ebony:        #0B0B0C;
  --ebony-2:      #0D0D0E;
  --panel:        rgba(255,255,255,0.035);
  --panel-2:      rgba(255,255,255,0.05);
  --hairline:     rgba(255,255,255,0.08);
  --hairline-2:   rgba(255,255,255,0.14);

  /* Text */
  --white:        #FAFAF8;
  --muted:        rgba(245,245,243,0.62);
  --muted-2:      rgba(245,245,243,0.40);

  /* Accent — soft gold / glowing amber */
  --gold:         #F4D08A;
  --gold-deep:    #C9962F;
  --amber:        #E9B85C;
  --glow:         rgba(233,184,92,0.55);

  /* Type */
  --display: 'Sora', 'Inter', system-ui, sans-serif;
  --sans:    'Inter', system-ui, -apple-system, sans-serif;

  /* Motion */
  --spring: cubic-bezier(0.16, 1, 0.3, 1);
  --spring-soft: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.33, 1, 0.68, 1);
  --burger-spring: cubic-bezier(0.34, 1.56, 0.64, 1); /* organic overshoot for the menu glyph */

  --maxw: 1240px;
  --radius: 22px;
}

/* ---------- Reset ---------- */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
/* Ironclad viewport boundary — clip (not hidden) so position:sticky survives */
html, body { width: 100%; max-width: 100%; overflow-x: clip; position: relative; }
body {
  font-family: var(--sans);
  background: var(--ebony);
  color: var(--white);
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  -webkit-tap-highlight-color: transparent;
  overscroll-behavior-y: none;
}
/* Lock scroll without layout jump when the mobile menu is open */
body.is-locked { overflow: hidden; touch-action: none; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
button { -webkit-tap-highlight-color: transparent; }
/* Headings must never overrun their box — wrap long words instead of being clipped */
h1, h2, h3, h4 { overflow-wrap: break-word; text-wrap: balance; }
img, svg { display: block; }
::selection { background: rgba(233,184,92,0.28); color: #fff; }

/* ---------- Atmosphere ---------- */
.atmosphere { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: var(--ebony); }
.mesh {
  position: absolute; border-radius: 50%;
  filter: blur(90px); opacity: 0.5;
  will-change: transform;
}
.mesh--one {
  width: 60vw; height: 60vw; top: -18vw; left: -10vw;
  background: radial-gradient(circle at 50% 50%, rgba(233,184,92,0.16), transparent 65%);
  animation: breathe 16s var(--ease-out) infinite alternate;
}
.mesh--two {
  width: 50vw; height: 50vw; top: 35vh; right: -18vw;
  background: radial-gradient(circle at 50% 50%, rgba(120,86,255,0.13), transparent 65%);
  animation: breathe 20s var(--ease-out) infinite alternate-reverse;
}
.mesh--three {
  width: 46vw; height: 46vw; bottom: -16vw; left: 22vw;
  background: radial-gradient(circle at 50% 50%, rgba(233,184,92,0.10), transparent 65%);
  animation: breathe 24s var(--ease-out) infinite alternate;
}
.grain {
  position: absolute; inset: 0; opacity: 0.04; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@keyframes breathe { from { transform: translate3d(0,0,0) scale(1); } to { transform: translate3d(2vw,-2vw,0) scale(1.12); } }

/* ---------- Shared layout ---------- */
section { position: relative; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted); font-weight: 500;
}
.eyebrow__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold); box-shadow: 0 0 12px var(--glow);
  animation: pulse 2.6s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }
.accent-text {
  background: linear-gradient(105deg, var(--gold), var(--amber) 50%, var(--gold-deep));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-size: 0.95rem; font-weight: 600;
  padding: 15px 26px; border-radius: 100px; border: 1px solid transparent;
  cursor: pointer; transition: transform .5s var(--spring), background .4s, color .4s, box-shadow .5s;
  white-space: nowrap; line-height: 1;
}
.btn { transform: translate3d(0,0,0); }
.btn:active { transform: translate3d(0,0,0) scale(0.96); filter: brightness(0.96); transition-duration: .08s; }
.btn--primary {
  background: linear-gradient(180deg, #FBE6B5, var(--gold) 60%, var(--gold-deep));
  color: #1a1303;
  box-shadow: 0 10px 40px -12px var(--glow), inset 0 1px 0 rgba(255,255,255,0.5);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 60px -14px var(--glow), inset 0 1px 0 rgba(255,255,255,0.6); }
.btn--ghost {
  background: var(--panel); color: var(--white);
  border-color: var(--hairline-2); backdrop-filter: blur(12px);
}
.btn--ghost:hover { background: var(--panel-2); border-color: var(--gold); }
.btn--quiet { background: transparent; color: var(--muted); border-color: var(--hairline); }
.btn--quiet:hover { color: var(--white); border-color: var(--hairline-2); }
.btn--lg { padding: 19px 38px; font-size: 1.05rem; }

/* Hairline light-sweep on hover */
.btn--sweep { overflow: hidden; isolation: isolate; }
.btn--sweep::before {
  content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1px;
  background: conic-gradient(from var(--ang,0deg), transparent 0%, rgba(255,255,255,0.95) 8%, transparent 18%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .4s;
}
.btn--sweep:hover::before { opacity: 1; animation: sweep 1.4s linear infinite; }
.btn--sweep::after {
  content: ''; position: absolute; top: 0; left: -60%; width: 50%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.45), transparent);
  transform: skewX(-18deg); transition: left .7s var(--ease-out); pointer-events: none;
}
.btn--sweep:hover::after { left: 120%; }
@property --ang { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes sweep { to { --ang: 360deg; } }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 18px 0; transition: padding .4s var(--spring), background .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  padding: 12px 0; background: rgba(11,11,12,0.7);
  backdrop-filter: blur(20px) saturate(140%); border-bottom-color: var(--hairline);
}
.nav__inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__mark { filter: drop-shadow(0 0 10px rgba(233,184,92,0.35)); }
.brand__word { font-family: var(--display); font-weight: 700; font-size: 1.25rem; letter-spacing: 0.04em; }
.nav__links { display: flex; gap: 34px; }
.nav__links a { font-size: 0.92rem; color: var(--muted); font-weight: 500; position: relative; transition: color .3s; }
.nav__links a::after {
  content: ''; position: absolute; left: 0; bottom: -6px; width: 0; height: 1px;
  background: var(--gold); transition: width .4s var(--spring);
}
.nav__links a:hover { color: var(--white); }
.nav__links a:hover::after { width: 100%; }

/* Hamburger — hidden on desktop, revealed on mobile.
   Orchestrated spring choreography, compositor-only transforms. */
.nav__burger {
  display: none; position: relative; width: 46px; height: 46px;
  border: 1px solid var(--hairline-2); border-radius: 13px;
  background: var(--panel); backdrop-filter: blur(12px); cursor: pointer;
  align-items: center; justify-content: center; flex-direction: column; gap: 5px;
  transition: border-color .3s, background .3s, transform .22s var(--spring);
  transform: translate3d(0,0,0); /* own GPU layer */
}
.nav__burger:active { transform: translate3d(0,0,0) scale(0.92); background: var(--panel-2); }
.nav__burger span {
  display: block; width: 18px; height: 1.6px; border-radius: 2px;
  background: var(--white); transform: translate3d(0,0,0);
  transform-origin: center; will-change: transform, opacity;
  /* default (closing): outer bars settle first, center re-expands last */
  transition: transform .5s var(--burger-spring), opacity .28s ease .12s;
}
/* Opening: center line compresses + fades out FIRST and fastest (out-of-sync),
   outer bars rotate into the X a beat later for an organic, layered feel */
.nav__burger.is-active span:nth-child(1) { transform: translate3d(0,6.6px,0) rotate(45deg); transition-delay: .07s; }
.nav__burger.is-active span:nth-child(2) { opacity: 0; transform: translate3d(0,0,0) scaleX(0.15); transition: transform .28s var(--ease-out), opacity .2s ease; }
.nav__burger.is-active span:nth-child(3) { transform: translate3d(0,-6.6px,0) rotate(-45deg); transition-delay: .07s; }

/* ---------- Mobile menu drawer ---------- */
.menu {
  position: fixed; inset: 0; z-index: 200; visibility: hidden; pointer-events: none;
  overflow: hidden; /* the off-canvas panel (translateX 105%) must not expand scroll width */
}
.menu.is-open { visibility: visible; pointer-events: auto; }
.menu__scrim {
  position: absolute; inset: 0; background: rgba(6,6,7,0.55);
  backdrop-filter: blur(6px); opacity: 0; transition: opacity .45s var(--ease-out);
}
.menu.is-open .menu__scrim { opacity: 1; }
.menu__panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(86vw, 380px);
  padding: calc(22px + env(safe-area-inset-top)) 26px calc(26px + env(safe-area-inset-bottom));
  padding-right: calc(26px + env(safe-area-inset-right));
  display: flex; flex-direction: column;
  background: linear-gradient(200deg, rgba(22,22,26,0.96), rgba(11,11,13,0.98));
  border-left: 1px solid var(--hairline-2);
  box-shadow: -40px 0 120px -40px rgba(0,0,0,0.9);
  transform: translate3d(105%,0,0); transition: transform .55s var(--spring);
  will-change: transform; backface-visibility: hidden;
}
.menu.is-open .menu__panel { transform: translate3d(0,0,0); }
.menu__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.menu__close {
  width: 42px; height: 42px; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--hairline); border-radius: 12px; background: var(--panel);
  color: var(--muted); cursor: pointer; transition: color .3s, border-color .3s;
}
.menu__close:hover { color: var(--white); border-color: var(--hairline-2); }
.menu__close:active { transform: translate3d(0,0,0) scale(0.9); background: var(--panel-2); }
.menu__links {
  display: flex; flex-direction: column; margin: 18px 0 auto;
  /* organic elastic momentum if the list ever exceeds the panel height */
  overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.menu__links::-webkit-scrollbar { display: none; }
.menu__links a {
  position: relative; display: flex; align-items: baseline; gap: 16px;
  font-family: var(--display); font-size: 1.5rem; font-weight: 600; letter-spacing: -0.01em;
  color: var(--white); padding: 16px 12px 16px 4px; border-bottom: 1px solid var(--hairline);
  border-radius: 12px;
  opacity: 0; transform: translate3d(18px,0,0); will-change: transform, opacity;
  transition: color .3s, background .3s, transform .55s var(--spring), opacity .55s var(--spring);
}
.menu.is-open .menu__links a { opacity: 1; transform: translate3d(0,0,0); }
.menu.is-open .menu__links a:nth-child(1) { transition-delay: .08s; }
.menu.is-open .menu__links a:nth-child(2) { transition-delay: .14s; }
.menu.is-open .menu__links a:nth-child(3) { transition-delay: .20s; }
.menu.is-open .menu__links a:nth-child(4) { transition-delay: .26s; }
.menu__links a span { font-size: 0.78rem; color: var(--gold); font-variant-numeric: tabular-nums; }
/* Bespoke native-app tap feedback: instant scale-down + surface lift */
.menu__links a:active {
  color: var(--gold); background: rgba(233,184,92,0.07);
  transform: translate3d(0,0,0) scale(0.97); transition-duration: .08s;
}
.menu__foot { padding-top: 22px; }
.menu__foot .btn { width: 100%; justify-content: center; }
.menu__fine { text-align: center; font-size: 0.76rem; color: var(--muted-2); margin-top: 14px; }

/* ---------- Mobile sticky CTA ---------- */
.mobilecta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: none;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  padding-left: max(14px, env(safe-area-inset-left));
  padding-right: max(14px, env(safe-area-inset-right));
  background: linear-gradient(180deg, rgba(11,11,13,0), rgba(11,11,13,0.82) 32%);
  /* choreographed arrival: rises + fades as one motion */
  transform: translate3d(0,120%,0); opacity: 0;
  transition: transform .6s var(--spring), opacity .42s var(--ease-out);
  will-change: transform, opacity; pointer-events: none;
}
.mobilecta.is-visible { transform: translate3d(0,0,0); opacity: 1; pointer-events: auto; }
.mobilecta__inner {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px 10px 18px; border-radius: 18px;
  background: rgba(20,20,24,0.86);
  /* blur resolves in crisply as the bar settles, then clears on dissolve */
  backdrop-filter: blur(0) saturate(120%); -webkit-backdrop-filter: blur(0) saturate(120%);
  border: 1px solid var(--hairline-2);
  box-shadow: 0 20px 50px -18px rgba(0,0,0,0.8), inset 0 1px 0 rgba(255,255,255,0.06);
  transition: backdrop-filter .6s var(--ease-out) .08s, -webkit-backdrop-filter .6s var(--ease-out) .08s;
}
.mobilecta.is-visible .mobilecta__inner { backdrop-filter: blur(20px) saturate(150%); -webkit-backdrop-filter: blur(20px) saturate(150%); }
.mobilecta__copy { display: flex; flex-direction: column; line-height: 1.25; margin-right: auto; }
.mobilecta__label { font-size: 0.9rem; font-weight: 600; color: var(--white); }
.mobilecta__sub { font-size: 0.74rem; color: var(--gold); }
.mobilecta__btn { padding: 12px 20px; font-size: 0.9rem; flex-shrink: 0; }

/* ============================================================
   SECTION A · HERO
   ============================================================ */
.hero {
  max-width: var(--maxw); margin: 0 auto; padding: 200px 32px 90px;
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center;
}
.hero__copy { max-width: 600px; }
.hero__title {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(2.7rem, 5.2vw, 4.6rem); line-height: 1.02;
  letter-spacing: -0.02em; margin: 24px 0 26px;
  text-wrap: balance;
}
.mask { display: block; overflow: hidden; padding-bottom: 0.04em; }
/* Fluid body copy — never overflows the SE, never bloats on desktop */
.hero__lede { font-size: clamp(1rem, 0.94rem + 0.5vw, 1.12rem); color: var(--muted); max-width: 540px; text-wrap: pretty; }
.hero__actions { display: flex; gap: 14px; margin: 34px 0 30px; flex-wrap: wrap; }
.hero__trust { display: flex; align-items: center; gap: 14px; }
.hero__trust p { font-size: 0.86rem; color: var(--muted-2); max-width: 340px; }
.hero__avatars { display: flex; }
.hero__avatars span {
  width: 32px; height: 32px; border-radius: 50%; margin-left: -8px;
  border: 2px solid var(--ebony);
  background: linear-gradient(135deg, #3a3a3f, #16161a);
}
.hero__avatars span:first-child { margin-left: 0; }
.hero__avatars span:nth-child(2){ background: linear-gradient(135deg,#4a3f2a,#1a160e);}
.hero__avatars span:nth-child(3){ background: linear-gradient(135deg,#2a2a3f,#0e0e1a);}
.hero__avatars span:nth-child(4){ background: linear-gradient(135deg, var(--gold-deep), #5a3f10);}

/* 3D parallax stage */
.hero__stage { perspective: 1400px; }
.tilt {
  position: relative; transform-style: preserve-3d;
  transition: transform .35s var(--spring-soft);
  will-change: transform;
}
.tilt__glow {
  position: absolute; inset: -12% -8%; border-radius: 40px;
  background: radial-gradient(60% 60% at 60% 30%, rgba(233,184,92,0.22), transparent 70%);
  filter: blur(30px); transform: translateZ(-60px);
}
.device {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(180deg, rgba(28,28,32,0.92), rgba(14,14,16,0.96));
  border: 1px solid var(--hairline-2);
  box-shadow: 0 50px 120px -30px rgba(0,0,0,0.8), inset 0 1px 0 rgba(255,255,255,0.07);
  transform: translateZ(40px);
}
.device__bar {
  display: flex; align-items: center; gap: 7px; padding: 13px 16px;
  border-bottom: 1px solid var(--hairline);
  background: rgba(255,255,255,0.02);
}
.device__dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,0.16); }
.device__title { margin-left: 10px; font-size: 0.74rem; color: var(--muted-2); letter-spacing: 0.04em; }
.device__body { padding: 0; }

.dash { display: grid; grid-template-columns: 124px 1fr; min-height: 320px; }
.dash__rail { border-right: 1px solid var(--hairline); padding: 16px 12px; display: flex; flex-direction: column; gap: 5px; }
.dash__brandrow { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.dash__logo { width: 18px; height: 18px; border-radius: 6px; background: linear-gradient(135deg, var(--gold), var(--gold-deep)); }
.dash__name { font-size: 0.78rem; font-weight: 600; }
.dash__navitem { font-size: 0.78rem; color: var(--muted-2); padding: 7px 9px; border-radius: 9px; transition: .3s; }
.dash__navitem.is-active { color: var(--white); background: rgba(233,184,92,0.12); }
.dash__main { padding: 18px; }
.dash__head { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 16px; }
.dash__kicker { font-size: 0.7rem; color: var(--muted-2); letter-spacing: 0.14em; text-transform: uppercase; }
.dash__big { font-family: var(--display); font-size: 1.7rem; font-weight: 700; margin-top: 4px; }
.dash__big span { font-size: 0.8rem; color: var(--muted); font-weight: 400; }
.dash__pill {
  font-size: 0.68rem; color: var(--gold); border: 1px solid rgba(233,184,92,0.4);
  padding: 4px 10px; border-radius: 100px; letter-spacing: 0.1em;
  display: inline-flex; align-items: center; gap: 6px;
}
.dash__pill::before { content:''; width:6px; height:6px; border-radius:50%; background:var(--gold); box-shadow:0 0 8px var(--glow); animation: pulse 1.8s infinite; }
.dash__grid { display: flex; flex-direction: column; gap: 7px; }
.slot {
  display: grid; grid-template-columns: 46px 1fr auto; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 11px; font-size: 0.78rem;
  background: rgba(255,255,255,0.03); border: 1px solid var(--hairline);
  border-left: 2px solid var(--amber);
}
.slot span { color: var(--muted-2); font-variant-numeric: tabular-nums; }
.slot b { font-weight: 600; }
.slot i { color: var(--muted); font-style: normal; font-size: 0.72rem; }
.slot--b { border-left-color: #7E70FF; }
.slot--c { border-left-color: #5EC8A0; }
.slot--e { border-left-style: dashed; opacity: 0.7; }

.floatcard {
  position: absolute; border-radius: 16px; padding: 14px 16px;
  background: rgba(20,20,24,0.72); border: 1px solid var(--hairline-2);
  backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 24px 60px -20px rgba(0,0,0,0.7), inset 0 1px 0 rgba(255,255,255,0.08);
  will-change: transform; /* parallax layer — keep off the main paint */
}
.floatcard--rev { top: -26px; right: -10px; transform: translateZ(80px); }
.floatcard__label { display: block; font-size: 0.68rem; color: var(--muted-2); letter-spacing: 0.08em; text-transform: uppercase; }
.floatcard__value { display: block; font-family: var(--display); font-size: 1.5rem; font-weight: 700; margin: 3px 0; }
.floatcard__delta { font-size: 0.72rem; color: #5EC8A0; }
.floatcard--note { bottom: -24px; left: -22px; display: flex; align-items: center; gap: 11px; transform: translateZ(70px); }
.floatcard__sub { display:block; font-size: 0.7rem; color: var(--muted); }
.floatcard__pulse {
  width: 30px; height: 30px; border-radius: 9px; flex-shrink: 0;
  background: rgba(94,200,160,0.16); position: relative;
}
.floatcard__pulse::after { content:''; position:absolute; inset:0; margin:auto; width:9px; height:9px; border-radius:50%; background:#5EC8A0; box-shadow:0 0 10px rgba(94,200,160,0.7); top:0;bottom:0;left:0;right:0; animation:pulse 1.6s infinite; }

.hero__scrollcue {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 0.68rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted-2);
}
.hero__scrollcue i { width: 1px; height: 34px; background: linear-gradient(var(--gold), transparent); animation: cue 2.2s var(--ease-out) infinite; }
@keyframes cue { 0%{transform:scaleY(0);transform-origin:top;} 50%{transform:scaleY(1);transform-origin:top;} 51%{transform-origin:bottom;} 100%{transform:scaleY(0);transform-origin:bottom;} }

/* ---------- Proof marquee ---------- */
.proof {
  border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline);
  padding: 26px 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.proof__track { display: flex; gap: 40px; width: max-content; animation: marquee 34s linear infinite; }
.proof__track span { font-family: var(--display); font-size: 1.15rem; font-weight: 500; color: var(--muted-2); white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================================
   SECTION B · FRAME-LOCK NARRATIVE
   ============================================================ */
.narrative { max-width: var(--maxw); margin: 0 auto; padding: 120px 32px; }
.narrative__inner { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 70px; }
.narrative__sticky { position: sticky; top: 18vh; align-self: start; height: fit-content; }
.narrative__title { font-family: var(--display); font-size: clamp(2rem, 3.4vw, 3rem); font-weight: 700; line-height: 1.08; letter-spacing: -0.015em; margin: 20px 0 16px; }
.narrative__sub { color: var(--muted); max-width: 420px; margin-bottom: 38px; }
.narrative__steps { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.step {
  display: flex; gap: 16px; padding: 18px; border-radius: 16px;
  border: 1px solid transparent; transition: .5s var(--spring); opacity: 0.42;
}
.step.is-active { opacity: 1; background: var(--panel); border-color: var(--hairline); }
.step__no { font-family: var(--display); font-size: 0.8rem; color: var(--gold); padding-top: 4px; font-variant-numeric: tabular-nums; }
.step h3 { font-family: var(--display); font-size: 1.12rem; font-weight: 600; margin-bottom: 4px; }
.step p { font-size: 0.9rem; color: var(--muted); }
.step.is-active h3 { color: var(--white); }

.narrative__viewport { display: flex; flex-direction: column; gap: 90px; }
.panel {
  min-height: 78vh; display: flex; align-items: center; justify-content: center;
}
.panel__frame {
  width: 100%; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(180deg, rgba(24,24,28,0.9), rgba(13,13,15,0.95));
  border: 1px solid var(--hairline-2);
  box-shadow: 0 40px 100px -30px rgba(0,0,0,0.75), inset 0 1px 0 rgba(255,255,255,0.06);
}
.panel__chrome { display: flex; align-items: center; gap: 7px; padding: 13px 16px; border-bottom: 1px solid var(--hairline); }
.panel__chrome span { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,0.15); }
.panel__chrome em { margin-left: 10px; font-style: normal; font-size: 0.74rem; color: var(--muted-2); letter-spacing: 0.04em; }

/* Diary visual */
.diary { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; padding: 22px; }
.diary__col { display: flex; flex-direction: column; gap: 8px; }
.diary__day { font-size: 0.7rem; letter-spacing: 0.16em; color: var(--muted-2); text-align: center; margin-bottom: 4px; }
.diary__ev { padding: 12px 12px; border-radius: 11px; border: 1px solid var(--hairline); background: rgba(255,255,255,0.03); border-left: 2px solid var(--amber); }
.diary__ev b { display: block; font-size: 0.82rem; font-weight: 600; }
.diary__ev i { font-style: normal; font-size: 0.7rem; color: var(--muted-2); }
.diary__ev.e1 { border-left-color: var(--amber); }
.diary__ev.e2 { border-left-color: #7E70FF; }
.diary__ev.e3 { border-left-color: #5EC8A0; }
.diary__col--live { background: rgba(233,184,92,0.05); border-radius: 14px; padding: 6px; }
.diary__ev--fill {
  border-style: dashed; border-color: rgba(233,184,92,0.6); background: rgba(233,184,92,0.08);
  animation: fillpop .8s var(--spring) both;
}
@keyframes fillpop { from { transform: scale(0.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.diary__caption { display: flex; align-items: center; gap: 9px; padding: 14px 22px; border-top: 1px solid var(--hairline); font-size: 0.82rem; color: var(--muted); }
.diary__livedot { width: 8px; height: 8px; border-radius: 50%; background: #5EC8A0; box-shadow: 0 0 10px rgba(94,200,160,0.7); animation: pulse 1.6s infinite; }

/* Phones / client app */
.panel__phones { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.phone {
  width: 240px; border-radius: 34px; padding: 10px; position: relative;
  background: linear-gradient(180deg, #1c1c20, #0d0d0f);
  border: 1px solid var(--hairline-2);
  box-shadow: 0 40px 90px -28px rgba(0,0,0,0.8), inset 0 1px 0 rgba(255,255,255,0.07);
}
.phone__notch { width: 90px; height: 6px; border-radius: 100px; background: rgba(255,255,255,0.18); margin: 4px auto 10px; }
.phone__screen { border-radius: 26px; overflow: hidden; background: var(--ebony-2); border: 1px solid var(--hairline); }
.phone__head { padding: 16px; font-family: var(--display); font-weight: 600; font-size: 0.95rem; border-bottom: 1px solid var(--hairline); }
.phone__hero { aspect-ratio: 16 / 11; height: auto; background: linear-gradient(135deg, rgba(233,184,92,0.18), rgba(120,86,255,0.14)); margin: 0; }
.phone__tabs { display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid var(--hairline); }
.ptab { display: flex; align-items: center; justify-content: center; padding: 15px 0; color: var(--muted-2); transition: color .4s, background .4s; }
.ptab svg { width: 22px; height: 22px; }
.ptab.is-active { color: var(--gold); }
.ptab--swap { position: relative; }
.ptab--swap.is-swapping { animation: swapglow 1.2s var(--spring); }
@keyframes swapglow { 0%{ background: rgba(233,184,92,0); } 40%{ background: rgba(233,184,92,0.16); color: var(--gold);} 100%{ background: rgba(233,184,92,0);} }
.swaptag {
  display: inline-flex; align-items: center; gap: 9px; font-size: 0.82rem; color: var(--muted);
  padding: 10px 16px; border-radius: 100px; background: var(--panel); border: 1px solid var(--hairline);
}
.swaptag b { color: var(--gold); }
.swaptag__pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--glow); animation: pulse 1.6s infinite; }

/* Executive dashboard visual */
.exec { padding: 22px; }
.exec__kpis { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-bottom: 18px; }
.kpi { padding: 16px; border-radius: 14px; background: rgba(255,255,255,0.03); border: 1px solid var(--hairline); }
.kpi span { font-size: 0.72rem; color: var(--muted-2); letter-spacing: 0.04em; }
.kpi b { display: block; font-family: var(--display); font-size: 1.4rem; font-weight: 700; margin: 6px 0 4px; font-variant-numeric: tabular-nums; }
.kpi i { font-style: normal; font-size: 0.74rem; }
.kpi i.up { color: #5EC8A0; }
.exec__chart { border-radius: 14px; border: 1px solid var(--hairline); background: rgba(255,255,255,0.02); padding: 14px; margin-bottom: 16px; }
.spark { width: 100%; height: 110px; }
.spark__line { stroke-dasharray: 1000; stroke-dashoffset: 1000; }
.exec.is-live .spark__line { animation: draw 1.8s var(--ease-out) forwards; }
.exec.is-live .spark__area { opacity: 0; animation: fadein 1.6s .4s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadein { to { opacity: 1; } }
.exec__feed { display: flex; flex-direction: column; gap: 8px; }
.feedrow { display: flex; align-items: center; gap: 10px; font-size: 0.84rem; color: var(--muted); padding: 9px 12px; border-radius: 10px; background: rgba(255,255,255,0.025); border: 1px solid var(--hairline); }
.feedrow__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 8px var(--glow); }

/* ============================================================
   PILLAR CARDS
   ============================================================ */
.pillars { max-width: var(--maxw); margin: 0 auto; padding: 90px 32px; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-head h2 { font-family: var(--display); font-size: clamp(2rem,3.6vw,3rem); font-weight: 700; letter-spacing: -0.015em; margin-top: 16px; }
.pillars__grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.card {
  padding: 30px 26px; border-radius: 20px;
  background: var(--panel); border: 1px solid var(--hairline);
  transition: transform .6s var(--spring), border-color .5s, background .5s;
}
.card:hover { transform: translateY(-6px); border-color: var(--hairline-2); background: var(--panel-2); }
.card__icon {
  width: 50px; height: 50px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(160deg, rgba(233,184,92,0.16), rgba(233,184,92,0.04));
  border: 1px solid rgba(233,184,92,0.25); color: var(--gold); margin-bottom: 22px;
}
.card__icon svg { width: 24px; height: 24px; }
.card h3 { font-family: var(--display); font-size: 1.18rem; font-weight: 600; margin-bottom: 10px; }
.card p { font-size: 0.92rem; color: var(--muted); }

/* ---------- Metrics band ---------- */
.metrics { max-width: var(--maxw); margin: 0 auto; padding: 50px 32px 110px; }
.metrics__grid {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 18px;
  padding: 46px 30px; border-radius: var(--radius);
  background: var(--panel); border: 1px solid var(--hairline);
  position: relative; overflow: hidden;
}
.metrics__grid::before { content:''; position:absolute; inset:0; background: radial-gradient(60% 120% at 50% 0%, rgba(233,184,92,0.08), transparent 70%); }
.metric { text-align: center; position: relative; }
.metric b { display: block; font-family: var(--display); font-size: clamp(2.2rem,3.6vw,3.2rem); font-weight: 800; letter-spacing: -0.02em;
  background: linear-gradient(180deg, #fff, var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.metric span { font-size: 0.86rem; color: var(--muted); }

/* ============================================================
   SECTION C · CONVERSION ENGINE
   ============================================================ */
.trial { max-width: var(--maxw); margin: 0 auto; padding: 40px 32px 120px; }
.trial__panel {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0; position: relative;
  border-radius: 28px; overflow: hidden;
  background: linear-gradient(160deg, rgba(26,26,30,0.85), rgba(12,12,14,0.92));
  border: 1px solid var(--hairline-2);
  box-shadow: 0 50px 130px -40px rgba(0,0,0,0.8);
}
.trial__copy { padding: 56px 48px; position: relative; }
.trial__copy::after { content:''; position:absolute; right:0; top:14%; bottom:14%; width:1px; background: var(--hairline); }
.trial__copy h2 { font-family: var(--display); font-size: clamp(2rem,3vw,2.7rem); font-weight: 700; letter-spacing:-0.015em; margin: 18px 0 18px; line-height: 1.08; }
.trial__copy > p { color: var(--muted); max-width: 420px; margin-bottom: 26px; }
.trial__list { list-style: none; display: flex; flex-direction: column; gap: 13px; margin-bottom: 28px; }
.trial__list li { display: flex; align-items: center; gap: 12px; font-size: 0.94rem; color: var(--white); }
.trial__list svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--gold); padding: 3px; border-radius: 50%; background: rgba(233,184,92,0.12); border: 1px solid rgba(233,184,92,0.3); }
.trial__seal { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 14px; background: rgba(233,184,92,0.07); border: 1px solid rgba(233,184,92,0.22); font-size: 0.9rem; color: var(--muted); }
.trial__seal b { color: var(--gold); }
.trial__sealnum { font-size: 0.64rem; letter-spacing: 0.18em; color: var(--gold); border: 1px solid rgba(233,184,92,0.4); padding: 5px 9px; border-radius: 8px; }

/* Form */
.form { padding: 56px 48px; display: flex; flex-direction: column; gap: 18px; transition: opacity .5s, transform .6s var(--spring); }
.form.is-hidden { opacity: 0; transform: scale(0.97); pointer-events: none; position: absolute; inset: 0; }
.form__head h3 { font-family: var(--display); font-size: 1.5rem; font-weight: 700; }
.form__head p { color: var(--muted); font-size: 0.92rem; }
.field { position: relative; }
.field input {
  width: 100%; padding: 22px 18px 8px; font-size: 1rem; color: var(--white);
  background: rgba(255,255,255,0.025); border: 1px solid var(--hairline-2); border-radius: 14px;
  font-family: var(--sans); transform: translate3d(0,0,0);
  transition: border-color .35s var(--ease-out), background .35s, box-shadow .4s var(--ease-out);
}
/* Focus: border morphs into a micro-thin glowing gold/amber profile */
.field input:focus {
  outline: none; border-color: var(--gold); background: rgba(233,184,92,0.045);
  box-shadow: 0 0 0 3px rgba(233,184,92,0.12), 0 0 22px -4px var(--glow), inset 0 0 0 0.5px rgba(244,208,138,0.5);
}
/* Floating label glides up + scales down on the compositor (transform only) */
.field label {
  position: absolute; left: 18px; top: 17px; color: var(--muted-2); font-size: 1rem;
  pointer-events: none; transform-origin: left center; will-change: transform, color;
  transition: transform .34s var(--spring), color .3s ease;
}
.field input:focus + label,
.field input:not(:placeholder-shown) + label {
  transform: translate3d(0,-10px,0) scale(0.7); color: var(--gold); letter-spacing: 0.04em;
}
.field.is-invalid input { border-color: #E8716B; background: rgba(232,113,107,0.05); }
/* Re-triggerable organic shake on validation failure */
.field.shake input { animation: shake .5s cubic-bezier(.36,.07,.19,.97) both; }
@keyframes shake {
  10%, 90% { transform: translate3d(-1px,0,0); }
  20%, 80% { transform: translate3d(2px,0,0); }
  30%, 50%, 70% { transform: translate3d(-4px,0,0); }
  40%, 60% { transform: translate3d(4px,0,0); }
}
.field__error {
  display: block; font-size: 0.76rem; color: #E8716B; margin-top: 6px; padding-left: 4px;
  opacity: 0; transform: translate3d(0,-4px,0); will-change: transform, opacity;
  transition: opacity .35s var(--ease-out), transform .35s var(--spring), max-height .35s var(--spring);
  max-height: 0; overflow: hidden;
}
.field.is-invalid .field__error { opacity: 1; transform: translate3d(0,0,0); max-height: 30px; }
.field.is-valid input { border-color: rgba(94,200,160,0.5); }

.form__submit { justify-content: center; margin-top: 6px; height: 56px; }
.form__submit .form__spinner { display: none; }
.form__submit.is-loading .form__submitlabel { display: none; }
.form__submit.is-loading .form__spinner { display: inline-flex; }
.form__spinner svg { width: 30px; height: 30px; }
.form__spinner .ring { fill: none; stroke: #1a1303; stroke-width: 3; stroke-linejoin: round; transform-origin: center; animation: spinRing 1.1s var(--ease-out) infinite; }
.form__spinner .ring--two { animation-direction: reverse; animation-duration: 1.5s; opacity: 0.5; }
@keyframes spinRing { to { transform: rotate(360deg); } }
.form__fine { font-size: 0.74rem; color: var(--muted-2); text-align: center; }

/* Success card */
.success {
  padding: 56px 48px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px;
  animation: successIn .8s var(--spring) both;
}
.success[hidden] { display: none; }
@keyframes successIn { from { opacity: 0; transform: translateY(20px) scale(0.96); } to { opacity: 1; transform: none; } }
.success__ring { width: 110px; height: 110px; }
.success__ring svg { width: 110px; height: 110px; transform: rotate(-90deg); }
.success__track { fill: none; stroke: var(--hairline); stroke-width: 5; }
.success__progress { fill: none; stroke: var(--gold); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 327; stroke-dashoffset: 327; animation: ringDraw 1s .15s var(--ease-out) forwards; filter: drop-shadow(0 0 8px var(--glow)); }
@keyframes ringDraw { to { stroke-dashoffset: 0; } }
.success__check { fill: none; stroke: var(--gold); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 80; stroke-dashoffset: 80; transform: rotate(90deg); transform-origin: center; animation: checkDraw .5s 1s var(--ease-out) forwards; }
@keyframes checkDraw { to { stroke-dashoffset: 0; } }
.success h3 { font-family: var(--display); font-size: 1.5rem; font-weight: 700; }
.success p { color: var(--muted); max-width: 380px; }
.success strong { color: var(--white); font-weight: 600; }
.success__meta { display: flex; flex-direction: column; gap: 8px; margin: 6px 0 4px; }
.success__meta span { display: flex; align-items: center; gap: 10px; font-size: 0.86rem; color: var(--muted); }
.success__meta i { width: 8px; height: 8px; border-radius: 50%; background: #5EC8A0; box-shadow: 0 0 8px rgba(94,200,160,0.6); animation: pulse 1.8s infinite; }

/* ---------- Finale ---------- */
.finale { max-width: var(--maxw); margin: 0 auto; padding: 60px 32px 120px; }
.finale__inner {
  text-align: center; padding: 80px 40px; border-radius: 28px;
  background: radial-gradient(80% 140% at 50% 0%, rgba(233,184,92,0.12), transparent 60%), var(--panel);
  border: 1px solid var(--hairline-2);
}
.finale__inner h2 { font-family: var(--display); font-size: clamp(2.2rem,4vw,3.6rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.05; margin-bottom: 34px; }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--hairline);
  padding: 50px max(32px, env(safe-area-inset-right)) calc(50px + env(safe-area-inset-bottom)) max(32px, env(safe-area-inset-left));
}
.footer__inner { max-width: var(--maxw); margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.footer__tag { color: var(--muted); font-size: 0.94rem; }
.footer__links { display: flex; gap: 26px; }
.footer__links a { font-size: 0.88rem; color: var(--muted-2); transition: color .3s; }
.footer__links a:hover { color: var(--white); }
.footer__copy { font-size: 0.8rem; color: var(--muted-2); }

/* ============================================================
   REVEAL / MOTION STAGING
   ============================================================ */
[data-reveal], [data-reveal-stagger] { opacity: 0; transform: translate3d(0,28px,0); transition: opacity .9s var(--spring), transform .9s var(--spring); will-change: transform, opacity; }
[data-reveal].is-in, [data-reveal-stagger].is-in { opacity: 1; transform: translate3d(0,0,0); will-change: auto; }
[data-reveal-line] { display: inline-block; transform: translate3d(0,110%,0); transition: transform 1s var(--spring); }
.is-in [data-reveal-line], .hero.is-in [data-reveal-line] { transform: none; }
.hero__title [data-reveal-line] { transition-delay: var(--d, 0s); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
/* Honour the notch on the fixed nav across all widths */
.nav__inner { padding-left: max(32px, env(safe-area-inset-left)); padding-right: max(32px, env(safe-area-inset-right)); }

/* ---- Tablet ---- */
@media (max-width: 1024px) {
  .narrative__inner { gap: 48px; }
  .pillars__grid { grid-template-columns: repeat(2,1fr); }
}

/* ---- Mobile: ≤ 920px — switch to drawer nav + stacked layout ---- */
@media (max-width: 920px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: inline-flex; }
  .nav { padding-top: calc(14px + env(safe-area-inset-top)); }
  .nav.is-scrolled { padding-top: calc(10px + env(safe-area-inset-top)); }

  .mobilecta { display: block; }

  .hero {
    grid-template-columns: 1fr;
    padding: calc(132px + env(safe-area-inset-top)) max(24px, env(safe-area-inset-right)) 64px max(24px, env(safe-area-inset-left));
    gap: 52px; text-align: center;
  }
  .hero__copy { max-width: 600px; margin: 0 auto; }
  .hero__lede { margin-left: auto; margin-right: auto; }
  .hero__actions { justify-content: center; }
  .hero__trust { justify-content: center; }
  .hero, .hero__stage { max-width: 100%; }
  /* clip horizontal spill (glow / parallax) without cropping the float cards vertically */
  .hero__stage { order: 2; perspective: none; overflow-x: clip; }
  .tilt { transform: none !important; }
  .hero__scrollcue { display: none; }

  .narrative__inner { grid-template-columns: 1fr; gap: 28px; }
  .narrative__sticky { position: relative; top: 0; max-width: 100%; }
  /* Drop the frame-lock; let the visuals flow as a normal stack on touch.
     No negative margin → the horizontal-scroll chip row can't leak past its parent. */
  .narrative__steps {
    flex-direction: row; overflow-x: auto; gap: 12px;
    padding: 4px 0; scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .narrative__steps::-webkit-scrollbar { display: none; }
  /* Steps become a swipeable, snapping tab strip — one card dominant, next peeking */
  .step { min-width: 84%; opacity: 1; scroll-snap-align: start; cursor: pointer; }
  .narrative__steps { scroll-padding-left: 4px; }
  /* Viewport shows ONE frame at a time, synced to the active chip (JS) */
  .narrative__viewport { gap: 0; min-height: 0; }
  .panel { min-height: auto; display: none; }
  .panel.is-shown { display: flex; animation: panelIn .5s var(--spring) both; }
  @keyframes panelIn { from { opacity: 0; transform: translate3d(0,12px,0); } to { opacity: 1; transform: none; } }

  .metrics__grid { grid-template-columns: repeat(2,1fr); row-gap: 34px; }
  .trial__panel { grid-template-columns: 1fr; }
  .trial__copy::after { display: none; }
  .trial__copy { border-bottom: 1px solid var(--hairline); }

  /* Float cards sit inline instead of clipping off the device edge.
     Explicit width + aspect-ratio reserves their footprint → zero shift on reveal. */
  .hero__stage { padding: 16px 16px 30px; }
  .floatcard--rev { top: -14px; right: 6px; width: 140px; aspect-ratio: 7 / 5; }
  .floatcard--note { bottom: -14px; left: 6px; min-height: 56px; }

  /* ---- FLUID FIT: let grid/flex children shrink below intrinsic min-content ----
     Without min-width:0, grid/flex items refuse to shrink and force the whole
     column wider than the screen, which clip then amputates. This is the real fix. */
  .hero__inner, .hero__stage, .tilt, .device, .device__body, .dash, .dash__main,
  .narrative__inner, .narrative__sticky, .narrative__viewport,
  .panel, .panel__frame, .panel__phones, .diary, .diary__col,
  .exec, .exec__kpis, .kpi, .exec__chart { min-width: 0; }
  /* Mockups & graphic containers scale fluidly, never exceed their parent */
  .device, .panel__frame, .panel__phones, .swaptag, .exec__chart, .spark { max-width: 100%; }
  .kpi b, .feedrow { min-width: 0; }
  /* Decorative mockup labels wrap at spaces only — never mid-word */
  .slot b, .diary__ev b { overflow-wrap: normal; word-break: keep-all; }

  /* Cheaper atmosphere on phones — large blurs are costly to composite */
  .mesh { filter: blur(60px); opacity: 0.4; }
  .mesh--two { display: none; }
}

/* ---- Small phones: ≤ 560px ---- */
@media (max-width: 560px) {
  :root { --radius: 18px; }
  .hero { padding: calc(116px + env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) 48px max(20px, env(safe-area-inset-left)); }
  /* Fluid headline step-down — fits an iPhone SE (375px) with margin to the edge */
  .hero__title { font-size: clamp(2rem, 9.4vw, 3rem); }
  /* Every section heading steps down fluidly so no word reaches the boundary */
  .narrative__title { font-size: clamp(1.55rem, 6.6vw, 2.1rem); }
  .section-head h2 { font-size: clamp(1.7rem, 7.2vw, 2.3rem); }
  .trial__copy h2 { font-size: clamp(1.7rem, 7.2vw, 2.2rem); }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .btn { justify-content: center; }

  .proof { padding: 20px 0; }
  .proof__track { gap: 28px; }
  .proof__track span { font-size: 1rem; }

  .pillars__grid { grid-template-columns: 1fr; }
  .metrics__grid { grid-template-columns: 1fr; padding: 34px 22px; }
  .trial__copy, .form, .success { padding: 34px 24px; }
  .narrative, .pillars, .trial, .metrics, .finale {
    padding-left: max(20px, env(safe-area-inset-left));
    padding-right: max(20px, env(safe-area-inset-right));
  }
  /* Fluid vertical breathing room — atmospheric depth, no jagged truncated bands */
  .narrative { padding-top: max(64px, 12vw); padding-bottom: max(64px, 12vw); }
  .pillars { padding-top: max(60px, 11vw); padding-bottom: max(60px, 11vw); }
  .trial { padding-top: max(28px, 7vw); padding-bottom: max(72px, 13vw); }
  .device__title { display: none; }
  .exec__kpis { grid-template-columns: 1fr; }
  .diary { grid-template-columns: repeat(2,1fr); }

  .floatcard--rev .floatcard__value { font-size: 1.25rem; }
  .finale__inner { padding: 56px 24px; }
  .finale__inner h2 { font-size: clamp(1.9rem, 8vw, 2.6rem); }
  /* Finale CTA: let the long label wrap inside the pill instead of overflowing it */
  .finale .btn--lg {
    width: 100%; max-width: 360px; white-space: normal; text-align: center;
    line-height: 1.25; padding: 16px 22px; font-size: 0.98rem;
  }

  /* Keep the dashboard rail from cramping on the narrowest screens */
  .dash { grid-template-columns: 84px 1fr; }
  .dash__main { padding: 14px; }
  .slot { grid-template-columns: 38px 1fr auto; gap: 8px; padding: 9px 10px; }
  .slot i { font-size: 0.68rem; }

  /* iOS form zoom guard — inputs ≥16px don't trigger auto-zoom */
  .field input { font-size: 16px; }

  /* Leave room above the sticky CTA so it never covers the final action */
  .finale { padding-bottom: calc(128px + env(safe-area-inset-bottom)); }
}

/* ---- Fine pointer absent (touch) — neutralise hover-only lifts ---- */
@media (hover: none) {
  .card:hover { transform: none; }
  .btn--primary:hover { transform: none; }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  [data-reveal], [data-reveal-stagger], [data-reveal-line] { opacity: 1 !important; transform: none !important; }
  html { scroll-behavior: auto; }
}
