/* Vireely landing, v2. Direction: "the dark room". One deep violet-ink field in which lit things
   (the phone, the cards, the Pro plan) are the brightest objects, lit by soft orange and violet glow.
   Scales: radius 12 / 20 / 28 / pill. Space 8 / 16 / 24 / 32 / 48 / 72 / 112 / 160.
   Type (6): hero, h1, h2, lead, body, small. */

:root {
  /* dark is the default: this page lives in a dim room */
  --bg: #0b0818;
  --ink: #f5f2ff;
  --muted: #bdb5e0;
  --accent: #7b4dff;
  --on-accent: #ffffff;
  --accent-text: #bba6ff;
  --amber: #ffc46b;
  --cyan: #9fe7ff;
  --hot: #f58529;            /* Instagram orange: primary actions */
  --on-hot: #1c0a35;
  --hot-glow: rgba(245, 133, 41, 0.45);
  --film: #0a0720;
  --film-ink: #f1eeff;
  --glass: rgba(255, 255, 255, 0.055);
  --glass-2: rgba(255, 255, 255, 0.1);
  --stroke: rgba(255, 255, 255, 0.11);
  --glow: rgba(123, 77, 255, 0.5);
  --glow-soft: rgba(123, 77, 255, 0.22);
  --hot-soft: rgba(245, 133, 41, 0.20);   /* hover glow */
  --hot-text: #ff9f55;                    /* orange text on dark */
  --focus: #bba6ff;
  --sh-1: 0 1px 2px rgba(4, 2, 16, 0.5), 0 12px 32px -12px rgba(4, 2, 16, 0.7);
  --sh-2: 0 2px 4px rgba(4, 2, 16, 0.5), 0 32px 80px -24px rgba(4, 2, 16, 0.85);
  --sh-glow: 0 0 0 1px rgba(187, 166, 255, 0.35), 0 24px 90px -20px var(--glow);

  --r-s: 12px; --r-m: 20px; --r-l: 28px; --r-pill: 999px;
  --sp-1: 8px; --sp-2: 16px; --sp-3: 24px; --sp-4: 32px; --sp-5: 48px; --sp-6: 72px;
  --m: clamp(16px, 4vw, 40px);
  --gap: clamp(88px, 11vw, 160px);

  --f-display: "Unbounded", "Onest", system-ui, sans-serif;
  --f-text: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
  --t-hero: clamp(3rem, 1.5rem + 7.5vw, 8rem);
  --t-h1: clamp(2rem, 1.1rem + 3.6vw, 3.5rem);
  --t-h2: clamp(1.75rem, 1.1rem + 2.4vw, 3rem);
  --t-lead: clamp(1.25rem, 1.1rem + 0.55vw, 1.5rem);
  --t-body: clamp(1.0625rem, 1rem + 0.2vw, 1.1875rem);
  --t-small: 0.9375rem;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #f6f3ff;
    --ink: #160f33;
    --muted: #4d4474;
    --accent: #6a38f2;
    --accent-text: #5a2bd9;
    --glass: rgba(255, 255, 255, 0.72);
    --glass-2: rgba(255, 255, 255, 0.95);
    --stroke: rgba(40, 20, 110, 0.1);
    --glow: rgba(106, 56, 242, 0.4);
    --glow-soft: rgba(106, 56, 242, 0.14);
    --hot-soft: rgba(245, 133, 41, 0.16);
    --hot-text: #b4500f;
    --focus: #5a2bd9;
    --sh-1: 0 1px 2px rgba(40, 20, 110, 0.08), 0 14px 34px -14px rgba(40, 20, 110, 0.22);
    --sh-2: 0 2px 4px rgba(40, 20, 110, 0.08), 0 36px 80px -28px rgba(40, 20, 110, 0.32);
    --sh-glow: 0 0 0 1px rgba(255, 255, 255, 0.25), 0 28px 80px -22px var(--glow);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; color: var(--ink);
  background:
    radial-gradient(900px 560px at 85% -6%, var(--glow-soft), transparent 70%),
    radial-gradient(700px 480px at 0% 12%, rgba(245, 133, 41, 0.09), transparent 70%),
    var(--bg);
  background-repeat: no-repeat;
  font: 400 var(--t-body)/1.6 var(--f-text); letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, figure, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: var(--r-s); }
.on-accent { --focus: #fff; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.wrap { width: 100%; max-width: 1360px; margin-inline: auto; padding-inline: var(--m); }
main { overflow-x: clip; }
section { padding-block: var(--gap); }
.h-display { font-family: var(--f-display); font-weight: 500; letter-spacing: -0.025em; line-height: 1.12; text-wrap: balance; }
h1 { font-size: var(--t-h1); font-weight: 600; }
h2 { font-size: var(--t-h2); }
.lead { font-size: var(--t-lead); line-height: 1.5; max-width: 34ch; color: var(--muted); }

/* glass surface: used sparingly, one radius family */
.glass { position: relative; background: var(--glass); border: 1px solid var(--stroke); border-radius: var(--r-l); box-shadow: var(--sh-1); backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3); isolation: isolate; }
[data-glow] { isolation: isolate; }
[data-glow]::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1; opacity: 0; transition: opacity 0.4s var(--ease); background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), var(--hot-soft), transparent 65%); }
[data-glow]:hover::after { opacity: 1; }

