/* Dreams2Legacy — Northern Legacy Path */
:root {
    --premium-mist: #dce9e5;
    --premium-mist-strong: #bdd3cf;
    --premium-coral: #b8792f;
    --premium-plum: #4d858b;
    --premium-sage: #86a99a;
    --premium-gold: #d3a354;
    --premium-shadow: 0 28px 70px rgba(18, 54, 49, .16);
    --premium-ease: cubic-bezier(.22, .78, .24, 1);
}

html[data-theme="dark"] {
    --premium-mist: #12302c;
    --premium-mist-strong: #1c4540;
    --premium-coral: #f0c779;
    --premium-plum: #8dbabd;
    --premium-sage: #8eb6a5;
    --premium-gold: #e0b15f;
    --premium-shadow: 0 30px 80px rgba(0, 7, 6, .52);
}

.home-page main { overflow: clip; }
.site-header { isolation: isolate; }
.brand-mark { object-fit: contain; filter: none; }

.legacy-hero-slider {
    position: relative;
    margin-top: -96px;
    padding: 96px 0 20px;
    isolation: isolate;
}

.legacy-hero-slider::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 24% 0 -9%;
    background: radial-gradient(circle at 50% 20%, color-mix(in srgb, var(--lilac-soft) 68%, transparent), transparent 62%);
    pointer-events: none;
}

.legacy-hero-stage {
    --hero-autoplay-duration: 7600ms;
    position: relative;
    min-height: clamp(650px, 75vh, 790px);
    overflow: hidden;
    border-radius: 34px;
    background: #092824;
    box-shadow: 0 28px 72px rgba(12, 45, 41, .24), -7px -7px 20px rgba(255, 255, 255, .56);
    isolation: isolate;
    touch-action: pan-y;
}

html[data-theme="dark"] .legacy-hero-stage {
    background: #031411;
    box-shadow: 0 30px 82px rgba(0, 6, 5, .7), -6px -6px 18px rgba(40, 75, 68, .28);
}

.legacy-hero-slide {
    position: absolute;
    z-index: 0;
    inset: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.legacy-hero-slide:first-child,
.legacy-hero-slide.is-active {
    z-index: 1;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.legacy-hero-slider.is-enhanced .legacy-hero-slide {
    transition: opacity .62s ease, visibility 0s linear .68s;
}

.legacy-hero-slider.is-enhanced .legacy-hero-slide.is-active {
    transition-delay: 0s;
}

.legacy-hero-media,
.legacy-hero-media img,
.legacy-hero-shade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.legacy-hero-media {
    overflow: hidden;
    clip-path: inset(0 0 0 13% round 34px);
    transform: scale(1.018);
    transition: clip-path .92s var(--premium-ease), transform 1.1s var(--premium-ease);
}

.legacy-hero-slider[data-direction="previous"] .legacy-hero-media {
    clip-path: inset(0 13% 0 0 round 34px);
}

.legacy-hero-slide.is-active .legacy-hero-media {
    clip-path: inset(0 0 0 0 round 34px);
    transform: none;
}

.legacy-hero-media img {
    object-fit: cover;
    object-position: 61% center;
    transform: scale(1.075);
    filter: saturate(.88) contrast(1.03) brightness(.86);
    transition: transform 7.8s cubic-bezier(.16, 1, .3, 1), filter .55s ease;
}

.legacy-hero-slide.is-active .legacy-hero-media img { transform: scale(1.018); }
.legacy-hero-slide-home .legacy-hero-media img { object-position: 62% center; }
.legacy-hero-slide-business .legacy-hero-media img { object-position: 61% center; }
.legacy-hero-slide-legacy .legacy-hero-media img { object-position: 57% center; }

html[data-theme="dark"] .legacy-hero-media img {
    filter: saturate(.82) contrast(1.06) brightness(.72);
}

html[data-theme="dark"] .story-image-shell img {
    filter: brightness(.82) saturate(.87) contrast(1.05);
}

.legacy-hero-shade {
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(3, 24, 21, .97) 0%, rgba(4, 28, 24, .9) 35%, rgba(5, 29, 25, .54) 57%, rgba(3, 21, 18, .1) 76%),
        linear-gradient(0deg, rgba(2, 20, 17, .88) 0%, rgba(2, 20, 17, .08) 42%, rgba(2, 20, 17, .24) 100%);
    pointer-events: none;
}

.legacy-hero-content {
    position: absolute;
    z-index: 2;
    inset: 0;
    padding: clamp(122px, 13vh, 152px) clamp(32px, 5.2vw, 72px) 194px;
    display: flex;
    align-items: center;
    pointer-events: none;
}

.legacy-hero-copy {
    width: min(650px, 57%);
    color: #f7f6ef;
    pointer-events: auto;
}

.legacy-hero-copy h1,
.legacy-hero-copy h2 {
    max-width: 650px;
    margin: 0 0 18px;
    color: #fbfaf5;
    font-family: var(--font-display);
    font-size: clamp(3.35rem, 5.15vw, 5.55rem);
    font-weight: 610;
    line-height: .91;
    letter-spacing: -.04em;
    text-wrap: balance;
}

.legacy-hero-copy h2 { font-size: clamp(3.15rem, 4.8vw, 5.15rem); }

.legacy-hero-copy h1 em,
.legacy-hero-copy h2 em {
    display: block;
    color: #efc66f;
    font-style: normal;
    font-weight: 520;
}

.legacy-hero-copy > p {
    max-width: 58ch;
    margin: 0 0 23px;
    color: rgba(247, 246, 239, .9);
    font-size: clamp(1rem, 1.25vw, 1.14rem);
    line-height: 1.58;
}

.legacy-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 18px;
}

.legacy-hero-actions .button-primary {
    box-shadow: 0 12px 26px rgba(0, 10, 8, .34), -3px -3px 10px rgba(255, 239, 193, .2);
}

.legacy-hero-link {
    min-height: 44px;
    padding: 10px 1px 8px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid rgba(247, 246, 239, .7);
    color: #fbfaf5;
    font-size: .93rem;
    font-weight: 760;
    text-decoration: none;
    transition: color .22s ease, border-color .22s ease, transform .22s ease;
}

.legacy-hero-link:hover {
    border-color: #efc66f;
    color: #efc66f;
    transform: translateX(3px);
}

.legacy-hero-link:focus-visible {
    border-radius: 8px;
    outline: 3px solid #9dcdd0;
    outline-offset: 4px;
}

.legacy-hero-facts {
    margin: 19px 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    list-style: none;
}

.legacy-hero-facts li {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: rgba(247, 246, 239, .82);
    font-size: .75rem;
    font-weight: 690;
}

