/* AlfaChess premium homepage. Loaded last and scoped to body.home-premium. */

body.home-premium {
    --premium-navy: #10243f;
    --premium-blue: #2457c5;
    --premium-green: #168f63;
    --premium-amber: #f59e0b;
    --premium-white: #ffffff;
    --premium-line: #e3e9f1;
    --premium-ink: #10243f;
    --premium-muted: rgba(16, 36, 63, 0.68);
    --premium-grid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Cpath d='M48 0H0V48' fill='none' stroke='%23D2DCE8' stroke-width='1'/%3E%3C/svg%3E");
    --premium-grid-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Cpath d='M48 0H0V48' fill='none' stroke='%23FFFFFF' stroke-opacity='.09' stroke-width='1'/%3E%3C/svg%3E");
    --premium-container: 1344px;
    color: var(--premium-ink);
    background: var(--premium-white);
}

body.home-premium .container {
    width: min(var(--premium-container), calc(100% - 96px));
    max-width: none;
    margin-inline: auto;
}

body.home-premium .bg-animated,
body.home-premium .chess-pieces {
    display: none;
}

body.home-premium .hero,
body.home-premium .outcome-story,
body.home-premium .steps,
body.home-premium .teacher-trust,
body.home-premium .testimonials {
    isolation: isolate;
}

/* Hero */

body.home-premium .hero {
    position: relative;
    box-sizing: border-box;
    height: calc(100svh - 73px);
    min-height: 700px;
    max-height: 900px;
    overflow: clip;
    padding: 32px 0 !important;
    border-bottom: 1px solid var(--premium-line);
    background-color: var(--premium-white) !important;
    background-image: var(--premium-grid) !important;
    background-size: 48px 48px !important;
}

body.home-premium .hero::after {
    display: none !important;
}

body.home-premium .hero > .container {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(500px, 1.08fr) !important;
    align-items: center;
    gap: 48px;
    height: 100%;
    min-height: 0;
}

body.home-premium .hero-content {
    position: relative;
    z-index: 3;
    max-width: 700px;
}

body.home-premium .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    width: fit-content;
    margin: 0 0 24px;
    padding: 0 0 12px;
    border: 0;
    border-bottom: 2px solid var(--premium-blue);
    border-radius: 0;
    color: var(--premium-blue);
    background: transparent;
    box-shadow: none;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

body.home-premium .hero-badge .badge-icon {
    color: var(--premium-amber);
}

body.home-premium .hero-title {
    max-width: 12ch;
    margin: 0;
    color: var(--premium-navy) !important;
    font-size: clamp(3.35rem, 4.8vw, 4.6rem) !important;
    font-weight: 900;
    line-height: 0.98 !important;
    letter-spacing: 0;
    text-wrap: balance;
}

body.home-premium .hero-title strong,
body.home-premium .hero-title em,
body.home-premium .hero-title .accent,
body.home-premium .hero-title__accent {
    color: var(--premium-blue);
    font-style: normal;
}

body.home-premium .hero-subtitle {
    max-width: 610px;
    margin: 24px 0 0;
    color: var(--premium-muted);
    font-size: clamp(0.98rem, 1.1vw, 1.06rem);
    line-height: 1.5;
}

body.home-premium .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

body.home-premium .hero-actions .btn-primary,
body.home-premium .hero-actions .btn-secondary {
    min-height: 56px;
    border-radius: 4px !important;
}

body.home-premium .hero-actions .btn-primary {
    border-color: var(--premium-amber) !important;
    color: var(--premium-navy) !important;
    background: var(--premium-amber) !important;
}

body.home-premium .hero-actions .btn-secondary {
    border-color: var(--premium-navy) !important;
    color: var(--premium-navy) !important;
    background: var(--premium-white) !important;
}

body.home-premium .hero-trust {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    max-width: 650px;
    margin-top: 32px;
    border-top: 1px solid var(--premium-line);
    border-bottom: 1px solid var(--premium-line);
}

body.home-premium .hero-trust-item {
    min-width: 0;
    padding: 14px 16px !important;
    border: 0 !important;
    border-right: 1px solid var(--premium-line) !important;
    border-radius: 0 !important;
    color: var(--premium-ink) !important;
    background: transparent !important;
    box-shadow: none !important;
    font-size: 0.95rem;
    line-height: 1.3;
}

body.home-premium .hero-trust-item:last-child {
    border-right: 0 !important;
}

body.home-premium .hero-trust-item > span:first-child {
    color: var(--premium-green);
    background: transparent;
}

body.home-premium .hero-note {
    max-width: 620px;
    margin: 20px 0 0;
    color: var(--premium-muted);
    font-size: 1rem;
    line-height: 1.5;
}

body.home-premium .hero-image.hero-stage {
    position: relative;
    display: block;
    align-self: stretch;
    min-height: 600px;
    margin: -24px 0;
    padding: 0 !important;
    overflow: visible;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

body.home-premium .hero-photo-aperture {
    position: absolute;
    z-index: 1;
    inset: 6% 4% 5% 9%;
    overflow: hidden;
    border: 1px solid rgba(36, 87, 197, 0.24);
    border-radius: 2px;
    background-color: #f7f9fc;
    background-image: var(--premium-grid);
    background-size: 48px 48px;
    clip-path: polygon(16% 0, 100% 0, 100% 84%, 84% 100%, 0 100%, 0 16%);
}

body.home-premium .hero-photo-aperture::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 24px solid rgba(36, 87, 197, 0.06);
    pointer-events: none;
}

body.home-premium .hero-photo-aperture > img,
body.home-premium .hero-photo-aperture > picture,
body.home-premium .hero-photo-aperture > picture > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

body.home-premium .hero-piece--knight,
body.home-premium .hero-piece--rook,
body.home-premium .hero-piece--pawn,
body.home-premium .hero-piece--king {
    position: absolute;
    z-index: 2;
    display: block;
    width: auto;
    max-width: none;
    height: auto;
    transform: translate3d(var(--parallax-x, 0), var(--parallax-y, 0), 0) rotate(var(--parallax-r, 0));
    transform-origin: 50% 80%;
    filter: drop-shadow(0 24px 22px rgba(16, 36, 63, 0.24));
    will-change: transform;
    pointer-events: none;
    border-radius: 0 !important;
    box-shadow: none !important;
}

body.home-premium .hero-piece--knight {
    z-index: 5;
    right: -7%;
    bottom: -4%;
    width: min(54%, 470px);
}

body.home-premium .hero-piece--rook {
    z-index: 4;
    left: 2%;
    bottom: 0;
    width: min(29%, 230px);
}

body.home-premium .hero-piece--pawn {
    z-index: 4;
    left: 39%;
    bottom: -1%;
    width: min(17%, 130px);
}

body.home-premium .hero-piece--king {
    left: -5%;
    top: 0;
    width: min(25%, 190px);
}

body.home-premium .hero-coordinate {
    position: absolute;
    z-index: 7;
    display: inline-flex;
    min-width: 54px;
    min-height: 34px;
    padding: 8px 12px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 1px solid rgba(245, 158, 11, 0.72);
    border-radius: 999px;
    color: var(--premium-white);
    background: var(--premium-navy);
    font-size: 0.9rem;
    font-weight: 850;
    line-height: 1;
    text-align: center;
    text-transform: uppercase;
    box-shadow: 0 10px 22px rgba(16, 36, 63, 0.2);
    pointer-events: none;
}

body.home-premium .hero-coordinate::before {
    content: "";
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    border-radius: 50%;
    background: var(--premium-amber);
}

body.home-premium .hero-coordinate[data-axis="x"] {
    top: 8%;
}

body.home-premium .hero-coordinate[data-axis="y"] {
    right: 2%;
}

body.home-premium .hero-child-slot {
    position: absolute;
    z-index: 3;
    top: 1%;
    right: -2%;
    bottom: 17%;
    left: -2%;
    display: grid;
    align-items: end;
    justify-items: center;
    pointer-events: none;
}

body.home-premium .hero-child-photo {
    position: relative;
    z-index: 1;
    display: block !important;
    width: 100%;
    height: 100%;
    border-radius: 0 !important;
    box-shadow: none !important;
    object-fit: contain;
    object-position: center bottom;
    filter: drop-shadow(0 22px 24px rgba(16, 36, 63, 0.16));
}

body.home-premium .hero-child-slot > span {
    max-width: 210px;
    padding: 10px 12px;
    border-bottom: 2px solid var(--premium-amber);
    color: rgba(16, 36, 63, 0.62);
    background: rgba(255, 255, 255, 0.82);
    font-size: 0.9rem;
    font-weight: 750;
    line-height: 1.4;
    text-align: center;
}