/* buttons: pill, one fill, soft glow on hover */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 var(--sp-4);
  background: var(--hot); color: var(--on-hot); font: 600 var(--t-body)/1.2 var(--f-text); padding-block: 14px; text-align: center;
  text-decoration: none; border: 0; cursor: pointer; border-radius: var(--r-pill);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.35) inset, 0 12px 30px -10px var(--hot-glow);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background-color 0.2s;
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4) inset, 0 20px 44px -10px var(--hot-glow); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn-sm { min-height: 44px; padding: 0 var(--sp-3); font-size: var(--t-small); }
.link { font-weight: 600; text-decoration: none; padding: var(--sp-1) 4px; border-radius: var(--r-s); background: linear-gradient(currentColor, currentColor) 4px calc(100% - 4px) / calc(100% - 8px) 2px no-repeat; transition: color 0.2s, background-size 0.4s var(--ease); }
.link:hover { color: var(--hot-text); background-size: 0 2px; }

/* header: floating glass pill */
.top { position: fixed; top: 10px; left: 0; right: 0; z-index: 20; padding-inline: var(--m); transition: transform 250ms var(--ease); }
.top.is-hidden { transform: translateY(-120%); }
.top .wrap { width: max-content; max-width: min(920px, 100%); margin-inline: auto; padding: 5px 5px 5px 16px; display: flex; align-items: center; gap: 8px; border-radius: var(--r-pill); background: color-mix(in srgb, var(--bg) 62%, transparent); border: 1px solid var(--stroke); box-shadow: var(--sh-1); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); }
.brand { font: 600 var(--t-small)/1 var(--f-display); letter-spacing: -0.02em; text-decoration: none; margin-right: auto; display: flex; align-items: center; gap: 8px; }
.brand svg { width: 24px; height: 24px; border-radius: 7px; }
.nav { display: none; gap: 2px; margin-right: 4px; }
.nav a { text-decoration: none; font-weight: 500; font-size: 0.875rem; padding: 8px 12px; border-radius: var(--r-pill); color: var(--muted); transition: background-color 0.2s, color 0.2s; }
.nav a:hover { background: var(--glass-2); color: var(--hot-text); }
@media (min-width: 900px) { .nav { display: flex; } }
.lang { display: flex; padding: 4px; gap: 2px; background: var(--glass); border: 1px solid var(--stroke); border-radius: var(--r-pill); }
.lang button { min-width: 44px; min-height: 36px; border: 0; background: transparent; color: var(--muted); font: 600 var(--t-small)/1 var(--f-text); cursor: pointer; border-radius: var(--r-pill); transition: background-color 0.25s, color 0.25s; }
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.lang button:not([aria-pressed="true"]):hover { color: var(--hot-text); }
@media (max-width: 899px) { .top .lang button { min-width: 36px; } .top .btn { padding-inline: var(--sp-2); } }
@media (prefers-reduced-motion: reduce) { .top { transition: none; } }

/* hero + 3D scroll scene. Default (no JS / reduced motion / GSAP missing) = static layout: copy + phone, then a grid of cards.
   With GSAP, JS adds .is-live (+ .is-d / .is-m) and the section becomes one pinned, scrubbed stage inside the same centred
   container as the nav. The final layout is plain CSS grid (copy | phone slot | cards); GSAP only flies things into those slots. */
.scene {
  --ph: clamp(420px, 62svh, 600px);
  --pw: calc(var(--ph) * 0.486);
  --fs: 0.6;                                  /* final phone scale (phone docks into .phone-slot) */
  --slotw: calc(var(--pw) * var(--fs));
  --pad: clamp(24px, 6vw, 96px);
  --card: rgba(26, 17, 64, 0.94);
  --card-solid: #1a1140;
  padding-block: clamp(104px, 12vw, 148px) clamp(56px, 7vw, 96px);
  position: relative;
}
@media (prefers-color-scheme: light) { .scene { --card: rgba(255, 255, 255, 0.95); --card-solid: #ffffff; } }
html.pre-live .scene-grid { visibility: hidden; }

.scene-pin { position: relative; }
.scene-grid { max-width: 1360px; margin-inline: auto; padding-inline: var(--pad); display: grid; gap: var(--sp-5); align-items: center; grid-template-areas: "copy" "stage" "cards" "note"; }
@media (min-width: 960px) { .scene-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 520px); grid-template-areas: "copy stage" "cards cards" "note note"; gap: var(--sp-6); } }
.scene-copy { grid-area: copy; }
.scene-copy h1 { max-width: 15ch; font-size: clamp(2rem, 1.1rem + 3.3vw, 3.4rem); }
.scene-copy .lead { margin-top: var(--sp-3); max-width: 38ch; }
.hero-cta { margin-top: var(--sp-4); display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-2) var(--sp-4); }
.scene-stage { grid-area: stage; display: grid; place-items: center; min-height: calc(var(--ph) + 48px); }
.phone-slot, .scene-hint { display: none; }
.scene-note { grid-area: note; text-align: center; color: var(--muted); font-size: var(--t-small); }