.legacy-hero-facts .icon { width: 15px; color: #efc66f; }

.legacy-hero-slider.is-enhanced .legacy-hero-copy > * {
    opacity: 0;
    filter: blur(8px);
    transform: translateY(22px);
    transition:
        opacity .58s ease,
        filter .72s var(--premium-ease),
        transform .72s var(--premium-ease);
}

.legacy-hero-slider.is-enhanced .legacy-hero-slide.is-active .legacy-hero-copy > * {
    opacity: 1;
    filter: none;
    transform: none;
}

.legacy-hero-slider.is-enhanced .legacy-hero-slide.is-active .legacy-hero-copy > :nth-child(2) { transition-delay: .08s; }
.legacy-hero-slider.is-enhanced .legacy-hero-slide.is-active .legacy-hero-copy > :nth-child(3) { transition-delay: .16s; }
.legacy-hero-slider.is-enhanced .legacy-hero-slide.is-active .legacy-hero-copy > :nth-child(4) { transition-delay: .23s; }

.legacy-hero-liquid.liquid-orb-shell {
    position: absolute;
    z-index: 3;
    top: 30px;
    right: 30px;
    width: 104px;
    aspect-ratio: 1;
    border: 1px solid rgba(247, 246, 239, .34);
    border-radius: 50%;
    background: radial-gradient(circle at 33% 27%, rgba(255, 255, 255, .42), rgba(114, 165, 166, .22) 52%, rgba(6, 35, 30, .08) 74%);
    filter: drop-shadow(0 22px 30px rgba(0, 15, 13, .32));
    opacity: .88;
    pointer-events: none;
}

.liquid-orb-shell canvas { width: 100%; height: 100%; }

.liquid-orb-fallback {
    position: absolute;
    inset: 20%;
    display: none;
    border-radius: 44% 56% 62% 38% / 49% 39% 61% 51%;
    background: linear-gradient(145deg, var(--coral-strong), var(--lilac-strong));
    box-shadow: inset 12px 12px 22px rgba(255, 255, 255, .25);
}

.is-webgl-fallback canvas { display: none; }
.is-webgl-fallback .liquid-orb-fallback { display: block; }

.legacy-hero-dock {
    position: absolute;
    z-index: 5;
    right: 18px;
    bottom: 18px;
    left: 18px;
    padding: 12px;
    display: none;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    border-radius: 16px;
    background: rgba(249, 248, 241, .95);
    box-shadow: 0 14px 34px rgba(0, 18, 15, .32), -3px -3px 10px rgba(255, 255, 255, .35);
    color: #0b2f2c;
}

.legacy-hero-slider.is-enhanced .legacy-hero-dock { display: grid; }

html[data-theme="dark"] .legacy-hero-dock {
    background: rgba(14, 40, 36, .97);
    box-shadow: 0 16px 38px rgba(0, 5, 4, .68), -3px -3px 10px rgba(53, 86, 79, .25);
    color: #f5f8f3;
}

.legacy-hero-transport {
    display: grid;
    grid-template-columns: 44px auto 44px 44px;
    align-items: center;
    gap: 6px;
}

.legacy-hero-arrow,
.legacy-hero-toggle {
    width: 44px;
    height: 44px;
    padding: 0;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 12px;
    background: #e4ece7;
    box-shadow: 4px 5px 11px rgba(32, 60, 55, .18), -3px -3px 8px rgba(255, 255, 255, .82);
    color: #173d38;
    cursor: pointer;
    transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}

html[data-theme="dark"] .legacy-hero-arrow,
html[data-theme="dark"] .legacy-hero-toggle {
    background: #1c443d;
    box-shadow: 4px 5px 11px rgba(0, 8, 7, .52), -3px -3px 8px rgba(52, 86, 79, .28);
    color: #f5f8f3;
}

.legacy-hero-arrow:hover,
.legacy-hero-toggle:hover { transform: translateY(-2px); }

.legacy-hero-arrow:active,
.legacy-hero-toggle:active {
    transform: translateY(1px) scale(.985);
    box-shadow: inset 3px 3px 8px rgba(24, 56, 50, .2), inset -3px -3px 7px rgba(255, 255, 255, .66);
}

.legacy-hero-arrow:focus-visible,
.legacy-hero-toggle:focus-visible,
.legacy-hero-tab:focus-visible {
    outline: 3px solid var(--lilac-strong);
    outline-offset: 3px;
}

.legacy-hero-arrow .icon,
.legacy-hero-toggle .icon { width: 18px; }
.legacy-hero-arrow-previous .icon { transform: rotate(180deg); }
.legacy-hero-count { margin: 0 6px; font-size: .72rem; font-weight: 820; letter-spacing: .04em; white-space: nowrap; }
.legacy-hero-count [data-hero-current] { color: var(--coral-strong); font-size: .92rem; }
.legacy-hero-toggle-play { display: none; }
.legacy-hero-toggle.is-user-paused .legacy-hero-toggle-pause { display: none; }
.legacy-hero-toggle.is-user-paused .legacy-hero-toggle-play { display: inline-flex; }

.legacy-hero-tabs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 5px;
}

.legacy-hero-tab {
    position: relative;
    min-width: 0;
    min-height: 48px;
    padding: 8px 10px 11px;
    border: 0;
    border-radius: 11px;
    background: transparent;
    color: #49655f;
    cursor: pointer;
    font: inherit;
    text-align: left;
    transition: background-color .2s ease, color .2s ease, transform .2s ease;
}

