/*
 * theme.css — Black Friday Pabbly.
 * Opens DARK (a WPZOOM-style black sale page: pure black, signal red, white type).
 * The light set below is the same palette on white, not an inversion.
 * Brand colours of third-party logos shown in the product screens are --x- tokens.
 */

:root {
  color-scheme: dark;
  --canvas: #000000;
  --surface: #121212;
  --surface-2: #1a1a1a;
  --border: #2a2a2a;
  --border-strong: #4a4a4a;
  --ink: #ffffff;
  --muted: #a3a3a3;
  --accent: #ff2d20;
  --accent-hover: #ff5348;
  --accent-ink: #000000;
  --accent-text: #ff5a4f;
  --accent-soft: #2a0b09;
  --accent-strong: #ff8a82;
  --accent-border: #5a1a15;
  --success: #22a35a;
  --success-ink: #000000;
  --success-soft: #0f2a1a;
  --success-strong: #5fd08a;
  --warning: #f59e0b;
  --warning-ink: #000000;
  --warning-soft: #2e2108;
  --warning-strong: #f7b955;
  --danger: #ff2d20;
  --danger-ink: #000000;
  --danger-soft: #2a0b09;
  --danger-strong: #ff8a82;
  --chart-1: #ff2d20;
  --chart-2: #ffffff;
  --chart-3: #a3a3a3;
  --chart-4: #5fd08a;
  --chart-5: #f7b955;
  --chart-6: #7aa7ff;

  --font-display: "Poppins", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Poppins", ui-sans-serif, system-ui, sans-serif;
  --font-sans: "Poppins", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --display-weight: 800;
  --display-tracking: -0.03em;
  --eyebrow-tracking: 0.04em;
  --radius-btn: 8px;
  --radius-card: 18px;
  --radius-input: 8px;

  --x-condensed: "Big Shoulders Display", "Poppins", sans-serif;
  --x-script: "Mr Dafoe", cursive;
  --x-dots: #333333;
  --x-shout-shadow: #3a3a3a;
  --x-glow: #2a0806;
  --x-hatch-1: #3a3a3a;
  --x-hatch-2: #262626;
  --x-gone: #2a2a2a;
  --x-soft-text: #cfcfcf;
  --x-paper: #ffffff;
  --x-paper-2: #f5f5f7;
  --x-paper-3: #fafafb;
  --x-paper-ink: #16161a;
  --x-paper-muted: #5e5e66;
  --x-paper-line: #e5e5e9;
  --x-red-deep: #c21207;
  --x-red-wash: #fff4f3;
  --x-red-line: #f5a39d;
  --x-red-pill: #ffe4e1;
  --x-green: #1a7f45;
  --x-green-wash: #e7f6ec;
  --x-wait: #f1f1f4;
  --x-chat: #efeae2;
  --x-bubble: #d9fdd3;
  --x-facebook: #0866ff;
  --x-whatsapp: #25d366;
  --x-gmail: #ea4335;
  --x-sheets: #34a853;
  --x-stripe: #635bff;
  --x-paypal: #002991;
  --x-razorpay: #0c2451;
  --x-logo-filter: grayscale(1) invert(1);
  --x-logo-blend: screen;
  --x-wire: #2e2e2e;
  --x-back: #5fd08a;
  --x-pabbly-green: #20b276;
  --x-pabbly-green-deep: #147f52;
  --x-pabbly-p: #ffffff;
  --x-pabbly-word: #ffffff;
  --x-float-shadow: 0 60px 120px -40px rgba(0, 0, 0, 0.85);
  --x-bf-shadow: 0 12px 34px rgba(0, 0, 0, 0.5);
  --x-sale-shadow: 0 6px 0 rgba(0, 0, 0, 0.35);
}

html[data-theme="light"] {
  color-scheme: light;
  --canvas: #ffffff;
  --surface: #f6f6f7;
  --surface-2: #efeff1;
  --border: #e2e2e6;
  --border-strong: #b8b8be;
  --ink: #0a0a0b;
  --muted: #55555d;
  --accent: #e0170c;
  --accent-hover: #c81409;
  --accent-ink: #ffffff;
  --accent-text: #c21207;
  --accent-soft: #ffe9e7;
  --accent-strong: #9e0f06;
  --accent-border: #f5a39d;
  --success: #15803d;
  --success-ink: #ffffff;
  --success-soft: #dff3e6;
  --success-strong: #126b34;
  --warning: #b45309;
  --warning-ink: #ffffff;
  --warning-soft: #fbeedd;
  --warning-strong: #8f4207;
  --danger: #c81409;
  --danger-ink: #ffffff;
  --danger-soft: #ffe9e7;
  --danger-strong: #9e0f06;
  --chart-1: #e0170c;
  --chart-2: #0a0a0b;
  --chart-3: #6b6b73;
  --chart-4: #15803d;
  --chart-5: #b45309;
  --chart-6: #2f6fed;

  --x-dots: #d4d4d8;
  --x-shout-shadow: #e2e2e6;
  --x-glow: #ffe1de;
  --x-hatch-1: #d4d4d8;
  --x-hatch-2: #e9e9ec;
  --x-gone: #dcdce0;
  --x-soft-text: #3a3a42;
  --x-paper: #ffffff;
  --x-paper-2: #f5f5f7;
  --x-paper-3: #fafafb;
  --x-paper-ink: #16161a;
  --x-paper-muted: #5e5e66;
  --x-paper-line: #e5e5e9;
  --x-red-deep: #c21207;
  --x-red-wash: #fff4f3;
  --x-red-line: #f5a39d;
  --x-red-pill: #ffe4e1;
  --x-green: #1a7f45;
  --x-green-wash: #e7f6ec;
  --x-wait: #f1f1f4;
  --x-chat: #efeae2;
  --x-bubble: #d9fdd3;
  --x-facebook: #0866ff;
  --x-whatsapp: #25d366;
  --x-gmail: #ea4335;
  --x-sheets: #34a853;
  --x-stripe: #635bff;
  --x-paypal: #002991;
  --x-razorpay: #0c2451;
  --x-logo-filter: grayscale(1);
  --x-logo-blend: multiply;
  --x-wire: #dedee3;
  --x-back: #15803d;
  --x-pabbly-green: #20b276;
  --x-pabbly-green-deep: #147f52;
  --x-pabbly-p: #ffffff;
  --x-pabbly-word: #3b3938;
  --x-float-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.22);
  --x-bf-shadow: none;
  --x-sale-shadow: 0 4px 0 rgba(0, 0, 0, 0.08);
}

/*
 * app.css — Black Friday Pabbly. Tokens only (theme.css); black/white appear only as depth.
 * Moments that move: the "Black Friday Sale" lockup on load, the hero workflow (a lead
 * travelling through five apps) and the flow diagram's light running along its wires.
 * Everything else answers the visitor.
 */

