/* TeleWyse website: a product of Bravo Health Limited.
   Brand: the app icon's sky blue (#00A0E8) and navy (#002878).
   Type: Plus Jakarta Sans. Motion: Lenis smooth scroll + scroll reveals (assets/site.js),
   all switched off for prefers-reduced-motion. */

:root {
  --sky: #00a0e8;
  --sky-deep: #0079c4;
  --sky-soft: #e8f6fd;
  --sky-line: #c4e6f7;
  --navy: #002878;
  --navy-2: #0a3a8f;
  --ink: #0c1830;
  --ink-2: #3e4c66;
  --ink-3: #6a778f;
  --line: #e2e8f0;
  --paper: #ffffff;
  --mist: #f5f8fb;
  --sand: #fbfaf7;
  --mint: #12a26b;
  --mint-soft: #e7f7ef;
  --amber: #f59e0b;
  --radius: 20px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow-phone: 0 40px 70px -28px rgba(0, 40, 120, .42), 0 14px 28px -14px rgba(0, 40, 120, .28);
  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --gutter-l: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--sky-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.025em; text-wrap: balance; margin: 0; color: var(--ink); font-weight: 800; }
p { margin: 0; }
::selection { background: var(--sky); color: #fff; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--sky-deep); }
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }
.lead { font-size: 19px; color: var(--ink-2); max-width: 58ch; }
.muted { color: var(--ink-3); }

/* ---------- Motion ---------- */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); will-change: opacity, transform; }
[data-reveal].is-in { opacity: 1; transform: none; }
.no-js [data-reveal] { opacity: 1; transform: none; }