html[data-theme="dark"] .legacy-hero-tab { color: #aabbb5; }
.legacy-hero-tab:hover { background: rgba(108, 156, 162, .12); color: #0b2f2c; }
html[data-theme="dark"] .legacy-hero-tab:hover { color: #f5f8f3; }
.legacy-hero-tab.is-active { background: #e8eee9; color: #0b2f2c; }
html[data-theme="dark"] .legacy-hero-tab.is-active { background: #21423b; color: #f5f8f3; }

.legacy-hero-tab > span:first-child {
    display: block;
    overflow: hidden;
    font-size: .67rem;
    font-weight: 800;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.legacy-hero-progress {
    position: absolute;
    right: 10px;
    bottom: 7px;
    left: 10px;
    height: 2px;
    overflow: hidden;
    border-radius: 2px;
    background: rgba(47, 109, 114, .17);
}

.legacy-hero-progress i {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    background: var(--coral-strong);
    transform: scaleX(0);
    transform-origin: left;
}

.legacy-hero-tab.is-active .legacy-hero-progress i { transform: scaleX(.18); }
.legacy-hero-slider.is-running .legacy-hero-tab.is-active .legacy-hero-progress i {
    animation: legacy-hero-progress var(--hero-autoplay-duration) linear both;
}

@keyframes legacy-hero-progress {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

.continuity-ribbon {
    position: relative;
    z-index: 5;
    width: min(calc(100% - 40px), 1260px);
    margin: -5px auto 0;
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--line-strong) 55%, transparent);
    border-radius: 22px;
    background: var(--surface-raised);
    box-shadow: var(--shadow-raised-small);
}

.continuity-ribbon::before,
.continuity-ribbon::after {
    content: "";
    position: absolute;
    z-index: 2;
    top: 0;
    bottom: 0;
    width: 100px;
    pointer-events: none;
}

.continuity-ribbon::before { left: 0; background: linear-gradient(90deg, var(--surface-raised), transparent); }
.continuity-ribbon::after { right: 0; background: linear-gradient(-90deg, var(--surface-raised), transparent); }

.continuity-ribbon-track {
    width: max-content;
    padding: 15px 0;
    display: flex;
    align-items: center;
    animation: ribbon-drift 30s linear infinite;
}

.continuity-ribbon span {
    display: inline-flex;
    align-items: center;
    gap: 22px;
    padding-left: 22px;
    color: var(--ink-strong);
    font-size: .76rem;
    font-weight: 820;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.continuity-ribbon span::after {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--coral-strong);
    box-shadow: 0 0 0 5px color-mix(in srgb, var(--coral-soft) 45%, transparent);
}

@keyframes ribbon-drift { to { transform: translateX(-50%); } }

.premium-section { padding: 80px 0; }
.premium-section-heading { max-width: 760px; margin-bottom: 42px; }
.premium-section-heading h2 { margin-bottom: 16px; text-wrap: balance; }
.premium-section-heading p:last-child { max-width: 680px; margin-bottom: 0; color: var(--muted); font-size: 1.06rem; }

.story-section { position: relative; padding-top: 96px; }
.story-section::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 12%;
    right: -14%;
    width: 48vw;
    aspect-ratio: 1;
    border-radius: 50%;
    background: color-mix(in srgb, var(--lilac-soft) 36%, transparent);
}

.story-layout {
    display: grid;
    grid-template-columns: minmax(380px, .94fr) minmax(0, 1.06fr);
    align-items: start;
    gap: clamp(48px, 7vw, 96px);
}

.story-visual { position: sticky; top: 112px; }

.story-image-shell {
    --story-shift-x: 0px;
    --story-shift-y: 0px;
    position: relative;
    overflow: hidden;
    aspect-ratio: 1.08;
    border: 1px solid color-mix(in srgb, var(--line-strong) 48%, transparent);
    border-radius: 36px;
    background: var(--premium-mist);
    box-shadow: var(--premium-shadow);
    isolation: isolate;
}

.story-frame {
    position: absolute;
    inset: 0;
    margin: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    clip-path: inset(0 0 0 100% round 36px);
    transform: scale(.985);
    transition: opacity .32s ease, visibility 0s linear .44s, clip-path .44s var(--premium-ease), transform .44s var(--premium-ease);
}

.story-frame.is-active {
    z-index: 1;
    opacity: 1;
    visibility: visible;
    clip-path: inset(0 0 0 0 round 36px);
    transform: none;
    transition-delay: 0s;
}

.story-frame picture { display: block; width: 100%; height: 100%; }

.story-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 48%, rgba(9, 25, 22, .76));
    pointer-events: none;
}

.story-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate3d(var(--story-shift-x), var(--story-shift-y), 0) scale(1.045);
    transition: transform .44s var(--premium-ease), filter .25s ease;
}

.story-frame:nth-child(1) img { object-position: 58% center; }
.story-frame:nth-child(2) img { object-position: 42% center; }
.story-frame:nth-child(3) img { object-position: 55% center; }
.story-frame:nth-child(4) img { object-position: 57% center; }

.story-frame figcaption {
    position: absolute;
    z-index: 3;
    right: 24px;
    bottom: 24px;
    left: 24px;
    margin: 0;
    color: #fffaf2;
    line-height: 1.3;
}

.story-frame figcaption span,
.story-frame figcaption strong { display: block; }
.story-frame figcaption span { margin-bottom: 4px; color: #f0c779; font-size: .7rem; font-weight: 820; letter-spacing: .08em; text-transform: uppercase; }
.story-frame figcaption strong { max-width: 390px; font-family: var(--font-display); font-size: clamp(1.15rem, 2vw, 1.55rem); font-weight: 690; }

.story-frame-index {
    position: absolute;
    z-index: 5;
    top: 18px;
    right: 18px;
    margin: 0;
    padding: 8px 10px;
    display: inline-flex;
    align-items: baseline;
    gap: 5px;
    border: 1px solid rgba(255, 255, 255, .32);
    border-radius: 12px;
    background: rgba(15, 33, 29, .65);
    box-shadow: 0 10px 24px rgba(8, 17, 15, .16);
    color: rgba(255, 255, 255, .68);
    font-size: .64rem;
    font-weight: 760;
    backdrop-filter: blur(8px);
}

.story-frame-index span:first-child {
    color: #fff;
    font-family: var(--font-display);
    font-size: 1rem;
}

.story-progress {
    margin: 14px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    list-style: none;
}

.story-progress li { min-width: 0; }

.story-progress button {
    position: relative;
    width: 100%;
    min-height: 44px;
    padding: 8px 6px 10px;
    overflow: hidden;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: var(--muted);
    font: inherit;
    font-size: .72rem;
    font-weight: 760;
    cursor: pointer;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}

.story-progress button::after {
    content: "";
    position: absolute;
    right: 8px;
    bottom: 5px;
    left: 8px;
    height: 3px;
    border-radius: 99px;
    background: var(--coral-strong);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .32s var(--premium-ease);
}

.story-progress button:hover { background: color-mix(in srgb, var(--surface-raised) 70%, transparent); color: var(--ink-strong); }
.story-progress button:active { transform: scale(.97); }
.story-progress button.is-active { background: var(--surface-raised); color: var(--ink-strong); box-shadow: var(--shadow-raised-small); }
.story-progress button.is-active::after { transform: scaleX(1); }
.story-chapters { padding-top: 8px; }

.story-chapter {
    min-height: 260px;
    padding: 32px 0 56px 46px;
    border-left: 1px solid var(--line);
    opacity: .48;
    transition: opacity .36s ease;
}

.story-chapter:last-child { min-height: 210px; }
.story-chapter.is-active { opacity: 1; }

.story-chapter-number {
    position: relative;
    display: inline-flex;
    margin-bottom: 19px;
    color: var(--coral-strong);
    font-size: .78rem;
    font-weight: 850;
    letter-spacing: .1em;
}

.story-chapter-number::before {
    content: "";
    position: absolute;
    top: 4px;
    left: -54px;
    width: 15px;
    height: 15px;
    border: 4px solid var(--bg);
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--coral-strong) 35%, transparent);
}

