@import url("https://fonts.googleapis.com/css2?family=Sora:wght@500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap");

/* ═══════════════════════════════════════════
   HOME LANDING – Apple-inspired visual page
   ═══════════════════════════════════════════ */

body.home-page {
    --home-ink: var(--text);
    --home-muted: var(--text-muted);
    --home-accent: rgba(232, 238, 246, 0.72);
    --home-accent-2: rgba(232, 238, 246, 0.72);
    --home-deep: #0d1a24;
    --home-mid: #152330;
    --home-soft: rgba(18, 31, 44, 0.76);
    --home-border: var(--border-subtle);
    font-family: "Plus Jakarta Sans", "Segoe UI", "Tahoma", sans-serif;
    color: var(--home-ink);
    background: var(--body-bg);
}

body.home-page .app-shell {
    max-width: 100%;
    padding: 0;
    padding-bottom: 0;
}

body.home-page main.home-main {
    margin-top: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    align-items: stretch;
    justify-content: stretch;
    overflow-x: clip;
}

/* Keep the home header visually aligned with the internal tool pages. */
body.home-page .app-shell>header,
body.home-page .app-shell>header a,
body.home-page .app-shell>header button,
body.home-page .app-shell>header span {
    font-family: var(--font-family-base);
}

/* ── HERO CINEMATIC ──────────────────────── */
.hero-cinematic {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-cinematic-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-cinematic-bg img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
    display: block;
    opacity: 0;
    transition: opacity 1400ms cubic-bezier(0.22, 0.61, 0.36, 1);
    will-change: opacity;
}

.hero-cinematic-bg img:first-child {
    opacity: 1;
}

.hero-cinematic-bg.is-enhanced img {
    opacity: 0;
}

.hero-cinematic-bg img.is-active {
    opacity: 1;
}

.hero-cinematic::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(to top, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.5) 40%, rgba(0, 0, 0, 0.2) 70%, rgba(0, 0, 0, 0.3) 100%);
}

.hero-cinematic-content {
    position: relative;
    z-index: 2;
    padding: 24px;
    max-width: 900px;
    margin-top: 10vh;
}

.hero-cinematic h1 {
    font-family: "Sora", "Arial Black", sans-serif;
    font-size: clamp(2.8rem, 8vw, 6rem);
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: -0.04em;
    color: #ffffff;
    margin: 0;
}

.hero-accent {
    color: var(--brand-red);
}

.hero-sub {
    margin: clamp(16px, 3vw, 28px) 0 0;
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    color: rgba(255, 255, 255, 0.65);
    font-weight: 500;
    letter-spacing: -0.01em;
}