/* ---------- ground + smooth scrolling ---------- */
html { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
[id] { scroll-margin-top: 24px; }
.page { background: var(--canvas); color: var(--ink); font-family: var(--font-body); -webkit-font-smoothing: antialiased; }
.page a { color: inherit; }
.wrap { max-width: 1320px; margin-inline: auto; padding-inline: 28px; }
@media (max-width: 640px) { .wrap { padding-inline: 18px; } }
.sec { padding-block: 112px; }
@media (max-width: 640px) { .sec { padding-block: 72px; } }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 10px 14px; border-radius: 6px; }
.skip:focus { left: 8px; }
.page :focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.is-red { color: var(--accent-text); }
.is-strong { font-weight: 600; color: var(--ink); }
.is-dim { color: var(--muted); }
.fine { display: block; margin-top: 18px; font-size: 13px; line-height: 1.6; color: var(--muted); max-width: 780px; }
.lede { margin: 0; font-size: 18px; line-height: 1.65; color: var(--x-soft-text); max-width: 520px; }
.h-cond { margin: 0; font-family: var(--x-condensed); font-weight: 900; font-size: clamp(52px, 6vw, 96px); line-height: 0.88; text-transform: uppercase; letter-spacing: 0; }
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 48px; }
.sec-head .lede { max-width: 440px; color: var(--muted); }

/* ---------- buttons ---------- */
.btn-red { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 12px 20px; border-radius: 8px; background: var(--accent); color: var(--accent-ink) !important; font-weight: 700; font-size: 15px; text-decoration: none; transition: transform .18s ease, background .18s ease, box-shadow .18s ease; box-shadow: 0 10px 30px -12px color-mix(in srgb, var(--accent) 70%, transparent); }
.btn-red:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 16px 36px -12px color-mix(in srgb, var(--accent) 85%, transparent); }
.btn-red:active { transform: translateY(0) scale(.97); }
.btn-red-sm { min-height: 42px; padding: 10px 16px; font-size: 14px; }
.btn-red-lg { min-height: 56px; padding: 16px 26px; font-size: 17px; margin-top: 32px; }
.btn-red-xl { min-height: 62px; padding: 18px 36px; font-size: 19px; margin-top: 34px; }
.btn-ink { display: inline-flex; align-items: center; min-height: 52px; padding: 14px 24px; border-radius: 8px; background: var(--canvas); color: var(--ink) !important; font-weight: 700; text-decoration: none; margin-top: 26px; transition: transform .18s ease; }
.btn-ink:hover { transform: translateY(-2px); }

/* ---------- top bar: the official logo, its wordmark in the page's text colour ---------- */
.topbar { position: relative; z-index: 5; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 18px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; color: var(--ink); }
.brand-logo { display: block; height: 36px; width: auto; }
.brand-logo .pl-g { fill: var(--x-pabbly-green); } .brand-logo .pl-d { fill: var(--x-pabbly-green-deep); }
.brand-logo .pl-w { fill: var(--x-pabbly-p); } .brand-logo .pl-t { fill: var(--x-pabbly-word); }
.brand-mark { display: block; width: 34px; height: 34px; }
.brand-word { font-family: var(--font-display); font-weight: 800; font-size: 25px; letter-spacing: -0.02em; color: var(--ink); line-height: 1; }
.topbar-r { display: flex; align-items: center; gap: 14px; }
.topbar-note { font-size: 14px; color: var(--muted); }
@media (max-width: 720px) { .topbar-note { display: none; } }
@media (max-width: 420px) { .brand-logo { height: 28px; } .topbar-r { gap: 8px; } }
.theme-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border); background: transparent; color: var(--ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.theme-btn:hover { border-color: var(--border-strong); }
/* the switch always shows one icon: the moon until light mode is chosen, then the sun */
html .theme-btn [data-when] { display: none; }
html:not([data-theme="light"]) .theme-btn [data-when="dark"], html[data-theme="light"] .theme-btn [data-when="light"] { display: inline-flex; }
.theme-btn .icon { width: 20px; height: 20px; }
.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }

/* ---------- hero ---------- */
.hero { background-color: var(--canvas); background-image: radial-gradient(var(--x-dots) 1.3px, transparent 1.7px); background-size: 30px 30px; padding: 40px 0 96px; overflow: hidden; }
.hero-in { display: flex; flex-direction: column; align-items: center; text-align: center; }
.bf { position: relative; display: inline-flex; flex-direction: column; margin: 0; font-family: var(--font-display); font-weight: 800; line-height: 0.92; letter-spacing: -0.035em; color: var(--ink); }
.bf-word { display: block; font-size: clamp(64px, 11vw, 168px); text-shadow: var(--x-bf-shadow); animation: bf-rise .9s cubic-bezier(.16,1,.3,1) both; }
.bf-word + .bf-word { animation-delay: .08s; }
.bf-sale { position: absolute; right: -0.38em; bottom: -0.56em; font-family: var(--x-script); font-weight: 400; font-size: clamp(96px, 15vw, 236px); letter-spacing: 0; color: var(--accent); transform: rotate(-9deg); text-shadow: var(--x-sale-shadow); animation: bf-sale 1s cubic-bezier(.16,1,.3,1) .35s both; }
@keyframes bf-rise { from { transform: translateY(36px); opacity: .25; } to { transform: none; opacity: 1; } }
@keyframes bf-sale { from { transform: rotate(-24deg) scale(.55) translateX(60px); opacity: .2; } 70% { transform: rotate(-6deg) scale(1.06); opacity: 1; } to { transform: rotate(-9deg) scale(1); opacity: 1; } }
.hero-shout { margin: clamp(76px, 9vw, 130px) 0 0; font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: clamp(25px, 3.6vw, 52px); line-height: 1.1; text-transform: uppercase; letter-spacing: -0.01em; text-shadow: 4px 4px 0 var(--x-shout-shadow); max-width: 1100px; }
.hero-offer { margin: 24px 0 0; font-size: clamp(18px, 1.9vw, 25px); font-weight: 500; line-height: 1.45; max-width: 880px; }
.hero-offer a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }
.hero-note { margin: 20px 0 0; font-size: 16px; line-height: 1.6; color: var(--muted); max-width: 640px; }
.hero-date { margin: 18px 0 0; font-size: 15px; font-weight: 600; letter-spacing: .04em; color: var(--x-soft-text); }

.stage { width: 100%; max-width: 1200px; margin-top: 72px; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 56px; align-items: center; text-align: left; }
@media (max-width: 1040px) { .stage { grid-template-columns: minmax(0, 1fr); max-width: 640px; } .stage .ticket-wrap { order: -1; } }

/* depth on the ticket only: JS sets --rx/--ry from the pointer; at rest it is flat */
[data-depth] { perspective: 1200px; }
[data-depth] > * { transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .45s cubic-bezier(.16,1,.3,1); }