.story-chapter h3 { max-width: 570px; margin-bottom: 13px; font-size: clamp(1.65rem, 3vw, 2.35rem); }
.story-chapter p { max-width: 590px; margin-bottom: 0; color: var(--muted); }

.planning-atlas {
    position: relative;
    background: color-mix(in srgb, var(--premium-mist) 48%, var(--bg));
    isolation: isolate;
}

.planning-atlas::before {
    content: "";
    position: absolute;
    z-index: -1;
    right: -9vw;
    bottom: -18vw;
    width: 42vw;
    aspect-ratio: 1;
    border: 1px solid color-mix(in srgb, var(--coral-strong) 20%, transparent);
    border-radius: 50%;
}

.planning-atlas-heading {
    margin-bottom: 34px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 28px;
}

.planning-atlas-heading h2 { max-width: 790px; margin-bottom: 14px; text-wrap: balance; }
.planning-atlas-heading p { max-width: 720px; margin: 0; color: var(--muted); font-size: 1.03rem; }
.planning-atlas-heading .text-link { margin-bottom: 5px; white-space: nowrap; }

.planning-atlas-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(300px, .7fr);
    align-items: stretch;
    gap: 28px;
}

.planning-orbit {
    position: relative;
    min-height: 560px;
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--line-strong) 50%, transparent);
    border-radius: 38px;
    background:
        radial-gradient(circle at 50% 47%, color-mix(in srgb, var(--coral-soft) 45%, transparent), transparent 24%),
        radial-gradient(circle at 13% 17%, color-mix(in srgb, var(--lilac-soft) 60%, transparent), transparent 30%),
        var(--surface-raised);
    box-shadow: var(--premium-shadow);
}

.planning-thread {
    position: absolute;
    inset: 2% 1%;
    width: 98%;
    height: 96%;
    overflow: visible;
}

.planning-thread path { fill: none; vector-effect: non-scaling-stroke; }
.planning-thread-shadow { stroke: color-mix(in srgb, var(--line-strong) 50%, transparent); stroke-width: 2; stroke-dasharray: 5 10; }
.planning-thread-path {
    stroke: var(--coral-strong);
    stroke-width: 4;
    stroke-linecap: round;
    stroke-dasharray: 1;
    stroke-dashoffset: 0;
}

.motion-ready .planning-orbit .planning-thread-path { stroke-dashoffset: 1; }
.motion-ready .planning-orbit.is-visible .planning-thread-path { stroke-dashoffset: 0; transition: stroke-dashoffset 1.15s var(--premium-ease) .12s; }

.planning-core {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    width: 230px;
    min-height: 170px;
    padding: 24px;
    display: grid;
    place-content: center;
    border: 1px solid color-mix(in srgb, var(--line-strong) 50%, transparent);
    border-radius: 47% 53% 45% 55% / 53% 45% 55% 47%;
    background: var(--ink-strong);
    box-shadow: inset 10px 10px 24px color-mix(in srgb, var(--surface-raised) 10%, transparent), 0 22px 45px rgba(26, 37, 34, .2);
    color: var(--surface-raised);
    text-align: center;
    transform: translate(-50%, -50%) rotate(-2deg);
}

.planning-core span,
.planning-core strong,
.planning-core small { display: block; }
.planning-core span { margin-bottom: 3px; color: var(--premium-coral); font-size: .7rem; font-weight: 820; letter-spacing: .1em; text-transform: uppercase; }
.planning-core strong { font-family: var(--font-display); font-size: 1.65rem; line-height: 1.05; }
.planning-core small { margin-top: 8px; color: color-mix(in srgb, var(--surface-raised) 74%, transparent); font-size: .68rem; }

.planning-node {
    position: absolute;
    z-index: 3;
    width: min(29%, 202px);
    min-height: 82px;
    padding: 15px;
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    border: 1px solid color-mix(in srgb, var(--line-strong) 46%, transparent);
    border-radius: 16px;
    background: color-mix(in srgb, var(--surface-raised) 95%, transparent);
    box-shadow: var(--shadow-raised-small);
    transition: transform .22s var(--premium-ease), box-shadow .22s ease;
}

.planning-node:hover { transform: translateY(-4px); box-shadow: 0 18px 30px rgba(41, 42, 38, .15); }
.planning-node .icon { width: 26px; color: var(--coral-strong); }
.planning-node:nth-of-type(even) .icon { color: var(--lilac-strong); }
.planning-node strong,
.planning-node span { display: block; }
.planning-node strong { margin-bottom: 2px; color: var(--ink-strong); font-size: .83rem; }
.planning-node span { color: var(--muted); font-size: .67rem; line-height: 1.35; }
.node-income { top: 8%; left: 6%; }
.node-home { top: 7%; right: 5%; }
.node-care { top: 41%; left: 3%; }
.node-future { top: 42%; right: 2%; }
.node-existing { bottom: 7%; left: 10%; }
.node-budget { right: 8%; bottom: 8%; }

.planning-checklist {
    padding: 34px;
    overflow: hidden;
    border-radius: 34px;
    background: var(--ink-strong);
    box-shadow: var(--premium-shadow);
    color: var(--surface-raised);
}

.planning-checklist h3 { margin-bottom: 24px; color: inherit; font-size: clamp(1.45rem, 2.3vw, 2rem); }
.planning-check-row { padding: 18px 0; border-top: 1px solid color-mix(in srgb, var(--surface-raised) 22%, transparent); }
.planning-check-row span { display: block; margin-bottom: 5px; color: var(--premium-coral); font-size: .7rem; font-weight: 830; letter-spacing: .09em; text-transform: uppercase; }
.planning-check-row p { margin: 0; color: color-mix(in srgb, var(--surface-raised) 78%, transparent); font-size: .86rem; }
.planning-checklist .canada-guidance-link { margin-top: 22px; color: inherit; font-size: .82rem; }
.planning-checklist .canada-guidance-link .icon { color: var(--premium-coral); }

.coverage-studio { position: relative; background: color-mix(in srgb, var(--surface-soft) 78%, var(--bg)); }
.coverage-studio-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: 48px; align-items: start; }
.coverage-studio-copy { position: sticky; top: 116px; }
.coverage-studio-copy p { color: var(--muted); }
.coverage-card-stack { display: grid; gap: 18px; }

.premium-coverage-card {
    position: relative;
    min-height: 260px;
    padding: 34px;
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--line-strong) 56%, transparent);
    border-radius: 30px;
    background: var(--surface-raised);
    box-shadow: var(--shadow-raised-small);
}

.premium-coverage-card::after {
    content: attr(data-letter);
    position: absolute;
    right: -18px;
    bottom: -46px;
    color: color-mix(in srgb, var(--lilac-strong) 10%, transparent);
    font-family: var(--font-display);
    font-size: 12rem;
    font-weight: 900;
    line-height: 1;
    pointer-events: none;
}