/* phone rig: layout centre = stage centre (the cards fly out of this point) */
.phone-rig { position: relative; width: var(--pw); height: var(--ph); --prad: calc(var(--pw) * 0.16); --bez: calc(var(--pw) * 0.03); }
.phone-glow { position: absolute; inset: -46% -90%; background: radial-gradient(closest-side at 37% 52%, rgba(245, 133, 41, 0.85), transparent 70%), radial-gradient(closest-side at 63% 48%, rgba(123, 77, 255, 0.8), transparent 72%); opacity: 0.9; pointer-events: none; }
@media (prefers-color-scheme: light) { .phone-glow { background: radial-gradient(closest-side at 37% 52%, rgba(255, 122, 20, 1), transparent 68%), radial-gradient(closest-side at 63% 48%, rgba(106, 56, 242, 0.95), transparent 70%); } }
.phone-float, .phone { position: absolute; inset: 0; }
.phone { transform-style: preserve-3d; }
.scene:not(.is-live) .phone { transform: perspective(1500px) rotateY(-16deg) rotateX(5deg) rotateZ(1.5deg); }
.ph-edge { position: absolute; inset: 0; border-radius: var(--prad); background: #241b52; border: 1px solid rgba(255, 255, 255, 0.1); }
.ph-edge:nth-child(1) { transform: translateZ(-3px); } .ph-edge:nth-child(2) { transform: translateZ(-6px); }
.ph-edge:nth-child(3) { transform: translateZ(-9px); } .ph-edge:nth-child(4) { transform: translateZ(-12px); background: #120d2e; }
.ph-body { position: absolute; inset: 0; border-radius: var(--prad); background: #06041a; border: 1px solid rgba(255, 255, 255, 0.2); box-shadow: 0 50px 70px -34px rgba(4, 2, 16, 0.75), 0 0 0 1px rgba(0, 0, 0, 0.4); }
.ph-island { position: absolute; z-index: 3; top: calc(var(--bez) * 1.05); left: 50%; width: 27%; height: calc(var(--pw) * 0.062); margin-left: -13.5%; background: #000; border-radius: 99px; }
.ph-glare { position: absolute; inset: 0; z-index: 3; border-radius: var(--prad); background: linear-gradient(115deg, rgba(255, 255, 255, 0.16), transparent 32%, transparent 70%, rgba(255, 255, 255, 0.07)); pointer-events: none; }
.ph-rim { position: absolute; inset: 0; z-index: 2; border-radius: var(--prad); pointer-events: none;
  box-shadow: inset 0 0 0 2px rgba(255, 190, 120, 0.95), 0 0 0 2px rgba(245, 133, 41, 0.9), -20px 0 52px -4px rgba(245, 133, 41, 0.85), 20px 0 52px -4px rgba(123, 77, 255, 0.9); }
.ph-rim.hot { box-shadow: inset 0 0 0 3px #ffd9a8, 0 0 0 4px #ff8a2a, -30px 0 90px 4px rgba(245, 133, 41, 1), 30px 0 90px 4px rgba(123, 77, 255, 1), 0 0 120px 10px rgba(255, 150, 60, 0.55); }
.screen { position: absolute; inset: var(--bez); border-radius: calc(var(--prad) - var(--bez)); overflow: hidden; container-type: size; background: #f1c3a8; isolation: isolate; }

/* the invented reel */
.reel { position: absolute; inset: 0; font-family: var(--f-text); color: #fff; }
.r-bg { position: absolute; inset: 0; background: linear-gradient(#fbe0cd, #f0bfa3 58%); }
.r-table { position: absolute; left: 0; right: 0; bottom: 0; height: 40%; background: linear-gradient(#d19a6c, #b47c4c); }
.rs { position: absolute; inset: 0; opacity: 0; transition: opacity 0.35s; }
.rs.on { opacity: 1; }
.rs svg { position: absolute; left: -3%; width: 106%; bottom: 17%; height: auto; overflow: visible; }
.kcap { position: absolute; top: 16%; left: 7%; right: 7%; font: 600 8.4cqw/1.14 var(--f-display); letter-spacing: -0.03em; color: #fff; text-shadow: 0 0.5cqw 0 #3a1b2c, 0 0 2cqw rgba(58, 27, 44, 0.4); text-wrap: balance; }
.kcap span { display: inline-block; margin-right: 0.18em; }
.kcap .hl { background: var(--hot); color: #1c0a35; text-shadow: none; padding: 0 0.22em; border-radius: 0.3em; transform-origin: 50% 80%; }
.s2 .kcap, .s3 .kcap { font-size: 7.4cqw; }
.rs.on .kcap span, .rs.out .kcap span { animation: wordIn 0.5s cubic-bezier(0.2, 1.5, 0.4, 1) both; animation-delay: calc(var(--i, 0) * 0.26s + 0.1s); }
.kcap span:nth-child(2) { --i: 1; } .kcap span:nth-child(3) { --i: 2; } .kcap span:nth-child(4) { --i: 3; } .kcap span:nth-child(5) { --i: 4; } .kcap span:nth-child(6) { --i: 5; }
@keyframes wordIn { from { opacity: 0; transform: translateY(70%) scale(1.5) rotate(-5deg); } to { opacity: 1; transform: none; } }
.rs.on .rise, .rs.out .rise { animation: rise 0.7s cubic-bezier(0.2, 1.3, 0.4, 1) both; animation-delay: 0.5s; transform-box: fill-box; transform-origin: 50% 100%; }
.rs.on .rise2, .rs.out .rise2 { animation: rise 0.7s cubic-bezier(0.2, 1.3, 0.4, 1) both; animation-delay: 1.1s; transform-box: fill-box; transform-origin: 50% 100%; }
.rs.on .wob, .rs.out .wob { animation: wob 1.4s ease-in-out infinite alternate; transform-box: fill-box; transform-origin: 50% 100%; }
@keyframes rise { from { opacity: 0; transform: translateY(24px) scale(0.85); } to { opacity: 1; transform: none; } }
@keyframes wob { from { transform: rotate(-3deg); } to { transform: rotate(3deg); } }
.r-ui { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.r-ui::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 36%; background: linear-gradient(transparent, rgba(40, 14, 34, 0.62)); }
.r-prog { position: absolute; top: 5.4%; left: 4cqw; right: 4cqw; height: 0.8cqw; border-radius: 9px; background: rgba(255, 255, 255, 0.45); overflow: hidden; }
.r-prog b { position: absolute; inset: 0; background: #fff; transform-origin: 0 50%; animation: prog 9s linear infinite; }
@keyframes prog { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.r-rail { position: absolute; right: 3.2cqw; bottom: 16%; display: grid; gap: 4.4cqw; justify-items: center; font: 600 3.1cqw/1 var(--f-text); text-shadow: 0 0.2cqw 1cqw rgba(0, 0, 0, 0.4); }
.r-rail div { display: grid; gap: 1.1cqw; justify-items: center; }
.r-rail svg { width: 7.4cqw; height: 7.4cqw; fill: #fff; filter: drop-shadow(0 0.2cqw 0.8cqw rgba(0, 0, 0, 0.35)); }
.r-rail .heart svg { fill: #ff4d6a; animation: beat 1.6s ease-in-out infinite; }
@keyframes beat { 0%, 70%, 100% { transform: scale(1); } 80% { transform: scale(1.22); } 90% { transform: scale(1.05); } }
.r-meta { position: absolute; left: 4cqw; right: 17cqw; bottom: 4.6cqw; text-shadow: 0 0.2cqw 1cqw rgba(0, 0, 0, 0.45); }
.r-who { display: flex; align-items: center; gap: 2.4cqw; font: 600 3.7cqw/1 var(--f-text); }
.r-who i { width: 8.4cqw; height: 8.4cqw; border-radius: 50%; background: linear-gradient(135deg, var(--hot), #7b4dff); border: 0.5cqw solid #fff; flex: none; }
.r-cap { margin-top: 2.2cqw; font: 400 3.4cqw/1.35 var(--f-text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.r-aud { margin-top: 2.2cqw; display: inline-flex; align-items: center; gap: 1.2cqw; padding: 1cqw 2.4cqw; border-radius: 99px; background: rgba(0, 0, 0, 0.32); font: 500 3cqw/1 var(--f-text); }
.r-aud svg { width: 3.2cqw; height: 3.2cqw; fill: #fff; }
.screen-dim { position: absolute; inset: 0; z-index: 2; background: rgba(10, 7, 32, 0.6); opacity: 0; visibility: hidden; pointer-events: none; }
.sweep { display: none; position: absolute; inset: 0; z-index: 3; overflow: hidden; pointer-events: none; }
.sweep-bar { position: absolute; left: 0; right: 0; top: 0; height: 0.9cqw; visibility: hidden; background: linear-gradient(90deg, transparent, #ffc88f 18%, #fff 50%, #cdb9ff 82%, transparent);
  box-shadow: 0 0 4cqw 1.6cqw rgba(245, 133, 41, 0.8), 0 -12cqw 16cqw 3cqw rgba(123, 77, 255, 0.4); }

/* analysis cards */
.cards { grid-area: cards; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); list-style: none; }
.acard { background: var(--card); border: 1px solid var(--stroke); border-radius: var(--r-m); padding: 14px 16px 16px; box-shadow: var(--sh-1); text-align: left; }
.ct { display: flex; align-items: center; gap: 8px; font: 600 var(--t-small)/1.2 var(--f-text); color: var(--ink); }
.ct::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--hot); box-shadow: 0 0 10px 1px var(--hot-glow); flex: none; }
.acard p { margin-top: 6px; color: var(--muted); font-size: 0.875rem; line-height: 1.45; }
.beats { display: flex; gap: 4px; margin-top: 10px; }
.beats i { flex: 1; height: 6px; border-radius: 9px; background: var(--accent); opacity: 0.4; }
.beats i:nth-child(2n) { background: var(--hot); opacity: 0.8; }
.acard.voice { background: var(--accent); border-color: transparent; color: #fff; box-shadow: 0 18px 44px -16px var(--glow); }
.acard.voice .ct { color: #fff; } .acard.voice p { color: #ece6ff; }
.acard.voice .ct svg { width: 18px; height: 18px; fill: currentColor; }
.acard.voice .ct::before { content: none; }
.wave { display: flex; align-items: center; gap: 3px; height: 24px; margin-top: 10px; }
.wave i { width: 3px; border-radius: 3px; background: #fff; opacity: 0.85; height: calc(var(--h) * 1%); animation: wv 1.1s ease-in-out infinite alternate; animation-delay: calc(var(--h) * -9ms); }
@keyframes wv { to { transform: scaleY(0.4); } }

.facts { padding-block: 0 var(--gap); }
.hero-facts { display: grid; gap: 12px var(--sp-4); color: var(--muted); font-size: var(--t-small); line-height: 1.5; }
@media (min-width: 640px) { .hero-facts { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .hero-facts { grid-template-columns: repeat(4, 1fr); } }
.hero-facts li { padding-left: 26px; position: relative; }
.hero-facts li::before { content: ""; position: absolute; left: 0; top: 0.4em; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 14px 2px var(--glow); }

/* ---- live (GSAP) layout ---- */
.scene.is-live { padding: 0; --ph: clamp(430px, 68svh, 680px); }
.scene.is-live.is-m { --ph: clamp(280px, 42svh, 400px); --fs: 0.42; --pad: 16px; }
.is-live .scene-pin { height: 100svh; min-height: 600px; overflow: clip; }
.is-live .scene-grid { position: absolute; top: 92px; bottom: 18px; left: 0; right: 0; gap: 12px var(--sp-5); align-items: center;
  grid-template-columns: minmax(300px, 1.25fr) var(--slotw) minmax(0, 1.75fr); grid-template-rows: minmax(0, 1fr) auto; grid-template-areas: "copy slot cards" "note note note"; }
.is-live .phone-slot { display: block; grid-area: slot; width: var(--slotw); height: calc(var(--ph) * var(--fs)); }
.is-live .scene-stage { grid-area: auto; position: absolute; inset: 0; display: block; min-height: 0; z-index: 1; pointer-events: none; }
.is-live .phone-rig { position: absolute; left: 50%; top: 50%; margin: calc(var(--ph) / -2) 0 0 calc(var(--pw) / -2); will-change: transform; }
.is-live .phone { will-change: transform; }
.is-live .sweep { display: block; }
.is-live .ph-rim.hot { opacity: 0; }
.is-live .scene-copy { z-index: 3; }
.is-live .scene-copy h1 { max-width: none; font-size: clamp(1.5rem, 0.9rem + 1.7vw, 2.5rem); }
.is-live .scene-copy .lead { max-width: none; font-size: clamp(1rem, 0.9rem + 0.3vw, 1.15rem); margin-top: var(--sp-2); }
.is-live .hero-cta { margin-top: var(--sp-3); }
.is-live .hero-cta .link { display: none; }
.is-live .hero-cta .btn { width: 100%; }
.is-live .cards { z-index: 2; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-self: center; pointer-events: none; }
.is-live .acard { will-change: transform, opacity; opacity: 0; visibility: hidden; }
.is-live .acard.voice { grid-column: 1 / -1; }
.is-live .scene-note { text-align: left; z-index: 4; }
.is-live .scene-hint { display: flex; align-items: center; gap: 12px; margin-top: var(--sp-4); color: var(--muted); font: 500 var(--t-small)/1 var(--f-text); letter-spacing: 0.04em; pointer-events: none; }
.scene-hint i { flex: none; order: -1; width: 22px; height: 34px; border: 2px solid currentColor; border-radius: 14px; position: relative; }
.scene-hint i::after { content: ""; position: absolute; left: 50%; top: 6px; width: 4px; height: 7px; margin-left: -2px; border-radius: 4px; background: var(--hot); animation: hint 1.6s ease-in-out infinite; }
@keyframes hint { 0% { transform: translateY(0); opacity: 1; } 70%, 100% { transform: translateY(10px); opacity: 0; } }

@media (min-width: 900px) and (max-height: 800px) {
  .acard { padding: 10px 14px 12px; } .acard p { font-size: 0.8125rem; line-height: 1.38; margin-top: 4px; }
  .is-live .cards { gap: 10px; }
}
/* phone / tablet portrait: phone docks top-left, headline beside it, cards in a compact two-column grid below */
.is-live.is-m .scene-grid { top: 92px; gap: 8px 14px; align-items: start; grid-template-columns: minmax(0, 1fr) var(--slotw); grid-template-rows: auto 1fr auto; grid-template-areas: "copy slot" "cards cards" "note note"; }
.is-live.is-m .scene-copy { align-self: start; }
.is-live.is-m .scene-copy h1 { font-size: clamp(1.25rem, 0.9rem + 1.6vw, 1.7rem); line-height: 1.15; }
.is-live.is-m .scene-copy .lead { font-size: 0.8125rem; line-height: 1.35; margin-top: 6px; }
.is-live.is-m .hero-cta { margin-top: 10px; }
.is-live.is-m .hero-cta .btn { min-height: 44px; padding: 8px 14px; font-size: 0.875rem; }
.is-live.is-m .cards { gap: 8px; align-self: center; }
.is-live.is-m .acard { padding: 9px 11px 10px; border-radius: var(--r-s); background: var(--card-solid); }
.is-live.is-m .acard.voice { background: var(--accent); padding: 8px 11px; }
.is-live.is-m .ct { font-size: 0.8125rem; }
.is-live.is-m .acard p { font-size: 0.75rem; line-height: 1.32; margin-top: 3px; }
.is-live.is-m .beats { margin-top: 6px; }
.is-live.is-m .wave { height: 14px; margin-top: 4px; }
.is-live.is-m .scene-note { font-size: 0.75rem; text-align: center; }
.is-live.is-m .scene-hint { position: absolute; left: 50%; bottom: 30px; margin: 0; translate: -50% 0; flex-direction: column; gap: 8px; }
@media (max-width: 899px) and (max-height: 760px) { .is-live .scene-hint { display: none; } }

/* reveal on scroll: each part of a section rises in turn */
.js [data-r] { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js [data-r].in { opacity: 1; transform: none; }

/* section heads */
.sec-head { display: grid; gap: var(--sp-3) var(--sp-5); margin-bottom: clamp(32px, 5vw, 64px); }
@media (min-width: 900px) { .sec-head { grid-template-columns: 5fr 6fr; align-items: end; } .sec-head > :last-child { grid-column: 2; } }
.sec-head p { font-size: var(--t-lead); line-height: 1.5; max-width: 40ch; color: var(--muted); }

/* how it works: one lit surface, three open columns */
.steps { display: grid; gap: var(--sp-5); padding: clamp(28px, 4vw, 56px); }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); gap: var(--sp-6); } }
.step { display: flex; flex-direction: column; gap: var(--sp-2); }
.step .foot { order: -1; margin-bottom: var(--sp-3); min-height: 64px; display: flex; align-items: center; }
.step h3 { font: 600 var(--t-lead)/1.2 var(--f-display); letter-spacing: -0.02em; }
.step p { max-width: 34ch; color: var(--muted); }
.step .big { font: 600 var(--t-h2)/1 var(--f-display); letter-spacing: -0.03em; }
.cmd { display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 22px; background: var(--film); color: var(--cyan); font-weight: 600; border-radius: var(--r-pill); box-shadow: 0 10px 30px -12px var(--glow); border: 1px solid rgba(187, 166, 255, 0.25); }
.cmd svg { width: 20px; height: 20px; fill: currentColor; }
.cmd.on-acc { background: var(--accent); color: #fff; border-color: transparent; box-shadow: 0 14px 36px -10px var(--glow); }

/* report sample */
.sample { display: grid; gap: var(--sp-5); }
@media (min-width: 1000px) { .sample { grid-template-columns: minmax(300px, 400px) 1fr; gap: var(--sp-6); align-items: start; } .stage-col { position: sticky; top: 104px; } }
.tag { display: inline-block; background: var(--glass-2); color: var(--ink); border: 1px solid var(--stroke); font-weight: 600; font-size: var(--t-small); padding: 6px 16px; border-radius: var(--r-pill); margin-bottom: 16px; }
.stage { position: relative; aspect-ratio: 9 / 16; width: 100%; max-width: 400px; overflow: hidden; background: #f3d9c9; border-radius: var(--r-l); touch-action: pan-y; cursor: ew-resize; --p: 50; user-select: none; box-shadow: var(--sh-glow); isolation: isolate; }
.stage svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.layer-bot { position: absolute; inset: 0; background: var(--film); color: var(--film-ink); clip-path: inset(0 calc((100 - var(--p)) * 1%) 0 0); font-size: var(--t-small); line-height: 1.2; font-weight: 600; letter-spacing: 0; }
.scan { position: absolute; top: 0; bottom: 0; left: calc(var(--p) * 1%); width: 3px; margin-left: -1.5px; background: var(--cyan); box-shadow: 0 0 24px 4px rgba(159, 231, 255, 0.7); pointer-events: none; transform: translateZ(0); }
.scan::after { content: ""; position: absolute; top: 50%; left: 50%; width: 36px; height: 36px; margin: -18px 0 0 -18px; background: var(--cyan); border-radius: 50%; box-shadow: 0 0 28px 4px rgba(159, 231, 255, 0.7); }
.layer-view { position: absolute; inset: 0; }
.cap { position: absolute; left: 11%; right: 11%; top: 9%; padding: 10px 12px; text-align: center; font: 600 var(--t-small)/1.25 var(--f-text); border-radius: var(--r-s); }
.layer-view .cap { background: rgba(20, 12, 8, 0.72); color: #fff; }
.layer-bot .cap { border: 2px solid var(--cyan); color: var(--cyan); text-align: left; }
.xl { position: absolute; top: calc(var(--y) * 100% / 640); left: var(--x, 36px); margin-top: -4px; background: var(--film); color: var(--cyan); padding: 3px 10px; white-space: nowrap; border-radius: var(--r-pill); }
.xl.hot { background: var(--cyan); color: var(--film); }
.vert { position: absolute; top: calc(var(--y) * 100% / 640); left: 12px; width: 12px; height: 16px; background: var(--cyan); opacity: 0.5; border-radius: 4px; }
.cmp-ctl { margin-top: 20px; max-width: 400px; }
.cmp-ctl .ends { display: flex; justify-content: space-between; gap: 12px; font-weight: 600; font-size: var(--t-small); margin-bottom: 4px; color: var(--muted); }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; background: transparent; cursor: pointer; margin: 0; }
input[type="range"]::-webkit-slider-runnable-track { height: 8px; background: var(--glass-2); border-radius: var(--r-pill); }
input[type="range"]::-moz-range-track { height: 8px; background: var(--glass-2); border-radius: var(--r-pill); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 32px; height: 32px; margin-top: -12px; background: var(--accent); border: 3px solid #fff; border-radius: 50%; box-shadow: 0 6px 20px -4px var(--glow); }
input[type="range"]::-moz-range-thumb { width: 26px; height: 26px; background: var(--accent); border: 3px solid #fff; border-radius: 50%; box-shadow: 0 6px 20px -4px var(--glow); }
.sheet { display: grid; padding: clamp(12px, 1.6vw, 24px); }
@media (min-width: 700px) { .sheet { grid-template-columns: 1fr 1fr; } }
.row { padding: 20px clamp(16px, 2vw, 28px); border-radius: var(--r-m); transition: background-color 0.3s; }
.row:hover { background: var(--glass-2); }
.row dt { font: 600 var(--t-body)/1.3 var(--f-text); margin-bottom: 6px; }
.row dd { color: var(--muted); font-size: var(--t-small); line-height: 1.55; }
.row.wide { background: var(--accent); color: #fff; margin-top: var(--sp-1); box-shadow: 0 18px 44px -16px var(--glow); }
@media (min-width: 700px) { .row.wide { grid-column: 1 / -1; } }
.row.wide:hover { background: var(--accent); }
.row.wide dd { color: #ece6ff; }
.row.wide dt { display: flex; align-items: center; gap: 10px; }
.row.wide svg { width: 20px; height: 20px; fill: currentColor; }

/* profile board: one surface, rows are plain until hovered */
.board { padding: clamp(12px, 1.6vw, 24px); display: grid; gap: 2px; }
.brow { display: grid; gap: 4px var(--sp-4); padding: 18px clamp(16px, 2vw, 28px); align-items: center; border-radius: var(--r-m); transition: background-color 0.3s; }
@media (min-width: 800px) { .brow { grid-template-columns: 5fr 7fr; } }
.brow:hover { background: var(--glass-2); }
.brow b { font: 600 var(--t-body)/1.25 var(--f-text); }
.brow span { color: var(--muted); font-size: var(--t-body); line-height: 1.45; }
.brow.hot { background: var(--accent); color: #fff; margin-top: var(--sp-1); box-shadow: 0 18px 44px -16px var(--glow); }
.brow.hot span { color: #ece6ff; }
.profile .meta { margin-top: var(--sp-4); display: flex; flex-wrap: wrap; gap: 8px var(--sp-4); color: var(--muted); font-size: var(--t-small); }
.profile .meta strong { color: var(--ink); }

/* why Vireely: the one loud colour block on the page */
.name-grid { width: calc(100% - 2 * var(--m)); max-width: 1280px; display: grid; gap: var(--sp-5); align-items: center; background: var(--accent); color: #fff; border-radius: clamp(28px, 4vw, 48px); padding: clamp(28px, 5vw, 72px); box-shadow: 0 40px 110px -36px var(--glow); }
@media (min-width: 900px) { .name-grid { grid-template-columns: 5fr 7fr; gap: var(--sp-6); } }
.name .txt { display: flex; flex-direction: column; gap: var(--sp-4); align-items: flex-start; }
.name .statement { font: 500 clamp(1.3rem, 1rem + 1.3vw, 1.9rem)/1.35 var(--f-text); max-width: 28ch; }
.name .map { display: grid; gap: var(--sp-2); width: 100%; }
.name .map div { padding: 20px 24px 20px 52px; position: relative; background: rgba(255, 255, 255, 0.14); border-radius: var(--r-m); }
.name .map div::before { content: ""; position: absolute; left: 24px; top: 27px; width: 14px; height: 14px; border-radius: 50%; background: var(--hot); }
.name .map div:last-child::before { background: var(--cyan); }
.name .map dt { font-weight: 600; }
.name .map dd { color: #fff; }
.name .txt p.body { max-width: 46ch; color: #fff; }
.name .txt .btn { margin-top: var(--sp-2); }

/* phone: a thumb-reach action bar once the hero has scrolled away */
.mbar { position: fixed; left: var(--m); right: var(--m); bottom: max(12px, env(safe-area-inset-bottom)); z-index: 30; transform: translateY(160%); visibility: hidden; transition: transform 0.45s var(--ease), visibility 0s 0.45s; }
.mbar.on { transform: none; visibility: visible; transition: transform 0.45s var(--ease); }
.mbar .btn { width: 100%; box-shadow: 0 16px 40px -10px var(--hot-glow), 0 2px 8px rgba(4, 2, 16, 0.4); }
@media (min-width: 700px) { .mbar { display: none; } }
@media (max-width: 699px) { .site-foot { padding-bottom: 96px; } }

/* pricing */
.tier { display: grid; gap: var(--sp-4) var(--sp-5); padding: clamp(28px, 4vw, 56px); border-radius: var(--r-l); position: relative; background: var(--glass); border: 1px solid var(--stroke); box-shadow: var(--sh-1); }
@media (min-width: 900px) { .tier { grid-template-columns: 5fr 7fr; } }
.tier.best { background: var(--accent); color: #fff; border-color: rgba(255, 255, 255, 0.3); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18) inset, 0 40px 110px -30px var(--glow); }
@media (min-width: 900px) { .tier.best { margin-inline: calc(var(--sp-3) * -1); padding-inline: calc(clamp(28px, 4vw, 56px) + var(--sp-3)); } }
.tier h3 { font: 600 var(--t-lead)/1.1 var(--f-display); letter-spacing: -0.02em; }
.tier .tl { margin-top: 14px; max-width: 34ch; color: var(--muted); }
.tier.best .tl { color: #ece6ff; }
.price { margin-top: var(--sp-3); font: 600 var(--t-h1)/1 var(--f-display); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.price small { font: 500 var(--t-small)/1.4 var(--f-text); letter-spacing: 0; margin-left: 8px; opacity: 0.9; }
.per { margin-top: 12px; font-weight: 600; }
.tier .btn { margin-top: var(--sp-3); }
.tier.best .btn { background: #fff; color: #3d1db0; box-shadow: 0 16px 40px -12px rgba(15, 5, 60, 0.6); }
.feats { display: grid; gap: 14px; align-content: start; }
.feats li { padding-left: 30px; position: relative; line-height: 1.45; }
.feats li::before { content: ""; position: absolute; left: 0; top: 0.35em; width: 16px; height: 16px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px 1px var(--glow); }
.feats li::after { content: ""; position: absolute; left: 5px; top: calc(0.35em + 4px); width: 4px; height: 7px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.tier.best .feats li::before { background: #fff; box-shadow: none; }
.tier.best .feats li::after { border-color: var(--accent); }
.feats li.sub { font-weight: 600; }
.tier .feats li.soon-h, .tier .feats li.soon { color: var(--muted); }
.tier.best .feats li.soon-h, .tier.best .feats li.soon { color: #ece6ff; opacity: 0.8; }
.tier .feats li.soon-h { padding-left: 0; font-weight: 600; margin-top: 6px; }
.tier .feats li.soon-h::before, .tier .feats li.soon-h::after, .tier .feats li.soon::after { content: none; }
.tier .feats li.soon::before { background: none; box-shadow: none; border: 1.5px dashed currentColor; }
.best-mark { position: absolute; top: -16px; right: clamp(24px, 4vw, 48px); background: var(--amber); color: #2a1700; font-weight: 700; font-size: var(--t-small); padding: 8px 18px; border-radius: var(--r-pill); box-shadow: 0 12px 30px -10px rgba(255, 196, 107, 0.7); }
.miss { display: block; padding: var(--sp-5) 0; font-size: var(--t-lead); line-height: 1.45; max-width: 58ch; position: relative; }
@media (min-width: 900px) { .miss { margin-left: calc(41.666% + 24px); } }
.miss::before { content: ""; display: block; width: 18px; height: 14px; background: var(--accent-text); clip-path: polygon(0 0, 100% 0, 50% 100%); margin-bottom: 14px; border-radius: 2px; }
.star { color: var(--accent-text); font-weight: 600; }
.tier.best .star { color: inherit; }
.cmp-h { margin-top: clamp(64px, 8vw, 112px); font: 600 var(--t-lead)/1.2 var(--f-display); letter-spacing: -0.02em; margin-bottom: var(--sp-3); }
.tw { overflow-x: auto; -webkit-overflow-scrolling: touch; padding: 8px; background: var(--glass); border: 1px solid var(--stroke); border-radius: var(--r-l); box-shadow: var(--sh-1); }
.tw:focus-visible { outline-offset: 2px; }
table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: var(--t-small); }
th, td { padding: 14px 10px; text-align: left; line-height: 1.35; border-bottom: 1px solid var(--stroke); }
@media (min-width: 701px) { th, td { padding: 14px 20px; } }
@media (max-width: 700px) { table { font-size: 0.875rem; } th, td { padding: 10px 4px; overflow-wrap: break-word; } tbody th { width: 28%; padding-left: 8px; } .tw { padding: 4px; } }
thead th { font-weight: 600; border-bottom: 0; }
thead th:first-child { border-radius: var(--r-m) 0 0 var(--r-m); }
thead th:last-child { border-radius: 0 var(--r-m) var(--r-m) 0; }
thead th { background: var(--glass-2); }
tbody th { font-weight: 500; width: 34%; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
td.pro { background: rgba(123, 77, 255, 0.16); font-weight: 600; }
thead th.pro { background: var(--accent); color: #fff; border-radius: var(--r-m) var(--r-m) 0 0; }
tbody tr:last-child td.pro { border-radius: 0 0 var(--r-m) var(--r-m); }
td { font-variant-numeric: tabular-nums; }
.dash { color: var(--muted); }
tbody tr.grp th { background: none; color: var(--muted); font-weight: 600; padding-top: 22px; }
tbody tr.soon th, tbody tr.soon td { color: var(--muted); }
.note { margin-top: var(--sp-3); color: var(--muted); font-size: var(--t-small); max-width: 70ch; }
.topup { margin-top: var(--sp-4); padding: 20px 28px; display: flex; flex-wrap: wrap; gap: 8px var(--sp-3); align-items: baseline; border-radius: var(--r-m); background: var(--glass); border: 1px solid var(--stroke); }
.topup .topup-h { font-weight: 700; font-size: var(--t-body); color: var(--accent-text); }

/* faq: large questions, answers beside, separated by space only */
.faq { padding-block: 0 var(--gap); }
.faq-top { padding-block: 0 var(--sp-5); display: block; background: none; }
.faq-top h2 { font-size: var(--t-h2); color: var(--muted); font-weight: 500; }
.qa { padding-block: clamp(28px, 4vw, 44px); }
.qa .wrap { display: grid; gap: 14px var(--sp-5); }
@media (min-width: 900px) { .qa .wrap { grid-template-columns: 7fr 5fr; } }
.qa h3 { font: 500 var(--t-lead)/1.25 var(--f-text); letter-spacing: -0.01em; }
.qa p { line-height: 1.6; color: var(--muted); max-width: 46ch; }

/* final cta: the whole lit panel is the button */
.cta-wrap { padding-inline: var(--m); }
.cta-band { --pad: clamp(24px, 3.4vw, 48px); display: block; position: relative; container-type: inline-size; width: 100%; max-width: 1360px; margin-inline: auto; background: var(--accent); color: #fff; text-decoration: none; min-height: clamp(340px, 56svh, 620px); padding: var(--pad); overflow: hidden; border-radius: clamp(28px, 4vw, 44px); box-shadow: 0 50px 120px -40px var(--glow); transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease); isolation: isolate; }
.cta-band::before { content: ""; position: absolute; width: 70%; aspect-ratio: 1; right: -12%; top: -45%; background: radial-gradient(closest-side, rgba(159, 231, 255, 0.38), transparent 70%); z-index: -1; animation: drift 12s ease-in-out infinite alternate; }
.cta-band:hover, .cta-band:focus-visible { transform: translateY(-6px); box-shadow: 0 60px 140px -36px var(--glow); }
.cta-band:focus-visible { outline: 3px solid #fff; outline-offset: -8px; }
.cta-band p { font: 500 var(--t-lead)/1.35 var(--f-text); max-width: min(26ch, calc(100% - 88px)); }
.cta-band svg { position: absolute; top: var(--pad); right: var(--pad); width: 56px; height: 56px; padding: 14px; background: #fff; border-radius: 50%; fill: none; stroke: var(--accent); stroke-width: 3.5; transition: transform 0.5s var(--ease); }
.cta-band:hover svg { transform: rotate(45deg) scale(1.08); }
.cta-word { position: absolute; left: var(--pad); right: var(--pad); bottom: calc(var(--pad) * 0.55); display: block; font: 600 calc(100cqw / var(--k)) / 1 var(--f-display); letter-spacing: -0.04em; white-space: nowrap; }
.cta-word.ru { display: none; }
html[lang="ru"] .cta-word.uz { display: none; }
html[lang="ru"] .cta-word.ru { display: block; }

/* footer: quiet, with the name returning large in the dark */
.site-foot { padding-block: var(--gap) 24px; container-type: inline-size; overflow: hidden; }
.site-foot .cols { display: grid; gap: var(--sp-4) var(--sp-3); grid-template-columns: 1fr 1fr; }
@media (min-width: 800px) { .site-foot .cols { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.site-foot ul { display: grid; gap: 10px; align-content: start; }
.site-foot li:first-child { font-weight: 600; }
.site-foot li { font-size: var(--t-small); color: var(--muted); }
.site-foot li:first-child, .site-foot li a { color: var(--ink); }
.site-foot a { text-underline-offset: 0.25em; }
.site-foot a:hover { color: var(--hot-text); }
.site-foot .word { display: block; margin-top: clamp(48px, 10vw, 140px); font: 600 min(calc((100cqw - 2 * var(--m)) / 4.15), 380px) / 1 var(--f-display); letter-spacing: -0.05em; white-space: nowrap; color: color-mix(in srgb, var(--accent) 16%, transparent); user-select: none; }
.site-foot small { display: block; margin-top: 20px; font-size: var(--t-small); color: var(--muted); max-width: 80ch; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .row, .brow, [data-r], .cta-band, .mbar, .rs { transition: none !important; }
  .cta-band::before, .r-prog b, .r-rail .heart svg, .wave i, .kcap span, .rise, .rise2, .wob { animation: none !important; }
  .r-prog b { transform: scaleX(0.35); }
  .js [data-r] { opacity: 1 !important; transform: none !important; }
}

/* owner: no phone glow (2026-11-04) */
.phone-glow, .ph-rim, .ph-rim.hot { display: none !important; }