/* ---------- the hero workflow: one lead travels through five apps ---------- */
.run { position: relative; margin: 0; min-width: 0; border-radius: 22px; overflow: hidden; border: 1px solid var(--border-strong); background-color: var(--surface); background-image: radial-gradient(var(--x-dots) 1px, transparent 1.4px); background-size: 22px 22px; box-shadow: var(--x-float-shadow), 0 0 110px -40px color-mix(in srgb, var(--accent) 45%, transparent); }
.rn-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--border); background: color-mix(in srgb, var(--surface) 88%, transparent); }
.rn-name { min-width: 0; }
.rn-name b { display: block; font-size: 16px; font-weight: 700; line-height: 1.3; }
.rn-name small { display: block; font-size: 13px; color: var(--muted); }
.rn-head-r { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.rn-live { display: inline-flex; align-items: center; gap: 8px; min-height: 30px; padding: 4px 12px; border-radius: 999px; background: var(--success-soft); color: var(--success-strong); font-size: 13px; font-weight: 600; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success-strong); animation: ping 1.6s ease-out infinite; }
.live-dot.is-red { background: var(--accent); }
@keyframes ping { 0% { transform: scale(1); } 50% { transform: scale(1.35); opacity: .6; } 100% { transform: scale(1); } }
.rn-replay { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border-strong); background: transparent; color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: transform .4s cubic-bezier(.16,1,.3,1), border-color .2s ease; }
.rn-replay:hover { border-color: var(--ink); transform: rotate(-120deg); }
.rn-replay .icon { width: 18px; height: 18px; }

.rn-steps { list-style: none; margin: 0; padding: 18px; display: flex; flex-direction: column; gap: 20px; }
.rn-step { position: relative; display: flex; align-items: center; gap: 14px; min-height: 74px; padding: 11px 14px 11px 12px; border-radius: 16px; border: 1px solid var(--border); background: var(--canvas); transition: border-color .35s ease, box-shadow .35s ease, opacity .35s ease; }
.rn-ico { width: 46px; height: 46px; flex: 0 0 auto; border-radius: 12px; background: var(--x-paper); border: 1px solid var(--border); display: grid; place-items: center; }
.rn-ico img { width: 30px; height: 30px; }
.rn-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.rn-app { font-size: 12px; font-weight: 500; color: var(--muted); }
.rn-act, .rn-out, .rn-app { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rn-act { font-size: 15px; font-weight: 700; line-height: 1.35; }
.rn-out { font-size: 13px; color: var(--success-strong); transition: opacity .3s ease, transform .3s ease; }
.rn-state { width: 40px; flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 3px; }
.rn-ok { width: 24px; height: 24px; border-radius: 50%; background: var(--success); color: var(--success-ink); display: grid; place-items: center; }
.rn-ok .icon { width: 14px; height: 14px; stroke-width: 3; }
.rn-ms { font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; }
.rn-spin { display: none; width: 24px; height: 24px; border-radius: 50%; border: 2.5px solid color-mix(in srgb, var(--accent) 25%, transparent); border-top-color: var(--accent); animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
/* the wire to the next step, across the gap under this card */
.rn-link { position: absolute; left: 34px; top: calc(100% + 1px); width: 2px; height: 20px; background: var(--x-wire); }
.rn-link::after { content: ""; position: absolute; inset: 0; background: var(--success); transform: scaleY(0); transform-origin: top; transition: transform .45s ease-in; }
.rn-pulse { position: absolute; left: -4px; top: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px 3px color-mix(in srgb, var(--accent) 80%, transparent); opacity: 0; }
.run:not(.is-playing) .rn-link::after, .rn-step.is-sent .rn-link::after { transform: none; }
.rn-step.is-sent .rn-pulse { animation: rn-drop .46s ease-in both; }
@keyframes rn-drop { 0% { top: -5px; opacity: 1; } 80% { opacity: 1; } 100% { top: calc(100% - 5px); opacity: 0; } }

/* states while it plays: waiting, running, done */
.run.is-playing .rn-step:not(.is-run):not(.is-done) { opacity: .5; }
.run.is-playing .rn-step:not(.is-done) .rn-out { opacity: 0; transform: translateY(4px); }
.run.is-playing .rn-step:not(.is-done) .rn-ok, .run.is-playing .rn-step:not(.is-done) .rn-ms { visibility: hidden; }
.rn-step.is-run { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 0 34px -8px color-mix(in srgb, var(--accent) 80%, transparent); }
.rn-step.is-run .rn-spin { display: block; }
.rn-step.is-run .rn-ok { display: none; }
.rn-step.is-done .rn-ok { animation: rn-pop .45s cubic-bezier(.16,1,.3,1); }
@keyframes rn-pop { from { transform: scale(.3); } 60% { transform: scale(1.18); } to { transform: none; } }

.rn-won { margin: 0 18px 18px; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--success-soft); border: 1px solid color-mix(in srgb, var(--success) 45%, transparent); transition: opacity .4s ease, transform .4s cubic-bezier(.16,1,.3,1); }
.rn-won-ico { width: 32px; height: 32px; flex: 0 0 auto; border-radius: 50%; background: var(--success); color: var(--success-ink); display: grid; place-items: center; }
.rn-won-ico .icon { width: 18px; height: 18px; stroke-width: 3; }
.rn-won b { display: block; font-size: 15px; font-weight: 700; color: var(--ink); }
.rn-won small { display: block; font-size: 13px; color: var(--success-strong); }
.run.is-playing:not(.is-won) .rn-won { opacity: 0; transform: translateY(8px); }

.rn-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--border); background: var(--canvas); }
.rn-stat { padding: 14px 18px; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.rn-stat + .rn-stat { border-left: 1px solid var(--border); }
.rn-stat-k { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rn-stat-v { font-size: clamp(16px, 2vw, 21px); font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rn-stat-v.is-red { color: var(--accent-text); }
@media (max-width: 520px) {
  .rn-head { padding: 14px; } .rn-name small { display: none; }
  .rn-steps { padding: 14px; gap: 18px; } .rn-step { gap: 12px; padding-right: 10px; }
  .rn-act, .rn-out { white-space: normal; }
  .rn-link { height: 18px; }
  .rn-won { margin: 0 14px 14px; }
  .rn-stat { padding: 12px 10px; }
}

.bm-facebook { fill: var(--x-facebook); } .bm-whatsapp { fill: var(--x-whatsapp); } .bm-gmail { fill: var(--x-gmail); }
.bm-sheets { fill: var(--x-sheets); } .bm-stripe { fill: var(--x-stripe); } .bm-paypal { fill: var(--x-paypal); } .bm-razorpay { fill: var(--x-razorpay); }

/* window chrome, shared by the showreel */
.sc-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; background: var(--x-paper-2); border-bottom: 1px solid var(--x-paper-line); color: var(--x-paper-ink); }
.sc-bar-l { display: flex; align-items: center; gap: 10px; min-width: 0; }
.dots3 { display: flex; gap: 6px; flex: 0 0 auto; }
.dots3 i { width: 10px; height: 10px; border-radius: 50%; background: var(--x-paper-line); }
.sc-title { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- ticket ---------- */
.ticket-wrap { max-width: 470px; width: 100%; justify-self: center; }
.ticket { background: var(--x-paper); color: var(--x-paper-ink); border-radius: 18px; box-shadow: 14px 14px 0 var(--accent), var(--x-float-shadow); }
.tk-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 26px 26px 0; }
.tk-admit { display: block; font-family: var(--x-condensed); font-weight: 900; font-size: 30px; line-height: 1; text-transform: uppercase; }
.tk-top small { display: block; font-size: 13px; color: var(--x-paper-muted); margin-top: 4px; }
.tk-seat { text-align: right; } .tk-seat b { font-family: var(--x-condensed); font-weight: 900; font-size: 30px; line-height: 1; }
.tk-price { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; padding: 22px 26px 0; }
.tk-old { display: block; font-size: 16px; color: var(--x-paper-muted); margin-bottom: 10px; }
.tk-now { display: block; font-family: var(--x-condensed); font-weight: 900; font-size: clamp(80px, 9vw, 108px); line-height: .85; letter-spacing: -0.02em; }
.tk-stamp { width: 94px; height: 94px; border-radius: 50%; background: var(--x-paper-ink); color: var(--x-paper); display: flex; flex-direction: column; align-items: center; justify-content: center; transform: rotate(10deg); flex: 0 0 auto; box-shadow: 0 0 0 4px var(--x-paper), 0 0 0 6px var(--accent); }
.tk-stamp b { font-family: var(--x-condensed); font-weight: 900; font-size: 34px; line-height: .9; } .tk-stamp small { font-size: 13px; }
.tk-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 26px 22px; }
.tk-day { margin: 0; font-size: 16px; font-weight: 700; line-height: 1.35; }
.tk-day small { display: block; font-size: 14px; font-weight: 500; color: var(--x-paper-muted); }
.tk-cur { display: flex; border: 2px solid var(--x-paper-ink); border-radius: 8px; overflow: hidden; flex: 0 0 auto; }
.tk-cur button { min-height: 38px; min-width: 54px; border: 0; background: var(--x-paper); color: var(--x-paper-ink); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; transition: background .2s ease, color .2s ease; }
.tk-cur button[aria-pressed="true"] { background: var(--x-paper-ink); color: var(--x-paper); }
.tk-perf { position: relative; border-top: 3px dashed var(--x-paper-line); margin: 0 22px; }
.tk-perf::before, .tk-perf::after { content: ""; position: absolute; top: -14px; width: 26px; height: 26px; border-radius: 50%; background: var(--canvas); }
.tk-perf::before { left: -36px; } .tk-perf::after { right: -36px; }
.tk-cta { padding: 22px 26px 26px; display: flex; flex-direction: column; gap: 14px; }
.tk-lead { margin: 0; font-size: 15px; line-height: 1.5; color: var(--x-paper-muted); } .tk-lead strong { color: var(--x-paper-ink); }
.tk-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 15px; font-weight: 600; }
.tk-list li { display: flex; align-items: center; gap: 10px; }
.tk-list .icon { width: 18px; height: 18px; color: var(--x-red-deep); flex: 0 0 auto; }
.tk-submit { display: flex; align-items: center; justify-content: center; margin-top: 4px; min-height: 60px; border-radius: 10px; background: var(--accent); color: var(--accent-ink) !important; font-size: 19px; font-weight: 800; text-decoration: none; box-shadow: 0 14px 30px -14px color-mix(in srgb, var(--accent) 80%, transparent); transition: transform .18s ease, background .18s ease, box-shadow .18s ease; }
.tk-submit:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 20px 36px -14px color-mix(in srgb, var(--accent) 90%, transparent); }
.tk-fine { text-align: center; font-size: 13px; color: var(--x-paper-muted); }