body.home-premium .hero-coordinate--a {
    top: 10%;
    left: 4%;
    transform: rotate(-8deg);
}

body.home-premium .hero-coordinate--b {
    top: 20%;
    right: 2%;
    transform: rotate(8deg);
}

body.home-premium .hero-stage::before {
    content: "";
    position: absolute;
    z-index: 0;
    top: 8%;
    left: 11%;
    display: block;
    width: 48px;
    height: 48px;
    background: var(--premium-blue);
    box-shadow: 432px 144px 0 var(--premium-green), 240px 384px 0 var(--premium-amber);
}

body.home-premium .hero-stage__rail {
    position: absolute;
    z-index: 6;
    right: 4%;
    bottom: 6%;
    left: 9%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    color: var(--premium-white);
    background: rgba(16, 36, 63, 0.92);
    backdrop-filter: blur(8px);
}

body.home-premium .hero-stage__rail > div {
    min-width: 0;
    padding: 16px 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.24);
}

body.home-premium .hero-stage__rail > div + div {
    border-left: 1px solid rgba(255, 255, 255, 0.24);
}

body.home-premium .hero-stage__rail strong,
body.home-premium .hero-stage__rail p,
body.home-premium .hero-stage__rail span {
    display: block;
}

body.home-premium .hero-stage__rail strong {
    margin-top: 5px;
    color: var(--premium-white);
    font-size: 1.05rem;
    line-height: 1.25;
}

body.home-premium .hero-stage__rail p {
    margin: 5px 0 0;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.9rem;
    line-height: 1.35;
}

body.home-premium .hero-card-label {
    font-size: 0.86rem !important;
    line-height: 1.25;
}

body.home-premium .testimonials-mobile-nav {
    display: none;
}

/* Sticky outcome story */

body.home-premium .outcome-story {
    position: relative;
    min-height: 380vh;
    border-bottom: 1px solid var(--premium-line);
    background-color: var(--premium-white);
    background-image: var(--premium-grid);
    background-size: 48px 48px;
}

body.home-premium .outcome-story__sticky {
    position: sticky;
    top: 0;
    display: grid;
    place-items: center;
    min-height: 100svh;
    overflow: clip;
    padding: 96px 48px 72px;
}

body.home-premium .outcome-story__canvas {
    display: contents;
}

body.home-premium .outcome-story__center {
    position: relative;
    z-index: 3;
    display: grid;
    place-items: center;
    width: min(620px, 48vw);
    aspect-ratio: 1;
    padding: 80px;
    border: 1px solid rgba(16, 36, 63, 0.22);
    border-radius: 50%;
    color: var(--premium-navy);
    text-align: center;
}

body.home-premium .outcome-story__center::before,
body.home-premium .outcome-story__center::after {
    content: "";
    position: absolute;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--premium-blue);
}

body.home-premium .outcome-story__center::before {
    top: -4px;
}

body.home-premium .outcome-story__center::after {
    bottom: -4px;
}

body.home-premium .outcome-story__center h2,
body.home-premium .outcome-story__center .section-title {
    max-width: 10ch;
    margin: 0;
    color: var(--premium-navy);
    font-size: clamp(3rem, 5vw, 5.25rem);
    line-height: 0.98;
    letter-spacing: 0;
    text-wrap: balance;
}

body.home-premium .outcome-story__center strong,
body.home-premium .outcome-story__center em,
body.home-premium .outcome-story__center .accent,
body.home-premium .outcome-story__center h2 > span {
    color: var(--premium-blue);
    font-style: normal;
}

body.home-premium .outcome-story__eyebrow {
    display: block;
    margin-bottom: 18px;
    color: var(--premium-green);
    font-size: 0.86rem;
    font-weight: 850;
    text-transform: uppercase;
}

body.home-premium .outcome-story__center p {
    max-width: 430px;
    margin: 22px auto 0;
    color: var(--premium-muted);
    font-size: 1.1rem;
    line-height: 1.55;
}

body.home-premium .outcome-story__item {
    position: absolute;
    z-index: 4;
    width: min(250px, 19vw);
    padding: 0 0 12px;
    border-bottom: 1px solid rgba(16, 36, 63, 0.3);
    color: var(--premium-navy);
    opacity: 0.35;
    transition: opacity 240ms ease, border-color 240ms ease, color 240ms ease;
}

body.home-premium .outcome-story__item::before {
    content: "";
    position: absolute;
    right: 0;
    bottom: -4px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
}

body.home-premium .outcome-story__item:is(.is-active, [aria-current="true"]) {
    color: var(--premium-blue);
    border-color: var(--premium-blue);
    opacity: 1;
}

body.home-premium .outcome-story__item span,
body.home-premium .outcome-story__item small {
    display: block;
    margin-bottom: 6px;
    color: var(--premium-amber);
    font-size: 0.78rem;
    font-weight: 850;
}

body.home-premium .outcome-story__item h3,
body.home-premium .outcome-story__item strong {
    display: block;
    margin: 0;
    color: inherit;
    font-size: clamp(1.08rem, 1.6vw, 1.45rem);
    line-height: 1.12;
}

body.home-premium .outcome-story__item--1 { top: 5%; left: 50%; transform: translateX(-50%); }
body.home-premium .outcome-story__item--2 { top: 35%; right: 5%; transform: translateX(calc(var(--story-progress, 0) * -72px)); }
body.home-premium .outcome-story__item--3 { right: 13%; bottom: 14%; transform: translate(calc(var(--story-progress, 0) * -52px), calc(var(--story-progress, 0) * -36px)); }
body.home-premium .outcome-story__item--4 { bottom: 14%; left: 18%; text-align: right; transform: translate(calc(var(--story-progress, 0) * 52px), calc(var(--story-progress, 0) * -36px)); }
body.home-premium .outcome-story__item--5 { top: 35%; left: 8%; text-align: right; transform: translateX(calc(var(--story-progress, 0) * 52px)); }

body.home-premium .outcome-story__item--1 {
    transform: translate(-50%, calc(var(--story-progress, 0) * 12px));
}

body.home-premium .outcome-story__item {
    opacity: calc(0.34 + var(--story-progress, 0) * 0.66);
}

body.home-premium .outcome-story__item--4::before,
body.home-premium .outcome-story__item--5::before {
    right: auto;
    left: 0;
}

body.home-premium .outcome-story__piece--king,
body.home-premium .outcome-story__piece--pawn {
    position: absolute;
    z-index: 2;
    width: auto;
    max-width: none;
    border-radius: 0 !important;
    box-shadow: none !important;
    filter: drop-shadow(0 22px 20px rgba(16, 36, 63, 0.2));
    pointer-events: none;
}

body.home-premium .outcome-story__piece--king {
    left: -12%;
    bottom: -5%;
    height: min(72vh, 700px);
}

body.home-premium .outcome-story__piece--pawn {
    right: 4%;
    bottom: 0;
    height: min(31vh, 300px);
}

body.home-premium .outcome-story__cta {
    position: absolute;
    z-index: 6;
    bottom: 32px;
    left: 50%;
    min-height: 56px;
    border-radius: 4px;
    transform: translateX(-50%);
    opacity: var(--story-progress, 0);
}

/* Method: full-width navy, open horizontal rails. */

body.home-premium .steps {
    position: relative;
    padding: 96px 0 !important;
    color: var(--premium-white);
    background-color: var(--premium-navy) !important;
    background-image: var(--premium-grid-dark) !important;
    background-size: 48px 48px !important;
}

body.home-premium .steps::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: max(0px, calc((100vw - var(--premium-container)) / 2));
    width: 6px;
    background: var(--premium-blue);
}

body.home-premium .steps .section-title {
    max-width: 900px;
    margin: 0 0 48px;
    color: var(--premium-white);
    font-size: clamp(2.5rem, 4vw, 4.2rem);
    line-height: 1.02;
    letter-spacing: 0;
    text-wrap: balance;
}

body.home-premium .steps .section-title > span {
    color: var(--premium-amber);
}

body.home-premium .steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    max-width: 950px;
    margin-left: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.28);
}

body.home-premium .step-card {
    position: relative;
    display: grid;
    grid-template-columns: 120px minmax(220px, 0.82fr) minmax(260px, 1.18fr);
    align-items: center;
    gap: 32px;
    min-height: 144px;
    padding: 24px 0 !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.28) !important;
    border-radius: 0 !important;
    color: var(--premium-white);
    background: transparent !important;
    box-shadow: none !important;
}

body.home-premium .step-card::after {
    display: none;
}