.premium-coverage-card:nth-child(2)::after { color: color-mix(in srgb, var(--coral-strong) 11%, transparent); }
.coverage-card-topline { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 18px; }

.coverage-card-icon {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 17px;
    background: color-mix(in srgb, var(--lilac-soft) 70%, var(--surface));
    color: var(--lilac-strong);
    box-shadow: var(--shadow-raised-small);
}

.premium-coverage-card:nth-child(2) .coverage-card-icon {
    background: color-mix(in srgb, var(--coral-soft) 65%, var(--surface));
    color: var(--coral-strong);
}

.premium-coverage-card h3,
.premium-coverage-card p,
.premium-coverage-card ul { position: relative; z-index: 1; }
.premium-coverage-card h3 { margin-top: 28px; font-size: clamp(1.65rem, 2.4vw, 2.2rem); }
.premium-coverage-card p { max-width: 590px; color: var(--muted); }

.coverage-mini-list {
    margin: 22px 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
}

.coverage-mini-list li {
    padding: 7px 11px;
    border-radius: 99px;
    background: var(--surface-soft);
    color: var(--ink-strong);
    font-size: .76rem;
    font-weight: 720;
}

.dashboard-showcase { position: relative; }
.dashboard-showcase::before {
    content: "";
    position: absolute;
    top: 12%;
    left: -18%;
    width: 55%;
    height: 68%;
    border-radius: 50%;
    background: color-mix(in srgb, var(--green-soft) 38%, transparent);
}

.dashboard-showcase-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, .72fr) minmax(520px, 1.28fr);
    align-items: center;
    gap: 64px;
}

.dashboard-copy p { color: var(--muted); }
.dashboard-copy ul { margin: 26px 0 30px; padding: 0; display: grid; gap: 14px; list-style: none; }
.dashboard-copy li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-strong); font-weight: 680; }
.dashboard-copy li .icon { flex: 0 0 auto; width: 18px; margin-top: 3px; color: var(--success); }
.dashboard-copy-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.dashboard-visual { position: relative; padding: 30px; perspective: 1200px; }
.dashboard-visual::before,
.dashboard-visual::after { content: ""; position: absolute; border-radius: 50%; }
.dashboard-visual::before {
    inset: 0;
    background: linear-gradient(145deg, var(--premium-mist-strong), color-mix(in srgb, var(--coral-soft) 50%, var(--premium-mist)));
    box-shadow: var(--premium-shadow);
    transform: rotate(-6deg) scale(.92);
}
.dashboard-visual::after {
    right: 2%;
    bottom: 4%;
    width: 90px;
    aspect-ratio: 1;
    background: var(--premium-gold);
    box-shadow: inset 9px 9px 16px rgba(255,255,255,.25), 9px 14px 24px rgba(49,43,40,.18);
}

.dashboard-preview {
    --tilt-x: 0deg;
    --tilt-y: 0deg;
    position: relative;
    z-index: 2;
    padding: 25px;
    border: 1px solid color-mix(in srgb, var(--line-strong) 48%, transparent);
    border-radius: 28px;
    background: color-mix(in srgb, var(--surface-raised) 94%, transparent);
    box-shadow: 0 25px 60px rgba(36, 35, 42, .22);
    transform: rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
    transition: transform .35s var(--premium-ease);
    backdrop-filter: blur(14px);
}

.preview-topbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.preview-person { display: flex; align-items: center; gap: 11px; }
.preview-avatar { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 13px; background: var(--lilac-soft); color: var(--lilac-strong); font-weight: 850; }
.preview-person strong,
.preview-person small { display: block; }
.preview-person small { color: var(--muted); font-size: .72rem; }
.preview-private { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: .7rem; font-weight: 750; }
.preview-private .icon { width: 14px; }

.preview-panel { margin-top: 18px; padding: 22px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.preview-panel-heading { display: flex; justify-content: space-between; gap: 14px; align-items: flex-start; }
.preview-panel-heading p { margin: 0; color: var(--muted); font-size: .74rem; }
.preview-panel-heading h3 { margin: 3px 0 0; font-size: 1.18rem; }
.preview-status { padding: 6px 9px; border-radius: 99px; background: var(--success-soft); color: var(--success); font-size: .68rem; font-weight: 820; white-space: nowrap; }

.preview-track { margin: 24px 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); list-style: none; }
.preview-track li { position: relative; padding-top: 18px; color: var(--faint); font-size: .63rem; font-weight: 720; }
.preview-track li::before { content: ""; position: absolute; z-index: 2; top: 0; left: 0; width: 10px; height: 10px; border: 3px solid var(--surface); border-radius: 50%; background: var(--line-strong); }
.preview-track li::after { content: ""; position: absolute; top: 4px; right: 0; left: 5px; height: 2px; background: var(--line); }
.preview-track li:last-child::after { display: none; }
.preview-track li.is-done,
.preview-track li.is-current { color: var(--ink-strong); }
.preview-track li.is-done::before,
.preview-track li.is-current::before { background: var(--coral-strong); }
.preview-track li.is-done::after { background: var(--coral-strong); }
.preview-track li::before,
.preview-track li::after { transition: transform .38s var(--premium-ease), opacity .25s ease; }
.preview-track li::after { transform-origin: left; }
.motion-ready .dashboard-visual:not(.is-visible) .preview-track li::before { opacity: .55; transform: scale(.6); }
.motion-ready .dashboard-visual:not(.is-visible) .preview-track li.is-done::after { transform: scaleX(0); }
.dashboard-visual.is-visible .preview-track li:nth-child(2)::before,
.dashboard-visual.is-visible .preview-track li:nth-child(2)::after { transition-delay: .12s; }
.dashboard-visual.is-visible .preview-track li:nth-child(3)::before,
.dashboard-visual.is-visible .preview-track li:nth-child(3)::after { transition-delay: .22s; }
.preview-update { margin: 0; padding: 12px 14px; border: 1px solid color-mix(in srgb, var(--lilac-strong) 30%, transparent); border-radius: 12px; background: color-mix(in srgb, var(--lilac-soft) 45%, transparent); color: var(--muted); font-size: .72rem; }
.preview-update strong { color: var(--ink-strong); }

.trust-studio { background: color-mix(in srgb, var(--premium-mist) 62%, var(--bg)); }
.trust-grid { display: grid; grid-template-columns: .88fr 1.12fr; gap: 54px; align-items: start; }
.trust-intro { position: sticky; top: 116px; }
.trust-intro p { color: var(--muted); }
.canada-guidance-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 750; }
.trust-card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }

.trust-card {
    min-height: 230px;
    padding: 27px;
    border: 1px solid color-mix(in srgb, var(--line-strong) 52%, transparent);
    border-radius: 25px;
    background: var(--surface-raised);
    box-shadow: var(--shadow-raised-small);
}