.trust { margin: 64px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, auto)); justify-content: center; row-gap: 14px; font-size: 15px; color: var(--x-soft-text); }
.trust li { display: flex; align-items: center; gap: 8px; padding: 0 24px; }
.trust li + li { border-left: 1px solid var(--border); }
.trust .icon { width: 18px; height: 18px; color: var(--accent-text); flex: 0 0 auto; }
@media (max-width: 900px) { .trust { grid-template-columns: repeat(2, minmax(0, auto)); } .trust li:nth-child(3) { border-left: 0; } }
@media (max-width: 520px) { .trust { grid-template-columns: minmax(0, 1fr); justify-items: center; } .trust li { border-left: 0 !important; } }

/* ---------- customer logos: plain marks, no tiles ---------- */
.logos { padding: 36px 0 40px; overflow: hidden; border-top: 1px solid var(--border); }
.logos-lead { margin: 0 0 24px; text-align: center; font-size: 15px; color: var(--muted); padding-inline: 18px; }
.logos-lead b { color: var(--ink); }
.logos-track { -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.logos-row { display: flex; align-items: center; width: max-content; margin: 0; padding: 0; list-style: none; animation: marquee 48s linear infinite; }
.logos:hover .logos-row { animation-play-state: paused; }
.logo-tile { flex: 0 0 auto; padding: 0 36px; height: 48px; display: flex; align-items: center; justify-content: center; }
.logo-tile img { height: 34px; width: auto; max-width: 140px; object-fit: contain; filter: var(--x-logo-filter); mix-blend-mode: var(--x-logo-blend); opacity: .8; transition: opacity .25s ease; }
.logo-tile:hover img { opacity: 1; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- countdown band ---------- */
.band-red { background: var(--accent); color: var(--accent-ink); }
.band-in { display: flex; justify-content: space-between; align-items: center; gap: 16px 40px; padding-block: 26px; }
.band-in p { margin: 0; font-size: 20px; font-weight: 600; line-height: 1.35; max-width: 380px; }
.cd { display: grid; grid-template-columns: repeat(4, auto); gap: 8px 28px; font-family: var(--x-condensed); font-weight: 900; text-transform: uppercase; }
.cd-u b { font-size: clamp(44px, 6vw, 84px); line-height: .9; font-variant-numeric: tabular-nums; }
.cd-u i { font-style: normal; font-size: 20px; font-weight: 800; margin-left: 4px; }
@media (max-width: 820px) { .band-in { flex-direction: column; align-items: flex-start; } .cd { gap: 8px 18px; } }
@media (max-width: 420px) { .cd { gap: 6px 12px; } .cd-u i { font-size: 16px; } }

/* ---------- flow diagram: light running along wires ---------- */
.flow-sec { position: relative; overflow: hidden; background: radial-gradient(60% 70% at 50% 40%, var(--x-glow) 0%, var(--canvas) 70%); }
.fm-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.fm-tab { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 18px 10px 12px; border-radius: 999px; border: 1px solid var(--border-strong); background: var(--surface); color: var(--x-soft-text); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; transition: background .25s ease, color .25s ease, border-color .25s ease, transform .2s ease; }
.fm-tab:hover { color: var(--ink); border-color: var(--x-soft-text); }
.fm-tab:active { transform: scale(.97); }
.fm-tab .icon, .fm-tab .bm { width: 20px; height: 20px; flex: 0 0 auto; }
.fm-tab[aria-selected="true"] { background: var(--ink); color: var(--canvas); border-color: var(--ink); }
.fm-tab[aria-selected="true"] .bm-stripe, .fm-tab[aria-selected="true"] .bm-facebook { fill: currentColor; }

.fm { --T: 3.6s; position: relative; display: grid; grid-template-columns: minmax(150px, auto) minmax(36px, 1fr) minmax(130px, auto) minmax(60px, 1.3fr) minmax(250px, 300px) minmax(60px, 1.3fr) minmax(170px, auto); grid-template-areas: "src w1 hub fo apps fb out"; align-items: center; }
.fm-src { grid-area: src; } .fm-wire.h.first { grid-area: w1; } .fm-hub { grid-area: hub; }
.fm-fan.out { grid-area: fo; } .fm-apps { grid-area: apps; } .fm-fan.back { grid-area: fb; } .fm-out { grid-area: out; }
.fm-wire.v { display: none; }
.fm-wire.h.mid, .fm-wire.h.last { display: none; }
.fm-node { position: relative; display: flex; justify-content: center; padding: 0 6px; }
.fm-cap { position: absolute; top: 100%; left: 50%; width: 200px; margin-left: -100px; padding-top: 12px; display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.fm-node b { font-size: 17px; font-weight: 700; line-height: 1.2; }
.fm-node small { font-size: 13px; color: var(--muted); line-height: 1.35; max-width: 180px; }
.fm-orb { position: relative; width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; background: var(--x-paper); color: var(--x-paper-ink); box-shadow: 0 0 0 1px var(--border), 0 20px 40px -18px rgba(0,0,0,.8); }
.fm-orb .icon { width: 34px; height: 34px; }
.fm-orb.is-hub { width: 112px; height: 112px; box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 22%, transparent), 0 0 60px -6px color-mix(in srgb, var(--accent) 70%, transparent); animation: hub 3.6s ease-in-out infinite; }
.fm-orb.is-hub img { width: 56px; height: 56px; }
.fm-orb.is-out { background: var(--success-soft); color: var(--x-back); box-shadow: 0 0 0 1px color-mix(in srgb, var(--x-back) 50%, transparent), 0 0 50px -12px color-mix(in srgb, var(--x-back) 70%, transparent); }
@keyframes hub { 0%, 100% { transform: scale(1); } 12% { transform: scale(1.06); } 24% { transform: scale(1); } }
.fm-count { margin-top: 6px; display: inline-flex; flex-direction: column; font-size: 12px; color: var(--muted); padding: 8px 14px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); }
.fm-count b { font-size: 22px; color: var(--ink); font-variant-numeric: tabular-nums; }

.fm-wire.h { width: 100%; height: 12px; overflow: visible; }
.fm-fan { width: 100%; height: 100%; align-self: stretch; overflow: visible; }
.fm-wire path, .fm-fan path { fill: none; vector-effect: non-scaling-stroke; stroke-linecap: round; }
.fm .w { stroke: var(--x-wire); stroke-width: 2; }
.fm .p { stroke: var(--accent); stroke-width: 4; stroke-dasharray: .24 1.3; stroke-dashoffset: .24; filter: drop-shadow(0 0 6px color-mix(in srgb, var(--accent) 90%, transparent)); animation: run var(--T) linear infinite; }
.fm-wire.first .p { animation-delay: 0s; }
.fm-fan.out .p { animation-delay: calc(.55s + var(--k) * .18s); }
.fm-fan.back .p { stroke: var(--x-back); filter: drop-shadow(0 0 6px color-mix(in srgb, var(--x-back) 90%, transparent)); animation-delay: calc(1.9s + var(--k) * .18s); }
@keyframes run { 0% { stroke-dashoffset: .24; } 40% { stroke-dashoffset: -1; } 100% { stroke-dashoffset: -1; } }

.fm-apps { display: grid; grid-auto-rows: 1fr; gap: 12px; }
.fm-app { position: relative; display: flex; align-items: center; min-height: 72px; padding: 12px 40px 12px 12px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); animation: lit var(--T) ease-out infinite; animation-delay: calc(1.15s + var(--k) * .18s); }
.fm-app-in { display: flex; align-items: center; gap: 12px; min-width: 0; }
.fm-app-in img { width: 38px; height: 38px; flex: 0 0 auto; border-radius: 10px; background: var(--x-paper); padding: 4px; }
.fm-app-in span { display: flex; flex-direction: column; min-width: 0; }
.fm-app-in b { font-size: 15px; font-weight: 700; }
.fm-app-in small { font-size: 13px; color: var(--x-soft-text); line-height: 1.3; }
.fm-tick { position: absolute; right: 12px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; display: grid; place-items: center; background: var(--x-back); color: var(--canvas); transform: scale(.4); opacity: 0; animation: tick var(--T) ease-out infinite; animation-delay: calc(1.15s + var(--k) * .18s); }
.fm-tick .icon { width: 14px; height: 14px; }
@keyframes lit { 0% { border-color: var(--border); box-shadow: none; } 6% { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 0 34px -8px color-mix(in srgb, var(--accent) 80%, transparent); } 30% { border-color: color-mix(in srgb, var(--x-back) 60%, var(--border)); box-shadow: none; } 100% { border-color: var(--border); } }
@keyframes tick { 0%, 4% { transform: scale(.4); opacity: 0; } 12% { transform: scale(1.15); opacity: 1; } 18%, 70% { transform: scale(1); opacity: 1; } 85%, 100% { transform: scale(.6); opacity: 0; } }