body.home-premium .step-number {
    color: var(--premium-blue);
    background: transparent;
    font-size: clamp(3rem, 5vw, 5.3rem);
    font-weight: 900;
    line-height: 1;
}

body.home-premium .step-number::before {
    content: "0";
}

body.home-premium .step-card h3 {
    margin: 0;
    color: var(--premium-white);
    font-size: clamp(1.3rem, 2vw, 1.8rem);
    line-height: 1.13;
}

body.home-premium .step-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 1rem;
    line-height: 1.55;
}

body.home-premium .steps .section-actions {
    max-width: 950px;
    margin: 40px 0 0 auto;
    text-align: left;
}

body.home-premium .steps .btn-primary {
    border-radius: 4px !important;
    color: var(--premium-navy) !important;
    background: var(--premium-amber) !important;
}

/* White trust rhythm */

body.home-premium .teacher-trust {
    padding: 96px 0 !important;
    border-bottom: 1px solid var(--premium-line);
    background-color: var(--premium-white) !important;
    background-image: var(--premium-grid) !important;
    background-size: 48px 48px !important;
}

body.home-premium .teacher-trust-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(360px, 0.82fr);
    align-items: stretch;
    gap: 48px;
}

body.home-premium .teacher-trust-copy {
    padding-block: 24px;
}

body.home-premium .teacher-media-column {
    display: grid;
    grid-template-rows: minmax(520px, 1fr) auto;
    gap: 16px;
    align-self: start;
    min-width: 0;
}

body.home-premium .teacher-trust-copy .section-title {
    max-width: 12ch;
    color: var(--premium-navy);
    font-size: clamp(2.55rem, 4vw, 4.25rem);
    line-height: 1.02;
    letter-spacing: 0;
}

body.home-premium .teacher-trust-copy .section-lead {
    max-width: 660px;
    color: var(--premium-muted);
}

body.home-premium .teacher-points {
    margin-top: 36px;
    border-top: 1px solid rgba(16, 36, 63, 0.3);
}

body.home-premium .teacher-point {
    display: grid;
    grid-template-columns: 64px minmax(180px, 0.78fr) minmax(220px, 1.22fr);
    gap: 24px;
    align-items: baseline;
    padding: 24px 0;
    border-bottom: 1px solid rgba(16, 36, 63, 0.3);
}

body.home-premium .teacher-point > span {
    color: var(--premium-blue);
    font-size: 1.35rem;
    font-weight: 900;
}

body.home-premium .teacher-point > strong {
    color: var(--premium-navy);
    line-height: 1.2;
}

body.home-premium .teacher-point > p {
    margin: 0;
    color: var(--premium-muted);
    line-height: 1.5;
}

body.home-premium .teacher-photo-panel {
    position: relative;
    min-height: 520px;
    overflow: hidden;
    border: 0 !important;
    border-radius: 2px !important;
    background-color: var(--premium-navy) !important;
    background-image: var(--premium-grid-dark) !important;
    background-size: 48px 48px !important;
    box-shadow: none !important;
    clip-path: polygon(13% 0, 100% 0, 100% 100%, 0 100%, 0 13%);
}

body.home-premium .teacher-photo-piece {
    position: absolute;
    z-index: 4;
    bottom: -7%;
    left: 4%;
    width: 43%;
    height: auto;
    border-radius: 0 !important;
    box-shadow: none !important;
    filter: drop-shadow(0 24px 24px rgba(0, 0, 0, 0.28));
    transform: translate3d(var(--teacher-rook-x, 0), var(--teacher-rook-y, 0), 0) rotate(var(--teacher-rook-rotate, -5deg));
    transform-origin: 50% 82%;
    transition: transform 180ms cubic-bezier(0.2, 0.75, 0.25, 1);
    will-change: transform;
    pointer-events: none;
}

body.home-premium .teacher-photo-cutout {
    position: absolute;
    z-index: 2;
    right: -7%;
    bottom: -1px;
    display: block;
    width: 96%;
    height: 96%;
    object-fit: contain;
    object-position: 50% 100%;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    filter: drop-shadow(0 26px 30px rgba(0, 0, 0, 0.24));
}

body.home-premium .teacher-photo-cutout,
body.home-premium .teacher-photo-piece {
    display: block;
}

body.home-premium .teacher-lesson-slot {
    position: relative;
    display: block;
    margin: 0;
    min-height: 0;
    height: auto;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    border: 0;
    border-radius: 2px;
    background: #17191b;
}

body.home-premium .teacher-lesson-slot img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

body.home-premium .teacher-lesson-slot figcaption {
    position: absolute;
    right: 16px;
    bottom: 16px;
    padding: 8px 12px;
    color: #fff;
    background: rgba(16, 36, 63, 0.9);
    font-size: 0.78rem;
    font-weight: 850;
}

/* Testimonials are rails, not floating cards. */

body.home-premium .testimonials {
    padding: 96px 0 !important;
    border-bottom: 1px solid var(--premium-line);
    background: var(--premium-white) !important;
}

body.home-premium .testimonials .section-title {
    color: var(--premium-navy);
    font-size: clamp(2.5rem, 4vw, 4.1rem);
    line-height: 1.02;
    letter-spacing: 0;
}

body.home-premium .testimonials .section-lead {
    max-width: 760px;
    color: var(--premium-muted);
}

body.home-premium .testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    max-width: 960px;
    margin: 48px auto 0;
    border-top: 1px solid rgba(16, 36, 63, 0.3);
    border-bottom: 1px solid rgba(16, 36, 63, 0.3);
}