.hero-actions {
    margin-top: clamp(24px, 4vw, 40px);
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-actions .home-btn-primary {
    background:
        linear-gradient(#7f1010, #7f1010) padding-box,
        linear-gradient(135deg, rgba(223, 26, 26, 0.95), rgba(223, 26, 26, 0.5)) border-box;
}

.hero-actions .home-btn-ghost {
    border-color: rgba(255, 255, 255, 0.28);
    background: #15181f;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

/* ── BUTTONS ─────────────────────────────── */
.home-btn {
    min-height: 48px;
    padding: 12px 24px;
    border-radius: 10px;
    border: 1px solid transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.22s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.home-btn-lg {
    min-height: 56px;
    padding: 14px 36px;
    font-size: 1.05rem;
    border-radius: 12px;
}

.home-btn:focus-visible,
.home-sticky-cta:focus-visible {
    outline: 2px solid color-mix(in srgb, var(--brand-red) 62%, white 38%);
    outline-offset: 2px;
}

.home-btn-primary {
    border-color: transparent;
    background:
        linear-gradient(rgba(223, 26, 26, 0.07), rgba(223, 26, 26, 0.03)) padding-box,
        linear-gradient(135deg, rgba(223, 26, 26, 0.85), rgba(223, 26, 26, 0.3)) border-box;
    color: #ffffff;
    box-shadow:
        0 0 0 1px rgba(223, 26, 26, 0.2),
        0 0 16px rgba(223, 26, 26, 0.18),
        0 0 36px rgba(223, 26, 26, 0.06);
}

.home-btn-primary:hover,
.home-btn-primary:focus-visible {
    animation: cta-flow-pulse 2.2s ease-in-out infinite;
}

.home-btn-ghost {
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.home-btn-ghost:hover,
.home-btn-ghost:focus-visible {
    border-color: rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.12);
}

/* ══════════════════════════════════════════
   SCENE SECTIONS – Immersive product showcase
   ══════════════════════════════════════════ */
.scene {
    position: relative;
    min-width: 0;
    max-width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: clamp(80px, 14vw, 160px) clamp(20px, 5vw, 64px);
}

.scene-content {
    position: relative;
    z-index: 3;
    max-width: 480px;
}

.scene-kicker {
    margin: 0;
    font: 700 0.72rem/1 "Sora", sans-serif;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--brand-red);
}

.scene-content h2 {
    margin: 16px 0 0;
    font-family: var(--font-family-base);
    font-size: clamp(2rem, 4.4vw, 3.45rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.035em;
    color: #ffffff;
}

.scene-content .home-btn {
    margin-top: clamp(24px, 3vw, 36px);
}

/* ── FRAGMENTS (floating cards) ──────────── */
.scene-fragments {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.frag {
    position: absolute;
    transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ── Shared fragment card styles ─────────── */
.frag-decision-col {
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, 0.15);
    background: rgba(18, 24, 30, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.03);
    color: #ffffff;
}

/* ══ SCENE OVERRIDES – Real components inside floating fragments ═══ */

/* Objective cards in scene: disable interactivity, compact sizing */
.scene-fragments .objective-card {
    cursor: default;
    pointer-events: none;
    width: 260px;
    max-width: 300px;
    padding: 36px 14px 14px;
}

.scene-fragments .objective-card:hover {
    box-shadow: inset 0 0 0 1px var(--surface-panel-border);
}

.scene-fragments .objective-bike-header {
    grid-template-columns: minmax(0, 1fr);
}

/* VS strip in scene: horizontal row */
.scene-vs-strip {
    display: flex;
    align-items: stretch;
    gap: 0;
    max-width: 520px;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.scene-vs-strip .vs-card {
    min-height: auto;
    padding: 14px 16px;
    border-radius: 0;
    flex: 1 1 0;
}

.scene-vs-strip .vs-card:first-child {
    border-radius: var(--radius-md) 0 0 var(--radius-md);
}

.scene-vs-strip .vs-card:last-child {
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.scene-vs-strip .vs-scoreboard {
    flex: 0 0 auto;
    border-radius: 0;
    padding: 10px 16px;
}

.scene-vs-strip .vs-score-numbers {
    font-size: 1.8rem;
    margin-bottom: 0.2rem;
}

.scene-vs-strip .vs-score-numbers .vs-score {
    font-size: 2rem;
}

/* Compare table in scene: compact */
.scene-compare-table {
    font-size: 0.78rem;
    max-width: 380px;
    border-radius: 12px;
    overflow: hidden;
}

/* Cost hero in scene */
.scene-fragments .cost-hero {
    max-width: 320px;
    pointer-events: none;
}

/* Calc result hero in scene: compact */
.scene-fragments .calc-result-hero {
    max-width: 280px;
    pointer-events: none;
    margin-bottom: 0;
}

/* Fragment positions – Objective */
.frag-obj-a {
    right: 6%;
    top: 10%;
    transform: perspective(1200px) rotateY(-8deg) rotateX(3deg);
    max-width: 300px;
}

.frag-obj-b {
    right: 28%;
    top: 6%;
    transform: perspective(1200px) rotateY(-12deg) rotateX(1deg);
    max-width: 270px;
    filter: blur(0.4px);
    opacity: 0.8;
}

.frag-obj-c {
    right: 4%;
    top: 46%;
    transform: perspective(1200px) rotateY(-6deg) rotateX(-3deg);
    max-width: 260px;
    filter: blur(0.6px);
    opacity: 0.7;
}

.frag-obj-d {
    right: 30%;
    bottom: 14%;
    transform: perspective(1200px) rotateY(-14deg) rotateX(4deg);
    max-width: 220px;
    filter: blur(1.2px);
    opacity: 0.5;
}

.frag-obj-e {
    right: 14%;
    bottom: 6%;
    transform: perspective(1200px) rotateY(-10deg) rotateX(-5deg);
    max-width: 210px;
    filter: blur(1.8px);
    opacity: 0.35;
}

.frag-obj-f {
    right: 48%;
    top: 16%;
    transform: perspective(1200px) rotateY(-16deg) rotateX(2deg);
    max-width: 200px;
    filter: blur(2.5px);
    opacity: 0.25;
}

/* Profile / style showcase chips */
.frag-obj-profiles {
    right: 44%;
    bottom: 8%;
    max-width: 380px;
}

.frag-obj-styles {
    right: 50%;
    top: 8%;
    max-width: 380px;
    filter: blur(0.8px);
    opacity: 0.6;
}

.frag-showcase-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(18, 24, 30, 0.7);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(148, 163, 184, 0.12);
}

.frag-showcase-chips-label {
    width: 100%;
    font: 600 0.6rem/1 "Sora", sans-serif;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(156, 163, 175, 0.55);
    margin-bottom: 2px;
}

.frag-showcase-chip {
    padding: 5px 12px;
    border-radius: 8px;
    font: 600 0.72rem/1.2 "Sora", sans-serif;
    color: rgba(255, 255, 255, 0.8);
    background: rgba(148, 163, 184, 0.1);
    border: 1px solid rgba(148, 163, 184, 0.15);
    white-space: nowrap;
}

.frag-showcase-chip.is-active {
    background: rgba(223, 26, 26, 0.15);
    border-color: rgba(223, 26, 26, 0.35);
    color: var(--brand-red);
}

/* ══ COMPARE SCENE FRAGMENTS ════════════ */
.frag-decision-col {
    max-width: 280px;
}

.frag-decision-heading {
    margin: 0;
    font-family: "Sora", sans-serif;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 14px;
}

.frag-tradeoff-section {
    margin-top: 10px;
}

.frag-tradeoff-label {
    margin: 0;
    font: 600 0.68rem/1 "Sora", sans-serif;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.frag-tradeoff-gain {
    color: #00E07D;
}

.frag-tradeoff-loss {
    color: #FD3E3E;
}

.frag-tradeoff-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.frag-tradeoff {
    font-size: 0.78rem;
    line-height: 1.35;
    color: rgba(255, 255, 255, 0.7);
    padding-left: 16px;
    position: relative;
}

.frag-tradeoff::before {
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 0.7rem;
}

.frag-tradeoff-plus::before {
    content: "\2713";
    color: #00E07D;
}

.frag-tradeoff-minus::before {
    content: "\2717";
    color: #FD3E3E;
}


/* Compare fragment positions */
.frag-cmp-vs {
    right: 6%;
    top: 8%;
    transform: perspective(1200px) rotateY(-8deg) rotateX(2deg);
}

.frag-cmp-trade {
    right: 4%;
    bottom: 8%;
    transform: perspective(1200px) rotateY(-6deg) rotateX(-3deg);
    filter: blur(0.3px);
    opacity: 0.85;
}

.frag-cmp-cost {
    right: 34%;
    top: 14%;
    transform: perspective(1200px) rotateY(-12deg) rotateX(4deg);
    filter: blur(0.8px);
    opacity: 0.65;
}

.frag-cmp-specs {
    right: 28%;
    bottom: 12%;
    transform: perspective(1200px) rotateY(-14deg) rotateX(-2deg);
    filter: blur(1.5px);
    opacity: 0.45;
}

.frag-cmp-showcase {
    right: 3%;
    top: 8%;
    transform: perspective(1400px) rotateY(-4deg) rotateX(1deg);
}

.home-compare-showcase {
    width: min(820px, 52vw);
    padding: 22px;
    border-radius: 32px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    background:
        radial-gradient(circle at top left, rgba(223, 26, 26, 0.18), transparent 32%),
        linear-gradient(180deg, rgba(13, 19, 26, 0.98), rgba(10, 14, 19, 0.94));
    box-shadow:
        0 34px 90px rgba(0, 0, 0, 0.48),
        inset 0 0 0 1px rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    color: #ffffff;
}

.home-compare-head {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    padding: 4px 2px 16px;
}

.home-compare-profile {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid rgba(223, 26, 26, 0.18);
    background: rgba(223, 26, 26, 0.08);
    font: 700 0.72rem/1 "Sora", sans-serif;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.84);
}

.home-compare-stage {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 14px;
    align-items: stretch;
}

.home-compare-stage .vs-card {
    min-height: 360px;
    padding: 1.9rem 1.3rem 1.45rem;
    display: grid;
    grid-template-rows: auto 1fr;
    gap: 0.9rem;
    align-content: start;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.028)),
        rgba(18, 24, 30, 0.96);
    border-color: rgba(148, 163, 184, 0.18);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
}

.home-compare-stage .vs-card[data-side="A"],
.home-compare-stage .vs-card[data-side="B"] {
    border-color: rgba(148, 163, 184, 0.18);
    box-shadow:
        0 18px 42px rgba(0, 0, 0, 0.28),
        inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.home-compare-stage .vs-top-bar {
    position: absolute;
    top: 0.65rem;
    right: 0.7rem;
    z-index: 2;
    margin-bottom: 0;
    min-height: 0;
    justify-content: flex-end;
    pointer-events: none;
}

.home-compare-stage .vs-top-left {
    justify-content: flex-end;
}

.home-compare-stage .vs-badge-main {
    padding: 3px 8px;
    font-size: 0.64rem;
    line-height: 1;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
}

.home-compare-stage .vs-header {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px;
    margin-bottom: 0;
    align-items: flex-start;
    min-height: 7.15rem;
}

.home-compare-stage .vs-brand-model {
    display: grid;
    align-content: start;
    gap: 0.02rem;
    min-width: 0;
}

.home-compare-stage .vs-brand-logo {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    padding: 8px;
    background: #05080d;
    border: 1px solid rgba(148, 163, 184, 0.18);
}

.home-compare-stage .vs-brand {
    margin: 0;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
}

.home-compare-stage .vs-name {
    font-size: clamp(1.28rem, 1.7vw, 1.8rem);
    font-weight: 700;
    line-height: 1.05;
    margin: 0.08rem 0 0;
    align-items: flex-start;
}

.home-compare-stage .vs-category {
    margin-top: 0;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.62);
}

.home-compare-stage .vs-meta {
    margin-top: 0.22rem;
    padding-bottom: 0.12rem;
    font: 700 0.95rem/1.2 "Sora", sans-serif;
    color: rgba(255, 255, 255, 0.92);
}

.home-compare-stage .vs-details {
    margin-top: 0;
    max-width: none;
    padding-top: 0.95rem;
    padding-bottom: 0;
    border-top-color: rgba(148, 163, 184, 0.18);
}

.home-compare-stage .vs-details-title {
    margin-top: 0;
    margin-bottom: 0.7rem;
}

.home-compare-stage .vs-details-title-secondary {
    padding-top: 0;
    margin-top: 0.9rem;
}

.home-compare-stage .vs-details-list {
    gap: 0.48rem;
}

.home-compare-stage .vs-details-combos li {
    margin-bottom: 0;
    font-size: 0.91rem;
}

.home-compare-bike {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 286px;
    padding: 18px;
    border-radius: 26px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.028));
    border: 1px solid rgba(148, 163, 184, 0.16);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.26);
    transition:
        opacity 280ms ease,
        transform 280ms ease,
        border-color 280ms ease,
        box-shadow 280ms ease;
}

.home-compare-bike::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle at top left, rgba(223, 26, 26, 0.1), transparent 42%);
    opacity: 0.9;
    pointer-events: none;
}