/* which scene is showing */
.fm[data-scene="0"] .fm-v:not(.v0), .fm[data-scene="1"] .fm-v:not(.v1), .fm[data-scene="2"] .fm-v:not(.v2) { display: none !important; }
.fm.is-switching .fm-node b, .fm.is-switching .fm-node small, .fm.is-switching .fm-app-in, .fm.is-switching .fm-orb:not(.is-hub) > .fm-v { animation: swap .5s cubic-bezier(.16,1,.3,1) both; }
@keyframes swap { from { transform: translateY(8px); opacity: .2; } to { transform: none; opacity: 1; } }

.fm-legend { margin: 36px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 12px 28px; font-size: 14px; color: var(--muted); }
.fm-legend li { display: flex; align-items: center; gap: 10px; }
.fm-legend i { display: block; width: 26px; height: 3px; border-radius: 3px; }
.fm-legend i.out { background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.fm-legend i.back { background: var(--x-back); box-shadow: 0 0 8px var(--x-back); }
.fm-legend .icon { width: 18px; height: 18px; color: var(--accent-text); }

@media (max-width: 1100px) {
  .fm { grid-template-columns: minmax(0, 1fr); grid-template-areas: "src" "w1" "hub" "w2" "apps" "w3" "out"; justify-items: center; }
  .fm-fan { display: none; }
  .fm-wire.h { display: none !important; }
  .fm-wire.v { display: block; width: 12px; height: 56px; overflow: visible; }
  .fm-wire.v.first { grid-area: w1; } .fm-wire.v.mid { grid-area: w2; } .fm-wire.v.last { grid-area: w3; }
  .fm-wire.v.mid .p { animation-delay: .55s; } .fm-wire.v.last .p { stroke: var(--x-back); filter: drop-shadow(0 0 6px color-mix(in srgb, var(--x-back) 90%, transparent)); animation-delay: 1.9s; }
  .fm-node { flex-direction: column; align-items: center; }
  .fm-cap { position: static; width: auto; margin: 0; }
  .fm-apps { width: 100%; max-width: 520px; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; }
  .fm-app { padding-right: 36px; }
}
@media (max-width: 520px) { .fm-apps { grid-template-columns: minmax(0, 1fr); } }

/* ---------- showreel ---------- */
.reel-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 44px; }
.reel-head .lede { max-width: 440px; color: var(--muted); }
.reel-frame { max-width: 1100px; margin-inline: auto; }
.reel-window { border-radius: 20px; overflow: hidden; background: var(--x-paper); box-shadow: var(--x-float-shadow), 0 0 0 1px var(--border), 0 0 120px -30px color-mix(in srgb, var(--accent) 50%, transparent); }
.reel-video { display: block; width: 100%; aspect-ratio: 16 / 9; background: var(--x-paper-ink); object-fit: cover; cursor: pointer; }
.reel-video::-webkit-media-controls { display: none !important; }
@media (max-width: 520px) { .reel-window .dots3 { display: none; } }
.reel-sound { flex: 0 0 auto; white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--x-paper-line); background: var(--x-paper); color: var(--x-paper-ink); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; transition: background .2s ease, color .2s ease; }
.reel-sound:hover, .reel-sound[aria-pressed="true"] { background: var(--x-paper-ink); color: var(--x-paper); }
.reel-sound .icon { width: 16px; height: 16px; }
.reel-sound .rs-on, .reel-sound[aria-pressed="true"] .rs-off { display: none; }
.reel-sound[aria-pressed="true"] .rs-on { display: inline-flex; }

