/* ==========================================================================
   SalonYar — Product landing
   Direction: "Noir Plum & Champagne" — deep aubergine darks, champagne-gold
   metallics, orchid glow. Motion via transform/opacity only.
   ========================================================================== */

:root {
    --ink-0: #0c0610;
    --ink-1: #130a13;
    --ink-2: #1b0f1a;
    --ink-3: #251522;
    --pearl: #f7eee6;
    --muted: rgba(247, 238, 230, .64);
    --faint: rgba(247, 238, 230, .38);
    --line: rgba(255, 232, 205, .09);
    --line-strong: rgba(255, 232, 205, .16);
    --champagne: #e7c996;
    --gold: #c59b63;
    --gold-deep: #9c6b3c;
    --plum: #872e59;
    --orchid: #c2477f;
    --mint: #7fd4b0;
    --glass: rgba(255, 244, 232, .045);
    --glass-strong: rgba(30, 17, 28, .82);
    --metal: linear-gradient(135deg, #f6e2bb 0%, #d7ad72 45%, #b98a52 70%, #f0d7a8 100%);
    --radius-lg: 28px;
    --radius-md: 18px;
    --radius-sm: 12px;
    --ease-out: cubic-bezier(.16, 1, .3, 1);
    --ease-io: cubic-bezier(.65, 0, .35, 1);
    --shadow-deep: 0 40px 120px -30px rgba(0, 0, 0, .75), 0 18px 40px -20px rgba(135, 46, 89, .35);
    --container: 1240px;
    --gutter: clamp(16px, 4vw, 40px);
    --font: "Vazirmatn", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
    --serif: "Instrument Serif", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body.lx {
    margin: 0;
    background: var(--ink-0);
    color: var(--pearl);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: clip;
    text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: rgba(231, 201, 150, .35); color: #fff; }
:focus-visible { outline: 2px solid var(--champagne); outline-offset: 3px; border-radius: 6px; }

.skip-link {
    position: fixed; top: 12px; right: 12px; z-index: 1000;
    padding: 10px 16px; border-radius: 10px; background: var(--champagne); color: var(--ink-0);
    transform: translateY(-150%); transition: transform .2s;
}
.skip-link:focus { transform: none; }

.lx-container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.lx-section { position: relative; padding-block: clamp(90px, 13vw, 170px); }
.lx-muted { color: var(--muted); }
.lx-small { font-size: .85rem; }
.center { text-align: center; }
.gold { background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lx-serif { font-family: var(--serif); font-style: italic; letter-spacing: .01em; }

/* ---------- Ambient background ---------- */
.lx-bg { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; background: radial-gradient(120% 80% at 50% -10%, #1f0d1c 0%, var(--ink-0) 55%); }
.lx-aurora { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; will-change: transform; }
.lx-aurora.a1 { width: 55vw; height: 55vw; top: -18vw; left: -12vw; background: radial-gradient(circle, rgba(135, 46, 89, .55), transparent 65%); animation: drift1 26s var(--ease-io) infinite alternate; }
.lx-aurora.a2 { width: 45vw; height: 45vw; top: 30vh; right: -18vw; background: radial-gradient(circle, rgba(197, 155, 99, .28), transparent 65%); animation: drift2 32s var(--ease-io) infinite alternate; }
.lx-aurora.a3 { width: 40vw; height: 40vw; bottom: -20vw; left: 25vw; background: radial-gradient(circle, rgba(194, 71, 127, .22), transparent 65%); animation: drift1 38s var(--ease-io) infinite alternate-reverse; }
@keyframes drift1 { to { transform: translate3d(8vw, 6vh, 0) scale(1.1); } }
@keyframes drift2 { to { transform: translate3d(-10vw, -8vh, 0) scale(.9); } }
.lx-grain {
    position: absolute; inset: -50%; opacity: .06; mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.lx-progress { position: fixed; top: 0; inset-inline: 0; height: 2px; z-index: 60; pointer-events: none; }
.lx-progress span { display: block; height: 100%; background: var(--metal); transform-origin: right center; transform: scaleX(0); }

/* ---------- Typography ---------- */
.lx-eyebrow {
    display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px;
    font-size: .8rem; font-weight: 600; letter-spacing: .04em; color: var(--champagne);
    padding: 6px 14px; border-radius: 99px; border: 1px solid var(--line-strong); background: rgba(231, 201, 150, .06);
}
.lx-pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 rgba(127, 212, 176, .6); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(127, 212, 176, 0); } 100% { box-shadow: 0 0 0 0 rgba(127, 212, 176, 0); } }

.lx-h2 { font-size: clamp(2rem, 4.3vw, 3.6rem); line-height: 1.22; font-weight: 800; margin: 0 0 20px; letter-spacing: -.015em; }
.lx-h2.sm { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.lx-lead { font-size: clamp(1rem, 1.35vw, 1.2rem); color: var(--muted); max-width: 40em; margin: 0; }
.lx-head { margin-bottom: clamp(44px, 6vw, 80px); max-width: 780px; }
.lx-head.center { margin-inline: auto; text-align: center; }
.lx-head.center .lx-lead { margin-inline: auto; }

/* ---------- Buttons ---------- */
.lx-btn {
    --pad-y: 13px; --pad-x: 24px;
    position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: var(--pad-y) var(--pad-x); border-radius: 99px; border: 1px solid transparent;
    font-weight: 700; font-size: .98rem; text-decoration: none; cursor: url("/assets/images/cursor-hand.svg") 11 2, pointer; white-space: nowrap;
    transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), background-color .3s, border-color .3s;
    will-change: transform;
}
.lx-btn-sm { --pad-y: 9px; --pad-x: 18px; font-size: .88rem; }
.lx-btn-lg { --pad-y: 17px; --pad-x: 30px; font-size: 1.05rem; }
.lx-btn-block { width: 100%; }
.lx-btn-primary { background: var(--metal); background-size: 200% 200%; color: #1a0d14; box-shadow: 0 10px 30px -10px rgba(231, 201, 150, .55), inset 0 1px 0 rgba(255, 255, 255, .5); }
.lx-btn-primary:hover { background-position: 100% 50%; box-shadow: 0 16px 44px -12px rgba(231, 201, 150, .75), inset 0 1px 0 rgba(255, 255, 255, .5); }
.lx-btn-ghost { background: rgba(255, 244, 232, .05); border-color: var(--line-strong); color: var(--pearl); backdrop-filter: blur(10px); }
.lx-btn-ghost:hover { background: rgba(255, 244, 232, .1); border-color: rgba(231, 201, 150, .35); }
.lx-btn i { font-size: 1.1em; }
.lx-btn .btn-spinner { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(26, 13, 20, .3); border-top-color: #1a0d14; animation: spin .7s linear infinite; }
.lx-btn.is-loading .btn-spinner { display: inline-block; }
.lx-btn.is-loading { pointer-events: none; opacity: .85; }
@keyframes spin { to { transform: rotate(360deg); } }
.lx-link-quiet { text-decoration: none; color: var(--muted); font-weight: 600; font-size: .92rem; transition: color .2s; }
.lx-link-quiet:hover { color: var(--pearl); }

/* ---------- Glass ---------- */
.glass {
    background: linear-gradient(160deg, rgba(255, 244, 232, .075), rgba(255, 244, 232, .02));
    border: 1px solid var(--line);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
    backdrop-filter: blur(16px) saturate(130%);
    -webkit-backdrop-filter: blur(16px) saturate(130%);
}
.glass-strong { background: var(--glass-strong); border: 1px solid var(--line-strong); box-shadow: var(--shadow-deep), inset 0 1px 0 rgba(255, 255, 255, .07); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }

/* ---------- Cursor: the system arrow and hand, in champagne gold ---------- */
html { cursor: url("/assets/images/cursor.svg") 4 2, auto; }
a[href], button, label, summary, select, [role="button"], input[type="checkbox"], input[type="radio"], input[type="color"],
.package, .format, .buy-steps li, .lx-toggle:not(.is-locked), .color-pick, .stepper button, .seg button {
    cursor: url("/assets/images/cursor-hand.svg") 11 2, pointer;
}
input:not([type="checkbox"]):not([type="radio"]):not([type="color"]), textarea { cursor: text; }
button:disabled, [aria-disabled="true"] { cursor: not-allowed; }

/* ---------- Nav ---------- */
.lx-nav { position: fixed; top: 0; inset-inline: 0; z-index: 50; padding: 14px var(--gutter); transition: transform .5s var(--ease-out); }
.lx-nav.is-hidden { transform: translateY(-110%); }
.lx-nav-inner {
    max-width: var(--container); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 20px;
    padding: 10px 12px 10px 18px; border-radius: 99px; border: 1px solid transparent; transition: background-color .4s, border-color .4s, backdrop-filter .4s;
}
.lx-nav.is-scrolled .lx-nav-inner { background: rgba(19, 10, 19, .72); border-color: var(--line); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.lx-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.lx-logo { width: 34px; height: 34px; }
.lx-brand-mark { height: 42px; width: auto; flex: none; }
.lx-brand-name { display: flex; flex-direction: column; line-height: 1.05; font-weight: 800; font-size: 1.15rem; }
.lx-brand-name small { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: .78rem; color: var(--champagne); letter-spacing: .03em; }
.lx-nav-links { display: flex; gap: 6px; }
.lx-nav-links a { text-decoration: none; color: var(--muted); font-size: .92rem; font-weight: 600; padding: 8px 14px; border-radius: 99px; transition: color .2s, background-color .2s; }
.lx-nav-links a:hover, .lx-nav-links a.is-active { color: var(--pearl); background: rgba(255, 244, 232, .06); }
.lx-nav-cta { display: flex; align-items: center; gap: 14px; }
.lx-menu-btn { display: none; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-strong); background: rgba(255, 244, 232, .05); position: relative; }
.lx-menu-btn span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--pearl); transition: transform .3s var(--ease-out); }
.lx-menu-btn span:first-child { top: 16px; }
.lx-menu-btn span:last-child { bottom: 16px; }
.lx-menu-btn[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.lx-menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.lx-mobile-menu { margin: 10px auto 0; max-width: var(--container); padding: 18px; border-radius: 24px; background: rgba(19, 10, 19, .94); border: 1px solid var(--line); display: grid; gap: 4px; }
.lx-mobile-menu[hidden] { display: none; }
.lx-mobile-menu a:not(.lx-btn) { padding: 12px 10px; text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--line); }
.lx-mobile-menu .lx-btn { margin-top: 10px; }

/* ==========================================================================
   Shared product-UI atoms
   ========================================================================== */
.app { border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-deep); }
.app-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--line); direction: ltr; }
.app-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .14); }
.app-bar i:first-child { background: #f08a8a; } .app-bar i:nth-child(2) { background: #e7c996; } .app-bar i:nth-child(3) { background: #7fd4b0; }
.app-bar span { flex: 1; text-align: center; font-size: .72rem; color: var(--faint); letter-spacing: .04em; margin-left: -40px; }
.app-body { display: grid; grid-template-columns: 58px 1fr; }
.app-side { display: flex; flex-direction: column; gap: 8px; padding: 14px 10px; border-left: 1px solid var(--line); }
.app-side span { display: grid; place-items: center; height: 38px; border-radius: 11px; color: var(--faint); }
.app-side span.is-active { background: rgba(231, 201, 150, .12); color: var(--champagne); }
.app-main { padding: 18px; display: grid; gap: 14px; min-width: 0; }
.app-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kpi { padding: 12px; border-radius: 14px; background: rgba(255, 244, 232, .04); border: 1px solid var(--line); min-width: 0; }
.kpi small { display: block; font-size: .68rem; color: var(--faint); white-space: nowrap; }
.kpi b { display: block; font-size: 1.15rem; font-weight: 800; margin-top: 2px; white-space: nowrap; }
.kpi em { font-style: normal; font-size: .66rem; color: var(--faint); }
.up { color: var(--mint) !important; }
.down { color: #f2a0b8 !important; }
.chip.down { background: rgba(242, 160, 184, .1); }
[data-format="delta"] { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.app-chart { height: 110px; border-radius: 14px; padding: 8px 0; }
.area-chart { width: 100%; height: 100%; overflow: visible; }
.area-line { fill: none; stroke: var(--champagne); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.area-line.rose { stroke: #e27aa8; }
.app-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.app-list li, .up-list li {
    display: grid; grid-template-columns: 4px 1fr auto; gap: 10px; align-items: center;
    padding: 9px 12px; border-radius: 12px; background: rgba(255, 244, 232, .035); font-size: .78rem;
}
.app-list li i, .up-list li i { width: 4px; height: 26px; border-radius: 4px; background: var(--c, var(--orchid)); }
.app-list li b, .up-list li b { font-weight: 700; display: block; line-height: 1.3; }
.app-list li small, .up-list li small { color: var(--faint); font-size: .7rem; }
.app-list li time, .up-list li time { font-weight: 700; color: var(--champagne); direction: ltr; }
.sk { min-height: 44px; background: linear-gradient(90deg, rgba(255, 244, 232, .03), rgba(255, 244, 232, .08), rgba(255, 244, 232, .03)) !important; background-size: 200% 100% !important; animation: shimmer 1.4s infinite linear; }
@keyframes shimmer { to { background-position: -200% 0; } }

.float { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 18px; box-shadow: var(--shadow-deep); white-space: nowrap; }
.float b { display: block; font-size: .92rem; line-height: 1.3; }
.float small { display: block; font-size: .72rem; color: var(--muted); }
.float-icon { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; background: rgba(231, 201, 150, .14); color: var(--champagne); flex: none; }
.float-icon.ok { background: rgba(127, 212, 176, .16); color: var(--mint); }
.ring { width: 44px; height: 44px; transform: rotate(-90deg); flex: none; }
.ring-track { fill: none; stroke: rgba(255, 255, 255, .08); stroke-width: 4; }
.ring-fill { fill: none; stroke: var(--mint); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 113.1; stroke-dashoffset: 113.1; transition: stroke-dashoffset 1.6s var(--ease-out); }
.avatars { display: flex; }
.avatars i, .cp-avatar, .st-avatar {
    font-style: normal; display: grid; place-items: center; font-weight: 800; color: #1a0d14;
    background: linear-gradient(135deg, hsl(var(--h, 30) 70% 82%), hsl(calc(var(--h, 30) + 30) 55% 62%));
}
.avatars i { width: 30px; height: 30px; border-radius: 50%; font-size: .75rem; border: 2px solid var(--ink-2); margin-left: -9px; }
.avatars i:last-child { margin-left: 0; }

/* ==========================================================================
   01 — Hero
   ========================================================================== */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 130px 0 90px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(30px, 5vw, 80px); align-items: center; }
.hero-title { font-size: clamp(2.5rem, 5.6vw, 5.1rem); line-height: 1.16; font-weight: 850; margin: 0 0 26px; letter-spacing: -.02em; }
.hero-title .line { display: block; overflow: hidden; padding-block: .06em; }
.hero-title .word { display: inline-block; will-change: transform; }
.hero-sub { font-size: clamp(1.02rem, 1.4vw, 1.22rem); color: var(--muted); max-width: 34em; margin: 0 0 34px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }
.hero-proof { display: flex; gap: clamp(20px, 3vw, 44px); list-style: none; margin: 0 0 18px; padding: 22px 0 0; border-top: 1px solid var(--line); }
.hero-proof b { display: block; font-size: 1.6rem; font-weight: 800; line-height: 1.2; }
.hero-proof span { font-size: .8rem; color: var(--faint); }
.hero-note { display: flex; gap: 8px; align-items: center; margin: 0; }
.hero-note i { color: var(--mint); }

.hero-stage { position: relative; height: min(640px, 72vh); }
.stage-3d { position: absolute; inset: 0; perspective: 1800px; }
.stage-plane { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateY(-16deg) rotateX(9deg) rotateZ(1deg); will-change: transform; }
.app-hero { position: absolute; inset: 6% 2% 6% 8%; background: linear-gradient(160deg, rgba(38, 21, 34, .9), rgba(20, 11, 19, .88)); }
.app-hero::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(115deg, rgba(255, 255, 255, .08), transparent 35%); }
.float-booking { top: 1%; right: -2%; transform: translateZ(90px); }
.float-margin { bottom: 3%; right: 6%; transform: translateZ(130px); }
.float-team { top: 42%; left: -6%; transform: translateZ(70px); }
.float-date { top: 12%; left: 0; flex-direction: column; gap: 0; padding: 12px 18px; text-align: center; transform: translateZ(160px); }
.float-date b { font-size: 1.9rem; line-height: 1.1; font-weight: 850; color: var(--champagne); }
.hero-scroll { position: absolute; bottom: 28px; left: 50%; width: 26px; height: 42px; margin-left: -13px; border-radius: 99px; border: 1px solid var(--line-strong); }
.hero-scroll span { position: absolute; top: 8px; left: 50%; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 3px; background: var(--champagne); animation: scrollcue 2s var(--ease-io) infinite; }
@keyframes scrollcue { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* ==========================================================================
   02 — Manifesto
   ========================================================================== */
.manifesto { padding-block: clamp(80px, 12vw, 160px); }
.manifesto-text { font-size: clamp(1.5rem, 3.3vw, 2.75rem); line-height: 1.6; font-weight: 700; max-width: 26em; margin: 0 auto; text-align: center; }
.manifesto-text em { font-style: normal; background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent; }
.manifesto-text .w { opacity: .14; transition: opacity .25s linear; }
.manifesto-text .w.on { opacity: 1; }

/* ==========================================================================
   03 — Showcase
   ========================================================================== */
.showcase { position: relative; }
.sc-pin { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 100px 0 40px; }
.sc-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.sc-copy .lx-h2 { font-size: clamp(1.7rem, 2.9vw, 2.6rem); }
.sc-steps { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 4px; counter-reset: s; }
.sc-steps li { position: relative; padding: 10px 18px 10px 0; border-right: 2px solid var(--line); opacity: .38; transition: opacity .5s var(--ease-out), border-color .5s; }
.sc-steps li b { display: block; font-size: 1rem; }
.sc-steps li span { display: block; font-size: .84rem; color: var(--muted); max-height: 0; overflow: hidden; transition: max-height .5s var(--ease-out); }
.sc-steps li.is-active { opacity: 1; border-color: var(--champagne); }
.sc-steps li.is-active span { max-height: 3em; }
.sc-progress { display: none; }

.sc-window { position: relative; border-radius: 22px; height: min(620px, calc(100svh - 160px)); display: flex; flex-direction: column; overflow: hidden; background: linear-gradient(160deg, rgba(38, 21, 34, .92), rgba(18, 10, 17, .92)); box-shadow: var(--shadow-deep); }
.sc-stage { position: relative; flex: 1; }
.scene { position: absolute; inset: 0; padding: clamp(18px, 2.4vw, 32px); opacity: 0; visibility: hidden; transform: translateY(28px) scale(.985); filter: blur(10px); transition: opacity .7s var(--ease-out), transform .9s var(--ease-out), filter .7s var(--ease-out), visibility 0s .7s; }
.scene.is-active { opacity: 1; visibility: visible; transform: none; filter: none; transition: opacity .7s var(--ease-out), transform .9s var(--ease-out), filter .7s var(--ease-out), visibility 0s; }

/* staggered children inside an active scene */
.scene [data-in] { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease-out), transform .7s var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms + 150ms); }
.scene.is-active [data-in] { opacity: 1; transform: none; }

/* Scene 0 — calendar */
.scene-calendar { display: flex; flex-direction: column; gap: 14px; }
.cal-head { display: flex; justify-content: space-between; align-items: center; }
.cal-legend { display: flex; gap: 14px; font-size: .74rem; color: var(--muted); }
.cal-legend span::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 3px; background: var(--c); margin-left: 6px; }
.cal-grid { position: relative; flex: 1; display: grid; grid-template-columns: 38px repeat(6, 1fr); grid-template-rows: 26px 1fr; gap: 0 6px; min-height: 0; }
.cal-dayname { font-size: .72rem; color: var(--faint); text-align: center; }
.cal-dayname.today { color: var(--champagne); font-weight: 700; }
.cal-hours { display: flex; flex-direction: column; justify-content: space-between; font-size: .64rem; color: var(--faint); direction: ltr; text-align: right; padding-bottom: 4px; }
.cal-col { position: relative; border-radius: 10px; background: repeating-linear-gradient(to bottom, rgba(255, 244, 232, .035) 0 1px, transparent 1px calc(100% / 10)); border: 1px solid var(--line); }
.cal-col.today { background-color: rgba(231, 201, 150, .04); border-color: rgba(231, 201, 150, .2); }
.cal-evt { position: absolute; inset-inline: 3px; border-radius: 7px; padding: 3px 6px; font-size: .6rem; line-height: 1.35; overflow: hidden; color: #fff; background: color-mix(in srgb, var(--c) 32%, transparent); border-right: 3px solid var(--c); opacity: 0; transform: scale(.9); transform-origin: top; transition: opacity .5s var(--ease-out), transform .6s var(--ease-out); transition-delay: calc(var(--i) * 28ms + 200ms); }
.scene.is-active .cal-evt { opacity: 1; transform: none; }
.cal-evt.is-new { box-shadow: 0 0 0 2px var(--champagne), 0 0 30px rgba(231, 201, 150, .6); z-index: 2; }

/* Scene 1 — new booking */
.scene-booking { display: grid; place-items: center; }
.nb-card { width: min(380px, 100%); border-radius: 22px; padding: 22px; display: grid; gap: 10px; transform: translateY(20px) rotateX(8deg); opacity: 0; transition: transform .9s var(--ease-out) .1s, opacity .6s var(--ease-out) .1s; }
.scene.is-active .nb-card { transform: none; opacity: 1; }
.nb-head { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; font-size: 1.05rem; }
.nb-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; border-radius: 12px; background: rgba(255, 244, 232, .04); font-size: .88rem; opacity: 0; transform: translateX(-14px); transition: all .5s var(--ease-out); }
.nb-row small { color: var(--faint); }
.scene.is-active .nb-row { opacity: 1; transform: none; }
.scene.is-active .nb-row:nth-child(2) { transition-delay: .35s; } .scene.is-active .nb-row:nth-child(3) { transition-delay: .5s; }
.scene.is-active .nb-row:nth-child(4) { transition-delay: .65s; } .scene.is-active .nb-row:nth-child(5) { transition-delay: .8s; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--c); margin-left: 6px; }
.nb-confirm { margin-top: 8px; }
.nb-btn { display: block; text-align: center; padding: 12px; border-radius: 99px; background: var(--metal); color: #1a0d14; font-weight: 800; font-size: .9rem; }
.scene.is-active .nb-btn { animation: press .6s var(--ease-out) 1.2s both; }
@keyframes press { 50% { transform: scale(.95); } }
.nb-toast { position: absolute; bottom: 24px; left: 50%; translate: -50% 0; padding: 12px 18px; border-radius: 99px; font-size: .85rem; display: flex; gap: 8px; align-items: center; white-space: nowrap; opacity: 0; transform: translateY(20px); transition: all .6s var(--ease-out) 1.6s; }
.nb-toast i { color: var(--mint); }
.scene.is-active .nb-toast { opacity: 1; transform: none; }

/* Scene 2 — customer */
.scene-customer { display: grid; place-items: center; }
.cp-card { width: min(420px, 100%); border-radius: 24px; padding: 24px; display: grid; gap: 18px; transform: scale(.94); opacity: 0; transition: transform .9s var(--ease-out) .1s, opacity .6s .1s; }
.scene.is-active .cp-card { transform: none; opacity: 1; }
.cp-head { display: flex; gap: 14px; align-items: center; }
.cp-head b { font-size: 1.15rem; display: block; }
.cp-head small { color: var(--champagne); font-size: .8rem; }
.cp-avatar { --h: 330; width: 54px; height: 54px; border-radius: 18px; font-size: 1.3rem; flex: none; }
.cp-avatar.lg { width: 64px; height: 64px; border-radius: 22px; font-size: 1.4rem; }
.cp-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.cp-stats div { padding: 10px; border-radius: 12px; background: rgba(255, 244, 232, .04); }
.cp-stats small { display: block; font-size: .68rem; color: var(--faint); }
.cp-stats b { font-size: 1.1rem; }
.cp-stats b.sm { font-size: .82rem; }
.cp-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.cp-tags span { font-size: .72rem; padding: 5px 10px; border-radius: 99px; border: 1px solid var(--line-strong); color: var(--muted); }
.cp-timeline { display: flex; gap: 6px; align-items: center; }
.cp-timeline::before { content: "سابقه"; font-size: .7rem; color: var(--faint); margin-left: 6px; }
.cp-timeline i { flex: 1; height: 6px; border-radius: 6px; background: var(--c); opacity: 0; transform: scaleX(0); transform-origin: right; transition: all .5s var(--ease-out); }
.scene.is-active .cp-timeline i { opacity: .85; transform: none; }
.scene.is-active .cp-timeline i:nth-child(n) { transition-delay: calc(.5s + var(--n, 0) * 80ms); }

/* Scene 3 — revenue */
.scene-revenue { display: flex; flex-direction: column; gap: 10px; }
.big-label { color: var(--muted); font-size: .9rem; }
.big-number { font-size: clamp(2rem, 4.2vw, 3.4rem); font-weight: 850; line-height: 1.1; letter-spacing: -.02em; }
.chip { align-self: flex-start; font-size: .78rem; padding: 5px 12px; border-radius: 99px; background: rgba(127, 212, 176, .1); }
.area-chart.tall { flex: 1; min-height: 90px; margin-top: 6px; }
.pay-stream { display: flex; flex-wrap: wrap; gap: 8px; }
.pay-stream span { font-size: .74rem; padding: 7px 12px; border-radius: 99px; background: rgba(255, 244, 232, .05); border: 1px solid var(--line); opacity: 0; transform: translateY(10px); transition: all .5s var(--ease-out); }
.pay-stream b { color: var(--mint); margin-right: 6px; }
.scene.is-active .pay-stream span { opacity: 1; transform: none; }
.scene.is-active .pay-stream span:nth-child(1) { transition-delay: .9s; } .scene.is-active .pay-stream span:nth-child(2) { transition-delay: 1.1s; } .scene.is-active .pay-stream span:nth-child(3) { transition-delay: 1.3s; }

/* Scene 4 — expense */
.scene-expense { display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.ex-list { display: grid; gap: 10px; }
.ex-row { display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 16px; background: rgba(255, 244, 232, .035); border: 1px solid var(--line); opacity: 0; transform: translateY(14px); transition: all .6s var(--ease-out); }
.ex-row b { display: block; font-size: .9rem; } .ex-row small { color: var(--faint); font-size: .72rem; }
.ex-row em { font-style: normal; font-weight: 800; color: #f2a0b8; font-size: .92rem; }
.ex-ic { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; color: var(--c); background: color-mix(in srgb, var(--c) 16%, transparent); }
.scene.is-active .ex-row { opacity: 1; transform: none; }
.scene.is-active .ex-row:nth-child(1) { transition-delay: .15s; } .scene.is-active .ex-row:nth-child(2) { transition-delay: .3s; } .scene.is-active .ex-row:nth-child(3) { transition-delay: .45s; }
.scene.is-active .ex-row.is-new { transition-delay: .9s; border-color: rgba(127, 212, 176, .4); box-shadow: 0 0 40px -10px rgba(127, 212, 176, .4); }
.ex-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 14px; border-top: 1px dashed var(--line-strong); }
.ex-total small { color: var(--muted); } .ex-total b { font-size: 1.5rem; font-weight: 850; }

/* Scene 5 — profit */
.scene-profit { display: flex; flex-direction: column; gap: 16px; }
.pf-head small { display: block; color: var(--muted); font-size: .9rem; }
.pf-head b { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 850; color: var(--mint); }
.pf-bars { flex: 1; display: flex; align-items: flex-end; gap: clamp(8px, 1.6vw, 18px); direction: ltr; min-height: 0; padding-bottom: 26px; position: relative; }
.pf-bar { flex: 1; position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; }
.pf-bar i { width: 100%; max-width: 54px; border-radius: 10px 10px 4px 4px; background: linear-gradient(to top, rgba(127, 212, 176, .25), var(--mint)); height: calc(var(--v) * 100%); transform: scaleY(0); transform-origin: bottom; transition: transform 1s var(--ease-out); transition-delay: calc(var(--i) * 110ms + 200ms); }
.pf-bar i.neg { background: linear-gradient(to top, rgba(242, 160, 184, .25), #f2a0b8); }
.pf-bar span { position: absolute; bottom: -24px; font-size: .7rem; color: var(--faint); white-space: nowrap; }
.pf-bar em { font-style: normal; font-size: .66rem; color: var(--muted); margin-bottom: 4px; opacity: 0; transition: opacity .5s; transition-delay: calc(var(--i) * 110ms + 800ms); }
.scene.is-active .pf-bar i { transform: none; }
.scene.is-active .pf-bar em { opacity: 1; }

/* Scene 6 — staff */
.scene-staff { display: flex; flex-direction: column; justify-content: center; }
.st-list { display: grid; gap: 12px; }
.st-row { display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 12px; opacity: 0; transform: translateX(-16px); transition: all .6s var(--ease-out); transition-delay: calc(var(--i) * 100ms + 150ms); }
.scene.is-active .st-row { opacity: 1; transform: none; }
.st-avatar { width: 40px; height: 40px; border-radius: 13px; font-size: .95rem; }
.st-row b { font-size: .88rem; display: block; line-height: 1.4; }
.st-track { height: 6px; border-radius: 6px; background: rgba(255, 244, 232, .06); overflow: hidden; margin-top: 5px; }
.st-track i { display: block; height: 100%; width: calc(var(--v) * 100%); background: var(--metal); border-radius: 6px; transform: scaleX(0); transform-origin: right; transition: transform 1.1s var(--ease-out); transition-delay: calc(var(--i) * 100ms + 400ms); }
.scene.is-active .st-track i { transform: none; }
.st-row em { font-style: normal; font-weight: 800; font-size: .85rem; color: var(--champagne); }

/* ==========================================================================
   04 — Booking
   ========================================================================== */
.bk-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: clamp(28px, 4vw, 70px); align-items: center; }
.bk-rail { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; position: relative; }
.bk-rail::before, .bk-rail::after { content: ""; position: absolute; top: 30px; bottom: 30px; inset-inline-start: 21px; width: 2px; background: var(--line); }
.bk-rail::after { background: var(--champagne); transform: scaleY(var(--bk-progress, 0)); transform-origin: top; transition: transform .35s ease; }
.bk-rail li { position: relative; z-index: 1; display: flex; gap: 16px; align-items: center; padding: 8px 0; opacity: .4; transition: opacity .4s; }
.bk-rail li > span { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: var(--ink-1); border: 1px solid var(--line-strong); transition: all .4s var(--ease-out); flex: none; }
.bk-rail li b { display: block; } .bk-rail li small { color: var(--muted); font-size: .8rem; }
.bk-rail li.is-done, .bk-rail li.is-active { opacity: 1; }
.bk-rail li.is-active > span { background: var(--metal); color: #1a0d14; border-color: transparent; box-shadow: 0 0 0 6px rgba(231, 201, 150, .12); }
.bk-rail li.is-done > span { background: rgba(231, 201, 150, .15); color: var(--champagne); }

.bk-device { position: relative; }
.bk-glow { position: absolute; inset: 10% -20%; z-index: -1; background: radial-gradient(closest-side, rgba(194, 71, 127, .35), transparent); filter: blur(30px); }
.phone { width: 300px; height: 610px; border-radius: 46px; padding: 12px; background: linear-gradient(145deg, #3a2533, #140a12); box-shadow: var(--shadow-deep), inset 0 0 0 1px rgba(255, 255, 255, .08); position: relative; }
.phone-notch { position: absolute; top: 20px; left: 50%; width: 92px; height: 26px; margin-left: -46px; border-radius: 99px; background: #07030a; z-index: 3; }
.phone-screen { height: 100%; border-radius: 36px; overflow: hidden; background: linear-gradient(180deg, #1d101b, #120912); display: flex; flex-direction: column; padding: 58px 18px 18px; }
.ph-head { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: .95rem; margin-bottom: 16px; }
.ph-head .lx-logo { width: 26px; height: 26px; }
.ph-steps { position: relative; flex: 1; }
.ph-step { position: absolute; inset: 0; opacity: 0; visibility: hidden; transform: translateX(-24px); transition: opacity .45s var(--ease-out), transform .6s var(--ease-out), visibility 0s .45s; display: flex; flex-direction: column; gap: 10px; }
.ph-step.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity .45s var(--ease-out), transform .6s var(--ease-out), visibility 0s; }
.ph-step.is-past { transform: translateX(24px); }
.ph-step label { font-size: .78rem; color: var(--muted); }
.ph-input { height: 46px; border-radius: 14px; border: 1px solid var(--line-strong); background: rgba(255, 244, 232, .04); display: flex; align-items: center; padding: 0 14px; font-size: .9rem; }
.ph-input.ltr { direction: ltr; justify-content: flex-start; }
.caret { width: 1.5px; height: 18px; background: var(--champagne); margin-inline: 2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.ph-chips { display: grid; gap: 8px; }
.ph-chip { display: flex; justify-content: space-between; align-items: center; padding: 11px 14px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 244, 232, .03); font-size: .82rem; transition: all .35s var(--ease-out); }
.ph-chip small { color: var(--faint); font-size: .7rem; }
.ph-chip.is-picked { border-color: var(--champagne); background: rgba(231, 201, 150, .1); box-shadow: 0 0 0 3px rgba(231, 201, 150, .1); }
.ph-staff { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ph-person { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 4px; border-radius: 14px; border: 1px solid var(--line); font-size: .7rem; text-align: center; transition: all .35s var(--ease-out); }
.ph-person .st-avatar { width: 42px; height: 42px; border-radius: 50%; }
.ph-person.is-picked { border-color: var(--champagne); background: rgba(231, 201, 150, .1); }
.ph-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; font-size: .72rem; }
.ph-cal .dn { color: var(--faint); font-size: .62rem; padding-bottom: 4px; }
.ph-cal .d { aspect-ratio: 1; display: grid; place-items: center; border-radius: 10px; transition: all .35s var(--ease-out); }
.ph-cal .d.off { color: rgba(247, 238, 230, .2); }
.ph-cal .d.today { box-shadow: inset 0 0 0 1px var(--line-strong); }
.ph-cal .d.is-picked { background: var(--metal); color: #1a0d14; font-weight: 800; }
.ph-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; direction: ltr; }
.ph-slot { padding: 10px 0; border-radius: 12px; border: 1px solid var(--line); text-align: center; font-size: .8rem; transition: all .35s var(--ease-out); }
.ph-slot.taken { opacity: .25; text-decoration: line-through; }
.ph-slot.is-picked { background: var(--metal); color: #1a0d14; font-weight: 800; border-color: transparent; }
.ph-success { align-items: center; text-align: center; justify-content: center; }
.success-mark { width: 84px; height: 84px; }
.success-mark circle { fill: rgba(127, 212, 176, .12); stroke: var(--mint); stroke-width: 2.5; stroke-dasharray: 214; stroke-dashoffset: 214; }
.success-mark path { fill: none; stroke: var(--mint); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 50; stroke-dashoffset: 50; }
.ph-success.is-active .success-mark circle { transition: stroke-dashoffset .8s var(--ease-out) .1s; stroke-dashoffset: 0; }
.ph-success.is-active .success-mark path { transition: stroke-dashoffset .5s var(--ease-out) .7s; stroke-dashoffset: 0; }
.ph-success b { font-size: 1.1rem; }
.ticket { width: 100%; display: grid; gap: 6px; padding: 14px; border-radius: 16px; border: 1px dashed var(--line-strong); background: rgba(255, 244, 232, .03); }
.ticket div { display: flex; justify-content: space-between; font-size: .8rem; }
.ticket small { color: var(--faint); }
.ph-sms { color: var(--mint); font-size: .75rem; }
.ph-foot { padding-top: 12px; }
.ph-next { display: block; text-align: center; padding: 13px; border-radius: 99px; background: var(--metal); color: #1a0d14; font-weight: 800; font-size: .9rem; transition: transform .2s, opacity .3s; }
.ph-next.is-press { transform: scale(.95); }
.ph-next.is-hidden { opacity: 0; }

.bk-side { display: grid; gap: 14px; }
.bk-feature { display: flex; gap: 14px; padding: 18px; border-radius: 20px; }
.bk-feature > i { font-size: 1.3rem; color: var(--champagne); }
.bk-feature b { display: block; } .bk-feature small { color: var(--muted); font-size: .84rem; line-height: 1.7; display: block; }
.bk-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }

/* ==========================================================================
   05 — Command center
   ========================================================================== */
.cmd-board { border-radius: var(--radius-lg); padding: clamp(16px, 2.4vw, 28px); display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; box-shadow: var(--shadow-deep); }
.cmd-kpis { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.cmd-kpi { padding: 16px; border-radius: 18px; background: rgba(255, 244, 232, .035); border: 1px solid var(--line); min-width: 0; }
.cmd-kpi small { display: block; font-size: .74rem; color: var(--muted); white-space: nowrap; }
.cmd-kpi small i { color: var(--champagne); margin-left: 4px; }
.cmd-kpi b { display: block; font-size: clamp(1.2rem, 1.9vw, 1.6rem); font-weight: 850; margin: 6px 0 2px; white-space: nowrap; }
.cmd-kpi em { font-style: normal; font-size: .72rem; color: var(--faint); }
.cmd-kpi.accent { background: linear-gradient(160deg, rgba(231, 201, 150, .14), rgba(231, 201, 150, .03)); border-color: rgba(231, 201, 150, .25); }
.cmd-main { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.cmd-chart, .cmd-donut, .cmd-upcoming { padding: 18px; border-radius: 18px; background: rgba(255, 244, 232, .03); border: 1px solid var(--line); min-width: 0; }
.cmd-chart { display: flex; flex-direction: column; }
.cmd-chart .area-chart { height: 200px; }
.cmd-chart-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.cmd-chart-head b { font-size: .95rem; } .cmd-chart-head small { font-size: .74rem; color: var(--faint); }
.grid-lines line { stroke: rgba(255, 244, 232, .06); stroke-dasharray: 4 6; vector-effect: non-scaling-stroke; }
.cmd-axis { display: flex; justify-content: space-between; direction: ltr; font-size: .68rem; color: var(--faint); margin-top: 8px; }
.donut-wrap { position: relative; width: 170px; margin: 0 auto 14px; }
.donut { width: 100%; transform: rotate(-90deg); }
.donut circle { fill: none; stroke-width: 14; }
.donut-center { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.donut-center b { font-size: 1.5rem; font-weight: 850; line-height: 1.1; } .donut-center small { font-size: .7rem; color: var(--faint); }
.donut-legend { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: .78rem; }
.donut-legend li { display: flex; justify-content: space-between; gap: 8px; }
.donut-legend li span::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 3px; background: var(--c); margin-left: 8px; }
.donut-legend em { font-style: normal; color: var(--faint); }
.up-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }

/* ==========================================================================
   06 — P&L
   ========================================================================== */
.pnl-equation { display: grid; grid-template-columns: 1fr auto 1fr auto 1.2fr; align-items: center; gap: clamp(10px, 2vw, 28px); margin-bottom: clamp(30px, 4vw, 56px); }
.eq-item { padding: clamp(18px, 2.4vw, 30px); border-radius: var(--radius-lg); border: 1px solid var(--line); background: rgba(255, 244, 232, .03); min-width: 0; }
.eq-item small { display: block; color: var(--muted); font-size: .88rem; margin-bottom: 6px; }
.eq-item b { display: block; font-size: clamp(1.25rem, 2.6vw, 2.35rem); font-weight: 850; line-height: 1.2; letter-spacing: -.01em; white-space: nowrap; }
.eq-item.neg b { color: #f2a0b8; }
.eq-item.result { background: linear-gradient(150deg, rgba(127, 212, 176, .14), rgba(127, 212, 176, .02)); border-color: rgba(127, 212, 176, .3); box-shadow: 0 30px 80px -40px rgba(127, 212, 176, .5); }
.eq-item.result b { color: var(--mint); }
.eq-item.result em { font-style: normal; font-size: .82rem; color: var(--muted); }
.eq-op { font-family: var(--serif); font-size: clamp(2rem, 4vw, 3.4rem); color: var(--champagne); line-height: 1; }
.pnl-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 16px; }
.pnl-chart, .pnl-break { border-radius: var(--radius-lg); padding: clamp(18px, 2.4vw, 28px); }
.legend { display: flex; gap: 14px; font-size: .74rem; color: var(--muted); }
.legend span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 3px; background: var(--c); margin-left: 6px; vertical-align: -1px; }
.legend span.line::before { height: 3px; border-radius: 3px; vertical-align: 3px; }
.pnl-bars { position: relative; height: 300px; display: flex; align-items: stretch; gap: clamp(6px, 1.4vw, 16px); direction: ltr; padding-bottom: 28px; }
.pnl-month { flex: 1; position: relative; display: flex; align-items: flex-end; justify-content: center; gap: 4px; }
.pnl-month i { width: 42%; max-width: 30px; border-radius: 8px 8px 3px 3px; transform: scaleY(0); transform-origin: bottom; transition: transform 1.1s var(--ease-out); transition-delay: calc(var(--i) * 100ms); }
.pnl-month i.r { background: linear-gradient(to top, rgba(231, 201, 150, .3), var(--champagne)); }
.pnl-month i.e { background: linear-gradient(to top, rgba(194, 71, 127, .3), var(--orchid)); }
.pnl-month span { position: absolute; bottom: -26px; font-size: .74rem; color: var(--faint); white-space: nowrap; }
.pnl-bars.is-in .pnl-month i { transform: none; }
.pnl-line { position: absolute; inset: 0 0 28px; width: 100%; height: calc(100% - 28px); overflow: visible; pointer-events: none; }
.pnl-line path { fill: none; stroke: var(--mint); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.pnl-line circle { fill: var(--ink-1); stroke: var(--mint); stroke-width: 2; vector-effect: non-scaling-stroke; opacity: 0; transition: opacity .4s; }
.pnl-bars.is-in .pnl-line circle { opacity: 1; transition-delay: 1.6s; }
.stack-bar { display: flex; height: 14px; border-radius: 99px; overflow: hidden; margin: 8px 0 22px; gap: 3px; }
.stack-bar i { background: var(--c); width: calc(var(--v) * 1%); transform: scaleX(0); transform-origin: right; transition: transform 1s var(--ease-out); transition-delay: calc(var(--i) * 80ms); }
.stack-bar.is-in i { transform: none; }
.break-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.break-list li { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; font-size: .88rem; }
.break-list li span::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 3px; background: var(--c); margin-left: 8px; }
.break-list li em { font-style: normal; color: var(--muted); font-size: .8rem; }
.break-list li small { grid-column: 1 / -1; color: var(--faint); font-size: .74rem; margin-top: -4px; padding-right: 17px; }

/* ==========================================================================
   07 — Staff
   ========================================================================== */
.staff-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(270px, 100%), 1fr)); gap: 16px; perspective: 1400px; }
.staff-card { border-radius: 24px; padding: 22px; min-height: 250px; display: grid; grid-template-columns: minmax(0, 1fr); min-width: 0; gap: 16px; align-content: start; transform-style: preserve-3d; }
.staff-card.sk { border: 1px solid var(--line); }
.sc-top { display: flex; align-items: center; gap: 14px; }
.sc-top .st-avatar { width: 52px; height: 52px; border-radius: 17px; font-size: 1.15rem; }
.sc-top b { display: block; font-size: 1.02rem; } .sc-top small { color: var(--muted); font-size: .8rem; }
.sc-top .ring { margin-inline-start: auto; width: 52px; height: 52px; }
.sc-perf { position: relative; margin-inline-start: auto; }
.sc-perf span { position: absolute; inset: 0; display: grid; place-items: center; font-size: .78rem; font-weight: 800; }
.sc-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.sc-stats div { padding: 10px 12px; border-radius: 14px; background: rgba(255, 244, 232, .035); }
.sc-stats small { display: block; font-size: .7rem; color: var(--faint); }
.sc-stats b { font-size: 1.05rem; font-weight: 800; }
.sc-rev { display: flex; justify-content: space-between; align-items: center; font-size: .8rem; color: var(--muted); }
.sc-rev b { color: var(--champagne); font-size: .95rem; }
.sc-bar { height: 6px; border-radius: 6px; background: rgba(255, 244, 232, .06); overflow: hidden; }
.sc-bar i { display: block; height: 100%; width: calc(var(--v) * 100%); background: var(--metal); transform: scaleX(0); transform-origin: right; transition: transform 1.2s var(--ease-out) .3s; }
.staff-card.is-in .sc-bar i { transform: none; }

/* ==========================================================================
   08 — Customers
   ========================================================================== */
.cu-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(30px, 5vw, 80px); align-items: center; }
.lx-checks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.lx-checks li { display: flex; gap: 10px; align-items: center; color: var(--muted); }
.lx-checks i { color: var(--mint); font-size: 1.1rem; }
.cu-orbit { position: relative; aspect-ratio: 1; width: min(560px, 100%); margin-inline: auto; }
.cu-core { position: absolute; top: 50%; left: 50%; width: 180px; height: 180px; margin: -90px 0 0 -90px; border-radius: 50%; display: grid; place-content: center; justify-items: center; text-align: center; gap: 2px; z-index: 2; }
.cu-core b { font-size: 1.8rem; font-weight: 850; line-height: 1.2; } .cu-core small { color: var(--muted); font-size: .76rem; }
.cu-ring { position: absolute; top: 50%; left: 50%; border-radius: 50%; border: 1px dashed var(--line-strong); }
.cu-ring.r1 { width: 62%; height: 62%; margin: -31% 0 0 -31%; animation: spinslow 60s linear infinite; }
.cu-ring.r2 { width: 94%; height: 94%; margin: -47% 0 0 -47%; border-style: solid; border-color: var(--line); animation: spinslow 90s linear infinite reverse; }
@keyframes spinslow { to { transform: rotate(360deg); } }
.cu-card { position: absolute; width: 196px; margin: -34px 0 0 -98px; padding: 10px 12px; border-radius: 16px; display: flex; gap: 10px; align-items: center; z-index: 3; }
.cu-card .st-avatar { width: 36px; height: 36px; border-radius: 12px; font-size: .85rem; }
.cu-card b { display: block; font-size: .82rem; line-height: 1.3; }
.cu-card small { display: block; font-size: .68rem; color: var(--muted); white-space: nowrap; }
.cu-card b { white-space: nowrap; }
.cu-card .tier { font-size: .62rem; padding: 1px 8px; border-radius: 99px; background: rgba(231, 201, 150, .14); color: var(--champagne); }
.cu-card { animation: bob 6s var(--ease-io) infinite; animation-delay: calc(var(--i) * -1.1s); }
@keyframes bob { 50% { translate: 0 -10px; } }

/* ==========================================================================
   09 — Analytics
   ========================================================================== */
.an-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(30px, 5vw, 80px); align-items: center; }
.an-map { border-radius: var(--radius-lg); padding: clamp(18px, 2.4vw, 28px); }
.heatmap { display: grid; grid-template-columns: 70px repeat(10, 1fr); gap: 5px; align-items: center; }
.heatmap .hl { font-size: .72rem; color: var(--muted); }
.heatmap .hh { font-size: .64rem; color: var(--faint); text-align: center; }
.heatmap .hc { aspect-ratio: 1; border-radius: 7px; background: rgba(231, 201, 150, calc(.05 + var(--v) * .85)); transform: scale(.3); opacity: 0; transition: transform .6s var(--ease-out), opacity .5s; transition-delay: calc(var(--d) * 14ms); }
.heatmap .hc.peak { box-shadow: 0 0 0 2px var(--pearl), 0 0 20px rgba(231, 201, 150, .7); }
.heatmap.is-in .hc { transform: none; opacity: 1; }
.heat-scale { display: flex; align-items: center; gap: 10px; font-size: .72rem; color: var(--faint); margin-top: 16px; justify-content: flex-end; }
.heat-scale i { width: 120px; height: 8px; border-radius: 8px; background: linear-gradient(to left, rgba(231, 201, 150, .9), rgba(231, 201, 150, .06)); }
.insight { display: flex; gap: 12px; align-items: flex-start; margin-top: 28px; padding: 18px; border-radius: 18px; }
.insight i { color: var(--champagne); font-size: 1.2rem; }

/* ==========================================================================
   10 — Feature story (horizontal)
   ========================================================================== */
.story { position: relative; }
.story-pin { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: 40px; padding-block: 100px 60px; overflow: hidden; }
.story-head { margin: 0 auto; }
.story-track { display: flex; gap: 22px; padding-inline: var(--gutter); width: max-content; will-change: transform; }
.story-card { position: relative; flex: none; width: clamp(290px, 30vw, 390px); min-height: 430px; border-radius: 28px; padding: 26px; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; overflow: hidden; }
.story-card h3 { font-size: 1.35rem; margin: 0; font-weight: 800; }
.story-card p { margin: 0; color: var(--muted); font-size: .92rem; }
.story-num { position: absolute; top: 20px; inset-inline-end: 24px; font-size: 2rem; line-height: 1; color: rgba(231, 201, 150, .4); }
.story-viz { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; margin-bottom: 16px; }
.viz-cal { grid-template-columns: repeat(7, 1fr); gap: 8px; place-items: stretch; align-content: center; width: 100%; }
.viz-cal i { aspect-ratio: 1; border-radius: 10px; border: 1px solid var(--line); }
.viz-cal i.on { background: var(--metal); border: 0; box-shadow: 0 0 24px rgba(231, 201, 150, .35); }
.viz-bars { display: flex; align-items: flex-end; gap: 10px; height: 170px; width: 100%; }
.viz-bars i { flex: 1; height: calc(var(--v) * 100%); border-radius: 10px 10px 4px 4px; background: linear-gradient(to top, rgba(194, 71, 127, .2), var(--orchid)); }
.viz-bars i:last-child { background: var(--metal); }
.viz-cards, .viz-staff, .viz-sms { place-items: stretch; align-content: center; }
.viz-cards { display: grid; gap: 10px; width: 100%; }
.viz-cards span { display: flex; justify-content: space-between; padding: 12px 16px; border-radius: 14px; background: rgba(255, 244, 232, .05); border: 1px solid var(--line); font-size: .88rem; }
.viz-cards span:nth-child(2) { margin-inline-start: 18px; } .viz-cards span:nth-child(3) { margin-inline-start: 36px; opacity: .7; }
.viz-cards b { color: var(--champagne); font-size: .76rem; }
.viz-staff { display: grid; gap: 14px; width: 100%; }
.viz-staff span { display: flex; align-items: center; gap: 12px; font-weight: 800; }
.viz-staff span::before { content: ""; order: 2; flex: 1; height: 8px; border-radius: 8px; background: linear-gradient(to left, var(--champagne) calc(var(--v) * 100%), rgba(255, 244, 232, .06) 0); }
.viz-line { width: 100%; height: 150px; }
.viz-line svg { width: 100%; height: 100%; }
.viz-line path { fill: none; stroke: var(--champagne); stroke-width: 3; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.viz-sms { display: grid; gap: 10px; width: 100%; font-size: .82rem; }
.viz-sms span { padding: 10px 14px; border-radius: 16px 16px 16px 4px; background: rgba(255, 244, 232, .07); max-width: 85%; }
.viz-sms span.me { justify-self: end; border-radius: 16px 16px 4px 16px; background: rgba(231, 201, 150, .18); }

/* ==========================================================================
   11 — Voices
   ========================================================================== */
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-row { display: flex; gap: 18px; width: max-content; animation: marquee 24s linear infinite; }
.marquee:hover .marquee-row, .marquee:focus-within .marquee-row { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(50% + 9px)); } }
.voice { margin: 0; width: 380px; padding: 26px; border-radius: 24px; display: flex; flex-direction: column; justify-content: space-between; gap: 22px; }
.voice blockquote { margin: 0; font-size: 1.02rem; line-height: 1.9; }
.voice figcaption { display: flex; gap: 12px; align-items: center; }
.voice figcaption i { font-style: normal; width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; background: rgba(231, 201, 150, .14); color: var(--champagne); font-weight: 800; }
.voice figcaption b { display: block; font-size: .9rem; } .voice figcaption small { color: var(--faint); font-size: .76rem; }

/* ==========================================================================
   12 — Trust
   ========================================================================== */
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.trust-item { border-radius: 22px; padding: 24px; display: grid; gap: 8px; align-content: start; }
.trust-item i { font-size: 1.5rem; color: var(--champagne); margin-bottom: 6px; }
.trust-item small { color: var(--muted); font-size: .85rem; line-height: 1.8; }

/* ==========================================================================
   13 — Start (final showcase + register)
   ========================================================================== */
.start-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 3vw, 44px); align-items: stretch; }
.start-visual { position: relative; border-radius: 32px; overflow: hidden; min-height: 520px; clip-path: inset(0 round 32px); }
.start-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); will-change: transform; }
.start-overlay { position: absolute; inset: 0; background: linear-gradient(200deg, rgba(12, 6, 16, .1) 20%, rgba(12, 6, 16, .8) 100%); }
.start-f1 { bottom: 28px; right: 28px; }
.start-f2 { top: 28px; left: 28px; }
.start-form-wrap { border-radius: 32px; padding: clamp(24px, 3vw, 40px); }
.lx-form { display: grid; gap: 14px; margin-top: 8px; }
.lx-field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.lx-field { display: grid; gap: 6px; position: relative; }
.lx-field > span { font-size: .8rem; font-weight: 600; color: var(--muted); }
.lx-field em { font-style: normal; color: var(--faint); font-weight: 400; }
.lx-field input {
    width: 100%; height: 50px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--line-strong);
    background: rgba(255, 244, 232, .04); color: var(--pearl); font: inherit; font-size: .95rem;
    transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.lx-field input::placeholder { color: rgba(247, 238, 230, .28); }