.home-compare-bike-head {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.home-compare-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    flex: 0 0 auto;
    border-radius: 16px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(148, 163, 184, 0.24);
}

.home-compare-bike-copy {
    min-width: 0;
}

.home-compare-bike-brand {
    margin: 0;
    font: 700 0.7rem/1 "Sora", sans-serif;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.46);
}

.home-compare-bike h3 {
    margin: 10px 0 0;
    font-family: "Sora", sans-serif;
    font-size: clamp(1.3rem, 1.55vw, 1.8rem);
    line-height: 1;
    letter-spacing: -0.03em;
    color: #ffffff;
}

.home-compare-bike-meta {
    margin: 12px 0 0;
    font-size: 0.92rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.62);
}

.home-compare-bike-price {
    margin: 10px 0 0;
    font: 700 0.94rem/1.2 "Sora", sans-serif;
    color: rgba(255, 255, 255, 0.9);
}

.home-compare-versus {
    align-self: center;
    justify-self: center;
    width: 48px;
    height: 48px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font: 800 0.9rem/1 "Sora", sans-serif;
    letter-spacing: 0.16em;
    color: rgba(255, 255, 255, 0.92);
    background:
        linear-gradient(rgba(223, 26, 26, 0.07), rgba(223, 26, 26, 0.03)) padding-box,
        linear-gradient(135deg, rgba(223, 26, 26, 0.85), rgba(223, 26, 26, 0.3)) border-box;
    border: 1px solid transparent;
    box-shadow:
        0 0 0 1px rgba(223, 26, 26, 0.16),
        0 8px 16px rgba(223, 26, 26, 0.12);
}

.home-compare-points {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(148, 163, 184, 0.16);
}

.home-compare-points-title,
.home-compare-tech-kicker {
    margin: 0;
    font: 700 0.72rem/1 "Sora", sans-serif;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.home-compare-kicker {
    font: 700 0.7rem/1 "Sora", sans-serif;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.48);
}

.home-compare-progress {
    flex: 1 1 220px;
    height: 4px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.08);
}

.home-compare-progress span {
    display: block;
    width: 100%;
    height: 100%;
    transform-origin: left center;
    transform: scaleX(0);
    background: linear-gradient(90deg, rgba(223, 26, 26, 0.98), rgba(255, 255, 255, 0.5));
}

.home-compare-progress span.is-running {
    animation: homeCycleProgress var(--cycle-duration, 7200ms) linear forwards;
}

.home-compare-points-list {
    display: grid;
    gap: 10px;
    margin-top: 16px;
}

.home-compare-point {
    margin: 0;
    position: relative;
    padding: 12px 14px 12px 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(148, 163, 184, 0.12);
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.45;
    opacity: 0;
    transform: translateY(14px);
    animation: homeCompareFactIn 520ms cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
    animation-delay: calc(var(--fact-index, 0) * 100ms);
}