.trust-card:nth-child(2),
.trust-card:nth-child(3) { transform: translateY(24px); }
.trust-card .icon { width: 28px; margin-bottom: 26px; color: var(--coral-strong); }
.trust-card:nth-child(even) .icon { color: var(--lilac-strong); }
.trust-card h3 { font-size: 1.3rem; }
.trust-card p { margin-bottom: 0; color: var(--muted); font-size: .89rem; }

.premium-process { padding-bottom: 92px; }
.premium-process-shell {
    position: relative;
    padding: 54px;
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--line-strong) 48%, transparent);
    border-radius: 38px;
    background: var(--surface-raised);
    box-shadow: var(--premium-shadow);
}
.premium-process-shell::after { content: ""; position: absolute; right: -100px; bottom: -120px; width: 310px; aspect-ratio: 1; border: 70px solid color-mix(in srgb, var(--coral-soft) 38%, transparent); border-radius: 50%; }
.premium-process-list { position: relative; z-index: 1; margin: 38px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; }
.premium-process-list li { position: relative; padding: 0 25px 0 0; }
.premium-process-list li:not(:last-child)::after { content: ""; position: absolute; top: 20px; right: 13px; left: 52px; height: 2px; background: repeating-linear-gradient(90deg, var(--line-strong) 0 8px, transparent 8px 14px); }
.premium-process-number { width: 42px; height: 42px; margin-bottom: 22px; display: grid; place-items: center; border-radius: 14px; background: var(--lilac-soft); color: var(--lilac-strong); font-size: .78rem; font-weight: 850; box-shadow: var(--shadow-raised-small); }
.premium-process-list li:nth-child(even) .premium-process-number { background: var(--coral-soft); color: var(--coral-strong); }
.premium-process-list h3 { font-size: 1.12rem; }
.premium-process-list p { margin-bottom: 0; color: var(--muted); font-size: .85rem; }

.premium-faq-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: 54px; align-items: start; }
.premium-faq-list { display: grid; gap: 12px; }
.premium-faq-list details { padding: 0 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface-raised); transition: border-color .2s ease, box-shadow .2s ease; }
.premium-faq-list details[open] { border-color: color-mix(in srgb, var(--lilac-strong) 52%, transparent); box-shadow: var(--shadow-raised-small); }
.premium-faq-list summary { padding: 20px 32px 20px 0; font-weight: 770; cursor: pointer; }
.premium-faq-list p { margin: 0; padding: 0 0 20px; color: var(--muted); }

.premium-final-cta { padding: 22px 0 96px; }
.premium-final-cta-inner {
    position: relative;
    padding: 64px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 44px;
    border-radius: 38px;
    background: var(--ink-strong);
    color: var(--bg);
    box-shadow: var(--premium-shadow);
}
.premium-final-cta-inner::before { content: ""; position: absolute; inset: -70% auto auto 56%; width: 420px; aspect-ratio: 1; border: 85px solid color-mix(in srgb, var(--coral-strong) 72%, transparent); border-radius: 50%; }
.premium-final-cta h2,
.premium-final-cta p { position: relative; max-width: 700px; color: inherit; }
.premium-final-cta p { margin-bottom: 0; opacity: .76; }
.premium-final-cta .button { position: relative; white-space: nowrap; }

/* Customer portal */
.dashboard-page .portal-section {
    padding-top: 50px;
    background: radial-gradient(circle at 82% 12%, color-mix(in srgb, var(--lilac-soft) 35%, transparent), transparent 30%), var(--bg);
}
.portal-welcome { position: relative; padding: 31px; overflow: hidden; border: 1px solid var(--line); border-radius: 28px; background: linear-gradient(135deg, var(--surface-raised), color-mix(in srgb, var(--premium-mist) 64%, var(--surface))); box-shadow: var(--shadow-raised-small); }
.portal-welcome::after { content: ""; position: absolute; right: -60px; bottom: -88px; width: 210px; aspect-ratio: 1; border: 46px solid color-mix(in srgb, var(--coral-soft) 58%, transparent); border-radius: 50%; }
.portal-welcome .portal-heading { position: relative; z-index: 1; margin: 0; }
.portal-kicker { margin-bottom: 8px; color: var(--lilac-strong); font-size: .72rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.dashboard-page .dashboard-summary { margin-top: 18px; }
.dashboard-page .portal-records { margin-top: 22px; }
.journey-card { padding: 26px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); }
.journey-card + .journey-card { margin-top: 16px; }
.journey-card-header { display: flex; justify-content: space-between; gap: 22px; align-items: flex-start; }
.journey-card-header h3 { margin: 10px 0 5px; }
.journey-card-header time,
.journey-reference { color: var(--muted); font-size: .76rem; }
.journey-reference { margin: 0; }

.journey-progress { margin: 27px 0 25px; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); list-style: none; }
.journey-progress li { position: relative; padding: 23px 8px 0 0; color: var(--faint); font-size: .68rem; font-weight: 730; }
.journey-progress li::before { content: ""; position: absolute; z-index: 2; top: 0; left: 0; width: 13px; height: 13px; border: 4px solid var(--surface); border-radius: 50%; background: var(--line-strong); }
.journey-progress li::after { content: ""; position: absolute; top: 6px; right: 0; left: 7px; height: 2px; background: var(--line); }
.journey-progress li:last-child::after { display: none; }
.journey-progress li.is-complete,
.journey-progress li.is-current { color: var(--ink-strong); }
.journey-progress li.is-complete::before,
.journey-progress li.is-current::before { background: var(--coral-strong); }
.journey-progress li.is-complete::after { background: var(--coral-strong); }
.journey-progress li::before,
.journey-progress li::after { transition: transform .42s var(--premium-ease), opacity .25s ease; }
.journey-progress li::after { transform-origin: left; }
.motion-ready .journey-card:not(.is-progress-visible) .journey-progress li.is-complete::after { transform: scaleX(0); }
.motion-ready .journey-card:not(.is-progress-visible) .journey-progress li.is-complete::before,
.motion-ready .journey-card:not(.is-progress-visible) .journey-progress li.is-current::before { opacity: .55; transform: scale(.65); }
.journey-card.is-progress-visible .journey-progress li:nth-child(2)::before,
.journey-card.is-progress-visible .journey-progress li:nth-child(2)::after { transition-delay: .1s; }
.journey-card.is-progress-visible .journey-progress li:nth-child(3)::before,
.journey-card.is-progress-visible .journey-progress li:nth-child(3)::after { transition-delay: .18s; }
.journey-card.is-progress-visible .journey-progress li:nth-child(4)::before,
.journey-card.is-progress-visible .journey-progress li:nth-child(4)::after { transition-delay: .26s; }
.journey-card.is-progress-visible .journey-progress li:nth-child(5)::before,
.journey-card.is-progress-visible .journey-progress li:nth-child(5)::after { transition-delay: .34s; }

