/* ============================================================
   AgeProof — Re-polished. Bright, youthful, on-brand (Luciditi)
   ============================================================ */

/* ── Fonts ─────────────────────────────────────────────────── */
@font-face {
  font-family: 'Helvetica Neue';
  src: url('fonts/HelveticaNeue-1.woff2') format('woff2'),
       url('fonts/HelveticaNeue-2.woff2') format('woff2'),
       url('fonts/HelveticaNeue.woff') format('woff');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Play';
  src: url('fonts/Play-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ── Tokens ────────────────────────────────────────────────── */
:root {
  --blue-600: #0057D9;
  --blue-500: #0076BA;
  --blue-400: #00A2FF;
  --teal-400: #05A89D;
  --teal-300: #18E7CD;
  --teal-200: #00FFB0;
  --cyan-400: #00F0FF;
  --cyan-300: #00C8FF;

  /* Light-theme semantic */
  --ink:        #0A1726;   /* near-navy text */
  --ink-soft:   #34465A;
  --muted:      #6B7C8E;
  --line:       #E4EBF1;
  --line-soft:  #EFF4F8;
  --paper:      #FFFFFF;
  --tint:       #F1F8FA;   /* teal-tinted section bg */
  --tint-2:     #F5F9FF;   /* blue-tinted section bg */

  /* Accent */
  --accent:        #0076BA;
  --accent-deep:   #0057D9;
  --accent-bright: #00A2FF;
  --grad: linear-gradient(120deg, var(--teal-200) 0%, var(--cyan-400) 42%, var(--accent-deep) 100%);
  --grad-soft: linear-gradient(120deg, #E6FFF6 0%, #E4FBFF 50%, #E9F1FF 100%);

  --font-sans: 'Helvetica Neue','Helvetica','Arial',sans-serif;
  --font-display: 'Play','Helvetica Neue',sans-serif;

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 999px;

  --shadow-sm: 0 2px 10px rgba(10,23,38,0.06);
  --shadow-md: 0 12px 34px rgba(10,23,38,0.10);
  --shadow-lg: 0 30px 70px rgba(10,23,38,0.16);
  --shadow-card: 0 24px 60px -18px rgba(0,87,217,0.30);
  --glow-teal: 0 18px 50px -12px rgba(5,168,157,0.45);

  --wrap: 1200px;
  --nav-h: 76px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-size: 17px;
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1,h2,h3,h4 { margin: 0; line-height: 1.08; letter-spacing: -0.02em; }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.display { font-family: var(--font-display); }

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 700; font-size: 16px; line-height: 1;
  padding: 16px 28px; border-radius: var(--r-pill);
  border: 0; transition: transform .18s ease, box-shadow .25s ease, background .2s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  color: #fff;
  background: linear-gradient(120deg, var(--accent) 0%, var(--accent-deep) 100%);
  box-shadow: 0 14px 30px -10px rgba(0,87,217,0.55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -10px rgba(0,87,217,0.6); }
.btn-ghost {
  color: var(--ink); background: #fff; border: 1.5px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--accent); color: var(--accent); }
.btn-lg { padding: 19px 34px; font-size: 17px; }
.btn-block { width: 100%; }

/* ── Pills / labels ────────────────────────────────────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent); 
}

/* ── Nav ───────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60; height: var(--nav-h);
  display: flex; align-items: center;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .35s ease, border-color .35s ease, box-shadow .35s ease, backdrop-filter .35s ease;
}
.nav.scrolled, .nav.solid {
  background: rgba(255,255,255,0.92); backdrop-filter: saturate(160%) blur(14px);
  border-color: var(--line); box-shadow: 0 6px 24px rgba(10,23,38,0.05);
}
.nav.solid .brand .name { color: var(--ink); }
/* over-hero (transparent) state: white text */
.nav:not(.scrolled):not(.solid) .brand .name { color: #fff; }
.nav:not(.scrolled):not(.solid) .nav-toggle { color: #fff; }
.nav:not(.scrolled):not(.solid) .btn-ghost { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.3); color: #fff; }
.nav .wrap { display: flex; align-items: center; gap: 28px; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand img.lw { width: auto; height: 31px; }
.footer .brand img.lw { height: 30px; }
.nav img.lw-dark { display: none; }
.nav.scrolled img.lw-light, .nav.solid img.lw-light { display: none; }
.nav.scrolled img.lw-dark, .nav.solid img.lw-dark { display: block; }
.brand .name { font-family: var(--font-display); font-size: 20px; letter-spacing: -0.01em; }
.brand .name b { font-weight: 700; }
.brand .tag {
  font-size: 10px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: #fff; background: var(--grad); padding: 3px 7px; border-radius: 6px; margin-left: 2px;
}

.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; color: var(--ink); }

@media (max-width: 940px) {
  .nav-toggle { display: inline-flex; }
  .nav-cta { display: none; }
  .nav .wrap { gap: 12px; }
}
/* Mobile menu */
.mobile-menu {
  position: fixed; inset: var(--nav-h) 0 auto 0; z-index: 55;
  background: #fff; border-bottom: 1px solid var(--line);
  padding: 18px 20px 26px; display: none; flex-direction: column; gap: 4px;
  box-shadow: var(--shadow-md);
}
.mobile-menu.open { display: flex; }
.mobile-menu a { padding: 14px 8px; font-weight: 600; font-size: 17px; border-bottom: 1px solid var(--line-soft); }
.mobile-menu .btn { margin-top: 14px; }

/* ── Section scaffolding ───────────────────────────────────── */
section { position: relative; }
.sec { padding: 96px 0; }
.sec-tint { background: var(--tint); }
.sec-head { max-width: 720px; margin-bottom: 52px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 46px); margin: 16px 0 0;
}
.sec-head p { color: var(--muted); font-size: 18px; margin: 18px 0 0; }
.grad-text {
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ── Decorative dots ───────────────────────────────────────── */
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-16px)} 
}
.float { animation: float 7s ease-in-out infinite; }
.float-slow { animation: float 10s ease-in-out infinite; }

/* ── Reveal on scroll ──────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .float, .float-slow { animation: none; }
  html { scroll-behavior: smooth; scroll-behavior: auto; }

}
/* ============================================================
   CINEMATIC: full-bleed parallax scenes + dark photographic hero
   ============================================================ */
.dark { color: #fff; }
.dark .eyebrow { color: var(--teal-300); }

/* Parallax media layer (JS-driven translateY via data-parallax) */
.bgwrap { position: absolute; inset: 0; overflow: hidden; z-index: 0; contain: paint; transform: translateZ(0); }
.bgwrap img, .bgwrap .bgimg {
  position: absolute; inset: -55% 0; width: 100%; height: 210%;
  object-fit: cover; will-change: transform; backface-visibility: hidden;
}
.scrim {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(4,12,22,0.82) 0%, rgba(4,12,22,0.55) 42%, rgba(4,12,22,0.86) 100%);
}
.scrim.left { background: linear-gradient(100deg, rgba(4,12,22,0.92) 28%, rgba(4,12,22,0.55) 62%, rgba(4,12,22,0.30) 100%); }
.scrim.tint { background: linear-gradient(120deg, rgba(0,32,64,0.78), rgba(0,60,90,0.55) 55%, rgba(0,87,217,0.42)); }

/* =====================  HERO  ============================= */
.hero { position: relative; overflow: hidden; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--nav-h) + 40px) 0 70px; }
.hero .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: 1.06fr 0.94fr; gap: 36px; align-items: center; }
.hero-copy h1 {
  font-family: var(--font-display); color: #fff;
  font-size: clamp(44px, 6.4vw, 86px); line-height: 0.98; margin-top: 24px;
  text-shadow: 0 4px 40px rgba(0,0,0,0.35);
}
.hero-copy p.lede { font-size: clamp(18px,2vw,22px); color: #D5E3EF; margin: 26px 0 0; max-width: 34ch; line-height: 1.5; }
.hero-actions { width: max-content; max-width: 100%; margin-top: 36px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 10px; flex-wrap: wrap; }

.hero-copy .eyebrow { color: var(--teal-300); }
.hero-strip { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding: 0 0 40px; pointer-events: none; }
.hero-strip .wrap { display: flex; align-items: center; justify-content: center; gap: clamp(14px, 2.2vw, 34px); flex-wrap: wrap; }
.hero-strip .ti { display: flex; align-items: center; gap: 9px; color: rgba(255,255,255,0.86); font-weight: 600; font-size: 14px; text-shadow: 0 2px 14px rgba(0,0,0,0.55); white-space: nowrap; }
.hero-strip .ti svg { width: 19px; height: 19px; color: var(--teal-300); }
.hero-strip .sep { width: 1px; height: 18px; background: rgba(255,255,255,0.22); }
@media (max-width: 900px) { .hero-strip { padding: 0 0 22px; } .hero-strip .sep { display: none; } .hero-strip .wrap { gap: 10px 18px; } .hero-strip .ti { font-size: 12.5px; } .hero { padding-bottom: 120px; }
}

/* Hero stage */
.stage { position: relative; height: auto; min-height: 620px; display: grid; place-items: center; }
.stage .hero-shot { position: relative; z-index: 3; width: clamp(280px, 30vw, 345px); padding: 9px 9px 10px; border-radius: 13.5%/6.5%; background: linear-gradient(150deg, #18E7CD 0%, #00A2FF 48%, #0057D9 100%); box-shadow: inset 0 1px 0 rgba(255,255,255,.45), inset 0 -1px 0 rgba(0,0,0,.25); filter: drop-shadow(0 60px 110px rgba(0,0,0,0.62)) drop-shadow(0 24px 60px rgba(0,87,217,0.45)); }
.hero-shot img { display: block; width: 100%; height: auto; border-radius: 11.5%/5.6%; }
.hs-stack { position: relative; aspect-ratio: 780 / 1580; }
.hs-img { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transform: scale(1.015); transition: opacity .9s ease, transform 1.2s ease; z-index: 1; }
.hs-img.on { opacity: 1; transform: scale(1); z-index: 2; }
@media (prefers-reduced-motion: reduce) { .hs-img { transition: none; } 

}
/* =====================  APPLE iPHONE FRAME  ================= */
.iphone {
  position: relative; z-index: 3; width: 312px; aspect-ratio: 312 / 636;
  background: linear-gradient(150deg, #3a3f45, #15181c 40%, #2b2f34 100%);
  border-radius: 56px; padding: 5px;
  box-shadow: 0 1px 0 1.5px rgba(255,255,255,0.10) inset, 0 60px 120px -36px rgba(0,0,0,0.7), 0 24px 60px -30px rgba(0,87,217,0.55);
}
.iphone::before { /* titanium rim highlight */
  content:""; position: absolute; inset: 2px; border-radius: 53px; padding: 1.5px;
  background: linear-gradient(150deg, rgba(255,255,255,0.5), transparent 30%, transparent 70%, rgba(255,255,255,0.25));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}
.iphone .ip-screen {
  position: relative; width: 100%; height: 100%; border-radius: 51px; overflow: hidden;
  background: linear-gradient(180deg, #F4FAFF 0%, #E9F2FB 100%);
  display: flex; flex-direction: column;
}
.iphone .ip-island {
  position: absolute; top: 12px; left: 50%; transform: translateX(-50%); z-index: 20;
  width: 96px; height: 28px; background: #05070a; border-radius: 16px;
}
.iphone .ip-island::after { content:""; position: absolute; right: 12px; top: 50%; transform: translateY(-50%); width: 8px; height: 8px; border-radius: 50%; background: #11202b; box-shadow: 0 0 0 1px rgba(255,255,255,0.05); }
.iphone .ip-status {
  height: 50px; padding: 16px 26px 0; display: flex; align-items: center; justify-content: space-between;
  font-size: 12px; font-weight: 700; color: var(--ink); z-index: 10;
}
.iphone .ip-status .ip-time { font-family: var(--font-display); }
.iphone .ip-status .ip-r { display: flex; gap: 5px; align-items: center; }
.iphone .ip-status .ip-r svg { width: 15px; height: 15px; }
/* generic legacy phone (kept for compatibility) */

.phone::before {
  content:""; position: absolute; top: 20px; left: 50%; transform: translateX(-50%);
  width: 120px; height: 26px; background: #0A1726; border-radius: 0 0 16px 16px; z-index: 5;
}
.phone-screen {
  width: 100%; height: 100%; border-radius: 34px; overflow: hidden;
  background: linear-gradient(180deg, #F4FAFF 0%, #EAF3FB 100%); position: relative;
  display: flex; flex-direction: column;
}

.app-body { padding: 16px; display: flex; flex-direction: column; gap: 14px; flex: 1; }

/* Digital age card */

.aa-1 .ico { background: #E6FBF5; color: var(--teal-400); }
.aa-2 .ico { background: #E6F4FF; color: var(--accent); }
.aa-3 .ico { background: #FFF3DC; color: #E0a418; }

/* Floating physical card */

@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 10px; }
  .hero-copy { text-align: center; }
  .hero-applock { margin-inline: auto; }
  .hero-copy p.lede { margin-inline: auto; max-width: 36ch; }
  .hero-actions { margin-inline: auto; }
  .hero-cta { justify-content: center; }

  .stage { height: auto; min-height: 0; margin-top: 56px; }

}
@media (max-width: 460px) {
  .stage { transform: scale(0.92); height: auto; min-height: 0; }
  

}
/* ── Use-case grids ────────────────────────────────────────── */
.uc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.uc {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 18px 16px; display: flex; flex-direction: column; gap: 12px;
  transition: transform .2s ease, box-shadow .25s ease, border-color .2s ease;
}
.uc { cursor: pointer; }
.uc:hover, .uc:focus-visible, .uc.is-tapped { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; background: var(--grad-soft); }
.uc:hover .uc-ico, .uc.is-tapped .uc-ico { background: #fff; }
.uc:active { transform: translateY(-2px) scale(0.995); }
.uc .uc-ico {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  background: var(--grad-soft); color: var(--accent-deep);
}
.uc .uc-ico svg { width: 23px; height: 23px; stroke-width: 1.6; }
.uc h4 { font-size: 15px; font-weight: 700; letter-spacing: -0.01em; }
.uc p { font-size: 13px; color: var(--muted); margin: 0; line-height: 1.4; }

@media (max-width: 880px) {
    .uc-grid { grid-template-columns: repeat(2, 1fr); }

}
@media (max-width: 460px) { .uc-grid { grid-template-columns: 1fr 1fr; } 

}
/* ── Why list ──────────────────────────────────────────────── */
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 30px; }
.why-item { display: flex; gap: 16px; align-items: center; padding: 6px 0; }
.why-item .wi-ico { width: 57px; height: 57px; border-radius: 16px; background: var(--grad-soft); color: var(--accent-deep); display: grid; place-items: center; flex: none; }
.why-item .wi-ico svg { width: 28px; height: 28px; }
.why-item p { margin: 0; font-size: 15.5px; color: var(--ink-soft); line-height: 1.45; }
.why-item p b { color: var(--ink); font-weight: 700; }
@media (max-width: 760px){ .why-grid { grid-template-columns: 1fr; } 

}
/* ── Requirements ──────────────────────────────────────────── */
.req-grid { display: grid; grid-template-columns: 1fr; gap: 24px; max-width: 720px; }
.req-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; }
.req-card h4 { display: flex; align-items: center; gap: 10px; font-size: 17px; margin-bottom: 16px; }
.req-card h4 svg { width: 20px; height: 20px; color: var(--accent); }
.req-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.req-card ul li { display: flex; gap: 10px; font-size: 14.5px; color: var(--ink-soft); line-height: 1.45; }
.req-card ul li svg { width: 16px; height: 16px; flex: none; margin-top: 3px; color: var(--teal-400); }
.req-card.warn { background: #FFF8E8; border-color: #FBE6B0; }
.req-card.warn h4 svg, .req-card.warn ul li svg { color: #E0a418; }
.req-card a { color: var(--accent); font-weight: 600; }
@media (max-width: 760px){ .req-grid { grid-template-columns: 1fr; } 

}
/* ── Footer ────────────────────────────────────────────────── */
.footer { background: #06121F; color: #B9CEE0; padding: 70px 0 34px; }
.footer .f-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; }
.footer .brand .name { color: #fff; }
.footer .f-about { margin: 18px 0 0; font-size: 14px; color: #8FA6BB; max-width: 32ch; line-height: 1.5; }
.footer .f-apps { display: flex; gap: 10px; margin-top: 20px; }
.footer .f-app { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 1px solid rgba(255,255,255,0.18); border-radius: 12px; font-size: 13px; color: #fff; transition: border-color .2s, background .2s; }
.footer .f-app:hover { border-color: var(--teal-300); background: rgba(255,255,255,0.04); }
.footer .f-app svg { width: 18px; height: 18px; }
.footer h5 { color: #fff; font-size: 14px; letter-spacing: 0.04em; margin: 0 0 16px; }
.footer .f-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.footer .f-links a { font-size: 14px; color: #8FA6BB; }
.footer .f-links a:hover { color: var(--teal-300); }
.footer .f-social { display: flex; gap: 10px; margin-top: 4px; }
.footer .f-social a { width: 38px; height: 38px; border-radius: 11px; border: 1px solid rgba(255,255,255,0.18); display: grid; place-items: center; color: #B9CEE0; transition: all .2s; }
.footer .f-social a:hover { color: #06121F; background: var(--teal-300); border-color: var(--teal-300); }
.footer .f-social svg { width: 17px; height: 17px; }
.footer .f-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1); display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; font-size: 13px; color: #6F8499; }
.footer .f-bottom a { color: #8FA6BB; }
.footer .f-bottom a:hover { color: var(--teal-300); }
.footer .f-addr { font-size: 12.5px; color: #6F8499; margin-top: 14px; max-width: 40ch; }
@media (max-width: 880px){ .footer .f-top { grid-template-columns: 1fr 1fr; gap: 30px; } 
}
@media (max-width: 480px){ .footer .f-top { grid-template-columns: 1fr; } 

}
/* =====================  PARALLAX STATEMENT SCENES  ========= */
.scene { position: relative; min-height: 86vh; display: flex; align-items: center; overflow: hidden; color: #fff; padding: 110px 0; }
.scene-sm { min-height: 62vh; padding: 90px 0; }
.scene .wrap { position: relative; z-index: 2; }
.scene .kicker {
  font-size: 13px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--teal-300);
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px;
}

.scene h2.big {
  font-family: var(--font-display); font-size: clamp(34px, 6vw, 78px); line-height: 1.0; max-width: 16ch;
  text-shadow: 0 4px 50px rgba(0,0,0,0.4);
}
.scene p.sub { font-size: clamp(17px,2vw,21px); color: #D5E3EF; margin: 26px 0 0; max-width: 46ch; line-height: 1.55; }
.scene .scene-cta { margin-top: 38px; display: flex; gap: 14px; flex-wrap: wrap; }
.scene .scene 
/* floating mini stat cards over scenes */
.scene-stats { display: flex; gap: 14px; margin-top: 40px; flex-wrap: wrap; }

/* =====================  HOW IT WORKS SHOWCASE  ============= */
.show { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 56px; align-items: center; margin-top: 54px; }
.show-stage { position: relative; height: 640px; display: grid; place-items: center; }
.show-stage .glow { position: absolute; width: 440px; height: 440px; border-radius: 50%; background: radial-gradient(circle, rgba(0,162,255,0.28), transparent 65%); filter: blur(20px); z-index: 0; }
.show-stage .iphone { z-index: 2; }
.show-screen { position: absolute; inset: 0; opacity: 0; transition: opacity .45s ease; pointer-events: none; display: flex; flex-direction: column; }
.show-screen.on { opacity: 1; position: relative; pointer-events: auto; }
.steps-list { display: grid; gap: 14px; }
.step-row {
  display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start;
  padding: 22px 24px; border-radius: var(--r-lg); border: 1px solid var(--line); background: #fff;
  cursor: pointer; transition: border-color .25s, box-shadow .25s, transform .2s;
}
.step-row:hover { border-color: var(--accent); }
.step-row.active { border-color: transparent; box-shadow: var(--shadow-md); transform: translateX(6px); }
.step-row.active::before { background: var(--grad); }
.step-row .sr-num {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; flex: none;
  font-family: var(--font-display); font-size: 20px; color: var(--accent-deep); background: var(--grad-soft);
  transition: all .3s;
}
.step-row.active .sr-num { background: var(--grad); color: #fff; }
.step-row h4 { font-size: 18px; }
.step-row p { font-size: 14.5px; color: var(--muted); margin: 7px 0 0; }
@media (max-width: 900px){ .show { grid-template-columns: 1fr; gap: 30px; } .show-stage { order: -1; height: 560px; } 

}
/* In-app screens (reused inside iphone) */
.app-greet { padding: 6px 20px 4px; }
.app-greet .hi { font-size: 13px; color: var(--muted); }
.app-greet .hello { font-family: var(--font-display); font-size: 21px; color: var(--ink); }
.app-pill-row { display: flex; gap: 8px; padding: 12px 16px 0; }
.app-pill { font-size: 11px; font-weight: 700; padding: 7px 12px; border-radius: 999px; background: var(--tint); color: var(--accent-deep); }
.app-pill.on { background: var(--grad); color: #06243f; }
.app-list { padding: 14px 16px; display: grid; gap: 10px; }
.app-list .ali { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; background: #fff; border: 1px solid var(--line-soft); box-shadow: var(--shadow-sm); }
.app-list .ali .ali-ico { width: 36px; height: 36px; border-radius: 10px; background: var(--grad-soft); color: var(--accent-deep); display: grid; place-items: center; flex: none; }
.app-list .ali .ali-ico svg { width: 18px; height: 18px; }
.app-list .ali b { font-size: 13px; display: block; }
.app-list .ali span { font-size: 11px; color: var(--muted); }
.app-list .ali .ali-go { margin-left: auto; color: var(--teal-400); }
.app-scan-screen { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 20px; text-align: center; }
.app-scan-ring { width: 150px; height: 150px; border-radius: 50%; border: 3px dashed var(--accent); display: grid; place-items: center; color: var(--accent); position: relative; }
.app-scan-ring svg { width: 64px; height: 64px; }
.app-scan-ring::after { content:""; position: absolute; inset: -10px; border-radius: 50%; border: 2px solid rgba(0,118,186,0.15); }
.app-verify-badge { width: 92px; height: 92px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; color: #06243f; box-shadow: var(--glow-teal); }
.app-verify-badge svg { width: 50px; height: 50px; }

@media (max-width: 980px) {
  .iphone { width: 280px; }

}
@media (max-width: 900px) {
    .cert-row { grid-template-columns: 1fr !important; gap: 30px !important; }
  
}
@media (max-width: 460px) {
  .iphone { width: 248px; }

}

/* ── FAQ accordion ─────────────────────────────────────────── */
.faq { max-width: 820px; margin-inline: auto; }
.faq-item { border: 1px solid var(--line); border-radius: var(--r-md); margin-bottom: 12px; overflow: hidden; background: #fff; transition: box-shadow .2s; }
.faq-item.open { box-shadow: var(--shadow-sm); }
.faq-q { width: 100%; text-align: left; border: 0; background: #fff; padding: 22px 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 17px; font-weight: 700; color: var(--ink); }
.faq-q .fq-ico { color: var(--accent); transition: transform .25s; flex: none; }
.faq-item.open .fq-ico { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a-inner { padding: 0 24px 22px; color: var(--ink-soft); font-size: 15.5px; line-height: 1.6; }
.faq-a-inner a { color: var(--accent); font-weight: 600; }

.sec-how { padding: 64px 0 56px; }
.sec-how .sec-head { margin-bottom: 0; }
.sec-how .show { margin-top: 64px; gap: 33px; align-items: center; }
.sec-how .show-stage { height: 560px; overflow: visible; }
.sec-how .show-stage .iphone { width: 270px; }
.sec-how .show-stage .glow { width: 380px; height: 380px; }
@media (max-width: 900px){ .sec-how { padding: 48px 0 40px; } .sec-how .show-stage { height: 480px; } .sec-how .show-stage .iphone { width: 232px; } 

}
.sec-req .req-grid { margin-inline: auto; }
.sec-req .req-card { text-align: left; }

.app-stores { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }.app-store-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 11px; border: 1px solid var(--line); border-radius: 11px; font-size: 11.5px; font-weight: 600; color: var(--ink); background: #fff; transition: border-color .2s ease, background .2s ease; }
.app-store-btn:hover { border-color: var(--accent); background: var(--grad-soft); }
.app-store-btn svg { width: 14px; height: 14px; }

.app-card-img { display: block; width: 100%; max-width: 210px; height: auto; border-radius: 14px; box-shadow: 0 10px 26px -10px rgba(10,23,38,.35); }

.app-icon-tile { display: block; width: 74px; height: 74px; border-radius: 18px; box-shadow: 0 10px 24px -10px rgba(10,23,38,.45); }

.hero-applock { display: flex; align-items: center; gap: 18px; width: max-content; max-width: 100%; margin-bottom: 26px; text-align: left; }
.hero-applock-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.hero-copy .hero-appicon { display: block; width: 142px; height: 142px; border-radius: 35px; box-shadow: 0 1px 0 rgba(255,255,255,.22) inset, 0 20px 40px -14px rgba(0,0,0,.7); }
.hero-appname { font-family: var(--font-display); font-weight: 700; font-size: 24px; color: #fff; letter-spacing: -0.01em; }
@media (max-width: 640px){ .hero-copy .hero-appicon { width: 96px; height: 96px; border-radius: 24px; } .hero-applock { gap: 14px; } .hero-trust .f-app { padding: 9px 12px; font-size: 13px; } 

}
.hero-trust .f-app { display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 9px 13px; border: 1px solid rgba(255,255,255,0.22); border-radius: 10px; font-size: 11.5px; font-weight: 600; color: #fff; background: rgba(255,255,255,0.10); backdrop-filter: blur(6px); transition: border-color .2s ease, background .2s ease; }
.hero-trust .f-app:hover { border-color: var(--teal-300); background: rgba(255,255,255,0.16); }
.hero-trust .f-app svg { width: 14px; height: 14px; }

/* Utility classes extracted from markup */
svg.ic { width: 1em; height: 1em; flex: 0 0 auto; }
.nav-toggle svg.ic { width: 26px; height: 26px; }
.fq-ico svg.ic { width: 18px; height: 18px; }
.app-h { font-size: 19px; }
.app-sub { margin-top: 6px; }
.gap-14 { gap: 14px; }
.faq-cta { text-align: center; margin-top: 46px; }
.f-legal-links { display: flex; gap: 18px; flex-wrap: wrap; }
.sw { }
.sw-blue { background: linear-gradient(135deg,#0076BA,#0057D9); }
.sw-teal { background: linear-gradient(135deg,#05A89D,#04988E); }
.sw-cyan { background: linear-gradient(135deg,#00C8FF,#0076BA); }

/* ── Narrow phones (incl. Galaxy Z Fold, 280px) ─────────────── */
@media (max-width: 420px) {
  .wrap { padding-inline: 16px; }
  .hero { min-height: auto; padding-top: calc(var(--nav-h) + 24px); padding-bottom: 130px; }
  .hero-copy h1 { font-size: clamp(30px, 11vw, 44px); }
  .hero-copy p.lede { font-size: 16px; }
  .hero-applock { flex-direction: column; align-items: flex-start; gap: 12px; }
  .hero-copy .hero-appicon { width: 72px; height: 72px; border-radius: 18px; }
  .hero-appname { font-size: 20px; }
  .hero-trust { width: 100%; }
  .hero-trust .f-app { flex: 1 1 auto; }
  .hero-shot { width: min(100%, 240px); }
  .uc-grid { grid-template-columns: 1fr; }
  .sec { padding: 56px 0; }
  .sec-head h2 { font-size: clamp(24px, 8vw, 32px); }
  .scene h2.big { font-size: clamp(28px, 10vw, 40px); }
  .faq-q { font-size: 15px; }
  .footer .f-top { grid-template-columns: 1fr; }
}
@media (max-width: 330px) {
  .wrap { padding-inline: 12px; }
  .hero-copy h1 { font-size: 28px; }
  .hero-copy .hero-appicon { width: 60px; height: 60px; border-radius: 15px; }
  .hero-appname { font-size: 18px; }
  .hero-trust { flex-direction: column; }
  .hero-trust .f-app { width: 100%; }
  .hero-shot { width: 100%; }
  .btn-lg { padding: 13px 18px; font-size: 15px; }
  .sec-how .show-stage .iphone { width: 100%; max-width: 210px; }
}
/* Overflow + fluid guards */
html, body { max-width: 100%; overflow-x: hidden; }
img, svg { max-width: 100%; }
.wrap, .show, .why-grid, .uc-grid, .footer .f-top { min-width: 0; }
.show > *, .why-item, .uc, .req-card, .faq-item { min-width: 0; }

/* Hero background cross-fade */
.bg-cycle { opacity: 0; transition: opacity 1.2s ease; }
.bg-cycle.on { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .bg-cycle { transition: none; } }

/* Hero: smaller overscan so wide photos are not over-scaled (parallax is clamped in JS) */
.hero .bgwrap img { inset: -16% 0; height: 132%; }
.hero .bg-cycle { object-position: 50% 30%; }

/* Footer store buttons: keep label on one line at narrow widths */
.footer .f-apps { flex-wrap: wrap; }
.footer .f-app { white-space: nowrap; flex: 0 0 auto; }
@media (max-width: 420px) {
  .footer .f-apps { flex-direction: column; align-items: stretch; }
  .footer .f-app { justify-content: center; }
}

/* Step-1 in-app store buttons: equal width, defined border */
.app-stores { flex-direction: column; align-items: center; width: min(100%, 132px); margin: 16px auto 0; }
.app-store-btn { width: 100%; border-color: var(--ink); border-width: 1.5px; display: flex; align-items: center; justify-content: center; }

.app-scan-screen .app-sub { font-size: 0.8em; }

/* Hero frame 3: direct switch, no crossfade; frame 4 fades in faster */
.hs-img.hs-snap.on { transition: none; }
.hs-img.hs-fast.on { transition: opacity .45s ease; }

/* Dark backdrop so any crossfade overlap never reveals the shot gradient */
.hs-stack { background: #071322; border-radius: 11.5% / 5.6%; overflow: hidden; }
/* Frame 6 (complete) eases in more slowly */
.hs-img.hs-slow.on { transition: opacity 1.6s ease; }