body.home-premium .testimonial-card {
    display: grid;
    align-content: start;
    gap: 24px;
    min-width: 0;
    padding: 32px !important;
    border: 0 !important;
    border-right: 1px solid rgba(16, 36, 63, 0.3) !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

body.home-premium .testimonial-card:last-child {
    border-right: 0 !important;
}

body.home-premium .testimonial-avatar,
body.home-premium .testimonial-photo-slot {
    width: 64px;
    height: 64px;
    min-height: 64px;
    overflow: hidden;
    border: 1px solid var(--premium-blue) !important;
    border-radius: 50% !important;
    display: grid;
    place-items: center;
    color: var(--premium-blue);
    background: #f3f6fb !important;
    font-size: 0.84rem;
    font-weight: 900;
}

body.home-premium .testimonial-avatar img,
body.home-premium .testimonial-photo-slot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.home-premium .testimonial-text {
    margin: 0;
    color: var(--premium-navy);
    font-size: 1.05rem;
    line-height: 1.62;
}

body.home-premium .testimonial-author span {
    font-size: 0.9rem;
    line-height: 1.45;
}

body.home-premium .testimonial-author {
    color: var(--premium-navy);
    font-weight: 800;
}

body.home-premium .testimonial-author span {
    display: block;
    margin-top: 4px;
    color: var(--premium-muted);
    font-size: 0.82rem;
    font-weight: 600;
}

/* Opt-in reveal state: content remains visible until script marks it pending. */

body.home-premium [data-premium-reveal] {
    transition: opacity 560ms ease, translate 560ms cubic-bezier(0.22, 1, 0.36, 1);
}

body.home-premium [data-premium-reveal].is-pending {
    opacity: 0;
    translate: 0 24px;
}

body.home-premium [data-premium-reveal]:is(.is-visible, .is-revealed) {
    opacity: 1;
    translate: 0 0;
}

/* 1024-class layouts */

@media (max-width: 1199px) {
    body.home-premium .container {
        width: min(calc(100% - 64px), 1080px);
    }

    body.home-premium .hero {
        min-height: auto;
    }

    body.home-premium .hero > .container {
        grid-template-columns: minmax(0, 0.95fr) minmax(430px, 1.05fr) !important;
        gap: 32px;
        min-height: 720px;
    }

    body.home-premium .hero-title {
        font-size: clamp(3.1rem, 5.8vw, 4.2rem) !important;
    }

    body.home-premium .hero-image.hero-stage {
        min-height: 550px;
    }

    body.home-premium .hero-trust {
        grid-template-columns: 1fr;
        border-bottom: 0;
    }

    body.home-premium .hero-trust-item {
        border-right: 0 !important;
        border-bottom: 1px solid var(--premium-line) !important;
    }

    body.home-premium .outcome-story__item {
        width: 210px;
    }

    body.home-premium .outcome-story__piece--king {
        left: -10%;
        opacity: 0.74;
    }

    body.home-premium .step-card {
        grid-template-columns: 96px minmax(200px, 0.9fr) minmax(230px, 1.1fr);
        gap: 24px;
    }

    body.home-premium .teacher-trust-layout {
        grid-template-columns: minmax(0, 1.1fr) minmax(330px, 0.9fr);
        gap: 32px;
    }

    body.home-premium .teacher-point {
        grid-template-columns: 54px 1fr;
    }

    body.home-premium .teacher-point > p {
        grid-column: 2;
    }
}

/* Mobile: 900-1100px hero and a linear outcome narrative. */

@media (max-width: 767px) {
    body.home-premium .container {
        width: calc(100% - 32px);
    }

    body.home-premium .hero {
        height: auto;
        min-height: clamp(900px, 124svh, 1100px);
        max-height: none;
        padding: 28px 0 40px !important;
        background-position: -16px 0 !important;
    }

    body.home-premium .hero::after {
        top: auto;
        width: 100%;
        height: 44%;
        clip-path: polygon(0 13%, 100% 0, 100% 100%, 0 100%);
    }

    body.home-premium .hero > .container {
        display: grid;
        grid-template-columns: 1fr !important;
        grid-template-rows: auto minmax(360px, 1fr);
        align-content: start;
        gap: 24px;
        min-height: 0;
    }

    body.home-premium .hero-content {
        max-width: none;
    }

    body.home-premium .hero-badge {
        margin-bottom: 18px;
        font-size: 0.68rem;
        line-height: 1.35;
    }

    body.home-premium .hero-title {
        max-width: 11ch;
        font-size: clamp(2.55rem, 12.2vw, 3.6rem) !important;
        line-height: 0.98 !important;
    }

    body.home-premium .hero-subtitle {
        display: block;
        margin-top: 18px;
        overflow: visible;
        font-size: 0.96rem;
        line-height: 1.48;
        -webkit-line-clamp: unset;
    }

    body.home-premium .hero-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        margin-top: 20px;
    }

    body.home-premium .hero-actions .btn-primary,
    body.home-premium .hero-actions .btn-secondary {
        width: 100%;
        min-height: 52px;
    }

    body.home-premium .hero-trust,
    body.home-premium .hero-note {
        display: none;
    }

    body.home-premium .hero-image.hero-stage {
        min-height: 390px;
        margin: 0 -16px -40px;
    }

    body.home-premium .hero-photo-aperture {
        inset: 7% 5% 4% 5%;
        clip-path: polygon(12% 0, 100% 0, 100% 86%, 86% 100%, 0 100%, 0 12%);
    }

    body.home-premium .hero-photo-aperture::after {
        border-width: 12px;
    }

    body.home-premium .hero-piece--knight {
        right: -8%;
        width: min(58%, 300px);
    }

    body.home-premium .hero-piece--rook {
        left: 0;
        width: min(31%, 150px);
    }

    body.home-premium .hero-piece--pawn {
        left: 34%;
        width: min(18%, 88px);
    }

    body.home-premium .hero-piece--king {
        left: 0;
        width: min(23%, 110px);
    }

    body.home-premium .outcome-story {
        min-height: auto;
        padding: 72px 0;
        background-position: -16px 0;
    }

    body.home-premium .outcome-story__sticky {
        position: relative;
        top: auto;
        display: grid;
        grid-template-columns: 1fr;
        place-items: stretch;
        min-height: 0;
        padding: 0 16px;
        overflow: visible;
    }

    body.home-premium .outcome-story__center {
        order: -2;
        width: 100%;
        aspect-ratio: auto;
        padding: 0 0 40px;
        border: 0;
        border-bottom: 2px solid var(--premium-blue);
        border-radius: 0;
        place-items: start;
        text-align: left;
    }

    body.home-premium .outcome-story__center::before,
    body.home-premium .outcome-story__center::after {
        display: none;
    }

    body.home-premium .outcome-story__center h2,
    body.home-premium .outcome-story__center .section-title {
        max-width: 12ch;
        font-size: clamp(2.1rem, 8.8vw, 2.7rem) !important;
        overflow-wrap: anywhere;
    }

    body.home-premium .outcome-story__item,
    body.home-premium .outcome-story__item--1,
    body.home-premium .outcome-story__item--2,
    body.home-premium .outcome-story__item--3,
    body.home-premium .outcome-story__item--4,
    body.home-premium .outcome-story__item--5 {
        position: relative;
        inset: auto;
        width: 100%;
        padding: 20px 24px 20px 54px;
        border-bottom: 1px solid rgba(16, 36, 63, 0.3);
        color: var(--premium-navy);
        opacity: 1;
        transform: none;
        text-align: left;
    }

    body.home-premium .outcome-story__item::before,
    body.home-premium .outcome-story__item--4::before,
    body.home-premium .outcome-story__item--5::before {
        top: 27px;
        right: auto;
        bottom: auto;
        left: 24px;
        background: var(--premium-green);
    }

    body.home-premium .outcome-story__piece--king {
        position: relative;
        order: -1;
        left: auto;
        bottom: auto;
        justify-self: end;
        height: 190px;
        margin: -56px 8px -20px 0;
        opacity: 0.95;
    }

    body.home-premium .outcome-story__piece--pawn {
        display: none;
    }

    body.home-premium .outcome-story__cta {
        position: relative;
        inset: auto;
        width: 100%;
        min-height: 54px;
        margin-top: 32px;
        transform: none;
    }

    body.home-premium .steps,
    body.home-premium .teacher-trust,
    body.home-premium .testimonials {
        padding: 72px 0 !important;
    }

    body.home-premium .steps::before {
        left: 0;
        width: 4px;
    }

    body.home-premium .steps .section-title,
    body.home-premium .teacher-trust-copy .section-title,
    body.home-premium .testimonials .section-title {
        margin-bottom: 32px;
        font-size: clamp(2.25rem, 10vw, 3.2rem) !important;
    }

    body.home-premium .step-card {
        grid-template-columns: 64px 1fr;
        gap: 8px 16px;
        min-height: 0;
        padding: 24px 0 !important;
    }

    body.home-premium .step-number {
        grid-row: span 2;
        align-self: start;
        font-size: 2.8rem;
    }

    body.home-premium .step-card h3 {
        font-size: 1.2rem;
    }

    body.home-premium .step-card p {
        font-size: 0.9rem;
    }

    body.home-premium .teacher-trust-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    body.home-premium .teacher-trust-copy {
        padding: 0;
    }

    body.home-premium .teacher-point {
        grid-template-columns: 46px 1fr;
        gap: 8px 14px;
    }

    body.home-premium .teacher-point > p {
        grid-column: 2;
        font-size: 0.9rem;
    }

    body.home-premium .teacher-photo-panel {
        min-height: 500px;
    }

    body.home-premium .teacher-media-column {
        grid-template-rows: auto auto;
    }

    body.home-premium .teacher-lesson-slot {
        min-height: 0;
        height: auto;
        aspect-ratio: 3 / 2;
    }

    body.home-premium .teacher-photo-cutout {
        right: -7%;
        width: 104%;
        height: 94%;
    }

    body.home-premium .teacher-photo-piece {
        left: -8%;
        bottom: -4%;
        width: 42%;
        transform: rotate(-5deg);
    }

    body.home-premium .testimonials-grid {
        grid-template-columns: 1fr;
        margin-top: 32px;
    }

    body.home-premium .testimonial-card {
        grid-template-columns: 64px 1fr;
        gap: 16px;
        padding: 24px 0 !important;
        border-right: 0 !important;
        border-bottom: 1px solid rgba(16, 36, 63, 0.3) !important;
    }

    body.home-premium .testimonial-card:last-child {
        border-bottom: 0 !important;
    }

    body.home-premium .testimonial-text,
    body.home-premium .testimonial-author {
        grid-column: 2;
    }
}

@media (max-width: 420px) {
    body.home-premium .hero-title {
        font-size: clamp(2.35rem, 11.7vw, 3.05rem) !important;
    }

    body.home-premium .hero-image.hero-stage {
        min-height: 360px;
    }

    body.home-premium .teacher-photo-panel {
        min-height: 450px;
    }
}

/* Cohesive treatment for the preserved downstream funnel. */
body.home-premium .story-section,
body.home-premium .result-section,
body.home-premium .parent-proof,
body.home-premium .pricing-preview,
body.home-premium .advantages,
body.home-premium .faq,
body.home-premium .final-cta,
body.home-premium .footer {
    background-color: var(--premium-white) !important;
    background-image: var(--premium-grid) !important;
    background-size: 48px 48px !important;
}