/* ---------- seat meter ---------- */
.meter { position: relative; overflow: hidden; border-radius: 28px; border: 1px solid var(--accent-border); padding: clamp(26px, 4.5vw, 64px); background: radial-gradient(120% 140% at 0% 0%, var(--x-glow) 0%, var(--surface) 55%); }
.meter-top { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
.live-pill { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 700; padding: 8px 14px; border-radius: 999px; background: var(--accent-soft); border: 1px solid var(--accent-border); color: var(--accent-strong); }
.meter-date { font-size: 15px; color: var(--muted); }
.meter-mid { margin-top: 32px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px 48px; }
.meter-num { display: flex; align-items: flex-end; gap: 4px 22px; }
.meter-num b { font-family: var(--font-display); font-weight: 800; font-size: clamp(110px, 17vw, 260px); line-height: .78; letter-spacing: -0.05em; color: var(--accent-text); text-shadow: 0 0 60px color-mix(in srgb, var(--accent) 40%, transparent); }
.meter-num span { font-weight: 800; font-size: clamp(24px, 3vw, 44px); line-height: 1.05; padding-bottom: 10px; }
.meter-num small { display: block; color: var(--muted); font-size: inherit; }
@media (max-width: 520px) { .meter-num { flex-direction: column; align-items: flex-start; gap: 12px; } .meter-num span { padding-bottom: 0; } .meter-num small { display: inline; } }
.meter-h { margin: 0; max-width: 460px; font-family: var(--x-condensed); font-weight: 900; font-size: clamp(42px, 5vw, 76px); line-height: .88; text-transform: uppercase; text-align: right; }
@media (max-width: 760px) { .meter-h { text-align: left; } }
.meter-bar { margin-top: 44px; display: grid; grid-template-columns: repeat(50, minmax(0, 1fr)); gap: 4px; }
.meter-bar i { display: block; height: 30px; border-radius: 3px; background: var(--accent); box-shadow: 0 0 10px color-mix(in srgb, var(--accent) 35%, transparent); transform-origin: bottom; }
.meter-bar i.is-gone { background: var(--x-gone); box-shadow: none; }
.meter-bar i.is-next { outline: 2px solid var(--ink); outline-offset: 1px; animation: blinkseg 1.4s ease-in-out infinite; }
@keyframes blinkseg { 50% { opacity: .35; } }
.meter-bar.is-in i { animation: seg-in .6s cubic-bezier(.16,1,.3,1) both; animation-delay: calc(var(--i) * 8ms); }
.meter-bar.is-in i.is-next { animation: seg-in .6s cubic-bezier(.16,1,.3,1) both, blinkseg 1.4s ease-in-out .9s infinite; }
@keyframes seg-in { from { transform: scaleY(.25); } to { transform: none; } }
@media (max-width: 640px) { .meter-bar { grid-template-columns: repeat(25, minmax(0, 1fr)); } .meter-bar i { height: 22px; } }
.meter-ends { margin-top: 14px; display: flex; justify-content: space-between; font-size: 14px; color: var(--muted); }
.meter-facts { margin-top: 44px; padding-top: 32px; border-top: 1px solid var(--accent-border); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
@media (max-width: 760px) { .meter-facts { grid-template-columns: minmax(0, 1fr); } }
.meter-facts b { font-weight: 800; font-size: 30px; } .meter-facts b small { font-size: 16px; font-weight: 500; color: var(--muted); }
.meter-facts p { margin: 6px 0 0; font-size: 16px; color: var(--x-soft-text); }

/* ---------- bill ---------- */
.band-ink { background: var(--surface); }
.bill { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 72px; align-items: center; }
@media (max-width: 980px) { .bill { grid-template-columns: minmax(0, 1fr); } .bill-receipt { order: 2; } }
.bill-receipt { position: relative; max-width: 480px; width: 100%; justify-self: center; }
.receipt { background: var(--x-paper); color: var(--x-paper-ink); padding: 32px 30px 46px; font-family: var(--font-mono); font-size: 14px; line-height: 1.45; transform: rotate(1.8deg); box-shadow: var(--x-float-shadow); -webkit-mask: conic-gradient(from -45deg at bottom, transparent, #000 1deg 89deg, transparent 90deg) 50% / 18px 100%; mask: conic-gradient(from -45deg at bottom, transparent, #000 1deg 89deg, transparent 90deg) 50% / 18px 100%; }
.rc-title { display: block; text-align: center; font-family: var(--font-display); font-weight: 800; font-size: 22px; }
.rc-sub { display: block; text-align: center; color: var(--x-paper-muted); margin: 4px 0 18px; }
.rc-lines { border-top: 1px dashed var(--x-paper-muted); padding-top: 14px; display: flex; flex-direction: column; gap: 11px; }
.rc-line { display: flex; justify-content: space-between; gap: 12px; }
.rc-line b { display: block; font-weight: 600; } .rc-line small { font-size: 12px; color: var(--x-paper-muted); }
.rc-total { border-top: 2px solid var(--x-paper-ink); margin-top: 16px; padding-top: 12px; display: flex; justify-content: space-between; font-weight: 600; font-size: 17px; }
.rc-struck { position: relative; }
.rc-struck::after { content: ""; position: absolute; left: -8px; right: -8px; top: 50%; height: 4px; border-radius: 2px; background: var(--accent); transform: rotate(-6deg); }
.rc-pabbly { margin-top: 20px; border: 3px solid var(--accent); border-radius: 999px; padding: 12px 18px; display: flex; justify-content: space-between; align-items: center; gap: 10px; font-weight: 600; transform: rotate(-1.5deg); }
.rc-pabbly b { font-family: var(--font-display); font-weight: 800; font-size: 22px; }
.rc-thanks { display: block; text-align: center; margin-top: 18px; color: var(--x-paper-muted); }
.bill-copy .lede { margin-top: 24px; }
.rc-stamp { position: absolute; top: -26px; right: -18px; z-index: 2; transform: rotate(12deg); box-shadow: 0 10px 24px -10px rgba(0,0,0,.6); border: 4px solid var(--accent); color: var(--x-red-deep); border-radius: 10px; padding: 8px 14px; font-family: var(--font-display); font-weight: 800; font-size: 26px; line-height: 1; text-transform: uppercase; text-align: center; background: color-mix(in srgb, var(--x-paper) 88%, transparent); }
@media (max-width: 520px) { .rc-stamp { right: -4px; top: -22px; font-size: 19px; } }
.bars { margin-top: 40px; display: flex; flex-direction: column; gap: 22px; }
.bar-lbl { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 10px; font-size: 17px; color: var(--x-soft-text); }
.bar-lbl b { font-family: var(--font-display); font-weight: 800; font-size: clamp(24px, 3vw, 40px); color: var(--ink); white-space: nowrap; }
.bar-lbl b.is-red { color: var(--accent-text); }
.bar-lbl small { font-size: 15px; font-weight: 500; color: var(--muted); }
.bar-track { position: relative; height: 44px; border-radius: 8px; background: var(--surface-2); overflow: hidden; }
.bar-track.is-hatch { background: repeating-linear-gradient(-45deg, var(--x-hatch-1) 0 10px, var(--x-hatch-2) 10px 20px); }
.bar-fill { position: absolute; inset: 0 auto 0 0; width: 6%; min-width: 34px; border-radius: 8px; background: var(--accent); }
.bars.is-in .bar-track.is-hatch { animation: grow 1.1s cubic-bezier(.16,1,.3,1) both; transform-origin: left; }
@keyframes grow { from { transform: scaleX(.3); } to { transform: none; } }

/* ---------- task slider ---------- */
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 64px; align-items: center; }
@media (max-width: 980px) { .calc { grid-template-columns: minmax(0, 1fr); gap: 40px; } }
.calc-l .lede { margin-top: 24px; }
.calc-q { margin-top: 40px; display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font-size: 16px; font-weight: 600; color: var(--x-soft-text); }
.calc-q output { font-family: var(--x-condensed); font-weight: 900; font-size: clamp(48px, 6vw, 76px); line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.calc-range { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; margin: 14px 0 0; background: transparent; cursor: pointer; }
.calc-range::-webkit-slider-runnable-track { height: 10px; border-radius: 999px; background: linear-gradient(90deg, var(--accent) 0 var(--v, 50%), var(--border) var(--v, 50%) 100%); }
.calc-range::-moz-range-track { height: 10px; border-radius: 999px; background: var(--border); }
.calc-range::-moz-range-progress { height: 10px; border-radius: 999px; background: var(--accent); }
.calc-range::-webkit-slider-thumb { -webkit-appearance: none; width: 32px; height: 32px; margin-top: -11px; border-radius: 50%; background: var(--ink); border: 6px solid var(--accent); box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 25%, transparent), 0 6px 18px rgba(0,0,0,.5); transition: transform .15s ease; }
.calc-range::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--ink); border: 6px solid var(--accent); box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 25%, transparent); }
.calc-range:active::-webkit-slider-thumb { transform: scale(1.12); }
.calc-scale { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); padding: 4px 4px 0; }
.calc-main { padding: 26px 28px; border-radius: 20px; background: var(--x-paper); color: var(--x-paper-ink); box-shadow: 10px 10px 0 var(--accent); }
.calc-main small { font-size: 14px; color: var(--x-paper-muted); font-weight: 600; }
.calc-main b { display: block; font-family: var(--x-condensed); font-weight: 900; font-size: clamp(64px, 7vw, 92px); line-height: .9; margin-top: 6px; }
.calc-main b span { font-family: var(--font-body); font-size: 18px; font-weight: 600; color: var(--x-paper-muted); }
.calc-main p { margin: 10px 0 0; font-size: 15px; font-weight: 600; color: var(--x-red-deep); }
.calc-pair { margin-top: 18px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.calc-card { padding: 18px 20px; border-radius: 16px; border: 1px solid var(--border); background: var(--surface); }
.calc-card small { display: block; font-size: 13px; color: var(--muted); }
.calc-card b { display: block; margin-top: 6px; font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; font-variant-numeric: tabular-nums; color: var(--ink); transition: color .2s ease; }
.calc-card b.is-bump { color: var(--accent-text); }
.calc-chart { margin: 18px 0 0; padding: 16px 16px 10px; border-radius: 16px; border: 1px solid var(--border); background: var(--surface); }
.calc-chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.calc-chart figcaption { margin-top: 6px; font-size: 12px; color: var(--muted); }
.cc-grid { stroke: var(--border); stroke-width: 1; fill: none; }
.cc-rise { fill: none; stroke: var(--muted); stroke-width: 3; stroke-dasharray: 7 6; }
.cc-flat { fill: none; stroke: var(--accent); stroke-width: 4; stroke-linecap: round; filter: drop-shadow(0 0 6px color-mix(in srgb, var(--accent) 70%, transparent)); }
.cc-dot { transition: cx .12s linear, cy .12s linear; }
.cc-dot.rise { fill: var(--muted); }
.cc-dot.flat { fill: var(--ink); stroke: var(--accent); stroke-width: 4; }
.cc-lbl { font-family: var(--font-body); font-size: 15px; font-weight: 600; }
.cc-lbl.rise { fill: var(--muted); } .cc-lbl.flat { fill: var(--accent-text); }

/* ---------- apps ---------- */
.apps { border-top: 2px solid var(--ink); }
.app-row { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.5fr) minmax(0, .8fr); align-items: center; gap: 8px 32px; padding: 20px 12px; margin-inline: -12px; border-bottom: 1px solid var(--border); border-radius: 12px; transition: background .25s ease; }
.app-row:hover { background: color-mix(in srgb, var(--accent) 7%, transparent); }
.app-name { display: flex; align-items: center; gap: 16px; font-family: var(--x-condensed); font-weight: 800; font-size: clamp(30px, 3.4vw, 48px); line-height: 1; text-transform: uppercase; }
.app-name img { width: 46px; height: 46px; flex: 0 0 auto; border-radius: 12px; background: var(--x-paper); padding: 5px; transition: transform .3s cubic-bezier(.16,1,.3,1); }
.app-row:hover .app-name img { transform: rotate(-6deg) scale(1.08); }
.app-desc { font-size: 17px; line-height: 1.5; color: var(--muted); }
.app-limit { font-size: 17px; font-weight: 700; color: var(--accent-text); text-align: right; }
@media (max-width: 860px) { .app-row { grid-template-columns: minmax(0, 1fr); } .app-limit { text-align: left; } }