/* Header */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 30; transition: background .35s var(--ease), box-shadow .35s var(--ease), transform .45s var(--ease); }
.site-header.scrolled { background: rgba(255,255,255,.86); backdrop-filter: saturate(170%) blur(14px); -webkit-backdrop-filter: saturate(170%) blur(14px); box-shadow: 0 1px 0 var(--line); }
.site-header.hide { transform: translateY(-100%); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; }
.header-spacer { height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); }
.brand img { width: 38px; height: 38px; border-radius: 11px; }
.brand b { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
.brand small { display: block; font-size: 11.5px; font-weight: 600; color: var(--ink-3); margin-top: -3px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { position: relative; color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 2px; background: var(--sky); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav a:not(.btn):hover { color: var(--ink); }
.nav a:not(.btn):hover::after { transform: scaleX(1); }
.nav .btn { color: #fff; }
@media (max-width: 900px) { .nav a:not(.btn) { display: none; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; background: var(--sky); color: #fff; font-weight: 700; font-size: 15px; padding: 12px 20px; border-radius: 999px; text-decoration: none; border: 0; cursor: pointer; transition: background .2s, transform .25s var(--ease), box-shadow .25s; box-shadow: 0 8px 18px -10px rgba(0, 121, 196, .7); }
.btn:hover { background: var(--sky-deep); color: #fff; transform: translateY(-2px); box-shadow: 0 14px 24px -12px rgba(0, 121, 196, .8); }
.btn.line { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn.line:hover { background: var(--mist); color: var(--navy); }
.btn svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

/* Store badges */
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store { display: inline-flex; align-items: center; gap: 12px; background: var(--ink); color: #fff; text-decoration: none; padding: 11px 20px 11px 15px; border-radius: 15px; min-width: 196px; transition: transform .25s var(--ease), background .2s, box-shadow .25s; }
.store:hover { color: #fff; background: #000; transform: translateY(-2px); box-shadow: 0 14px 26px -14px rgba(12,24,48,.6); }
.store svg { width: 26px; height: 26px; flex: none; }
.store span { display: flex; flex-direction: column; line-height: 1.15; }
.store small { font-size: 11px; opacity: .8; font-weight: 500; }
.store strong { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; }
.store.soon { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); cursor: default; }
.store.soon:hover { transform: none; box-shadow: inset 0 0 0 1.5px var(--line); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background:
  radial-gradient(900px 480px at 85% 10%, rgba(0,160,232,.16), transparent 60%),
  radial-gradient(700px 420px at 0% 0%, rgba(0,40,120,.07), transparent 60%),
  linear-gradient(180deg, #f3faff 0%, #fff 82%); }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 1px; background: var(--line); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; padding-top: 64px; padding-bottom: 88px; }
.hero h1 { font-size: clamp(42px, 6.2vw, 72px); letter-spacing: -0.035em; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero h1 .line > span { display: inline-block; transform: translateY(105%); animation: rise 1.05s var(--ease) forwards; animation-delay: var(--d, 0s); }
.hero h1 em { font-style: normal; color: var(--sky-deep); }
.hero .lead { margin-top: 22px; }
.hero .stores { margin-top: 32px; }
.hero-in { opacity: 0; transform: translateY(18px); animation: fadeUp .9s var(--ease) forwards; animation-delay: var(--d, .4s); }
@keyframes rise { to { transform: none; } }
@keyframes fadeUp { to { opacity: 1; transform: none; } }
.care-chip { display: inline-flex; align-items: center; gap: 10px; margin-top: 30px; padding: 9px 16px; border-radius: 999px; background: rgba(255,255,255,.8); border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--ink-2); }
.care-chip i { position: relative; width: 9px; height: 9px; border-radius: 50%; background: var(--mint); flex: none; }
.care-chip i::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--mint); animation: ping 2.2s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .6; } 80%, 100% { transform: scale(2.8); opacity: 0; } }

.phones { position: relative; display: flex; justify-content: center; align-items: flex-end; min-height: 580px; }
.phone { width: 272px; border-radius: 40px; padding: 10px; background: #0b1424; box-shadow: var(--shadow-phone); }
.phone img { border-radius: 30px; width: 100%; aspect-ratio: 780 / 1688; object-fit: cover; object-position: top; background: #fff; }
.phones .phone.back { position: absolute; left: 50%; width: 238px; opacity: 0; animation: phoneBack 1.2s var(--ease) .55s forwards; }
.phones .phone.front { position: relative; opacity: 0; animation: phoneFront 1.2s var(--ease) .35s forwards; }
@keyframes phoneBack { from { opacity: 0; transform: translate(-70%, 40px) rotate(-2deg); } to { opacity: 1; transform: translate(-94%, -38px) rotate(-7deg); } }
@keyframes phoneFront { from { opacity: 0; transform: translate(28%, 60px) rotate(3deg); } to { opacity: 1; transform: translateX(28%) rotate(3deg); } }
.float-a { animation: floatA 7s ease-in-out infinite; }
.float-b { animation: floatB 8s ease-in-out infinite; }
@keyframes floatA { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
@keyframes floatB { 0%, 100% { translate: 0 0; } 50% { translate: 0 10px; } }
.hero-note { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 16px; padding: 10px 14px; font-size: 13.5px; font-weight: 600; color: var(--ink); box-shadow: 0 18px 36px -18px rgba(0,40,120,.4); border: 1px solid var(--line); opacity: 0; animation: fadeUp .9s var(--ease) forwards; animation-delay: var(--d, 1.2s); }
.hero-note small { display: block; font-weight: 500; color: var(--ink-3); font-size: 12px; }
.hero-note .dot { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.hero-note.n1 { left: -2%; top: 56%; }
.hero-note.n2 { right: -2%; bottom: 14%; }
@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 40px; }
  .phones { min-height: 500px; }
  .phone { width: 232px; }
  .phones .phone.back { width: 205px; }
  .hero-note.n1 { left: 0; }
  .hero-note.n2 { right: 0; }
}
@media (max-width: 480px) {
  .phones .phone.back, .hero-note { display: none; }
  .phones .phone.front { animation-name: phoneFrontSm; }
  @keyframes phoneFrontSm { from { opacity: 0; transform: translateY(50px); } to { opacity: 1; transform: none; } }
}

/* Proof line under hero */
.proof { background: var(--paper); }
.proof .wrap { display: grid; grid-template-columns: repeat(4, 1fr); padding-top: 28px; padding-bottom: 28px; }
.proof p { font-size: 15px; color: var(--ink-2); padding: 2px 24px; border-left: 1px solid var(--line); }
.proof p:first-child { padding-left: 0; border-left: 0; }
.proof p strong { display: block; color: var(--ink); font-size: 16px; }
.proof .sep { display: none; }
@media (max-width: 800px) { .proof .wrap { grid-template-columns: 1fr 1fr; gap: 18px 0; } .proof p:nth-child(5) { padding-left: 0; border-left: 0; } }

/* ---------- Sections ---------- */
section { padding: 112px 0; position: relative; }
section.tint { background: var(--mist); }
section.sand { background: var(--sand); }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(32px, 4.2vw, 48px); margin-top: 14px; }
.section-head p { margin-top: 16px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.center p { margin-left: auto; margin-right: auto; }
@media (max-width: 700px) { section { padding: 72px 0; } .section-head { margin-bottom: 40px; } }

/* How it works */
.how { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; list-style: none; margin: 0; padding: 0; counter-reset: step; }
.how li { counter-increment: step; display: flex; flex-direction: column; }
.how .art { position: relative; aspect-ratio: 7 / 5; border-radius: 22px; background: linear-gradient(180deg, var(--sky-soft), #f7fbfe); border: 1px solid var(--sky-line); overflow: hidden; }
.how .art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.how .meta { padding: 22px 4px 0; }
.how .meta span { font-size: 13px; font-weight: 700; color: var(--sky-deep); letter-spacing: .06em; }
.how .meta span::after { content: " 0" counter(step); }
.how h3 { font-size: 20px; margin-top: 6px; }
.how p { margin-top: 8px; font-size: 15.5px; color: var(--ink-2); }
@media (max-width: 1000px) { .how { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .how { grid-template-columns: 1fr; } }

/* Feature rows */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.feature + .feature { margin-top: 120px; }
.feature.flip .feature-media { order: -1; }
.feature h3 { font-size: clamp(27px, 3vw, 36px); margin-top: 14px; }
.feature p { margin-top: 16px; color: var(--ink-2); }
.ticks { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; color: var(--ink-2); font-size: 16px; }
.ticks li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--sky-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%230079c4' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 22px no-repeat; }
.feature-media { display: flex; justify-content: center; align-items: flex-start; gap: 24px; }
.feature-media .phone { width: 252px; }
.feature-media .phone:nth-child(2) { margin-top: 64px; }
.panel { width: 100%; max-width: 440px; border-radius: 28px; background: #fff; border: 1px solid var(--line); box-shadow: 0 30px 60px -34px rgba(0, 40, 120, .4); overflow: hidden; }
.panel img { width: 100%; }
.stack { display: grid; gap: 22px; justify-items: center; width: 100%; }
@media (max-width: 960px) {
  .feature { grid-template-columns: 1fr; gap: 40px; }
  .feature.flip .feature-media { order: 0; }
  .feature-media .phone { width: 220px; }
}
@media (max-width: 540px) { .feature-media .phone + .phone { display: none; } .feature-media .phone:nth-child(2) { margin-top: 0; } }

/* Providers */
.providers { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.provider { position: relative; display: flex; flex-direction: column; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.provider:hover { transform: translateY(-4px); box-shadow: 0 26px 44px -30px rgba(0,40,120,.45); border-color: var(--sky-line); }
.provider .logo { width: 64px; height: 64px; border-radius: 16px; background: var(--mist); border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; font-weight: 800; color: var(--navy); font-size: 22px; }
.provider .logo img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.provider h3 { font-size: 19px; }
.provider .where { font-size: 14.5px; color: var(--ink-2); margin-top: 4px; }
.provider .facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.provider .tag { font-size: 12.5px; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: var(--mist); color: var(--ink-2); }
.provider .tag.live { background: var(--mint-soft); color: #0b7a50; }
.provider.join { background: linear-gradient(160deg, var(--navy), var(--navy-2)); border-color: transparent; color: #cfe0f7; text-decoration: none; }
.provider.join h3 { color: #fff; }
.provider.join .logo { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.18); color: #fff; }
.provider.join .arrow { margin-top: auto; font-weight: 700; color: #fff; display: inline-flex; gap: 8px; align-items: center; }
.provider.skeleton .logo, .provider.skeleton .bar { background: linear-gradient(90deg, #eef2f7 25%, #f7f9fc 50%, #eef2f7 75%); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; border: 0; }
.provider.skeleton .bar { height: 14px; border-radius: 8px; }
@keyframes shimmer { to { background-position: -200% 0; } }
.providers-note { margin-top: 22px; font-size: 14px; color: var(--ink-3); }

/* Records (editorial) */
.records { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.records-art { position: relative; border-radius: 28px; background: linear-gradient(180deg, #f3faff, #fff); border: 1px solid var(--sky-line); aspect-ratio: 6 / 5; overflow: hidden; }
.records-art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.roles { margin-top: 32px; border-top: 1px solid var(--line); }
.role { display: grid; grid-template-columns: 170px 1fr; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.role dt { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); padding-top: 3px; }
.role dd { margin: 0; color: var(--ink-2); }
.role dd strong { display: block; color: var(--ink); font-size: 17px; margin-bottom: 2px; }
@media (max-width: 960px) { .records { grid-template-columns: 1fr; gap: 44px; } }
@media (max-width: 520px) { .role { grid-template-columns: 1fr; gap: 6px; } }

/* For hospitals */
.hosp { display: grid; grid-template-columns: .95fr 1.05fr; gap: 72px; align-items: center; }
.hosp-art { position: relative; border-radius: 28px; background: var(--navy); aspect-ratio: 6 / 5; overflow: hidden; }
.hosp-art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.caps { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; margin-top: 36px; }
.cap h3 { font-size: 17px; display: flex; align-items: center; gap: 10px; }
.cap h3 i { width: 30px; height: 30px; border-radius: 9px; background: var(--sky-soft); display: grid; place-items: center; flex: none; }
.cap h3 i svg { width: 17px; height: 17px; stroke: var(--sky-deep); }
.cap p { margin-top: 8px; font-size: 15px; color: var(--ink-2); }
.hosp .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
@media (max-width: 960px) { .hosp { grid-template-columns: 1fr; gap: 44px; } .hosp-art { order: -1; } }
@media (max-width: 520px) { .caps { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 840px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 700; font-size: 18px; padding: 22px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--mist) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 5v10M5 10h10' fill='none' stroke='%230079c4' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 16px no-repeat; transition: transform .35s var(--ease), background-color .2s; }
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--sky-soft); }
.faq .answer { overflow: hidden; }
.faq .answer p { padding: 0 48px 22px 0; color: var(--ink-2); }
.faq.center { margin: 0 auto; }

/* Download CTA */
.cta-box { position: relative; overflow: hidden; border-radius: 32px; padding: 72px 40px; text-align: center; background:
  radial-gradient(600px 300px at 50% -10%, rgba(0,160,232,.35), transparent 70%), var(--navy); color: #cfe0f7; }
.cta-box h2 { color: #fff; font-size: clamp(32px, 4.4vw, 52px); }
.cta-box p { margin: 16px auto 0; max-width: 46ch; color: #cfe0f7; font-size: 18px; }
.cta-box .stores { justify-content: center; margin-top: 32px; }
.cta-box .store { background: #fff; color: var(--ink); }
.cta-box .store:hover { background: #f1f6fb; color: var(--ink); }
.cta-box .store.soon { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.3); }
.cta-box .sample { margin-top: 26px; font-size: 13px; color: #9fb5d8; }

/* Footer */
.site-footer { background: #08111f; color: #9fb0c8; padding: 64px 0 36px; font-size: 15px; }
.site-footer .cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 36px; }
.site-footer h4 { color: #fff; font-size: 14px; margin: 0 0 14px; letter-spacing: .02em; }
.site-footer a { color: #cfe0f5; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.site-footer .brand { color: #fff; }
.site-footer .brand small { color: #9fb0c8; }
.site-footer .legal { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; }
@media (max-width: 760px) { .site-footer .cols { grid-template-columns: 1fr; } }

/* ---------- Document pages (privacy, terms, support) ---------- */
.doc-hero { background: linear-gradient(180deg, #f3faff, #fff); padding: 56px 0 28px; }
.doc-hero h1 { font-size: clamp(36px, 5vw, 52px); letter-spacing: -0.03em; }
.doc-hero p { margin-top: 12px; }
.doc { display: grid; grid-template-columns: 240px 1fr; gap: 56px; padding-top: 32px; padding-bottom: 96px; }
.toc { position: sticky; top: 96px; align-self: start; font-size: 14px; }
.toc ol { margin: 0; padding: 0 0 0 18px; display: grid; gap: 8px; color: var(--ink-3); }
.toc a { color: var(--ink-2); text-decoration: none; }
.toc a:hover { color: var(--sky-deep); }
.prose { max-width: 72ch; min-width: 0; }
.prose h2 { font-size: 24px; margin: 46px 0 12px; scroll-margin-top: 96px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 18px; margin: 24px 0 8px; }
.prose p, .prose li { color: var(--ink-2); }
.prose p + p { margin-top: 12px; }
.prose ul, .prose ol { padding-left: 22px; margin: 12px 0; display: grid; gap: 6px; }
.prose strong { color: var(--ink); }
.callout { background: var(--sky-soft); border: 1px solid var(--sky-line); border-radius: 14px; padding: 16px 18px; margin: 18px 0; color: var(--ink); }
.callout.warn { background: #fff7e6; border-color: #fde3ad; }
.table-scroll { overflow-x: auto; margin: 16px 0; border: 1px solid var(--line); border-radius: 14px; }
table { border-collapse: collapse; width: 100%; font-size: 15px; min-width: 520px; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--ink-2); }
th { background: var(--mist); color: var(--ink); font-size: 12.5px; text-transform: uppercase; letter-spacing: .05em; }
tr:last-child td { border-bottom: 0; }
.contact-card { background: var(--mist); border: 1px solid var(--line); border-radius: 16px; padding: 20px 22px; display: grid; gap: 6px; }
.section-num { color: var(--sky-deep); margin-right: 6px; }
@media (max-width: 900px) {
  .doc { grid-template-columns: 1fr; gap: 24px; }
  .toc { position: static; background: var(--mist); border-radius: 14px; padding: 16px 18px; }
}
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card h3 { font-size: 18px; }
.card p { margin-top: 8px; color: var(--ink-2); font-size: 15px; }
.card a.big { display: inline-block; margin-top: 12px; font-weight: 700; font-size: 17px; }
@media (max-width: 860px) { .cards { grid-template-columns: 1fr; } }

/* ---------- SVG illustration motion (runs while the art is on screen) ---------- */
.ill * { transform-box: fill-box; }
.ill .pin { transform-origin: 50% 100%; }
.is-in .ill .pin { animation: pinDrop 1.1s var(--ease) both, pinBob 3s ease-in-out 1.1s infinite; }
@keyframes pinDrop { 0% { transform: translateY(-60px); opacity: 0; } 60% { transform: translateY(4px); opacity: 1; } 80% { transform: translateY(-3px); } 100% { transform: none; } }
@keyframes pinBob { 0%, 100% { transform: none; } 50% { transform: translateY(-5px); } }
.ill .ring { transform-origin: center; opacity: 0; }
.is-in .ill .ring { animation: ring 2.4s ease-out 1s infinite; }
.is-in .ill .ring.r2 { animation-delay: 1.8s; }
@keyframes ring { 0% { transform: scale(.4); opacity: .8; } 100% { transform: scale(2.6); opacity: 0; } }
.ill .window { opacity: .35; }
.is-in .ill .window { animation: blink 3.2s ease-in-out infinite; animation-delay: var(--d, 0s); }
@keyframes blink { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }

.ill .cell-pick { transform-origin: center; transform: scale(0); }
.is-in .ill .cell-pick { animation: pop .6s var(--ease) .5s forwards; }
@keyframes pop { 0% { transform: scale(0); } 70% { transform: scale(1.15); } 100% { transform: scale(1); } }
.ill .draw { stroke-dasharray: var(--len, 60); stroke-dashoffset: var(--len, 60); }
.is-in .ill .draw { animation: draw .8s var(--ease) forwards; animation-delay: var(--d, .9s); }
@keyframes draw { to { stroke-dashoffset: 0; } }
.ill .hand { transform-origin: 0% 100%; }
.is-in .ill .hand { animation: spin 6s linear infinite; }
.ill .hand.fast { transform-origin: 0% 100%; }
.is-in .ill .hand.fast { animation-duration: 1.6s; }
@keyframes spin { to { transform: rotate(360deg); } }

.ill .bubble { opacity: 0; transform: translateY(10px) scale(.9); transform-origin: left bottom; }
.ill .bubble.me { transform-origin: right bottom; }
.is-in .ill .bubble { animation: bubble 6s var(--ease) infinite; animation-delay: var(--d, .4s); }
@keyframes bubble { 0% { opacity: 0; transform: translateY(10px) scale(.9); } 10%, 82% { opacity: 1; transform: none; } 92%, 100% { opacity: 0; transform: translateY(-4px); } }
.ill .live { transform-origin: center; }
.is-in .ill .live { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.5); opacity: .4; } }
.ill .wave { transform-origin: left center; }
.is-in .ill .wave { animation: wave 1.4s ease-in-out infinite; animation-delay: var(--d, 0s); }
@keyframes wave { 0%, 100% { transform: scaleY(.4); } 50% { transform: scaleY(1); } }

.ill .bell { transform-origin: 50% 0%; }
.is-in .ill .bell { animation: ringBell 3s ease-in-out 1.2s infinite; }
@keyframes ringBell { 0%, 40%, 100% { transform: rotate(0); } 5% { transform: rotate(16deg); } 10% { transform: rotate(-14deg); } 15% { transform: rotate(10deg); } 20% { transform: rotate(-6deg); } 25% { transform: rotate(0); } }
.ill .badge { transform-origin: center; transform: scale(0); }
.is-in .ill .badge { animation: pop .5s var(--ease) 1.2s forwards; }
.ill .rx-line { transform-origin: left center; transform: scaleX(0); }
.is-in .ill .rx-line { animation: grow .6s var(--ease) forwards; animation-delay: var(--d, .3s); }
@keyframes grow { to { transform: scaleX(1); } }

.ill .dot-travel { offset-rotate: 0deg; opacity: 0; }
.is-in .ill .dot-travel { animation: travel 3.2s linear infinite; animation-delay: var(--d, 0s); }
@keyframes travel { 0% { offset-distance: 0%; opacity: 0; } 8% { opacity: 1; } 90% { opacity: 1; } 100% { offset-distance: 100%; opacity: 0; } }
.ill .flow { stroke-dasharray: 2 9; }
.is-in .ill .flow { animation: flow 1.2s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -22; } }
.ill .shield { transform-origin: center; }
.is-in .ill .shield { animation: breathe 3.6s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }
.ill .bar { transform-origin: bottom; transform: scaleY(.15); }
.is-in .ill .bar { animation: bars 3.6s var(--ease) infinite; animation-delay: var(--d, 0s); }
@keyframes bars { 0% { transform: scaleY(.15); } 30%, 75% { transform: scaleY(1); } 100% { transform: scaleY(.15); } }
.ill .sync { transform-origin: center; }
.is-in .ill .sync { animation: spin 4s linear infinite; }
.ill .slide-in { opacity: 0; transform: translateY(14px); }
.is-in .ill .slide-in { animation: slideIn 4.8s var(--ease) infinite; animation-delay: var(--d, .6s); }
@keyframes slideIn { 0% { opacity: 0; transform: translateY(14px); } 12%, 80% { opacity: 1; transform: none; } 92%, 100% { opacity: 0; transform: translateY(14px); } }

:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-reveal], .hero-in, .hero-note, .phones .phone.back, .phones .phone.front { opacity: 1 !important; transform: none !important; }
  .phones .phone.back { transform: translate(-94%, -38px) rotate(-7deg) !important; }
  .phones .phone.front { transform: translateX(28%) rotate(3deg) !important; }
  .hero h1 .line > span { transform: none !important; }
  .ill .cell-pick, .ill .badge, .ill .bubble, .ill .slide-in, .ill .dot-travel { opacity: 1 !important; transform: none !important; }
  .ill .draw { stroke-dashoffset: 0 !important; }
  .ill .rx-line, .ill .bar { transform: none !important; }
}
@media (prefers-reduced-motion: reduce) and (max-width: 480px) { .phones .phone.front { transform: none !important; } }

/* ---------- Hero v2: full-bleed, photo-led (pattern after fintech app homepages) ----------
   Drop a photo at assets/img/hero.jpg and set --hero-photo on .hero2 to use it. */
.site-header.on-dark:not(.scrolled) .brand, .site-header.on-dark:not(.scrolled) .brand small,
.site-header.on-dark:not(.scrolled) .nav a:not(.btn) { color: #fff; }
.site-header.on-dark:not(.scrolled) .brand small { opacity: .8; }
.site-header.on-dark:not(.scrolled) .nav a:not(.btn)::after { background: #fff; }
.site-header.on-dark:not(.scrolled) .nav .btn { background: #fff; color: var(--ink); box-shadow: none; }
.site-header.on-dark:not(.scrolled) .nav .btn:hover { background: #eef6fc; color: var(--ink); }

.hero2 { --hero-photo: none; position: relative; isolation: isolate; min-height: max(760px, 100svh); color: #fff; overflow: hidden;
  background:
    linear-gradient(180deg, rgba(4, 30, 72, .35) 0%, rgba(4, 30, 72, 0) 30%, rgba(4, 30, 72, 0) 62%, rgba(4, 30, 72, .45) 100%),
    var(--hero-photo),
    linear-gradient(180deg, #2f7fc4 0%, #5aa6dd 46%, #a9d4ef 100%);
  background-size: cover; background-position: center 30%; }
.hero2 .sky { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero2 .sky span { position: absolute; border-radius: 50%; filter: blur(48px); opacity: .55; background: #fff; animation: drift 26s ease-in-out infinite alternate; }
.hero2 .sky .c1 { width: 620px; height: 220px; left: -8%; top: 52%; }
.hero2 .sky .c2 { width: 520px; height: 180px; right: -6%; top: 22%; opacity: .35; animation-duration: 32s; }
.hero2 .sky .c3 { width: 760px; height: 260px; left: 30%; bottom: -8%; opacity: .5; animation-duration: 38s; }
.hero2 .sky .sun { width: 520px; height: 520px; right: 8%; top: -18%; background: radial-gradient(circle, rgba(255,255,255,.75), rgba(255,255,255,0) 65%); filter: none; opacity: .7; animation: none; }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(80px); } }

.hero2 .wrap { position: relative; padding-top: 150px; padding-bottom: 64px; min-height: inherit; }
.hero2 h1 { color: #fff; font-weight: 500; font-size: clamp(56px, 9vw, 128px); letter-spacing: -0.045em; line-height: .98; max-width: 11ch; }
.hero2 h1 .line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero2 h1 .line > span { display: inline-block; transform: translateY(105%); animation: rise 1.1s var(--ease) forwards; animation-delay: var(--d, 0s); }
.hero2 .sub { margin-top: 30px; max-width: 30ch; font-size: 19px; line-height: 1.5; color: rgba(255,255,255,.9); }
.hero2 .cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 30px; }
.btn-dark { display: inline-flex; align-items: center; gap: 10px; background: #0c1830; color: #fff; font-weight: 600; font-size: 16px; padding: 14px 24px; border-radius: 999px; text-decoration: none; transition: transform .25s var(--ease), background .2s; }
.btn-dark:hover { background: #000; color: #fff; transform: translateY(-2px); }
.btn-glass { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 600; font-size: 16px; padding: 13px 22px; border-radius: 999px; text-decoration: none; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.4); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transition: background .2s, transform .25s var(--ease); }
.btn-glass:hover { background: rgba(255,255,255,.26); color: #fff; transform: translateY(-2px); }

/* The see-through phone */
.glass-phone { position: absolute; left: 60%; bottom: 0; width: 320px; height: 470px; translate: -50% 0; border: 1.5px solid rgba(255,255,255,.62); border-bottom: 0; border-radius: 48px 48px 0 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding-bottom: 120px; box-shadow: inset 0 1px 0 rgba(255,255,255,.25); }
.glass-phone::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.02)); backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); }
.glass-phone > * { position: relative; }
.glass-phone .notch { position: absolute; top: 16px; width: 92px; height: 26px; border-radius: 20px; background: rgba(12,24,48,.35); }
.glass-phone .label { font-size: 15px; font-weight: 600; color: rgba(255,255,255,.85); }
.glass-phone .figure { font-size: 58px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; margin-top: 6px; text-shadow: 0 6px 30px rgba(4,30,72,.25); }
.glass-phone .who { margin-top: 8px; font-size: 14.5px; color: rgba(255,255,255,.85); }
.glass-pill { margin-top: 18px; display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; background: rgba(255,255,255,.22); border: 1px solid rgba(255,255,255,.35); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); font-weight: 600; font-size: 15px; color: #fff; }
.glass-pill i { width: 8px; height: 8px; border-radius: 50%; background: #3ee08f; box-shadow: 0 0 0 0 rgba(62,224,143,.7); animation: livePing 2s infinite; }
@keyframes livePing { 0% { box-shadow: 0 0 0 0 rgba(62,224,143,.7); } 70% { box-shadow: 0 0 0 10px rgba(62,224,143,0); } 100% { box-shadow: 0 0 0 0 rgba(62,224,143,0); } }
.glass-phone .stage { opacity: 0; animation: fadeUp 1s var(--ease) forwards; animation-delay: var(--d, .9s); }

/* Frosted trust bar */
.trust-bar { position: absolute; left: 60%; bottom: 34px; translate: -50% 0; z-index: 2; display: flex; align-items: center; gap: 0; padding: 12px 8px; border-radius: 18px; background: rgba(255,255,255,.2); border: 1px solid rgba(255,255,255,.35); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); opacity: 0; animation: fadeUp 1s var(--ease) 1.2s forwards; }
.trust-bar div { display: flex; align-items: center; gap: 10px; padding: 4px 22px; font-size: 13.5px; font-weight: 700; letter-spacing: .01em; color: #fff; white-space: nowrap; }
.trust-bar div + div { border-left: 1px solid rgba(255,255,255,.35); }
.trust-bar svg { width: 22px; height: 22px; flex: none; }

.hero2 .stores-mini { display: flex; gap: 10px; margin-top: 18px; font-size: 13.5px; color: rgba(255,255,255,.85); align-items: center; }
.hero2 .stores-mini a { color: #fff; font-weight: 700; }

@media (max-width: 900px) {
  .hero2 .wrap { padding-top: 120px; }
  .glass-phone { left: 50%; width: 270px; height: 430px; padding-bottom: 96px; }
  .trust-bar { left: 50%; }
  .glass-phone .figure { font-size: 46px; }
}
@media (max-width: 560px) {
  .hero2 { min-height: 820px; }
  .hero2 .sub { font-size: 17px; }
  .glass-phone { width: 236px; height: 360px; padding-bottom: 92px; }
  .glass-phone .figure { font-size: 40px; }
  .trust-bar { width: calc(100% - 32px); justify-content: center; bottom: 20px; padding: 10px 4px; }
  .trust-bar div { padding: 4px 10px; font-size: 12px; white-space: normal; }
  .trust-bar svg { width: 18px; height: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero2 h1 .line > span, .glass-phone .stage, .trust-bar { transform: none !important; opacity: 1 !important; }
}

/* =====================================================================
   Revolut-style design language: full-bleed scroll hero that collapses into
   phone cards, quiet centred badge section, centred sections with a pill
   button, one big visual and pill toggles. Glass phones show cropped widgets.
   ===================================================================== */

/* ---- Scroll hero ---- */
.hs { position: relative; height: 230vh; background: #fff; padding: 0; }
.hs-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.hs-sky { position: absolute !important; inset: 0; min-height: 0 !important; will-change: clip-path; }
.hs-copy { position: absolute; left: 0; right: 0; top: 0; padding-top: 150px; z-index: 2; color: #fff; will-change: transform, opacity; }
.hs-copy h1 { color: #fff; font-weight: 500; font-size: clamp(56px, 9vw, 128px); letter-spacing: -0.045em; line-height: .98; max-width: 11ch; }
.hs-copy h1 .line { display: block; overflow: hidden; padding-bottom: .04em; }
.hs-copy h1 .line > span { display: inline-block; transform: translateY(105%); animation: rise 1.1s var(--ease) forwards; animation-delay: var(--d, 0s); }
.hs-copy .sub { margin-top: 30px; max-width: 30ch; font-size: 19px; line-height: 1.5; color: rgba(255,255,255,.9); }
.hs-copy .cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hs .glass-phone { position: absolute; z-index: 3; translate: none; left: 60%; bottom: 0; transform-origin: center; }
.hs .glass-phone .stage { transform-origin: center; }
.hs-trust { z-index: 4; }
.hs-strip { position: absolute; left: 10px; right: 10px; bottom: 10px; display: flex; align-items: center; gap: 10px; background: #fff; color: var(--ink); border-radius: 18px; padding: 10px 12px; text-align: left; font-size: 13px; box-shadow: 0 10px 24px -14px rgba(0,0,0,.35); }
.hs-strip b { display: block; font-size: 13.5px; }
.hs-strip small { display: block; color: var(--ink-3); font-size: 12px; }
.hs-strip em { margin-left: auto; font-style: normal; font-weight: 700; font-size: 13px; }
.hs-strip .ic { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.hs-strip .ic svg { width: 18px; height: 18px; }
.hs-strip.center { opacity: 0; }
.hs-card { position: absolute; z-index: 1; border-radius: 36px; overflow: hidden; opacity: 0; color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding-bottom: 80px; box-shadow: 0 30px 60px -30px rgba(0,30,80,.45); }
.hs-left { background: radial-gradient(120% 80% at 30% 10%, #3fc59a, #0c6f5b 70%); }
.hs-right { background: radial-gradient(120% 80% at 70% 10%, #3d7fd9, #0a2e6e 70%); }
.hs-card .label { font-size: 14px; font-weight: 600; color: rgba(255,255,255,.85); }
.hs-card .figure { font-size: 40px; font-weight: 700; letter-spacing: -0.03em; margin-top: 4px; }
.hs-card .glass-pill { margin-top: 14px; font-size: 13.5px; padding: 8px 14px; }
.hs.static { height: auto; }
.hs.static .hs-sticky { position: relative; height: auto; min-height: 760px; }
.hs.static .hs-card { display: none; }
.hs.static .glass-phone { left: 60%; translate: -50% 0; }
@media (max-width: 900px) { .hs.static .glass-phone { left: 50%; } }

/* ---- Shared Revolut-style section language ---- */
.rv { position: relative; overflow: hidden; padding: 128px 0; text-align: center; background: #fff; }
.rv-light { background: #f4f5f7; }
.rv-dark { background: #07090f; color: #fff; }
.rv-navy { background: #031a46; color: #fff; }
.rv-sky { color: #fff; background: linear-gradient(180deg, #2f7fc4 0%, #5aa6dd 50%, #a9d4ef 100%); }
.rv-sky .sky { position: absolute; inset: 0; pointer-events: none; }
.rv-sky .sky span { position: absolute; border-radius: 50%; filter: blur(48px); opacity: .45; background: #fff; animation: drift 30s ease-in-out infinite alternate; }
.rv-sky .sky .c1 { width: 640px; height: 220px; left: -10%; top: 40%; }
.rv-sky .sky .c3 { width: 760px; height: 240px; right: -12%; bottom: -6%; }
.rv-sky .sky .sun { width: 520px; height: 520px; right: 10%; top: -30%; background: radial-gradient(circle, rgba(255,255,255,.7), rgba(255,255,255,0) 65%); filter: none; animation: none; }
.rv .wrap { position: relative; }
.rv-eyebrow { font-size: 15.5px; font-weight: 500; color: var(--ink-3); }
.rv-dark .rv-eyebrow, .rv-navy .rv-eyebrow, .rv-sky .rv-eyebrow { color: rgba(255,255,255,.75); }
.rv-title { margin: 14px auto 0; max-width: 34ch; font-size: clamp(22px, 2.3vw, 29px); font-weight: 600; letter-spacing: -0.015em; line-height: 1.35; color: inherit; }
.rv-dark .rv-title, .rv-navy .rv-title, .rv-sky .rv-title { color: #fff; }
.rv-title.big { font-size: clamp(34px, 4.6vw, 56px); font-weight: 600; letter-spacing: -0.035em; line-height: 1.08; max-width: 18ch; }
.pill-btn { display: inline-flex; align-items: center; gap: 8px; margin-top: 26px; padding: 12px 22px; border-radius: 999px; background: #0c1830; color: #fff; font-weight: 600; font-size: 15px; text-decoration: none; transition: transform .25s var(--ease), background .2s; }
.pill-btn:hover { background: #000; color: #fff; transform: translateY(-2px); }
.pill-btn.white { background: #fff; color: #0c1830; }
.pill-btn.white:hover { background: #eef3f8; color: #0c1830; }
.rv-note { margin-top: 22px; font-size: 13px; color: rgba(255,255,255,.75); }
.rv-stores { justify-content: center; margin-top: 30px; }
.rv-sky .store { background: #fff; color: var(--ink); }
.rv-sky .store:hover { background: #f1f6fb; color: var(--ink); }
.rv-sky .store.soon { background: rgba(255,255,255,.16); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.45); }

/* Pill toggles */
.seg { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 40px; }
.seg button { font: inherit; font-size: 15px; font-weight: 600; padding: 10px 20px; border-radius: 999px; cursor: pointer; background: transparent; color: var(--ink); border: 1.5px solid #c9d1dc; transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease); }
.seg button:hover { transform: translateY(-1px); border-color: var(--ink); }
.seg button.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.seg.on-dark button { color: #fff; border-color: rgba(255,255,255,.55); }
.seg.on-dark button:hover { border-color: #fff; }
.seg.on-dark button.on { background: #fff; color: #0c1830; border-color: #fff; }

/* Panels that swap in place (always rise from below) */
.rv-stack { display: grid; }
.rv-stack > .rv-panel { grid-area: 1 / 1; opacity: 0; transform: translateY(26px); transition: opacity .55s var(--ease), transform .7s var(--ease); pointer-events: none; }
.rv-stack > .rv-panel.on { opacity: 1; transform: none; pointer-events: auto; }

/* Glass phone with floating widgets */
.gphone { position: relative; margin: 56px auto 0; width: 300px; height: 560px; border-radius: 48px; border: 1.5px solid rgba(255,255,255,.6); background: linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,.04)); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.gphone .notch { position: absolute; top: 16px; left: 50%; translate: -50% 0; width: 90px; height: 26px; border-radius: 20px; background: rgba(12,24,48,.35); }
.gphone.light { border-color: rgba(12,24,48,.16); background: linear-gradient(180deg, #fff, #eef3f8); }
.gphone.light .notch { background: rgba(12,24,48,.12); }
.gphone .rv-stack { position: absolute; inset: 0; align-items: center; }
.gphone .rv-panel { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 60px 0 30px; }
.widget { width: 340px; max-width: calc(100vw - 40px); border-radius: 22px; background: #fff; box-shadow: 0 24px 50px -24px rgba(0,30,80,.45), 0 2px 6px rgba(0,30,80,.06); padding: 6px; user-select: none; -webkit-user-drag: none; }
.rv-panel.on .widget { animation: widgetIn .8s var(--ease) both; animation-delay: calc(var(--i, 0) * .12s); }
@keyframes widgetIn { from { opacity: 0; transform: translateY(30px) scale(.97); } to { opacity: 1; transform: none; } }

/* How it works panel */
.how-stack { margin: 52px auto 0; max-width: 560px; }
.how-stack .rv-panel h3 { font-size: 22px; margin-top: 26px; }
.how-stack .rv-panel p { margin: 8px auto 0; max-width: 42ch; color: var(--ink-2); }
.how-art { position: relative; aspect-ratio: 7 / 5; border-radius: 36px; background: linear-gradient(180deg, #fff, #eef6fc); border: 1px solid #dde8f2; overflow: hidden; box-shadow: 0 30px 60px -40px rgba(0,30,80,.35); }
.how-art svg { position: absolute; inset: 0; width: 100%; height: 100%; }

/* Big visuals in records / hospitals */
.rv-visual { position: relative; margin: 56px auto 0; max-width: 620px; aspect-ratio: 6 / 5; border-radius: 40px; overflow: hidden; }
.rv-visual svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.rv-visual.records-art { background: linear-gradient(180deg, #f3faff, #fff); }
.rv-visual.hosp-art { background: #0a2a66; border: 1px solid rgba(255,255,255,.1); }
.rv-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin: 56px auto 0; max-width: 980px; text-align: center; }
.rv-cols.four { grid-template-columns: repeat(4, 1fr); max-width: 1080px; }
.rv-cols span { display: block; font-weight: 700; font-size: 16px; color: #fff; }
.rv-cols p { margin-top: 8px; font-size: 14.5px; color: rgba(255,255,255,.7); line-height: 1.55; }
@media (max-width: 860px) { .rv-cols, .rv-cols.four { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .rv-cols, .rv-cols.four { grid-template-columns: 1fr; } }

/* ---- Badge section (licensed care + partner hospitals) ---- */
.rv-badges { padding: 110px 0 120px; text-align: center; background: #fff; }
.badge-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 44px 64px; margin-top: 42px; }
.badge { width: 190px; display: flex; flex-direction: column; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); }
.badge .mark { height: 64px; display: grid; place-items: center; }
.badge .mark svg { width: 52px; height: 52px; }
.badge .mark.mark-stores { display: flex; gap: 12px; }
.badge .mark.mark-stores svg { width: 34px; height: 34px; color: #0c1830; }
.badge p { font-size: 15px; line-height: 1.45; color: var(--ink); }
.badge small { display: block; color: var(--ink-3); font-size: 13px; margin-top: 2px; }
.badge .logo { width: 112px; height: 112px; border-radius: 22px; overflow: hidden; display: grid; place-items: center; background: #fff; border: 0; font-weight: 800; font-size: 30px; color: var(--navy); }
.badge .logo img { width: 100%; height: 100%; object-fit: contain; }
.badge.join .logo { border: 1.5px dashed #b9c4d3; color: var(--ink-3); font-size: 40px; font-weight: 300; }
.badge.join:hover .logo { border-color: var(--sky); color: var(--sky-deep); }
.badge.skeleton .sk-logo { display: block; width: 112px; height: 112px; border-radius: 22px; }
.badge.skeleton .sk-bar { display: block; width: 120px; height: 12px; border-radius: 8px; }
.badge.skeleton .sk-logo, .badge.skeleton .sk-bar { background: linear-gradient(90deg, #eef2f7 25%, #f7f9fc 50%, #eef2f7 75%); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }
.rv-badges .providers-note { margin-top: 28px; }
@media (max-width: 560px) { .badge { width: 42%; } .badge-row { gap: 36px 16px; } }

@media (max-width: 700px) {
  .rv { padding: 88px 0; }
  .gphone { width: 270px; height: 500px; }
  .widget { width: 310px; }
}
@media (prefers-reduced-motion: reduce) {
  .rv-panel.on .widget { animation: none; }
  .rv-stack > .rv-panel { transition: none; }
}

/* ---- How it works: scroll story ---- */
.story { position: relative; height: 380vh; padding: 0; background: linear-gradient(180deg, #f4f8fc, #eaf3fa); }
.story-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; overflow: hidden; }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.story-steps { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 8px; }
.story-steps li { display: grid; grid-template-columns: 52px 1fr; gap: 10px; padding: 18px 0; border-top: 1px solid #dbe5ef; opacity: .38; transition: opacity .45s var(--ease); cursor: pointer; }
.story-steps li:first-child { border-top: 0; }
.story-steps li.on { opacity: 1; }
.story-steps li > span { font-size: 15px; font-weight: 700; color: var(--sky-deep); padding-top: 5px; }
.story-steps h3 { font-size: clamp(24px, 2.6vw, 34px); font-weight: 600; letter-spacing: -0.025em; }
.story-steps p { max-height: 0; overflow: hidden; margin-top: 0; color: var(--ink-2); font-size: 16px; transition: max-height .6s var(--ease), margin-top .6s var(--ease); }
.story-steps li.on p { max-height: 120px; margin-top: 10px; }
.story-bar { margin-top: 26px; height: 3px; border-radius: 3px; background: #dbe5ef; overflow: hidden; }
.story-bar i { display: block; height: 100%; width: 0; background: var(--sky); border-radius: inherit; }
.story-visual { display: flex; justify-content: center; }
.story-phone { margin: 0; }
.story .gphone .rv-panel { padding: 70px 0 40px; }

/* Small UI cards built for the site (no screenshots) */
.ui-card { width: 320px; max-width: calc(100vw - 40px); background: #fff; border-radius: 24px; padding: 18px; text-align: left; box-shadow: 0 24px 50px -24px rgba(0,30,80,.4), 0 2px 6px rgba(0,30,80,.06); }
.rv-panel.on .ui-card, .rv-panel.on .ui-note, .rv-panel.on .ui-chip-note { animation: widgetIn .8s var(--ease) both; animation-delay: calc(var(--i, 0) * .12s); }
.ui-title { font-weight: 700; font-size: 17px; margin-bottom: 12px; }
.ui-row { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 16px; }
.ui-row.on { background: #e8f6fd; box-shadow: inset 0 0 0 1.5px #9fd6f2; }
.ui-row.soon { opacity: .55; }
.ui-row b { display: block; font-size: 15px; }
.ui-row small { display: block; font-size: 12.5px; color: var(--ink-3); }
.ui-logo { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); font-weight: 800; color: var(--navy); flex: none; font-size: 14px; }
.ui-check { margin-left: auto; width: 26px; height: 26px; border-radius: 50%; background: var(--sky); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 14px; }
.ui-chip-note { --i: 1; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: #fff; font-size: 13.5px; font-weight: 600; color: var(--ink-2); box-shadow: 0 10px 24px -14px rgba(0,30,80,.35); }
.ui-chip-note::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); }
.ui-card.call { text-align: center; background: linear-gradient(180deg, #0b2c6b, #0a1a3d); color: #fff; padding: 22px 18px 18px; }
.call-top { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; color: rgba(255,255,255,.8); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #3ee08f; animation: livePing 2s infinite; }
.call-avatar { width: 86px; height: 86px; margin: 16px auto 12px; border-radius: 50%; display: grid; place-items: center; font-size: 28px; font-weight: 700; background: linear-gradient(160deg, #3fa9e8, #0a4fae); box-shadow: 0 0 0 8px rgba(255,255,255,.06); }
.ui-card.call b { display: block; font-size: 17px; }
.ui-card.call small { display: block; color: rgba(255,255,255,.7); font-size: 13px; margin-top: 2px; }
.call-ctrls { display: flex; justify-content: center; gap: 14px; margin-top: 16px; }
.call-ctrls span { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.12); }
.call-ctrls span svg { width: 20px; height: 20px; }
.call-ctrls span.end { background: #ef4444; }
.ui-note { width: 320px; max-width: calc(100vw - 40px); display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 20px; padding: 14px; text-align: left; box-shadow: 0 20px 44px -24px rgba(0,30,80,.4), 0 2px 6px rgba(0,30,80,.06); }
.ui-note b { display: block; font-size: 14.5px; }
.ui-note small { display: block; font-size: 12.5px; color: var(--ink-3); }
.ui-note em { margin-left: auto; font-style: normal; font-size: 12px; color: var(--ink-3); align-self: flex-start; }
.ui-ic { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; flex: none; }
@media (max-width: 900px) {
  .story { height: auto; padding: 88px 0; }
  .story-sticky { position: static; height: auto; }
  .story-grid { grid-template-columns: 1fr; gap: 40px; }
  .story-steps li { opacity: 1; }
  .story-steps li p { max-height: none; margin-top: 8px; }
  .story-bar { display: none; }
}

/* ---- Your records: words light up ---- */
.statement { padding: 150px 0 140px; }
.words { margin: 22px auto 0; max-width: 24ch; font-size: clamp(34px, 4.6vw, 60px); font-weight: 600; line-height: 1.12; letter-spacing: -0.035em; color: #fff; }
.words .w { opacity: .18; transition: opacity .25s linear; }
.words .w.lit { opacity: 1; }
.roles-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; max-width: 1000px; margin: 72px auto 0; text-align: left; border-top: 1px solid rgba(255,255,255,.14); }
.roles-row > div { padding: 26px 28px 0; border-left: 1px solid rgba(255,255,255,.14); }
.roles-row > div:first-child { border-left: 0; padding-left: 0; }
.roles-row span { display: block; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #7fd3f7; }
.roles-row p { margin-top: 10px; font-size: 16px; color: rgba(255,255,255,.78); line-height: 1.55; }
.statement .pill-btn { margin-top: 56px; }
@media (max-width: 760px) {
  .roles-row { grid-template-columns: 1fr; }
  .roles-row > div { border-left: 0; padding: 22px 0 0; }
}

/* ---- For hospitals: dashboard in a browser window ---- */
.browser { position: relative; margin: 56px auto 0; max-width: 1040px; border-radius: 18px; background: #fff; overflow: visible; box-shadow: 0 50px 100px -40px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.08); }
.browser-bar { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-bottom: 1px solid #e6ebf1; background: #f6f8fa; border-radius: 18px 18px 0 0; }
.browser-bar i { width: 11px; height: 11px; border-radius: 50%; background: #e2e6eb; }
.browser-bar i:nth-child(1) { background: #ff5f57; } .browser-bar i:nth-child(2) { background: #febc2e; } .browser-bar i:nth-child(3) { background: #28c840; }
.browser-bar span { margin: 0 auto; padding: 4px 18px; border-radius: 8px; background: #fff; border: 1px solid #e6ebf1; font-size: 12.5px; color: var(--ink-3); font-weight: 500; transform: translateX(-30px); }
.browser-body { border-radius: 0 0 18px 18px; overflow: hidden; }
.browser-body .rv-panel { position: relative; }
.browser-body img { width: 100%; user-select: none; -webkit-user-drag: none; }
.browser-body .rv-panel { align-self: start; }
.float-stat { position: absolute; width: 62% !important; right: -4%; top: -6%; border-radius: 16px; box-shadow: 0 30px 60px -24px rgba(0,0,0,.55); }
.rv-panel.on .float-stat { animation: widgetIn .9s var(--ease) .25s both; }
.browser-body { overflow: visible; }
.browser-body .rv-panel > img:first-child { border-radius: 0 0 18px 18px; }
@media (max-width: 700px) { .float-stat { width: 80% !important; right: 2%; top: -10%; } }

.providers-row .badge { width: 210px; }
.providers-row .badge .mark { height: 112px; }

/* ---- Responsive refinements (desktop unchanged) ---- */
/* capability / role captions: ruled, left-aligned grid */
.rv-cols { gap: 0; text-align: left; border-top: 1px solid rgba(255,255,255,.14); }
.rv-cols > div { padding: 24px 24px 4px; border-left: 1px solid rgba(255,255,255,.14); }
.rv-cols > div:first-child { border-left: 0; padding-left: 0; }
.rv-cols span { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: #7fd3f7; }
.rv-cols p { font-size: 15.5px; }
@media (max-width: 860px) {
  .rv-cols, .rv-cols.four { grid-template-columns: 1fr 1fr; }
  .rv-cols > div { padding: 22px 20px 18px; }
  .rv-cols > div:nth-child(odd) { border-left: 0; padding-left: 0; }
  .rv-cols > div:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.14); }
}
@media (max-width: 520px) {
  .rv-cols, .rv-cols.four { grid-template-columns: 1fr; margin-top: 40px; }
  .rv-cols > div, .rv-cols > div:nth-child(odd) { border-left: 0; padding: 18px 0; }
  .rv-cols > div + div { border-top: 1px solid rgba(255,255,255,.14); }
  .rv-cols p { margin-top: 6px; }
}

/* pill toggles: one line, swipe sideways when they don't fit */
@media (max-width: 600px) {
  .seg { flex-wrap: nowrap; max-width: 100%; overflow-x: auto; justify-content: safe center; padding: 2px 2px 6px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .seg::-webkit-scrollbar { display: none; }
  .seg button { flex: none; padding: 9px 16px; font-size: 14px; }
  .browser { margin-top: 40px; border-radius: 12px; }
  .browser-bar { height: 30px; border-radius: 12px 12px 0 0; }
  .browser-bar i { width: 8px; height: 8px; }
  .browser-bar span { font-size: 11px; padding: 2px 10px; transform: none; }
  .browser-body, .browser-body .rv-panel > img:first-child { border-radius: 0 0 12px 12px; }
}

/* hero copy on narrow phones */
@media (max-width: 420px) {
  .hs-copy { padding-top: 112px; }
  .hs-copy h1 { font-size: clamp(44px, 13.4vw, 56px); }
  .hs-copy .sub { font-size: 16.5px; margin-top: 20px; }
  .hs-copy .cta-row { margin-top: 22px; gap: 10px; }
  .btn-dark, .btn-glass { padding: 12px 18px; font-size: 15px; }
}
/* tablets: a little more room for the copy */
@media (min-width: 600px) and (max-width: 899px) {
  .hs-copy { padding-top: 130px; }
  .hs-copy .sub { max-width: 36ch; }
}

/* short phones (e.g. 360x640): compact hero copy so the phone has room */
@media (max-width: 600px) and (max-height: 720px) {
  .hs-copy { padding-top: 92px; }
  .hs-copy h1 { font-size: clamp(38px, 11.5vw, 46px); }
  .hs-copy .sub { font-size: 15px; margin-top: 14px; max-width: 34ch; }
  .hs-copy .cta-row { margin-top: 18px; }
  .btn-dark, .btn-glass { padding: 10px 16px; font-size: 14px; }
  .trust-bar { bottom: 12px; }
}

/* scroll to top */
.to-top { position: fixed; z-index: 40; right: max(20px, env(safe-area-inset-right, 0px)); bottom: max(20px, env(safe-area-inset-bottom, 0px));
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); cursor: pointer; display: grid; place-items: center;
  color: #fff; background: rgba(12,24,48,.78); backdrop-filter: blur(12px) saturate(140%); -webkit-backdrop-filter: blur(12px) saturate(140%);
  box-shadow: 0 14px 30px -12px rgba(0,20,60,.55); opacity: 0; transform: translateY(16px) scale(.92); pointer-events: none;
  transition: opacity .35s var(--ease), transform .45s var(--ease), background .2s; }
.to-top svg { width: 20px; height: 20px; transition: transform .3s var(--ease); }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: rgba(0,121,196,.92); }
.to-top:hover svg { transform: translateY(-2px); }
.to-top:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; }
@media (max-width: 600px) { .to-top { width: 44px; height: 44px; } }
@media (max-width: 600px) and (max-height: 720px) {
  .hs .glass-phone .notch { top: 9px; width: 62px; height: 18px; }
}

/* ---- Hero sky v2: calm, layered clouds drifting (transforms only) ---- */
.sky-v2 { overflow: hidden; }
.sky-v2 .glow { position: absolute; width: 900px; height: 900px; right: -6%; top: -46%; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.55) 0%, rgba(255,255,255,.18) 32%, rgba(255,255,255,0) 62%);
  animation: glowBreathe 14s ease-in-out infinite; will-change: transform, opacity; }
@keyframes glowBreathe { 0%, 100% { transform: scale(1); opacity: .85; } 50% { transform: scale(1.08); opacity: 1; } }
.sky-v2 .warm { position: absolute; inset: 0; background: linear-gradient(200deg, rgba(255, 214, 170, .22), rgba(255, 214, 170, 0) 45%);
  opacity: 0; animation: warmLight 22s ease-in-out infinite alternate; }
@keyframes warmLight { from { opacity: 0; } to { opacity: 1; } }

/* each layer is two identical tiles wide; sliding it by one tile loops seamlessly */
.sky-v2 .clouds { position: absolute; left: 0; width: 200%; background-repeat: repeat-x; background-size: 50% 100%;
  will-change: transform; animation: cloudDrift linear infinite; }
@keyframes cloudDrift { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }
.sky-v2 .clouds.far { top: 6%; height: 40%; opacity: .55; filter: blur(14px); animation-duration: 240s;
  background-image:
    radial-gradient(ellipse 9% 22% at 8% 40%, rgba(255,255,255,.9), rgba(255,255,255,0) 70%),
    radial-gradient(ellipse 6% 16% at 13% 52%, rgba(255,255,255,.8), rgba(255,255,255,0) 70%),
    radial-gradient(ellipse 11% 20% at 38% 30%, rgba(255,255,255,.85), rgba(255,255,255,0) 70%),
    radial-gradient(ellipse 7% 14% at 44% 42%, rgba(255,255,255,.75), rgba(255,255,255,0) 70%),
    radial-gradient(ellipse 10% 24% at 70% 55%, rgba(255,255,255,.85), rgba(255,255,255,0) 70%),
    radial-gradient(ellipse 6% 15% at 77% 48%, rgba(255,255,255,.7), rgba(255,255,255,0) 70%),
    radial-gradient(ellipse 8% 18% at 92% 34%, rgba(255,255,255,.8), rgba(255,255,255,0) 70%); }
.sky-v2 .clouds.mid { top: 30%; height: 44%; opacity: .6; filter: blur(20px); animation-duration: 170s; animation-direction: reverse;
  background-image:
    radial-gradient(ellipse 14% 28% at 14% 55%, rgba(255,255,255,.9), rgba(255,255,255,0) 70%),
    radial-gradient(ellipse 9% 20% at 22% 45%, rgba(255,255,255,.85), rgba(255,255,255,0) 70%),
    radial-gradient(ellipse 16% 30% at 55% 60%, rgba(255,255,255,.9), rgba(255,255,255,0) 70%),
    radial-gradient(ellipse 10% 22% at 63% 48%, rgba(255,255,255,.8), rgba(255,255,255,0) 70%),
    radial-gradient(ellipse 12% 24% at 88% 58%, rgba(255,255,255,.85), rgba(255,255,255,0) 70%); }
.sky-v2 .clouds.near { bottom: -10%; height: 48%; opacity: .85; filter: blur(26px); animation-duration: 120s;
  background-image:
    radial-gradient(ellipse 20% 40% at 10% 70%, rgba(255,255,255,.95), rgba(255,255,255,0) 72%),
    radial-gradient(ellipse 14% 34% at 24% 58%, rgba(255,255,255,.9), rgba(255,255,255,0) 72%),
    radial-gradient(ellipse 22% 42% at 48% 72%, rgba(255,255,255,.95), rgba(255,255,255,0) 72%),
    radial-gradient(ellipse 15% 32% at 62% 60%, rgba(255,255,255,.85), rgba(255,255,255,0) 72%),
    radial-gradient(ellipse 20% 40% at 86% 70%, rgba(255,255,255,.95), rgba(255,255,255,0) 72%); }
@media (max-width: 600px) {
  .sky-v2 .glow { width: 560px; height: 560px; right: -40%; top: -22%; }
  .sky-v2 .clouds.far { filter: blur(10px); } .sky-v2 .clouds.mid { filter: blur(14px); } .sky-v2 .clouds.near { filter: blur(18px); }
}
@media (prefers-reduced-motion: reduce) { .sky-v2 .clouds, .sky-v2 .glow, .sky-v2 .warm { animation: none !important; } }

/* Hero sky v2, refined: fewer, larger cloud clusters at a fixed size (same on every screen) */
.sky-v2 .clouds { width: calc(var(--tile) * 2); background-size: var(--tile) 100%; animation-name: cloudDriftPx; }
@keyframes cloudDriftPx { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(calc(var(--tile) * -1), 0, 0); } }
.sky-v2 .clouds.far { --tile: 1900px; top: 2%; height: 40%; opacity: .42; filter: blur(16px); animation-duration: 300s;
  background-image:
    radial-gradient(ellipse 6% 26% at 14% 58%, #fff, rgba(255,255,255,0) 70%),
    radial-gradient(ellipse 4.5% 22% at 18% 46%, #fff, rgba(255,255,255,0) 70%),
    radial-gradient(ellipse 5% 18% at 10% 64%, rgba(255,255,255,.9), rgba(255,255,255,0) 70%),
    radial-gradient(ellipse 7% 24% at 54% 40%, #fff, rgba(255,255,255,0) 70%),
    radial-gradient(ellipse 4% 18% at 58.5% 30%, rgba(255,255,255,.9), rgba(255,255,255,0) 70%),
    radial-gradient(ellipse 5.5% 22% at 84% 62%, #fff, rgba(255,255,255,0) 70%),
    radial-gradient(ellipse 4% 16% at 87.5% 52%, rgba(255,255,255,.85), rgba(255,255,255,0) 70%); }
.sky-v2 .clouds.mid { --tile: 2400px; top: 24%; height: 48%; opacity: .5; filter: blur(24px); animation-duration: 230s; animation-direction: normal;
  background-image:
    radial-gradient(ellipse 9% 30% at 24% 60%, #fff, rgba(255,255,255,0) 70%),
    radial-gradient(ellipse 6% 26% at 29% 46%, #fff, rgba(255,255,255,0) 70%),
    radial-gradient(ellipse 7% 22% at 19% 66%, rgba(255,255,255,.9), rgba(255,255,255,0) 70%),
    radial-gradient(ellipse 10% 30% at 72% 56%, #fff, rgba(255,255,255,0) 70%),
    radial-gradient(ellipse 6% 24% at 77% 42%, rgba(255,255,255,.9), rgba(255,255,255,0) 70%); }
.sky-v2 .clouds.near { --tile: 2800px; bottom: -14%; height: 54%; opacity: .9; filter: blur(32px); animation-duration: 170s;
  background-image:
    radial-gradient(ellipse 11% 40% at 12% 66%, #fff, rgba(255,255,255,0) 72%),
    radial-gradient(ellipse 8% 34% at 18% 52%, #fff, rgba(255,255,255,0) 72%),
    radial-gradient(ellipse 12% 42% at 46% 70%, #fff, rgba(255,255,255,0) 72%),
    radial-gradient(ellipse 8% 30% at 52% 56%, rgba(255,255,255,.92), rgba(255,255,255,0) 72%),
    radial-gradient(ellipse 11% 40% at 82% 66%, #fff, rgba(255,255,255,0) 72%),
    radial-gradient(ellipse 7% 30% at 88% 54%, rgba(255,255,255,.9), rgba(255,255,255,0) 72%); }
@media (max-width: 600px) {
  .sky-v2 .clouds.far { filter: blur(12px); } .sky-v2 .clouds.mid { filter: blur(16px); } .sky-v2 .clouds.near { filter: blur(22px); }
}

/* Hero sky v2: more visible, still calm */
.sky-v2 .clouds.far  { opacity: .7;  filter: blur(9px);  animation: cloudDriftPx 80s linear infinite, cloudFloat 11s ease-in-out infinite alternate; }
.sky-v2 .clouds.mid  { opacity: .78; filter: blur(13px); animation: cloudDriftPx 60s linear infinite, cloudFloat 14s ease-in-out -4s infinite alternate; }
.sky-v2 .clouds.near { opacity: .95; filter: blur(18px); animation: cloudDriftPx 45s linear infinite, cloudFloat 9s ease-in-out -2s infinite alternate; }
@keyframes cloudFloat { from { translate: 0 -10px; } to { translate: 0 12px; } }
.sky-v2 .glow { animation-duration: 9s; background: radial-gradient(circle, rgba(255,255,255,.72) 0%, rgba(255,255,255,.26) 32%, rgba(255,255,255,0) 62%); }
@keyframes glowBreathe { 0%, 100% { transform: scale(1); opacity: .75; } 50% { transform: scale(1.14); opacity: 1; } }
@media (max-width: 600px) {
  .sky-v2 .clouds.far { filter: blur(7px); } .sky-v2 .clouds.mid { filter: blur(10px); } .sky-v2 .clouds.near { filter: blur(14px); }
}
@media (prefers-reduced-motion: reduce) { .sky-v2 .clouds, .sky-v2 .glow { animation: none !important; } }