body.home-premium .story-section,
body.home-premium .result-section,
body.home-premium .parent-proof,
body.home-premium .pricing-preview,
body.home-premium .advantages,
body.home-premium .faq,
body.home-premium .final-cta {
    padding-block: clamp(72px, 8vw, 112px) !important;
    border-bottom: 1px solid var(--premium-line);
}

body.home-premium .section-title,
body.home-premium .story-text h2,
body.home-premium .trial-band h2,
body.home-premium .final-cta h2 {
    color: var(--premium-navy);
    letter-spacing: 0;
}

body.home-premium .story-panel {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1.18fr);
    gap: 64px;
    padding: clamp(40px, 5vw, 72px) !important;
    overflow: hidden;
    border: 0 !important;
    border-radius: 0 !important;
    color: var(--premium-white);
    background-color: var(--premium-navy) !important;
    background-image: var(--premium-grid-dark) !important;
    background-size: 48px 48px !important;
    box-shadow: none !important;
    clip-path: polygon(0 0, 96% 0, 100% 12%, 100% 100%, 4% 100%, 0 88%);
}

body.home-premium .story-kicker {
    color: var(--premium-amber);
}

body.home-premium .story-text h2,
body.home-premium .story-text p,
body.home-premium .signal-item h3 {
    color: var(--premium-white) !important;
}

body.home-premium .story-text h2 {
    font-size: clamp(2.5rem, 4.3vw, 4.6rem);
    line-height: 1.02;
}

body.home-premium .story-text p,
body.home-premium .signal-item p {
    color: rgba(255, 255, 255, 0.66) !important;
}

body.home-premium .signal-list {
    border-top: 1px solid rgba(255, 255, 255, 0.25);
}

body.home-premium .signal-item {
    padding: 22px 0 !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25) !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

body.home-premium .signal-mark {
    color: var(--premium-amber) !important;
    background: transparent !important;
}

body.home-premium .result-section .section-title,
body.home-premium .pricing-preview .section-title,
body.home-premium .advantages .section-title,
body.home-premium .faq .section-title {
    font-size: clamp(2.5rem, 4.2vw, 4.35rem);
    line-height: 1.02;
}

body.home-premium .result-grid,
body.home-premium .advantages-grid {
    gap: 0;
    margin-top: 48px;
    border-top: 1px solid rgba(16, 36, 63, 0.28);
    border-bottom: 1px solid rgba(16, 36, 63, 0.28);
}

body.home-premium .result-card,
body.home-premium .advantage-card,
body.home-premium .age-card {
    min-height: 250px;
    padding: 32px !important;
    border: 0 !important;
    border-right: 1px solid rgba(16, 36, 63, 0.28) !important;
    border-radius: 0 !important;
    background: rgba(255, 255, 255, 0.78) !important;
    box-shadow: none !important;
}

body.home-premium .result-card:last-child,
body.home-premium .advantage-card:last-child,
body.home-premium .age-card:last-child {
    border-right: 0 !important;
}

body.home-premium .result-card h3,
body.home-premium .advantage-card h3,
body.home-premium .age-card h3 {
    color: var(--premium-navy) !important;
}

body.home-premium .parent-proof-panel {
    border: 0 !important;
    border-left: 8px solid var(--premium-green) !important;
    border-radius: 0 !important;
    background: rgba(255, 255, 255, 0.9) !important;
    box-shadow: none !important;
}

