/* ==========================================================================
   TripClap for Business — Option B (warm & human)
   Motion is progressive enhancement: everything renders in its final state
   first; movement is opted in under prefers-reduced-motion: no-preference.
   ========================================================================== */

/* Self-hosted fonts (variable woff2, latin + latin-ext for the ₹ sign).
   Replaces the render-blocking Google Fonts stylesheet. */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../fonts/inter-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../fonts/inter-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 600 800; font-display: swap; src: url(../fonts/jakarta-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 600 800; font-display: swap; src: url(../fonts/jakarta-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  color-scheme: light;
  --bg: #FFF9F5;
  --peach: #FFF4EE;
  --peach-2: #FFE7DF;
  --white: #FFFFFF;
  --ink: #161A23;
  --text: #1F2430;
  --muted: #4B5160;
  --faint: #6B7280;
  --line: #F1E4DB;
  --line-2: #E5D6CC;
  --coral: #FF6B57;
  --coral-ic: #E8543F;
  --cta: #CC3F29;
  --coral-deep: #C2412D;
  --coral-soft: #FFEDE8;
  --green: #12A365;
  --green-deep: #0E7A4F;
  --green-soft: #E4F6EC;
  --navy: #1F2430;
  --shadow: 0 10px 30px rgb(120 60 30 / 0.06);
  --shadow-lg: 0 24px 60px rgb(120 60 30 / 0.16);
  --radius: 20px;
  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --font: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-hd: "Plus Jakarta Sans", Inter, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.5; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 3px solid #2F54C8; outline-offset: 3px; border-radius: 6px; }

.hd { font-family: var(--font-hd); letter-spacing: -0.02em; }
.wrap { max-width: 1240px; margin-inline: auto; padding-inline: 32px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }

.stack-6 { display: flex; flex-direction: column; gap: 6px; }
.stack-10 { display: flex; flex-direction: column; gap: 10px; }
.stack-12 { display: flex; flex-direction: column; gap: 12px; }
.stack-16 { display: flex; flex-direction: column; gap: 16px; }
.stack-20 { display: flex; flex-direction: column; gap: 20px; }
.stack-28 { display: flex; flex-direction: column; gap: 28px; }
.stack-32 { display: flex; flex-direction: column; gap: 32px; }
.stack-36 { display: flex; flex-direction: column; gap: 36px; }
.stack-44 { display: flex; flex-direction: column; gap: 44px; }
.stack-48 { display: flex; flex-direction: column; gap: 48px; }
.mw-720 { max-width: 720px; }
.center { text-align: center; }
.rel { position: relative; }
.self-start { align-self: flex-start; }

.t-sm { font-size: 13px; color: var(--muted); }
.t-md { font-size: 15px; color: var(--muted); line-height: 1.6; }
.t-mid { font-weight: 700; font-size: 16px; }
.t-big { font-size: 22px; font-weight: 800; }
.muted-sm { font-size: 12px; color: var(--faint); font-weight: 500; }
.star { color: #F2A516; }
.link { font-weight: 700; color: var(--coral-deep); }
.accent { color: var(--coral-deep); }

.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }

.h1 { font-size: clamp(40px, 5.2vw, 62px); line-height: 1.06; font-weight: 800; color: var(--ink); }
.h1 > span { display: block; }
.h2 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.1; font-weight: 800; color: var(--ink); }
.sub { font-size: 18px; line-height: 1.6; color: var(--muted); }
.lead { font-size: 18px; line-height: 1.65; color: var(--muted); max-width: 540px; }
.eyebrow { align-self: flex-start; background: #FFE1D8; color: #B23A26; font-weight: 700; font-size: 14px; padding: 8px 16px; border-radius: 999px; }
.sec { padding-block: 96px; }
.sec-white { background: var(--white); border-top: 1px solid var(--line); }
.sec-peach { background: var(--peach); border-top: 1px solid var(--line); }
.sec-head { display: flex; flex-direction: column; gap: 10px; }
.sec-head.center { align-items: center; }

/* ---------- squiggle underline (draws in when seen) ---------- */
.squiggle { position: relative; display: inline-block; }
.squiggle svg { position: absolute; left: 0; bottom: -7px; width: 100%; height: 11px; overflow: visible; }
.squiggle path { fill: none; stroke: var(--coral); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
@media (prefers-reduced-motion: no-preference) {
  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    .squiggle path {
      animation: draw-line linear both;
      animation-timeline: view();
      animation-range: entry 40% cover 45%;
    }
  }
  .hero .squiggle path { animation: draw-line .9s .7s var(--ease-out) both; animation-timeline: auto; }
}
@keyframes draw-line { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 0 20px; border-radius: 10px; font-weight: 700; font-size: 15px; border: 0; cursor: pointer; text-align: center; transition: background-color .2s, color .2s, box-shadow .2s; position: relative; overflow: hidden; isolation: isolate; }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 17px; border-radius: 12px; }
.btn-sm { min-height: 40px; padding: 0 14px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--cta); color: #fff; box-shadow: 0 10px 24px rgb(204 63 41 / 0.26); }
.btn-primary:hover { background: #B3351F; color: #fff; }
.btn-coral { background: var(--coral); color: var(--navy); font-weight: 800; }
.btn-coral:hover { background: #FF8573; }
.btn-ghost { border: 1.5px solid var(--cta); color: var(--coral-deep); font-weight: 600; background: transparent; }
.btn-ghost:hover { background: var(--coral-soft); }
.btn-outline { background: #fff; border: 1.5px solid #F0B9AC; color: var(--text); font-weight: 600; }
.btn-outline:hover { border-color: var(--cta); }
.play-ring { width: 28px; height: 28px; border-radius: 50%; border: 2px solid currentColor; display: inline-flex; align-items: center; justify-content: center; }
@media (prefers-reduced-motion: no-preference) {
  .btn { transition: background-color .2s, color .2s, box-shadow .2s, translate .25s var(--ease-out); }
  .btn:hover { translate: 0 -2px; }
  .btn:active { translate: 0 0; }
  /* light sweep across primary CTAs */
  .shine::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 35%, rgb(255 255 255 / .35) 50%, transparent 65%); translate: -120% 0; animation: shine 4.5s 2s ease-in-out infinite; pointer-events: none; }
  .btn-outline .play-ring { transition: scale .3s var(--ease-spring); }
  .btn-outline:hover .play-ring { scale: 1.15; }
}
@keyframes shine { 0%, 70% { translate: -120% 0; } 100% { translate: 120% 0; } }

/* ---------- scroll progress ---------- */
.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 60; background: var(--coral); transform-origin: 0 50%; scale: 0 1; }
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: scroll()) {
    .progress { animation: grow-x auto linear both; animation-timeline: scroll(root); }
  }
}
@keyframes grow-x { from { scale: 0 1; } to { scale: 1 1; } }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgb(255 255 255 / .9); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
@supports (animation-timeline: scroll()) {
  .site-header { animation: header-lift linear both; animation-timeline: scroll(root); animation-range: 0 120px; }
}
@keyframes header-lift { to { box-shadow: 0 8px 28px rgb(120 60 30 / .10); background: rgb(255 255 255 / .97); } }
.header-row { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo { width: 137px; height: 36px; }
/* "Agents" badge: brand red pill sitting on the logo's baseline */
.agents-badge { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; margin-top: 6px; border-radius: 7px; background: #C5312A; color: #fff; font-family: var(--font-hd); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; box-shadow: 0 4px 10px rgb(197 49 42 / .25); }
.nav-desktop { display: flex; gap: 30px; font-size: 15px; font-weight: 500; }
.nav-desktop a { position: relative; padding-block: 8px; }
.nav-desktop a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--coral); scale: 0 1; transform-origin: left; transition: scale .25s var(--ease-out); }
.nav-desktop a:hover { color: var(--coral-deep); }
.nav-desktop a:hover::after { scale: 1 1; }
.header-cta { display: flex; gap: 10px; align-items: center; }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line-2); background: #fff; align-items: center; justify-content: center; cursor: pointer; }
#mobile-nav { inset: 76px 16px auto auto; margin: 0; width: min(280px, calc(100vw - 32px)); padding: 10px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--shadow-lg); }
#mobile-nav:popover-open { display: flex; flex-direction: column; }
#mobile-nav a { padding: 12px 14px; border-radius: 10px; font-weight: 600; min-height: 44px; }
#mobile-nav a:hover { background: var(--peach); }
@media (prefers-reduced-motion: no-preference) {
  #mobile-nav { transition: opacity .2s, translate .25s var(--ease-out), display .25s allow-discrete, overlay .25s allow-discrete; opacity: 0; translate: 0 -8px; }
  #mobile-nav:popover-open { opacity: 1; translate: 0 0; }
  @starting-style { #mobile-nav:popover-open { opacity: 0; translate: 0 -8px; } }
}

/* ---------- hero ---------- */
.hero { background: var(--peach); position: relative; overflow: clip; }
.hero::before { content: ""; position: absolute; width: 720px; height: 720px; right: -180px; top: -240px; border-radius: 50%; background: radial-gradient(closest-side, rgb(255 107 87 / .16), transparent); pointer-events: none; }
.hero-flight { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: .75; }
.flight-trail { stroke: #F3B6A8; stroke-width: 2; stroke-dasharray: 2 10; stroke-linecap: round; }
.plane { offset-path: path("M-40 560 C 260 420, 420 120, 760 180 S 1180 420, 1500 90"); offset-rotate: auto; offset-distance: 62%; }
.pin circle { fill: #FF6B57; }
.pin { transform-box: fill-box; transform-origin: center; }
.hero-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 40px; align-items: center; padding-block: 64px; position: relative; }
.hero-copy { display: flex; flex-direction: column; gap: 24px; position: relative; z-index: 1; }
.live-pill { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; background: #fff; border: 1px solid #F1D5CA; border-radius: 999px; padding: 8px 16px 8px 10px; font-size: 14px; font-weight: 600; color: #3A3F4B; box-shadow: 0 6px 16px rgb(120 60 30 / .06); }
.live-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px #D6F3E5; position: relative; flex-shrink: 0; }
.live-dot.sm { width: 8px; height: 8px; box-shadow: none; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-visual { position: relative; min-height: 480px; }
.hero-photo { position: absolute; inset: 0 90px 0 0; border-radius: 28px; overflow: hidden; background: #F3E0D3; box-shadow: var(--shadow-lg); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.lead-toast { position: absolute; left: 18px; bottom: 18px; display: flex; gap: 10px; align-items: center; background: #fff; border-radius: 14px; padding: 10px 14px; font-size: 14px; line-height: 1.3; box-shadow: 0 12px 30px rgb(31 36 48 / .18); }
.toast-icon { width: 30px; height: 30px; border-radius: 50%; background: var(--green); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.chips { position: absolute; right: 0; top: 24px; width: 250px; display: flex; flex-direction: column; gap: 10px; }
.chip { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; font-size: 14px; font-weight: 700; line-height: 1.25; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.chip-ic { width: 34px; height: 34px; border-radius: 10px; background: var(--coral-soft); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.chip-ic svg, .stat-ic svg, .p-ic svg, .stage-ic svg, .c-ic svg, .ic-coral { fill: none; stroke: var(--coral-ic); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.chip-ic svg { width: 18px; height: 18px; }

@media (prefers-reduced-motion: no-preference) {
  /* staged hero entrance */
  .rise { animation: rise .8s calc(var(--i) * 110ms + 100ms) var(--ease-out) both; }
  .hero-photo { animation: photo-in 1s .25s var(--ease-out) both; }
  .hero-photo img { animation: ken-burns 18s 1.2s ease-in-out infinite alternate; }
  .chip { animation: chip-in .6s calc(var(--i) * 90ms + 600ms) var(--ease-spring) both, bob 5s calc(var(--i) * -0.8s) ease-in-out infinite; }
  .lead-toast { animation: toast 7s 1.6s var(--ease-out) infinite; }
  .live-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--green); animation: ping 1.8s ease-out infinite; }
  .plane { animation: fly 14s linear infinite; }
  .flight-trail { animation: dash 30s linear infinite; }
  .pin { animation: pin-pulse 2.6s var(--d) ease-out infinite; }
}
/* Hero text and photo are the LCP candidates: animate movement only, never opacity,
   so the largest paint is not held back by the entrance animation. */
@keyframes rise { from { translate: 0 22px; } }
@keyframes photo-in { from { scale: .96; } }
@keyframes ken-burns { from { scale: 1; } to { scale: 1.08; translate: -1.5% -1%; } }
@keyframes chip-in { from { opacity: 0; translate: 24px 0; scale: .9; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes toast { 0% { opacity: 0; translate: 0 16px; } 8%, 70% { opacity: 1; translate: 0 0; } 78%, 100% { opacity: 0; translate: 0 -8px; } }
@keyframes ping { 0% { scale: 1; opacity: .7; } 100% { scale: 2.8; opacity: 0; } }
@keyframes fly { from { offset-distance: 0%; } to { offset-distance: 100%; } }
@keyframes dash { to { stroke-dashoffset: -600; } }
@keyframes pin-pulse { 0% { scale: 1; opacity: 1; } 50% { scale: 1.8; opacity: .4; } 100% { scale: 1; opacity: 1; } }

/* ---------- live ticker ---------- */
.ticker { position: relative; display: flex; align-items: center; gap: 12px; background: var(--navy); color: #E6E8EE; padding: 0 16px 0 0; }
.ticker-viewport { flex: 1; overflow: hidden; mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.ticker-track { display: flex; gap: 48px; width: max-content; padding: 13px 0 13px 24px; font-size: 14px; white-space: nowrap; }
.ticker-track li { display: inline-flex; align-items: center; gap: 8px; }
.ticker-track li::before { content: "✓"; display: inline-flex; width: 18px; height: 18px; border-radius: 50%; background: var(--green); color: #fff; font-size: 11px; font-weight: 800; align-items: center; justify-content: center; }
.ticker-track b { color: #fff; }
.ticker-toggle { flex-shrink: 0; min-height: 32px; min-width: 64px; padding: 0 12px; border-radius: 8px; border: 1px solid #4A5163; background: transparent; color: #fff; font-size: 13px; font-weight: 600; cursor: pointer; }
.ticker-toggle:hover { background: #343A48; }
@media (prefers-reduced-motion: no-preference) {
  .ticker-track.is-running { animation: marquee var(--marquee-dur, 40s) linear infinite; }
  .ticker[data-paused] .ticker-track { animation-play-state: paused; }
}
@keyframes marquee { to { translate: -50% 0; } }

/* ---------- trust row ---------- */
.trust-row { background: #fff; border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); padding-block: 22px; }
.trust-item { display: flex; align-items: center; gap: 14px; padding: 6px 20px; border-right: 1px solid var(--line); }
.trust-item:last-child { border-right: 0; }
.g-mark { font-size: 30px; font-weight: 800; color: #4285F4; }
.iso { width: 40px; height: 40px; border-radius: 50%; border: 2px solid #1F3A8A; color: #1F3A8A; font-weight: 800; font-size: 11px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.taai { display: block; width: 42px; height: 40px; flex-shrink: 0; }

/* ---------- story ad (Sharma ji) ---------- */
.story { background: var(--white); border-bottom: 1px solid var(--line); overflow: clip; view-timeline: --story block; }
.story-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: center; }
.story-phone-wrap { position: relative; justify-self: center; perspective: 1200px; }
.story-phone-wrap::before { content: ""; position: absolute; inset: 10% -30%; border-radius: 50%; background: radial-gradient(closest-side, rgb(255 107 87 / .22), transparent); z-index: 0; }
.phone { position: relative; z-index: 1; width: min(300px, 72vw); aspect-ratio: 9 / 18.5; padding: 12px; border-radius: 44px; background: #161A23; box-shadow: 0 40px 80px rgb(31 36 48 / .28), inset 0 0 0 2px #2E3442; }
.phone-notch { position: absolute; top: 20px; left: 50%; width: 84px; height: 22px; margin-left: -42px; border-radius: 999px; background: #000; z-index: 3; }
.phone-screen { position: relative; width: 100%; height: 100%; border-radius: 34px; overflow: hidden; background: #000; }
.phone-screen iframe { width: 100%; height: 100%; border: 0; display: block; }
.ad-poster { position: absolute; inset: 0; padding: 0; border: 0; cursor: pointer; background: #2A2F3B; }
.ad-poster img { width: 100%; height: 100%; object-fit: cover; }
.ad-poster:focus-visible { outline-offset: -6px; border-radius: 34px; }
.ad-len { position: absolute; right: 14px; bottom: 16px; background: rgb(15 18 26 / .75); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 999px; }
.story-sticker { position: absolute; z-index: 2; left: -28px; top: 18%; background: var(--coral); color: var(--navy); font-weight: 800; font-size: 14px; padding: 8px 14px; border-radius: 12px; rotate: -8deg; box-shadow: 0 12px 26px rgb(204 63 41 / .3); }
.story-copy { display: flex; flex-direction: column; gap: 22px; }
.beats { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 14px; align-items: stretch; }
.beat-col { border-radius: 18px; padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.beat-before { background: #F6F7FB; }
.beat-after { background: var(--green-soft); }
.beat-h { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 15px; }
.beat-badge { width: 24px; height: 24px; border-radius: 50%; color: #fff; font-size: 12px; display: inline-flex; align-items: center; justify-content: center; }
.beat-badge.bad { background: #8A8F9C; } .beat-badge.good { background: var(--green-deep); }
.beat-col ul { display: flex; flex-direction: column; gap: 10px; font-size: 15px; line-height: 1.45; }
.pain { color: var(--muted); position: relative; }
.pain { text-decoration: line-through; text-decoration-color: rgb(204 63 41 / .7); text-decoration-thickness: 2px; }
.gain { font-weight: 600; display: flex; gap: 8px; }
.gain::before { content: "✓"; color: var(--green-deep); font-weight: 800; }
.beat-arrow { align-self: center; width: 40px; height: 40px; border-radius: 50%; background: var(--coral); display: flex; align-items: center; justify-content: center; }
.beat-arrow svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

@media (prefers-reduced-motion: no-preference) {
  .story-sticker { animation: wobble 3.5s ease-in-out infinite; }
  .beat-arrow svg { animation: nudge 1.6s ease-in-out infinite; }
  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    /* phone swings in from a 3D angle as the section scrolls into view */
    .phone { animation: phone-in linear both; animation-timeline: --story; animation-range: entry 0% cover 40%; }
    /* pains get crossed out one by one, then the gains land */
    .pain { text-decoration-color: transparent; animation: strike linear both; animation-timeline: --story; animation-range: cover calc(14% + var(--i) * 5%) cover calc(21% + var(--i) * 5%); }
    .gain { animation: gain-in linear both; animation-timeline: --story; animation-range: cover calc(25% + var(--i) * 5%) cover calc(32% + var(--i) * 5%); }
  }
}
@keyframes phone-in { from { opacity: 0; transform: rotateY(-28deg) rotateX(8deg) translateY(60px) scale(.9); } }
@keyframes strike { from { text-decoration-color: transparent; color: var(--text); } to { text-decoration-color: rgb(204 63 41 / .7); color: var(--muted); } }
@keyframes gain-in { from { opacity: 0; translate: -14px 0; } }
@keyframes wobble { 0%, 100% { rotate: -8deg; } 50% { rotate: -3deg; translate: 0 -4px; } }
@keyframes nudge { 0%, 100% { translate: 0 0; } 50% { translate: 4px 0; } }

/* ---------- reveal on scroll (view timeline) ---------- */
@media (prefers-reduced-motion: no-preference) {
  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    .reveal {
      animation: reveal-up linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 70%;
    }
  }
}
@keyframes reveal-up { from { opacity: 0; translate: 0 40px; scale: .98; } }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); padding: 28px 12px; border-radius: 24px; }
.stat { display: flex; gap: 16px; align-items: center; padding: 6px 24px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat-ic { width: 52px; height: 52px; border-radius: 14px; background: var(--coral-soft); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.stat-ic svg { width: 26px; height: 26px; }
.stat-ic-blue { background: #EEF3FF; }
.stat-ic .g-mark { font-size: 26px; }
.stat-num { font-size: 34px; font-weight: 800; font-variant-numeric: tabular-nums; }

/* ---------- product cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(400px, 100%), 1fr)); gap: 20px; }
.product { padding: 24px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 16px; align-items: start; transition: box-shadow .3s, border-color .3s; }
.product:hover { box-shadow: 0 22px 50px rgb(120 60 30 / .14); border-color: #F0C9BC; }
.product-copy { display: flex; flex-direction: column; gap: 10px; }
.product-copy p { font-size: 14px; line-height: 1.55; color: var(--muted); }
.product-title { display: flex; gap: 10px; align-items: center; }
.product-title h3 { font-size: 19px; font-weight: 800; line-height: 1.15; }
.p-ic { width: 38px; height: 38px; border-radius: 10px; background: var(--coral); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.p-ic svg { width: 20px; height: 20px; stroke: #fff; }
.p-ic-lg { width: 44px; height: 44px; border-radius: 12px; }
.p-ic-lg svg { width: 22px; height: 22px; }
.mini { border: 1px solid var(--line); border-radius: 12px; font-size: 12px; background: #fff; }
.mini i { font-style: normal; color: var(--faint); }
.mini-leads { padding: 10px; display: flex; flex-direction: column; gap: 8px; }
.mini-leads .ok { font-weight: 700; color: var(--green-deep); }
.mini-leads .row { display: flex; justify-content: space-between; align-items: center; }
.mini-leads .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.mini-crm { padding: 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; font-size: 11px; }
.mini-crm .col-h { border-radius: 6px; padding: 6px; font-weight: 700; }
.peach { background: var(--peach); } .blue { background: #EEF3FF; }
.mini-crm .tile { border: 1px solid var(--line); border-radius: 6px; padding: 6px; }
.mini-ai { padding: 10px; display: flex; flex-direction: column; gap: 7px; font-size: 11px; }
.mini-ai .field { border: 1px solid var(--line); border-radius: 6px; padding: 6px; color: var(--muted); }
.mini-ai .gen { background: var(--cta); color: #fff; border-radius: 6px; padding: 6px; text-align: center; font-weight: 700; }
.mini-web { overflow: hidden; font-size: 10px; }
.mini-web .bar { padding: 5px 8px; border-bottom: 1px solid var(--line); font-weight: 700; }
.mini-web .banner { position: relative; height: 74px; display: flex; align-items: center; padding: 8px; overflow: hidden; }
.mini-web .banner svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.mini-web .banner span { position: relative; color: #fff; font-weight: 800; font-size: 13px; line-height: 1.1; }
.mini-web .thumbs { display: flex; gap: 4px; padding: 6px; }
.mini-web .thumbs span { flex: 1; height: 20px; border-radius: 4px; background: #E9D5C6; }
.mini-web .thumbs span:nth-child(2) { background: #CFE0EA; } .mini-web .thumbs span:nth-child(3) { background: #D9E8D2; }
.mini-pkg { overflow: hidden; font-size: 11px; }
.mini-pkg .pic { position: relative; height: 62px; }
.mini-pkg .pic svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.mini-pkg .badge { position: absolute; top: 6px; left: 6px; background: #fff; color: var(--coral-deep); font-size: 9px; font-weight: 800; padding: 2px 6px; border-radius: 4px; }
.mini-pkg .body { padding: 8px; display: flex; flex-direction: column; gap: 4px; }
.mini-pkg .btns { display: flex; gap: 4px; margin-top: 2px; }
.mini-pkg .btns span { flex: 1; border-radius: 5px; padding: 5px; text-align: center; font-weight: 700; }
.mini-pkg .b1 { background: var(--cta); color: #fff; } .mini-pkg .b2 { border: 1px solid var(--line); }
.mini-net { width: 100%; height: auto; }
.mini-net .hub-ring { transform-box: fill-box; transform-origin: center; opacity: 0; }

@media (prefers-reduced-motion: no-preference) {
  .product { transition: box-shadow .3s, border-color .3s, translate .35s var(--ease-out); }
  .product:hover { translate: 0 -4px; }
  .mini-leads .row { animation: row-in 4.8s ease-in-out infinite; }
  .mini-leads .row:nth-child(3) { animation-delay: .4s; } .mini-leads .row:nth-child(4) { animation-delay: .8s; }
  .mini-leads .dot { animation: blink 1.6s ease-in-out infinite; }
  .mini-crm .tile:nth-child(3) { animation: hop 5s ease-in-out infinite; }
  .mini-ai .gen { animation: press 4s ease-in-out infinite; }
  .mini-ai .typed { clip-path: inset(0 100% 0 0); animation: type 4s steps(28) infinite; }
  .mini-web .mtn { animation: drift 8s ease-in-out infinite alternate; }
  .flow path { animation: dash-flow 1.6s linear infinite; }
  .mini-net .hub-ring { animation: ring 2.4s ease-out infinite; }
}
@keyframes row-in { 0%, 8% { opacity: 0; translate: -6px 0; } 18%, 85% { opacity: 1; translate: 0 0; } 100% { opacity: 0; } }
@keyframes blink { 50% { opacity: .35; } }
@keyframes hop { 0%, 40% { translate: 0 0; box-shadow: none; } 50%, 90% { translate: calc(100% + 6px) 0; box-shadow: 0 6px 14px rgb(0 0 0 / .1); background: #fff; } 100% { translate: 0 0; } }
@keyframes press { 0%, 20%, 30%, 100% { scale: 1; } 25% { scale: .94; } }
@keyframes type { 0%, 25% { clip-path: inset(0 100% 0 0); } 70%, 100% { clip-path: inset(0 0 0 0); } }
@keyframes drift { to { translate: -14px 0; } }
@keyframes dash-flow { to { stroke-dashoffset: -12; } }
@keyframes ring { 0% { opacity: .8; scale: 1; } 100% { opacity: 0; scale: 2.2; } }

.cta-row { display: flex; justify-content: center; align-items: center; gap: 16px; flex-wrap: wrap; }
.t-cta { font-size: 20px; font-weight: 800; }

/* ---------- stages ---------- */
.split-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: end; }
.stage-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 18px; }
.stage { padding: 26px; display: flex; flex-direction: column; gap: 16px; }
.stage h3 { font-size: 26px; font-weight: 800; }
.stage p { margin-top: 6px; color: var(--muted); font-size: 15px; }
.stage-top { display: flex; justify-content: space-between; align-items: center; }
.num { font-size: 14px; font-weight: 800; color: var(--coral-deep); }
.stage-ic { width: 44px; height: 44px; border-radius: 12px; background: var(--coral-soft); display: flex; align-items: center; justify-content: center; }
.stage-ic svg { width: 22px; height: 22px; }
.ticks { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.ticks li { display: flex; gap: 10px; }
.ticks li::before { content: "✓"; color: var(--green-deep); font-weight: 700; }
.ticks-lg { font-size: 16px; font-weight: 600; }
.more { margin-top: auto; font-weight: 700; font-size: 15px; color: var(--coral-deep); display: inline-flex; gap: 6px; min-height: 44px; align-items: center; }
.stage-dark { background: var(--navy); color: #fff; border-radius: var(--radius); }
.stage-dark .num { color: #FF8A78; }
.stage-dark p { color: #C8CCD6; }
.stage-dark .stage-ic { background: #343A48; }
.stage-dark .stage-ic svg { stroke: #FF8A78; }
.stage-dark .ticks { color: #E6E8EE; }
.stage-dark .ticks li::before { color: #FF8A78; }
.stage-dark .more { color: #fff; }
@media (prefers-reduced-motion: no-preference) {
  .stage { transition: translate .35s var(--ease-out), box-shadow .3s; }
  .stage:hover { translate: 0 -6px; box-shadow: 0 22px 50px rgb(120 60 30 / .14); }
  .stage .stage-ic { transition: rotate .4s var(--ease-spring), scale .4s var(--ease-spring); }
  .stage:hover .stage-ic { rotate: -8deg; scale: 1.1; }
}

/* ---------- product tour (tabs) ---------- */
.tour { border-radius: 24px; background: var(--peach); border: 1px solid var(--line); padding: 26px; display: flex; flex-direction: column; gap: 18px; }
.tablist { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: inline proximity; scrollbar-width: none; padding: 4px; margin: -4px; }
.tablist::-webkit-scrollbar { display: none; }
[role="tab"] { flex: none; scroll-snap-align: start; position: relative; background: #fff; color: var(--text); border: 1px solid var(--line-2); border-radius: 999px; padding: 0 18px; min-height: 44px; font-weight: 600; font-size: 14px; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
[role="tab"]:hover { border-color: var(--cta); }
[role="tab"][aria-selected="true"] { background: var(--coral-ic); color: #fff; border-color: var(--coral-ic); }
[role="tab"][aria-selected="true"]::after { content: ""; position: absolute; left: 18px; right: 18px; bottom: 7px; border-bottom: 2px solid #fff; }
.app-window { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: 0 30px 70px rgb(120 60 30 / .12); }
.app-chrome { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: #FFFCFA; }
.app-chrome .d { width: 10px; height: 10px; border-radius: 50%; }
.d.r { background: #FF6B57; } .d.y { background: #F2A516; } .d.g { background: var(--green); }
.url { margin-left: 14px; font-size: 12px; color: var(--faint); }
.app-body { display: flex; min-height: 380px; }
.app-side { flex: 0 0 200px; background: var(--navy); color: #C8CCD6; padding: 20px 16px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.app-side .ws { color: #fff; font-weight: 700; margin-bottom: 10px; }
.side-item { padding: 9px 12px; border-radius: 8px; transition: background-color .25s, color .25s; }
.side-item.is-on { background: var(--coral-ic); color: #fff; }
.panels { flex: 1; min-width: 0; display: grid; }
.panels > [role="tabpanel"] { grid-area: 1 / 1; min-width: 0; }
.panels > [role="tabpanel"]:focus-visible { outline-offset: -3px; }
.panel-in { padding: 22px; display: flex; flex-direction: column; gap: 16px; view-transition-name: tour-panel; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.kpi { border: 1px solid var(--line); border-radius: 12px; padding: 14px; display: flex; flex-direction: column; }
.kpi span { font-size: 12px; color: var(--faint); }
.kpi b { font-size: 26px; font-weight: 800; }
.table-box { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 560px; }
th { background: #FFF8F4; text-align: left; color: var(--muted); font-weight: 600; padding: 10px 14px; }
td { padding: 12px 14px; border-top: 1px solid var(--line); }
.tag { display: inline-block; padding: 3px 10px; border-radius: 999px; font-weight: 600; font-size: 12px; }
/* continued in styles-2.css */