@keyframes journey-current-arrive {
    0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--coral-strong) 34%, transparent); }
    65% { box-shadow: 0 0 0 9px color-mix(in srgb, var(--coral-strong) 0%, transparent); }
    100% { box-shadow: none; }
}

.journey-card.is-progress-visible .journey-progress li.is-current::before { animation: journey-current-arrive .68s ease-out .4s both; }

.journey-next { padding: 17px 19px; display: grid; grid-template-columns: auto 1fr; gap: 13px; border-radius: 16px; background: color-mix(in srgb, var(--lilac-soft) 43%, transparent); }
.journey-next .icon { width: 20px; margin-top: 2px; color: var(--lilac-strong); }
.journey-next strong { display: block; margin-bottom: 3px; color: var(--ink-strong); }
.journey-next p { margin: 0; color: var(--muted); font-size: .86rem; }
.journey-facts { margin: 19px 0 0; padding-top: 18px; display: flex; flex-wrap: wrap; gap: 10px 26px; border-top: 1px solid var(--line); }
.journey-facts div { display: flex; gap: 6px; }
.journey-facts dt,
.journey-facts dd { margin: 0; font-size: .75rem; }
.journey-facts dt { color: var(--muted); }
.journey-facts dd { color: var(--ink-strong); font-weight: 720; }
.portal-support-strip { margin-top: 22px; padding: 19px 22px; display: flex; justify-content: space-between; align-items: center; gap: 20px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface-raised); }
.portal-support-strip p { margin: 0; color: var(--muted); font-size: .85rem; }
.portal-support-strip strong { display: block; color: var(--ink-strong); }

/* Motion: enhancement starts readable; movement never gates content. */
.motion-ready [data-reveal] {
    opacity: 1;
    transition: transform .72s var(--premium-ease), clip-path .78s var(--premium-ease), filter .6s var(--premium-ease);
}
.motion-ready [data-reveal="lift"] { transform: translateY(24px); }
.motion-ready [data-reveal="slide"] { transform: translateX(26px); }
.motion-ready [data-reveal="scale"] { transform: scale(.97); }
.motion-ready [data-reveal="clip"] {
    clip-path: inset(4% 3% 4% 3% round 24px);
    filter: saturate(.84) brightness(.97);
    transform: scale(.985);
}
.motion-ready [data-reveal].is-visible {
    transform: none;
    clip-path: inset(0 0 0 0 round 0);
    filter: none;
}
.motion-ready [data-reveal-delay="1"] { transition-delay: .08s; }
.motion-ready [data-reveal-delay="2"] { transition-delay: .16s; }
.motion-ready [data-reveal-delay="3"] { transition-delay: .24s; }

@media (max-width: 1080px) {
    .legacy-hero-stage { min-height: 720px; }
    .legacy-hero-content { padding-inline: 46px; }
    .legacy-hero-copy { width: min(620px, 66%); }
    .legacy-hero-liquid.liquid-orb-shell { top: 28px; right: 24px; width: 92px; }
    .dashboard-showcase-grid { grid-template-columns: minmax(0, .76fr) minmax(470px, 1.24fr); gap: 32px; }
}

@media (max-width: 900px) {
    .legacy-hero-slider { margin-top: -82px; padding-top: 82px; }
    .legacy-hero-stage { min-height: 760px; }
    .legacy-hero-content { padding: 126px 36px 188px; }
    .legacy-hero-copy { width: min(630px, 82%); }
    .legacy-hero-copy h1,
    .legacy-hero-copy h2 { font-size: clamp(3.25rem, 8vw, 4.7rem); }
    .legacy-hero-shade {
        background:
            linear-gradient(90deg, rgba(3, 24, 21, .97) 0%, rgba(4, 28, 24, .89) 47%, rgba(5, 29, 25, .43) 80%),
            linear-gradient(0deg, rgba(2, 20, 17, .9) 0%, rgba(2, 20, 17, .06) 48%, rgba(2, 20, 17, .24) 100%);
    }
    .legacy-hero-dock { grid-template-columns: 1fr; gap: 8px; }
    .legacy-hero-transport { grid-template-columns: 44px auto 44px 44px; justify-content: start; }
    .story-layout,
    .coverage-studio-grid,
    .dashboard-showcase-grid,
    .trust-grid,
    .premium-faq-grid,
    .planning-atlas-layout,
    .planning-atlas-heading { grid-template-columns: 1fr; }
    .story-visual,
    .coverage-studio-copy,
    .trust-intro { position: relative; top: auto; }
    .story-chapter { min-height: 220px; }
    .coverage-studio-copy,
    .trust-intro,
    .dashboard-copy { max-width: 720px; }
    .dashboard-visual { max-width: 720px; width: 100%; margin-inline: auto; }
    .planning-atlas-heading { align-items: start; }
    .planning-atlas-heading .text-link { margin: 0; }
    .planning-orbit { min-height: 540px; }
    .planning-checklist { max-width: 720px; }
    .premium-process-list { grid-template-columns: repeat(2, 1fr); gap: 30px 16px; }
    .premium-process-list li:nth-child(2)::after { display: none; }
}