.home-compare-point::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    bottom: 10px;
    width: 3px;
    border-radius: 999px;
    background: rgba(223, 26, 26, 0.92);
    box-shadow: 0 0 18px rgba(223, 26, 26, 0.25);
}

.home-compare-tech {
    margin-top: 16px;
    padding: 18px;
    border-radius: 26px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.025));
    border: 1px solid rgba(148, 163, 184, 0.16);
    transition: opacity 280ms ease, transform 280ms ease;
}

.home-compare-tech-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.home-compare-tech-note {
    font-size: 0.76rem;
    line-height: 1.35;
    color: rgba(255, 255, 255, 0.45);
    text-align: right;
}

.home-compare-tech-grid {
    display: grid;
    gap: 10px;
    margin-top: 16px;
}

.home-compare-tech-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 124px minmax(0, 1fr);
    gap: 10px;
    align-items: stretch;
    opacity: 0;
    transform: translateY(14px);
    animation: homeCompareFactIn 520ms cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
    animation-delay: calc(var(--row-index, 0) * 90ms);
}

.home-compare-tech-cell {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    min-height: 76px;
    padding: 12px 14px;
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, 0.12);
    background: rgba(255, 255, 255, 0.03);
}

.home-compare-tech-cell.is-winner {
    border-color: rgba(223, 26, 26, 0.36);
    background: rgba(223, 26, 26, 0.07);
    box-shadow: inset 0 0 0 1px rgba(223, 26, 26, 0.1);
}

.home-compare-tech-cell.is-loser {
    opacity: 0.78;
}

.home-compare-tech-cell.is-equal {
    background: rgba(255, 255, 255, 0.04);
}

.home-compare-tech-state {
    font: 700 0.66rem/1 "Sora", sans-serif;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.42);
}

.home-compare-tech-cell.is-winner .home-compare-tech-state {
    color: rgba(255, 255, 255, 0.74);
}

.home-compare-tech-value {
    font-weight: 700;
    line-height: 1.3;
    color: rgba(255, 255, 255, 0.9);
}

.home-compare-tech-attr {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 76px;
    padding: 12px;
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, 0.12);
    background: rgba(255, 255, 255, 0.03);
    text-align: center;
    font: 700 0.7rem/1.25 "Sora", sans-serif;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.52);
}

.home-compare-indicators,
.home-calc-indicators {
    display: flex;
    gap: 8px;
    margin-top: 14px;
}

.home-compare-indicator,
.home-calc-indicator {
    flex: 1 1 0;
    height: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    transition: background 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.home-compare-indicator.is-active,
.home-calc-indicator.is-active {
    background: linear-gradient(90deg, rgba(223, 26, 26, 0.96), rgba(255, 255, 255, 0.38));
    box-shadow: 0 0 18px rgba(223, 26, 26, 0.2);
    transform: scaleY(1.2);
}

.home-compare-showcase.is-switching .home-compare-bike,
.home-compare-showcase.is-switching .home-compare-stage .vs-card,
.home-calc-showcase.is-switching .home-calc-surface {
    opacity: 0.55;
    transform: translateY(10px) scale(0.985);
}

@keyframes homeCompareFactIn {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes homeCycleProgress {
    from {
        transform: scaleX(0);
    }

    to {
        transform: scaleX(1);
    }
}

/* ══ CALCULATOR SCENE FRAGMENTS ═════════ */

/* Calculator fragment positions */
.frag-calc-a {
    right: 6%;
    top: 10%;
    transform: perspective(1200px) rotateY(-8deg) rotateX(4deg);
    max-width: 280px;
}

.frag-calc-b {
    right: 28%;
    top: 6%;
    transform: perspective(1200px) rotateY(-12deg) rotateX(1deg);
    max-width: 260px;
    filter: blur(0.4px);
    opacity: 0.8;
}

.frag-calc-c {
    right: 4%;
    top: 48%;
    transform: perspective(1200px) rotateY(-5deg) rotateX(-3deg);
    max-width: 250px;
    filter: blur(0.6px);
    opacity: 0.7;
}

.frag-calc-d {
    right: 32%;
    bottom: 10%;
    transform: perspective(1200px) rotateY(-14deg) rotateX(3deg);
    max-width: 240px;
    filter: blur(1.4px);
    opacity: 0.45;
}

.frag-calc-e {
    right: 12%;
    bottom: 4%;
    transform: perspective(1200px) rotateY(-10deg) rotateX(-4deg);
    max-width: 230px;
    filter: blur(2px);
    opacity: 0.3;
}

.scene-calc {
    justify-content: space-between;
    gap: clamp(28px, 5vw, 72px);
}

.scene-calc .scene-content {
    flex: 0 1 460px;
}

.scene-calc .scene-copy {
    margin: 18px 0 0;
    max-width: 34ch;
    font-size: clamp(0.98rem, 1.2vw, 1.08rem);
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.68);
}

.scene-calc .scene-fragments {
    position: relative;
    inset: auto;
    z-index: 2;
    flex: 1 1 720px;
    width: min(100%, 760px);
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    pointer-events: auto;
}

.frag-calc-showcase {
    position: relative;
    right: auto;
    top: auto;
    width: min(100%, 720px);
    transform: none;
}

.home-calc-showcase {
    width: min(100%, 720px);
}

.home-calc-surface {
    position: relative;
    overflow: hidden;
    padding: clamp(22px, 3vw, 30px);
    border-radius: 30px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    background:
        radial-gradient(circle at top left, rgba(223, 26, 26, 0.16), transparent 42%),
        radial-gradient(circle at bottom right, rgba(255, 255, 255, 0.03), transparent 38%),
        linear-gradient(180deg, rgba(13, 19, 26, 0.96), rgba(10, 14, 20, 0.92));
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.42);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    color: #ffffff;
    transition: opacity 280ms ease, transform 280ms ease;
}

.home-calc-head h3 {
    margin: 0;
    max-width: 14ch;
    font-family: "Sora", sans-serif;
    font-size: clamp(1.55rem, 1.9vw, 2.3rem);
    line-height: 1.02;
    letter-spacing: -0.03em;
    color: #ffffff;
}

.home-calc-subtitle {
    margin: 12px 0 0;
    max-width: 380px;
    font-size: 0.95rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.68);
}

.home-calc-controls {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 20px;
}

