/* Home page, redesigned 2026-10-31 (design/landing/REDESIGN_BRIEF_2026-10-31.md). Light only (owner rule).
   Sections: hero, everyday problems (.why, pinned), paper to Bisro (.p2d, pinned), features (.feat grid), Chinni
   (pinned), how it works, shop types (pinned aperture), privacy and trust, FAQ, closing call to action.
   Real app screens always sit in a device frame inside a scene (.dev); missing images are labelled slots (.slot). */

/* ---------- shared: device frame, slot, scene ---------- */
.dev { position: relative; margin: 0; width: clamp(150px, 15vw, 230px); aspect-ratio: 1080 / 2340; padding: 6px; border-radius: 30px;
  background: linear-gradient(160deg, #FFFFFF, #E4EBF3); border: 1px solid #D5DEE9; box-shadow: 0 40px 70px -34px rgba(0,49,91,.45), 0 4px 12px rgba(0,49,91,.08) }
.dev .dev-s, .dev .dev-s img { display: block; width: 100%; height: 100%; border-radius: 24px; object-fit: cover; object-position: top }
.dev figcaption { position: absolute; left: 50%; bottom: -30px; translate: -50% 0; white-space: nowrap; padding: 3px 10px; border-radius: 99px; background: rgba(255,255,255,.94); font-size: 12px; color: var(--muted) }
.slot { display: grid; place-items: center; padding: 18px; text-align: center; border-radius: inherit; background: repeating-linear-gradient(135deg, #F3F6FA 0 12px, #EAF0F6 12px 24px); border: 2px dashed #B9C6D6; color: #4A5A6E; font-size: 14px; font-weight: 600 }
.dev-slot { display: grid; place-items: center; padding: 18px; text-align: center; background: repeating-linear-gradient(135deg, #F3F6FA 0 10px, #EAF0F6 10px 20px); border: 2px dashed #B9C6D6; color: #4A5A6E; font-size: 13px; font-weight: 600; line-height: 1.35 }
.scene { position: absolute; inset: 0 }
.scene .sc-ph { position: absolute; inset: 0; border-radius: 30px; overflow: hidden; box-shadow: 0 50px 90px -50px rgba(0,49,91,.45) }
.sc-ph img, .fg-bg img, .hero-ph img, .ap-img img { display: block; width: 100%; height: 100%; object-fit: cover }
.scene .dev { position: absolute; right: 6%; bottom: -4%; rotate: -4deg }

/* ---------- hero ---------- */
.hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; gap: 3vw; min-height: max(92vh, 700px); padding: 104px var(--gl) 60px; max-width: 1440px; margin: 0 auto }
.hero-in { position: relative; z-index: 2 }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; border-radius: 999px; background: #fff; border: 1px solid var(--border); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--link) }
.pill i { width: 22px; height: 22px; border-radius: 50%; background: var(--sky-light); display: grid; place-items: center; font-style: normal } .pill i svg { width: 12px; height: 12px }
.hero h1 { margin: 22px 0 0; font: 800 clamp(42px, 4.8vw, 76px)/1.03 var(--font); letter-spacing: -0.035em; text-wrap: balance }
.hero h1 em { display: block; font-style: normal; color: var(--sky-dark) }
.hero-sub { margin: 20px 0 0; font: 700 clamp(19px, 1.6vw, 24px)/1.35 var(--font); color: #2F3640; max-width: 26em }
.hero .lede { margin: 14px 0 0; font-size: clamp(16.5px, 1.2vw, 19px); color: var(--muted); max-width: 32em }
.hero .cta, .end-cta .cta { display: flex; flex-wrap: wrap; gap: 12px 14px; margin-top: 30px }
.scroll-cue { display: inline-flex; align-items: center; gap: 10px } .scroll-cue i { width: 22px; height: 22px; border-radius: 50%; border: 2px solid currentColor; display: grid; place-items: center; font-style: normal; font-size: 12px }
.facts { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 30px 0 0; padding: 0; list-style: none; font-size: 15px; color: #2F3640 }
.facts li { display: flex; align-items: center; gap: 8px } .facts li::before { content: ""; width: 14px; height: 14px; flex: none; background: var(--teal); -webkit-mask: var(--check) center / contain no-repeat; mask: var(--check) center / contain no-repeat }
.hero-vis { position: relative; height: min(76vh, 700px) }
.hero-ph { position: absolute; inset: 0 0 0 4%; border-radius: 34px; overflow: hidden; box-shadow: 0 60px 100px -60px rgba(0,49,91,.5) }
.hero-ph img { object-position: 70% 40% }
.hero-dev { position: absolute; left: -2%; bottom: 7%; rotate: -5deg; width: clamp(150px, 13vw, 210px) }
/* restrained entrance: text is readable at once; the photo settles in and the phone slides up (once, 600 ms) */
@media (prefers-reduced-motion: no-preference) {
  .hero-ph { animation: hero-in .6s cubic-bezier(.2,.7,.2,1) both } .hero-dev { animation: dev-in .6s .25s cubic-bezier(.2,.7,.2,1) both }
  @keyframes hero-in { from { opacity: 0; transform: scale(1.04) } } @keyframes dev-in { from { opacity: 0; translate: 0 30px } }
}

/* ---------- everyday problems (pinned, one problem per scroll step) ---------- */
.why { position: relative; height: 380vh }   /* 4 problems, ~70vh each */
.pp { position: sticky; top: 0; height: 100vh; min-height: 640px; overflow: hidden; display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); align-items: center; gap: 5vw; padding: 90px var(--gl) 50px; background: #F1F4F9 }
.why-l { position: relative; z-index: 2; min-height: 380px }
.why-kick, .p2d-kick, .sec-kick, .sp-kick { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; color: var(--link); margin-bottom: 16px }
.why-kick { color: var(--red) } .why-kick::before, .p2d-kick::before, .sec-kick::before, .sp-kick::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor }
.why-h { margin: 0 0 26px; font: 800 clamp(24px, 2.2vw, 34px)/1.15 var(--font); letter-spacing: -0.02em; color: #22324A; max-width: 22em }
.ctr { font: 700 15px/1 var(--font); color: var(--faint); letter-spacing: .04em; margin-bottom: 12px } .ctr b { color: var(--ink); font-size: 22px }
.pts { position: relative; height: 250px }
.pt { position: absolute; inset: 0; opacity: 0; will-change: opacity, transform }
.pt h3 { margin: 0; font: 800 clamp(28px, 2.9vw, 46px)/1.07 var(--font); letter-spacing: -0.03em; text-wrap: balance }
.pt p { margin: 14px 0 0; font-size: clamp(16.5px, 1.2vw, 19px); color: var(--muted); max-width: 30em }
.pt-more { display: inline-block; margin-top: 14px; color: var(--link); font-weight: 700; text-decoration: none } .pt-more:hover { text-decoration: underline }
.pbar { display: flex; gap: 6px; margin-top: 26px } .pbar i { width: 34px; height: 4px; border-radius: 4px; background: #D5DEEA; transition: background .3s } .pbar i.on { background: var(--red) }
.pimgs { position: relative; height: min(70vh, 620px) }
.pimg { position: absolute; inset: 0 4% 4% 0; opacity: 0; will-change: opacity, transform }
.pimg-2 .scene .dev { right: auto; left: 5%; rotate: 4deg }
.pimg-3 .scene .dev { right: 30%; bottom: -6%; rotate: 0deg; width: clamp(140px, 13vw, 200px) }

/* ---------- paper to Bisro (pinned, two states) ---------- */
.p2d { position: relative; height: 240vh; background: linear-gradient(180deg, #F1F4F9, var(--bg) 22%) }
.p2p { position: sticky; top: 0; height: 100vh; min-height: 640px; overflow: hidden; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: 5vw; padding: 90px var(--gl) 50px; max-width: 1440px; margin: 0 auto }
.p2d-kick { color: var(--teal) }
.p2d h2 { margin: 0; font: 800 clamp(32px, 3.3vw, 52px)/1.06 var(--font); letter-spacing: -0.03em; text-wrap: balance }
.p2d-l > p { margin: 18px 0 0; color: var(--muted); font-size: clamp(16.5px, 1.2vw, 19px); max-width: 32em }
.p2d-ben { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 12px }
.p2d-ben li { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 17px; color: var(--faint); transition: color .4s }
.p2d-ben li::before { content: ""; width: 26px; height: 26px; flex: none; border-radius: 50%; background: #E3EAF2 var(--check) center / 14px no-repeat; transition: background-color .4s }
.p2d-ben li.on { color: var(--ink) } .p2d-ben li.on::before { background-color: #BDEBDD }
.p2d-stage { position: relative; height: min(72vh, 640px) }
.p2d-paper { position: absolute; inset: 4% 20% 8% 0; margin: 0; will-change: transform, opacity }
.p2d-paper .sc-ph { position: absolute; inset: 0; border-radius: 26px; overflow: hidden; box-shadow: 0 50px 90px -50px rgba(0,49,91,.45) }
.p2d-paper figcaption, .p2d-phone figcaption { position: absolute; top: 14px; left: 14px; padding: 6px 12px; border-radius: 99px; background: rgba(255,255,255,.92); font-size: 13px; font-weight: 700; color: var(--ink) }
.p2d-phone { position: absolute; right: 2%; bottom: 0; width: clamp(180px, 17vw, 260px); opacity: 0; will-change: transform, opacity }
.p2d-phone figcaption { top: auto; left: 50%; bottom: -34px; translate: -50% 0; white-space: nowrap; background: var(--sky-light); color: var(--link) }
.p2d-note { position: absolute; left: 0; bottom: -8px; margin: 0; font-size: 12.5px; color: var(--faint) }

/* ---------- features: an editorial grid, every card a different shape ---------- */
.feat h2 { max-width: 18em }
.fg { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: minmax(230px, auto); gap: 18px }
.fg-c > a { position: relative; display: grid; height: 100%; overflow: hidden; border-radius: 26px; background: #fff; border: 1px solid var(--border); text-decoration: none; color: inherit; transition: border-color .25s, box-shadow .25s, translate .25s }
.fg-c > a:hover { border-color: #9BD6F6; box-shadow: 0 30px 60px -40px rgba(0,49,91,.45); translate: 0 -2px }
.fg-t { position: relative; z-index: 2; padding: 26px 26px 22px } .fg-t h3 { margin: 0; font-size: clamp(20px, 1.6vw, 26px); letter-spacing: -0.02em } .fg-t p { margin: 8px 0 0; color: var(--muted); font-size: 15.5px; max-width: 26em }
.fg-more { display: inline-flex; gap: 6px; margin-top: 14px; color: var(--link); font-weight: 700; font-size: 15px } .fg-more i { font-style: normal; transition: translate .25s } .fg-c > a:hover .fg-more i { translate: 3px 0 }
.fg-v { position: relative; min-height: 220px; overflow: hidden }
.fg-v .dev { position: absolute; left: 50%; top: 18px; translate: -50% 0; width: clamp(150px, 13vw, 210px) }
.fg-bg { position: absolute; inset: 0 } .fg-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.55) 45%, rgba(255,255,255,0) 75%) }
/* the layout: khata large, billing and stock stacked beside it, three small cards, reports as a wide band */
.fg-khata { grid-column: 1 / 8; grid-row: span 2 } .fg-billing, .fg-inventory { grid-column: 8 / 13 }
.fg-cashbook { grid-column: 1 / 5 } .fg-reminders { grid-column: 5 / 9 } .fg-staff { grid-column: 9 / 13 } .fg-reports { grid-column: 1 / 13 }
.fg-khata > a, .fg-reports > a { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) }
.has-bg > a { display: block } .has-bg .fg-v { position: absolute; inset: 0; min-height: 0 } .has-bg .fg-t { max-width: 44% }
.fg-khata .fg-v .dev { left: auto; right: 8%; top: auto; bottom: -12%; translate: none; rotate: -4deg; width: clamp(190px, 17vw, 260px) }
.fg-reports > a { min-height: 330px } .fg-reports .fg-v .dev { left: auto; right: 10%; top: 26px; translate: none; rotate: 3deg }
.fg-billing > a, .fg-inventory > a { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr) } .fg-billing .fg-v .dev, .fg-inventory .fg-v .dev { top: 22px; width: clamp(130px, 10vw, 170px) }
.fg-cashbook > a, .fg-reminders > a, .fg-staff > a { grid-template-rows: auto 1fr } .fg-cashbook .fg-v, .fg-reminders .fg-v, .fg-staff .fg-v { min-height: 200px }
.fg-reminders .fg-v { background: linear-gradient(180deg, #fff, #E7F8EE) } .fg-staff .fg-v { background: linear-gradient(180deg, #fff, #FFF6E0) } .fg-cashbook .fg-v { background: linear-gradient(180deg, #fff, #EAF4FC) }
.fg-billing .fg-v { background: linear-gradient(160deg, #F4F9FE, #E3F2FC) } .fg-inventory .fg-v { background: linear-gradient(160deg, #FBF7EE, #F6EDD8) }

/* ---------- Chinni (pinned; each scene types itself, Chinni replies, the button is pressed, the result pops out) ---------- */
.chinni { position: relative; height: 440vh; background: linear-gradient(180deg, var(--bg), #EEF7FE 40%, var(--bg)) }
.chp { position: sticky; top: 0; height: 100vh; min-height: 720px; overflow: hidden; display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: center; gap: 4vw; padding: 90px var(--gl) 60px; max-width: 1440px; margin: 0 auto }
.chp::before { content: ""; position: absolute; width: 60vw; height: 60vw; right: -12vw; top: -10vw; background: radial-gradient(closest-side, rgba(56,189,248,.22), transparent); pointer-events: none }
.ch-l { position: relative; z-index: 2 }
.ch-kick { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 700; color: var(--link); margin-bottom: 14px }
.ch-dot { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #38BDF8, #0284C7) } .ch-dot svg { width: 14px; height: 14px }
.chinni h2 { margin: 0; font: 800 clamp(32px, 3.3vw, 52px)/1.06 var(--font); letter-spacing: -0.03em; text-wrap: balance } .chinni h2 em { display: block; font-style: normal; color: var(--sky-dark) }
.ch-p { margin: 16px 0 0; color: var(--muted); font-size: clamp(16px, 1.15vw, 18px); max-width: 32em }
.ch-steps { list-style: none; counter-reset: cs; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px }
.ch-steps li { counter-increment: cs; display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px 6px 6px; border-radius: 99px; background: #fff; border: 1px solid var(--border); font-size: 13.5px; font-weight: 600 }
.ch-steps li::before { content: counter(cs); width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: var(--sky-light); color: var(--link); font-size: 11.5px; font-weight: 800 }
.ch-steps li:last-child { background: #E6F7F1; border-color: #BDEBDD } .ch-steps li:last-child::before { background: #BDEBDD; color: #0B6B50 }
.ch-caps { position: relative; height: 70px; margin-top: 18px }
.ch-cap { position: absolute; inset: 0; opacity: 0; will-change: opacity, transform } .ch-cap b { display: block; font-size: 20px; letter-spacing: -0.01em } .ch-cap span { color: var(--muted) }
.ch-more { display: inline-block; margin-top: 8px; color: var(--link); font-weight: 700; text-decoration: none } .ch-more:hover { text-decoration: underline }
.ch-stage { position: relative; height: min(70vh, 600px); perspective: 1600px }
.ch-win { position: absolute; left: 6%; top: 4%; width: min(440px, 72%); height: 88%; background: #fff; border: 1px solid var(--border); border-radius: 30px; box-shadow: 0 50px 90px -40px rgba(0,49,91,.45), 0 4px 14px rgba(0,49,91,.06); display: flex; flex-direction: column; overflow: hidden; transform: rotateY(-10deg) rotateX(4deg); transform-origin: 30% 50%; will-change: transform }
.ch-top { display: flex; align-items: center; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--border) } .ch-top b { display: block; font-size: 17px } .ch-top small { color: var(--muted); font-size: 13px }
.ch-av { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 800; background: linear-gradient(135deg, #38BDF8, #0284C7) }
.ch-body { position: relative; flex: 1; background: var(--bg) }
.ch-scene { position: absolute; inset: 0; padding: 22px 18px; display: flex; flex-direction: column; gap: 12px; opacity: 0 }
.b { max-width: 84%; padding: 12px 16px; border-radius: 20px; font-size: 16px; line-height: 1.45 }
.b.u { align-self: flex-end; background: var(--sky); color: var(--ink); font-weight: 600; border-bottom-right-radius: 6px; min-height: 46px; min-width: 40px }
.b.bot { align-self: flex-start; background: #fff; border: 1px solid var(--border); border-bottom-left-radius: 6px; opacity: 0 }
.dots { display: inline-flex; gap: 4px } .dots i { width: 7px; height: 7px; border-radius: 50%; background: #9AB3C8 }
.bt { display: block } .ch-btn { all: unset; display: inline-block; margin-top: 10px; padding: 8px 16px; border-radius: 99px; background: var(--sky-dark); color: #fff; font-weight: 700; font-size: 14px; opacity: 0; transition: none }
.ch-input { margin: 12px; padding: 13px 16px; border-radius: 99px; background: #EFF4FF; color: var(--faint); font-size: 15px; display: flex; justify-content: space-between } .ch-send { display: grid; place-items: center; color: var(--link) } .ch-send svg { width: 16px; height: 16px }
.ch-res { position: absolute; right: 2%; top: 30%; width: min(300px, 44%); background: #fff; border: 1px solid var(--border); border-radius: 22px; padding: 20px; box-shadow: 0 40px 70px -34px rgba(0,49,91,.45); opacity: 0; will-change: opacity, transform }
.cr-k { font-size: 13.5px; font-weight: 600; color: var(--muted); margin-bottom: 6px }
.cr-big { font: 800 34px/1.1 var(--font); letter-spacing: -0.02em } .cr-big s { font-size: 20px; color: #A9B4C2; font-weight: 600; margin-right: 6px } .cr-big small { font-size: 14px; color: var(--muted); font-weight: 600 }
.cr-ok { margin-top: 12px; display: inline-block; padding: 6px 11px; border-radius: 99px; background: #DDF6EE; color: #0B7A5B; font-size: 13px; font-weight: 700 }
.cr-ok::before { content: ""; display: inline-block; width: .95em; height: .95em; margin-right: 6px; vertical-align: -.12em; background: currentColor; -webkit-mask: var(--check) center / contain no-repeat; mask: var(--check) center / contain no-repeat }
.cr-row { display: flex; justify-content: space-between; padding: 9px 0; border-top: 1px solid var(--border); font-size: 14.5px } .cr-row b { color: var(--red) }
.ch-rail { position: absolute; left: var(--gl); bottom: 30px; display: flex; gap: 6px } .ch-rail i { width: 34px; height: 4px; border-radius: 4px; background: #D5DEEA; transition: background .3s } .ch-rail i.on { background: var(--sky-dark) }

/* ---------- how it works ---------- */
.how h2 { max-width: 16em; margin-bottom: 40px }
.steps3 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--border) }
.step3 { padding: 28px 28px 0 0 } .step3 + .step3 { padding-left: 28px; border-left: 1px solid var(--border) }
.st-n { display: block; font: 800 clamp(44px, 4vw, 64px)/1 var(--font); letter-spacing: -0.04em; color: #2F86C2; margin-bottom: 14px }   /* large text: 3.9:1 on the page background */
.step3 h3 { margin: 0 0 6px; font-size: 21px } .step3 p { margin: 0; color: var(--muted); font-size: 16px; max-width: 24em }

/* ---------- shop types: scroll-driven category list + aperture reveal ---------- */
.shops { position: relative; height: 460vh }   /* 6 shops */
.sp { position: sticky; top: 0; height: 100vh; min-height: 680px; overflow: hidden; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: 4vw; padding: 86px var(--gl) 40px; max-width: 1440px; margin: 0 auto }
.sp-l h2 { margin: 0 0 22px; font: 800 clamp(26px, 2.5vw, 40px)/1.1 var(--font); letter-spacing: -0.03em; text-wrap: balance }
.cats { list-style: none; margin: 0; padding: 0 }
.cat { position: relative; border-top: 1px solid var(--border); padding: 12px 0 }
.cat-h { display: flex; align-items: baseline; gap: 14px; font: 700 clamp(18px, 1.5vw, 22px)/1.2 var(--font); color: var(--faint); transition: color .5s }
.cat-n { font-size: 13px; font-weight: 700; color: var(--faint); letter-spacing: .05em; transition: color .5s }
.cat-b { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .7s cubic-bezier(.2,.7,.2,1) } .cat-b > ul { overflow: hidden; margin: 0; padding: 0 0 0 34px; list-style: none }
.cat-b li { position: relative; padding: 6px 0 0 22px; color: var(--muted); font-size: 16px; opacity: 0; transform: translateY(8px); transition: opacity .5s, transform .5s }
.cat-b li::before { content: ""; position: absolute; left: 0; top: .72em; width: 14px; height: 14px; background: var(--teal); -webkit-mask: var(--check) center / contain no-repeat; mask: var(--check) center / contain no-repeat }
.cat-more::before { display: none } .cat-b li.cat-more { padding-left: 0 } .cat-more a { color: var(--link); font-weight: 700; text-decoration: none } .cat-more a:hover { text-decoration: underline }
.cat.on .cat-h { color: var(--ink) } .cat.on .cat-n { color: var(--link) } .cat.on .cat-b { grid-template-rows: 1fr }
.cat.on .cat-b li { opacity: 1; transform: none } .cat.on .cat-b li:nth-child(2) { transition-delay: .08s } .cat.on .cat-b li:nth-child(3) { transition-delay: .16s }
.cat-bar { position: absolute; left: 0; right: 0; top: -1px; height: 2px; overflow: hidden } .cat-bar b { display: block; height: 100%; width: 0; background: var(--sky-dark) }
.sp-more { margin: 16px 0 0; color: var(--faint); font-size: 14.5px; max-width: 34em }
.ap { position: relative; height: min(72vh, 640px); border-radius: 34px; overflow: hidden; background: #DDE6F0; box-shadow: 0 50px 90px -50px rgba(0,49,91,.55) }
.ap-img { position: absolute; inset: 0; display: block; will-change: clip-path, transform }
.ap-tag { position: absolute; left: 22px; bottom: 22px; height: 38px; width: max-content; overflow: hidden; border-radius: 99px; background: rgba(255,255,255,.88); backdrop-filter: blur(10px) }
.ap-tag span { display: block; height: 38px; line-height: 38px; padding: 0 16px; font-weight: 700; font-size: 14.5px; color: var(--ink); white-space: nowrap; will-change: transform }

/* ---------- privacy and trust ---------- */
.trust { max-width: none; background: linear-gradient(180deg, var(--bg), #EEF7F3 30%, #EEF7F3 70%, var(--bg)) }
.tr-in { max-width: 1320px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 6vw; align-items: center }
.trust .sec-kick { color: #0B7A5B }
.tr-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 32px }
.tr-list li { padding-top: 16px; border-top: 2px solid #9ED8C3 } .tr-list h3 { margin: 0; font-size: 18.5px } .tr-list p { margin: 6px 0 0; color: var(--muted); font-size: 15.5px }
.tr-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px }
.tr-links a { padding: 10px 16px; border-radius: 99px; background: #fff; border: 1px solid var(--border); color: var(--link); font-weight: 700; font-size: 15px; text-decoration: none } .tr-links a:hover { border-color: var(--sky) }
.tr-dev { justify-self: center; rotate: 3deg; width: clamp(200px, 18vw, 270px) }

/* ---------- closing call to action ---------- */
.end-cta { padding: 0 var(--gl) clamp(80px, 12vh, 130px) }
.ec-in { max-width: 1320px; margin: 0 auto; padding: clamp(40px, 6vw, 80px); border-radius: 34px; background: radial-gradient(70% 90% at 85% 20%, #D6EEFC, rgba(214,238,252,0) 70%), linear-gradient(140deg, #F4F9FE, #E8F4FC); border: 1px solid #D5E7F5 }
.ec-in h2 { margin: 0; font: 800 clamp(30px, 3.2vw, 50px)/1.06 var(--font); letter-spacing: -0.03em; max-width: 18em; text-wrap: balance } .ec-in p { margin: 16px 0 0; color: var(--muted); max-width: 36em; font-size: 18px }

/* ---------- scene controls on every pinned section (templates/_scenes.html, owner 2026-10-31) ---------- */
.scn { position: absolute; right: var(--gl); bottom: 24px; z-index: 4; display: flex; align-items: center; gap: 2px; padding: 4px; border-radius: 999px; background: rgba(255,255,255,.92); border: 1px solid var(--border); box-shadow: 0 12px 26px -16px rgba(0,49,91,.4); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px) }
.scn[hidden], .scn-line[hidden], .scn-hint[hidden] { display: none }
.scn-b { all: unset; box-sizing: border-box; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; color: var(--ink); transition: background .2s, opacity .2s }
.scn-b:hover { background: var(--sky-light) } .scn-b:focus-visible { outline: 3px solid var(--sky-dark); outline-offset: 2px }
.scn-b[aria-disabled="true"] { opacity: .35; cursor: default } .scn-b[aria-disabled="true"]:hover { background: none }
.scn-b svg { width: 18px; height: 18px }
.scn-c { min-width: 50px; text-align: center; font: 700 14px/1 var(--font); font-variant-numeric: tabular-nums; color: var(--muted) } .scn-c b { color: var(--ink) }
.scn-line { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; z-index: 4; background: rgba(15,23,42,.06) }
.scn-line i { display: block; height: 100%; background: var(--sky-dark); transform-origin: 0 50%; transform: scaleX(0) }
.scn-hint { position: absolute; left: 50%; bottom: 32px; translate: -50% 0; z-index: 4; padding: 8px 16px; border-radius: 999px; background: rgba(255,255,255,.92); font-size: 14px; font-weight: 600; color: var(--muted); white-space: nowrap; opacity: 0; transition: opacity .35s; pointer-events: none }
.scn-hint span { display: inline-block; animation: scn-nudge 1.4s ease-in-out 3 }   /* three nudges, then still */
@keyframes scn-nudge { 50% { transform: translateY(4px) } }

/* ---------- tablets and phones ---------- */
@media (max-width: 980px) {
  /* hero: the message first, then the picture (keeps the headline above the fold and makes it the LCP) */
  .hero { grid-template-columns: minmax(0, 1fr); min-height: 0; padding-top: 96px; gap: 34px }
  .hero-vis { height: min(64vw, 440px) } .hero-ph { inset: 0 } .hero-dev { left: 4%; bottom: -6%; width: clamp(110px, 26vw, 170px) }
  .pp, .p2p, .chp, .sp { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; align-items: start; padding-top: 76px; gap: 12px }
  .why-l { order: 2; min-height: 0 } .why-h { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: 0 }   /* hidden on phones, still announced */
  .pts { height: 230px } .pimgs { order: 1; height: 40vh } .pt h3 { font-size: clamp(24px, 6.6vw, 32px) } .pt p { font-size: 15.5px; margin-top: 8px }
  .scene .dev, .pimg-3 .scene .dev { width: clamp(92px, 24vw, 140px); bottom: -6% }
  .p2d h2 { font-size: clamp(24px, 6.4vw, 32px) } .p2d-l > p { display: none } .p2d-ben { margin-top: 12px; gap: 6px } .p2d-ben li { font-size: 15px } .p2d-ben li::before { width: 22px; height: 22px }
  .p2d-stage { height: 44vh } .p2d-paper { inset: 0 26% 10% 0 } .p2d-phone { width: clamp(110px, 30vw, 170px) }
  .fg { grid-template-columns: minmax(0, 1fr); grid-auto-rows: auto }
  .fg-c, .fg-khata, .fg-billing, .fg-inventory, .fg-cashbook, .fg-reminders, .fg-staff, .fg-reports { grid-column: 1 / -1; grid-row: auto }
  .fg-c > a, .fg-khata > a, .fg-reports > a, .fg-billing > a, .fg-inventory > a { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 240px; min-height: 0 }
  .has-bg > a { display: grid } .has-bg .fg-v { position: relative; inset: auto } .has-bg .fg-t { max-width: none } .fg-bg::after { background: linear-gradient(180deg, rgba(255,255,255,.2), rgba(255,255,255,0)) }
  .fg-v .dev, .fg-khata .fg-v .dev, .fg-reports .fg-v .dev, .fg-billing .fg-v .dev, .fg-inventory .fg-v .dev { left: 50%; right: auto; top: 18px; bottom: auto; translate: -50% 0; rotate: 0deg; width: 150px }
  .chinni h2 { font-size: clamp(26px, 7vw, 34px) } .ch-p { display: none } .ch-steps { margin-top: 10px } .ch-steps li { font-size: 12px; padding: 4px 9px 4px 4px }
  .ch-caps { height: 58px; margin-top: 10px } .ch-cap b { font-size: 17px } .ch-cap span { font-size: 14px } .ch-more { display: none }
  .ch-stage { height: 50vh } .ch-win { left: 0; width: 86%; transform: none } .ch-res { right: 0; top: auto; bottom: 0; width: 64%; padding: 14px } .cr-big { font-size: 26px }
  .ch-rail { bottom: 16px }
  .shops { height: 440vh } .sp-l { order: 2 } .ap { order: 1; height: 36vh } .sp-l h2 { font-size: 22px; margin-bottom: 10px } .sp-more { display: none }
  .cat { padding: 8px 0 } .cat:not(.on) { display: none } .cat-h { font-size: 20px } .cat-b li { font-size: 15px }
  .steps3 { grid-template-columns: minmax(0, 1fr) } .step3, .step3 + .step3 { padding: 22px 0 0; border-left: 0 } .step3 + .step3 { border-top: 1px solid var(--border); margin-top: 22px }
  .tr-in { grid-template-columns: minmax(0, 1fr) } .tr-list { grid-template-columns: minmax(0, 1fr) } .tr-dev { width: 190px }
  .scn { right: 12px; bottom: 12px; padding: 0 } .scn-b { display: none } .scn-c { min-width: 0; padding: 8px 12px; font-size: 13px }
  .scn-hint { bottom: auto; top: 50%; font-size: 13px }
}
@media (max-width: 380px) { .pts { height: 260px } }

/* ---------- reduced motion: nothing pinned, every scene shown in order ---------- */
@media (prefers-reduced-motion: reduce) {
  .why, .p2d, .chinni, .shops { height: auto } .pp, .p2p, .chp, .sp { position: relative; height: auto; min-height: 0 }
  .pts { height: auto } .pt { position: relative; opacity: 1 !important; margin-bottom: 26px }
  .pimgs { height: auto; display: grid; gap: 20px } .pimg { position: relative; inset: auto; opacity: 1 !important; height: min(56vh, 460px) }
  .p2d-paper, .p2d-phone { opacity: 1 !important; transform: none !important } .p2d-ben li { color: var(--ink) }
  .ch-scene:first-child, .ch-res:nth-of-type(2), .ch-cap:first-child { opacity: 1 } .ch-scene:first-child .b.bot, .ch-scene:first-child .ch-btn { opacity: 1 } .ch-scene:first-child .dots { display: none }
  .ap-img:not(:first-child) { display: none } .cat .cat-b { grid-template-rows: 1fr } .cat .cat-b li { opacity: 1; transform: none }
  .scn, .scn-line, .scn-hint { display: none !important }
}

/* below-the-fold sections that aren't pinned: skip their layout until they come near (Lighthouse TBT/LCP on phones) */
.feat, .how, .trust, .faq, .end-cta { content-visibility: auto; contain-intrinsic-size: auto 900px }