.lx-field input:focus { outline: none; border-color: var(--champagne); background: rgba(255, 244, 232, .07); box-shadow: 0 0 0 4px rgba(231, 201, 150, .12); }
.lx-field input[aria-invalid="true"] { border-color: #f2a0b8; }
.pw-meter { height: 4px; border-radius: 4px; background: rgba(255, 244, 232, .06); overflow: hidden; }
.pw-meter i { display: block; height: 100%; width: calc(var(--s, 0) * 25%); background: var(--c, #f2a0b8); transition: width .3s, background-color .3s; }
.lx-form-error { margin: 0; padding: 10px 14px; border-radius: 12px; background: rgba(242, 160, 184, .1); color: #f7c2d1; font-size: .86rem; }

/* ==========================================================================
   Footer + consent
   ========================================================================== */
.lx-footer { border-top: 1px solid var(--line); padding: 64px 0 28px; margin-top: 40px; }
.lx-footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 30px; }
.lx-footer h3 { font-size: .9rem; margin: 0 0 14px; }
.lx-footer-grid > div { display: flex; flex-direction: column; gap: 8px; }
.lx-footer-grid a, .lx-footer-link { text-decoration: none; color: var(--muted); font-size: .88rem; background: none; border: 0; padding: 0; text-align: right; cursor: url("/assets/images/cursor-hand.svg") 11 2, pointer; }
.lx-footer-grid a:hover, .lx-footer-link:hover { color: var(--pearl); }
.lx-footer-grid p { font-size: .88rem; margin: 12px 0 0; max-width: 24em; }
.lx-footer-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--faint); font-size: .8rem; }

.lx-consent {
    position: fixed; z-index: 70; bottom: 20px; left: 20px; width: min(430px, calc(100vw - 32px));
    padding: 20px; border-radius: 22px; background: rgba(24, 13, 23, .95); border: 1px solid var(--line-strong);
    box-shadow: var(--shadow-deep); backdrop-filter: blur(20px); animation: consentIn .8s var(--ease-out) 1.2s both;
}
.lx-consent[hidden] { display: none; }
@keyframes consentIn { from { opacity: 0; transform: translateY(30px); } }
.lx-consent-head { display: flex; gap: 14px; }
.lx-consent-icon { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; background: rgba(231, 201, 150, .14); color: var(--champagne); font-size: 1.2rem; flex: none; }
.lx-consent h2 { font-size: 1rem; margin: 0 0 4px; }
.lx-consent p { margin: 0; color: var(--muted); font-size: .84rem; line-height: 1.8; }
.lx-consent-options { display: grid; gap: 10px; margin-top: 16px; }
.lx-consent-options[hidden] { display: none; }
.lx-consent-actions { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; margin-top: 16px; }
.lx-toggle { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 14px; background: rgba(255, 244, 232, .04); cursor: url("/assets/images/cursor-hand.svg") 11 2, pointer; }
.lx-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.lx-toggle-ui { width: 40px; height: 24px; border-radius: 99px; background: rgba(255, 244, 232, .12); position: relative; transition: background-color .25s; }
.lx-toggle-ui::after { content: ""; position: absolute; top: 3px; right: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--pearl); transition: transform .3s var(--ease-out); }
.lx-toggle input:checked + .lx-toggle-ui { background: var(--gold); }
.lx-toggle input:checked + .lx-toggle-ui::after { transform: translateX(-16px); }
.lx-toggle input:focus-visible + .lx-toggle-ui { outline: 2px solid var(--champagne); outline-offset: 2px; }
.lx-toggle.is-locked { opacity: .75; cursor: default; }
.lx-toggle b { display: block; font-size: .88rem; } .lx-toggle small { display: block; color: var(--faint); font-size: .74rem; }