@media (max-width: 680px) {
    .legacy-hero-slider { margin-top: -72px; padding: 72px 0 14px; }
    .legacy-hero-slider::before { inset: 30% 0 -5%; }
    .legacy-hero-stage { min-height: 760px; border-radius: 24px; }
    .legacy-hero-media,
    .legacy-hero-slide.is-active .legacy-hero-media { clip-path: inset(0 0 0 0 round 24px); }
    .legacy-hero-media img,
    .legacy-hero-slide-home .legacy-hero-media img,
    .legacy-hero-slide-business .legacy-hero-media img,
    .legacy-hero-slide-legacy .legacy-hero-media img { object-position: 64% center; }
    .legacy-hero-shade {
        background:
            linear-gradient(90deg, rgba(3, 24, 21, .96) 0%, rgba(4, 28, 24, .86) 58%, rgba(5, 29, 25, .47) 100%),
            linear-gradient(0deg, rgba(2, 20, 17, .95) 0%, rgba(2, 20, 17, .14) 53%, rgba(2, 20, 17, .32) 100%);
    }
    .legacy-hero-content { padding: 108px 20px 174px; align-items: flex-start; }
    .legacy-hero-copy { width: 100%; }
    .legacy-hero-copy h1,
    .legacy-hero-copy h2 { max-width: 520px; font-size: clamp(2.4rem, 11vw, 3.1rem); line-height: .94; }
    .legacy-hero-copy > p { max-width: 48ch; font-size: .94rem; line-height: 1.52; }
    .legacy-hero-actions { align-items: stretch; flex-direction: column; gap: 7px; }
    .legacy-hero-actions .button { width: 100%; }
    .legacy-hero-link { width: fit-content; }
    .legacy-hero-facts { margin-top: 11px; gap: 6px 14px; }
    .legacy-hero-facts li { font-size: .68rem; }
    .legacy-hero-liquid.liquid-orb-shell { display: none; }
    .legacy-hero-dock { right: 10px; bottom: 10px; left: 10px; padding: 9px; gap: 6px; border-radius: 14px; }
    .legacy-hero-transport { grid-template-columns: 42px 1fr 42px 42px; }
    .legacy-hero-arrow,
    .legacy-hero-toggle { width: 42px; height: 42px; }
    .legacy-hero-count { justify-self: start; }
    .legacy-hero-tabs { gap: 2px; }
    .legacy-hero-tab { min-height: 54px; padding: 7px 6px 11px; }
    .legacy-hero-tab > span:first-child {
        display: -webkit-box;
        min-height: 2.35em;
        overflow: hidden;
        font-size: .59rem;
        line-height: 1.16;
        white-space: normal;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }
    .legacy-hero-progress { right: 6px; bottom: 6px; left: 6px; }
    .continuity-ribbon { width: calc(100% - 24px); border-radius: 17px; }
    .continuity-ribbon::before,
    .continuity-ribbon::after { width: 45px; }
    .premium-section { padding: 64px 0; }
    .premium-section-heading { margin-bottom: 30px; }
    .story-section { padding-top: 72px; }
    .story-image-shell { aspect-ratio: 4 / 3; border-radius: 27px; }
    .story-frame { clip-path: inset(0 0 0 100% round 27px); }
    .story-frame.is-active { clip-path: inset(0 0 0 0 round 27px); }
    .story-frame figcaption { right: 18px; bottom: 18px; left: 18px; }
    .story-frame-index { top: 13px; right: 13px; }
    .story-chapter,
    .story-chapter:last-child { min-height: auto; padding: 29px 0 34px 32px; opacity: 1; }
    .story-chapter-number::before { left: -40px; }
    .planning-atlas-heading { margin-bottom: 26px; }
    .planning-orbit {
        min-height: 0;
        padding: 18px;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 11px;
        border-radius: 27px;
    }
    .planning-thread { display: none; }
    .planning-core {
        position: relative;
        top: auto;
        left: auto;
        width: 100%;
        min-height: 126px;
        grid-column: 1 / -1;
        border-radius: 24px;
        transform: none;
    }
    .planning-node {
        position: static;
        width: 100%;
        min-height: 104px;
        padding: 14px 12px;
        grid-template-columns: 1fr;
        align-content: start;
        gap: 8px;
        transform: none !important;
    }
    .planning-node .icon { width: 23px; }
    .planning-checklist { padding: 27px 23px; border-radius: 27px; }
    .premium-coverage-card { min-height: 0; padding: 25px; border-radius: 23px; }
    .premium-coverage-card::after { font-size: 8rem; }
    .dashboard-visual { padding: 12px 0 28px; }
    .dashboard-visual::after { width: 60px; }
    .dashboard-preview { padding: 16px; border-radius: 22px; }
    .preview-panel { padding: 16px; }
    .preview-track li { font-size: .54rem; letter-spacing: -.01em; }
    .trust-card-grid { grid-template-columns: 1fr; }
    .trust-card,
    .trust-card:nth-child(2),
    .trust-card:nth-child(3) { min-height: 0; transform: none; }
    .premium-process-shell { padding: 30px 23px; border-radius: 27px; }
    .premium-process-list { grid-template-columns: 1fr; gap: 26px; }
    .premium-process-list li { padding-left: 57px; }
    .premium-process-number { position: absolute; top: 0; left: 0; }
    .premium-process-list li::after { display: none; }
    .premium-final-cta { padding-bottom: 72px; }
    .premium-final-cta-inner { padding: 36px 25px; grid-template-columns: 1fr; gap: 25px; border-radius: 27px; }
    .premium-final-cta .button { width: 100%; }
    .journey-card { padding: 20px; }
    .journey-card-header { display: grid; gap: 12px; }
    .journey-progress { grid-template-columns: 1fr; gap: 0; }
    .journey-progress li { min-height: 46px; padding: 0 0 22px 34px; }
    .journey-progress li::before { top: 1px; }
    .journey-progress li::after { top: 8px; bottom: 0; left: 6px; width: 2px; height: auto; }
    .journey-progress li:last-child { min-height: 20px; padding-bottom: 0; }
    .journey-facts { display: grid; }
    .portal-support-strip { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
    .continuity-ribbon-track { animation: none; }
    .legacy-hero-slide,
    .legacy-hero-media,
    .legacy-hero-media img,
    .legacy-hero-copy > *,
    .legacy-hero-link,
    .legacy-hero-arrow,
    .legacy-hero-toggle,
    .legacy-hero-tab { transition: none !important; }
    .legacy-hero-media,
    .legacy-hero-slide.is-active .legacy-hero-media,
    .legacy-hero-media img,
    .legacy-hero-slide.is-active .legacy-hero-media img { transform: none; }
    .legacy-hero-slider.is-enhanced .legacy-hero-copy > *,
    .legacy-hero-slider.is-enhanced .legacy-hero-slide.is-active .legacy-hero-copy > * { opacity: 1; filter: none; transform: none; }
    .legacy-hero-slider.is-running .legacy-hero-tab.is-active .legacy-hero-progress i { animation: none; }
    .motion-ready [data-reveal] { opacity: 1; transform: none; clip-path: none; transition: none; }
    .story-image-shell img,
    .dashboard-preview { transform: none !important; transition: none; }
    .story-frame { opacity: 0; clip-path: none; transform: none; transition: none; }
    .story-frame.is-active { opacity: 1; }
    .story-chapter,
    .story-progress li::after { transition: none; }
    .planning-thread-path { stroke-dashoffset: 0 !important; transition: none !important; }
    .preview-track li::before,
    .preview-track li::after,
    .journey-progress li::before,
    .journey-progress li::after { opacity: 1 !important; transform: none !important; transition: none !important; animation: none !important; }
}

@media (max-width: 460px) {
    .legacy-hero-stage { min-height: 760px; }
    .legacy-hero-copy h1,
    .legacy-hero-copy h2 { font-size: clamp(2.25rem, 10.8vw, 2.75rem); }
    .legacy-hero-copy > p { margin-bottom: 16px; }
    .story-progress { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 350px) {
    .legacy-hero-stage { min-height: 830px; }
    .planning-orbit { grid-template-columns: 1fr; }
    .planning-core { grid-column: auto; }
}