.home-calc-control,
.home-calc-hero-card,
.home-calc-metric,
.home-calc-summary-card {
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(148, 163, 184, 0.18);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.home-calc-control {
    display: block;
    padding: 18px 18px 16px;
    border-radius: 22px;
}

.home-calc-control-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.home-calc-control-head span,
.home-calc-label,
.home-calc-metric span,
.home-calc-summary-card span {
    display: block;
    font: 700 0.68rem/1 "Sora", sans-serif;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.48);
}

.home-calc-control-head strong {
    font-family: "Sora", sans-serif;
    font-size: 1rem;
    line-height: 1;
    letter-spacing: -0.02em;
    color: #ffffff;
}

.home-calc-range {
    width: 100%;
    height: 8px;
    margin: 0;
    border: 0;
    border-radius: 999px;
    outline: none;
    appearance: none;
    background: linear-gradient(90deg,
            rgba(223, 26, 26, 0.94) 0,
            rgba(223, 26, 26, 0.94) var(--range-fill, 50%),
            rgba(255, 255, 255, 0.08) var(--range-fill, 50%),
            rgba(255, 255, 255, 0.08) 100%);
}

.home-calc-range::-webkit-slider-runnable-track {
    height: 8px;
    border-radius: 999px;
    background: transparent;
}

.home-calc-range::-moz-range-track {
    height: 8px;
    border-radius: 999px;
    background: transparent;
}

.home-calc-range::-webkit-slider-thumb {
    width: 22px;
    height: 22px;
    margin-top: -7px;
    border: 4px solid rgba(223, 26, 26, 0.96);
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
    appearance: none;
    cursor: pointer;
}

.home-calc-range::-moz-range-thumb {
    width: 22px;
    height: 22px;
    border: 4px solid rgba(223, 26, 26, 0.96);
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
    cursor: pointer;
}

.home-calc-range:focus-visible::-webkit-slider-thumb,
.home-calc-range:focus-visible::-moz-range-thumb {
    box-shadow:
        0 0 0 4px rgba(223, 26, 26, 0.22),
        0 8px 20px rgba(0, 0, 0, 0.28);
}

.home-calc-main {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: 14px;
    margin-top: 20px;
}

.home-calc-hero-card {
    padding: 22px;
    border-radius: 24px;
}

.home-calc-value {
    display: block;
    margin-top: 12px;
    font-family: "Sora", sans-serif;
    font-size: clamp(2.45rem, 3vw, 3.7rem);
    line-height: 0.94;
    letter-spacing: -0.05em;
    color: #ffffff;
}

.home-calc-meta {
    margin: 12px 0 0;
    font-size: 0.94rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.68);
}

.home-calc-bar {
    margin-top: 18px;
    height: 10px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.08);
}

.home-calc-bar-fill {
    position: relative;
    display: block;
    height: 100%;
    width: 44%;
    border-radius: inherit;
    background: linear-gradient(90deg, rgba(223, 26, 26, 0.98), rgba(255, 118, 56, 0.92));
    transition: width 680ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.home-calc-bar-fill::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
    animation: homeCalcShimmer 2.3s linear infinite;
}

.home-calc-metrics,
.home-calc-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.home-calc-metric,
.home-calc-summary-card {
    padding: 16px;
    border-radius: 18px;
}

.home-calc-metric strong,
.home-calc-summary-card strong {
    display: block;
    margin-top: 10px;
    font-family: "Sora", sans-serif;
    font-size: 1.32rem;
    line-height: 1.02;
    letter-spacing: -0.03em;
    color: #ffffff;
}

.home-calc-summary {
    margin-top: 12px;
}

.home-calc-note {
    margin: 16px 0 0;
    font-size: 0.83rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.56);
}

@keyframes homeCalcShimmer {
    from {
        transform: translateX(-100%);
    }

    to {
        transform: translateX(180%);
    }
}