body.home-premium .proof-step {
    border: 0 !important;
    border-bottom: 1px solid rgba(16, 36, 63, 0.24) !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

body.home-premium .pricing-preview-grid {
    gap: 16px;
}

body.home-premium .pricing-preview-card {
    border: 1px solid rgba(16, 36, 63, 0.22) !important;
    border-radius: 4px !important;
    background: rgba(255, 255, 255, 0.92) !important;
    box-shadow: none !important;
    transform: none !important;
}

body.home-premium .pricing-preview-card:nth-child(2) {
    border-top: 5px solid var(--premium-blue) !important;
}

body.home-premium .faq-item {
    border: 0 !important;
    border-bottom: 1px solid rgba(16, 36, 63, 0.28) !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

body.home-premium .trial-band {
    padding-block: 56px !important;
    color: var(--premium-white);
    background-color: var(--premium-blue) !important;
    background-image: var(--premium-grid-dark) !important;
    background-size: 48px 48px !important;
}

body.home-premium .trial-band h2,
body.home-premium .trial-band p {
    color: var(--premium-white) !important;
    -webkit-text-fill-color: currentColor !important;
}

body.home-premium .final-cta {
    color: var(--premium-white);
    background-color: var(--premium-navy) !important;
    background-image: var(--premium-grid-dark) !important;
}

body.home-premium .final-cta h2,
body.home-premium .final-cta p,
body.home-premium .final-cta-line {
    color: var(--premium-white) !important;
}

body.home-premium .final-cta-panel {
    border: 1px solid rgba(255, 255, 255, 0.24) !important;
    border-radius: 2px !important;
    background: rgba(255, 255, 255, 0.06) !important;
    box-shadow: none !important;
}

body.home-premium .header-actions .header-cta,
body.home-premium .btn-primary,
body.home-premium .btn-secondary {
    border-radius: 4px !important;
}

@media (max-width: 767px) {
    body.home-premium .hero-actions .btn-secondary {
        display: none;
    }

    body.home-premium .hero-stage__rail {
        right: 5%;
        bottom: 3%;
        left: 5%;
        grid-template-columns: 1fr;
    }

    body.home-premium .hero-stage__rail > div {
        padding: 12px 14px;
    }

    body.home-premium .hero-stage__rail > div + div {
        display: none;
    }

    body.home-premium .story-panel {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 32px 24px !important;
        clip-path: none;
    }

    body.home-premium .result-grid,
    body.home-premium .advantages-grid {
        grid-template-columns: 1fr;
    }

    body.home-premium .result-card,
    body.home-premium .advantage-card,
    body.home-premium .age-card {
        min-height: 0;
        padding: 24px 0 !important;
        border-right: 0 !important;
        border-bottom: 1px solid rgba(16, 36, 63, 0.28) !important;
        background: transparent !important;
    }

    body.home-premium .teacher-photo-piece {
        width: 46%;
    }
}

/* Composition refinements: clearer hero, larger story motion, swipeable reviews. */

body.home-premium .hero > .container {
    grid-template-columns: minmax(0, 1.05fr) minmax(500px, 0.95fr) !important;
}

body.home-premium .hero-title {
    max-width: 100%;
    font-size: clamp(3.2rem, 4.25vw, 4.35rem) !important;
    text-wrap: wrap;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
}

body.home-premium .hero-trust-item {
    grid-template-columns: 28px 1fr;
    align-items: center;
}

body.home-premium .hero-trust-item > span:first-child {
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    font-size: 1.05rem;
    line-height: 1;
}

body.home-premium .hero-photo-aperture {
    inset: 4% 2% 19% 7%;
}

body.home-premium .hero-stage::before {
    opacity: 0.7;
}

body.home-premium .hero-piece--knight {
    right: -1%;
    bottom: 15%;
    width: min(50%, 440px);
}

body.home-premium .hero-piece--rook {
    left: 1%;
    bottom: 23%;
    width: min(25%, 205px);
    transform: translate3d(var(--parallax-x, 0), var(--parallax-y, 0), 0) rotate(calc(-8deg + var(--parallax-r, 0deg)));
}

body.home-premium .hero-piece--pawn {
    top: 2%;
    left: 40%;
    bottom: auto;
    width: min(19%, 145px);
    transform: translate3d(var(--parallax-x, 0), var(--parallax-y, 0), 0) rotate(calc(9deg + var(--parallax-r, 0deg)));
}

body.home-premium .hero-stage__rail {
    right: 2%;
    bottom: 32px;
    left: 7%;
    color: var(--premium-navy);
    background: rgba(255, 255, 255, 0.96);
    border-top: 2px solid var(--premium-navy);
    border-bottom: 1px solid var(--premium-line);
    backdrop-filter: blur(12px);
}

body.home-premium .hero-stage__rail > div {
    padding: 14px 18px;
    border-top: 0;
}

body.home-premium .hero-stage__rail > div + div {
    border-left-color: var(--premium-line);
}

body.home-premium .hero-stage__rail strong {
    color: var(--premium-navy);
}

body.home-premium .hero-stage__rail p {
    color: var(--premium-muted);
}

body.home-premium .outcome-story__center {
    width: min(860px, 65vw);
    padding: 54px;
    transform: scale(calc(0.88 + var(--story-progress, 0) * 0.12));
    transition: transform 100ms linear;
}

body.home-premium .outcome-story__center h2,
body.home-premium .outcome-story__center .section-title {
    max-width: 100%;
    font-size: clamp(3.05rem, 4.4vw, 4.8rem);
    text-wrap: wrap;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
}

body.home-premium .outcome-story__item--1 {
    transform: translate(-50%, calc(var(--story-progress, 0) * 28px));
}

body.home-premium .outcome-story__item--2 {
    transform: translateX(calc(var(--story-progress, 0) * -150px));
}

body.home-premium .outcome-story__item--3 {
    transform: translate(calc(var(--story-progress, 0) * -112px), calc(var(--story-progress, 0) * -54px));
}

body.home-premium .outcome-story__item--4 {
    transform: translate(calc(var(--story-progress, 0) * 112px), calc(var(--story-progress, 0) * -54px));
}

body.home-premium .outcome-story__item--5 {
    transform: translateX(calc(var(--story-progress, 0) * 128px));
}

body.home-premium .outcome-story__piece--king {
    transform: translateX(calc(var(--story-progress, 0) * 42px));
}

body.home-premium .outcome-story__piece--pawn {
    right: 2%;
    height: min(36vh, 350px);
    transform: translateX(calc(var(--story-progress, 0) * -46px));
}

body.home-premium .outcome-story__cta {
    display: none !important;
}

body.home-premium .testimonials-grid {
    gap: 24px;
    border: 0;
}

body.home-premium .testimonial-card,
body.home-premium .testimonial-card:last-child {
    position: relative;
    container-type: inline-size;
    grid-template-rows: auto 1fr auto;
    gap: 22px;
    padding: 18px 24px 30px !important;
    overflow: visible;
    border: 0 !important;
    border-top: 4px solid var(--premium-blue) !important;
    border-bottom: 1px solid var(--premium-line) !important;
    background: transparent !important;
}

body.home-premium .testimonial-photo-slot,
body.home-premium .testimonial-avatar {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 5 / 4;
    overflow: hidden;
    border: 0 !important;
    border-radius: 2px !important;
    color: rgba(16, 36, 63, 0.52);
    background-color: #f4f7fb !important;
    background-image: var(--premium-grid) !important;
    background-size: 48px 48px !important;
    font-size: 0.86rem;
    text-transform: uppercase;
}

body.home-premium .testimonial-photo-slot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 44%;
}

body.home-premium .testimonial-card--alisa .testimonial-photo-slot {
    position: relative;
    background-image: url("../img/testimonial-alisa-9-v2.webp") !important;
    background-position: center !important;
    background-size: cover !important;
}

body.home-premium .testimonial-card--alisa .testimonial-photo-slot img {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
}

body.home-premium .testimonial-piece {
    position: absolute;
    z-index: 3;
    top: calc(42px + 80cqw);
    right: 2px;
    width: 30%;
    height: auto;
    filter: drop-shadow(0 14px 14px rgba(16, 36, 63, 0.22));
    transform: translate(18%, -100%);
    pointer-events: none;
}

body.home-premium .testimonial-card--artem .testimonial-piece {
    top: calc(42px + 80cqw);
    width: 34%;
    transform: translate(20%, -100%);
}

body.home-premium .testimonial-card:nth-child(2) {
    border-top-color: var(--premium-green) !important;
}

body.home-premium .testimonial-card:nth-child(3) {
    border-top-color: var(--premium-amber) !important;
}

body.home-premium .testimonial-card--alisa {
    border-top-color: var(--premium-amber) !important;
}

body.home-premium .testimonial-text {
    font-size: clamp(0.96rem, 1.1vw, 1.06rem);
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
}

@media (max-width: 760px) {
    body.home-premium .outcome-story__item::before,
    body.home-premium .outcome-story__item--4::before,
    body.home-premium .outcome-story__item--5::before {
        display: none !important;
    }

    body.home-premium .hero-title {
        max-width: none;
        font-size: clamp(2.35rem, 10.7vw, 3rem) !important;
        text-wrap: balance;
    }

    body.home-premium .hero > .container {
        grid-template-columns: 1fr !important;
    }

    body.home-premium .hero-photo-aperture {
        inset: 2% 4% 23% 4%;
    }

    body.home-premium .hero-piece--knight {
        right: -5%;
        bottom: 20%;
    }

    body.home-premium .hero-piece--rook,
    body.home-premium .hero-piece--pawn {
        bottom: 22%;
    }

    body.home-premium .hero-stage__rail {
        right: 4%;
        bottom: 0;
        left: 4%;
    }

    body.home-premium .hero-child-slot {
        top: 8%;
        right: 12%;
        bottom: 24%;
        left: 18%;
    }

    body.home-premium .hero-stage__rail strong {
        font-size: 1rem;
    }

    body.home-premium .hero-stage__rail p {
        font-size: 0.88rem;
    }

    body.home-premium .outcome-story__center {
        width: 100%;
        padding: 0 0 40px;
        transform: none;
    }

    body.home-premium .outcome-story__center h2,
    body.home-premium .outcome-story__center .section-title {
        max-width: none;
        font-size: clamp(2rem, 8.2vw, 2.45rem) !important;
        text-wrap: balance;
        overflow-wrap: normal;
    }

    body.home-premium .outcome-story__piece--king {
        transform: translateY(0) rotate(-2deg);
        animation: premium-piece-float 3.8s ease-in-out infinite;
    }

    body.home-premium .outcome-story__item,
    body.home-premium .outcome-story__item--1,
    body.home-premium .outcome-story__item--2,
    body.home-premium .outcome-story__item--3,
    body.home-premium .outcome-story__item--4,
    body.home-premium .outcome-story__item--5 {
        opacity: 0;
        transform: translateY(28px);
        transition: opacity 520ms ease, transform 520ms cubic-bezier(.2,.75,.25,1);
    }

    body.home-premium .outcome-story__item.is-in-view {
        opacity: 1;
        transform: translateY(0);
    }

    body.home-premium .outcome-story__item--2 { transition-delay: 70ms; }
    body.home-premium .outcome-story__item--3 { transition-delay: 140ms; }
    body.home-premium .outcome-story__item--4 { transition-delay: 210ms; }
    body.home-premium .outcome-story__item--5 { transition-delay: 280ms; }

    /* A scaled version of the desktop composition, not a pre-built list. */
    body.home-premium .outcome-story {
        min-height: 380vh;
        overflow: clip;
        padding: 0;
    }

    body.home-premium .outcome-story__sticky {
        position: sticky;
        top: 72px;
        left: auto;
        display: block;
        width: 100%;
        height: calc(100svh - 72px);
        min-height: 0;
        margin: 0;
        padding: 0;
        overflow: clip;
        transform: none;
    }

    body.home-premium .outcome-story__canvas {
        position: absolute;
        top: 0;
        left: 50%;
        display: block;
        width: 760px;
        height: 1560px;
        transform: translateX(-50%) scale(0.49);
        transform-origin: top center;
    }

    body.home-premium .outcome-story__center {
        position: absolute;
        z-index: 3;
        top: 380px;
        left: 55px;
        display: grid;
        width: 650px;
        aspect-ratio: 1;
        padding: 70px;
        place-items: center;
        border: 1px solid rgba(16, 36, 63, 0.22);
        border-radius: 50%;
        text-align: center;
        transform: scale(calc(0.88 + var(--story-progress, 0) * 0.12));
    }

    body.home-premium .outcome-story__center::before,
    body.home-premium .outcome-story__center::after {
        display: block;
    }

    body.home-premium .outcome-story__center h2,
    body.home-premium .outcome-story__center .section-title {
        max-width: 100%;
        font-size: 66px !important;
        line-height: 0.98;
        text-align: center;
        text-wrap: wrap;
    }

    body.home-premium .outcome-story__eyebrow {
        font-size: 22px;
    }

    body.home-premium .outcome-story__center p {
        max-width: 520px;
        font-size: 31px;
        line-height: 1.5;
    }

    body.home-premium .outcome-story__item,
    body.home-premium .outcome-story__item--1,
    body.home-premium .outcome-story__item--2,
    body.home-premium .outcome-story__item--3,
    body.home-premium .outcome-story__item--4,
    body.home-premium .outcome-story__item--5 {
        position: absolute;
        z-index: 5;
        width: 270px;
        padding: 0 0 14px;
        color: var(--premium-navy);
        opacity: calc(0.28 + var(--story-progress, 0) * 0.72);
        transition: none;
        text-align: left;
    }

    body.home-premium .outcome-story__item strong {
        font-size: 35px;
    }

    body.home-premium .outcome-story__item span {
        font-size: 23px;
    }

    body.home-premium .outcome-story__item--1 {
        top: 90px;
        left: 50%;
        transform: translate(-50%, calc(var(--story-progress, 0) * 80px));
    }

    body.home-premium .outcome-story__item--2 {
        top: 285px;
        right: 18px;
        transform: translateX(calc(var(--story-progress, 0) * -52px));
    }

    body.home-premium .outcome-story__item--3 {
        right: 28px;
        bottom: 170px;
        transform: translate(calc(var(--story-progress, 0) * -110px), calc(var(--story-progress, 0) * -70px));
    }

    body.home-premium .outcome-story__item--4 {
        bottom: 170px;
        left: 28px;
        text-align: right;
        transform: translate(calc(var(--story-progress, 0) * 110px), calc(var(--story-progress, 0) * -70px));
    }

    body.home-premium .outcome-story__item--5 {
        top: 285px;
        left: 18px;
        text-align: right;
        transform: translateX(calc(var(--story-progress, 0) * 52px));
    }

    body.home-premium .outcome-story__piece--king {
        position: absolute;
        z-index: 2;
        left: -75px;
        bottom: -80px;
        display: block;
        height: 700px;
        margin: 0;
        transform: translateX(calc(var(--story-progress, 0) * 42px));
        animation: none;
    }

    body.home-premium .outcome-story__piece--pawn {
        position: absolute;
        z-index: 2;
        right: -4px;
        bottom: 40px;
        display: block;
        height: 290px;
        transform: translateX(calc(var(--story-progress, 0) * -46px));
    }

    body.home-premium .testimonials .container {
        width: 100%;
    }

    body.home-premium .testimonials .section-title,
    body.home-premium .testimonials .section-lead {
        margin-right: 24px;
        margin-left: 24px;
    }

    body.home-premium .testimonials-grid {
        display: flex;
        gap: 14px;
        margin-top: 32px;
        padding: 0 24px 18px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-padding-left: 24px;
        scrollbar-width: none;
        overscroll-behavior-inline: contain;
    }

    body.home-premium .testimonials-grid::-webkit-scrollbar {
        display: none;
    }

    body.home-premium .testimonial-card,
    body.home-premium .testimonial-card:last-child {
        flex: 0 0 min(82vw, 340px);
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: auto 1fr auto;
        gap: 18px;
        padding: 0 20px 24px !important;
        border: 1px solid var(--premium-line) !important;
        scroll-snap-align: start;
    }

    body.home-premium .testimonial-text,
    body.home-premium .testimonial-author {
        grid-column: 1;
    }

    body.home-premium .testimonials-mobile-nav {
        display: flex;
        justify-content: flex-end;
        gap: 10px;
        padding: 0 24px;
    }

    body.home-premium .testimonials-arrow {
        display: grid;
        width: 48px;
        height: 48px;
        padding: 0;
        place-items: center;
        border: 1px solid var(--premium-navy);
        border-radius: 0;
        color: var(--premium-navy);
        background: var(--premium-white);
        font-size: 1.45rem;
        line-height: 1;
        cursor: pointer;
    }

    body.home-premium .testimonials-arrow:active {
        color: var(--premium-white);
        background: var(--premium-navy);
    }
}

@media (max-width: 370px) {
    body.home-premium .outcome-story__canvas {
        transform: translateX(-50%) scale(0.45);
    }
}

/* Native mobile composition: same scene, recomposed for a portrait viewport. */
@media (max-width: 760px) {
    body.home-premium .hero-image.hero-stage {
        height: 540px;
        min-height: 540px;
        margin: 0 -16px;
    }

    body.home-premium .hero-photo-aperture {
        inset: 2% 4% 34% 4%;
    }

    body.home-premium .hero-child-slot {
        top: 8%;
        right: -8%;
        bottom: 34%;
        left: -8%;
    }

    body.home-premium .hero-piece--knight {
        bottom: 33%;
    }

    body.home-premium .hero-piece--rook,
    body.home-premium .hero-piece--pawn {
        bottom: 35%;
    }

    body.home-premium .hero-piece--rook {
        bottom: 39%;
    }

    body.home-premium .hero-piece--pawn {
        top: 6%;
        left: 22%;
        bottom: auto;
        width: min(17%, 66px);
    }

    body.home-premium .hero-stage__rail {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        bottom: 20px;
    }

    body.home-premium .story-section .container {
        width: 100%;
        padding-right: 0 !important;
        padding-left: 0 !important;
    }

    body.home-premium .story-panel {
        width: 100%;
        padding: 40px 24px !important;
    }

    body.home-premium .hero-stage__rail > div {
        padding: 14px 12px;
    }

    body.home-premium .hero-stage__rail > div + div {
        display: block !important;
    }

    body.home-premium .outcome-story__canvas {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        transform: none;
    }

    body.home-premium .outcome-story__center {
        top: 23%;
        left: 50%;
        width: min(88vw, 356px);
        padding: 34px 24px;
        transform: translateX(-50%) scale(calc(0.9 + var(--story-progress, 0) * 0.1));
    }

    body.home-premium .outcome-story__center h2,
    body.home-premium .outcome-story__center .section-title {
        font-size: clamp(1.85rem, 8vw, 2.15rem) !important;
        line-height: 1.02;
    }

    body.home-premium .outcome-story__eyebrow {
        margin-bottom: 10px;
        font-size: 0.72rem;
    }

    body.home-premium .outcome-story__center p {
        max-width: 290px;
        margin-top: 16px;
        font-size: 1rem;
        line-height: 1.42;
    }

    body.home-premium .outcome-story__item,
    body.home-premium .outcome-story__item--1,
    body.home-premium .outcome-story__item--2,
    body.home-premium .outcome-story__item--3,
    body.home-premium .outcome-story__item--4,
    body.home-premium .outcome-story__item--5 {
        width: min(40vw, 158px);
        padding-bottom: 8px;
        opacity: var(--item-progress, 0);
        transform: translate3d(var(--item-x, 0), var(--item-y, 0), 0);
        transition: none;
    }

    body.home-premium .outcome-story__item strong {
        font-size: 1.02rem;
        line-height: 1.15;
    }

    body.home-premium .outcome-story__item span {
        margin-bottom: 4px;
        font-size: 0.72rem;
    }

    body.home-premium .outcome-story__item--1 {
        top: 4%;
        right: 30%;
        left: 30%;
        width: auto;
        text-align: center;
        transform: translate3d(var(--item-x, 0px), var(--item-y, 0px), 0);
    }

    body.home-premium .outcome-story__item--2 {
        top: 15%;
        right: 3%;
    }

    body.home-premium .outcome-story__item--5 {
        top: 15%;
        left: 3%;
    }

    body.home-premium .outcome-story__item--3 {
        top: 69%;
        right: 3%;
    }

    body.home-premium .outcome-story__item--4 {
        top: 69%;
        left: 3%;
    }

    body.home-premium .outcome-story__piece--king {
        left: -22px;
        bottom: -20px;
        height: 230px;
        transform: translateX(calc(-110px + var(--story-progress, 0) * 110px));
    }

    body.home-premium .outcome-story__piece--pawn {
        right: 18px;
        bottom: 16px;
        height: 112px;
        transform: translateX(calc(100px - var(--story-progress, 0) * 100px));
    }

    body.home-premium .testimonials-carousel {
        position: relative;
    }

    body.home-premium .testimonials-grid {
        scroll-behavior: smooth;
    }

    body.home-premium .testimonials-mobile-nav {
        position: absolute;
        z-index: 5;
        top: 50%;
        right: 10px;
        left: 10px;
        display: flex;
        justify-content: space-between;
        padding: 0;
        transform: translateY(-50%);
        pointer-events: none;
    }

    body.home-premium .testimonials-arrow {
        width: 44px;
        height: 44px;
        border: 1px solid rgba(16, 36, 63, 0.18);
        border-radius: 50%;
        color: var(--premium-navy);
        background: rgba(255, 255, 255, 0.96);
        box-shadow: 0 8px 22px rgba(16, 36, 63, 0.16);
        font-size: 2rem;
        font-weight: 400;
        line-height: 1;
        pointer-events: auto;
    }
}

@keyframes premium-piece-float {
    0%, 100% { transform: translateY(0) rotate(-2deg); }
    50% { transform: translateY(-12px) rotate(1deg); }
}

@media (prefers-reduced-motion: reduce) {
    body.home-premium *,
    body.home-premium *::before,
    body.home-premium *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    body.home-premium .hero-piece--knight,
    body.home-premium .hero-piece--rook,
    body.home-premium .hero-piece--pawn,
    body.home-premium .hero-piece--king {
        transform: none;
        will-change: auto;
    }

    body.home-premium [data-premium-reveal],
    body.home-premium [data-premium-reveal].is-pending,
    body.home-premium .outcome-story__item {
        opacity: 1;
        translate: none;
        transform: none;
        animation: none;
    }
}

/* Outcome labels read as compact information blocks instead of underlined captions. */
body.home-premium .outcome-story__item,
body.home-premium .outcome-story__item--1,
body.home-premium .outcome-story__item--2,
body.home-premium .outcome-story__item--3,
body.home-premium .outcome-story__item--4,
body.home-premium .outcome-story__item--5 {
    width: min(280px, 21vw);
    padding: 16px 18px;
    border: 1px solid rgba(36, 87, 197, 0.28);
    border-left: 4px solid var(--premium-blue);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 12px 28px rgba(16, 36, 63, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

body.home-premium .outcome-story__item::before,
body.home-premium .outcome-story__item--4::before,
body.home-premium .outcome-story__item--5::before {
    display: none !important;
}

@media (min-width: 761px) {
    body.home-premium .outcome-story {
        min-height: 190vh;
    }

    body.home-premium .outcome-story__sticky {
        min-height: 100svh;
        padding: 0;
    }

    body.home-premium .outcome-story__canvas {
        position: relative;
        display: block;
        width: min(1440px, 100vw, 160svh);
        aspect-ratio: 16 / 9;
        container-type: size;
    }

    body.home-premium .outcome-story__center {
        position: absolute;
        top: 50%;
        left: 50%;
        width: min(65cqw, 88cqh);
        padding: min(3.75cqw, 6.5cqh);
        transform: translate(-50%, -50%);
    }

    body.home-premium .outcome-story__center h2,
    body.home-premium .outcome-story__center .section-title {
        font-size: clamp(3rem, 4.4cqw, 4.8rem);
    }

    body.home-premium .outcome-story__item,
    body.home-premium .outcome-story__item--1,
    body.home-premium .outcome-story__item--2,
    body.home-premium .outcome-story__item--3,
    body.home-premium .outcome-story__item--4,
    body.home-premium .outcome-story__item--5 {
        display: flex;
        align-items: center;
        justify-content: center;
        width: max-content;
        min-width: clamp(210px, 18cqw, 260px);
        min-height: 68px;
        padding: 16px 24px;
        border: 0;
        border-left: 0;
        color: #ffffff !important;
        text-align: center;
        white-space: nowrap;
        box-shadow: 0 16px 36px rgba(16, 36, 63, 0.16);
    }

    body.home-premium .outcome-story__item--1 {
        background: #2457c5;
        min-width: clamp(270px, 24cqw, 340px);
        transform: translate(-50%, calc(var(--story-progress, 0) * 35cqh));
    }

    body.home-premium .outcome-story__item--2 {
        background: #168f63;
        transform: translate(calc(var(--story-progress, 0) * -23cqw), calc(var(--story-progress, 0) * 2cqh)) rotate(calc(var(--story-progress, 0) * 6deg));
    }

    body.home-premium .outcome-story__item--3 {
        color: #10243f !important;
        background: #f5b82e;
        transform: translate(calc(var(--story-progress, 0) * -18cqw), calc(var(--story-progress, 0) * -25cqh)) rotate(calc(var(--story-progress, 0) * -5deg));
    }

    body.home-premium .outcome-story__item--4 {
        background: #e96b5b;
        transform: translate(calc(var(--story-progress, 0) * 14cqw), calc(var(--story-progress, 0) * -25cqh)) rotate(calc(var(--story-progress, 0) * 7deg));
    }

    body.home-premium .outcome-story__item--5 {
        background: #10243f;
        transform: translate(calc(var(--story-progress, 0) * 20cqw), calc(var(--story-progress, 0) * 2cqh)) rotate(calc(var(--story-progress, 0) * -8deg));
    }

    body.home-premium .outcome-story__item strong {
        color: inherit !important;
        font-size: clamp(1rem, 1.33cqw, 1.2rem);
        line-height: 1.2;
    }

    body.home-premium .outcome-story__piece--king {
        left: 1cqw;
        bottom: -7%;
        height: min(62cqh, 560px);
        transform: translateX(calc(var(--story-progress, 0) * 28px));
    }

    body.home-premium .outcome-story__piece--pawn {
        right: 2cqw;
        bottom: 2%;
        height: min(36cqh, 350px);
    }
}

@media (max-width: 760px) {
    body.home-premium .outcome-story {
        min-height: 190vh;
    }

    body.home-premium .outcome-story__canvas {
        position: absolute;
        inset: 0;
        display: block;
        width: 100%;
        height: 100%;
        transform: none;
    }

    body.home-premium .outcome-story__center {
        position: absolute;
        top: 48%;
        left: 50%;
        width: min(86vw, 52svh);
        aspect-ratio: 1;
        padding: clamp(22px, 7vw, 34px);
        border: 1px solid rgba(16, 36, 63, 0.22);
        border-radius: 50%;
        place-items: center;
        text-align: center;
        transform: translate(-50%, -50%) scale(calc(0.88 + var(--story-progress, 0) * 0.12));
    }

    body.home-premium .outcome-story__center h2,
    body.home-premium .outcome-story__center .section-title {
        max-width: 100%;
        font-size: clamp(2rem, 8.2vw, 2.55rem) !important;
        line-height: 1.02;
        text-align: center;
        transform: translateY(30px);
    }

    body.home-premium .outcome-story__piece--king {
        position: absolute;
        left: -3vw;
        bottom: -4%;
        display: block;
        height: min(43svh, 84vw);
        margin: 0;
        transform: none;
        animation: none;
    }

    body.home-premium .outcome-story__piece--pawn {
        position: absolute;
        right: 4vw;
        bottom: 5%;
        display: block;
        height: min(19svh, 34vw);
        transform: none;
    }

    body.home-premium .outcome-story__item,
    body.home-premium .outcome-story__item--1,
    body.home-premium .outcome-story__item--2,
    body.home-premium .outcome-story__item--3,
    body.home-premium .outcome-story__item--4,
    body.home-premium .outcome-story__item--5 {
        box-sizing: border-box;
        top: 50%;
        right: auto;
        bottom: auto;
        left: 50%;
        width: max-content;
        min-width: 0;
        min-height: 44px;
        max-width: 84vw;
        padding: 9px 15px;
        border: 0;
        color: #ffffff !important;
        text-align: center;
        white-space: nowrap;
        box-shadow: 0 7px 16px rgba(16, 36, 63, 0.13);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        backface-visibility: hidden;
        contain: layout paint style;
        will-change: transform;
    }

    body.home-premium .outcome-story__item--1 {
        margin-left: 0;
        min-width: min(76vw, 280px);
        background: #2457c5;
        transform: translate(calc(-50% + var(--item-x, 0px)), calc(-50% + var(--item-y, 0px) - var(--story-progress, 0) * 116px));
    }
    body.home-premium .outcome-story__item--2 {
        background: #168f63;
        transform: translate(calc(-50% + var(--item-x, 0px)), calc(-50% + var(--item-y, 0px) - var(--story-progress, 0) * 58px)) rotate(calc(var(--story-progress, 0) * 4deg));
    }
    body.home-premium .outcome-story__item--3 {
        color: #10243f !important;
        background: #f5b82e;
        transform: translate(calc(-50% + var(--item-x, 0px)), calc(-50% + var(--item-y, 0px) + var(--story-progress, 0) * 116px)) rotate(calc(var(--story-progress, 0) * -4deg));
    }
    body.home-premium .outcome-story__item--4 {
        background: #e96b5b;
        transform: translate(calc(-50% + var(--item-x, 0px)), calc(-50% + var(--item-y, 0px) + var(--story-progress, 0) * 58px)) rotate(calc(var(--story-progress, 0) * 4deg));
    }
    body.home-premium .outcome-story__item--5 {
        background: #10243f;
        transform: translate(calc(-50% + var(--item-x, 0px)), calc(-50% + var(--item-y, 0px))) rotate(calc(var(--story-progress, 0) * -4deg));
    }

    body.home-premium .outcome-story__item strong {
        color: inherit !important;
        font-size: clamp(0.76rem, 3.45vw, 0.92rem);
        line-height: 1.15;
    }

    body.home-premium .outcome-story__item,
    body.home-premium .outcome-story__item--1,
    body.home-premium .outcome-story__item--2,
    body.home-premium .outcome-story__item--3,
    body.home-premium .outcome-story__item--4,
    body.home-premium .outcome-story__item--5 {
        transform: translate(-50%, -50%);
    }
}