/* Low-power devices: drop the most expensive compositing effects */
html.lite .glass, html.lite .glass-strong { backdrop-filter: none; -webkit-backdrop-filter: none; background-color: rgba(30, 17, 28, .9); }
html.lite .lx-aurora { animation: none; }
html.lite .lx-grain { display: none; }

/* ==========================================================================
   Pre-JS reveal state (JS removes .js-pending once GSAP is ready)
   ========================================================================== */
html.js [data-hero-reveal] { opacity: 0; transform: translateY(20px); }
html.js .hero-title .word { transform: translateY(110%); }
html.js .hero-stage { opacity: 0; }
html.js.is-ready [data-hero-reveal], html.js.is-ready .hero-title .word, html.js.is-ready .hero-stage { transition: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
    .cmd-kpis { grid-template-columns: repeat(3, 1fr); }
    .cmd-main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cmd-chart { grid-column: 1 / -1; }
    .trust-grid { grid-template-columns: repeat(2, 1fr); }
    .bk-grid { grid-template-columns: minmax(0, 1fr) auto; }
    .bk-side { grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); }
    .bk-actions { grid-column: 1 / -1; justify-content: center; }
}

@media (max-width: 1023px) {
    .lx-nav-links { display: none; }
    .lx-menu-btn { display: inline-block; }
    .lx-nav-cta .lx-link-quiet { display: none; }
    .hero { padding-top: 120px; }
    .hero-grid { grid-template-columns: minmax(0, 1fr); }
    .hero-stage { height: 460px; margin-top: 10px; }
    .stage-plane { transform: rotateX(12deg) rotateY(-6deg); }
    .sc-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
    .sc-copy .lx-h2 { display: none; }
    .sc-steps { margin: 0; }
    .sc-steps li { display: none; border: 0; padding: 0; }
    .sc-steps li.is-active { display: block; }
    .sc-steps li.is-active span { max-height: none; }
    .sc-progress { display: block; height: 3px; border-radius: 3px; background: var(--line); margin-top: 12px; overflow: hidden; }
    .sc-progress span { display: block; height: 100%; background: var(--metal); transform-origin: right; transform: scaleX(var(--p, 0)); }
    .sc-window { height: 560px; }
    .pnl-equation { grid-template-columns: minmax(0, 1fr); }
    .eq-op { justify-self: center; font-size: 2.2rem; margin-block: -6px; }
    .pnl-grid, .cu-grid, .an-grid, .start-grid { grid-template-columns: minmax(0, 1fr); }
    .an-copy { order: -1; }
    .start-visual { min-height: 360px; }
    .lx-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
    body.lx { font-size: 15px; }
    .lx-nav { padding: 10px 12px; }
    .lx-nav-inner { padding: 8px 8px 8px 14px; }
    .lx-nav-cta .lx-btn { display: none; }
    .hero-title { font-size: clamp(2.2rem, 10vw, 3rem); }
    .hero-ctas .lx-btn { flex: 1 1 100%; }
    .hero-proof { justify-content: space-between; }
    .hero-proof b { font-size: 1.3rem; }
    .hero-stage { height: 380px; margin-inline: -8px; }
    .app-hero { inset: 4% 0 10% 0; }
    .app-body { grid-template-columns: minmax(0, 1fr); }
    .app-side { display: none; }
    .app-main { padding: 12px; gap: 10px; }
    .kpi b { font-size: .95rem; }
    .app-list li:nth-child(n+3) { display: none; }
    .float { padding: 9px 12px; border-radius: 14px; }
    .float-team, .float-date { display: none; }
    .float-booking { right: 2%; top: -3%; }
    .float-margin { right: auto; left: 3%; bottom: 0; }
    .sc-pin { padding-top: 84px; }
    .sc-window { height: 520px; }
    .cal-grid { grid-template-columns: 30px repeat(6, 1fr); gap: 0 3px; }
    .cal-evt { font-size: 0; padding: 0; }
    .cal-legend { display: none; }
    .bk-grid { grid-template-columns: minmax(0, 1fr); }
    .bk-rail { grid-template-columns: repeat(6, 1fr); gap: 0; }
    .bk-rail::before, .bk-rail::after { top: 17px; bottom: auto; inset-inline: calc(100% / 12); width: auto; height: 2px; }
    .bk-rail::after { transform: scaleX(var(--bk-progress, 0)); transform-origin: right; }
    .bk-rail li { flex-direction: column; gap: 6px; text-align: center; padding: 0; }
    .bk-rail li > span { width: 36px; height: 36px; font-size: .85rem; }
    .bk-rail li small { display: none; }
    .bk-rail li b { font-size: .72rem; }
    .bk-device { justify-self: center; order: 2; }
    .bk-side { grid-template-columns: minmax(0, 1fr); order: 3; }
    .phone { width: 280px; height: 570px; }
    .cmd-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cmd-kpi { padding: 12px; }
    .cmd-kpi b { font-size: 1.1rem; }
    .cmd-kpi small, .cmd-kpi em { white-space: normal; }
    .bk-glow { inset: 10% 0; }
    .cmd-main { grid-template-columns: minmax(0, 1fr); }
    .pnl-bars { height: 230px; }
    .staff-grid { grid-template-columns: minmax(0, 1fr); }
    .cu-orbit { width: 100%; }
    .cu-core { width: 130px; height: 130px; margin: -65px 0 0 -65px; }
    .cu-card { width: 140px; margin: -30px 0 0 -70px; padding: 8px; }
    .cu-card .st-avatar { display: none; }
    .heatmap { grid-template-columns: 52px repeat(10, 1fr); gap: 3px; }
    .heatmap .hh:nth-child(even) { visibility: hidden; }
    .story-pin { min-height: 0; padding-block: 80px 40px; }
    .story-track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: none; }
    .story-track::-webkit-scrollbar { display: none; }
    .story-card { scroll-snap-align: center; width: 82vw; min-height: 380px; }
    .voice { width: 300px; }
    .trust-grid { grid-template-columns: minmax(0, 1fr); }
    .lx-field-row { grid-template-columns: minmax(0, 1fr); }
    .start-f2 { display: none; }
    .lx-consent { left: 16px; bottom: 16px; }
    .lx-footer-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Short desktop windows keep document scrolling when the content cannot fit. */