[data-reveal].is-in .home-compare-showcase,
[data-reveal].is-in .home-calc-showcase {
    animation: homeShowcaseEnter 760ms cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

@keyframes homeShowcaseEnter {
    from {
        opacity: 0;
        transform: translateY(26px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ── NUMBERS SECTION ─────────────────────── */
.home-numbers {
    text-align: center;
    padding: clamp(64px, 12vw, 160px) clamp(20px, 4vw, 48px);
}

.numbers-headline {
    margin: 0;
    font-family: var(--font-family-base);
    font-size: clamp(1.08rem, 1.8vw, 1.45rem);
    font-weight: 700;
    line-height: 1.6;
    letter-spacing: -0.02em;
    color: var(--home-muted);
}

.numbers-big {
    font-size: clamp(3.2rem, 8vw, 6.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.04em;
    color: #ffffff;
    display: inline-block;
    margin: 0 8px;
}

.numbers-big.is-loading {
    background: linear-gradient(90deg,
            color-mix(in srgb, var(--text-muted) 15%, transparent) 0%,
            color-mix(in srgb, var(--text-muted) 30%, transparent) 50%,
            color-mix(in srgb, var(--text-muted) 15%, transparent) 100%);
    background-size: 200% 100%;
    animation: homeSkeleton 1.4s ease-in-out infinite;
    border-radius: 10px;
    color: transparent;
    min-width: 80px;
}

@keyframes homeSkeleton {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.numbers-sub {
    display: block;
    margin-top: 8px;
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    font-weight: 500;
    color: var(--home-muted);
}

/* ── BRAND MARQUEE ───────────────────────── */
.home-brand-marquees {
    margin-top: clamp(32px, 5vw, 56px);
    display: grid;
    gap: 12px;
    position: relative;
    z-index: 4;
    isolation: isolate;
}

.home-brand-marquee {
    position: relative;
    overflow: hidden;
    padding: 12px 0;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
    mask-size: 100% 100%;
    mask-repeat: no-repeat;
}

.home-brand-marquee::before,
.home-brand-marquee::after {
    content: "";
    display: none;
}

.home-brand-track {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    width: max-content;
    gap: 24px;
    padding-inline: 14px;
    animation: homeBrandMarquee 56s linear infinite;
    will-change: transform;
}

.home-brand-marquee:hover .home-brand-track,
.home-brand-marquee:focus-within .home-brand-track {
    animation-play-state: paused;
}

.home-brand-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    padding: 2px 6px;
    position: relative;
}

.home-brand-chip[data-tooltip]::after {
    content: none;
}

.home-brand-chip[data-tooltip]:hover::after,
.home-brand-chip[data-tooltip]:focus-visible::after {
    content: none;
}

.home-brand-tooltip-portal {
    position: fixed;
    left: 0;
    top: 0;
    transform: translate(-50%, calc(-100% - 6px));
    background: color-mix(in srgb, #0b0f1a 94%, transparent);
    color: #ffffff;
    border: 1px solid color-mix(in srgb, #ffffff 16%, transparent);
    border-radius: 8px;
    padding: 4px 8px;
    font: 600 0.74rem/1.2 "Sora", sans-serif;
    letter-spacing: 0.01em;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    z-index: 9999;
    transition: opacity 70ms ease-out, visibility 70ms ease-out;
}

.home-brand-tooltip-portal.is-visible {
    opacity: 1;
    visibility: visible;
}

.home-brand-tooltip-portal.is-below {
    transform: translate(-50%, 6px);
}

body.theme-light.home-page .home-brand-tooltip-portal {
    background: color-mix(in srgb, #ffffff 96%, transparent);
    color: #1f2937;
    border-color: rgba(148, 163, 184, 0.55);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12);
}

.home-brand-chip img {
    width: auto;
    max-width: none;
    height: 39px;
    max-height: 39px;
    object-fit: contain;
    display: block;
    filter: saturate(0.98) brightness(1.02);
}

.home-brand-chip img.is-reduced {
    height: 27.3px;
    max-height: 27.3px;
}

.home-brand-chip span {
    font: 700 0.92rem/1.2 "Sora", sans-serif;
    color: var(--text-strong);
    text-align: center;
}

@keyframes homeBrandMarquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* ── FINAL CTA ───────────────────────────── */
.home-final {
    text-align: center;
    padding: clamp(64px, 10vw, 140px) clamp(20px, 4vw, 48px);
    background: linear-gradient(to bottom, transparent 0%, rgba(223, 26, 26, 0.06) 50%, transparent 100%);
}

.home-final h2 {
    margin: 0;
    font-family: var(--font-family-base);
    font-size: clamp(1.9rem, 4.5vw, 3.35rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.03em;
    color: var(--text-strong);
}

.home-final-actions {
    margin-top: clamp(24px, 4vw, 40px);
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ── FOOTER ──────────────────────────────── */
.site-footer {
    margin-top: 0;
    color: var(--text-muted);
    border-top: 1px solid var(--border-subtle);
    padding: clamp(20px, 3vw, 32px) clamp(20px, 4vw, 48px);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.site-footer-nav {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.site-footer-nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.84rem;
    transition: color var(--transition-fast);
}

.site-footer-nav a:hover {
    color: var(--text-strong);
}

.site-footer span {
    font-size: 0.82rem;
}

/* ── FLOATING ANIMATION ─────────────────── */
@keyframes floatDriftA {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-14px);
    }
}

@keyframes floatDriftB {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes floatDriftC {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-18px);
    }
}

.frag[data-float="a"]>* {
    animation: floatDriftA 5.5s ease-in-out infinite;
}

.frag[data-float="b"]>* {
    animation: floatDriftB 7s ease-in-out infinite;
    animation-delay: -1.8s;
}

.frag[data-float="c"]>* {
    animation: floatDriftC 6.2s ease-in-out infinite;
    animation-delay: -3.2s;
}

/* ── REVEAL ANIMATION ────────────────────── */
[data-reveal] {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 600ms cubic-bezier(0.22, 0.61, 0.36, 1), transform 800ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

[data-reveal].is-in {
    opacity: 1;
    transform: translateY(0);
}

/* ── STICKY CTA ──────────────────────────── */
.home-sticky-cta {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    min-height: 48px;
    border-radius: 14px;
    border: 1px solid transparent;
    display: none;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(rgba(223, 26, 26, 0.07), rgba(223, 26, 26, 0.03)) padding-box,
        linear-gradient(135deg, rgba(223, 26, 26, 0.85), rgba(223, 26, 26, 0.3)) border-box;
    color: #ffffff;
    font-weight: 800;
    letter-spacing: 0.01em;
    box-shadow:
        0 0 0 1px rgba(223, 26, 26, 0.2),
        0 0 16px rgba(223, 26, 26, 0.18),
        0 0 36px rgba(223, 26, 26, 0.06);
    z-index: 90;
    text-decoration: none;
    opacity: 1;
    transform: translateY(0);
    transition:
        opacity 220ms ease,
        transform 220ms ease,
        border-color 220ms ease,
        box-shadow 220ms ease,
        filter 220ms ease;
}

.home-sticky-cta:hover,
.home-sticky-cta:focus-visible {
    animation: cta-flow-pulse 2.2s ease-in-out infinite;
}

.home-sticky-cta.is-hidden {
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
}

/* ── ULTRAWIDE: cap content at ~1440px, keep background full-bleed ── */
/* Triggers when viewport > 1440px + 2×64px (current max padding) = 1568px.
   Fragment right values are converted from "X% of viewport" to
   "same X% of 1440px content + half the side margin", keeping them
   within the content area instead of drifting toward the viewport edge. */
@media (min-width: 1568px) {
    .scene {
        padding-inline: calc((100vw - 1440px) / 2);
    }

    /* Compare scene: main showcase widget */
    .frag-cmp-showcase {
        right: calc((100vw - 1440px) / 2 + 43px); /* 3% of 1440 */
    }
    .frag-cmp-vs {
        right: calc((100vw - 1440px) / 2 + 86px); /* 6% of 1440 */
    }
    .frag-cmp-trade {
        right: calc((100vw - 1440px) / 2 + 58px); /* 4% of 1440 */
    }
    .frag-cmp-cost {
        right: calc((100vw - 1440px) / 2 + 490px); /* 34% of 1440 */
    }
    .frag-cmp-specs {
        right: calc((100vw - 1440px) / 2 + 403px); /* 28% of 1440 */
    }

    /* Objective scene: key visible fragments */
    .frag-obj-a {
        right: calc((100vw - 1440px) / 2 + 86px);  /* 6% of 1440 */
    }
    .frag-obj-b {
        right: calc((100vw - 1440px) / 2 + 403px); /* 28% of 1440 */
    }
    .frag-obj-c {
        right: calc((100vw - 1440px) / 2 + 58px);  /* 4% of 1440 */
    }
    .frag-obj-d {
        right: calc((100vw - 1440px) / 2 + 432px); /* 30% of 1440 */
    }
    .frag-obj-e {
        right: calc((100vw - 1440px) / 2 + 202px); /* 14% of 1440 */
    }
    .frag-obj-profiles {
        right: calc((100vw - 1440px) / 2 + 634px); /* 44% of 1440 */
    }
    .frag-obj-styles {
        right: calc((100vw - 1440px) / 2 + 720px); /* 50% of 1440 */
    }
}

/* ── RESPONSIVE ──────────────────────────── */
@media (max-width: 960px) {
    .scene {
        min-height: auto;
        padding: clamp(80px, 14vw, 140px) clamp(20px, 5vw, 40px);
    }

    .scene-calc,
    .scene-compare {
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        gap: clamp(24px, 5vw, 40px);
        overflow: visible;
    }

    .scene-calc .scene-content,
    .scene-compare .scene-content {
        max-width: 860px;
        text-align: center;
    }

    .scene-calc .scene-content .home-btn,
    .scene-compare .scene-content .home-btn {
        display: inline-flex;
    }

    .scene-calc .scene-fragments,
    .scene-compare .scene-fragments {
        position: relative;
        inset: auto;
        width: 100%;
        display: flex;
        justify-content: center;
        align-self: stretch;
        margin-top: 0;
    }

    .scene-calc .frag-calc-showcase,
    .scene-compare .frag-cmp-showcase {
        position: relative !important;
        top: auto !important;
        right: auto !important;
        transform: none !important;
        width: min(100%, 1120px);
        margin: 0 auto;
    }

    .scene-fragments {
        position: relative;
        inset: auto;
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        margin-top: 32px;
        justify-content: center;
    }

    .frag {
        position: relative !important;
        inset: auto !important;
        transform: none !important;
        filter: none !important;
        opacity: 1 !important;
    }

    .frag-obj-a,
    .frag-obj-b,
    .frag-obj-c,
    .frag-obj-d,
    .frag-obj-e,
    .frag-obj-f,
    .frag-obj-profiles,
    .frag-obj-styles {
        max-width: 100%;
    }

    .frag-cmp-vs,
    .frag-cmp-trade,
    .frag-cmp-cost,
    .frag-cmp-specs,
    .frag-cmp-showcase {
        max-width: 100%;
    }

    .frag-calc-a,
    .frag-calc-b,
    .frag-calc-c,
    .frag-calc-d,
    .frag-calc-e,
    .frag-calc-showcase {
        max-width: 100%;
    }

    /* Hide deeper-depth fragments on tablet */
    .frag-obj-d,
    .frag-obj-e,
    .frag-obj-f {
        display: none;
    }

    .frag-obj-styles {
        display: none;
    }

    .frag-cmp-specs {
        display: none;
    }

    .frag-calc-d,
    .frag-calc-e {
        display: none;
    }

    .home-compare-showcase,
    .home-calc-showcase {
        width: min(100%, 760px);
    }

    .frag[data-float]>* {
        animation: none !important;
    }

    .scene-content {
        max-width: 100%;
        text-align: center;
    }

    .scene-content .home-btn {
        display: inline-flex;
    }
}

@media (max-width: 720px) {
    body.home-page .app-shell {
        max-width: 100%;
        padding-bottom: 100px;
    }

    .hero-cinematic {
        min-height: 90vh;
        min-height: 90dvh;
    }

    .hero-cinematic h1 {
        font-size: clamp(2.2rem, 10vw, 3.6rem);
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .home-btn {
        width: 100%;
    }

    .numbers-big {
        display: block;
        margin: 4px 0;
    }

    .home-sticky-cta {
        display: inline-flex;
    }

    .scene-content h2 {
        font-size: clamp(1.7rem, 7.2vw, 2.7rem);
    }

    .home-calc-controls,
    .home-compare-stage,
    .home-calc-main {
        grid-template-columns: 1fr;
    }

    .home-compare-versus {
        margin: 4px auto;
    }

    .home-compare-stage .vs-card {
        min-height: auto;
    }

    .home-compare-tech-row {
        grid-template-columns: 1fr;
    }

    .home-compare-tech-attr {
        min-height: auto;
        padding: 10px 12px;
    }

    .scene-calc .scene-copy,
    .home-calc-subtitle,
    .home-calc-head h3 {
        max-width: none;
    }

    .home-calc-control,
    .home-calc-hero-card,
    .home-calc-metric,
    .home-calc-summary-card {
        padding-left: 16px;
        padding-right: 16px;
    }
}

@media (max-width: 540px) {

    .home-calc-metrics,
    .home-calc-summary {
        grid-template-columns: 1fr;
    }
}

/* ── LIGHT THEME ─────────────────────────── */
body.theme-light.home-page {
    --home-accent: color-mix(in srgb, var(--brand-red) 14%, #ffffff 86%);
    --home-accent-strong: color-mix(in srgb, var(--brand-red) 82%, #111827 18%);
    --home-soft: rgba(255, 255, 255, 0.88);
}

body.theme-light.home-page .hero-cinematic::after {
    background: linear-gradient(to top, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.4) 40%, rgba(0, 0, 0, 0.05) 100%);
}

body.theme-light.home-page .home-btn-primary,
body.theme-light.home-page .home-btn-primary:hover,
body.theme-light.home-page .home-btn-primary:focus-visible,
body.theme-light.home-page .home-sticky-cta,
body.theme-light.home-page .home-sticky-cta:hover,
body.theme-light.home-page .home-sticky-cta:focus-visible {
    box-shadow: none;
}

body.theme-light.home-page .hero-cinematic h1 {
    color: #111827;
}

body.theme-light.home-page .hero-sub {
    color: rgba(17, 24, 39, 0.55);
}

body.theme-light.home-page .home-btn-ghost {
    border-color: rgba(17, 24, 39, 0.2);
    background: rgba(17, 24, 39, 0.04);
    color: #111827;
}

body.theme-light.home-page .home-btn-ghost:hover {
    border-color: rgba(17, 24, 39, 0.35);
    background: rgba(17, 24, 39, 0.08);
}

body.theme-light.home-page .scene-content h2 {
    color: var(--home-accent-strong);
}

body.theme-light.home-page .scene-calc .scene-copy {
    color: rgba(17, 24, 39, 0.62);
}

body.theme-light.home-page .frag-decision-col,
body.theme-light.home-page .frag-showcase-chips {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(148, 163, 184, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    color: #111827;
}

body.theme-light.home-page .home-compare-showcase,
body.theme-light.home-page .home-calc-surface {
    background:
        radial-gradient(circle at top left, rgba(223, 26, 26, 0.08), transparent 40%),
        rgba(255, 255, 255, 0.92);
    border-color: rgba(148, 163, 184, 0.34);
    box-shadow: 0 24px 56px rgba(15, 23, 42, 0.1);
    color: #111827;
}

body.theme-light.home-page .home-compare-bike,
body.theme-light.home-page .home-compare-tech,
body.theme-light.home-page .home-compare-tech-attr,
body.theme-light.home-page .home-compare-tech-cell,
body.theme-light.home-page .home-compare-point,
body.theme-light.home-page .home-compare-stage .vs-card,
body.theme-light.home-page .home-calc-control,
body.theme-light.home-page .home-calc-hero-card,
body.theme-light.home-page .home-calc-metric,
body.theme-light.home-page .home-calc-summary-card {
    background: rgba(248, 250, 252, 0.88);
    border-color: rgba(148, 163, 184, 0.28);
}

body.theme-light.home-page .home-compare-bike h3,
body.theme-light.home-page .home-compare-bike-price,
body.theme-light.home-page .home-compare-tech-value,
body.theme-light.home-page .home-compare-stage .vs-name,
body.theme-light.home-page .home-compare-stage .vs-meta,
body.theme-light.home-page .home-calc-head h3,
body.theme-light.home-page .home-calc-control-head strong,
body.theme-light.home-page .home-calc-value,
body.theme-light.home-page .home-calc-metric strong,
body.theme-light.home-page .home-calc-summary-card strong {
    color: #111827;
}

body.theme-light.home-page .home-compare-bike-brand,
body.theme-light.home-page .home-compare-bike-meta,
body.theme-light.home-page .home-compare-kicker,
body.theme-light.home-page .home-compare-profile,
body.theme-light.home-page .home-compare-points-title,
body.theme-light.home-page .home-compare-tech-kicker,
body.theme-light.home-page .home-compare-tech-note,
body.theme-light.home-page .home-compare-tech-state,
body.theme-light.home-page .home-compare-tech-attr,
body.theme-light.home-page .home-compare-point,
body.theme-light.home-page .home-compare-stage .vs-brand,
body.theme-light.home-page .home-compare-stage .vs-category,
body.theme-light.home-page .home-compare-stage .vs-details-title,
body.theme-light.home-page .home-calc-control-head span,
body.theme-light.home-page .home-calc-subtitle,
body.theme-light.home-page .home-calc-meta,
body.theme-light.home-page .home-calc-metric span,
body.theme-light.home-page .home-calc-summary-card span,
body.theme-light.home-page .home-calc-label,
body.theme-light.home-page .home-calc-note {
    color: #6b7280;
}

body.theme-light.home-page .home-calc-range {
    background: linear-gradient(90deg,
            rgba(223, 26, 26, 0.94) 0,
            rgba(223, 26, 26, 0.94) var(--range-fill, 50%),
            rgba(17, 24, 39, 0.12) var(--range-fill, 50%),
            rgba(17, 24, 39, 0.12) 100%);
}

body.theme-light.home-page .home-compare-versus {
    color: var(--brand-red);
    background:
        linear-gradient(rgba(223, 26, 26, 0.06), rgba(223, 26, 26, 0.02)) padding-box,
        linear-gradient(135deg, rgba(223, 26, 26, 0.7), rgba(223, 26, 26, 0.2)) border-box;
    box-shadow:
        0 0 0 1px rgba(223, 26, 26, 0.12),
        0 4px 12px rgba(223, 26, 26, 0.08);
}

body.theme-light.home-page .home-compare-profile {
    border-color: rgba(223, 26, 26, 0.16);
    background: rgba(223, 26, 26, 0.08);
    color: #374151;
}

body.theme-light.home-page .home-compare-stage .vs-card[data-side="A"],
body.theme-light.home-page .home-compare-stage .vs-card[data-side="B"] {
    border-color: rgba(148, 163, 184, 0.28);
    box-shadow:
        0 12px 28px rgba(15, 23, 42, 0.08),
        inset 0 0 0 1px rgba(255, 255, 255, 0.45);
}

body.theme-light.home-page .home-compare-stage .vs-brand-logo {
    background: #05080d;
    border-color: rgba(148, 163, 184, 0.34);
}

body.theme-light.home-page .home-compare-stage .vs-details {
    border-top-color: rgba(148, 163, 184, 0.28);
}

body.theme-light.home-page .frag-decision-heading {
    color: #111827;
}

body.theme-light.home-page .frag-tradeoff,
body.theme-light.home-page .frag-showcase-chips-label,
body.theme-light.home-page .frag-showcase-chip {
    color: #6b7280;
}

body.theme-light.home-page .frag-showcase-chip.is-active {
    color: var(--brand-red);
}

body.theme-light.home-page .numbers-big {
    color: var(--home-accent-strong);
}

body.theme-light.home-page .home-final h2 {
    color: var(--home-accent-strong);
}

body.theme-light.home-page .home-final {
    background: linear-gradient(to bottom, transparent 0%, rgba(223, 26, 26, 0.04) 50%, transparent 100%);
}

body.theme-light.home-page .home-brand-chip img {
    filter: saturate(0.94) contrast(1.02);
}

/* ── REDUCED MOTION ──────────────────────── */
@media (prefers-reduced-motion: reduce) {
    [data-reveal] {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    .home-brand-track {
        animation: none !important;
    }

    .frag {
        transform: none !important;
        filter: none !important;
    }

    .frag[data-float]>* {
        animation: none !important;
    }

    .home-btn:hover,
    .home-btn:focus-visible {
        transform: none;
    }

    .home-compare-progress span.is-running,
    .home-compare-point,
    .home-compare-tech-row,
    .home-calc-bar-fill::after,
    [data-reveal].is-in .home-compare-showcase,
    [data-reveal].is-in .home-calc-showcase {
        animation: none !important;
    }
}
