/* YourDoc F Care — home page styles, on top of styles.css. Light theme only.
   A fixed canvas (assets/js/3d/home.js) draws the 3D scenes behind the page; each scene sits where its empty
   "anchor" element is. Without 3D (html.no-3d, or no JavaScript) every anchor shows a real picture instead, or is hidden.
   The page always scrolls normally: nothing is pinned, and no text is ever hidden waiting for a script. */

body.home { background: var(--sky-50); color: var(--ink); }
body.home { background-image: radial-gradient(1000px 640px at 88% -8%, rgba(8, 168, 184, .17), transparent 62%), radial-gradient(900px 700px at -10% 24%, rgba(28, 101, 160, .12), transparent 64%), linear-gradient(180deg, #ecf7fd 0%, #ffffff 46%, #f4fcfe 100%); }
body.home main a:not(.btn):not(.store) { color: var(--blue); }
body.home main a:not(.btn):not(.store):hover { color: var(--teal); }
body.home main, body.home .site-footer { position: relative; z-index: 1; }
body.home .site-footer { background: linear-gradient(180deg, var(--sky-50) 0%, var(--sky-200) 100%); }

/* the canvas behind everything */
.home-canvas { position: fixed; left: 0; top: 0; z-index: 0; pointer-events: none; opacity: 0; transition: opacity 1.4s ease; }
.home-canvas.on { opacity: 1; }
html.no-3d .home-canvas { display: none; }

/* ---------- opening curtain ---------- */
.splash { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; background: radial-gradient(800px 520px at 50% 40%, #e3f4fb, #ffffff 72%); animation: splashOut .9s var(--ease) 1.45s forwards; }
.splash__in { display: grid; justify-items: center; gap: 16px; animation: splashIn .9s var(--ease) both; }
.splash img { width: min(300px, 72vw); height: auto; filter: drop-shadow(0 18px 34px rgba(8, 56, 152, .14)); animation: splashPulse 1.8s ease-in-out infinite; }
.splash__ecg { width: 230px; height: 44px; overflow: visible; }
.splash__ecg path { fill: none; stroke: var(--turq); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 520; stroke-dashoffset: 520; animation: ecgDraw 1.3s ease-out .2s forwards; }
.splash p { color: var(--navy); font-weight: 600; letter-spacing: .2em; text-transform: uppercase; font-size: .76rem; margin: 0; }
.seen .splash, .reduce .splash { display: none; }
@keyframes splashIn { from { opacity: 0; transform: translateY(14px) scale(.96); } }
@keyframes splashPulse { 50% { transform: scale(1.025); } }
@keyframes ecgDraw { to { stroke-dashoffset: 0; } }
@keyframes splashOut { to { opacity: 0; visibility: hidden; transform: scale(1.05); } }

/* ---------- layout primitives ---------- */
.stage-sec { position: relative; padding: clamp(72px, 10vw, 150px) 0; }
.stage-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 90px); align-items: center; }
.stage-grid--flip { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); }
.stage-copy h2 { font-size: clamp(1.9rem, 4vw, 3.2rem); }
.stage-copy > p { color: var(--muted); }
.anchor { position: relative; min-height: min(calc(var(--vh) * 70), 660px); width: 100%; cursor: grab; touch-action: pan-y; -webkit-user-select: none; user-select: none; }
.anchor:active { cursor: grabbing; }
.anchor__fallback { display: none; }
html.no-3d .anchor, html:not(.will-3d) .anchor { cursor: default; }
html.no-3d .anchor__fallback, html:not(.will-3d) .anchor__fallback { display: grid; place-items: center; position: absolute; inset: 0; }
.fb-orb { width: min(46%, 220px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; color: #fff; background: radial-gradient(circle at 32% 28%, #8fdfe6, #08a8b8 42%, #083898 82%); box-shadow: 0 24px 60px rgba(8, 56, 152, .28), inset 0 0 40px rgba(255, 255, 255, .3); animation: bob 7s ease-in-out infinite; }
.fb-orb .i { width: 42%; height: 42%; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; padding: 4px 0; }
.link-arrow .i { transition: transform .35s var(--ease); }
.link-arrow:hover .i { transform: translateX(5px); }
.fine { text-align: center; color: var(--muted); font-size: .82rem; margin: 6px 0 0; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: calc(var(--vh) * 100); padding: calc(var(--header-h) + 38px + clamp(8px, 3vw, 40px)) 0 0; display: flex; flex-direction: column; justify-content: space-between; overflow: clip; }
.hero .stage-grid { flex: 1; align-content: center; padding-bottom: 56px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.hero__copy { position: relative; z-index: 3; }
.hero h1 { font-size: clamp(3.2rem, 7.2vw, 6.5rem); line-height: 1.02; letter-spacing: -.022em; margin: 0 0 .26em; color: var(--navy-900); }
.hero .lead { font-size: clamp(1.05rem, 1.5vw, 1.28rem); max-width: 30em; margin-bottom: 1.5em; color: var(--muted); }
.hero .store-row { margin-bottom: 22px; }
.hero-note { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--muted); max-width: 34em; margin: 0 0 14px; }
.hero-note .i { color: var(--teal); margin-top: 3px; }
.hero-links { display: flex; flex-wrap: wrap; gap: 6px 26px; }
.hero__anchor { min-height: min(calc(var(--vh) * 74), 700px); }
.scroll-cue { position: absolute; left: 50%; bottom: 92px; width: 26px; height: 44px; margin-left: -13px; border: 2px solid rgba(8, 56, 152, .3); border-radius: 14px; z-index: 3; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--teal); animation: cue 1.9s ease-in-out infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(16px); } }
.marquee { position: relative; z-index: 2; overflow: hidden; padding: 17px 0; border-top: 1px solid var(--line); background: rgba(255, 255, 255, .86); }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: scroll 52s linear infinite; }
.marquee span { color: #46618a; font-weight: 700; display: inline-flex; align-items: center; gap: 48px; white-space: nowrap; font-size: .95rem; }
.marquee span::after { content: "✚"; color: var(--turq); }
.marquee:hover .marquee-track { animation-play-state: paused; }

/* floating chips around the hero phone (solid, so the live 3D behind them is never re-blurred) */
.chip { position: absolute; z-index: 2; display: flex; align-items: center; gap: 11px; padding: 11px 16px 11px 11px; border-radius: 18px; background: rgba(255, 255, 255, .97); border: 1px solid var(--line); color: var(--navy-900); font-weight: 700; font-size: .85rem; box-shadow: 0 16px 36px rgba(8, 56, 152, .14); animation: bob 6s ease-in-out infinite; pointer-events: none; }
.chip i { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; background: var(--sky); color: #2f6ae6; }
.chip.c2 i { background: var(--teal-100); color: #0b9a90; } .chip.c3 i { background: var(--lav); color: #6a35e0; }
.chip small { display: block; font-weight: 500; color: var(--muted); font-size: .72rem; }
.chip.c1 { top: 8%; left: -3%; animation-delay: -2s; } .chip.c2 { bottom: 14%; left: -7%; animation-delay: -4s; } .chip.c3 { top: 36%; right: -2%; animation-delay: -1s; }

/* the plain phone: shown wherever 3D is not (a real app screen inside a phone frame) */
.mock-phone { width: min(290px, 62%); aspect-ratio: 9 / 18.5; border-radius: 42px; padding: 10px; background: linear-gradient(160deg, #2b3550, #05070f); box-shadow: 0 34px 70px rgba(5, 24, 95, .3), inset 0 0 0 2px rgba(255, 255, 255, .1); animation: bob 7s ease-in-out infinite; }
.mock-screen { height: 100%; border-radius: 32px; background: linear-gradient(180deg, #ecf7fd, #ffffff 55%); padding: 40px 14px 14px; display: flex; flex-direction: column; gap: 11px; color: var(--ink); overflow: hidden; }
.mock-top { display: flex; justify-content: space-between; align-items: center; } .mock-top b { font-size: .92rem; color: var(--navy-900); }
.mock-av { width: 32px; height: 32px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: .8rem; }
.mock-card { border-radius: 18px; background: var(--grad); color: #fff; padding: 14px; }
.mock-card small { display: block; opacity: .9; font-size: .7rem; } .mock-card strong { display: block; margin: 3px 0 10px; font-size: .98rem; }
.mock-pill { display: inline-block; background: rgba(255, 255, 255, .24); border-radius: 99px; padding: 5px 12px; font-size: .7rem; font-weight: 700; }
.mock-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.mock-grid i { font-style: normal; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 11px 10px; font-size: .74rem; font-weight: 700; color: var(--navy-900); display: flex; flex-direction: column; gap: 6px; }
.mock-grid .i { color: var(--teal); width: 20px; height: 20px; }
/* the real screen replaces the drawn one once its picture has loaded */
.mock-phone { position: relative; }
.mock-phone::before { content: ""; position: absolute; z-index: 3; top: 19px; left: 50%; width: 84px; height: 22px; margin-left: -42px; border-radius: 99px; background: #05070f; }
.mock-screen { position: relative; }
.mock-screen > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s var(--ease); }
.mock-screen.is-filled > img { opacity: 1; }
.mock-screen.is-filled > :not(img) { visibility: hidden; }
.mock-row { display: flex; gap: 10px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 9px 10px; }
.mock-row i { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; background: var(--teal-100); color: #0b9a90; flex: none; font-style: normal; }
.mock-row:last-child i { background: var(--sky); color: #2f6ae6; }
.mock-row .i { width: 16px; height: 16px; }
.mock-row b { display: block; font-size: .76rem; color: var(--navy-900); line-height: 1.2; }
.mock-row small { color: var(--muted); font-size: .66rem; }
/* a small phone beside a step, and two phones side by side for the download section */
.mock-phone--thumb { width: 96px; padding: 4px; border-radius: 20px; animation: none; box-shadow: 0 14px 28px rgba(5, 24, 95, .22), inset 0 0 0 1px rgba(255, 255, 255, .1); }
.mock-phone--thumb::before { top: 8px; width: 28px; height: 8px; margin-left: -14px; }
.mock-phone--thumb .mock-screen { padding: 0; border-radius: 16px; }
.duo { position: relative; width: min(100%, 460px); height: 100%; }
.duo .mock-phone { position: absolute; width: 44%; }
.duo__a { left: 4%; top: 20%; rotate: -6deg; animation-delay: -2.5s; }
.duo__b { right: 4%; top: 6%; rotate: 5deg; }

/* ---------- service and step cards (the page scrolls normally; the card nearest the middle is the active one) ---------- */
.story { position: relative; padding: clamp(72px, 9vw, 130px) 0; }
.story__grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 90px); align-items: start; }
/* on a computer the 3D scene stays in view beside the text while the text scrolls past it */
.story__visual { position: sticky; top: calc(var(--header-h) + 16px); height: min(calc(var(--vh) * 76), 660px); min-height: 380px; }
.story__list h2 { font-size: clamp(1.8rem, 3.4vw, 2.9rem); margin-bottom: .5em; }
.story__cards { display: grid; gap: 22px; margin-top: 24px; }
.story--how .story__cards { gap: clamp(48px, 14vh, 150px); } /* room for the phone to change its screen as each step passes */
.svc { position: relative; padding: 24px 28px; border-radius: 28px; background: #fff; border: 1px solid var(--line); box-shadow: 0 18px 44px rgba(8, 56, 152, .1), inset 0 1px 0 #fff; }
.js .story .svc.reveal { transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease), border-color .35s, box-shadow .35s; }
.svc.is-active { border-color: #8fd2dc; box-shadow: 0 26px 60px rgba(8, 56, 152, .16), 0 0 0 3px rgba(8, 168, 184, .12), inset 0 1px 0 #fff; }
.svc__n { display: block; margin-bottom: 8px; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--teal); font-weight: 700; }
.svc.is-active .svc__n { color: var(--navy); }
.svc__head { display: flex; align-items: center; gap: 14px; margin: 0 0 10px; }
.svc__ico { width: 50px; height: 50px; border-radius: 17px; background: var(--sky); display: grid; place-items: center; color: #2f6ae6; flex: none; }
.story__cards > .svc:nth-child(4n+2) .svc__ico { background: var(--lav); color: #6a35e0; }
.story__cards > .svc:nth-child(4n+3) .svc__ico { background: #edf7fe; color: #0a85cf; }
.story__cards > .svc:nth-child(4n) .svc__ico { background: var(--teal-100); color: #0b9a90; }
.svc h3 { margin: 0; font-size: 1.3rem; color: var(--navy-900); }
.svc p { color: var(--muted); margin: 0 0 4px; }
.svc .checks { margin-top: 14px; gap: 9px; }
.svc .checks li { font-size: .95rem; color: var(--ink); }
.svc__shot { display: none; margin: 0; }
/* the longer copy of 21 Oct 2026: a headline line, an intro and a small note */
.svc p.svc__tag, .stage-copy p.svc__tag { margin: 0 0 8px; color: var(--navy-900); font-weight: 700; }
.svc p + p { margin-top: 8px; }
.svc p.svc__note, .stage-copy p.svc__note { margin: 14px 0 0; font-size: .86rem; font-style: italic; color: var(--muted); }
.story__intro { max-width: 40em; margin: 0 0 6px; color: var(--muted); }
.stage-copy .checks.reveal + p.svc__tag { margin-top: 1.2em; }
.hero .lead .lead__tag { color: var(--navy-900); font-weight: 700; }
.get__close { margin-top: 28px; font-size: 1.15rem; line-height: 1.4; color: var(--navy-900); }
.get__close strong { color: var(--teal); letter-spacing: .02em; }
.net__rule p.net__join { flex: 0 1 auto; }
.trust-links > strong { margin-right: .5em; color: var(--navy-900); }
/* no 3D: no scene beside the text. The cards form a grid, and every step shows its real phone screen. */
html.no-3d .story__visual, html:not(.will-3d) .story__visual { display: none; }
html.no-3d .story__grid, html:not(.will-3d) .story__grid { grid-template-columns: 1fr; }
html.no-3d .story__cards, html:not(.will-3d) .story__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
html.no-3d .svc__shot, html:not(.will-3d) .svc__shot { display: block; }
html.no-3d .svc--step, html:not(.will-3d) .svc--step { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 22px; align-items: center; }


/* ---------- Jivika ---------- */
.langs { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; padding: 12px 18px; border-radius: 22px; background: #fff; border: 1px solid var(--line); font-size: .92rem; color: var(--ink); box-shadow: var(--shadow-sm); }
.langs .i { color: var(--teal); }
.langs b { color: var(--navy-900); }
.jivika__anchor { min-height: min(calc(var(--vh) * 72), 680px); }
.bubble { position: absolute; z-index: 2; max-width: 250px; padding: 13px 17px; border-radius: 20px; font-size: .9rem; line-height: 1.45; box-shadow: 0 16px 36px rgba(8, 56, 152, .16); pointer-events: none; }
.b-user { right: 0; top: 12%; background: var(--grad); color: #fff; border-bottom-right-radius: 6px; animation: bob 6.5s ease-in-out infinite; }
.b-ai { left: -4%; bottom: 10%; background: #fff; border: 1px solid var(--line); color: var(--ink); border-bottom-left-radius: 6px; animation: bob 7.5s ease-in-out infinite -3s; }
.b-ai b { display: flex; align-items: center; gap: 8px; color: var(--teal); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 6px; }
.b-ai__photo { width: 28px; height: 28px; flex: none; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--teal-100); }
/* Jivika's picture (jivika.jpeg) beside the "Meet Jivika" label, and in her chat bubble */
.meet { display: flex; align-items: center; gap: 18px; margin-bottom: 14px; }
.meet .kicker { margin-bottom: 0; }
.meet__photo { width: 104px; height: 104px; flex: none; border-radius: 50%; object-fit: cover; border: 4px solid #fff; box-shadow: 0 0 0 2px rgba(8, 168, 184, .45), 0 18px 36px rgba(8, 56, 152, .18); }
.typing { display: inline-flex; gap: 4px; margin-left: 8px; vertical-align: middle; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--turq); animation: dot 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .2s; } .typing i:nth-child(3) { animation-delay: .4s; }

/* ---------- gallery: all six screens in a grid on a computer, a swipe strip on a phone ---------- */
.gallery { overflow: clip; }
.rail-wrap { position: relative; }
.rail { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px clamp(24px, 4vw, 56px); width: min(100% - 40px, 960px); margin: 0 auto; padding: 36px 0 24px; justify-items: center; }
.shot { width: min(100%, 268px); margin: 0; }
.shot:nth-child(3n+2) { margin-top: 44px; }
.frame { border-radius: 40px; padding: 9px; background: linear-gradient(160deg, #323d5a, #05070f 60%); box-shadow: 0 30px 60px rgba(5, 24, 95, .26), inset 0 0 0 1.5px rgba(255, 255, 255, .14); transition: transform .5s var(--ease); }
.frame .slot { border-radius: 31px; border: 0; background: #fff; }
.frame .slot::before { display: none; }
.slot.is-filled canvas { display: none; }
canvas[data-screen] { background: linear-gradient(180deg, #ecf7fd, #ffffff 55%); }
.shot figcaption { text-align: center; margin-top: 20px; }
.shot figcaption b { display: block; color: var(--navy-900); font-size: 1.02rem; }
.shot figcaption span { color: var(--muted); font-size: .86rem; }
.rail-nav { display: none; justify-content: center; gap: 12px; margin-top: 4px; }
.rail-nav button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid #cfe0f1; background: #fff; color: var(--navy); cursor: pointer; display: grid; place-items: center; box-shadow: var(--shadow-sm); transition: background .3s, transform .3s var(--ease), border-color .3s; }
.rail-nav button:hover { background: var(--sky); border-color: var(--turq); transform: translateY(-2px); }

/* ---------- facts ---------- */
.facts-sec { padding: clamp(28px, 4vw, 56px) 0; }
.facts-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.fact-tile { padding: 28px 24px; border-radius: 26px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); text-align: left; }
.fact-tile b { display: block; font-family: var(--font-display); font-weight: 600; font-variant-numeric: lining-nums; font-size: clamp(2.6rem, 5vw, 4rem); line-height: 1; letter-spacing: -.02em; background: linear-gradient(100deg, #083898, #058ba0 60%, #08a8b8); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 10px; }
.fact-tile span { color: var(--muted); font-size: .95rem; line-height: 1.4; display: block; }
.fact-tile b span { display: inline; font-size: inherit; color: transparent; }

/* ---------- photos ---------- */
/* every picture keeps its own shape (4:5 and 4:3), so nothing is cropped: the headlines and logos inside them stay whole */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: auto 1fr; gap: 20px; }
.bento .slot { border-radius: 28px; }
.b1 { grid-column: 1 / span 4; grid-row: 1 / span 2; }
.b3 { grid-column: 5 / span 4; grid-row: 1; } .b4 { grid-column: 9 / span 4; grid-row: 1; }
.b2 { grid-column: 5 / span 4; grid-row: 2; } .b5 { grid-column: 9 / span 4; grid-row: 2; }
.tile { padding: 20px 24px; border-radius: 28px; display: grid; grid-template-columns: auto 1fr; align-items: center; align-content: center; column-gap: 12px; }
.glass { background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.tile .i { width: 28px; height: 28px; color: #2f6ae6; }
.b5 .i { color: #0b9a90; }
.tile h3 { margin: 0; font-size: 1.15rem; } .tile p { grid-column: 1 / -1; margin: 10px 0 0; color: var(--muted); font-size: .93rem; line-height: 1.55; }
.b2 { background: linear-gradient(160deg, #fff, var(--sky)); } .b5 { background: linear-gradient(160deg, #fff, var(--teal-100)); }
.bento + .fine { margin-top: 20px; }

/* ---------- operating model ---------- */
.net__anchor { height: min(calc(var(--vh) * 58), 520px); min-height: 340px; margin: -10px 0 6px; }
html.no-3d .net__anchor, html:not(.will-3d) .net__anchor { display: none; } /* the four cards below say it all */
.roles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.role { padding: 26px 24px; border-radius: 26px; position: relative; outline-offset: 3px; transition: border-color .3s, background .3s, transform .45s var(--ease), box-shadow .3s; }
.role:hover, .role:focus-visible { border-color: var(--turq); background: #fbfeff; box-shadow: var(--shadow); }
.role__ico { width: 52px; height: 52px; border-radius: 17px; display: grid; place-items: center; background: var(--sky); color: #2f6ae6; margin-bottom: 16px; }
.role[data-role="1"] .role__ico { background: var(--lav); color: #6a35e0; }
.role[data-role="2"] .role__ico { background: #edf7fe; color: #0a85cf; }
.role[data-role="3"] .role__ico { background: var(--teal-100); color: #0b9a90; }
.role h3 { margin: 0 0 8px; font-size: 1.18rem; } .role p { margin: 0; color: var(--muted); font-size: .95rem; }
.role small { display: block; margin-top: 16px; color: var(--teal); font-weight: 700; font-size: .76rem; letter-spacing: .05em; text-transform: uppercase; }
.net__rule { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 28px; padding: 22px 28px; border-radius: 26px; background: var(--teal-100); border: 1px solid #bfe9ee; }
.net__rule .i { width: 32px; height: 32px; color: var(--teal); flex: none; }
.net__rule p { margin: 0; flex: 1 1 360px; color: var(--ink); }
.net__rule strong { color: var(--navy-900); }

/* ---------- trust ---------- */
.trust-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 26px; }
.mini { padding: 22px; border-radius: 24px; }
.mini .i { width: 28px; height: 28px; color: #2f6ae6; }
.mini:nth-child(2) .i { color: #0b9a90; } .mini:nth-child(3) .i { color: #6a35e0; } .mini:nth-child(4) .i { color: #0a85cf; }
.mini h3 { margin: 12px 0 6px; font-size: 1.08rem; } .mini p { margin: 0; color: var(--muted); font-size: .92rem; }
.trust-links { display: flex; flex-wrap: wrap; gap: 6px 26px; margin-top: 24px; }
.trust__anchor { min-height: min(calc(var(--vh) * 70), 640px); }

/* ---------- download ---------- */
.get { padding-bottom: clamp(90px, 12vw, 170px); }
.get__anchor { min-height: min(calc(var(--vh) * 72), 680px); }
.get .store-row { margin-top: 26px; }
.notify { margin-top: 28px; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.notify span { font-size: .85rem; color: var(--muted); max-width: 24em; }

/* ---------- responsive ---------- */
@media (max-width: 1060px) {
  .roles, .facts-row { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: repeat(2, 1fr); grid-template-rows: auto 1fr auto; }
  .b1 { grid-column: 1; grid-row: 1 / span 2; }
  .b3 { grid-column: 2; grid-row: 1; } .b2 { grid-column: 2; grid-row: 2; }
  .b4 { grid-column: 1; grid-row: 3; } .b5 { grid-column: 2; grid-row: 3; }
}
@media (max-width: 900px) {
  .stage-grid, .stage-grid--flip, .hero .stage-grid { grid-template-columns: 1fr; gap: 12px; }
  .stage-grid > .anchor { order: -1; min-height: min(calc(var(--vh) * 46), 420px); }
  .hero { padding-top: calc(var(--header-h) + 30px); min-height: 0; }
  .hero .stage-grid { padding-bottom: 36px; }
  .hero__anchor { min-height: min(calc(var(--vh) * 52), 440px); }
  .hero h1 { font-size: clamp(3rem, 15vw, 5rem); }
  .scroll-cue { display: none; }
  .chip.c1 { top: 2%; left: 0; } .chip.c2 { bottom: 4%; left: 0; } .chip.c3 { top: 34%; right: 0; }
  .chip { transform-origin: left; font-size: .76rem; padding: 8px 12px 8px 8px; } .chip i { width: 30px; height: 30px; }
  /* stories on a phone: the 3D scene sits above the cards (the ring turns by itself) and each step carries its own phone picture */
  .story__grid { grid-template-columns: 1fr; gap: 14px; }
  .story__visual { position: relative; top: auto; order: -1; height: min(calc(var(--vh) * 44), 400px); min-height: 280px; }
  .story--how .story__visual { display: none; }
  .story__cards, .story--how .story__cards { gap: 16px; }
  .svc { padding: 18px 20px; border-radius: 24px; }
  .svc__ico { width: 42px; height: 42px; border-radius: 14px; } .svc h3 { font-size: 1.1rem; }
  .svc p { font-size: .94rem; } .svc .checks { margin-top: 10px; gap: 7px; } .svc .checks li { font-size: .88rem; }
  .svc--step { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 18px; align-items: center; }
  .svc__shot { display: block; }
  html.no-3d .story__cards, html:not(.will-3d) .story__cards { grid-template-columns: 1fr; }
  .jivika__anchor, .trust__anchor, .get__anchor { min-height: min(calc(var(--vh) * 46), 400px); }
  .b-user { top: 4%; right: 0; } .b-ai { bottom: 2%; left: 0; }
  .meet__photo { width: 88px; height: 88px; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .net__anchor { height: min(calc(var(--vh) * 46), 380px); min-height: 280px; }
  /* the gallery becomes a swipe strip */
  .rail { display: flex; width: auto; margin: 0; gap: clamp(18px, 4vw, 28px); overflow-x: auto; scroll-snap-type: x mandatory; padding: 28px 20px 30px; scrollbar-width: none; -webkit-overflow-scrolling: touch; justify-items: stretch; }
  .rail::-webkit-scrollbar { display: none; }
  .rail:focus-visible { outline-offset: -4px; }
  .shot { flex: 0 0 auto; width: min(62vw, 250px); scroll-snap-align: center; }
  .shot:nth-child(3n+2) { margin-top: 0; }
  .rail-nav { display: flex; }
}
@media (max-width: 620px) {
  .roles, .facts-row, .trust-grid { grid-template-columns: 1fr; }
  .facts-row { grid-template-columns: 1fr 1fr; gap: 12px; } .fact-tile { padding: 20px 16px; }
  .bento { grid-template-columns: 1fr; grid-template-rows: none; }
  .b1, .b2, .b3, .b4, .b5 { grid-column: 1; grid-row: auto; }
  .mock-phone--thumb { width: 84px; }
}
/* a short window (a landscape phone): the 3D scene scrolls with the text instead of staying in view */
@media (max-height: 560px) and (min-width: 901px) {
  .story__visual { position: relative; top: auto; height: 380px; }
}
@media (prefers-reduced-motion: reduce) {
  .splash { display: none; }
  .marquee-track { animation: none; }
}
[data-split][data-hold]:not(.in) .w > span { animation: unhold .01s 4.5s forwards; }
@keyframes unhold { to { transform: none; } }
