/* ============================================================
   Skilling.Exchange — Design System
   Palette sourced from the app UI + favicon gradient
   ============================================================ */

:root {
  /* Brand — favicon gradient (teal → blue) */
  --teal:      #10B6B6;
  --cyan:      #1690D3;
  --blue:      #1672DE;
  --blue-deep: #1661E3;

  /* App header / primary (indigo → violet) */
  --indigo:    #4F46E5;
  --indigo-2:  #5557FC;
  --violet:    #815FFE;
  --primary:   #4F46E5;
  --primary-press: #4338CA;

  /* Neutrals — pulled from app surfaces */
  --ink:       #0F1729;   /* near-black headings (app uses ~#0F1729) */
  --ink-soft:  #3A4257;
  --muted:     #6B7280;
  --line:      #E7E9F0;
  --surface:   #FFFFFF;
  --bg:        #F4F6F9;    /* app scaffold grey */
  --bg-2:      #EEF1F7;

  /* Status (from app chips) */
  --ok:        #16A34A;
  --ok-bg:     #E7F6EC;
  --warn:      #C2751A;
  --warn-bg:   #FBEEDD;

  /* Gradients */
  --grad-brand: linear-gradient(135deg, var(--teal) 0%, var(--cyan) 52%, var(--blue-deep) 100%);
  --grad-header: linear-gradient(120deg, #5557FC 0%, #6D5BFE 50%, #815FFE 100%);
  --grad-text: linear-gradient(100deg, var(--teal), var(--cyan) 45%, var(--indigo));

  /* Type */
  --sans: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  /* Space + radius */
  --r-sm: 10px; --r: 16px; --r-lg: 24px; --r-xl: 32px;
  --shadow-sm: 0 1px 2px rgba(16,24,40,.06), 0 1px 3px rgba(16,24,40,.05);
  --shadow: 0 10px 30px -12px rgba(30,41,89,.22);
  --shadow-lg: 0 30px 60px -20px rgba(30,41,89,.28);

  --maxw: 1200px;
  --nav-h: 68px;
}

/* ---------- Reset ---------- */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; font-size: clamp(15px, 14px + 0.28vw, 16px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid rgba(79,70,229,.55); outline-offset: 2px; border-radius: 6px; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(20px, 5vw, 48px); }
.section { padding-block: clamp(56px, 9vw, 120px); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .82rem; font-weight: 700; letter-spacing: .01em;
  color: var(--indigo); background: rgba(79,70,229,.09);
  padding: 6px 14px; border-radius: 999px;
}
/* eyebrow always starts its own line above the heading (pill still hugs its text) */
.hero-copy .eyebrow,
.sec-head .eyebrow,
.split-copy .eyebrow { margin-bottom: 18px; }
.hero-copy .eyebrow { margin-bottom: 22px; }
.eyebrow + h1,
.eyebrow + h2 { clear: both; }
/* force the pill onto its own row by making its wrapper break */
.hero-copy > .eyebrow,
.sec-head > .eyebrow,
.split-copy > .eyebrow { display: inline-flex; }
.hero-copy, .sec-head, .split-copy { display: flex; flex-direction: column; align-items: flex-start; }
.sec-head.center { align-items: center; }

/* ---------- Type scale ---------- */
h1,h2,h3 { line-height: 1.12; letter-spacing: -.02em; font-weight: 800; color: var(--ink); }
h1 { font-size: clamp(2.3rem, 6.2vw, 4.1rem); }
h2 { font-size: clamp(1.8rem, 4.2vw, 2.9rem); }
h3 { font-size: clamp(1.15rem, 2.4vw, 1.45rem); font-weight: 700; }
.lead { font-size: clamp(1.02rem, 1.7vw, 1.22rem); color: var(--ink-soft); max-width: 58ch; }
.gradient-text {
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  background-size: 220% 100%;
  animation: hue 8s ease-in-out infinite;
}
@keyframes hue { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: inherit; font-weight: 700; font-size: 1rem;
  padding: 14px 26px; border-radius: 999px; border: 0; cursor: pointer;
  transition: transform .18s cubic-bezier(.34,1.56,.64,1), box-shadow .2s, background .2s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { color: #fff; background: var(--primary); box-shadow: 0 12px 24px -10px rgba(79,70,229,.7); }
.btn-primary:hover { background: var(--primary-press); transform: translateY(-2px); box-shadow: 0 18px 30px -12px rgba(79,70,229,.75); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost { color: var(--ink); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { border-color: #c9cdda; transform: translateY(-2px); }
.btn-lg { padding: 17px 32px; font-size: 1.06rem; }
.btn-block { width: 100%; }

/* ============================================================
   NAV — colour-shifting header
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 60;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: rgba(255,255,255,.72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s, box-shadow .3s;
}
.nav.scrolled { background: rgba(255,255,255,.9); border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(30,41,89,.5); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; font-size: 1.12rem; letter-spacing: -.02em; }
.brand .dot { color: var(--cyan); }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  font-weight: 600; font-size: .95rem; color: var(--ink-soft);
  padding: 9px 14px; border-radius: 10px; transition: color .18s, background .18s;
}
.nav-links a:hover { color: var(--ink); background: rgba(79,70,229,.07); }
.nav-links a.btn-primary { color: #fff; }
.nav-links a.btn-primary:hover { color: #fff; background: var(--primary-press); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2.5px; background: var(--ink); border-radius: 3px; transition: .3s; }
.nav-toggle span + span { margin-top: 5px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1){ transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2){ opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3){ transform: translateY(-7.5px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; overflow: clip; padding-top: clamp(48px, 8vw, 96px); padding-bottom: clamp(56px, 8vw, 110px); }
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; will-change: transform; }
.blob.b1 { width: 520px; height: 520px; background: radial-gradient(circle at 30% 30%, var(--teal), transparent 70%); top: -180px; left: -120px; animation: float1 16s ease-in-out infinite; }
.blob.b2 { width: 560px; height: 560px; background: radial-gradient(circle at 40% 40%, var(--violet), transparent 70%); top: -140px; right: -160px; animation: float2 19s ease-in-out infinite; }
.blob.b3 { width: 440px; height: 440px; background: radial-gradient(circle at 50% 50%, var(--blue), transparent 70%); bottom: -220px; left: 30%; animation: float1 22s ease-in-out infinite reverse; }
@keyframes float1 { 0%,100%{ transform: translate(0,0) scale(1);} 50%{ transform: translate(40px,30px) scale(1.08);} }
@keyframes float2 { 0%,100%{ transform: translate(0,0) scale(1);} 50%{ transform: translate(-36px,24px) scale(1.06);} }

.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 { margin: 18px 0 20px; }
.hero .lead { margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.hero-stats { display: flex; gap: clamp(20px, 4vw, 44px); flex-wrap: wrap; }
.stat .n { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 800; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat .l { font-size: .85rem; color: var(--muted); font-weight: 600; }

/* Hero phone mock */
.hero-visual { position: relative; display: flex; justify-content: center; }
.phone {
  position: relative; width: min(300px, 78vw); aspect-ratio: 300/620;
  background: #fff; border-radius: 42px; padding: 12px;
  box-shadow: var(--shadow-lg), 0 0 0 2px rgba(15,23,41,.06);
  animation: rise 1s cubic-bezier(.16,1,.3,1) both;
}
@keyframes rise { from { opacity:0; transform: translateY(40px) rotate(-2deg);} to { opacity:1; transform: translateY(0) rotate(0);} }
.phone-screen { border-radius: 32px; overflow: hidden; height: 100%; background: var(--bg); display: flex; flex-direction: column; }
.phone-top { background: var(--grad-header); color: #fff; padding: 26px 18px 20px; }
.phone-top .hi { font-size: .8rem; opacity: .85; }
.phone-top .nm { font-weight: 800; font-size: 1.2rem; }
.phone-body { padding: 14px; display: grid; gap: 12px; }
.mini-card { background: #fff; border-radius: 16px; padding: 14px; box-shadow: var(--shadow-sm); }
.mini-card .big { font-size: 2rem; font-weight: 800; color: var(--indigo); line-height: 1; }
.mini-card .cap { font-size: .72rem; color: var(--muted); font-weight: 600; margin-top: 4px; }
.mini-row { display: flex; gap: 10px; }
.mini-row .mini-card { flex: 1; text-align: center; }
.chip-float {
  position: absolute; background: #fff; border-radius: 14px; padding: 10px 14px;
  box-shadow: var(--shadow); font-size: .8rem; font-weight: 700; display: flex; align-items: center; gap: 8px;
  animation: bob 4s ease-in-out infinite;
}
.chip-float .badge { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; color: #fff; font-size: .8rem; background: var(--grad-brand); }
.chip-float.c1 { top: 8%; left: -6%; }
.chip-float.c2 { bottom: 12%; right: -8%; animation-delay: 1.2s; }
@keyframes bob { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-9px);} }

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust { border-block: 1px solid var(--line); background: #fff; }
.trust .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-block: 22px; }
.trust p { font-size: .82rem; font-weight: 700; letter-spacing: .04em; text-transform: none; color: var(--muted); }
.trust-nums { display: flex; gap: clamp(22px,5vw,56px); flex-wrap: wrap; }
.trust-nums div { font-weight: 700; color: var(--ink-soft); font-size: .95rem; }
.trust-nums b { color: var(--indigo); }

/* ============================================================
   FEATURES
   ============================================================ */
.sec-head { max-width: 62ch; margin-bottom: clamp(36px, 5vw, 56px); }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head h2 { margin: 14px 0 14px; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 28px; box-shadow: var(--shadow-sm);
  transition: transform .25s cubic-bezier(.16,1,.3,1), box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #dfe2ee; }
.card .ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px; color: #fff; background: var(--grad-brand); }
.card.v .ico { background: var(--grad-header); }
.card .ico svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--ink-soft); font-size: .98rem; }

/* ============================================================
   HOW IT WORKS  (real sequence -> numbered)
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; counter-reset: s; }
.step { position: relative; padding: 30px 26px; background: #fff; border-radius: var(--r-lg); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.step .num {
  counter-increment: s; content: counter(s);
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  font-weight: 800; color: #fff; background: var(--grad-header); margin-bottom: 16px; font-size: 1.1rem;
}
.step .num::before { content: counter(s); }
.step h3 { margin-bottom: 8px; }
.step p { color: var(--ink-soft); font-size: .96rem; }

/* ============================================================
   SHOWCASE (split)
   ============================================================ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px,5vw,72px); align-items: center; }
.split.rev .split-media { order: 2; }
.split-list { display: grid; gap: 18px; margin-top: 24px; }
.split-list li { list-style: none; display: flex; gap: 14px; }
.split-list .tick { flex: none; width: 26px; height: 26px; border-radius: 8px; background: var(--ok-bg); color: var(--ok); display: grid; place-items: center; }
.split-list .tick svg { width: 15px; height: 15px; }
.split-list b { display: block; }
.split-list span { color: var(--ink-soft); font-size: .95rem; }
.panel {
  background: var(--grad-header); border-radius: var(--r-xl); padding: 34px;
  color: #fff; box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.panel::after { content:""; position: absolute; width: 300px; height: 300px; border-radius: 50%; background: rgba(255,255,255,.12); top: -120px; right: -80px; }
.panel .rec-n { font-size: clamp(3rem,8vw,4.6rem); font-weight: 800; line-height: 1; }
.panel .rec-l { font-size: 1.05rem; opacity: .92; margin-bottom: 22px; }
.panel .rec-sub { font-size: .92rem; opacity: .82; }
.panel .avatars { display: flex; margin-top: 22px; }
.panel .avatars span { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: .8rem; color: var(--indigo); background: #fff; border: 2px solid rgba(255,255,255,.6); margin-left: -10px; }
.panel .avatars span:first-child { margin-left: 0; }

/* ============================================================
   CTA band
   ============================================================ */
.cta-band { position: relative; overflow: hidden; background: var(--grad-header); color: #fff; border-radius: var(--r-xl); padding: clamp(40px,7vw,72px); text-align: center; }
.cta-band::before { content:""; position:absolute; inset:0; background: radial-gradient(circle at 20% 20%, rgba(16,182,182,.4), transparent 45%), radial-gradient(circle at 85% 70%, rgba(129,95,254,.5), transparent 45%); }
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; }
.cta-band p { max-width: 52ch; margin: 14px auto 30px; opacity: .93; font-size: 1.08rem; }
.cta-band .btn-primary { background: #fff; color: var(--indigo); box-shadow: 0 14px 30px -12px rgba(0,0,0,.4); }
.cta-band .btn-primary:hover { background: #f2f2ff; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--ink); color: #cdd3e2; padding-block: clamp(48px,7vw,72px) 32px; }
.footer a { color: #cdd3e2; transition: color .18s; }
.footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer .brand { color: #fff; margin-bottom: 14px; }
.footer .about { font-size: .95rem; max-width: 34ch; color: #9aa3ba; }
.footer h4 { color: #fff; font-size: .82rem; letter-spacing: .06em; margin-bottom: 16px; text-transform: uppercase; }
.footer ul { list-style: none; display: grid; gap: 11px; }
.footer ul a { font-size: .95rem; }
.footer-bottom { border-top: 1px solid #232a3d; margin-top: 44px; padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; font-size: .86rem; color: #8b93a8; }

/* ============================================================
   LEGAL / CONTENT PAGES
   ============================================================ */
.doc { background: #fff; }
.doc-hero { background: var(--grad-header); color: #fff; padding-block: clamp(48px,8vw,88px); }
.doc-hero .eyebrow { background: rgba(255,255,255,.16); color: #fff; }
.doc-hero h1 { color: #fff; margin-top: 14px; font-size: clamp(2rem,5vw,3rem); }
.doc-hero p { opacity: .9; margin-top: 10px; }
.doc-body { padding-block: clamp(40px,6vw,72px); }
.doc-body .wrap { max-width: 820px; }
.doc-body h2 { font-size: clamp(1.3rem,3vw,1.7rem); margin: 40px 0 12px; }
.doc-body h2:first-child { margin-top: 0; }
.doc-body h3 { margin: 24px 0 8px; }
.doc-body p, .doc-body li { color: var(--ink-soft); font-size: 1.02rem; margin-bottom: 14px; }
.doc-body ul, .doc-body ol { padding-left: 22px; margin-bottom: 14px; }
.doc-body li { margin-bottom: 8px; }
.doc-body a { color: var(--indigo); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.toc { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 26px; margin-bottom: 36px; }
.toc h4 { font-size: .8rem; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.toc ul { list-style: none; display: grid; gap: 8px; padding: 0; }
.toc a { color: var(--indigo); font-weight: 600; }

/* redirect page */
.redirect { min-height: 100dvh; display: grid; place-items: center; background: var(--grad-header); color: #fff; text-align: center; padding: 24px; }
.redirect .spin { width: 54px; height: 54px; border: 4px solid rgba(255,255,255,.3); border-top-color: #fff; border-radius: 50%; margin: 0 auto 24px; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.redirect h1 { color: #fff; font-size: clamp(1.6rem,4vw,2.3rem); }
.redirect p { opacity: .9; margin-top: 10px; }
.redirect a { color: #fff; font-weight: 700; text-decoration: underline; }

/* ============================================================
   REVEAL on scroll
   ============================================================ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.16,1,.3,1); }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE — every breakpoint tuned
   ============================================================ */

/* Large tablets / small laptops */
@media (max-width: 1024px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

/* Tablets — collapse nav, stack hero */
@media (max-width: 860px) {
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: block; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; align-items: stretch; gap: 4px;
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 14px clamp(20px,5vw,48px) 22px; box-shadow: var(--shadow);
  }
  .nav.open .nav-links a { padding: 12px 14px; color: var(--ink-soft); }
  .nav.open .nav-links .btn { margin-top: 8px; color: #fff; }
  /* keep dropdown readable even when header is in scrolled/gradient state */
  .nav.scrolled.open .nav-links a { color: var(--ink-soft); }
  .nav.scrolled.open .nav-links .btn-primary { color: #fff; background: var(--primary); }

  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero .lead { margin-inline: auto; }
  .hero-actions, .hero-stats { justify-content: center; }
  .hero-visual { order: -1; margin-bottom: 8px; }

  .split { grid-template-columns: 1fr; }
  .split.rev .split-media { order: -1; }
  .split-list { text-align: left; max-width: 520px; margin-inline: auto; }
}

/* Phones */
@media (max-width: 560px) {
  :root { --nav-h: 60px; }
  .features { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .trust .wrap { justify-content: center; text-align: center; }
  .hero-actions .btn { width: 100%; }
  .card, .step { padding: 22px; }
  .chip-float { display: none; }
  .footer-bottom { justify-content: center; text-align: center; }
}

/* Small phones (iPhone SE etc.) */
@media (max-width: 360px) {
  .wrap { padding-inline: 16px; }
  h1 { font-size: 2.05rem; }
  .brand span.txt { font-size: 1rem; }
}

/* Ultra-wide */
@media (min-width: 1600px) {
  :root { --maxw: 1320px; }
}

/* --- refinements --- */
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; text-underline-offset: 3px; }
details summary::-webkit-details-marker { display: none; }
details > summary { position: relative; padding-right: 28px; }
details > summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 1.3rem; color: var(--muted); transition: transform .2s; }
details[open] > summary::after { content: "−"; }

/* ============================================================
   ENHANCEMENTS — heading anim, glassmorphism, moving border,
   cursor smoke, story hero
   ============================================================ */

/* ---- Heading reveal: words rise + blur-in ---- */
.h-anim { display: inline; }
.h-anim .word { display: inline-flex; overflow: hidden; vertical-align: top; padding: 0.08em 0.02em; margin: -0.08em -0.02em; }
.h-anim .word > * {
  display: inline-block;
  transform: translateY(110%);
  opacity: 0;
  animation: wordUp .85s cubic-bezier(.16,1,.3,1) forwards;
}
@keyframes wordUp { to { transform: none; opacity: 1; filter: blur(0); } }
@media (prefers-reduced-motion: reduce) {
  .h-anim .word > span { animation: none; transform: none; opacity: 1; filter: none; }
}

/* ---- Glassmorphism + clockwise moving light border ---- */
.glass {
  position: relative;
  background: rgba(255,255,255,.55);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid rgba(255,255,255,.6);
  border-radius: var(--r-lg);
  box-shadow: 0 8px 32px -12px rgba(30,41,89,.18), inset 0 1px 0 rgba(255,255,255,.5);
}
/* the animated conic light that travels the border */
.glow-border { position: relative; border-radius: var(--r-lg); isolation: isolate; }
.glow-border::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  padding: 1.5px; /* border thickness */
  background: conic-gradient(from var(--angle, 0deg),
    transparent 0deg,
    rgba(16,182,182,.15) 40deg,
    var(--teal) 70deg,
    var(--cyan) 90deg,
    var(--indigo) 110deg,
    transparent 150deg,
    transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask-composite: exclude;
  animation: spinAngle 6s linear infinite;
  animation-play-state: paused;
  opacity: 0;
  transition: opacity .4s;
  z-index: 2; pointer-events: none;
}
.glow-border.lit::before { opacity: 1; animation-play-state: running; }
@property --angle { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@keyframes spinAngle { to { --angle: 360deg; } }
@media (prefers-reduced-motion: reduce) {
  .glow-border::before { animation: none; }
}

/* apply glass to feature cards + steps + panels without breaking existing look */
.features .card, .steps .step {
  background: rgba(255,255,255,.6);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  border: 1px solid rgba(255,255,255,.55);
}

/* ---- Cursor smoke trail canvas ---- */
#smoke {
  position: fixed; inset: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 5; opacity: .9;
}
@media (hover: none), (prefers-reduced-motion: reduce) {
  #smoke { display: none; }
}

/* ============================================================
   STORY HERO — illustrated scene
   ============================================================ */
.hero-scene {
  position: relative;
  width: min(460px, 92vw);
  aspect-ratio: 1 / 1.02;
  margin-inline: auto;
}
.hero-scene svg { width: 100%; height: 100%; overflow: visible; }

/* floating skill cards over the scene */
.scene-card {
  position: absolute;
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 14px;
  padding: 10px 13px;
  box-shadow: 0 12px 30px -14px rgba(30,41,89,.35);
  display: flex; align-items: center; gap: 9px;
  font-size: .82rem; font-weight: 700; color: var(--ink);
  animation: sceneBob 5s ease-in-out infinite;
}
.scene-card .sc-ico { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; color: #fff; flex: none; }
.scene-card .sc-sub { font-size: .68rem; font-weight: 600; color: var(--muted); }
.scene-card.sc1 { top: 6%; left: -4%; animation-delay: 0s; }
.scene-card.sc1 .sc-ico { background: var(--grad-brand); }
.scene-card.sc2 { top: 40%; right: -8%; animation-delay: 1.1s; }
.scene-card.sc2 .sc-ico { background: var(--grad-header); }
.scene-card.sc3 { bottom: 8%; left: 2%; animation-delay: 2.1s; }
.scene-card.sc3 .sc-ico { background: linear-gradient(135deg,var(--ok),#0f9d63); }
@keyframes sceneBob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .scene-card { animation: none; } }

/* progress ring dash animation inside svg handled via CSS */
.ring-track { stroke: rgba(79,70,229,.12); }
.ring-fill {
  stroke: url(#ringGrad);
  stroke-linecap: round;
  stroke-dasharray: 264;
  stroke-dashoffset: 264;
  animation: ringFill 2.4s cubic-bezier(.16,1,.3,1) .5s forwards;
}
@keyframes ringFill { to { stroke-dashoffset: 66; } }
.pulse-dot { animation: pulse 2.5s ease-in-out infinite; transform-origin: center; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
.spark { animation: sparkle 3s ease-in-out infinite; transform-origin: center; }
@keyframes sparkle { 0%,100% { opacity: .4; transform: scale(.9); } 50% { opacity: 1; transform: scale(1.15); } }
@media (prefers-reduced-motion: reduce) {
  .ring-fill { animation: none; stroke-dashoffset: 66; }
  .pulse-dot, .spark { animation: none; }
}

@media (max-width: 560px) {
  .scene-card { font-size: .74rem; padding: 8px 10px; }
  .scene-card.sc1 { left: 0; }
  .scene-card.sc2 { right: -2%; }
}

/* ============================================================
   V2 — real-device frames + iExchange-style sections
   ============================================================ */

/* Phone device frame wrapping real screenshots */
.device {
  position: relative;
  width: min(300px, 80vw);
  border-radius: 44px;
  background: #0F1729;
  padding: 10px;
  box-shadow: var(--shadow-lg), 0 0 0 2px rgba(15,23,41,.9), inset 0 0 0 2px rgba(255,255,255,.06);
  overflow: hidden;
}
.device.sm { width: min(280px, 78vw); border-radius: 40px; }
.device-shot {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 34px;
  background: var(--bg);
}
.device.sm .device-shot { border-radius: 30px; }
.device-notch {
  position: absolute;
  top: 10px; left: 50%; transform: translateX(-50%);
  width: 42%; height: 26px;
  background: #0F1729;
  border-radius: 0 0 16px 16px;
  z-index: 3;
}

/* hero visual + float chips now sit over device */
.hero-visual { position: relative; display: flex; justify-content: center; }
.device { animation: rise 1s cubic-bezier(.16,1,.3,1) both; }

/* Align rows: alternating feature blocks */
.align-row { margin-top: clamp(48px, 7vw, 84px); align-items: center; }
.align-row:first-of-type { margin-top: clamp(32px,4vw,48px); }
.align-row .split-media { display: flex; justify-content: center; }
.step-tag {
  display: inline-block; font-size: 1rem; font-weight: 800;
  color: #fff; background: var(--grad-header);
  width: 46px; height: 46px; line-height: 46px; text-align: center;
  border-radius: 13px; margin-bottom: 18px;
  box-shadow: 0 10px 22px -10px rgba(79,70,229,.6);
}
.align-row .split-copy h3 { font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: 12px; }

/* Why grid — asymmetric benefit cards */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.why-card {
  background: rgba(255,255,255,.6);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  border: 1px solid rgba(255,255,255,.55);
  border-radius: var(--r-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s cubic-bezier(.16,1,.3,1), box-shadow .25s;
}
.why-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.why-card.wide { grid-column: 1 / -1; }
.why-n {
  font-size: clamp(2rem, 4.5vw, 2.8rem); font-weight: 800; line-height: 1;
  background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 12px;
}
.why-card h3 { margin-bottom: 8px; }
.why-card p { color: var(--ink-soft); font-size: .98rem; }

/* Device pair (sign in + create, fanned out) */
.device-pair { position: relative; display: flex; justify-content: center; align-items: flex-start; min-height: 560px; }
.device-pair .device { position: absolute; width: min(230px, 60vw); }
.device-pair .back  { transform: translate(-88px, 40px) rotate(-8deg); z-index: 1; }
.device-pair .front { transform: translate(78px, 8px) rotate(6deg); z-index: 2; }

@media (max-width: 860px) {
  .align-row.rev .split-media { order: -1; }
  .device-pair { min-height: 500px; }
  .why-grid { grid-template-columns: 1fr; }
  .why-card.wide { grid-column: auto; }
}
@media (max-width: 560px) {
  .device-pair { min-height: 470px; }
  .device-pair .device { width: min(180px, 52vw); }
  .device-pair .back  { transform: translate(-58px, 30px) rotate(-8deg); }
  .device-pair .front { transform: translate(52px, 6px) rotate(6deg); }
  .step-tag { width: 42px; height: 42px; line-height: 42px; }
}


/* single tilted device for onboarding section */
.device.tilt { transform: rotate(4deg); transition: transform .4s; }
.device.tilt:hover { transform: rotate(0deg); }
@media (max-width:860px){ .device.tilt{ transform:none; } }

/* ============================================================
   V3 — Timeline "how it works" + app-store band + typewriter
   ============================================================ */

/* ---- Timeline section ---- */
.timeline-section { position: relative; overflow: clip; background: linear-gradient(180deg, #F7F8FC 0%, #EEF0FA 100%); }
.tl-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.tl-blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .28; }
.tl-blob.t1 { width: 460px; height: 460px; background: radial-gradient(circle,var(--teal),transparent 70%); top: 4%; left: -8%; }
.tl-blob.t2 { width: 520px; height: 520px; background: radial-gradient(circle,var(--violet),transparent 70%); bottom: 2%; right: -10%; }
.timeline-section .wrap { position: relative; z-index: 1; }

.timeline { position: relative; margin-top: clamp(40px,6vw,64px); }
/* center spine */
.tl-line {
  position: absolute; left: 50%; top: 0; bottom: 0; width: 3px; transform: translateX(-50%);
  background: rgba(79,70,229,.15); border-radius: 3px; overflow: hidden;
}
.tl-progress { position: absolute; inset: 0 0 auto 0; height: 0; background: var(--grad-brand); transition: height .1s linear; }

.tl-step {
  position: relative;
  display: grid; grid-template-columns: 1fr 96px 1fr; align-items: center;
  margin-bottom: clamp(40px,6vw,72px);
}
.tl-step:last-child { margin-bottom: 0; }
/* dot on the spine */
.tl-dot {
  grid-column: 2; justify-self: center;
  width: 56px; height: 56px; border-radius: 50%;
  background: #fff; border: 3px solid rgba(79,70,229,.2);
  display: grid; place-items: center; z-index: 2;
  box-shadow: 0 8px 22px -8px rgba(79,70,229,.4);
  transition: border-color .4s, transform .4s;
}
.tl-dot b {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--grad-header); color: #fff;
  display: grid; place-items: center; font-size: 1rem; font-weight: 800;
}
.tl-step.in .tl-dot { border-color: rgba(79,70,229,.5); transform: scale(1.06); }

/* alternate sides: odd -> media left / copy right ; even -> swap */
/* zig-zag: .tl-left = media left / copy right ; .tl-right = copy left / media right */
.tl-left  .tl-media { grid-column: 1; justify-content: flex-end; order: 0; }
.tl-left  .tl-copy  { grid-column: 3; order: 2; text-align: left; }
.tl-right .tl-media { grid-column: 3; justify-content: flex-start; order: 2; }
.tl-right .tl-copy  { grid-column: 1; order: 0; text-align: right; }
.tl-copy  { padding: 8px 4px; }
/* (nth-child counts .tl-line as 1, so step1=child2(odd->media col1), step2=child3... we handle via explicit below) */

.tl-kicker { display: inline-block; font-size: .8rem; font-weight: 800; letter-spacing: .04em; color: var(--indigo); text-transform: uppercase; margin-bottom: 8px; }
.tl-copy h3 { font-size: clamp(1.3rem,2.6vw,1.8rem); margin-bottom: 10px; }
.tl-copy p { color: var(--ink-soft); font-size: 1rem; max-width: 46ch; }
.tl-right .tl-copy p { margin-left: auto; }

.tl-media .device { animation: none; }

/* ---- App-store band (brand colours) ---- */
.store-band {
  position: relative; overflow: hidden;
  background: linear-gradient(125deg, var(--indigo) 0%, #5A54F0 45%, var(--violet) 100%);
  color: #fff; text-align: center;
  padding-block: clamp(56px,9vw,110px);
}
/* Atlan-style spotlight: bright light pooling from the top-center */
.store-band::before {
  content: ""; position: absolute; left: 50%; top: -14%;
  width: min(1100px, 92%); height: 78%;
  transform: translateX(-50%);
  background:
    radial-gradient(60% 72% at 50% 0%, rgba(255,255,255,.42), rgba(255,255,255,.14) 34%, transparent 66%);
  z-index: 0; pointer-events: none;
  animation: spotbreathe 7s ease-in-out infinite;
}
@keyframes spotbreathe { 0%,100% { opacity:.82; } 50% { opacity:1; } }
.store-shapes { position: absolute; inset: 0; pointer-events: none; }
.store-shapes .sh { position: absolute; opacity: .5; }
.store-shapes .sh1 { width: 220px; height: 220px; border-radius: 30px; background: rgba(255,255,255,.08); transform: rotate(28deg); top: -60px; right: 8%; }
.store-shapes .sh2 { width: 160px; height: 160px; border: 26px solid rgba(255,255,255,.09); border-radius: 50%; bottom: -70px; left: 2%; }
.store-shapes .sh3 { width: 14px; height: 14px; border-radius: 50%; background: #FF7A59; top: 62%; right: 18%; }
.store-inner { position: relative; z-index: 1; }
.store-band h2 { color: #fff; font-size: clamp(1.9rem,4.6vw,3.1rem); max-width: 20ch; margin-inline: auto; }
.store-band p { opacity: .92; font-size: clamp(1rem,1.8vw,1.2rem); margin: 16px auto 32px; max-width: 44ch; }
.store-badges { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.store-badge { display: inline-block; border-radius: 10px; transition: transform .18s; }
.store-badge:hover { transform: translateY(-3px); }
.store-badge img { height: 52px; width: auto; }
.store-web { display: inline-block; margin-top: 24px; color: #fff; font-weight: 700; opacity: .9; border-bottom: 1px solid rgba(255,255,255,.4); padding-bottom: 2px; }
.store-web:hover { opacity: 1; }

/* ---- Typewriter hero ---- */
.type-wrap { display: inline; }
.type-cursor {
  display: inline-block; width: 3px; height: 1em; margin-left: 4px;
  background: var(--cyan); vertical-align: -0.12em; border-radius: 2px;
  animation: caret 1s step-end infinite;
}
@keyframes caret { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .type-cursor { display: none; } }

/* ============================================================
   RESPONSIVE — timeline collapses to single column w/ left spine
   ============================================================ */
@media (max-width: 860px) {
  .tl-line { left: 27px; transform: none; }
  .tl-step {
    grid-template-columns: 54px 1fr;
    gap: 18px 20px;
    align-items: start;
  }
  .tl-dot { grid-column: 1; justify-self: center; width: 50px; height: 50px; }
  .tl-left .tl-media, .tl-left .tl-copy,
  .tl-right .tl-media, .tl-right .tl-copy {
    grid-column: 2; justify-self: start; text-align: left; order: 0;
  }
  .tl-left .tl-media, .tl-right .tl-media { justify-content: flex-start; margin-bottom: 8px; }
  .tl-left .tl-copy, .tl-right .tl-copy { order: 2; }
  .tl-right .tl-copy p { margin-left: 0; }
  .tl-copy p { max-width: none; }
  .tl-media .device.sm { width: min(240px, 66vw); }
}

@media (max-width: 560px) {
  .tl-step { grid-template-columns: 42px 1fr; gap: 14px 14px; }
  .tl-line { left: 21px; }
  .tl-dot { width: 42px; height: 42px; }
  .tl-dot b { width: 26px; height: 26px; font-size: .85rem; }
  .tl-media .device.sm { width: min(210px, 62vw); }
  .store-badges { gap: 12px; }
  .store-badge img { height: 46px; }
}

/* ============================================================
   V4 — new logo, scroll-colour header, hero cards, 4 counters,
   +5px subtitles, device top fix
   ============================================================ */

/* Brand logo image in nav/footer */
.brand-logo { height: 40px; width: auto; display: block; }
.footer-logo { height: 38px; }
.nav .brand { gap: 0; }

/* ---- Colour-changing header on scroll ---- */
/* default (top): translucent white */
.nav { transition: background .35s ease, box-shadow .35s ease, border-color .35s ease; }
/* scrolled: brand gradient tint */
.nav.scrolled {
  background: linear-gradient(100deg, rgba(79,70,229,.94), rgba(109,95,246,.94) 55%, rgba(129,95,254,.94));
  border-bottom-color: transparent;
  box-shadow: 0 8px 30px -12px rgba(79,70,229,.5);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
}
/* when scrolled, nav links + toggle go white; primary btn becomes white-on-transparent */
.nav.scrolled .nav-links a { color: rgba(255,255,255,.92); }
.nav.scrolled .nav-links a:hover { color: #fff; background: rgba(255,255,255,.14); }
.nav.scrolled .nav-toggle span { background: #fff; }
.nav.scrolled .btn-primary { background: #fff; color: var(--indigo); }
.nav.scrolled .btn-primary:hover { background: #eef0ff; color: var(--indigo); }
/* swap logo to white-text version when scrolled */
/* logo stays the original; on the gradient state it gets a white pill backing */
.nav .brand-logo.on-dark { display: none; }
.nav .brand { padding: 6px 12px; border-radius: 999px; transition: background .35s ease; }
.nav.scrolled .brand { background: #fff; box-shadow: 0 6px 18px -8px rgba(20,20,60,.35); }

/* ---- +5px on all subtitles / leads / eyebrows ---- */
.lead { font-size: clamp(1.27rem, 1.9vw, 1.42rem); }         /* was ~1.02-1.22 */
.eyebrow { font-size: 1.02rem; }                              /* was .82 */
.trust p { font-size: 1.02rem; }                              /* trust strip */
.tl-copy p { font-size: 1.15rem; }
.why-card p { font-size: 1.13rem; }
.store-band p { font-size: clamp(1.15rem, 1.9vw, 1.35rem); }
.tl-kicker, .tl-copy .tl-kicker { font-size: .95rem; }
.footer .about { font-size: 1.05rem; }
.footer ul a { font-size: 1.05rem; }

/* ---- 4-counter grid (hero stats) ---- */
.hero-stats { display: grid; grid-template-columns: repeat(2, auto); gap: 22px 44px; }
@media (min-width: 1100px) { .hero-stats { grid-template-columns: repeat(4, auto); } }

/* ---- Hero floating cards (like reference) ---- */
.hero-visual { overflow: visible; }
.hcard {
  position: absolute; z-index: 4;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(10px) saturate(150%);
  -webkit-backdrop-filter: blur(10px) saturate(150%);
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 16px; padding: 12px 14px;
  box-shadow: 0 20px 44px -18px rgba(30,41,89,.4);
  font-size: .78rem; color: var(--ink);
  animation: bob 5s ease-in-out infinite;
}
.hcard .more { color: var(--indigo); font-weight: 700; }
.hcard-learn { top: 2%; left: -14%; width: 250px; animation-delay: 0s; }
.hcard-top { display: flex; align-items: center; gap: 6px; font-weight: 700; margin-bottom: 6px; }
.hcard-top .hc-ico.yt { color: #FF0000; font-size: .7rem; }
.hcard-top .hc-save { margin-left: auto; opacity: .4; }
.hcard-title { font-weight: 700; font-size: .82rem; line-height: 1.3; margin-bottom: 8px; }
.hcard-skills { display: flex; flex-wrap: wrap; gap: 5px; }
.hcard-skills span { background: #F1F2F7; border-radius: 7px; padding: 3px 8px; font-size: .68rem; font-weight: 600; }
.hcard-skills span.more { background: rgba(79,70,229,.1); }

.hcard-expert { top: 30%; right: -16%; width: 240px; animation-delay: 1.2s; }
.hcard-exp { font-weight: 800; margin-bottom: 8px; font-size: .82rem; }
.hcard-exp .stars { color: #F5B301; margin-left: 4px; letter-spacing: 1px; }
.hcard-skills.wrap2 span { font-size: .66rem; }

.hcard-fit { bottom: 4%; left: -12%; width: 262px; animation-delay: 2.1s; }
.hcard-fitrow { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.hcard-fitrow b { font-size: .9rem; }
.fit { font-size: .68rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
.fit-excellent { color: #16A34A; background: #E7F6EC; }
.hcard-sub { color: var(--muted); font-size: .72rem; margin-bottom: 8px; }
.hcard-match { font-size: .74rem; display: flex; align-items: center; gap: 6px; }
.hcard-match .mbar { width: 3px; height: 14px; background: #16A34A; border-radius: 2px; display: inline-block; }

/* device top fix: notch overlaps screenshot cleanly, add slight top inset colour */
.device-shot { margin-top: 0; }

/* ---- Responsive for hero cards + counters ---- */
@media (max-width: 1100px) {
  .hcard-learn { left: -6%; }
  .hcard-expert { right: -8%; }
  .hcard-fit { left: -4%; }
}
@media (max-width: 860px) {
  /* hide floating cards on tablet/mobile (device stays clean & centered) */
  .hcard { display: none; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); justify-items: start; }
}
@media (max-width: 380px) {
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 18px 20px; }
}

/* nav-mobile-cta: only visible inside the mobile dropdown */
.nav-mobile-cta { display: none; }
@media (max-width: 860px) {
  .nav.open .nav-links .nav-mobile-cta { display: inline-flex; }
}

/* ============================================================
   V5 — reference design language
   kickers, feature lists, store+QR CTA, numbers, pillars,
   connection chain, FAQ. Logo now uses PNG.
   ============================================================ */

/* Logo (real PNG with transparency) */
.brand-logo { height: 38px; width: auto; display: block; }
.footer-logo { height: 36px; }
@media (max-width: 560px) { .brand-logo { height: 30px; } }

/* ---- Kicker (caps eyebrow, reference style) ---- */
.kicker {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .84rem; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--indigo); margin-bottom: 22px;
  background: none; padding: 0;
}
.kicker svg { width: 19px; height: 19px; flex: none; }
.kicker.on-dark-kicker { color: rgba(255,255,255,.85); }

/* headline rhythm from reference */
h1, h2 { letter-spacing: -.03em; }
h2 { line-height: 1.1; }
.center-lead { margin-inline: auto; text-align: center; }

/* ---- Hero feature list ---- */
.feat-list { list-style: none; display: grid; gap: 22px; margin: 30px 0 34px; padding: 0; }
.feat-list li { display: flex; gap: 16px; align-items: flex-start; }
.feat-ico {
  flex: none; width: 46px; height: 46px; border-radius: 14px;
  background: #fff; border: 1px solid var(--line);
  display: grid; place-items: center; color: var(--indigo);
  box-shadow: 0 6px 18px -10px rgba(30,41,89,.28);
}
.feat-ico svg { width: 22px; height: 22px; }
.feat-list b { display: block; font-size: 1.14rem; font-weight: 800; letter-spacing: -.02em; margin-bottom: 3px; }
.feat-list span { display: block; color: var(--muted); font-size: 1.02rem; }

/* ---- Get the app: store badges + QR (hero) ---- */
.get-app {
  display: flex; align-items: center; gap: 28px; flex-wrap: wrap;
  padding-top: 8px;
}
.get-app-label {
  display: block; font-size: .78rem; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 12px;
}
.store-badges { display: flex; gap: 14px; flex-wrap: wrap; }
.store-badges.left { justify-content: flex-start; }
.get-app-qr {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding-left: 28px; border-left: 1px solid var(--line);
}
.get-app-qr img {
  width: 96px; height: 96px; border-radius: 12px;
  border: 1px solid var(--line); background: #fff; padding: 6px;
}
.get-app-qr span, .store-qr span {
  font-size: .74rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--muted);
}
.visual-note {
  text-align: center; margin-top: 22px;
  font-size: .74rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted);
}

/* ---- Hero floating cards (reference style: icon + title + sub) ---- */
.hcard {
  position: absolute; z-index: 4; display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px) saturate(150%);
  -webkit-backdrop-filter: blur(12px) saturate(150%);
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 18px; padding: 14px 18px;
  box-shadow: 0 22px 50px -20px rgba(30,41,89,.34);
  animation: bob 5.5s ease-in-out infinite;
}
.hcard .hc-ico {
  flex: none; width: 40px; height: 40px; border-radius: 12px;
  background: var(--grad-header); color: #fff; display: grid; place-items: center;
}
.hcard .hc-ico svg { width: 20px; height: 20px; }
.hcard b { display: block; font-size: 1rem; font-weight: 800; letter-spacing: -.02em; }
.hcard span { display: block; font-size: .85rem; color: var(--muted); }
.hcard-a { top: 22%; left: -22%; animation-delay: 0s; }
.hcard-b { bottom: 20%; right: -24%; animation-delay: 1.6s; }

/* ---- Numbers strip ---- */
.numbers { background: #fff; border-block: 1px solid var(--line); padding-block: clamp(40px,6vw,64px); }
.numbers-intro {
  text-align: center; color: var(--ink-soft); font-size: 1.1rem;
  margin-bottom: 34px; font-weight: 600;
}
.numbers-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 28px; text-align: center; }
.numbers-grid .n {
  font-size: clamp(2rem,3.6vw,2.9rem); font-weight: 800; line-height: 1;
  background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.numbers-grid .l { font-size: 1rem; color: var(--muted); font-weight: 600; margin-top: 8px; }

/* ---- Pillars (3 cards) ---- */
.teach-section { background: var(--bg); }
.pillars { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: clamp(36px,5vw,56px); }
.pillar {
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  border: 1px solid rgba(255,255,255,.7);
  border-radius: var(--r-lg); padding: 34px 30px;
  box-shadow: var(--shadow-sm);
  transition: transform .28s cubic-bezier(.16,1,.3,1), box-shadow .28s;
}
.pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.pillar-ico {
  width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center;
  background: var(--grad-brand); color: #fff; margin-bottom: 20px;
}
.pillar-ico svg { width: 26px; height: 26px; }
.pillar h3 { font-size: 1.34rem; margin-bottom: 10px; }
.pillar p { color: var(--ink-soft); font-size: 1.06rem; margin-bottom: 18px; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; }
.tags li {
  font-size: .82rem; font-weight: 700; color: var(--indigo);
  background: rgba(79,70,229,.09); padding: 5px 12px; border-radius: 999px;
}

/* ---- Connection chain ---- */
.connect-section { background: #fff; border-block: 1px solid var(--line); }
.chain { display: flex; align-items: center; gap: 0; margin: 30px 0 12px; flex-wrap: wrap; }
.chain-node {
  font-size: .92rem; font-weight: 800; color: var(--ink);
  background: var(--bg-2); border: 1px solid var(--line);
  padding: 11px 18px; border-radius: 999px; white-space: nowrap;
}
.chain-node.mid { color: #fff; background: var(--grad-header); border-color: transparent; box-shadow: 0 10px 24px -12px rgba(79,70,229,.6); }
.chain-link { width: 34px; height: 2px; background: linear-gradient(90deg, var(--teal), var(--indigo)); flex: none; }
.chain-note { color: var(--muted); font-size: 1rem; font-weight: 600; }

/* ---- FAQ (reference style accordion) ---- */
.faq-section { background: var(--bg); }
.faq { display: grid; gap: 14px; max-width: 860px; margin-inline: auto; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: 22px 26px; transition: border-color .2s, box-shadow .2s;
}
.faq details[open] { border-color: rgba(79,70,229,.35); box-shadow: 0 14px 34px -20px rgba(30,41,89,.28); }
.faq summary {
  font-size: 1.12rem; font-weight: 800; letter-spacing: -.02em; cursor: pointer;
  list-style: none; position: relative; padding-right: 34px; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 2px; top: 50%;
  width: 11px; height: 11px; margin-top: -6px;
  border-right: 2.4px solid var(--indigo); border-bottom: 2.4px solid var(--indigo);
  transform: rotate(45deg); transition: transform .25s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.faq details p { color: var(--ink-soft); font-size: 1.06rem; margin-top: 14px; margin-bottom: 0; }

/* ---- Closing store band ---- */
.store-band h2 { max-width: 24ch; }
.store-cta { display: flex; align-items: center; justify-content: center; gap: 34px; flex-wrap: wrap; margin-top: 8px; }
.store-qr { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.store-qr img { width: 104px; height: 104px; border-radius: 14px; background: #fff; padding: 7px; }
.store-qr span { color: rgba(255,255,255,.85); }
.store-band .store-badges { justify-content: center; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .hcard-a { left: -10%; }
  .hcard-b { right: -12%; }
}
@media (max-width: 960px) {
  .pillars { grid-template-columns: 1fr; }
  .numbers-grid { grid-template-columns: repeat(2,1fr); gap: 30px 20px; }
}
@media (max-width: 860px) {
  .hcard { display: none; }
  .feat-list { text-align: left; max-width: 520px; margin-inline: auto; }
  .get-app { justify-content: center; }
  .get-app-qr { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); padding-top: 20px; width: 100%; }
  .store-badges.left { justify-content: center; }
  .get-app-label { text-align: center; }
  .chain { justify-content: center; }
  .kicker { margin-bottom: 16px; }
}
@media (max-width: 560px) {
  .numbers-grid { grid-template-columns: 1fr 1fr; gap: 24px 14px; }
  .numbers-grid .l { font-size: .88rem; }
  .chain-link { width: 20px; }
  .chain-node { font-size: .8rem; padding: 9px 13px; }
  .faq details { padding: 18px 20px; }
  .faq summary { font-size: 1.02rem; }
  .store-cta { gap: 24px; }
  .feat-list b { font-size: 1.06rem; }
}

/* ---- V5 fixes: hero proportions (desktop only so mobile stack still wins) ---- */
@media (min-width: 861px) {
  .hero-grid { grid-template-columns: 1.15fr .85fr; align-items: center; }
  .hero h1 { max-width: 17ch; }
  .hero .lead { max-width: 46ch; }
}
.hero h1 { font-size: clamp(2rem, 3.4vw, 2.85rem); }

/* hero visual as a column so the note sits under the phone */
.hero-visual {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  position: relative;
}
.hero-visual .visual-note { width: 100%; }
.hero-visual .device { margin-inline: auto; }

@media (max-width: 860px) {
  .hero h1 { max-width: none; }
  .hero .lead { max-width: 52ch; }
}

/* ---- get-app mobile layout fix ---- */
.get-app { width: 100%; max-width: 100%; }
.get-app-badges { min-width: 0; }
.store-badge img { max-width: 100%; height: auto; }

@media (max-width: 860px) {
  .get-app {
    flex-direction: column; align-items: center; gap: 22px;
    width: 100%;
  }
  .get-app-badges { width: 100%; }
  .store-badges.left { justify-content: center; }
  .get-app-qr {
    padding-left: 0; border-left: 0;
    border-top: 1px solid var(--line); padding-top: 22px;
    width: 100%; flex-direction: column;
  }
}
@media (max-width: 420px) {
  .store-badges { gap: 10px; }
  .store-badge img { height: 44px; }
}

/* ---- prevent decorative blobs from creating horizontal scroll ---- */
html, body { overflow-x: hidden; max-width: 100%; }
.hero, .timeline-section, .store-band { overflow: hidden; }
.hero-bg, .tl-bg, .store-shapes { overflow: hidden; }
@media (max-width: 560px) {
  .blob.b1 { width: 300px; height: 300px; left: -70px; }
  .blob.b2 { width: 320px; height: 320px; right: -90px; }
  .blob.b3 { width: 260px; height: 260px; }
  .tl-blob.t1 { width: 260px; height: 260px; left: -60px; }
  .tl-blob.t2 { width: 280px; height: 280px; right: -70px; }
}

/* ============================================================
   V6 — hero get-app: stacked store badges + large QR card
   (matches provided reference layout)
   ============================================================ */
.get-app {
  display: flex; align-items: center; gap: 26px;
  flex-wrap: wrap; margin-top: 4px; width: 100%;
}

/* badges stacked vertically */
.get-app .get-app-badges {
  display: flex; flex-direction: column; gap: 16px;
  width: auto; min-width: 0;
}
.get-app .store-badge {
  display: block; border-radius: 12px; overflow: hidden;
  box-shadow: 0 8px 22px -12px rgba(20,24,60,.45);
  transition: transform .18s ease, box-shadow .22s ease;
}
.get-app .store-badge:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -12px rgba(20,24,60,.5); }
.get-app .store-badge img { display: block; width: 200px; height: auto; border-radius: 12px; }

/* QR as a white rounded card */
.get-app .get-app-qr {
  display: block; padding: 0; border: 0; width: auto;
  background: none; flex-direction: unset;
  transition: transform .2s ease;
}
.get-app .get-app-qr:hover { transform: translateY(-2px); }
.get-app .get-app-qr img {
  display: block; width: 150px; height: 150px;
  background: #fff; border: 0; border-radius: 18px; padding: 12px;
  box-shadow: 0 10px 26px -14px rgba(20,24,60,.4);
}

/* responsive */
@media (max-width: 860px) {
  .get-app { flex-direction: row; justify-content: center; gap: 22px; }
  .get-app .get-app-badges { border: 0; padding: 0; width: auto; }
  .get-app .get-app-qr { border-top: 0; padding-top: 0; width: auto; }
}
@media (max-width: 420px) {
  .get-app { gap: 16px; }
  .get-app .store-badge img { width: 156px; }
  .get-app .get-app-qr img { width: 118px; height: 118px; padding: 9px; border-radius: 15px; }
  .get-app .get-app-badges { gap: 12px; }
}
@media (max-width: 340px) {
  .get-app { flex-direction: column; align-items: center; }
  .get-app .store-badge img { width: 180px; }
}

/* ============================================================
   V7 — device frame: screenshots now include the real iOS status
   bar and dynamic island, so the fake CSS notch is removed.
   ============================================================ */
.device-notch { display: none !important; }
.device-shot { border-radius: 34px; }
.device.sm .device-shot { border-radius: 30px; }

/* ============================================================
   V8 — "Better together" stage: dashed concentric rings behind
   the device, device shifted right (matches reference)
   ============================================================ */
.device-stage {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  isolation: isolate;
}
.device-stage .device { position: relative; z-index: 2; }

/* dashed concentric rings */
.device-stage .ring {
  position: absolute; top: 50%; left: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  border: 1.5px dashed rgba(79,70,229,.20);
  pointer-events: none; z-index: 0;
}
.device-stage .ring.r1 { width: 560px; height: 560px; }
.device-stage .ring.r2 { width: 720px; height: 720px; border-color: rgba(79,70,229,.14); }
.device-stage .ring.r3 { width: 880px; height: 880px; border-color: rgba(79,70,229,.09); }

/* soft glow so the rings read as depth, not noise */
.device-stage::before {
  content: ""; position: absolute; top: 50%; left: 50%;
  width: 520px; height: 520px; transform: translate(-50%,-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(129,95,254,.13), transparent 68%);
  z-index: -1; pointer-events: none;
}

/* shift the device right, off dead-centre */
@media (min-width: 861px) {
  .connect-section .split-media { justify-content: flex-end; }
  .connect-section .device-stage { transform: translateX(58px); }
}

/* keep the rings from creating scrollbars */
.connect-section { overflow: hidden; }

@media (max-width: 860px) {
  .device-stage .ring.r1 { width: 420px; height: 420px; }
  .device-stage .ring.r2 { width: 540px; height: 540px; }
  .device-stage .ring.r3 { width: 660px; height: 660px; }
  .device-stage::before { width: 400px; height: 400px; }
}
@media (max-width: 560px) {
  .device-stage .ring.r1 { width: 320px; height: 320px; }
  .device-stage .ring.r2 { width: 400px; height: 400px; }
  .device-stage .ring.r3 { display: none; }
  .device-stage::before { width: 300px; height: 300px; }
}

/* chain: stack cleanly instead of dangling connectors when wrapped */
@media (max-width: 700px) {
  .chain { flex-direction: column; align-items: flex-start; gap: 10px; }
  .chain-link { width: 2px; height: 18px; margin-left: 22px; background: linear-gradient(180deg, var(--teal), var(--indigo)); }
}

/* ============================================================
   V9 — header to match reference: links, Sign in, gradient CTA
   ============================================================ */
.nav-signin {
  font-weight: 700; font-size: 1rem; color: var(--ink);
  padding: 9px 4px; margin-right: 10px; white-space: nowrap;
}
.nav-signin:hover { color: var(--indigo); }
.nav.scrolled .nav-signin { color: #fff; }

.btn-gradient {
  background: linear-gradient(105deg, #4F46E5 0%, #6D5FF6 55%, #7C4DFF 100%);
  box-shadow: 0 12px 26px -12px rgba(79,70,229,.75);
}
.btn-gradient:hover { background: linear-gradient(105deg, #4338CA 0%, #5B4BE6 55%, #6C3BFF 100%); }
.nav.scrolled .btn-gradient { background: #fff; color: var(--indigo); }
.nav.scrolled .btn-gradient:hover { background: #eef0ff; color: var(--indigo); }
.btn svg { width: 17px; height: 17px; }

.nav-mobile-only { display: none; }
@media (max-width: 860px) {
  .nav-cta .nav-signin { display: none; }
  .nav.open .nav-links .nav-mobile-only { display: block; }
}

/* ============================================================
   V10 — snippet hero, reframed counters, Why section
   ============================================================ */

/* ---- Hero: floating real-app snippets ---- */
.snip-stage {
  position: relative; width: 100%;
  min-height: 560px;
  display: block;
}
.snip-glow {
  position: absolute; top: 48%; left: 52%; transform: translate(-50%,-50%);
  width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(129,95,254,.22), transparent 66%);
  z-index: 0; pointer-events: none;
}
.snip-dots {
  position: absolute; top: 6%; left: -2%;
  width: 150px; height: 120px; z-index: 0; pointer-events: none;
  background-image: radial-gradient(rgba(79,70,229,.30) 2.2px, transparent 2.2px);
  background-size: 22px 22px;
}
.snip {
  position: absolute; margin: 0; z-index: 2;
  border-radius: 18px; overflow: hidden;
  background: rgba(255,255,255,.62);
  border: 1px solid rgba(255,255,255,.85);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  box-shadow: 0 26px 58px -22px rgba(30,41,89,.45);
  animation: bob 6s ease-in-out infinite;
}
.snip img { display: block; width: 100%; height: auto; }
.snip-1 { top: 0;    right: 2%;  width: 78%; animation-delay: 0s; }
.snip-2 { top: 30%;  left: -6%;  width: 62%; animation-delay: 1.1s; z-index: 3; }
.snip-3 { bottom: 12%; right: -4%; width: 66%; animation-delay: 2.2s; z-index: 3; }
.snip-4 { bottom: -2%; left: 6%;  width: 56%; animation-delay: 1.7s; }

/* ---- Counters: reframed for Skilling.Exchange ---- */
.numbers-note {
  text-align: center; margin-top: 26px;
  font-size: .95rem; font-weight: 700; letter-spacing: .04em;
  color: var(--muted);
}

/* ---- Why Skilling.Exchange ---- */
.why-section { background: var(--bg); }
.why-photo {
  position: relative; border-radius: 26px; overflow: visible;
  max-width: 520px; margin-inline: auto;
}
.why-photo > img {
  display: block; width: 100%; height: auto;
  border-radius: 26px; box-shadow: var(--shadow-lg);
}
.pcard {
  position: absolute; z-index: 3;
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 18px; padding: 14px 18px;
  box-shadow: 0 20px 44px -20px rgba(30,41,89,.42);
  display: flex; align-items: center; gap: 12px;
}
.pcard b { display: block; font-size: .96rem; letter-spacing: -.01em; }
.pcard span { display: block; font-size: .88rem; color: var(--muted); }
.pcard-ico {
  flex: none; width: 40px; height: 40px; border-radius: 12px;
  background: rgba(79,70,229,.10); color: var(--indigo);
  display: grid; place-items: center;
}
.pcard-ico svg { width: 20px; height: 20px; }
.pcard-ico.sm { width: 34px; height: 34px; background: #fff; }
.pcard-top { top: 5%; left: -6%; }
.pcard-left { bottom: 6%; left: -8%; flex-direction: column; align-items: flex-start; gap: 10px; max-width: 200px; }
.pcard-quote { font-size: 1.16rem; font-weight: 800; color: var(--indigo); line-height: 1.22; }
.pcard-rule { width: 34px; height: 3px; border-radius: 2px; background: var(--indigo); display: block; }
.pcard-right { bottom: 8%; right: -8%; align-items: flex-start; }
.pcard-stack span { font-size: .86rem; color: var(--muted); }
.pcard-stack b { font-size: .96rem; }

/* check list */
.check-list { list-style: none; display: grid; gap: 0; margin-top: 28px; padding: 0; }
.check-list li {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 20px 0; border-bottom: 1px solid var(--line);
}
.check-list li:last-child { border-bottom: 0; }
.check-list .ck {
  flex: none; width: 32px; height: 32px; border-radius: 50%;
  background: rgba(79,70,229,.10); color: var(--indigo);
  display: grid; place-items: center; margin-top: 2px;
}
.check-list .ck svg { width: 15px; height: 15px; }
.check-list b { display: block; font-size: 1.12rem; font-weight: 800; letter-spacing: -.02em; margin-bottom: 5px; }
.check-list span { display: block; color: var(--ink-soft); font-size: 1.04rem; }

/* ---- responsive ---- */
@media (max-width: 1100px) {
  .snip-1 { width: 84%; } .snip-2 { width: 68%; left: -2%; }
  .snip-3 { width: 70%; right: -2%; } .snip-4 { width: 60%; }
}
@media (max-width: 860px) {
  .snip-stage { min-height: 470px; max-width: 520px; margin-inline: auto; }
  .snip-1 { width: 80%; right: 0; }
  .snip-2 { width: 62%; left: 0; }
  .snip-3 { width: 66%; right: 0; }
  .snip-4 { display: none; }
  .why-photo { max-width: 440px; }
  .pcard-top { left: -2%; } .pcard-left { left: -2%; } .pcard-right { right: -2%; }
  .why-section .split-media { order: -1; margin-bottom: 40px; }
}
@media (max-width: 560px) {
  .snip-stage { min-height: 390px; }
  .snip-1 { width: 86%; } .snip-2 { width: 68%; } .snip-3 { width: 72%; }
  .snip-dots { display: none; }
  .pcard { padding: 11px 13px; border-radius: 15px; }
  .pcard b { font-size: .86rem; } .pcard span { font-size: .78rem; }
  .pcard-quote { font-size: .98rem; }
  .pcard-top { top: 3%; left: 0; } .pcard-left { bottom: 4%; left: 0; max-width: 160px; }
  .pcard-right { bottom: 5%; right: 0; }
  .check-list b { font-size: 1.02rem; }
  .check-list span { font-size: .96rem; }
}

/* ---- V10.1: snippet layout tuning ---- */
.snip-stage { min-height: 620px; }
.snip-1 { top: 2%;    right: -2%; width: 74%; }
.snip-2 { top: 27%;   left: -8%;  width: 60%; z-index: 4; }
.snip-3 { bottom: 20%; right: -6%; width: 62%; z-index: 3; }
.snip-4 { bottom: 0;  left: 2%;   width: 54%; z-index: 2; }
.snip-glow { width: 560px; height: 560px; }
.hero-visual .visual-note { margin-top: 30px; }

@media (max-width: 1100px) {
  .snip-1 { width: 80%; right: 0; }
  .snip-2 { width: 64%; left: -4%; }
  .snip-3 { width: 66%; right: -2%; }
  .snip-4 { width: 58%; }
}
@media (max-width: 860px) {
  .snip-stage { min-height: 500px; }
  .snip-1 { width: 78%; right: 0; top: 0; }
  .snip-2 { width: 62%; left: 0; top: 26%; }
  .snip-3 { width: 66%; right: 0; bottom: 8%; }
}
@media (max-width: 560px) {
  .snip-stage { min-height: 400px; }
  .snip-1 { width: 88%; } .snip-2 { width: 70%; } .snip-3 { width: 74%; bottom: 2%; }
}

/* ============================================================
   V11 — hero photo stage, why panel, pillar shots, even spacing
   ============================================================ */

/* ---- hero photo stage ---- */
.photo-stage {
  position: relative;
  width: min(440px, 92%);
  margin-inline: auto;
}
.stage-photo {
  display: block; width: 100%; height: auto;
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
}
/* snippets: solid so nothing ghosts through from the photo */
.snip {
  background: #fff;
  backdrop-filter: none; -webkit-backdrop-filter: none;
  border: 1px solid rgba(231,233,240,.9);
}
.photo-stage .snip-1 { top: -6%;  left: -16%;  width: 74%; right: auto; }
.photo-stage .snip-2 { top: 17%;  right: -18%; width: 66%; left: auto; }
.photo-stage .snip-3 { bottom: 24%; left: -20%; width: 62%; }
.photo-stage .snip-4 { bottom: -7%; right: -14%; width: 60%; left: auto; }
.photo-stage .snip-glow { top: 50%; left: 50%; }
.photo-stage .snip-dots { top: -9%; right: -8%; left: auto; }

/* ---- why panel: single baked image ---- */
.why-photo { max-width: 560px; }
.why-photo > img { border-radius: 26px; }

/* ---- pillar shots ---- */
.pillar-shot {
  margin-top: 18px; border-radius: 14px; overflow: hidden;
  border: 1px solid var(--line); background: #fff;
  box-shadow: 0 10px 24px -16px rgba(30,41,89,.35);
}
.pillar-shot img { display: block; width: 100%; height: auto; }

/* ============================================================
   SPACING PASS — one rhythm everywhere
   ============================================================ */
.section { padding-block: clamp(64px, 8vw, 104px); }
.hero { padding-top: clamp(48px, 6vw, 84px); padding-bottom: clamp(56px, 7vw, 96px); }
.numbers { padding-block: clamp(56px, 7vw, 88px); }
.numbers-intro { margin-bottom: clamp(28px, 4vw, 44px); }
.numbers-note { margin-top: clamp(20px, 3vw, 32px); }
.sec-head { margin-bottom: clamp(40px, 5vw, 60px); }
.sec-head h2 { margin: 14px 0 16px; }
.hero .lead { margin-bottom: 8px; }
.feat-list { margin: 28px 0 32px; gap: 20px; }
.get-app { margin-top: 6px; }
.hero-visual .visual-note { margin-top: 34px; }
.pillars { margin-top: 0; gap: 24px; }
.timeline { margin-top: clamp(36px, 5vw, 56px); }
.check-list { margin-top: 26px; }
.check-list li { padding: 18px 0; }
.split { gap: clamp(40px, 6vw, 84px); }
.store-band { padding-block: clamp(64px, 8vw, 104px); }

/* ---- responsive: photo stage ---- */
@media (max-width: 1100px) {
  .photo-stage .snip-1 { left: -8%; }
  .photo-stage .snip-2 { right: -10%; }
  .photo-stage .snip-3 { left: -10%; }
  .photo-stage .snip-4 { right: -8%; }
}
@media (max-width: 860px) {
  .photo-stage { width: min(400px, 88%); margin-top: 10px; }
  .photo-stage .snip-1 { left: -5%; width: 78%; }
  .photo-stage .snip-2 { right: -5%; width: 68%; }
  .photo-stage .snip-3 { left: -6%; width: 64%; }
  .photo-stage .snip-4 { right: -5%; width: 62%; bottom: -6%; }
  .why-photo { max-width: 470px; }
}
@media (max-width: 560px) {
  .photo-stage { width: 88%; }
  .photo-stage .snip-1 { width: 84%; top: -5%; }
  .photo-stage .snip-2 { width: 74%; }
  .photo-stage .snip-3 { width: 70%; }
  .photo-stage .snip-4 { width: 68%; }
}

/* V11.1 — snippet coverage tuning over the hero photo */
.photo-stage .snip-1 { top: -6%;  left: -16%; width: 76%; }
.photo-stage .snip-2 { top: 13%;  right: -20%; width: 74%; }
.photo-stage .snip-3 { bottom: 17%; left: -20%; width: 66%; }
.photo-stage .snip-4 { bottom: -6%; right: -16%; width: 70%; }
@media (max-width: 1100px) {
  .photo-stage .snip-2 { right: -10%; }
  .photo-stage .snip-4 { right: -9%; }
}

/* V11.2 — final coverage nudge */
.photo-stage .snip-4 { bottom: -2%; width: 72%; }

/* V12 — new hero girl (phone visible), snip layout retuned */
.photo-stage .snip-1 { top: -6%;  left: -16%; width: 72%; }
.photo-stage .snip-2 { top: 15%;  right: -18%; width: 64%; }
.photo-stage .snip-3 { bottom: -8%; left: -18%; width: 50%; }
.photo-stage .snip-4 { bottom: 14%; right: -14%; width: 62%; }
@media (max-width: 1100px) {
  .photo-stage .snip-1 { left: -8%; }
  .photo-stage .snip-2 { right: -9%; }
  .photo-stage .snip-3 { left: -8%; }
  .photo-stage .snip-4 { right: -7%; }
}
@media (max-width: 860px) {
  .photo-stage .snip-1 { left: -4%; width: 74%; }
  .photo-stage .snip-2 { right: -4%; width: 64%; }
  .photo-stage .snip-3 { left: -4%; width: 52%; }
  .photo-stage .snip-4 { right: -4%; width: 62%; bottom: 12%; }
}

/* ============================================================
   V13 — hero app carousel
   ============================================================ */
.hero-slider {
  position: relative;
  width: min(420px, 92%);
  margin-inline: auto;
  min-height: 640px;
}
.hero-slider .snip-glow { top: 46%; left: 50%; width: 540px; height: 540px; }
.hero-slider .snip-dots { top: -3%; right: -10%; left: auto; }

.hero-slider .slide {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center;
  opacity: 0; transform: translateX(26px) scale(.985);
  transition: opacity .55s ease, transform .55s cubic-bezier(.16,1,.3,1);
  pointer-events: none;
}
.hero-slider .slide.is-active {
  opacity: 1; transform: translateX(0) scale(1);
  pointer-events: auto;
}
.hero-slider .device { width: min(300px, 74vw); animation: none; }

/* relating card per slide */
.slide-card {
  position: absolute; right: -14%; bottom: 22%;
  display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(10px) saturate(150%);
  -webkit-backdrop-filter: blur(10px) saturate(150%);
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 18px; padding: 14px 18px;
  box-shadow: 0 22px 48px -20px rgba(30,41,89,.38);
  opacity: 0; transform: translateY(14px);
  transition: opacity .5s ease .25s, transform .5s cubic-bezier(.16,1,.3,1) .25s;
}
.slide.is-active .slide-card { opacity: 1; transform: translateY(0); }
.slide-card .sc-ico {
  flex: none; width: 40px; height: 40px; border-radius: 12px;
  background: var(--grad-header); color: #fff; display: grid; place-items: center;
}
.slide-card .sc-ico svg { width: 20px; height: 20px; }
.slide-card b { display: block; font-size: 1rem; font-weight: 800; letter-spacing: -.02em; }
.slide-card span { display: block; font-size: .85rem; color: var(--muted); }

/* dots */
.slider-dots {
  position: absolute; left: 50%; bottom: -6px; transform: translateX(-50%);
  display: flex; gap: 9px; z-index: 5;
}
.slider-dots .dot {
  width: 9px; height: 9px; border-radius: 999px; border: 0; padding: 0;
  background: rgba(79,70,229,.22); cursor: pointer;
  transition: width .3s ease, background .3s ease;
}
.slider-dots .dot.is-active { width: 26px; background: var(--indigo); }
.slider-dots .dot:focus-visible { outline: 2px solid var(--indigo); outline-offset: 3px; }

@media (max-width: 1100px) {
  .slide-card { right: -6%; }
}
@media (max-width: 860px) {
  .hero-slider { min-height: 600px; margin-top: 6px; }
  .slide-card { right: 0; bottom: 18%; }
}
@media (max-width: 560px) {
  .hero-slider { min-height: 540px; }
  .hero-slider .device { width: min(250px, 70vw); }
  .slide-card { padding: 11px 14px; bottom: 16%; }
  .slide-card b { font-size: .9rem; }
  .slide-card span { font-size: .78rem; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slider .slide, .slide-card { transition: none; }
}

/* V13.1 — single device frame, screens cross-fade inside */
.hero-slider { display: flex; flex-direction: column; align-items: center; min-height: 0; padding-bottom: 34px; }
.slider-device { position: relative; z-index: 2; }
.shot-stack {
  position: relative; width: 100%;
  aspect-ratio: 1206 / 2622;
  border-radius: 34px; overflow: hidden;
}
.shot-stack .slide-shot {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0;
  transition: opacity .6s ease;
}
.shot-stack .slide-shot.is-active { opacity: 1; }

.hero-slider .slide-card {
  position: absolute; right: -8%; bottom: 24%;
  z-index: 4; pointer-events: none;
}
.hero-slider .slide-card.is-active { pointer-events: auto; }
.slider-dots { position: static; transform: none; margin-top: 22px; }
@media (max-width: 560px) {
  .hero-slider .slide-card { right: 0; bottom: 20%; }
}

/* V13.2 — card activation fix for single-frame slider */
.hero-slider .slide-card.is-active { opacity: 1; transform: translateY(0); }

/* ============================================================
   V14 — card sets: 3 story cards per slide, staggered
   ============================================================ */
.card-set {
  position: absolute; inset: 0; z-index: 4;
  opacity: 0; pointer-events: none; visibility: hidden;
  transition: opacity .45s ease, visibility 0s linear .45s;
}
.card-set.is-active {
  opacity: 1; pointer-events: none; visibility: visible;
  transition: opacity .45s ease;
}
/* cards inside a set stagger up */
.card-set .slide-card {
  position: absolute;
  opacity: 0; transform: translateY(14px);
  transition: opacity .5s ease, transform .55s cubic-bezier(.16,1,.3,1);
}
.card-set.is-active .slide-card { opacity: 1; transform: translateY(0); }
.card-set.is-active .sc-a { transition-delay: .15s; }
.card-set.is-active .sc-b { transition-delay: .3s; }
.card-set.is-active .sc-pill { transition-delay: .45s; }

/* positions */
.card-set .sc-a { right: -12%; bottom: 23%; }
.card-set .sc-b {
  left: -16%; top: 12%;
  display: block; max-width: 210px;
  padding: 16px 18px;
}
.sc-quote {
  display: block; font-size: 1.06rem; font-weight: 800;
  letter-spacing: -.02em; line-height: 1.3; color: var(--indigo);
}
.sc-rule { display: block; width: 32px; height: 3px; border-radius: 2px; background: var(--indigo); margin-top: 10px; }
.card-set .sc-pill {
  left: -12%; bottom: 7%;
  display: inline-block; width: max-content; max-width: 240px;
  font-size: .82rem; font-weight: 800; letter-spacing: .02em;
  color: #fff; background: var(--grad-header);
  padding: 10px 16px; border-radius: 999px; border: 0;
  box-shadow: 0 14px 30px -14px rgba(79,70,229,.65);
}

@media (max-width: 1100px) {
  .card-set .sc-a { right: -5%; }
  .card-set .sc-b { left: -7%; }
  .card-set .sc-pill { left: -5%; }
}
@media (max-width: 860px) {
  .card-set .sc-a { right: 0; bottom: 21%; }
  .card-set .sc-b { left: 0; top: 9%; max-width: 190px; }
  .card-set .sc-pill { left: 0; bottom: 6%; }
}
@media (max-width: 560px) {
  .card-set .sc-b { max-width: 165px; padding: 12px 14px; }
  .sc-quote { font-size: .92rem; }
  .card-set .sc-pill { font-size: .74rem; padding: 8px 13px; max-width: 200px; }
  .card-set .sc-a { bottom: 19%; }
}

/* V14.1 — anchor resets (cards were pinned top AND bottom) */
.card-set .sc-a { left: auto; top: auto; }
.card-set .sc-b { right: auto; bottom: auto; }
.card-set .sc-pill { right: auto; top: auto; }

/* V14.2 — keep pill clear of dots on small screens */
@media (max-width: 860px) {
  .card-set .sc-pill { bottom: 10%; }
}

/* ============================================================
   V15 — global polish: tighter section rhythm, heading gaps,
   back-to-top, minimal footer, ultra-wide + safe-area support
   ============================================================ */

/* ---- 1. Section rhythm: reduced, one scale everywhere ---- */
.section { padding-block: clamp(44px, 5.5vw, 76px); }
.hero { padding-top: clamp(32px, 4vw, 56px); padding-bottom: clamp(40px, 5vw, 68px); }
.numbers { padding-block: clamp(40px, 4.5vw, 60px); }
.store-band { padding-block: clamp(48px, 6vw, 84px); }
.sec-head { margin-bottom: clamp(28px, 3.5vw, 44px); }
.timeline { margin-top: clamp(24px, 3.5vw, 40px); }
.split { gap: clamp(32px, 4.5vw, 68px); }
.numbers-intro { margin-bottom: clamp(24px, 3vw, 36px); }
.numbers-note { margin-top: clamp(16px, 2.5vw, 26px); }
.tl-step + .tl-step { margin-top: clamp(36px, 5vw, 64px); }

/* ---- 2. Title / description gaps: kicker 14, h2 20, lead 24 ---- */
.kicker { margin-bottom: 14px; }
.sec-head h2 { margin: 0 0 20px; }
.sec-head .lead { margin-top: 0; margin-bottom: 0; }
.split-copy h2 { margin: 0 0 20px; }
.split-copy .lead { margin-top: 0; margin-bottom: 24px; }
.hero h1 { margin: 0 0 20px; }
.hero .lead { margin-bottom: 26px; }
.store-inner h2 { margin: 0 0 18px; }
.store-inner p { margin-bottom: 30px; }
.tl-copy .tl-kicker { margin-bottom: 10px; display: inline-block; }
.tl-copy h3 { margin-bottom: 12px; }

/* ---- 3. Back-to-top ---- */
.to-top {
  position: fixed;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  width: 48px; height: 48px; border-radius: 999px; border: 0;
  background: linear-gradient(135deg, #4F46E5, #7C4DFF);
  color: #fff; cursor: pointer; z-index: 90;
  display: grid; place-items: center;
  box-shadow: 0 14px 30px -12px rgba(79,70,229,.7);
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: opacity .3s ease, transform .3s ease, visibility 0s linear .3s;
}
.to-top.show {
  opacity: 1; visibility: visible; transform: translateY(0);
  transition: opacity .3s ease, transform .3s ease;
}
.to-top:hover { transform: translateY(-3px); }
.to-top svg { width: 20px; height: 20px; }
.to-top:focus-visible { outline: 3px solid rgba(79,70,229,.5); outline-offset: 3px; }

/* ---- 4. Minimal footer ---- */
.footer { padding: clamp(36px, 4.5vw, 56px) 0 clamp(24px, 3vw, 34px); }
.footer-top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
  padding-bottom: clamp(22px, 3vw, 32px);
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer-links { display: flex; gap: clamp(18px, 2.6vw, 34px); flex-wrap: wrap; }
.footer-links a { color: rgba(255,255,255,.78); font-size: .98rem; font-weight: 600; }
.footer-links a:hover { color: #fff; }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding-top: clamp(18px, 2.5vw, 26px);
  color: rgba(255,255,255,.55); font-size: .9rem;
}
.footer-bottom a { color: rgba(255,255,255,.75); }
.footer-bottom a:hover { color: #fff; }
.footer-logo { height: 40px; }
/* retire old footer grid styles if present */
.footer-grid { display: none; }

/* ---- 5. Device / breakpoint optimization ---- */
/* laptops 1024-1440 */
@media (min-width: 1024px) and (max-width: 1439px) {
  .wrap { max-width: 1080px; }
}
/* large desktop 1920+ */
@media (min-width: 1920px) {
  html { font-size: 17px; } /* fixed above fluid range */
  .wrap { max-width: 1360px; }
  .hero-slider { width: min(460px, 92%); }
}
/* ultra-wide 2400+ */
@media (min-width: 2400px) {
  html { font-size: 18.5px; }
  .wrap { max-width: 1480px; }
}
/* iPhone notch / dynamic island safe areas */
@supports (padding: max(0px)) {
  .nav .wrap, .footer .wrap {
    padding-left: max(clamp(20px,5vw,48px), env(safe-area-inset-left));
    padding-right: max(clamp(20px,5vw,48px), env(safe-area-inset-right));
  }
}
/* small phones fine-tune */
@media (max-width: 400px) {
  .footer-top { flex-direction: column; align-items: flex-start; gap: 18px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .to-top { width: 44px; height: 44px; }
}
/* tablets portrait: hero split earlier handled; tighten sec-head */
@media (min-width: 700px) and (max-width: 1023px) {
  .wrap { max-width: 720px; }
  .hero-grid { gap: 40px; }
}

/* ============================================================
   V15.1 — legal pages: TOC sidebar + polished doc layout
   ============================================================ */
.doc-grid { display: block; }
.doc-grid.has-toc {
  display: grid; grid-template-columns: 250px minmax(0,1fr);
  gap: clamp(36px, 4.5vw, 64px); align-items: start;
}
.doc-toc {
  position: sticky; top: 92px;
  background: #fff; border: 1px solid var(--line);
  border-radius: 16px; padding: 20px 18px;
  box-shadow: var(--shadow-sm);
}
.doc-toc .toc-title {
  font-size: .76rem; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted); margin: 0 0 12px;
}
.doc-toc ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.doc-toc a {
  display: block; padding: 9px 12px; border-radius: 10px;
  font-size: .92rem; font-weight: 600; color: var(--ink-soft);
  border-left: 3px solid transparent; line-height: 1.35;
  transition: background .18s, color .18s, border-color .18s;
}
.doc-toc a:hover { background: var(--bg-2); color: var(--indigo); }
.doc-toc a.active {
  background: rgba(79,70,229,.08); color: var(--indigo);
  border-left-color: var(--indigo);
}
.doc-content { min-width: 0; }
.doc-content h2 { scroll-margin-top: 96px; margin-top: clamp(34px, 4vw, 48px); }
.doc-content h2:first-child { margin-top: 0; }
.doc-content h3 { scroll-margin-top: 96px; }
.doc-body { padding-block: clamp(40px, 5vw, 64px); }
.doc-hero { padding-block: clamp(44px, 5.5vw, 72px); }
@media (max-width: 980px) {
  .doc-grid.has-toc { display: block; }
  .doc-toc { position: static; margin-bottom: 30px; }
  .doc-toc ul { grid-template-columns: 1fr 1fr; gap: 4px 10px; }
}
@media (max-width: 560px) {
  .doc-toc ul { grid-template-columns: 1fr; }
}

/* V15.2 — sticky-TOC fixes:
   1) overflow-x: clip (hidden breaks position:sticky)
   2) widen doc wrap when a TOC is present */
html, body { overflow-x: clip; }
.doc-body .wrap.doc-grid.has-toc { max-width: 1180px; }

/* V15.3 — disable auto ligatures on large display headings so glyphs
   like "fi" in "different" render as clean separate letters */
h1, h2, .hero h1, .sec-head h2, .store-inner h2, .split-copy h2, .doc-hero h1 {
  font-variant-ligatures: none;
  -webkit-font-variant-ligatures: none;
  font-feature-settings: "liga" 0, "clig" 0;
  text-rendering: optimizeLegibility;
}

/* V15.4 — legal hero brand lockup + clean TOC links */
.doc-brand { display: inline-block; margin-bottom: 22px; }
.doc-brand img { height: 46px; width: auto; display: block; }
.doc-hero h1 { margin: 0; }
.doc-toc a, .doc-toc a:hover, .doc-toc a.active { text-decoration: none; }
@media (max-width: 560px) { .doc-brand img { height: 38px; } }

/* V15.5 — store CTA vertical centering + footer logo hard-set */
.store-cta { align-items: center; }
.store-badges { align-items: center; }
.store-qr { justify-content: center; }
/* keep the QR visually level with the badges (its label adds height below) */
.store-qr img { margin-bottom: 4px; }
.store-band .store-badges { align-items: center; }

/* footer logo: lock dimensions so it always renders at intended size */
.footer-logo { height: 40px !important; width: auto !important; }

/* V15.6 — tighten why-section gap between lead and check-list */
.why-section .split-copy .lead { margin-bottom: 8px; }
.check-list { margin-top: 10px; }
.check-list li:first-child { padding-top: 14px; }

/* V15.7 — store-band heading: center the max-width box itself */
.store-inner { max-width: 760px; margin-inline: auto; }
.store-inner .kicker { display: block; text-align: center; margin-inline: auto; }
.store-band h2 { max-width: 22ch; margin-inline: auto; text-align: center; }
.store-inner p { max-width: 52ch; margin-inline: auto; }

/* V15.7 — store heading: two clean centered lines */
.store-band h2 {
  max-width: none;
  margin-inline: auto;
  text-align: center;
  line-height: 1.14;
}
.store-inner p { max-width: 44ch; margin-inline: auto; text-wrap: pretty; }

/* store heading: each sentence its own line on wider screens, natural wrap on small */
.store-band h2 .sh-line { display: inline-block; }
@media (min-width: 620px) {
  .store-band h2 .sh-line { display: block; }
}

/* store heading size guard so the longer sentence stays one line */
.store-band h2 { font-size: clamp(1.7rem, 3.4vw, 2.9rem); }
@media (max-width: 619px) {
  .store-band h2 { font-size: clamp(1.55rem, 6vw, 2.2rem); }
}

/* ============================================================
   V16 — educator merit overlay cards on the why panel
   (positioned to cover the baked-in photo cards)
   ============================================================ */
.why-photo { position: relative; }
.wcard {
  position: absolute; z-index: 3;
  background: #fff;
  border: 1px solid rgba(231,233,240,.9);
  border-radius: 16px; padding: 13px 16px;
  box-shadow: 0 18px 40px -20px rgba(30,41,89,.4);
  display: flex; align-items: center; gap: 11px;
}
.wcard b { display: block; font-size: .92rem; letter-spacing: -.01em; line-height: 1.25; }
.wcard span { display: block; font-size: .8rem; color: var(--muted); }
.wc-ico {
  flex: none; width: 38px; height: 38px; border-radius: 11px;
  background: rgba(79,70,229,.10); color: var(--indigo);
  display: grid; place-items: center;
}
.wc-ico svg { width: 19px; height: 19px; }
.wc-ico.sm { width: 34px; height: 34px; background: rgba(79,70,229,.10); }

/* top-left: covers baked "Real people" */
.wcard-tl { top: 4.5%; left: -5%; }
/* bottom-left: covers baked "Learning opens..." */
.wcard-bl { bottom: 5%; left: -6%; flex-direction: column; align-items: flex-start; gap: 9px; max-width: 210px; }
.wc-quote { font-size: 1.08rem; font-weight: 800; color: var(--indigo); line-height: 1.24; }
.wc-rule { width: 30px; height: 3px; border-radius: 2px; background: var(--indigo); display: block; }
/* bottom-right: covers baked "Skills today" */
.wcard-br { bottom: 6%; right: -6%; align-items: flex-start; }
.wc-stack b { font-size: .92rem; } .wc-stack span { font-size: .8rem; }

@media (max-width: 860px) {
  .wcard-tl { left: 0; } .wcard-bl { left: 0; } .wcard-br { right: 0; }
}
@media (max-width: 560px) {
  .wcard { padding: 10px 12px; border-radius: 13px; }
  .wcard b { font-size: .82rem; } .wcard span { font-size: .72rem; }
  .wc-quote { font-size: .92rem; }
  .wcard-bl { max-width: 165px; }
}

/* V16.1 — fully cover baked bottom-right card */
.wcard-br { bottom: 4%; right: -8%; min-width: 190px; }
.wcard-bl { bottom: 3.5%; left: -7%; }

/* V16.2 — blanket baked cards completely */
.wcard-bl { bottom: 2%; left: -9%; max-width: 230px; padding: 16px 18px; }
.wcard-bl .wc-quote { font-size: 1.14rem; }
.wcard-br { bottom: 2%; right: -10%; min-width: 205px; padding: 15px 17px; }
.wcard-tl { top: 3%; left: -7%; padding: 14px 17px; }

/* V16.3 — reposition overlays on the now-clean photo */
.wcard-tl { top: 5%;  left: -6%; }
.wcard-bl { bottom: 7%; left: -7%; max-width: 220px; }
.wcard-br { bottom: 10%; right: -8%; min-width: 195px; }

/* V17 — center feature icons precisely in their tiles */
.feat-ico { display: flex; align-items: center; justify-content: center; line-height: 0; padding: 0; }
.feat-ico svg { display: block; width: 22px; height: 22px; margin: 0; }

/* V17.1 — inline highlight for feature-bullet key phrases (indigo, no wrap-break) */
.feat-list .hl { color: var(--indigo); }
/* ensure hero gradient-text never forces a break */
.hero h1 .gradient-text { display: inline; }

/* V17.2 — hard-center feature icon svg vertically */
.feat-ico { display: inline-flex !important; align-items: center !important; justify-content: center !important; }
.feat-ico > svg { position: relative; top: 0; }

/* V17.3 — feature titles sized to fit one line in the hero column */
.feat-list li { gap: 14px; }
.feat-list li > div { min-width: 0; flex: 1; }
.feat-list b { font-size: 1.02rem; letter-spacing: -.02em; }
@media (min-width: 1600px) { .feat-list b { font-size: 1.08rem; } }

/* V17.4 — .hl is a span; the generic .feat-list span{display:block} was
   catching it and forcing a line break. Keep highlight inline. */
.feat-list b .hl { display: inline !important; width: auto !important; white-space: normal; color: var(--indigo); }

/* ============================================================
   V18 — mobile legibility + tap targets (SEO/UX)
   ============================================================ */
@media (max-width: 640px) {
  /* no label under 12px on mobile */
  .kicker, .tl-kicker, .get-app-label, .visual-note,
  .numbers-note, .footer-links a, .footer-bottom,
  .doc-toc .toc-title, .slider-dots ~ *, .store-qr span, .get-app-qr span {
    font-size: max(0.75rem, 12px);
  }
  /* comfortable tap targets */
  .footer-links a { display: inline-block; padding: 8px 0; }
  .footer-bottom a { display: inline-block; padding: 4px 0; }
  .nav-links a { padding: 12px 10px; }
  .doc-toc a { padding: 11px 12px; }
}
/* back-to-top already 44-48px; ensure min 44 on tiny screens */
@media (max-width: 400px) { .to-top { width: 46px; height: 46px; } }

/* V18.1 — floating card micro-text min 12px on mobile */
@media (max-width: 640px) {
  .slide-card span, .slide-card .sc-pill,
  .wcard span, .hcard span { font-size: max(0.75rem, 12px); }
  .slide-card b, .wcard b { font-size: max(0.85rem, 13px); }
}

/* V18.2 — pill min size (more specific) */
@media (max-width: 640px) {
  .card-set .sc-pill { font-size: 12px; }
}

/* ============================================================
   V19 — hero left-align on mobile, numbers note left,
   why-card gap fix, steps heading highlight
   ============================================================ */

/* 1. hero: keep left-aligned at all widths (was centering <=860) */
@media (max-width: 860px) {
  .hero-grid { text-align: left; }
  .hero-copy, .hero .sec-head, .hero .split-copy { align-items: flex-start; }
  .hero .lead { margin-inline: 0; }
  .hero-actions, .hero-stats { justify-content: flex-start; }
}

/* 2. numbers note + intro left-aligned */
.numbers-intro { text-align: center; }
.numbers-note { text-align: center; }

/* 3. why-photo: shrink Grow card + create gap from the quote card */
.wcard-br { bottom: 14%; right: -6%; min-width: 0; max-width: 190px; padding: 12px 14px; }
.wcard-br b { font-size: .86rem; }
.wcard-br span { font-size: .78rem; }
.wcard-bl { bottom: 4%; left: -7%; max-width: 215px; }


/* ============================================================
   V21 — ring orbit animation (connect) + CTA spotlight sweep
   GPU-cheap, reduced-motion safe
   ============================================================ */
.connect-section { position: relative; overflow: hidden; }
.device-stage .ring { position: absolute; top: 50%; left: 50%; }
/* gentle counter-rotation + breathing on the rings */
.device-stage .r1 { animation: ringspin 46s linear infinite; }
.device-stage .r2 { animation: ringspin 64s linear infinite reverse; }
.device-stage .r3 { animation: ringpulse 9s ease-in-out infinite; }
@keyframes ringspin  { to { transform: translate(-50%,-50%) rotate(360deg); } }
@keyframes ringpulse { 0%,100% { transform: translate(-50%,-50%) scale(1); opacity:.5; } 50% { transform: translate(-50%,-50%) scale(1.03); opacity:.8; } }

/* a soft dot that travels along each ring */
.orbit-dot {
  position: absolute; top: -4px; left: 50%; margin-left: -4px;
  width: 8px; height: 8px; border-radius: 50%;
  background: radial-gradient(circle, #4F46E5, rgba(79,70,229,.1) 70%);
  box-shadow: 0 0 12px 2px rgba(79,70,229,.6);
}
.r2 .orbit-dot { background: radial-gradient(circle, #16B6B6, rgba(22,182,182,.1) 70%); box-shadow: 0 0 12px 2px rgba(22,182,182,.55); }
.r3 .orbit-dot { background: radial-gradient(circle, #7C4DFF, rgba(124,77,255,.1) 70%); box-shadow: 0 0 12px 2px rgba(124,77,255,.5); }

/* ---- Closing CTA heading: lit by the top-center glow ---- */
.store-band .store-inner { position: relative; z-index: 1; }
.store-band h2 .sh-line { color: #ffffff; }
.store-band h2 .sh-line:nth-child(2) { color: rgba(255,255,255,.72); }

@media (prefers-reduced-motion: reduce) {
  .device-stage .r1, .device-stage .r2, .device-stage .r3 { animation: none; }
  .store-band::before { animation: none; }
}