@media (min-width: 1024px) and (max-height: 819px) {
    .hero { min-height: 0; padding-block: 110px 60px; }
    .hero-stage { height: 480px; }
    .sc-pin { min-height: 0; padding-block: 100px 60px; }
    .sc-window { height: 560px; }
    .story-pin { min-height: 0; padding-block: 80px 40px; }
    .story-track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; }
    .story-card { scroll-snap-align: start; }
}

/* ==========================================================================
   Reduced motion — everything visible, no pinning, no drift
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
    .lx-aurora { animation: none; }
    .marquee-row { flex-wrap: wrap; width: auto; justify-content: center; padding-inline: var(--gutter); }
    .marquee-row [data-clone] { display: none; }
}
html.rm .sc-pin { min-height: 0; }
html.rm .sc-window { height: auto; }
html.rm .sc-stage { display: grid; gap: 1px; }
html.rm .scene { position: relative; opacity: 1; visibility: visible; transform: none; filter: none; min-height: 380px; border-top: 1px solid var(--line); }
html.rm .sc-steps li { opacity: 1; display: block; }
html.rm .sc-steps li span { max-height: none; }
html.rm .story-track { width: auto; flex-wrap: wrap; justify-content: center; }
html.rm .ph-step { position: relative; display: none; }
html.rm .ph-step.ph-success { display: flex; opacity: 1; visibility: visible; transform: none; }
/* Scroll stories fit the visible viewport at every width. */
.scroll-showcase .sc-pin{position:sticky;top:0;height:100svh;min-height:0;padding-block:90px 24px}
.scroll-showcase .sc-window{height:min(620px,calc(100svh - 150px))}
.sc-steps li[role="button"]{cursor: url("/assets/images/cursor-hand.svg") 11 2, pointer}.sc-steps li:focus-visible{outline:2px solid var(--champagne);outline-offset:4px;border-radius:4px}
.scroll-story .story-pin{position:sticky;top:0;height:100svh;min-height:0;padding-block:90px 30px;gap:24px}
.scroll-story .story-track{width:max-content;overflow:visible;scroll-snap-type:none;padding-bottom:0}
.scroll-story .story-card{min-height:0;height:min(430px,calc(100svh - 270px))}
.scroll-story .story-viz{min-height:0}.scroll-story .viz-bars{height:min(170px,20svh)}.scroll-story .viz-line{height:min(150px,20svh)}
.sc-stacked .sc-pin{min-height:0;padding-block:90px 30px}.sc-stacked .sc-window{height:auto;transform:none!important}
.sc-stacked .sc-stage{display:grid}.sc-stacked .scene{position:relative;opacity:1;visibility:visible;transform:none;filter:none;min-height:460px;border-top:1px solid var(--line)}
.story-stacked .story-pin{min-height:0;padding-block:90px 30px}.story-stacked .story-track{width:auto;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(290px,100%),1fr));overflow:visible}.story-stacked .story-card{width:100%;min-height:360px}
@media(max-width:1023px){
    .scroll-showcase .sc-window{height:calc(100svh - 240px)}
    .scroll-showcase .scene{padding:16px}.scroll-showcase .nb-card,.scroll-showcase .cp-card{padding:14px;gap:8px}
    .scroll-showcase .nb-row{padding:6px 10px}.scroll-showcase .nb-head{font-size:.9rem;margin-bottom:0}
    .scroll-showcase .nb-toast{bottom:10px;font-size:.7rem;padding:8px 12px}
    .scroll-showcase .cp-info{gap:8px}.scroll-showcase .cp-stats{gap:6px}
    .scroll-story .story-head .lx-h2{font-size:clamp(1.4rem,4vw,2.2rem)}
    .scroll-story .story-card{width:min(82vw,390px);padding:20px;border-radius:22px}
    .scroll-story .story-card h3{font-size:1.15rem}.scroll-story .story-card p{font-size:.8rem;line-height:1.7}
    .scroll-story .story-viz{margin-bottom:8px}.scroll-story .story-num{font-size:1.5rem;top:16px}
}
@media(max-width:1023px) and (max-height:760px){
    .scroll-showcase .scene-expense{gap:10px}.scroll-showcase .ex-list{gap:7px}
    .scroll-showcase .ex-row{grid-template-columns:30px minmax(0,1fr) auto;padding:7px 10px;gap:8px;border-radius:12px}
    .scroll-showcase .ex-ic{width:30px;height:30px;border-radius:9px}
    .scroll-showcase .ex-row b,.scroll-showcase .ex-row em{font-size:.78rem}.scroll-showcase .ex-row small{font-size:.65rem}
    .scroll-showcase .ex-total{padding-top:8px;gap:8px}.scroll-showcase .ex-total b{font-size:1.15rem}
}
@media (max-width: 359px) {
    .phone,.voice { width:min(100%,280px); }
    .hero-stage { height:340px; margin-inline:0; }
    .hero-title { overflow-wrap:anywhere; }
    .app-main { min-width:0; }
    .app-kpis,.cmd-kpis { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .bk-rail li b { font-size:.63rem; overflow-wrap:anywhere; }
    .lx-nav-inner { min-width:0; }
}