/* ---------- versus (paper band) ---------- */
.band-paper { background: var(--x-paper); color: var(--x-paper-ink); }
.vs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin-bottom: 56px; }
@media (max-width: 860px) { .vs { grid-template-columns: minmax(0, 1fr); gap: 28px; } }
.vs-name { display: block; font-family: var(--x-condensed); font-weight: 900; font-size: 56px; line-height: .9; text-transform: uppercase; color: var(--x-paper-muted); }
.vs-name.is-red { color: var(--x-red-deep); }
.vs p { margin: 14px 0 0; font-size: 19px; line-height: 1.5; }
.band-paper .is-strong { color: var(--x-paper-ink); }
.vs-table-wrap { overflow-x: auto; border: 2px solid var(--x-paper-ink); border-radius: 12px; }
.vs-table { width: 100%; min-width: 680px; border-collapse: collapse; font-size: 16px; }
.vs-table th, .vs-table td { text-align: left; padding: 15px 20px; border-top: 1px solid var(--x-paper-line); vertical-align: middle; }
.vs-table thead th { border-top: 0; border-bottom: 2px solid var(--x-paper-ink); }
.vs-table td { color: var(--x-paper-muted); }
.vs-table .is-us { background: var(--x-paper-ink); color: var(--x-paper); font-weight: 700; border-top-color: color-mix(in srgb, var(--x-paper) 14%, transparent); }
.us-cell { display: inline-flex; align-items: center; gap: 8px; }
.us-cell .icon { width: 18px; height: 18px; color: var(--accent); }
.band-paper .fine { color: var(--x-paper-muted); }

/* ---------- quotes ---------- */
.quotes { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 56px 64px; }
@media (max-width: 900px) { .quotes { grid-template-columns: minmax(0, 1fr); } }
.q-big { margin: 0; } .q-big blockquote { margin: 0; font-family: var(--x-condensed); font-weight: 800; font-size: clamp(36px, 4.4vw, 64px); line-height: 1; text-transform: uppercase; }
.q-big figcaption, .q-small figcaption { margin-top: 18px; font-size: 16px; color: var(--muted); }
.q-side { display: flex; flex-direction: column; gap: 32px; }
.q-small { margin: 0; border-left: 3px solid var(--accent); padding-left: 20px; } .q-small blockquote { margin: 0; font-size: 18px; line-height: 1.55; } .q-small figcaption { margin-top: 10px; }

/* ---------- split ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } }
.split > div { padding: 72px max(28px, calc((100vw - 1320px) / 2 + 28px)); }
.split-red { background: var(--accent); color: var(--accent-ink); padding-right: 40px !important; }
.split-dark { background: var(--surface); padding-left: 40px !important; }
@media (max-width: 860px) { .split > div { padding: 64px 22px !important; } }
.split-big { display: block; font-family: var(--x-condensed); font-weight: 900; font-size: clamp(72px, 8vw, 104px); line-height: .85; text-transform: uppercase; }
.split h2 { margin: 18px 0 0; font-size: 26px; line-height: 1.25; font-weight: 700; }
.split p { margin: 12px 0 0; font-size: 17px; line-height: 1.6; max-width: 460px; }
.split-dark p { color: var(--x-soft-text); } .split-dark small { display: block; margin-top: 22px; font-size: 15px; color: var(--muted); }

/* ---------- faq ---------- */
.faq { max-width: 1000px; }
.faq .h-cond { margin-bottom: 40px; font-size: clamp(46px, 5vw, 80px); }
.faq-list { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; min-height: 44px; font-size: 20px; font-weight: 600; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent-text); }
.faq-plus { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border-strong); display: inline-flex; align-items: center; justify-content: center; color: var(--accent-text); transition: transform .3s cubic-bezier(.16,1,.3,1), background .3s ease; }
.faq details[open] .faq-plus { transform: rotate(45deg); background: var(--accent-soft); }
.faq details p { margin: 0; padding: 0 0 24px; font-size: 17px; line-height: 1.65; color: var(--x-soft-text); max-width: 760px; }

/* ---------- finale ---------- */
.finale { border-top: 1px solid var(--border); background: radial-gradient(70% 90% at 50% 100%, var(--x-glow) 0%, var(--canvas) 70%); }
.finale-in { padding-block: 112px 104px; text-align: center; }
.h-giant { margin: 0; font-family: var(--x-condensed); font-weight: 900; font-size: clamp(64px, 11vw, 176px); line-height: .82; text-transform: uppercase; }
.finale p { margin: 28px auto 0; font-size: 20px; line-height: 1.5; color: var(--x-soft-text); max-width: 560px; }

.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-block: 32px 40px; font-size: 14px; color: var(--muted); border-top: 1px solid var(--border); }
.foot nav { display: flex; gap: 22px; } .foot a { color: var(--x-soft-text); }

/* ---------- sticky buy bar ---------- */
.buybar { position: sticky; bottom: 0; z-index: 30; background: color-mix(in srgb, var(--canvas) 92%, transparent); backdrop-filter: blur(12px); border-top: 2px solid var(--accent); transform: translateY(110%); transition: transform .45s cubic-bezier(.16,1,.3,1); }
.buybar.is-shown { transform: none; }
.buybar-in { display: flex; justify-content: space-between; align-items: center; gap: 10px 24px; padding-block: 12px; }
.bb-price { display: flex; align-items: baseline; gap: 10px; min-width: 0; }
.bb-price s { color: var(--muted); } .bb-price b { font-weight: 800; font-size: 24px; } .bb-price span { color: var(--x-soft-text); font-size: 15px; }
.bb-right { display: flex; align-items: center; gap: 18px; }
.bb-cd, .bb-seats { font-size: 15px; color: var(--x-soft-text); white-space: nowrap; }
.bb-cd b { color: var(--ink); font-variant-numeric: tabular-nums; } .bb-seats b { color: var(--accent-text); }
@media (max-width: 900px) { .bb-cd, .bb-price span { display: none; } }
@media (max-width: 560px) { .bb-seats { display: none; } }

/* ---------- reduced motion ---------- */
html.reduced-motion { scroll-behavior: auto; }
html.reduced-motion *, html.reduced-motion *::before, html.reduced-motion *::after { animation: none !important; transition: none !important; }
html.reduced-motion [data-depth] > * { transform: none !important; }
html.reduced-motion .fm-tick { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bf-word, .bf-sale, .live-dot, .meter-bar i, .logos-row, .fm .p, .fm-app, .fm-orb.is-hub, .rn-pulse, .rn-spin { animation: none !important; }
  .fm-tick { animation: none !important; opacity: 1; transform: none; }
}
