﻿:root {
    color-scheme: light;
    --nav-height: 72px;
    --anchor-offset: calc(var(--nav-height) + 12px);
    --paper: #fbf7ef;
    --paper-soft: #f3ece1;
    --surface: #fffdf8;
    --surface-quiet: #f8f1e7;
    --ink: #2a2522;
    --muted: #665e58;
    --line: rgba(42, 37, 34, 0.18);
    --plum: #2a1144;
    --violet: #7e5da7;
    --violet-soft: rgba(126, 93, 167, 0.13);
    --mint: #d5eebb;
    --teal: #62cfd2;
    --coral: #f7584c;
    --focus: #2a1144;
    --shadow: 0 14px 36px rgba(42, 37, 34, 0.09);
    --shadow-hover: 0 20px 44px rgba(42, 17, 68, 0.16);
    --header-bg: rgba(250, 248, 242, 0.96);
}

html.dark {
    color-scheme: dark;
    --paper: #171116;
    --paper-soft: #211821;
    --surface: #2c2228;
    --surface-quiet: #241b22;
    --ink: #fff8ee;
    --muted: #d9cabe;
    --line: rgba(250, 248, 242, 0.18);
    --plum: #120c18;
    --violet: #b995e0;
    --violet-soft: rgba(185, 149, 224, 0.18);
    --mint: #cfe7b5;
    --teal: #79d6d4;
    --coral: #ff7a6f;
    --focus: #d5eebb;
    --shadow: 0 14px 36px rgba(0, 0, 0, 0.32);
    --shadow-hover: 0 22px 52px rgba(0, 0, 0, 0.42);
    --header-bg: rgba(23, 17, 22, 0.94);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 0;
}

body {
    margin: 0;
    min-width: 320px;
    overflow-x: hidden;
    background: var(--paper);
    color: var(--ink);
    font-family: "Lexend", sans-serif;
    font-size: 17px;
    line-height: 1.7;
    transition: background-color 220ms ease, color 220ms ease;
}

body.locked {
    overflow: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    color: inherit;
}

h1,
h2,
h3,
p,
ul,
ol,
blockquote {
    margin-top: 0;
}

h1,
h2,
h3 {
    margin-bottom: 0;
    font-family: "Fraunces", serif;
    font-weight: 700;
    letter-spacing: 0;
}

h1 {
    font-size: 72px;
    line-height: 1.08;
}

h2 {
    font-size: 48px;
    line-height: 1.12;
}

h3 {
    font-size: 28px;
    line-height: 1.2;
}

p {
    margin-bottom: 0;
}

:focus-visible {
    outline: 3px solid var(--focus);
    outline-offset: 4px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.container {
    width: min(100% - 48px, 1248px);
    margin-inline: auto;
}

.section {
    padding: 112px 0;
    scroll-margin-top: var(--anchor-offset);
}

section[id] {
    scroll-margin-top: var(--anchor-offset);
}

.section-soft {
    background: var(--paper-soft);
}

.section-ink {
    background: var(--ink);
    color: var(--paper);
}

.dark .section-ink {
    background: var(--plum);
    color: #faf8f2;
}

.section-mint {
    background: var(--mint);
    color: #2a2522;
}

.dark .section-mint {
    background: #1f1822;
    color: var(--ink);
}

.section-mint .eyebrow {
    color: #2a1144;
}

.section-mint .button-secondary {
    border-color: #2a2522;
    color: #2a2522;
}

.section-mint .button-secondary:hover {
    background: #2a2522;
    color: #faf8f2;
}

.dark .section-mint .button-secondary {
    border-color: rgba(250, 248, 242, 0.62);
    color: var(--ink);
}

.dark .section-mint .button-secondary:hover {
    background: var(--ink);
    color: var(--paper);
}

.section-header {
    max-width: 760px;
    margin-bottom: 48px;
}

.section-header.centered {
    margin-inline: auto;
    text-align: center;
}

.section-header p:last-child {
    max-width: 720px;
    margin-top: 18px;
    color: var(--muted);
    font-size: 19px;
    line-height: 1.65;
}

.section-ink .section-header p:last-child {
    color: #ded5ce;
}

.eyebrow {
    margin-bottom: 14px;
    color: var(--violet);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.apx-keyword {
    display: inline;
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: var(--coral);
    font-weight: 700;
}

.dark .apx-keyword {
    background: transparent;
    color: #ff8a78;
}

.section-ink .eyebrow {
    color: var(--mint);
}

.button {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    cursor: pointer;
    transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button:active {
    transform: translateY(0);
}

.button-primary {
    background: var(--coral);
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(247, 88, 76, 0.18);
}

.button-primary:hover {
    filter: brightness(1.03);
    box-shadow: 0 10px 24px rgba(247, 88, 76, 0.25);
}

.button-primary:focus-visible {
    outline-color: var(--focus);
    box-shadow: 0 0 0 5px var(--violet-soft), 0 10px 24px rgba(247, 88, 76, 0.25);
}

.button-secondary {
    border-color: var(--ink);
    background: transparent;
    color: var(--ink);
}

.button-secondary:hover {
    background: var(--ink);
    color: var(--paper);
    box-shadow: var(--shadow);
}

.button-light {
    border-color: rgba(250, 248, 242, 0.55);
    background: transparent;
    color: #faf8f2;
}

.button-light:hover {
    background: #faf8f2;
    color: #2a2522;
}

.icon-button {
    display: inline-grid;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--surface);
    color: var(--ink);
    cursor: pointer;
    transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.icon-button:hover {
    border-color: var(--violet);
    background: var(--surface-quiet);
    color: var(--violet);
    box-shadow: 0 10px 24px rgba(42, 17, 68, 0.12);
    transform: translateY(-2px);
}

.icon-button:active {
    transform: translateY(0);
}

.theme-light-only {
    display: block;
}

.theme-dark-only {
    display: none;
}

.dark .theme-light-only {
    display: none;
}

.dark .theme-dark-only {
    display: block;
}

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 50;
    border-bottom: 1px solid var(--line);
    background: var(--header-bg);
    backdrop-filter: blur(14px);
}

.site-header .container {
    width: min(100% - 32px, 1340px);
}

.nav-shell {
    display: flex;
    min-height: 72px;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}

.brand {
    display: inline-flex;
    min-width: max-content;
    align-items: center;
    gap: 11px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
}

.brand img {
    width: 34px;
    height: 34px;
    object-fit: contain;
    image-rendering: auto;
}

.starburst-on-dark {
    filter: invert(1) brightness(1.08) contrast(1.02);
}

.nav-links {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    justify-content: center;
    gap: 18px;
}

.nav-link {
    position: relative;
    padding: 24px 0 21px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
    transition: color 180ms ease, transform 180ms ease;
}

.nav-link::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 16px;
    left: 0;
    height: 2px;
    background: var(--coral);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 180ms ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--ink);
    transform: translateY(-1px);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

.nav-actions {
    display: flex;
    min-width: max-content;
    align-items: center;
    gap: 10px;
}

.nav-actions #themeToggle {
    display: none;
}

.nav-actions .button {
    min-height: 44px;
    padding: 10px 16px;
    font-size: 13px;
}

.nav-login {
    min-height: 44px;
    padding: 8px 4px;
    border: 0;
    background: transparent;
    color: var(--ink);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: color 180ms ease, transform 180ms ease, text-shadow 180ms ease;
}

.nav-login:hover {
    color: var(--coral);
    text-shadow: 0 8px 18px rgba(247, 88, 76, 0.16);
    transform: translateY(-1px);
}

.mobile-access-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.menu-toggle {
    display: none;
}

.mobile-scrim {
    position: fixed;
    inset: 0;
    z-index: 70;
    background: rgba(42, 37, 34, 0.52);
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms ease;
}

.mobile-scrim.open {
    opacity: 1;
    pointer-events: auto;
}

.mobile-nav {
    position: fixed;
    inset: 0 0 0 auto;
    z-index: 80;
    width: min(88vw, 380px);
    padding: 22px;
    border-left: 1px solid var(--line);
    background: var(--paper);
    transform: translateX(102%);
    transition: transform 260ms ease;
}

.mobile-nav.open {
    transform: translateX(0);
}

.mobile-nav-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--line);
}

.mobile-nav-links {
    display: grid;
    margin: 24px 0;
}

.mobile-nav-links a {
    padding: 15px 2px;
    border-bottom: 1px solid var(--line);
    font-size: 18px;
    font-weight: 600;
    transition: color 180ms ease, padding-left 180ms ease;
}

.mobile-nav-links a:hover {
    padding-left: 8px;
    color: var(--violet);
}

@media (max-width: 1080px) {
    .nav-links,
    .nav-login,
    .nav-actions > .button {
        display: none;
    }

    .nav-actions {
        margin-left: auto;
    }

    .menu-toggle {
        display: grid;
    }
}
.hero {
    position: relative;
    min-height: 760px;
    padding: 138px 0 86px;
    overflow: hidden;
    border-bottom: 1px solid rgba(250, 248, 242, 0.1);
    background:
        radial-gradient(circle at 76% 44%, rgba(185, 149, 224, 0.34), transparent 31%),
        radial-gradient(circle at 88% 22%, rgba(98, 207, 210, 0.08), transparent 20%),
        radial-gradient(circle at 10% 8%, rgba(126, 93, 167, 0.2), transparent 28%),
        linear-gradient(145deg, #150a21 0%, #211034 48%, #0f0918 100%);
    color: #fff8ee;
}

.hero::before {
    content: "";
    position: absolute;
    inset: auto -10% -42% 38%;
    height: 58%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(98, 207, 210, 0.08), transparent 68%);
    pointer-events: none;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 12% 4% 12% auto;
    width: min(44vw, 620px);
    border-radius: 999px;
    background:
        radial-gradient(circle at 54% 50%, rgba(185, 149, 224, 0.16), transparent 58%),
        radial-gradient(circle at 44% 42%, rgba(255, 138, 120, 0.055), transparent 46%);
    opacity: 0.8;
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.94fr) minmax(500px, 1.06fr);
    gap: 82px;
    align-items: center;
    width: min(100% - 20px, 1304px);
    margin-inline: auto;
}

.hero-copy {
    max-width: 720px;
    margin-left: -18px;
}

.hero-copy .eyebrow {
    margin-bottom: 22px;
}

.hero-copy h1 {
    display: grid;
    max-width: 760px;
    gap: 6px;
    color: #fff8ee;
    font-size: clamp(46px, 4.4vw, 64px);
    line-height: 1.06;
}

.hero-line-tight {
    white-space: nowrap;
}

.hero-copy h1 > span:last-child {
    white-space: nowrap;
}

.hero-lead {
    max-width: 560px;
    margin-top: 30px;
    color: rgba(250, 248, 242, 0.78);
    font-size: 17px;
    line-height: 1.72;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.hero-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
    color: rgba(250, 248, 242, 0.74);
    font-size: 13px;
    font-weight: 600;
}

.hero-proof span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 36px;
    padding: 8px 11px;
    border: 1px solid rgba(250, 248, 242, 0.12);
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(250, 248, 242, 0.07), rgba(185, 149, 224, 0.055));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.hero-proof span::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--coral);
    box-shadow: 0 0 16px rgba(255, 138, 120, 0.5);
}

.hero-visual {
    width: 100%;
    max-width: 620px;
    margin-inline: auto -54px;
}

.mode-switch {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    width: min(100%, 360px);
    margin: 0 auto 18px;
    padding: 4px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
}

.mode-switch button {
    min-height: 42px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.mode-switch button.active {
    background: var(--violet);
    color: #ffffff;
}

.mode-switch button:hover:not(.active) {
    background: var(--paper-soft);
    color: var(--ink);
}

.signal-map {
    position: relative;
    display: grid;
    width: 100%;
    aspect-ratio: 1 / 1;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: repeat(3, minmax(0, 1fr));
    align-items: center;
    justify-items: center;
}

.signal-map::before,
.signal-map::after {
    content: "";
    position: absolute;
    border: 1px solid var(--line);
    border-radius: 50%;
    pointer-events: none;
}

.signal-map::before {
    inset: 12%;
}

.signal-map::after {
    inset: 25%;
    border-color: var(--violet);
    opacity: 0.55;
}

.signal-node {
    position: relative;
    z-index: 2;
    display: grid;
    min-width: 112px;
    min-height: 58px;
    place-items: center;
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    color: var(--ink);
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    box-shadow: 0 8px 22px rgba(42, 37, 34, 0.07);
}

.signal-node.node-top {
    grid-column: 2;
    grid-row: 1;
}

.signal-node.node-right {
    grid-column: 3;
    grid-row: 2;
}

.signal-node.node-bottom {
    grid-column: 2;
    grid-row: 3;
}

.signal-node.node-left {
    grid-column: 1;
    grid-row: 2;
}

.signal-center {
    position: relative;
    z-index: 3;
    display: grid;
    width: 118px;
    height: 118px;
    grid-column: 2;
    grid-row: 2;
    place-items: center;
    border: 1px solid var(--ink);
    border-radius: 50%;
    background: var(--paper);
}

.signal-center img {
    width: 62px;
    height: 62px;
    object-fit: contain;
}

.signal-caption {
    min-height: 54px;
    margin: 4px auto 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
    text-align: center;
}

.control-console {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: 0 24px 60px rgba(42, 17, 68, 0.12);
}

.control-meters {
    display: grid;
    gap: 18px;
    padding: 26px;
    border-bottom: 1px solid var(--line);
}

.meter-row {
    display: grid;
    gap: 8px;
}

.meter-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
}

.meter-label strong {
    color: var(--ink);
}

.meter-track {
    height: 10px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--paper-soft);
}

.meter-fill {
    height: 100%;
    border-radius: inherit;
    background: var(--teal);
    transition: width 320ms ease, background-color 220ms ease;
}

.meter-fill.control-fill {
    width: 0;
    background: var(--coral);
}

.control-path {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-bottom: 1px solid var(--line);
}

.control-step {
    position: relative;
    display: grid;
    min-height: 96px;
    place-items: center;
    padding: 18px 12px;
    border-right: 1px solid var(--line);
    color: var(--ink);
    font-size: 12px;
    font-weight: 700;
    text-align: center;
}

.control-step:last-child {
    border-right: 0;
}

.control-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -5px;
    z-index: 2;
    width: 9px;
    height: 9px;
    border-top: 2px solid var(--violet);
    border-right: 2px solid var(--violet);
    transform: translateY(-50%) rotate(45deg);
}

.control-signal {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    padding: 22px 26px;
}

.control-signal img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.control-signal p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.55;
}

.goal-grid {
    display: grid;
    grid-template-columns: minmax(520px, 1.04fr) minmax(0, 0.96fr);
    gap: 82px;
    align-items: center;
}

.goal-section {
    padding: 136px 0 142px;
}

.goal-preview {
    display: flex;
    min-height: 72px;
    align-items: flex-start;
    padding-top: 10px;
}

.goal-preview .eyebrow {
    margin: 0;
}

.goal-copy {
    max-width: 680px;
}

.goal-copy h2 {
    display: grid;
    gap: 4px;
    color: #fff8ee;
}

.goal-copy h2 span:first-child {
    color: var(--coral);
}

.goal-copy h2 span:last-child {
    color: #fff8ee;
}

.goal-copy p {
    margin-top: 28px;
    color: var(--muted);
    font-size: 20px;
    line-height: 1.68;
}

.goal-mini-visual {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    max-width: 620px;
    margin-top: 58px;
}

.goal-mini-visual::before {
    content: "";
    position: absolute;
    top: 20px;
    right: 12%;
    left: 12%;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(255, 138, 120, 0), rgba(255, 138, 120, 0.64), rgba(185, 149, 224, 0.72), rgba(255, 138, 120, 0));
    box-shadow: 0 0 18px rgba(185, 149, 224, 0.18);
    animation: goal-path-pulse 5.6s ease-in-out infinite;
}

.goal-mini-visual span {
    position: relative;
    display: grid;
    justify-items: center;
    gap: 12px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-align: center;
}

.goal-mini-visual span::after {
    content: "";
    position: absolute;
    top: 14px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 138, 120, 0.78);
    box-shadow: 0 0 18px rgba(255, 138, 120, 0.3);
    animation: goal-node-breathe 4.8s ease-in-out infinite;
}

.goal-mini-visual span:nth-child(2)::after {
    background: rgba(185, 149, 224, 0.88);
    box-shadow: 0 0 18px rgba(185, 149, 224, 0.34);
    animation-delay: 0.8s;
}

.goal-mini-visual span:nth-child(3)::after {
    animation-delay: 1.6s;
}

.goal-mini-visual b {
    display: block;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 138, 120, 0.72);
    border-radius: 50%;
    background:
        radial-gradient(circle, rgba(255, 138, 120, 0.5), rgba(255, 138, 120, 0.12) 44%, transparent 45%),
        rgba(250, 248, 242, 0.03);
    box-shadow: 0 0 28px rgba(255, 138, 120, 0.18);
    animation: goal-orbit-breathe 5.6s ease-in-out infinite;
}

.goal-mini-visual span:nth-child(2) b {
    border-color: rgba(185, 149, 224, 0.74);
    background:
        radial-gradient(circle, rgba(185, 149, 224, 0.52), rgba(185, 149, 224, 0.12) 44%, transparent 45%),
        rgba(250, 248, 242, 0.03);
    box-shadow: 0 0 28px rgba(185, 149, 224, 0.2);
    animation-delay: 0.8s;
}

.goal-mini-visual span:nth-child(3) b {
    animation-delay: 1.6s;
}

.goal-loops {
    display: grid;
    gap: 16px;
}

.goal-loop {
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.goal-loop:hover {
    border-color: var(--violet);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.goal-loop.apx-loop {
    border-color: var(--violet);
}

.loop-label {
    display: block;
    margin-bottom: 14px;
    color: var(--violet);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.loop-steps {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
}

.loop-steps b {
    color: var(--coral);
    font-weight: 700;
}

.apx-loop .loop-steps b {
    color: var(--violet);
}

.founder-note {
    padding: 8px 0 8px 28px;
    border-left: 4px solid var(--coral);
}

.founder-note blockquote {
    margin-bottom: 22px;
    font-family: "Fraunces", serif;
    font-size: 28px;
    font-weight: 600;
    line-height: 1.4;
}

.founder-note cite {
    color: var(--muted);
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
}

.pressure-tool {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.pressure-cycle {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 28px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
}

.pressure-cycle span {
    padding: 7px 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
}

.pressure-cycle b {
    color: var(--coral);
}

.pressure-tabs {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.pressure-tab {
    min-height: 102px;
    padding: 16px 12px;
    border: 0;
    border-right: 1px solid var(--line);
    background: transparent;
    color: var(--muted);
    text-align: left;
    cursor: pointer;
    transition: background-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.pressure-tab:hover:not(.active) {
    background: var(--surface-quiet);
    color: var(--ink);
}

.pressure-tab:last-child {
    border-right: 0;
}

.pressure-tab strong {
    display: block;
    margin-top: 8px;
    color: var(--ink);
    font-size: 15px;
}

.pressure-tab span {
    color: var(--violet);
    font-size: 12px;
    font-weight: 700;
}

.pressure-tab.active {
    background: var(--mint);
    color: #2a2522;
}

.pressure-tab.active strong,
.pressure-tab.active span {
    color: #2a2522;
}

.pressure-detail {
    display: grid;
    min-height: 250px;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    border-top: 1px solid var(--line);
}

.pressure-detail > div {
    padding: 34px;
}

.pressure-detail > div + div {
    border-left: 1px solid var(--line);
}

.detail-label {
    margin-bottom: 10px;
    color: var(--violet);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.pressure-detail h3 {
    margin-bottom: 14px;
}

.pressure-detail p:last-child {
    color: var(--muted);
}

.evolution {
    position: relative;
}

.evolution-path {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.evolution-path::before {
    content: "";
    position: absolute;
    top: 31px;
    right: 10%;
    left: 10%;
    height: 1px;
    background: rgba(250, 248, 242, 0.34);
}

.evolution-step {
    position: relative;
    z-index: 1;
    min-height: 124px;
    padding: 0 8px 18px;
    border: 0;
    background: transparent;
    color: #ded5ce;
    text-align: center;
    cursor: pointer;
    transition: transform 180ms ease, color 180ms ease;
}

.evolution-step:hover {
    transform: translateY(-3px);
}

.evolution-step .step-number {
    display: grid;
    width: 62px;
    height: 62px;
    margin: 0 auto 18px;
    place-items: center;
    border: 1px solid rgba(250, 248, 242, 0.5);
    border-radius: 50%;
    background: var(--ink);
    color: #faf8f2;
    font-weight: 700;
    transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.dark .evolution-step .step-number {
    background: var(--plum);
}

.evolution-step strong {
    display: block;
    color: #faf8f2;
}

.evolution-step.active .step-number {
    border-color: var(--mint);
    background: var(--mint);
    color: #2a2522;
}

.evolution-detail {
    min-height: 190px;
    margin-top: 36px;
    padding: 32px;
    border: 1px solid rgba(250, 248, 242, 0.3);
    border-radius: 8px;
    background: rgba(250, 248, 242, 0.06);
}

.evolution-detail p:last-child {
    max-width: 760px;
    margin-top: 12px;
    color: #ded5ce;
}

.method-tabs {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.method-tab {
    min-height: 130px;
    padding: 20px 16px;
    border: 0;
    border-right: 1px solid var(--line);
    background: transparent;
    color: var(--muted);
    text-align: left;
    cursor: pointer;
    transition: background-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.method-tab:hover:not(.active) {
    background: var(--surface-quiet);
    color: var(--ink);
}

.method-tab:last-child {
    border-right: 0;
}

.method-tab span {
    display: block;
    margin-bottom: 12px;
    color: var(--violet);
    font-size: 12px;
    font-weight: 700;
}

.method-tab strong {
    color: var(--ink);
    font-size: 15px;
}

.method-tab.active {
    background: var(--violet);
    color: #ffffff;
}

.method-tab.active span,
.method-tab.active strong {
    color: #ffffff;
}

.method-detail {
    display: grid;
    min-height: 220px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-bottom: 1px solid var(--line);
}

.method-detail > div {
    padding: 30px 24px;
}

.method-detail > div + div {
    border-left: 1px solid var(--line);
}

.method-detail p:last-child {
    color: var(--muted);
}

.journey-tool {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: var(--shadow);
}

.week-tabs {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    border-bottom: 1px solid var(--line);
}

.week-tab {
    min-height: 76px;
    padding: 12px 8px;
    border: 0;
    border-right: 1px solid var(--line);
    background: transparent;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.week-tab:hover:not(.active) {
    background: var(--surface-quiet);
    color: var(--ink);
}

.week-tab:last-child {
    border-right: 0;
}

.week-tab.active {
    background: var(--violet);
    color: #ffffff;
}

.week-detail {
    display: grid;
    min-height: 300px;
    grid-template-columns: minmax(230px, 0.7fr) minmax(0, 1.3fr);
}

.week-title {
    padding: 34px;
    border-right: 1px solid var(--line);
}

.week-title .week-number {
    color: var(--violet);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.week-title h3 {
    margin-top: 12px;
}

.week-body {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.week-body > div {
    padding: 34px 24px;
}

.week-body > div + div {
    border-left: 1px solid var(--line);
}

.week-body p:last-child {
    color: var(--muted);
}

.student-intro {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 72px;
    align-items: start;
}

.student-signals {
    display: grid;
    border-top: 1px solid var(--line);
}

.student-signal {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
}

.student-signal span {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border-radius: 50%;
    background: var(--mint);
    color: #2a2522;
    font-size: 12px;
    font-weight: 700;
}

.qualification-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: 56px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.qualification-block {
    padding: 30px 28px;
}

.qualification-block + .qualification-block {
    border-left: 1px solid var(--line);
}

.qualification-block h3 {
    margin-bottom: 16px;
}

.qualification-block ul {
    display: grid;
    gap: 10px;
    padding: 0;
    margin: 0;
    color: var(--muted);
    list-style: none;
}

.qualification-block li {
    position: relative;
    padding-left: 20px;
}

.qualification-block li::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--mint);
    box-shadow: 0 0 0 1px var(--ink);
}

.qualification-block.not-fit li::before {
    background: transparent;
}

.qualification-note {
    margin-top: 14px;
    color: var(--muted);
    font-size: 13px;
}

.evidence-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 64px;
}

.evidence-card,
.program-card {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
}

.evidence-card {
    min-height: 260px;
    padding: 28px;
}

.evidence-number {
    display: grid;
    width: 40px;
    height: 40px;
    margin-bottom: 28px;
    place-items: center;
    border: 1px solid var(--ink);
    border-radius: 50%;
    font-size: 13px;
    font-weight: 700;
}

.evidence-card h3 {
    margin-bottom: 14px;
}

.evidence-card p {
    color: var(--muted);
}

.student-section {
    padding: 100px 0 112px;
    background: #fffaf1;
}

.dark .student-section {
    background: #1d151d;
}

.student-section .section-header h2 {
    color: var(--violet);
}

.dark .student-section .section-header h2 {
    color: #b995e0;
}

.student-stories {
    margin-top: 42px;
}

.story-head {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-bottom: 30px;
    text-align: center;
}

.story-head p:last-child {
    margin-top: 8px;
    color: var(--muted);
}

.carousel-controls {
    display: flex;
    gap: 12px;
}

.student-carousel {
    display: grid;
    grid-auto-columns: calc((100% - 44px) / 3);
    grid-auto-flow: column;
    gap: 22px;
    overflow-x: auto;
    overflow-y: visible;
    padding: 22px 8px 30px;
    margin: -22px -8px -30px;
    scrollbar-width: none;
    outline: none;
}

.student-carousel::-webkit-scrollbar {
    display: none;
}

.student-story {
    display: flex;
    min-height: 500px;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(255, 253, 248, 0.98), rgba(255, 253, 248, 0.9));
    box-shadow: 0 14px 34px rgba(42, 37, 34, 0.08);
    opacity: 0.72;
    transform: scale(0.94);
    transform-origin: center;
    transition: transform 220ms ease, opacity 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.dark .student-story {
    background:
        linear-gradient(180deg, rgba(44, 34, 40, 0.96), rgba(36, 27, 34, 0.88));
}

.student-story:hover,
.student-story:focus-within {
    border-color: var(--violet);
    box-shadow: var(--shadow-hover);
}

.student-story.is-active {
    opacity: 1;
    border-color: rgba(185, 149, 224, 0.58);
    box-shadow: 0 26px 60px rgba(42, 17, 68, 0.2), 0 0 0 1px rgba(185, 149, 224, 0.14);
    transform: scale(1);
}

.dark .student-story.is-active {
    box-shadow: 0 28px 68px rgba(0, 0, 0, 0.34), 0 0 42px rgba(185, 149, 224, 0.12);
}

.story-quote {
    display: flex;
    min-height: 150px;
    align-items: center;
    padding: 28px 26px 22px;
    font-family: "Fraunces", serif;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.45;
}

.story-frame {
    position: relative;
    display: grid;
    aspect-ratio: 16 / 9;
    place-items: center;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background:
        radial-gradient(circle at 30% 20%, rgba(213, 238, 187, 0.18), transparent 24%),
        radial-gradient(circle at 72% 76%, rgba(98, 207, 210, 0.16), transparent 24%),
        linear-gradient(145deg, #2a1144, #2a2522);
    color: #faf8f2;
}

.dark .story-frame {
    background:
        radial-gradient(circle at 30% 20%, rgba(185, 149, 224, 0.14), transparent 24%),
        radial-gradient(circle at 72% 76%, rgba(98, 207, 210, 0.12), transparent 24%),
        linear-gradient(145deg, #211821, #120c18);
}

.story-frame::before {
    content: "";
    position: absolute;
    inset: 16px;
    border: 1px solid rgba(250, 248, 242, 0.14);
    border-radius: 6px;
}

.story-frame img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    opacity: 0.24;
}

.story-play {
    position: absolute;
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.62);
    border-radius: 50%;
    background: var(--coral);
    color: #2a2522;
    cursor: pointer;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.24);
    transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.story-play:hover {
    background: var(--mint);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

.story-status {
    position: absolute;
    right: 14px;
    bottom: 14px;
    left: 14px;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
}

.story-copy {
    display: flex;
    min-height: 118px;
    flex-direction: column;
    justify-content: center;
    padding: 22px 26px;
}

.story-copy h3 {
    margin-bottom: 9px;
    font-size: 22px;
}

.story-copy p {
    color: var(--muted);
    font-size: 14px;
}

.carousel-controls.below {
    justify-content: center;
    margin-top: 24px;
}

.student-arrow {
    width: 54px;
    height: 54px;
    flex-basis: 54px;
    display: grid;
    place-items: center;
    border-color: rgba(126, 93, 167, 0.34);
    background:
        radial-gradient(circle at 50% 50%, rgba(185, 149, 224, 0.34), rgba(126, 93, 167, 0.16) 44%, rgba(255, 253, 248, 0.78) 74%);
    color: #fff;
    font-size: 32px;
    line-height: 1;
    box-shadow: inset 0 0 22px rgba(126, 93, 167, 0.24), 0 14px 30px rgba(42, 17, 68, 0.12);
}

.dark .student-arrow {
    border-color: rgba(185, 149, 224, 0.28);
    background:
        radial-gradient(circle at 50% 50%, rgba(185, 149, 224, 0.48), rgba(126, 93, 167, 0.28) 46%, rgba(44, 34, 40, 0.84) 76%);
    color: #fff;
    box-shadow: inset 0 0 24px rgba(185, 149, 224, 0.28), 0 16px 34px rgba(0, 0, 0, 0.24);
}

.student-arrow span {
    display: grid;
    width: 1em;
    height: 1em;
    place-items: center;
    line-height: 1;
    transform: translateY(-1px);
}

.student-arrow:hover {
    border-color: var(--violet);
    background:
        radial-gradient(circle at 50% 50%, rgba(185, 149, 224, 0.6), rgba(126, 93, 167, 0.34) 48%, rgba(255, 253, 248, 0.84) 76%);
    color: #fff;
    box-shadow: inset 0 0 28px rgba(185, 149, 224, 0.34), 0 18px 38px rgba(42, 17, 68, 0.18);
}

.program-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.program-grid + .program-grid {
    margin-top: 22px;
}

.entry-programs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(100%, 900px);
    margin-inline: auto;
}

.entry-programs .program-card {
    min-height: 540px;
}

.program-card {
    position: relative;
    overflow: hidden;
    display: flex;
    min-height: 640px;
    flex-direction: column;
    padding: 30px;
    border-color: rgba(42, 37, 34, 0.12);
    box-shadow: 0 18px 44px rgba(42, 37, 34, 0.09);
    isolation: isolate;
    transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.program-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background: radial-gradient(circle at 92% 10%, rgba(185, 149, 224, 0.2), transparent 30%);
    opacity: 0.82;
    pointer-events: none;
}

.program-mark {
    position: absolute;
    top: 22px;
    right: 22px;
    width: 34px;
    height: 34px;
    object-fit: contain;
    opacity: 0.22;
    pointer-events: none;
}

.program-card:hover,
.program-card:focus-within {
    border-color: var(--violet);
    box-shadow: 0 26px 62px rgba(42, 37, 34, 0.16);
    transform: translateY(-6px);
}

.program-card:focus-within {
    outline: 3px solid rgba(151, 111, 224, 0.28);
    outline-offset: 4px;
}

.program-card.core-card {
    border-color: rgba(250, 248, 242, 0.14);
    background:
        linear-gradient(150deg, rgba(250, 248, 242, 0.08), transparent 34%),
        #182131;
    color: #fff8ee;
}

.program-card.plus-card {
    border-color: rgba(255, 122, 111, 0.44);
    background:
        linear-gradient(155deg, rgba(255, 248, 238, 0.56), transparent 38%),
        linear-gradient(180deg, #f5b4a7 0%, #e86860 100%);
    color: #2a2522;
}

.program-card.max-card {
    border-color: rgba(255, 214, 10, 0.28);
    background:
        linear-gradient(150deg, rgba(151, 111, 224, 0.22), transparent 42%),
        #24152f;
    color: #faf8f2;
}

.program-card.demo-card {
    border-color: rgba(14, 165, 166, 0.26);
    background:
        linear-gradient(145deg, rgba(121, 214, 212, 0.24), transparent 40%),
        #edf7f3;
    color: #173335;
}

.program-card.diagnosis-card {
    border-color: rgba(42, 37, 34, 0.14);
    background:
        linear-gradient(145deg, rgba(185, 149, 224, 0.16), transparent 36%),
        #fffaf1;
    color: #2a2522;
}

.program-card.recommended {
    border-width: 2px;
    box-shadow: 0 22px 58px rgba(232, 104, 96, 0.18);
}

.program-ribbon {
    position: absolute;
    top: 18px;
    left: 28px;
    z-index: 1;
    padding: 6px 11px;
    border-radius: 999px;
    background: #fff8ee;
    color: var(--coral);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.08em;
    line-height: 1;
    text-transform: uppercase;
    box-shadow: 0 10px 22px rgba(42, 37, 34, 0.12);
}

.program-label {
    width: fit-content;
    margin-bottom: 18px;
    color: var(--violet);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.recommended .program-label {
    margin-top: 28px;
}

.core-card .program-label,
.max-card .program-label {
    color: var(--mint);
}

.plus-card .program-label {
    color: #6f1d1a;
}

.demo-card .program-label {
    color: #0e6f6f;
}

.diagnosis-card .program-label {
    color: var(--violet);
}

.program-card h3 {
    max-width: 92%;
    margin-bottom: 14px;
    font-size: clamp(28px, 2.7vw, 38px);
    line-height: 1.04;
}

.program-card > p {
    color: var(--muted);
}

.program-card > p:not(.program-duration) {
    font-size: 16px;
    line-height: 1.62;
}

.program-duration {
    width: fit-content;
    margin-top: 18px;
    padding: 8px 11px;
    border: 1px solid rgba(42, 37, 34, 0.12);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.core-card > p,
.core-card .program-duration,
.core-card .program-meta,
.core-card .program-list li {
    color: #e8dfd4;
}

.max-card > p,
.max-card .program-duration,
.max-card .program-meta,
.max-card .program-list li {
    color: #ded5ce;
}

.plus-card > p,
.plus-card .program-duration,
.plus-card .program-meta,
.plus-card .program-list li,
.demo-card > p,
.demo-card .program-duration,
.demo-card .program-meta,
.demo-card .program-list li,
.diagnosis-card > p,
.diagnosis-card .program-duration,
.diagnosis-card .program-meta,
.diagnosis-card .program-list li {
    color: #2a2522;
}

.core-card .program-duration,
.max-card .program-duration {
    border-color: rgba(250, 248, 242, 0.22);
    background: rgba(250, 248, 242, 0.08);
}

.plus-card .program-duration,
.demo-card .program-duration,
.diagnosis-card .program-duration {
    background: rgba(255, 255, 255, 0.38);
}

.program-footer {
    display: grid;
    gap: 8px;
    margin-top: auto;
}

.program-price {
    display: block;
    font-family: "Fraunces", serif;
    font-size: 34px;
    font-weight: 700;
    line-height: 1.1;
}

.program-meta {
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
}

.max-tier-switch {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
    margin: 20px 0 6px;
    padding: 4px;
    border: 1px solid rgba(255, 214, 10, 0.34);
    border-radius: 999px;
    background: rgba(7, 6, 11, 0.34);
}

.max-tier-switch button {
    min-height: 40px;
    padding: 8px 10px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #ded5ce;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.max-tier-switch button.active {
    background: #ffd60a;
    color: #24152f;
    box-shadow: 0 0 22px rgba(255, 214, 10, 0.28);
}

.max-tier-switch button:hover:not(.active),
.max-tier-switch button:focus-visible:not(.active) {
    background: rgba(250, 248, 242, 0.14);
    color: #ffffff;
}

.max-tier-switch button:focus-visible {
    outline: 2px solid #fff8ee;
    outline-offset: 2px;
}

.max-card .button-secondary {
    border-color: #ffd60a;
    background: #ffd60a;
    color: #24152f;
}

.max-card .button-secondary:hover {
    background: #faf8f2;
    color: #2a2522;
}

.program-list {
    display: grid;
    gap: 14px;
    padding: 0;
    margin: 26px 0 30px;
    list-style: none;
}

.program-list li {
    position: relative;
    padding-left: 23px;
    color: var(--muted);
    font-size: 15px;
}

.program-list li::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 0;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--mint);
    box-shadow: 0 0 0 1px var(--ink);
}

.plus-card .program-list li::before {
    background: #fff8ee;
}

.max-card .program-list li::before {
    background: #ffd60a;
}

.demo-card .program-list li::before,
.diagnosis-card .program-list li::before {
    background: var(--teal);
}

.program-card .button {
    width: 100%;
    margin-top: 14px;
    cursor: pointer;
}

.program-card .button:hover {
    box-shadow: 0 12px 28px rgba(42, 37, 34, 0.2);
}

.core-card .button-secondary {
    border-color: rgba(255, 248, 238, 0.62);
    color: #fff8ee;
}

.core-card .button-secondary:hover {
    background: #fff8ee;
    color: #2a2522;
}

.plus-card .button-primary {
    background: #fff8ee;
    color: #2a2522;
}

.diagnosis-card .button-secondary {
    border-color: var(--ink);
    color: var(--ink);
}

.diagnosis-card .button-secondary:hover {
    background: var(--ink);
    color: #fff8ee;
}

.dark .program-card.core-card {
    background:
        linear-gradient(150deg, rgba(250, 248, 242, 0.08), transparent 34%),
        #111927;
    color: #fff8ee;
}

.dark .program-card.plus-card {
    border-color: rgba(255, 122, 111, 0.5);
    background:
        linear-gradient(155deg, rgba(255, 248, 238, 0.13), transparent 38%),
        #45242a;
    color: #fff8ee;
}

.dark .program-card.max-card {
    background:
        linear-gradient(150deg, rgba(151, 111, 224, 0.22), transparent 42%),
        #1d1228;
}

.dark .program-card.demo-card {
    border-color: rgba(121, 214, 212, 0.44);
    background:
        linear-gradient(145deg, rgba(121, 214, 212, 0.16), transparent 40%),
        #1d3535;
    color: #fff8ee;
}

.dark .program-card.diagnosis-card {
    border-color: rgba(185, 149, 224, 0.34);
    background:
        linear-gradient(145deg, rgba(185, 149, 224, 0.13), transparent 36%),
        #211a1e;
    color: #fff8ee;
}

.dark .plus-card > p,
.dark .plus-card .program-duration,
.dark .plus-card .program-meta,
.dark .plus-card .program-list li,
.dark .demo-card > p,
.dark .demo-card .program-duration,
.dark .demo-card .program-meta,
.dark .demo-card .program-list li,
.dark .diagnosis-card > p,
.dark .diagnosis-card .program-duration,
.dark .diagnosis-card .program-meta,
.dark .diagnosis-card .program-list li {
    color: #f2e6da;
}

.dark .plus-card .program-label {
    color: #ffd4cc;
}

.dark .demo-card .program-label {
    color: var(--teal);
}

.dark .diagnosis-card .program-label {
    color: var(--violet);
}

.dark .plus-card .button-primary {
    background: var(--coral);
    color: #ffffff;
}

.dark .demo-card .button-secondary,
.dark .diagnosis-card .button-secondary {
    border-color: rgba(250, 248, 242, 0.62);
    color: #fff8ee;
}

.dark .demo-card .button-secondary:hover,
.dark .diagnosis-card .button-secondary:hover {
    background: #fff8ee;
    color: #173335;
}

.demo-card .button-secondary {
    border-color: #173335;
    color: #173335;
}

.demo-card .button-secondary:hover {
    background: #173335;
    color: #fff8ee;
}

.corporate-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 78% 20%, rgba(185, 149, 224, 0.16), transparent 30%),
        radial-gradient(circle at 12% 88%, rgba(255, 138, 120, 0.08), transparent 28%),
        linear-gradient(145deg, #160e1b 0%, #231329 48%, #0e0a12 100%);
    color: #fff8ee;
}

.corporate-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(400px, 0.98fr);
    gap: clamp(52px, 7vw, 96px);
    align-items: center;
}

.corporate-copy .eyebrow {
    color: #ff9a88;
}

.corporate-copy h2 {
    max-width: 720px;
    color: #fff8ee;
    font-size: clamp(38px, 4.2vw, 58px);
    line-height: 1.04;
}

.corporate-copy > p:not(.eyebrow) {
    max-width: 680px;
    margin-top: 18px;
    color: rgba(250, 248, 242, 0.72);
    font-size: 17px;
    line-height: 1.68;
}

.corporate-grid .button {
    margin-top: 28px;
}

.corporate-copy .button-secondary {
    border-color: rgba(250, 248, 242, 0.55);
    color: #fff8ee;
}

.corporate-copy .button-secondary:hover {
    background: #fff8ee;
    color: #24152f;
}

.corporate-system {
    position: relative;
    padding: clamp(24px, 3vw, 34px);
    overflow: hidden;
    border: 1px solid rgba(185, 149, 224, 0.3);
    border-radius: 24px;
    background:
        radial-gradient(circle at 92% 8%, rgba(255, 138, 120, 0.12), transparent 28%),
        linear-gradient(145deg, rgba(53, 35, 61, 0.88), rgba(18, 13, 23, 0.94));
    box-shadow: 0 22px 64px rgba(0, 0, 0, 0.28);
}

.corporate-system__head {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(250, 248, 242, 0.1);
}

.corporate-system__head img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    opacity: 0.82;
    filter: invert(1) brightness(1.08) drop-shadow(0 0 14px rgba(185, 149, 224, 0.22));
}

.corporate-system__head span {
    display: block;
    margin-bottom: 4px;
    color: #ff9a88;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.14em;
}

.corporate-system__head h3 {
    color: #fff8ee;
    font-size: clamp(24px, 2.4vw, 31px);
}

.corporate-system__track {
    position: relative;
    display: grid;
    gap: 8px;
    margin-top: 18px;
}

.corporate-system__track::before {
    content: "";
    position: absolute;
    top: 18px;
    bottom: 18px;
    left: 17px;
    width: 1px;
    background: linear-gradient(#b995e0, rgba(255, 138, 120, 0.55));
}

.corporate-system__item {
    position: relative;
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 13px;
    align-items: center;
    min-height: 50px;
    padding: 8px 12px 8px 0;
    border: 1px solid transparent;
    border-radius: 14px;
    color: rgba(250, 248, 242, 0.8);
}

.corporate-system__item:nth-child(even) {
    background: rgba(250, 248, 242, 0.03);
    border-color: rgba(250, 248, 242, 0.06);
}

.corporate-system__item span {
    position: relative;
    z-index: 1;
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border: 1px solid rgba(185, 149, 224, 0.45);
    border-radius: 50%;
    background: #24152f;
    color: #d7c2e8;
    font-size: 10px;
    font-weight: 900;
}

.corporate-system__item:nth-child(4) span,
.corporate-system__item:nth-child(5) span {
    border-color: rgba(255, 138, 120, 0.42);
    color: #ffb7aa;
}

.corporate-system__item strong {
    font-size: 13px;
    line-height: 1.45;
}

.founder-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
    gap: 80px;
    align-items: start;
}

.founder-name {
    padding-top: 10px;
    border-top: 4px solid var(--coral);
}

.founder-name h3 {
    margin-top: 16px;
}

.founder-name p {
    margin-top: 8px;
    color: var(--muted);
    font-size: 14px;
}

.founder-quote blockquote {
    margin-bottom: 28px;
    font-family: "Fraunces", serif;
    font-size: 36px;
    font-weight: 600;
    line-height: 1.4;
}

.founder-quote > p {
    max-width: 720px;
    color: var(--muted);
}

.founder-quote .button {
    margin-top: 28px;
}

.faq-section {
    background:
        radial-gradient(circle at 16% 12%, rgba(185, 149, 224, 0.14), transparent 26%),
        radial-gradient(circle at 86% 80%, rgba(255, 138, 120, 0.07), transparent 26%),
        linear-gradient(160deg, #120d15 0%, #1d1420 54%, #0d0a10 100%);
    color: #fff8ee;
}

.faq-section .section-header {
    margin-bottom: 34px;
}

.faq-section .section-header h2 {
    color: #fff8ee;
}

.faq-section .eyebrow {
    color: #b995e0;
}

.faq-list {
    max-width: 920px;
    margin-inline: auto;
    padding: 8px;
    border: 1px solid rgba(250, 248, 242, 0.12);
    border-radius: 24px;
    overflow: hidden;
    background: linear-gradient(145deg, rgba(250, 248, 242, 0.055), rgba(250, 248, 242, 0.02));
    box-shadow: 0 20px 58px rgba(0, 0, 0, 0.24);
    backdrop-filter: blur(12px);
}

.faq-item {
    border-bottom: 1px solid rgba(250, 248, 242, 0.08);
}

.faq-item:last-child {
    border-bottom: 0;
}

.faq-question {
    display: flex;
    width: 100%;
    min-height: 68px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 16px 18px;
    border: 0;
    background: transparent;
    border-radius: 14px;
    color: rgba(250, 248, 242, 0.88);
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: color 180ms ease, background-color 180ms ease;
}

.faq-question:hover,
.faq-question:focus-visible,
.faq-question[aria-expanded="true"] {
    background: linear-gradient(90deg, rgba(185, 149, 224, 0.12), rgba(255, 138, 120, 0.055));
    color: #fff8ee;
}

.faq-question:focus-visible {
    outline: 2px solid rgba(185, 149, 224, 0.5);
    outline-offset: -3px;
}

.faq-symbol {
    display: grid;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    place-items: center;
    border: 1px solid rgba(250, 248, 242, 0.16);
    border-radius: 50%;
    background: rgba(250, 248, 242, 0.04);
    color: rgba(250, 248, 242, 0.76);
    font-size: 18px;
    font-weight: 400;
    transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease, color 180ms ease;
}

.faq-question:hover .faq-symbol,
.faq-question:focus-visible .faq-symbol,
.faq-question[aria-expanded="true"] .faq-symbol {
    border-color: rgba(255, 138, 120, 0.5);
    background: rgba(255, 138, 120, 0.12);
    color: #ffb7aa;
}

.faq-question[aria-expanded="true"] .faq-symbol {
    transform: none;
}

.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    padding: 0 18px;
    color: rgba(250, 248, 242, 0.67);
    overflow: hidden;
    transition: grid-template-rows 220ms ease, opacity 180ms ease, padding 220ms ease;
}

.faq-answer.open {
    grid-template-rows: 1fr;
    opacity: 1;
    padding: 0 66px 22px 18px;
}

.faq-answer p {
    max-width: 760px;
    margin: 0;
    overflow: hidden;
    font-size: 14px;
    line-height: 1.65;
}

.contact-footer {
    position: relative;
    padding: 88px 0 32px;
    background:
        radial-gradient(circle at 78% 22%, rgba(185, 149, 224, 0.14), transparent 30%),
        radial-gradient(circle at 12% 78%, rgba(255, 138, 120, 0.08), transparent 28%),
        linear-gradient(145deg, #150b20 0%, #24112f 48%, #0d0912 100%);
    color: #faf8f2;
    scroll-margin-top: var(--anchor-offset);
}

.contact-footer::before {
    position: absolute;
    inset: 0 0 auto;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 138, 120, 0.36), rgba(185, 149, 224, 0.28), transparent);
    content: "";
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    gap: clamp(48px, 7vw, 96px);
    align-items: center;
    padding-bottom: 34px;
}

.contact-panel {
    max-width: 720px;
}

.contact-grid h2 {
    max-width: 760px;
    margin-bottom: 18px;
}

.contact-grid p,
.footer-identity p {
    max-width: 680px;
    color: #ded5ce;
}

.contact-main {
    margin: 0;
    color: #faf8f2;
    font-family: "Fraunces", serif;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
}

.contact-support {
    margin: 12px 0 0;
    font-size: 18px;
    line-height: 1.65;
}

.contact-actions {
    display: grid;
    gap: 12px;
    width: min(100%, 440px);
    margin-top: 30px;
}

.contact-actions .button-primary {
    width: 100%;
}

.contact-link {
    display: flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid rgba(250, 248, 242, 0.28);
    border-radius: 999px;
    background: rgba(250, 248, 242, 0.045);
    color: #faf8f2;
    font-size: 14px;
    font-weight: 600;
    transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.contact-link-static {
    cursor: default;
}

.contact-link svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.contact-link[href]:hover,
.contact-link[href]:focus-visible {
    border-color: rgba(255, 138, 120, 0.76);
    background: radial-gradient(circle at 28% 50%, rgba(185, 149, 224, 0.22), rgba(255, 138, 120, 0.12));
    color: #ffffff;
    box-shadow: inset 0 0 16px rgba(185, 149, 224, 0.11), 0 10px 24px rgba(0, 0, 0, 0.18);
    transform: translateY(-2px);
}

.contact-link[href]:focus-visible {
    outline: 3px solid rgba(185, 149, 224, 0.34);
    outline-offset: 3px;
}

.footer-base {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-top: 28px;
    border-top: 1px solid rgba(250, 248, 242, 0.22);
    color: #cfc4bb;
    font-size: 12px;
}

.footer-identity {
    position: relative;
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 10px;
    min-height: 168px;
    padding: 18px 0 18px 24px;
    text-align: center;
}

.footer-mark {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: #faf8f2;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: 0.035em;
}

.footer-mark img {
    width: 48px;
    height: 48px;
    opacity: 0.9;
    filter: invert(1) brightness(1.08) drop-shadow(0 0 12px rgba(185, 149, 224, 0.18));
}

.footer-identity p,
.footer-identity .return-top {
    position: relative;
}

.return-top {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 40px;
    padding: 8px 14px;
    border: 1px solid rgba(250, 248, 242, 0.24);
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(250, 248, 242, 0.06), rgba(185, 149, 224, 0.05));
    color: #faf8f2;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.return-top:hover,
.return-top:focus-visible {
    border-color: rgba(255, 138, 120, 0.58);
    background: linear-gradient(135deg, rgba(185, 149, 224, 0.15), rgba(255, 138, 120, 0.09));
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
    transform: translateY(-2px);
}

.return-top:focus-visible {
    outline: 3px solid rgba(185, 149, 224, 0.34);
    outline-offset: 3px;
}

.social-rail {
    display: grid;
    grid-template-columns: minmax(32px, 1fr) auto minmax(32px, 1fr);
    align-items: center;
    gap: 18px;
    padding-top: 0;
}

.footer-bottom {
    padding-top: 22px;
    border-top: 1px solid rgba(250, 248, 242, 0.14);
}

.social-rail::before,
.social-rail::after {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(250, 248, 242, 0.2));
    content: "";
}

.social-rail::after {
    background: linear-gradient(90deg, rgba(250, 248, 242, 0.2), transparent);
}

.social-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.social-icon {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border: 1px solid rgba(250, 248, 242, 0.3);
    border-radius: 50%;
    background: rgba(250, 248, 242, 0.04);
    color: #faf8f2;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: inset 0 0 0 1px transparent;
    transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.social-icon i {
    display: block;
    font-size: 19px;
    line-height: 1;
}

.social-icon svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.social-icon .icon-fill {
    fill: currentColor;
    stroke: none;
}

.social-icon:hover,
.social-icon:focus-visible {
    border-color: rgba(255, 138, 120, 0.68);
    background: radial-gradient(circle at 50% 50%, rgba(185, 149, 224, 0.25), rgba(255, 138, 120, 0.12));
    color: #ffffff;
    box-shadow: inset 0 0 14px rgba(185, 149, 224, 0.14), 0 8px 20px rgba(0, 0, 0, 0.18);
    transform: translateY(-3px);
}

.social-icon:focus-visible {
    outline: 3px solid rgba(185, 149, 224, 0.34);
    outline-offset: 3px;
}

.social-icon.is-disabled,
.social-icon[disabled] {
    cursor: default;
    opacity: 0.78;
}

.social-icon.is-disabled:hover,
.social-icon.is-disabled:focus-visible,
.social-icon[disabled]:hover {
    opacity: 1;
}

.footer-legal-links,
.legal-footer-links,
.auth-legal-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 18px;
}

.footer-legal-links {
    margin-top: 24px;
}

.footer-legal-links a,
.legal-footer-links a,
.auth-legal-links a,
.auth-terms a,
.legal-card a {
    color: rgba(250, 248, 242, 0.82);
    font-weight: 700;
    text-decoration: none;
    transition: color 180ms ease, text-decoration-color 180ms ease;
}

.footer-legal-links a,
.legal-footer-links a,
.auth-legal-links a {
    font-size: 13px;
}

.footer-legal-links a:hover,
.footer-legal-links a:focus-visible,
.legal-footer-links a:hover,
.legal-footer-links a:focus-visible,
.auth-legal-links a:hover,
.auth-legal-links a:focus-visible,
.auth-terms a:hover,
.auth-terms a:focus-visible,
.legal-card a:hover,
.legal-card a:focus-visible {
    color: var(--coral);
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

.footer-legal-links a:focus-visible,
.legal-footer-links a:focus-visible,
.auth-legal-links a:focus-visible,
.auth-terms a:focus-visible,
.legal-card a:focus-visible {
    outline: 2px solid rgba(255, 138, 120, 0.46);
    outline-offset: 4px;
    border-radius: 999px;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #faf8f2;
    font-size: 14px;
    font-weight: 700;
}

.footer-brand img {
    width: 36px;
    height: 36px;
}

.hero-atom {
    position: relative;
}

.atom-field {
    position: relative;
    display: grid;
    aspect-ratio: 1 / 1;
    width: min(100%, 620px);
    min-height: 520px;
    margin-inline: auto;
    place-items: center;
    overflow: visible;
    color: #fff8ee;
}

.atom-glow {
    position: absolute;
    inset: 12%;
    border-radius: 50%;
    background:
        radial-gradient(circle, rgba(185, 149, 224, 0.34), rgba(185, 149, 224, 0.12) 34%, transparent 68%);
    filter: blur(2px);
    animation: atom-breathe-glow 5.2s ease-in-out infinite;
}

.atom-ring {
    position: absolute;
    width: 74%;
    height: 74%;
    border: 1px solid rgba(185, 149, 224, 0.28);
    border-radius: 50%;
    pointer-events: none;
}

.atom-ring::after {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(90deg, transparent 0 38%, rgba(98, 207, 210, 0.18), transparent 62% 100%);
    mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1px));
}

.atom-ring-wide {
    width: 82%;
    height: 82%;
    border-color: rgba(250, 248, 242, 0.16);
    animation: atom-ring-drift 18s ease-in-out infinite;
}

.atom-ring-tilt-a {
    transform: rotate(58deg) scaleX(0.62);
    border-color: rgba(185, 149, 224, 0.36);
    animation: atom-ring-drift-a 20s ease-in-out infinite;
}

.atom-ring-tilt-b {
    transform: rotate(-58deg) scaleX(0.62);
    border-color: rgba(98, 207, 210, 0.2);
    animation: atom-ring-drift-b 22s ease-in-out infinite;
}

.atom-nucleus {
    position: relative;
    z-index: 4;
    display: grid;
    width: 156px;
    height: 156px;
    place-items: center;
    border: 1px solid rgba(250, 248, 242, 0.16);
    border-radius: 50%;
    background:
        radial-gradient(circle at 50% 48%, rgba(255, 255, 255, 0.07), transparent 24%),
        radial-gradient(circle at 50% 45%, rgba(185, 149, 224, 0.34), transparent 58%),
        radial-gradient(circle at 50% 50%, rgba(5, 3, 10, 0.98), #030207 72%);
    box-shadow:
        inset 0 0 46px rgba(185, 149, 224, 0.32),
        0 0 0 14px rgba(185, 149, 224, 0.08),
        0 0 96px rgba(185, 149, 224, 0.46),
        0 24px 70px rgba(0, 0, 0, 0.48);
    animation: atom-breathe 5.2s ease-in-out infinite;
}

.atom-nucleus img {
    width: 88px;
    height: 88px;
    object-fit: contain;
    filter: invert(1) brightness(1.42) contrast(1.1) drop-shadow(0 0 18px rgba(250, 248, 242, 0.28)) drop-shadow(0 0 32px rgba(185, 149, 224, 0.68));
    animation: starburst-breathe 5.2s ease-in-out infinite;
}

.atom-point {
    position: absolute;
    z-index: 5;
    display: grid;
    width: 0;
    height: 0;
    place-items: center;
}

.electron {
    position: absolute;
    width: 12px;
    height: 12px;
    border: 1px solid rgba(250, 248, 242, 0.8);
    border-radius: 50%;
    background: linear-gradient(135deg, #fff8ee, var(--violet));
    box-shadow: 0 0 0 7px rgba(185, 149, 224, 0.13), 0 0 24px rgba(185, 149, 224, 0.42);
}

.atom-label {
    position: absolute;
    min-width: max-content;
    padding: 8px 12px;
    border: 1px solid rgba(250, 248, 242, 0.18);
    border-radius: 999px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.035) 42%, rgba(52, 31, 66, 0.34)),
        rgba(14, 10, 20, 0.86);
    color: #fff8ee;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.1;
    white-space: nowrap;
    backdrop-filter: blur(10px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.16),
        inset 0 -10px 22px rgba(185, 149, 224, 0.08),
        0 10px 28px rgba(0, 0, 0, 0.22);
}

.atom-knowledge { top: 9%; left: 50%; animation: atom-clockwise-drift 18s ease-in-out infinite; animation-delay: -0.4s; }
.atom-mindset { top: 20%; right: 20%; animation: atom-clockwise-drift 18s ease-in-out infinite; animation-delay: -2.6s; }
.atom-pronunciation { top: 50%; right: 9%; animation: atom-clockwise-drift 18s ease-in-out infinite; animation-delay: -4.8s; }
.atom-rhythm { right: 20%; bottom: 20%; animation: atom-clockwise-drift 18s ease-in-out infinite; animation-delay: -7s; }
.atom-fluency { bottom: 9%; left: 50%; animation: atom-clockwise-drift 18s ease-in-out infinite; animation-delay: -9.2s; }
.atom-confidence { bottom: 20%; left: 20%; animation: atom-clockwise-drift 18s ease-in-out infinite; animation-delay: -11.4s; }
.atom-reflection { top: 50%; left: 9%; animation: atom-clockwise-drift 18s ease-in-out infinite; animation-delay: -13.6s; }
.atom-speech { top: 20%; left: 20%; animation: atom-clockwise-drift 18s ease-in-out infinite; animation-delay: -15.8s; }

.atom-knowledge .atom-label,
.atom-fluency .atom-label {
    transform: translate(-50%, calc(-100% - 18px));
}

.atom-mindset .atom-label,
.atom-pronunciation .atom-label,
.atom-rhythm .atom-label {
    transform: translate(22px, -50%);
}

.atom-confidence .atom-label,
.atom-reflection .atom-label,
.atom-speech .atom-label {
    transform: translate(calc(-100% - 22px), -50%);
}

.atom-pronunciation .electron,
.atom-speech .electron {
    background: var(--teal);
    box-shadow: 0 0 0 7px rgba(98, 207, 210, 0.1), 0 0 24px rgba(98, 207, 210, 0.28);
}

.atom-confidence .electron,
.atom-fluency .electron {
    background: var(--mint);
    box-shadow: 0 0 0 7px rgba(213, 238, 187, 0.1), 0 0 24px rgba(213, 238, 187, 0.24);
}

.atom-reflection .electron,
.atom-rhythm .electron {
    background: var(--coral);
    box-shadow: 0 0 0 7px rgba(247, 88, 76, 0.1), 0 0 24px rgba(247, 88, 76, 0.28);
}

@keyframes atom-breathe {
    0%, 100% { transform: scale(1); box-shadow: inset 0 0 36px rgba(185, 149, 224, 0.28), 0 0 0 14px rgba(185, 149, 224, 0.08), 0 0 88px rgba(185, 149, 224, 0.4), 0 24px 70px rgba(0, 0, 0, 0.48); }
    50% { transform: scale(1.025); box-shadow: inset 0 0 44px rgba(185, 149, 224, 0.34), 0 0 0 21px rgba(185, 149, 224, 0.1), 0 0 112px rgba(185, 149, 224, 0.5), 0 30px 82px rgba(0, 0, 0, 0.54); }
}

@keyframes atom-breathe-glow {
    0%, 100% { opacity: 0.78; transform: scale(1); filter: blur(2px); }
    50% { opacity: 1; transform: scale(1.1); filter: blur(5px); }
}

@keyframes starburst-breathe {
    0%, 100% { transform: scale(1); opacity: 0.96; filter: invert(1) brightness(1.34) contrast(1.08) drop-shadow(0 0 20px rgba(250, 248, 242, 0.3)) drop-shadow(0 0 26px rgba(185, 149, 224, 0.56)); }
    50% { transform: scale(1.045); opacity: 1; filter: invert(1) brightness(1.42) contrast(1.1) drop-shadow(0 0 24px rgba(250, 248, 242, 0.36)) drop-shadow(0 0 36px rgba(185, 149, 224, 0.7)); }
}

@keyframes atom-clockwise-drift {
    0%, 100% { transform: translate3d(0, 0, 0); }
    25% { transform: translate3d(3px, 2px, 0); }
    50% { transform: translate3d(0, 4px, 0); }
    75% { transform: translate3d(-3px, 2px, 0); }
}

@keyframes atom-ring-drift {
    0%, 100% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(4deg) scale(1.01); }
}

@keyframes atom-ring-drift-a {
    0%, 100% { transform: rotate(58deg) scaleX(0.62); }
    50% { transform: rotate(62deg) scaleX(0.64); }
}

@keyframes atom-ring-drift-b {
    0%, 100% { transform: rotate(-58deg) scaleX(0.62); }
    50% { transform: rotate(-62deg) scaleX(0.64); }
}

@keyframes goal-path-pulse {
    0%, 100% { opacity: 0.62; transform: scaleX(0.98); }
    50% { opacity: 1; transform: scaleX(1); }
}

@keyframes goal-node-breathe {
    0%, 100% { opacity: 0.74; transform: scale(0.82); }
    50% { opacity: 1; transform: scale(1); }
}

@keyframes goal-orbit-breathe {
    0%, 100% { box-shadow: 0 0 24px rgba(255, 138, 120, 0.14); }
    50% { box-shadow: 0 0 34px rgba(185, 149, 224, 0.24); }
}

.goal-video {
    position: relative;
    display: grid;
    width: 100%;
    aspect-ratio: 16 / 9;
    min-height: 430px;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(250, 248, 242, 0.2);
    border-radius: 8px;
    background:
        radial-gradient(circle at 26% 20%, rgba(98, 207, 210, 0.18), transparent 26%),
        radial-gradient(circle at 78% 80%, rgba(213, 238, 187, 0.16), transparent 22%),
        linear-gradient(145deg, #2a1144, #2a2522);
    color: #faf8f2;
    font: inherit;
    box-shadow: 0 30px 80px rgba(42, 17, 68, 0.24);
    cursor: pointer;
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.dark .goal-video {
    border-color: rgba(250, 248, 242, 0.18);
    background:
        radial-gradient(circle at 28% 22%, rgba(98, 207, 210, 0.12), transparent 26%),
        radial-gradient(circle at 78% 80%, rgba(185, 149, 224, 0.16), transparent 22%),
        linear-gradient(145deg, #211821, #120c18);
}

.goal-video:hover {
    border-color: rgba(213, 238, 187, 0.42);
    box-shadow: 0 24px 58px rgba(42, 17, 68, 0.22);
    transform: translateY(-3px);
}

.goal-video::before {
    content: "";
    position: absolute;
    inset: 22px;
    border: 1px solid rgba(250, 248, 242, 0.16);
    border-radius: 6px;
}

.goal-video-content {
    position: relative;
    z-index: 1;
    display: grid;
    max-width: 420px;
    justify-items: center;
    gap: 16px;
    padding: 38px;
    text-align: center;
}

.goal-video-content img {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.goal-video-play {
    display: grid;
    width: 64px;
    height: 64px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.64);
    border-radius: 50%;
    background: var(--coral);
    color: #2a2522;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
    transition: background-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.goal-video:hover .goal-video-play,
.goal-video:focus-visible .goal-video-play {
    background: var(--mint);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.32);
    transform: translateY(-2px);
}

.goal-video-content strong {
    font-family: "Fraunces", serif;
    font-size: 30px;
    line-height: 1.2;
}

.goal-video-content p {
    color: #ded5ce;
    font-size: 14px;
}

.solution-blocks {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin: 42px 0 56px;
}

.solution-path-card {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.solution-path-card:hover {
    border-color: var(--violet);
    box-shadow: var(--shadow);
    transform: translateY(-3px);
}

.solution-path-card.control {
    border-color: var(--violet);
}

.solution-path-card h3 {
    margin-bottom: 18px;
    font-size: 24px;
}

.compact-path {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.compact-path span {
    padding: 8px 10px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--paper-soft);
    font-size: 12px;
    font-weight: 700;
}

.compact-path b {
    color: var(--violet);
    font-size: 13px;
}

.solution-subsection + .solution-subsection {
    margin-top: 64px;
    padding-top: 64px;
    border-top: 1px solid var(--line);
}

.solution-subhead {
    max-width: 720px;
    margin-bottom: 30px;
}

.solution-subhead p {
    margin-top: 12px;
    color: var(--muted);
}

.solution-section {
    padding: 104px 0;
    background:
        radial-gradient(circle at 8% 12%, rgba(213, 238, 187, 0.22), transparent 24%),
        linear-gradient(180deg, var(--paper-soft), var(--paper));
}

.dark .solution-section {
    background:
        radial-gradient(circle at 12% 8%, rgba(185, 149, 224, 0.12), transparent 24%),
        linear-gradient(180deg, #211821, #171116);
}

.solution-header {
    max-width: 820px;
}

.solution-system {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin: 48px 0 68px;
}

.solution-orbit-card {
    display: grid;
    min-height: 620px;
    grid-template-rows: auto 1fr;
    gap: 28px;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 253, 248, 0.78);
    box-shadow: 0 18px 42px rgba(42, 37, 34, 0.08);
    transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}

.dark .solution-orbit-card {
    background: rgba(44, 34, 40, 0.74);
}

.solution-orbit-card:hover,
.solution-orbit-card:focus-within {
    border-color: rgba(126, 93, 167, 0.42);
    box-shadow: var(--shadow-hover);
    transform: translateY(-3px);
}

.orbit-card-head h3 {
    margin-bottom: 12px;
}

.orbit-card-head p:last-child {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.65;
}

.plateau-diagram,
.apx-solution-diagram {
    position: relative;
    display: grid;
    min-height: 390px;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(42, 37, 34, 0.1);
    border-radius: 8px;
    background:
        radial-gradient(circle at 50% 50%, rgba(255, 253, 248, 0.96), rgba(248, 241, 231, 0.42));
}

.dark .plateau-diagram,
.dark .apx-solution-diagram {
    border-color: rgba(250, 248, 242, 0.12);
    background:
        radial-gradient(circle at 50% 50%, rgba(44, 34, 40, 0.82), rgba(18, 12, 24, 0.72));
}

.plateau-ring,
.solution-ring {
    position: absolute;
    border: 1px solid rgba(126, 93, 167, 0.24);
    border-radius: 50%;
    pointer-events: none;
}

.ring-outer,
.solution-ring-outer {
    inset: 10%;
}

.ring-inner,
.solution-ring-inner {
    inset: 28%;
    border-color: rgba(247, 88, 76, 0.24);
}

.solution-ring-middle {
    inset: 20%;
    border-color: rgba(98, 207, 210, 0.28);
}

.plateau-center,
.solution-nucleus {
    position: relative;
    z-index: 3;
    display: grid;
    width: 128px;
    height: 128px;
    place-items: center;
    border: 1px solid rgba(42, 37, 34, 0.16);
    border-radius: 50%;
    background: var(--surface);
    box-shadow: 0 16px 34px rgba(42, 17, 68, 0.12);
    color: var(--ink);
    font-size: 14px;
    font-weight: 800;
    line-height: 1.25;
    text-align: center;
}

.dark .plateau-center,
.dark .solution-nucleus {
    border-color: rgba(250, 248, 242, 0.16);
    background: rgba(23, 17, 22, 0.9);
}

.solution-nucleus img {
    width: 66px;
    height: 66px;
    object-fit: contain;
}

.plateau-node,
.solution-node {
    position: absolute;
    z-index: 4;
    max-width: 126px;
    padding: 9px 11px;
    border: 1px solid rgba(42, 37, 34, 0.12);
    border-radius: 999px;
    background: rgba(255, 253, 248, 0.84);
    color: var(--ink);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    backdrop-filter: blur(8px);
    transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.dark .plateau-node,
.dark .solution-node {
    border-color: rgba(250, 248, 242, 0.14);
    background: rgba(36, 27, 34, 0.78);
}

.plateau-node:hover,
.solution-node:hover {
    border-color: var(--violet);
    background: var(--violet);
    color: #ffffff;
    transform: translateY(-2px);
}

.node-study,
.node-notice { top: 8%; left: 50%; transform: translateX(-50%); }
.node-study:hover,
.node-notice:hover { transform: translateX(-50%) translateY(-2px); }
.node-translate,
.node-train { top: 29%; right: 4%; }
.node-errors,
.node-correct { right: 8%; bottom: 18%; }
.node-fluency,
.node-speak { bottom: 8%; left: 50%; transform: translateX(-50%); }
.node-fluency:hover,
.node-speak:hover { transform: translateX(-50%) translateY(-2px); }
.node-confidence,
.node-reflect { bottom: 20%; left: 4%; }
.node-improve { top: 29%; left: 5%; }

.apx-orbit .solution-node {
    border-color: rgba(126, 93, 167, 0.24);
}

.solution-section {
    position: relative;
    overflow: clip;
    padding: 116px 0;
    background:
        radial-gradient(circle at 72% 24%, rgba(185, 149, 224, 0.16), transparent 26%),
        radial-gradient(circle at 18% 62%, rgba(247, 88, 76, 0.08), transparent 24%),
        linear-gradient(180deg, #130b18 0%, #1d1320 48%, #141016 100%);
    color: #fff8ee;
}

.solution-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(250, 248, 242, 0.03) 1px, transparent 1px),
        linear-gradient(180deg, rgba(250, 248, 242, 0.025) 1px, transparent 1px);
    background-size: 84px 84px;
    mask-image: radial-gradient(circle at 50% 42%, #000 0 34%, transparent 68%);
    opacity: 0.3;
    pointer-events: none;
}

.dark .solution-section {
    background:
        radial-gradient(circle at 72% 24%, rgba(185, 149, 224, 0.16), transparent 26%),
        radial-gradient(circle at 18% 62%, rgba(247, 88, 76, 0.08), transparent 24%),
        linear-gradient(180deg, #130b18 0%, #1d1320 48%, #141016 100%);
}

.solution-section .container {
    position: relative;
    z-index: 1;
}

.solution-header {
    max-width: 940px;
}

.solution-header h2,
.solution-subhead h3 {
    color: #fff8ee;
}

.solution-header .apx-keyword {
    color: var(--coral);
}

.solution-header p:last-child,
.solution-subhead p {
    color: rgba(250, 248, 242, 0.72);
}


.journey-section {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

.journey-tool {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 253, 248, 0.8);
    box-shadow: var(--shadow);
}

.dark .journey-tool {
    background: rgba(44, 34, 40, 0.72);
}

.journey-rail {
    position: relative;
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 0;
    border-bottom: 1px solid var(--line);
    background:
        linear-gradient(90deg, transparent 0, transparent 6%, rgba(126, 93, 167, 0.2) 6%, rgba(126, 93, 167, 0.2) 94%, transparent 94%);
    background-size: 100% 1px;
    background-position: center;
    background-repeat: no-repeat;
}

.week-tab {
    position: relative;
    display: grid;
    min-height: 104px;
    align-content: center;
    gap: 8px;
    padding: 18px 10px;
    border: 0;
    border-right: 1px solid var(--line);
    background: transparent;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.week-tab::before {
    content: "";
    width: 13px;
    height: 13px;
    margin: 0 auto 2px;
    border: 2px solid var(--surface);
    border-radius: 50%;
    background: var(--violet);
    box-shadow: 0 0 0 1px rgba(126, 93, 167, 0.32);
}

.week-tab:last-child {
    border-right: 0;
}

.week-tab span {
    color: var(--violet);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.week-tab strong {
    color: var(--ink);
    font-size: 12px;
    line-height: 1.25;
}

.week-tab:hover:not(.active) {
    background: rgba(126, 93, 167, 0.08);
    color: var(--ink);
    transform: translateY(-2px);
}

.week-tab.active {
    background: var(--violet);
    color: #ffffff;
}

.week-tab.active::before {
    background: var(--mint);
    box-shadow: 0 0 0 4px rgba(213, 238, 187, 0.2);
}

.week-tab.active span,
.week-tab.active strong {
    color: #ffffff;
}

.week-detail {
    display: grid;
    min-height: 260px;
    grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1.28fr);
}

.week-title {
    display: grid;
    align-content: center;
    padding: 34px;
    border-right: 1px solid var(--line);
}

.week-body {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.solution-system {
    display: grid;
    grid-template-columns: minmax(210px, 0.7fr) minmax(430px, 1.35fr) minmax(210px, 0.7fr);
    gap: clamp(30px, 4vw, 56px);
    align-items: center;
    margin: 72px 0 92px;
}

.solution-state-card {
    position: relative;
    max-width: 330px;
    padding: 0 0 0 28px;
    border: 0;
    background: transparent;
    color: rgba(250, 248, 242, 0.74);
}

.solution-state-card::before {
    content: "";
    position: absolute;
    top: 5px;
    left: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(185, 149, 224, 0.72);
    box-shadow: 0 0 24px rgba(185, 149, 224, 0.28);
}

.solution-state-card--problem::before {
    background: rgba(255, 138, 120, 0.72);
    box-shadow: 0 0 24px rgba(255, 138, 120, 0.24);
}

.solution-state-card--apx {
    justify-self: end;
}

.solution-state-card span {
    display: inline-flex;
    margin-bottom: 14px;
    color: #b995e0;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.solution-state-card--problem span {
    color: #ff8a78;
}

.solution-state-card p {
    font-size: clamp(16px, 1.2vw, 18px);
    line-height: 1.7;
}

.solution-system__visual {
    position: sticky;
    top: calc(var(--nav-height) + 28px);
    display: grid;
    gap: 22px;
    min-height: 640px;
    place-items: center;
    opacity: 0.86;
    transform: translateY(12px);
    transition: opacity 720ms ease, transform 720ms cubic-bezier(0.2, 0.82, 0.2, 1);
}

.solution-system.is-solution-active .solution-system__visual,
.solution-system.is-aligned .solution-system__visual {
    opacity: 1;
    transform: translateY(0);
}

.solution-system__orbit {
    position: relative;
    display: grid;
    aspect-ratio: 1 / 1;
    width: min(100%, 640px);
    place-items: center;
    isolation: isolate;
}

.solution-system__halo {
    position: absolute;
    inset: 14%;
    border-radius: 50%;
    background:
        radial-gradient(circle, rgba(185, 149, 224, 0.2), rgba(185, 149, 224, 0.08) 42%, transparent 70%);
    opacity: 0.52;
    filter: blur(6px);
    transition: opacity 700ms ease, transform 700ms ease;
}

.solution-system.is-solution-active .solution-system__halo,
.solution-system.is-aligned .solution-system__halo {
    opacity: 1;
    transform: scale(1.04);
}

.solution-system__ring {
    position: absolute;
    border: 1px solid rgba(250, 248, 242, 0.13);
    border-radius: 50%;
    opacity: 0.58;
    pointer-events: none;
    transition:
        transform 820ms cubic-bezier(0.2, 0.82, 0.2, 1),
        border-color 520ms ease,
        opacity 520ms ease,
        box-shadow 520ms ease;
}

.solution-system__ring--outer {
    inset: 7%;
    transform: translate(-11px, 12px) rotate(-7deg) scaleX(0.94);
}

.solution-system__ring--middle {
    inset: 18%;
    border-color: rgba(185, 149, 224, 0.18);
    transform: translate(13px, -9px) rotate(15deg) scaleX(1.08);
}

.solution-system__ring--inner {
    inset: 30%;
    border-color: rgba(255, 138, 120, 0.17);
    transform: translate(-8px, -5px) rotate(-17deg) scaleX(0.9);
}

.solution-system.is-solution-active .solution-system__ring,
.solution-system.is-aligned .solution-system__ring {
    opacity: 1;
    border-color: rgba(185, 149, 224, 0.38);
    box-shadow: 0 0 28px rgba(185, 149, 224, 0.08);
    transform: translate(0, 0) rotate(0deg) scaleX(1);
}

.solution-system__nucleus {
    position: relative;
    z-index: 4;
    display: grid;
    width: clamp(146px, 13vw, 172px);
    height: clamp(146px, 13vw, 172px);
    place-items: center;
    border: 1px solid rgba(250, 248, 242, 0.12);
    border-radius: 50%;
    background:
        radial-gradient(circle at 50% 45%, rgba(185, 149, 224, 0.12), transparent 56%),
        rgba(5, 3, 9, 0.98);
    color: rgba(250, 248, 242, 0.78);
    box-shadow:
        inset 0 0 34px rgba(0, 0, 0, 0.52),
        0 0 0 18px rgba(185, 149, 224, 0.07),
        0 28px 80px rgba(0, 0, 0, 0.42);
    text-align: center;
    transition: border-color 520ms ease, box-shadow 520ms ease;
}

.solution-system.is-solution-active .solution-system__nucleus,
.solution-system.is-aligned .solution-system__nucleus {
    border-color: rgba(255, 138, 120, 0.34);
    box-shadow:
        inset 0 0 44px rgba(185, 149, 224, 0.26),
        0 0 0 18px rgba(185, 149, 224, 0.08),
        0 0 94px rgba(255, 138, 120, 0.12),
        0 28px 82px rgba(0, 0, 0, 0.48);
}

.solution-system__plateau-label {
    max-width: 98px;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.2;
    transition: opacity 420ms ease, transform 420ms ease;
}

.solution-system.is-solution-active .solution-system__plateau-label,
.solution-system.is-aligned .solution-system__plateau-label {
    opacity: 0;
    transform: scale(0.92);
}

.solution-system__starburst {
    position: absolute;
    display: grid;
    width: 90px;
    height: 90px;
    place-items: center;
    opacity: 0.18;
    transform: scale(0.74);
    transition:
        opacity 620ms ease,
        transform 780ms cubic-bezier(0.2, 0.82, 0.2, 1),
        filter 620ms ease;
}

.solution-system__starburst::before {
    content: "";
    position: absolute;
    inset: -28px;
    z-index: -1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(185, 149, 224, 0.3), rgba(126, 93, 167, 0.12) 42%, transparent 72%);
    opacity: 0.7;
    animation: apx-purple-glow-breathe 5.8s ease-in-out infinite;
}

.solution-system__starburst img {
    width: 82px;
    height: 82px;
    object-fit: contain;
    filter:
        invert(1)
        brightness(1.42)
        contrast(1.08)
        drop-shadow(0 0 18px rgba(255, 255, 255, 0.28))
        drop-shadow(0 0 30px rgba(185, 149, 224, 0.52));
    animation: apx-starburst-breathe 5.8s ease-in-out infinite;
}

.solution-system.is-solution-active .solution-system__starburst,
.solution-system.is-aligned .solution-system__starburst {
    opacity: 1;
    transform: scale(1);
    animation: apx-starburst-breathe 5.8s ease-in-out infinite;
}

.solution-system__node {
    position: absolute;
    z-index: 5;
    min-width: 94px;
    padding: 0;
    border: 0;
    background: transparent;
    color: rgba(250, 248, 242, 0.78);
    font: inherit;
    opacity: 0;
    cursor: pointer;
    transition: opacity 520ms ease, transform 520ms ease;
}

.solution-system__node-label {
    display: inline-flex;
    min-width: 94px;
    justify-content: center;
    padding: 10px 14px;
    border: 1px solid rgba(250, 248, 242, 0.12);
    border-radius: 999px;
    background: rgba(13, 9, 18, 0.74);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.24);
    backdrop-filter: blur(10px);
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    text-align: center;
    transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.solution-system__node::before {
    content: "";
    position: absolute;
    width: 13px;
    height: 13px;
    border: 2px solid rgba(250, 248, 242, 0.72);
    border-radius: 50%;
    background: #b995e0;
    box-shadow: 0 0 0 7px rgba(185, 149, 224, 0.12), 0 0 20px rgba(185, 149, 224, 0.32);
}

.solution-system__node:hover .solution-system__node-label,
.solution-system__node:focus-visible .solution-system__node-label,
.solution-system__node.is-active .solution-system__node-label {
    border-color: rgba(255, 138, 120, 0.72);
    background: rgba(185, 149, 224, 0.24);
    color: #fff8ee;
    box-shadow: 0 0 30px rgba(185, 149, 224, 0.18);
}

.solution-system__node.is-active::before {
    border-color: #fff8ee;
    box-shadow: 0 0 0 9px rgba(255, 138, 120, 0.14), 0 0 28px rgba(255, 138, 120, 0.38);
}

.solution-system__node:focus-visible {
    outline: none;
}

.solution-system__node.node-notice {
    top: 7%;
    left: 50%;
    transform: translate(-50%, 12px) scale(0.92);
}

.solution-system__node.node-notice::before {
    left: 50%;
    bottom: -23px;
    transform: translateX(-50%);
}

.solution-system__node.node-train {
    top: 50%;
    right: 0;
    transform: translateY(calc(-50% + 12px)) scale(0.92);
}

.solution-system__node.node-train::before {
    left: -24px;
    top: 50%;
    transform: translateY(-50%);
    background: #78d4d0;
    box-shadow: 0 0 0 7px rgba(120, 212, 208, 0.12), 0 0 20px rgba(120, 212, 208, 0.3);
}

.solution-system__node.node-speak {
    bottom: 7%;
    left: 50%;
    transform: translate(-50%, 12px) scale(0.92);
}

.solution-system__node.node-speak::before {
    left: 50%;
    top: -23px;
    transform: translateX(-50%);
    background: #ff8a78;
    box-shadow: 0 0 0 7px rgba(255, 138, 120, 0.12), 0 0 20px rgba(255, 138, 120, 0.3);
}

.solution-system__node.node-improve {
    top: 50%;
    left: 0;
    transform: translateY(calc(-50% + 12px)) scale(0.92);
}

.solution-system__node.node-improve::before {
    right: -24px;
    top: 50%;
    transform: translateY(-50%);
    background: #d5eebb;
    box-shadow: 0 0 0 7px rgba(213, 238, 187, 0.12), 0 0 20px rgba(213, 238, 187, 0.3);
}

.solution-system.is-solution-active .solution-system__node,
.solution-system.is-aligned .solution-system__node {
    opacity: 1;
}

.solution-system.is-solution-active .solution-system__node.node-notice,
.solution-system.is-aligned .solution-system__node.node-notice {
    transform: translate(-50%, 0) scale(1);
}

.solution-system.is-solution-active .solution-system__node.node-train,
.solution-system.is-aligned .solution-system__node.node-train {
    transform: translateY(-50%) scale(1);
}

.solution-system.is-solution-active .solution-system__node.node-speak,
.solution-system.is-aligned .solution-system__node.node-speak {
    transform: translate(-50%, 0) scale(1);
}

.solution-system.is-solution-active .solution-system__node.node-improve,
.solution-system.is-aligned .solution-system__node.node-improve {
    transform: translateY(-50%) scale(1);
}

.solution-system.node-focus-notice .solution-system__ring--outer,
.solution-system.node-focus-improve .solution-system__ring--outer,
.solution-system.node-focus-train .solution-system__ring--middle,
.solution-system.node-focus-speak .solution-system__ring--inner {
    border-color: rgba(255, 138, 120, 0.58);
    box-shadow: 0 0 34px rgba(255, 138, 120, 0.14);
}

.solution-system.has-open-node .solution-system__ring {
    opacity: 0.82;
}

.solution-node-panel {
    position: relative;
    z-index: 2;
    width: min(100%, 520px);
    justify-self: center;
    padding: 18px;
    border: 1px solid rgba(250, 248, 242, 0.15);
    border-radius: 20px;
    background:
        radial-gradient(circle at 18% 12%, rgba(255, 138, 120, 0.12), transparent 34%),
        radial-gradient(circle at 85% 85%, rgba(185, 149, 224, 0.16), transparent 34%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025)),
        rgba(8, 6, 12, 0.78);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 24px 58px rgba(0, 0, 0, 0.34);
    backdrop-filter: blur(14px);
    opacity: 1;
    transform: none;
    pointer-events: auto;
    transition: opacity 220ms ease, transform 220ms ease;
}

.solution-node-panel:not([hidden]) {
    opacity: 1;
    transform: none;
    pointer-events: auto;
}

.solution-node-panel__kicker {
    display: inline-flex;
    margin-bottom: 10px;
    color: #ff8a78;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.solution-node-panel h3 {
    margin: 0 0 12px;
    color: #fff8ee;
    font-family: "Fraunces", serif;
    font-size: 22px;
    line-height: 1.1;
}

.solution-node-panel ul {
    display: grid;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.solution-node-panel li {
    display: flex;
    gap: 8px;
    color: rgba(250, 248, 242, 0.74);
    font-size: 13px;
    line-height: 1.38;
}

.solution-node-panel li::before {
    content: "";
    width: 6px;
    height: 6px;
    flex: 0 0 auto;
    margin-top: 6px;
    border-radius: 50%;
    background: rgba(185, 149, 224, 0.86);
    box-shadow: 0 0 14px rgba(185, 149, 224, 0.36);
}

.journey-system.journey-tool {
    overflow: hidden;
    border: 1px solid rgba(250, 248, 242, 0.12);
    border-radius: 26px;
    background:
        radial-gradient(circle at 12% 0%, rgba(185, 149, 224, 0.16), transparent 34%),
        radial-gradient(circle at 88% 100%, rgba(255, 138, 120, 0.1), transparent 30%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015)),
        rgba(17, 12, 20, 0.58);
    box-shadow: 0 28px 86px rgba(0, 0, 0, 0.28);
}

.journey-path.week-tabs {
    position: relative;
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 0;
    padding: 24px 20px;
    border-bottom: 1px solid rgba(250, 248, 242, 0.1);
    background: transparent;
}

.journey-path.week-tabs::before {
    content: "";
    position: absolute;
    top: 45px;
    left: 7%;
    right: 7%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(185, 149, 224, 0.42), rgba(255, 138, 120, 0.28), transparent);
}

.journey-node.week-tab {
    position: relative;
    z-index: 1;
    display: grid;
    min-height: 112px;
    align-content: start;
    justify-items: center;
    gap: 9px;
    padding: 0 8px 8px;
    border: 0;
    background: transparent;
    color: rgba(250, 248, 242, 0.66);
    text-align: center;
    transition: transform 180ms ease, color 180ms ease;
}

.journey-node.week-tab::before {
    display: none;
}

.journey-node.week-tab:hover:not(.active) {
    background: transparent;
    color: #fff8ee;
    transform: translateY(-2px);
}

.journey-node__marker {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid rgba(250, 248, 242, 0.14);
    border-radius: 50%;
    background:
        radial-gradient(circle, rgba(185, 149, 224, 0.18), rgba(17, 12, 20, 0.94) 66%);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
    transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.journey-node__marker::before {
    content: "";
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(185, 149, 224, 0.78);
    box-shadow: 0 0 18px rgba(185, 149, 224, 0.32);
}

.journey-node__week {
    color: #b995e0;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.journey-node__title {
    color: rgba(250, 248, 242, 0.86);
    font-size: 12px;
    line-height: 1.25;
}

.journey-node.week-tab.active,
.journey-node.week-tab.is-active {
    background: transparent;
    color: #ffffff;
}

.journey-node.week-tab.active .journey-node__marker,
.journey-node.week-tab.is-active .journey-node__marker {
    border-color: rgba(255, 138, 120, 0.62);
    background:
        radial-gradient(circle, rgba(255, 138, 120, 0.26), rgba(185, 149, 224, 0.2) 46%, rgba(17, 12, 20, 0.92) 70%);
    box-shadow: 0 0 0 7px rgba(255, 138, 120, 0.08), 0 0 34px rgba(185, 149, 224, 0.24);
    transform: scale(1.08);
}

.journey-node.week-tab.active .journey-node__marker::before,
.journey-node.week-tab.is-active .journey-node__marker::before {
    background: #ff8a78;
    box-shadow: 0 0 22px rgba(255, 138, 120, 0.42);
}

.journey-node.week-tab.active .journey-node__week,
.journey-node.week-tab.active .journey-node__title,
.journey-node.week-tab.is-active .journey-node__week,
.journey-node.week-tab.is-active .journey-node__title {
    color: #fff8ee;
}

.journey-node.week-tab:focus-visible {
    outline: 2px solid rgba(255, 138, 120, 0.74);
    outline-offset: 4px;
}

.journey-detail-panel.week-detail {
    display: grid;
    min-height: 248px;
    grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1.28fr);
    border-top: 1px solid rgba(250, 248, 242, 0.08);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.016)),
        rgba(9, 7, 12, 0.38);
    transition: opacity 180ms ease, transform 180ms ease;
}

.journey-detail-panel.week-detail.is-updating {
    opacity: 0.72;
    transform: translateY(4px);
}

.journey-detail-panel__head.week-title {
    display: grid;
    align-content: center;
    padding: 36px;
    border-right: 1px solid rgba(250, 248, 242, 0.1);
}

.journey-detail-panel__body.week-body {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.journey-detail-panel__body > div {
    display: grid;
    align-content: center;
    gap: 12px;
    padding: 30px;
    border-right: 1px solid rgba(250, 248, 242, 0.08);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.032), transparent);
}

.journey-detail-panel__body > div:last-child {
    border-right: 0;
}

.journey-detail-panel .detail-label {
    color: #b995e0;
}

.journey-detail-panel p:not(.detail-label) {
    color: rgba(250, 248, 242, 0.8);
    line-height: 1.58;
}

.fit-check {
    margin: 0 0 48px;
}

.fit-check > h3 {
    margin-bottom: 18px;
}

.return-top svg {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
}

.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 90;
    background: rgba(42, 37, 34, 0.72);
    backdrop-filter: blur(8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 200ms ease;
}

.modal-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.diagnosis-modal,
.auth-modal,
.video-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 100;
    width: min(92vw, 640px);
    max-height: 88vh;
    overflow-y: auto;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background:
        linear-gradient(145deg, rgba(126, 93, 167, 0.08), transparent 34%),
        var(--paper);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.3);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -47%);
    transition: opacity 200ms ease, transform 200ms ease;
}

.auth-modal {
    width: min(92vw, 560px);
}

.diagnosis-modal.open,
.auth-modal.open,
.video-modal.open {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%);
}

.modal-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
}

.modal-head h2 {
    font-size: clamp(30px, 4vw, 36px);
    line-height: 1.08;
}

.diagnosis-modal > p,
.auth-modal > p {
    margin-top: 20px;
    color: var(--muted);
}

.access-note {
    margin-top: 20px;
    padding: 16px 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper-soft);
}

.auth-beta-note {
    border-color: rgba(126, 93, 167, 0.22);
    background: var(--violet-soft);
}

.access-note strong {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
}

.access-note p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.55;
}

.auth-form {
    display: grid;
    gap: 16px;
    margin-top: 24px;
}

[data-auth-panel][hidden] {
    display: none !important;
}

.auth-field {
    display: grid;
    gap: 7px;
}

.auth-field label {
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.auth-field input {
    width: 100%;
    min-height: 50px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    color: var(--ink);
    font: inherit;
    transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.auth-field input:hover,
.auth-field input:focus {
    border-color: var(--violet);
    box-shadow: 0 0 0 3px rgba(126, 93, 167, 0.14);
    outline: 0;
}

.auth-password-wrap {
    position: relative;
    display: grid;
}

.auth-password-wrap input {
    padding-right: 56px;
}

.auth-password-toggle {
    position: absolute;
    top: 50%;
    right: 9px;
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(126, 93, 167, 0.28);
    border-radius: 50%;
    background: rgba(126, 93, 167, 0.1);
    color: var(--violet);
    cursor: pointer;
    transform: translateY(-50%);
    transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.auth-eye {
    position: relative;
    display: block;
    width: 18px;
    height: 12px;
    border: 1.8px solid currentColor;
    border-radius: 999px 999px 850px 850px / 850px 850px 999px 999px;
}

.auth-eye::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: currentColor;
    transform: translate(-50%, -50%);
}

.auth-eye::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transform: translate(-50%, -50%) rotate(-38deg);
    transform-origin: center;
}

.auth-password-toggle.is-visible {
    border-color: rgba(185, 149, 224, 0.72);
    background: rgba(126, 93, 167, 0.18);
    color: var(--violet);
    box-shadow: 0 0 0 3px rgba(126, 93, 167, 0.16), 0 0 18px rgba(126, 93, 167, 0.16);
}

.auth-password-toggle.is-visible .auth-eye::after {
    opacity: 0;
}

.auth-password-toggle:hover,
.auth-password-toggle:focus-visible {
    border-color: rgba(247, 88, 76, 0.52);
    background: rgba(247, 88, 76, 0.12);
    color: var(--coral);
    outline: 0;
    box-shadow: 0 0 0 3px rgba(126, 93, 167, 0.14);
}

.auth-strength {
    display: grid;
    gap: 7px;
}

.auth-strength-bar {
    display: block;
    height: 6px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(126, 93, 167, 0.14);
}

.auth-strength-bar span {
    display: block;
    width: 12%;
    height: 100%;
    border-radius: inherit;
    background: rgba(102, 94, 88, 0.42);
    transition: width 180ms ease, background-color 180ms ease;
}

.auth-strength-text {
    color: var(--muted);
    font: 700 12px/1.35 "Lexend", sans-serif;
}

.auth-strength[data-strength="empty"] .auth-strength-bar span {
    width: 0;
    background: transparent;
}

.auth-strength[data-strength="empty"] .auth-strength-text {
    color: rgba(102, 94, 88, 0.78);
}

.auth-strength[data-strength="very-weak"] .auth-strength-bar span {
    width: 18%;
    background: rgba(247, 88, 76, 0.62);
}

.auth-strength[data-strength="weak"] .auth-strength-bar span {
    width: 42%;
    background: rgba(247, 156, 76, 0.68);
}

.auth-strength[data-strength="good"] .auth-strength-bar span {
    width: 72%;
    background: rgba(126, 93, 167, 0.82);
}

.auth-strength[data-strength="very-strong"] .auth-strength-bar span {
    width: 100%;
    background: linear-gradient(90deg, var(--violet), var(--teal));
}

.auth-terms {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.5;
    cursor: pointer;
}

.auth-terms input {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    margin-top: 1px;
    accent-color: var(--violet);
}

.auth-field[hidden],
.auth-terms[hidden],
.auth-manual-note[hidden],
.selected-step-wrap[hidden],
.selected-step-payment[hidden] {
    display: none;
}

.selected-step-wrap {
    display: grid;
    justify-items: center;
    gap: 7px;
    margin-top: 18px;
    text-align: center;
}

.selected-step-pill {
    position: relative;
    display: inline-flex;
    max-width: min(100%, 560px);
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 10px 16px;
    border: 1px solid rgba(250, 248, 242, 0.2);
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(250, 248, 242, 0.1), rgba(250, 248, 242, 0.04));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 0 20px rgba(250, 248, 242, 0.08);
    color: #fff8ee;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.01em;
    line-height: 1.35;
    text-transform: none;
}

.selected-step-pill::after {
    content: "";
    position: absolute;
    inset: 1px auto 1px -35%;
    width: 34%;
    transform: skewX(-18deg);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    opacity: 0.42;
    animation: selectedStepShine 4.8s ease-in-out infinite;
}

.selected-step-pill.is-diagnosis {
    border-color: rgba(104, 205, 194, 0.36);
    background: linear-gradient(135deg, rgba(23, 51, 49, 0.72), rgba(104, 205, 194, 0.12));
    box-shadow: inset 0 1px 0 rgba(210, 255, 248, 0.14), 0 0 18px rgba(106, 220, 205, 0.13);
    color: #d7fff8;
}

.selected-step-pill.is-core {
    border-color: rgba(190, 158, 214, 0.4);
    background: linear-gradient(135deg, rgba(50, 33, 43, 0.76), rgba(190, 158, 214, 0.13));
    box-shadow: inset 0 1px 0 rgba(244, 222, 255, 0.14), 0 0 18px rgba(190, 158, 214, 0.16);
    color: #f1dcff;
}

.selected-step-pill.is-plus {
    border-color: rgba(218, 152, 224, 0.44);
    background: linear-gradient(135deg, rgba(55, 25, 69, 0.76), rgba(255, 138, 120, 0.14));
    box-shadow: inset 0 1px 0 rgba(255, 228, 245, 0.16), 0 0 20px rgba(218, 152, 224, 0.18);
    color: #ffe4f2;
}

.selected-step-pill.is-max {
    border-color: rgba(225, 190, 128, 0.46);
    background: linear-gradient(135deg, rgba(59, 39, 25, 0.78), rgba(225, 190, 128, 0.16));
    box-shadow: inset 0 1px 0 rgba(255, 237, 196, 0.18), 0 0 22px rgba(225, 190, 128, 0.2);
    color: #fff0cb;
}

.selected-step-pill.is-demo {
    border-color: rgba(255, 138, 120, 0.44);
    background: linear-gradient(135deg, rgba(73, 38, 46, 0.72), rgba(255, 138, 120, 0.16));
    box-shadow: inset 0 1px 0 rgba(255, 225, 220, 0.16), 0 0 20px rgba(255, 138, 120, 0.18);
    color: #ffe1dc;
}

.selected-step-payment {
    margin: 8px 0 0;
    color: rgba(250, 248, 242, 0.62);
    font-size: 12px;
    line-height: 1.45;
    text-align: center;
}

@keyframes selectedStepShine {
    0%, 55% {
        transform: translateX(0) skewX(-18deg);
    }
    100% {
        transform: translateX(420%) skewX(-18deg);
    }
}

.auth-connect {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

.auth-connect p {
    margin-bottom: 12px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-align: center;
    text-transform: uppercase;
}

.auth-social-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 9px;
}

.auth-social-auth-row {
    gap: 12px;
}

.auth-social-row .social-icon {
    width: 40px;
    height: 40px;
}

.social-auth-button {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(250, 248, 242, 0.4);
    border-radius: 50%;
    background: transparent;
    color: #faf8f2;
    font: inherit;
    cursor: default;
    box-shadow: inset 0 0 0 1px transparent;
    transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.social-auth-button i {
    font-size: 18px;
}

.social-auth-button:hover,
.social-auth-button:focus-visible {
    border-color: rgba(255, 138, 120, 0.68);
    background: radial-gradient(circle at 50% 50%, rgba(185, 149, 224, 0.25), rgba(255, 138, 120, 0.12));
    color: #ffffff;
    box-shadow: inset 0 0 14px rgba(185, 149, 224, 0.14), 0 0 22px rgba(255, 138, 120, 0.12);
    outline: 3px solid rgba(185, 149, 224, 0.34);
    outline-offset: 3px;
    transform: translateY(-3px);
}

.auth-manual-note {
    margin-top: 11px;
    color: rgba(250, 248, 242, 0.56);
    font-size: 12px;
    line-height: 1.5;
    text-align: center;
}

.auth-legal-links {
    margin-top: 16px;
}

.auth-submit {
    width: 100%;
    margin-top: 2px;
}

.auth-status {
    display: none;
    padding: 12px 14px;
    border-left: 3px solid var(--coral);
    background: var(--paper-soft);
    color: var(--muted);
    font-size: 13px;
    line-height: 1.55;
}

.auth-status.show {
    display: block;
}

.auth-toggle-line {
    margin-top: 20px;
    color: var(--muted);
    font-size: 13px;
    text-align: center;
}

.auth-toggle-line button {
    padding: 4px;
    border: 0;
    background: transparent;
    color: var(--violet);
    font-weight: 700;
    cursor: pointer;
}

.auth-toggle-line button:hover,
.auth-toggle-line button:focus-visible {
    color: var(--coral);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.auth-toggle-line button:focus-visible {
    outline: 2px solid var(--violet-soft);
    outline-offset: 3px;
}

.video-shell {
    display: grid;
    aspect-ratio: 16 / 9;
    margin-top: 24px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--plum);
}

.video-shell img {
    width: 76px;
    height: 76px;
    object-fit: contain;
}

.video-modal > p {
    margin-top: 18px;
    color: var(--muted);
}

.diagnosis-prompt {
    margin-top: 24px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper-soft);
}

.diagnosis-prompt strong {
    display: block;
    margin-bottom: 8px;
}

.diagnosis-prompt p {
    color: var(--muted);
    font-size: 14px;
}

.diagnosis-list {
    display: grid;
    gap: 8px;
    padding: 0;
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    list-style: none;
}

.diagnosis-list li {
    position: relative;
    padding-left: 18px;
}

.diagnosis-list li::before {
    content: "";
    position: absolute;
    top: 8px;
    left: 0;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--mint);
    box-shadow: 0 0 0 1px var(--ink);
}

.modal-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 24px;
}

@media (max-width: 1180px) {
    :root {
        --anchor-offset: 78px;
    }
.hero {
        padding-top: 112px;
    }

    .hero-grid,
    .goal-grid,
    .student-intro,
    .corporate-grid,
    .founder-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero-copy,
    .hero-copy h1 {
        max-width: 760px;
    }

    .hero-copy {
        margin-left: 0;
    }

    .hero-visual {
        width: min(100%, 560px);
        margin-inline: auto;
    }

    .goal-grid {
        align-items: start;
    }

    .goal-video {
        max-width: 760px;
    }

    .pressure-tabs {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .pressure-tab {
        border-bottom: 1px solid var(--line);
    }

    .pressure-detail,
    .method-detail,
    .week-detail {
        grid-template-columns: 1fr;
    }

    .pressure-detail > div + div,
    .method-detail > div + div,
    .week-title {
        border-top: 1px solid var(--line);
        border-left: 0;
        border-right: 0;
    }

    .method-detail {
        min-height: auto;
    }

    .week-tabs {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .week-tab {
        border-bottom: 1px solid var(--line);
    }

    .week-body {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .week-body > div + div {
        border-top: 0;
        border-left: 1px solid var(--line);
    }

    .evidence-grid,
    .qualification-grid,
    .solution-blocks {
        grid-template-columns: 1fr;
    }

    .primary-programs,
    .entry-programs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .primary-programs .max-card {
        grid-column: 1 / -1;
    }

    .solution-system {
        grid-template-columns: 1fr;
    }

    .solution-orbit-card {
        min-height: auto;
    }

    .journey-rail {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .week-tab {
        border-bottom: 1px solid var(--line);
    }

    .student-carousel {
        grid-auto-columns: minmax(300px, 47%);
    }

    .qualification-block + .qualification-block {
        border-top: 1px solid var(--line);
        border-left: 0;
    }

    .program-card {
        min-height: auto;
    }

    .program-card .button {
        margin-top: 12px;
    }

    .contact-actions {
        max-width: 440px;
    }

    .footer-identity {
        justify-items: center;
        padding-inline: 0;
        text-align: center;
    }
}

@media (max-width: 720px) {
    :root {
        --nav-height: 64px;
        --anchor-offset: 74px;
    }

    .container {
        width: min(100% - 32px, 1248px);
    }

    h1 {
        font-size: 36px;
        line-height: 1.15;
    }

    h2 {
        font-size: 32px;
        line-height: 1.2;
    }

    h3 {
        font-size: 24px;
        line-height: 1.25;
    }

    body {
        font-size: 16px;
        line-height: 1.68;
    }

    .section {
        padding: 64px 0;
    }

    .section-header {
        margin-bottom: 36px;
    }

    .section-header p:last-child,
    .goal-copy p,
    .corporate-grid p,
    .contact-grid p {
        font-size: 18px;
    }

    .hero-lead {
        max-width: 560px;
        margin-top: 22px;
        font-size: 16px;
        line-height: 1.64;
    }

    .student-carousel {
        grid-auto-columns: minmax(278px, 88%);
    }

    .goal-section {
        padding: 82px 0;
    }

    .goal-video {
        min-height: 340px;
    }

    .student-section {
        padding: 72px 0 80px;
    }

    .goal-copy p {
        font-size: 18px;
    }

    .goal-mini-visual {
        gap: 12px;
        margin-top: 36px;
    }

    .goal-mini-visual b {
        width: 34px;
        height: 34px;
    }

    .student-stories {
        margin-top: 30px;
    }

    .student-story {
        min-height: 460px;
    }

    .story-quote {
        min-height: 128px;
        padding: 22px 20px 18px;
        font-size: 18px;
    }

    .story-copy {
        min-height: 108px;
        padding: 18px 20px;
    }

    .student-arrow {
        width: 48px;
        height: 48px;
        flex-basis: 48px;
        font-size: 28px;
    }

    .story-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .primary-programs,
    .entry-programs {
        grid-template-columns: 1fr;
    }

    .primary-programs .max-card {
        grid-column: auto;
    }

    .max-tier-switch {
        border-radius: 8px;
    }

    .max-tier-switch button {
        border-radius: 6px;
        padding-inline: 6px;
    }

    .nav-shell {
        min-height: 64px;
    }

    .brand {
        font-size: 14px;
    }

    .brand img {
        width: 30px;
        height: 30px;
    }

    .hero {
        min-height: auto;
        padding: 88px 0 24px;
    }

    .hero-copy h1 {
        gap: 4px;
        font-size: clamp(34px, 11vw, 48px);
        line-height: 1.1;
    }

    .hero-line-tight,
    .hero-copy h1 > span:last-child {
        white-space: normal;
    }

    .hero-grid {
        gap: 12px;
        width: min(100% - 32px, 1248px);
    }

    .hero-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
        margin-top: 18px;
    }

    .hero-actions .button {
        width: 100%;
        padding-inline: 10px;
        font-size: 13px;
        white-space: normal;
    }

    .hero-proof {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px 12px;
        margin-top: 22px;
    }

    .hero-proof span {
        align-items: flex-start;
        font-size: 11px;
        line-height: 1.4;
    }

    .hero-visual {
        width: 100%;
    }

    .atom-field {
        min-height: 420px;
    }

    .atom-nucleus {
        width: 120px;
        height: 120px;
    }

    .atom-nucleus img {
        width: 68px;
        height: 68px;
    }

    .atom-label {
        padding: 6px 8px;
        font-size: 10px;
    }

    .atom-point {
        animation-duration: 9s;
    }

    .solution-blocks {
        margin: 32px 0 44px;
    }

    .solution-path-card {
        padding: 22px;
    }

    .solution-subsection + .solution-subsection {
        margin-top: 48px;
        padding-top: 48px;
    }

    .solution-section {
        padding: 72px 0;
    }

    .solution-system {
        gap: 18px;
        margin: 34px 0 48px;
    }

    .solution-orbit-card {
        padding: 22px;
    }

    .plateau-diagram,
    .apx-solution-diagram {
        min-height: 330px;
    }

    .plateau-center,
    .solution-nucleus {
        width: 104px;
        height: 104px;
        font-size: 12px;
    }

    .solution-nucleus img {
        width: 52px;
        height: 52px;
    }

    .plateau-node,
    .solution-node {
        max-width: 104px;
        padding: 7px 8px;
        font-size: 10px;
    }

    .node-translate,
    .node-train {
        right: 2%;
    }

    .node-confidence,
    .node-reflect,
    .node-improve {
        left: 2%;
    }

    .journey-rail {
        grid-template-columns: 1fr;
        background: none;
    }

    .week-tab {
        min-height: 70px;
        grid-template-columns: 18px minmax(62px, auto) minmax(0, 1fr);
        align-items: center;
        align-content: center;
        gap: 10px;
        padding: 12px 16px;
        border-right: 0;
        text-align: left;
    }

    .week-tab::before {
        margin: 0;
    }

    .week-tab strong {
        font-size: 13px;
    }

    .control-step::after {
        display: none;
    }

    .mode-switch {
        margin-bottom: 8px;
    }

    .control-meters {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        padding: 12px;
    }

    .meter-label {
        align-items: flex-start;
        flex-direction: column;
        gap: 2px;
        font-size: 10px;
    }

    .meter-track {
        height: 8px;
    }

    .control-path {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .control-step {
        min-height: 58px;
        padding: 8px 4px;
        border-right: 1px solid var(--line);
        border-bottom: 0;
        font-size: 9px;
    }

    .control-step:nth-child(2n) {
        border-right: 1px solid var(--line);
    }

    .control-step:last-child {
        border-right: 0;
    }

    .control-signal {
        display: none;
    }

    .signal-map {
        display: grid;
        aspect-ratio: auto;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        grid-template-rows: 1fr;
        gap: 6px;
    }

    .signal-map::before,
    .signal-map::after,
    .signal-center {
        display: none;
    }

    .signal-node {
        min-width: 0;
        min-height: 44px;
        padding: 6px 8px;
        font-size: 11px;
    }

    .signal-node.node-top,
    .signal-node.node-right,
    .signal-node.node-bottom,
    .signal-node.node-left {
        grid-row: 1;
    }

    .signal-node.node-left { grid-column: 1; }
    .signal-node.node-top { grid-column: 2; }
    .signal-node.node-right { grid-column: 3; }
    .signal-node.node-bottom { grid-column: 4; }

    .signal-caption {
        min-height: 0;
        margin-top: 12px;
        font-size: 13px;
    }

    .founder-note blockquote {
        font-size: 24px;
    }

    .pressure-tabs {
        grid-template-columns: 1fr;
    }

    .pressure-tab {
        min-height: 72px;
        border-right: 0;
    }

    .pressure-tab:last-child {
        border-bottom: 0;
    }

    .pressure-detail > div,
    .method-detail > div,
    .week-title,
    .week-body > div {
        padding: 24px 20px;
    }

    .evolution-path {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .evolution-path::before {
        top: 30px;
        bottom: 30px;
        left: 30px;
        width: 1px;
        height: auto;
    }

    .evolution-step {
        display: grid;
        min-height: 76px;
        grid-template-columns: 62px minmax(0, 1fr);
        align-items: center;
        gap: 18px;
        padding: 8px 0;
        text-align: left;
    }

    .evolution-step .step-number {
        margin: 0;
    }

    .evolution-detail {
        min-height: 230px;
        margin-top: 24px;
        padding: 24px;
    }

    .method-tabs {
        grid-template-columns: 1fr 1fr;
        overflow: visible;
    }

    .method-tab {
        min-width: 0;
        min-height: 106px;
        border-bottom: 1px solid var(--line);
    }

    .method-tab:nth-child(2n) {
        border-right: 0;
    }

    .method-tab:last-child {
        grid-column: 1 / -1;
    }

    .method-detail {
        grid-template-columns: 1fr;
    }

    .method-detail > div + div {
        border-top: 1px solid var(--line);
    }

    .week-tabs {
        grid-template-columns: 1fr;
    }

    .week-tab {
        min-height: 52px;
        padding: 10px 18px;
        border-right: 0;
        text-align: left;
    }

    .week-body {
        grid-template-columns: 1fr;
    }

    .week-body > div + div {
        border-top: 1px solid var(--line);
        border-left: 0;
    }

    .evidence-grid {
        margin-top: 44px;
    }

    .evidence-card {
        min-height: auto;
    }

    .founder-quote blockquote {
        font-size: 28px;
    }

    .footer-base {
        align-items: flex-start;
        flex-direction: column;
    }

    .social-rail {
        grid-template-columns: 1fr;
        padding-top: 22px;
        border-top: 1px solid rgba(250, 248, 242, 0.18);
    }

    .social-rail::before,
    .social-rail::after {
        display: none;
    }

    .social-list {
        max-width: 360px;
        margin-inline: auto;
    }

    .modal-actions {
        grid-template-columns: 1fr;
    }

    .diagnosis-modal,
    .auth-modal,
    .video-modal {
        padding: 24px 20px;
    }

    .modal-head h2 {
        font-size: 30px;
    }
}

@media (max-width: 480px) {
    .hero-copy h1 {
        font-size: clamp(30px, 9.6vw, 36px);
    }

    .goal-video {
        min-height: 300px;
    }

    .goal-mini-visual {
        grid-template-columns: 1fr;
        gap: 18px;
        justify-items: start;
    }

    .goal-mini-visual::before {
        top: 16px;
        bottom: 42px;
        left: 16px;
        width: 1px;
        height: auto;
        background: linear-gradient(180deg, rgba(255, 138, 120, 0), rgba(255, 138, 120, 0.58), rgba(185, 149, 224, 0.42), rgba(255, 138, 120, 0));
    }

    .goal-mini-visual span {
        grid-template-columns: 34px minmax(0, 1fr);
        align-items: center;
        justify-items: start;
        text-align: left;
    }

    .goal-mini-visual span::after {
        top: 10px;
        left: 10px;
        width: 14px;
        height: 14px;
    }

    .atom-field {
        min-height: 360px;
    }

    .atom-ring-wide {
        width: 78%;
        height: 78%;
    }

    .atom-nucleus {
        width: 104px;
        height: 104px;
    }

    .atom-nucleus img {
        width: 58px;
        height: 58px;
    }

    .electron {
        width: 10px;
        height: 10px;
    }

    .atom-label {
        padding: 5px 7px;
        font-size: 9px;
    }

    .atom-label {
        transform: translate(-50%, calc(-100% - 14px));
    }

    .atom-mindset .atom-label,
    .atom-pronunciation .atom-label,
    .atom-rhythm .atom-label {
        transform: translate(16px, -50%);
    }

    .atom-confidence .atom-label,
    .atom-reflection .atom-label,
    .atom-speech .atom-label {
        transform: translate(calc(-100% - 16px), -50%);
    }
}

/* 11D-R2 surgical repair locks: safe Solution panel, circular Students controls, luminous APX marks. */
.solution-system__visual .solution-node-panel {
    position: relative;
    inset: auto;
    width: min(100%, 520px);
    margin-top: 8px;
    transform: none;
}

.solution-system__visual .solution-node-panel:not([hidden]) {
    transform: none;
}

.atom-nucleus::before,
.solution-system__starburst::before {
    background:
        radial-gradient(circle, rgba(185, 149, 224, 0.44), rgba(126, 93, 167, 0.2) 38%, rgba(255, 138, 120, 0.07) 58%, transparent 76%);
}

.atom-nucleus img,
.solution-system__starburst img {
    filter:
        invert(1)
        brightness(1.62)
        contrast(1.08)
        drop-shadow(0 0 16px rgba(255, 255, 255, 0.3))
        drop-shadow(0 0 46px rgba(185, 149, 224, 0.72));
}

.students-carousel__controls {
    margin-top: 68px;
    align-items: center;
    justify-content: center;
}

.students-carousel__controls .student-arrow {
    width: 58px;
    height: 58px;
    min-width: 58px;
    min-height: 58px;
    flex: 0 0 58px;
    aspect-ratio: 1 / 1;
    padding: 0;
    border-radius: 50%;
}

.story-social-row {
    margin-top: 20px;
}

.story-social-icon,
.story-social-icon:hover,
.story-social-icon:focus-visible {
    border-radius: 999px;
}

.story-social-icon i,
.story-social-icon:hover i,
.story-social-icon:focus-visible i {
    background: transparent !important;
    border-radius: inherit;
}

@media (max-width: 1180px) {
    .solution-system {
        grid-template-columns: 1fr;
        gap: 34px;
        margin: 54px 0 74px;
    }

    .solution-state-card,
    .solution-state-card--apx {
        max-width: 680px;
        justify-self: stretch;
    }

    .solution-state-card--problem {
        order: 1;
    }

    .solution-system__visual {
        position: relative;
        top: auto;
        min-height: 640px;
        order: 2;
    }

    .solution-node-panel {
        right: auto;
        bottom: auto;
        width: min(360px, 82%);
        transform: none;
    }

    .solution-node-panel:not([hidden]) {
        transform: none;
    }

    .solution-state-card--apx {
        order: 3;
    }

    .journey-path.week-tabs {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        row-gap: 16px;
    }

    .journey-path.week-tabs::before {
        display: none;
    }

    .journey-detail-panel.week-detail {
        grid-template-columns: 1fr;
    }

    .journey-detail-panel__head.week-title {
        border-right: 0;
        border-bottom: 1px solid rgba(250, 248, 242, 0.1);
    }
}

@media (max-width: 720px) {
    .solution-system {
        margin: 42px 0 60px;
    }

    .solution-state-card {
        padding-left: 24px;
    }

    .solution-system__visual {
        min-height: 560px;
    }

    .solution-system__orbit {
        width: min(100%, 420px);
    }

    .solution-system__node-label {
        min-width: 76px;
        padding: 9px 11px;
        font-size: 11px;
    }

    .solution-system__node.node-notice {
        top: 3%;
    }

    .solution-system__node.node-speak {
        bottom: 3%;
    }

    .solution-system__node.node-train {
        right: -2%;
    }

    .solution-system__node.node-improve {
        left: -2%;
    }

    .solution-node-panel {
        bottom: auto;
        width: min(360px, 94%);
        padding: 16px;
    }

    .journey-system.journey-tool {
        border-radius: 14px;
    }

    .journey-path.week-tabs {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 18px;
    }

    .journey-path.week-tabs::before {
        display: block;
        top: 34px;
        bottom: 34px;
        left: 38px;
        right: auto;
        width: 1px;
        height: auto;
        background: linear-gradient(180deg, transparent, rgba(185, 149, 224, 0.42), rgba(255, 138, 120, 0.28), transparent);
    }

    .journey-node.week-tab {
        min-height: 66px;
        grid-template-columns: 42px minmax(66px, auto) minmax(0, 1fr);
        align-content: center;
        align-items: center;
        justify-items: start;
        gap: 12px;
        padding: 8px 0;
        text-align: left;
    }

    .journey-node__title {
        font-size: 13px;
    }

    .journey-detail-panel__head.week-title {
        padding: 28px 24px;
    }

    .journey-detail-panel__body.week-body {
        grid-template-columns: 1fr;
    }

    .journey-detail-panel__body > div {
        padding: 24px;
        border-right: 0;
        border-bottom: 1px solid rgba(250, 248, 242, 0.08);
    }

    .journey-detail-panel__body > div:last-child {
        border-bottom: 0;
    }
}

@media (max-width: 480px) {
    .solution-system__visual {
        min-height: 520px;
    }

    .solution-system__nucleus {
        width: 124px;
        height: 124px;
    }

    .solution-system__starburst {
        width: 72px;
        height: 72px;
    }

    .solution-system__starburst img {
        width: 66px;
        height: 66px;
    }

    .solution-system__node-label {
        min-width: 68px;
        padding: 8px 9px;
        font-size: 10px;
    }

    .goal-video-frame {
        border-radius: 20px;
    }
}

.programs-section {
    padding: clamp(68px, 7vw, 92px) 0;
}

.programs-section .container {
    width: min(100% - 40px, 1400px);
}

.programs-section .section-header {
    margin-bottom: 30px;
}

.programs-grid.program-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(250px, 1fr));
    gap: clamp(16px, 1.7vw, 24px);
    align-items: stretch;
}

.programs-grid.primary-programs .max-card {
    grid-column: auto;
}

.programs-grid .program-card {
    min-height: 0;
    overflow: visible;
    padding: clamp(20px, 1.7vw, 26px);
    border-color: rgba(250, 248, 242, 0.12);
    border-radius: 18px;
    background:
        linear-gradient(150deg, rgba(250, 248, 242, 0.065), transparent 36%),
        rgba(18, 12, 22, 0.78);
    color: #fff8ee;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.18);
}

.programs-grid .program-card > :not(.program-mark):not(.program-card__badge) {
    position: relative;
    z-index: 2;
}

.programs-grid .program-card::before {
    background: radial-gradient(circle at 88% 10%, rgba(185, 149, 224, 0.2), transparent 30%);
    opacity: 0.9;
}

.programs-grid .program-card:hover,
.programs-grid .program-card:focus-within {
    border-color: rgba(185, 149, 224, 0.58);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
    transform: translateY(-5px);
}

.program-card.program-card--diagnosis,
.dark .program-card.program-card--diagnosis {
    border: 1px solid rgba(104, 205, 194, 0.3);
    background: linear-gradient(145deg, #10201f 0%, #173331 48%, #0b1514 100%);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.18);
}

.program-card.program-card--core,
.dark .program-card.program-card--core {
    border: 1px solid rgba(190, 158, 214, 0.34);
    background: linear-gradient(145deg, #24181f 0%, #32212b 48%, #1a1218 100%);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.18);
}

.program-card.program-card--plus,
.dark .program-card.program-card--plus {
    z-index: 1;
    border: 1px solid rgba(196, 169, 220, 0.4);
    background: linear-gradient(145deg, #241126 0%, #3a2250 48%, #170d1e 100%);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.18);
}

.program-card.program-card--max,
.dark .program-card.program-card--max {
    border: 1px solid rgba(225, 198, 144, 0.44);
    background:
        radial-gradient(circle at 82% 18%, rgba(226, 195, 137, 0.13), transparent 34%),
        linear-gradient(145deg, #211612 0%, #4a3427 48%, #160f0d 100%);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.18);
}

.program-card__role {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 12px;
    color: #b995e0;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.programs-grid .program-label {
    display: block;
    min-height: 30px;
    margin-bottom: 10px;
    color: rgba(250, 248, 242, 0.7);
    font-family: "Fraunces", serif;
    font-size: clamp(21px, 1.65vw, 27px);
    font-weight: 650;
    letter-spacing: -0.02em;
    line-height: 1.05;
    text-transform: none;
}

.program-card--diagnosis .program-label,
.dark .program-card--diagnosis .program-label {
    color: #78c9bf;
}

.program-card--core .program-label {
    color: #d7c2e8;
}

.program-card--plus .program-label,
.dark .program-card--plus .program-label {
    color: #d8c6ef;
}

.program-card--max .program-label {
    color: #eadfbd;
}

.programs-grid .program-card h3 {
    max-width: 100%;
    min-height: 0;
    margin-bottom: 10px;
    color: #fff8ee;
    font-size: clamp(20px, 1.45vw, 25px);
    line-height: 1.12;
}

.programs-grid .program-card > p:not(.program-duration) {
    min-height: 0;
    color: rgba(250, 248, 242, 0.72);
    font-size: 14px;
    line-height: 1.48;
}

.programs-grid .program-assessment {
    margin-top: 10px;
    color: rgba(250, 248, 242, 0.6) !important;
    font-size: 12px !important;
    line-height: 1.42 !important;
}

.programs-grid .program-duration {
    margin-top: 12px;
    padding: 6px 9px;
    border-color: rgba(250, 248, 242, 0.14);
    background: rgba(250, 248, 242, 0.06);
    color: rgba(250, 248, 242, 0.74);
}

.programs-grid .program-list {
    gap: 8px;
    margin: 16px 0 18px;
}

.programs-grid .program-list li {
    padding-left: 19px;
    font-size: 14px;
    line-height: 1.38;
}

.programs-grid .program-list li::before {
    top: 7px;
    width: 7px;
    height: 7px;
}

.programs-grid .program-list li,
.programs-grid .program-meta,
.dark .programs-grid .program-list li,
.dark .programs-grid .program-meta {
    color: rgba(250, 248, 242, 0.72);
}

.programs-grid .program-list li::before {
    background: #b995e0;
    box-shadow: 0 0 0 1px rgba(250, 248, 242, 0.26);
}

.program-card--diagnosis .program-list li::before {
    background: #68c6bb;
}

.program-card--core .program-list li::before {
    background: #b995d4;
}

.program-card--plus .program-list li::before {
    background: #c7a8e2;
}

.program-card--max .program-list li::before {
    background: #eadfbd;
}

.program-ribbon.program-card__badge {
    top: -17px;
    left: 50%;
    z-index: 3;
    min-width: 138px;
    padding: 8px 18px;
    border: 1px solid rgba(255, 248, 238, 0.88);
    background: #fff4e7;
    color: #d8554b;
    letter-spacing: 0.13em;
    text-align: center;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
    transform: translateX(-50%);
}

.programs-grid .program-mark {
    top: auto;
    right: 18px;
    bottom: 88px;
    z-index: 0;
    width: clamp(140px, 12vw, 210px);
    height: auto;
    opacity: 0.11;
    filter: invert(1) brightness(1.06) drop-shadow(0 0 10px rgba(106, 220, 205, 0.14));
    transform: rotate(-14deg);
}

.program-card--core .program-mark {
    opacity: 0.12;
    filter: invert(1) brightness(1.07) drop-shadow(0 0 12px rgba(186, 145, 220, 0.18));
}

.program-card--plus .program-mark {
    opacity: 0.14;
    filter: invert(1) brightness(1.09) drop-shadow(0 0 16px rgba(193, 157, 226, 0.24));
}

.program-card--max .program-mark {
    opacity: 0.17;
    filter: invert(1) sepia(0.26) brightness(1.1) drop-shadow(0 0 20px rgba(231, 207, 158, 0.28));
}

.programs-grid .program-price {
    color: #fff8ee;
    font-size: clamp(32px, 2.5vw, 40px);
}

.program-card--plus .program-price {
    color: #ffb7aa;
}

.program-card--max .program-price {
    color: #eadfbd;
}

.program-demo-module {
    display: flex;
    gap: 8px 12px;
    align-items: center;
    justify-content: space-between;
    margin: 0 0 14px;
    padding: 10px 11px;
    border: 1px solid rgba(250, 248, 242, 0.12);
    border-radius: 14px;
    background:
        radial-gradient(circle at 12% 12%, rgba(185, 149, 224, 0.16), transparent 38%),
        rgba(8, 6, 12, 0.28);
    transition: border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.program-demo-module:hover,
.program-demo-module:focus-within {
    border-color: rgba(255, 138, 120, 0.42);
    background-color: rgba(255, 138, 120, 0.055);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
    transform: translateY(-2px);
}

.program-demo-module strong {
    display: block;
    margin-bottom: 3px;
    color: #fff8ee;
    font-size: 14px;
}

.program-demo-module p {
    color: rgba(250, 248, 242, 0.68);
    font-size: 12px;
    line-height: 1.38;
}

.program-demo-module__cta {
    display: inline-flex;
    width: fit-content;
    min-height: 34px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    padding: 9px 14px;
    border: 1px solid rgba(250, 248, 242, 0.34);
    border-radius: 999px;
    background: transparent;
    color: #fff8ee;
    cursor: pointer;
    font-family: inherit;
    font-size: 12px;
    font-weight: 900;
    text-decoration: none;
    transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.program-demo-module__cta:hover,
.program-demo-module__cta:focus-visible {
    border-color: #fff8ee;
    background: #fff8ee;
    color: #24152f;
    outline: none;
    transform: translateY(-1px);
}

.programs-grid .program-card .button {
    margin-top: 8px;
}

.program-card--diagnosis .button-secondary,
.dark .program-card--diagnosis .button-secondary,
.program-card--core .button-secondary,
.dark .program-card--core .button-secondary {
    border-color: rgba(250, 248, 242, 0.54);
    color: #fff8ee;
}

.program-card--diagnosis .button-secondary:hover,
.dark .program-card--diagnosis .button-secondary:hover,
.program-card--core .button-secondary:hover,
.dark .program-card--core .button-secondary:hover {
    background: #fff8ee;
    color: #24152f;
}

.program-card--plus .button-primary,
.dark .program-card--plus .button-primary {
    background: var(--coral);
    color: #ffffff;
}

.program-card--plus .button-primary:hover,
.dark .program-card--plus .button-primary:hover {
    background: #fff8ee;
    color: #24152f;
}

.program-card--max .button-secondary,
.dark .program-card--max .button-secondary {
    border-color: rgba(234, 223, 189, 0.76);
    background: rgba(234, 223, 189, 0.92);
    color: #1d1320;
}

.program-card--max .button-secondary:hover,
.dark .program-card--max .button-secondary:hover {
    background: #fff8ee;
    color: #1d1320;
}

.program-card--max .max-tier-switch {
    border-color: rgba(234, 223, 189, 0.28);
    background: rgba(8, 6, 12, 0.34);
}

.program-card--max .max-tier-switch button.active {
    background: #eadfbd;
    color: #1d1320;
    box-shadow: none;
}

.max-tier-summary {
    display: block;
    margin-top: 5px;
    color: rgba(234, 223, 189, 0.72);
    font-size: 11px;
    font-weight: 700;
    text-align: center;
}

@media (max-width: 1120px) {
    .programs-grid.program-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .program-card.program-card--plus {
        margin-top: 0;
        margin-bottom: 0;
    }

    .programs-grid .program-card h3,
    .programs-grid .program-card > p:not(.program-duration) {
        min-height: auto;
    }
}

@media (max-width: 720px) {
    .programs-grid.program-grid {
        grid-template-columns: 1fr;
    }

    .programs-grid .program-card {
        min-height: auto;
    }

    .program-demo-module {
        align-items: flex-start;
        flex-direction: column;
    }
}

.programs-grid .program-card[data-program-card] {
    cursor: pointer;
}

.programs-grid .program-card[data-program-card] a,
.programs-grid .program-card[data-program-card] button {
    cursor: pointer;
}

[data-program-modal][hidden] {
    display: none !important;
}

.program-detail-overlay {
    position: fixed;
    inset: 0;
    z-index: 9998;
    background: rgba(7, 5, 9, 0.76);
    opacity: 0;
    pointer-events: none;
    backdrop-filter: blur(14px);
    transition: opacity 200ms ease;
}

.program-detail-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.program-detail-modal {
    --detail-accent: #68c6bb;
    --detail-surface: rgba(56, 128, 120, 0.13);
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 9999;
    box-sizing: border-box;
    width: min(calc(100vw - 72px), 980px);
    max-height: calc(100vh - 72px);
    padding: clamp(24px, 3vw, 34px);
    overflow: visible;
    border: 1px solid color-mix(in srgb, var(--detail-accent) 38%, transparent);
    border-radius: 28px;
    background: linear-gradient(145deg, #10201f 0%, #173331 48%, #0b1514 100%);
    color: #fff8ee;
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.5);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, calc(-50% + 18px)) scale(0.98);
    transition: opacity 200ms ease, transform 220ms ease;
}

.program-detail-modal[data-program-theme="core"] {
    --detail-accent: #b995d4;
    --detail-surface: rgba(185, 149, 212, 0.12);
    background: linear-gradient(145deg, #24181f 0%, #32212b 48%, #1a1218 100%);
}

.program-detail-modal[data-program-theme="plus"] {
    --detail-accent: #c7a8e2;
    --detail-surface: rgba(199, 168, 226, 0.13);
    background: linear-gradient(145deg, #241126 0%, #3a2250 48%, #170d1e 100%);
}

.program-detail-modal[data-program-theme="max"] {
    --detail-accent: #e7cf9e;
    --detail-surface: rgba(231, 207, 158, 0.13);
    background:
        radial-gradient(circle at 82% 18%, rgba(226, 195, 137, 0.13), transparent 34%),
        linear-gradient(145deg, #211612 0%, #4a3427 48%, #160f0d 100%);
}

.program-detail-modal.open {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1);
}

.program-detail-modal__mark {
    position: absolute;
    right: 18px;
    bottom: 18px;
    z-index: 0;
    width: clamp(210px, 28vw, 360px);
    height: auto;
    opacity: 0.08;
    filter: invert(1) brightness(1.08) drop-shadow(0 0 18px color-mix(in srgb, var(--detail-accent) 34%, transparent));
    transform: rotate(-14deg);
    pointer-events: none;
}

.program-detail-modal__content {
    position: relative;
    z-index: 2;
    min-width: 0;
    overflow-x: hidden;
}

.program-detail-modal__head {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.program-detail-modal__head .eyebrow {
    margin-bottom: 8px;
    color: var(--detail-accent);
}

.program-detail-modal__head h2 {
    color: #fff8ee;
    font-size: clamp(34px, 4.5vw, 48px);
    line-height: 1;
}

.program-detail-modal__close {
    position: absolute;
    top: -20px;
    right: -20px;
    z-index: 4;
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid color-mix(in srgb, var(--detail-accent) 52%, rgba(250, 248, 242, 0.2));
    border-radius: 50%;
    background: #171116;
    color: #fff8ee;
    padding: 0;
    font-size: 0;
    line-height: 0;
    cursor: pointer;
    transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.program-detail-modal__close::before,
.program-detail-modal__close::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 15px;
    height: 1.5px;
    border-radius: 999px;
    background: currentColor;
}

.program-detail-modal__close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.program-detail-modal__close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.program-detail-modal__close:hover,
.program-detail-modal__close:focus-visible {
    border-color: color-mix(in srgb, var(--detail-accent) 72%, #fff8ee);
    background: linear-gradient(135deg, rgba(185, 149, 224, 0.2), rgba(255, 138, 120, 0.12));
    box-shadow: inset 0 0 14px rgba(250, 248, 242, 0.05), 0 8px 20px rgba(0, 0, 0, 0.24);
}

.program-detail-modal__close:focus-visible {
    outline: 2px solid color-mix(in srgb, var(--detail-accent) 62%, #fff8ee);
    outline-offset: 3px;
}

.program-detail-modal__positioning {
    max-width: 690px;
    margin-top: 14px;
    color: rgba(250, 248, 242, 0.75);
    font-size: 16px;
    line-height: 1.48;
}

.program-detail-modal__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 20px;
}

.program-detail-modal__grid article {
    min-width: 0;
    padding: 14px 16px;
    border: 1px solid color-mix(in srgb, var(--detail-accent) 24%, transparent);
    border-radius: 15px;
    background:
        linear-gradient(135deg, var(--detail-surface), rgba(7, 5, 9, 0.16)),
        rgba(250, 248, 242, 0.025);
}

.program-detail-modal__grid article > span {
    display: block;
    margin-bottom: 8px;
    color: var(--detail-accent);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.program-detail-modal__grid p,
.program-detail-modal__grid li {
    color: rgba(250, 248, 242, 0.74);
    overflow-wrap: anywhere;
    font-size: 13px;
    line-height: 1.45;
}

.program-detail-modal__wide {
    grid-column: 1 / -1;
}

.program-detail-modal__wide ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px 24px;
    margin: 0;
    padding-left: 18px;
}

.program-detail-modal__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

.program-detail-modal__actions .button {
    min-width: 180px;
}

.program-detail-modal__actions .button-primary {
    background: var(--detail-accent);
    color: #171116;
}

@media (max-width: 900px), (max-height: 700px) {
    .program-detail-modal__content {
        max-height: calc(100vh - 120px);
        padding-right: 4px;
        overflow-y: auto;
    }
}

@media (max-width: 680px) {
    .program-detail-modal {
        width: min(94vw, 560px);
        max-height: calc(100vh - 52px);
        padding: 24px 20px;
        border-radius: 22px;
    }

    .program-detail-modal__close {
        top: -18px;
        right: 0;
    }

    .program-detail-modal__grid,
    .program-detail-modal__wide ul {
        grid-template-columns: 1fr;
    }

    .program-detail-modal__wide {
        grid-column: auto;
    }

    .program-detail-modal__actions {
        display: grid;
    }

    .program-detail-modal__actions .button {
        width: 100%;
    }
}

.hero-copy h1 {
    gap: 9px;
    line-height: 1.06;
}

.hero-lead {
    max-width: 640px;
    margin-top: 24px;
    line-height: 1.72;
}

.hero-actions {
    margin-top: 30px;
}

.hero-proof {
    gap: 12px;
    margin-top: 28px;
}

.hero-proof span {
    border-color: rgba(250, 248, 242, 0.16);
    background: rgba(15, 10, 20, 0.38);
    color: rgba(250, 248, 242, 0.78);
    box-shadow: inset 0 1px 0 rgba(250, 248, 242, 0.04);
}

.atom-label {
    padding: 8px 12px;
    border: 1px solid rgba(250, 248, 242, 0.18);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.035) 42%, rgba(52, 31, 66, 0.34)),
        rgba(10, 7, 14, 0.84);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 10px 28px rgba(0, 0, 0, 0.26);
    color: #fff8ee;
    font-size: 12px;
    backdrop-filter: blur(10px);
}

.atom-nucleus {
    background:
        radial-gradient(circle at 50% 44%, rgba(185, 149, 224, 0.32), transparent 58%),
        radial-gradient(circle at 50% 50%, rgba(5, 3, 10, 0.98), #030207 72%);
}

.atom-nucleus img {
    filter:
        invert(1)
        brightness(1.45)
        contrast(1.08)
        drop-shadow(0 0 16px rgba(255, 255, 255, 0.22))
        drop-shadow(0 0 34px rgba(185, 149, 224, 0.68));
}

.goal-meaning-card {
    position: relative;
    overflow: hidden;
    display: grid;
    gap: 24px;
    min-height: 560px;
    padding: clamp(28px, 3vw, 42px);
    border: 1px solid rgba(250, 248, 242, 0.16);
    border-radius: 24px;
    background:
        radial-gradient(circle at 16% 12%, rgba(185, 149, 224, 0.22), transparent 30%),
        radial-gradient(circle at 86% 86%, rgba(255, 138, 120, 0.1), transparent 28%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
        rgba(14, 9, 19, 0.82);
    box-shadow: 0 34px 92px rgba(0, 0, 0, 0.3);
    align-content: start;
    isolation: isolate;
}

.goal-meaning-card::before {
    content: "";
    position: absolute;
    inset: 1px;
    z-index: -1;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(250, 248, 242, 0.07), transparent 42%);
    pointer-events: none;
}

.goal-meaning-card > img {
    width: 58px;
    height: 58px;
    object-fit: contain;
    filter:
        invert(1)
        brightness(1.36)
        contrast(1.08)
        drop-shadow(0 0 22px rgba(185, 149, 224, 0.5));
}

.goal-meaning-kicker {
    display: inline-flex;
    margin-bottom: 10px;
    color: #b995e0;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.goal-meaning-copy h3 {
    margin-bottom: 16px;
    color: #fff8ee;
    font-size: clamp(34px, 3.2vw, 48px);
    line-height: 1.02;
}

.goal-meaning-copy p,
.goal-meaning-close {
    color: rgba(250, 248, 242, 0.76);
    font-size: 15px;
    line-height: 1.62;
}

.goal-meaning-copy p + p {
    margin-top: 10px;
}

.goal-meaning-copy strong {
    color: #fff8ee;
}

.goal-meaning-copy strong span,
.goal-meaning-row > span::first-letter,
.goal-meaning-row > span span {
    color: var(--coral);
    text-shadow: 0 0 18px rgba(255, 138, 120, 0.32);
}

.goal-meaning-copy .apx-letter-accent,
.goal-meaning-row .apx-letter-accent {
    color: var(--coral);
    text-shadow: 0 0 18px rgba(255, 138, 120, 0.36);
}

.goal-video-feature {
    display: grid;
    gap: 14px;
    margin-top: 34px;
    text-align: center;
}

.goal-video-frame {
    position: relative;
    display: grid;
    aspect-ratio: 16 / 9;
    width: 100%;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(250, 248, 242, 0.14);
    border-radius: 26px;
    background:
        radial-gradient(circle at 50% 46%, rgba(185, 149, 224, 0.26), transparent 42%),
        radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0.72), transparent 58%),
        linear-gradient(145deg, rgba(24, 14, 31, 0.96), rgba(5, 4, 8, 0.98));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        inset 0 0 54px rgba(0, 0, 0, 0.42),
        0 30px 78px rgba(0, 0, 0, 0.28);
    color: inherit;
    cursor: pointer;
    font: inherit;
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.goal-video-frame:hover,
.goal-video-frame:focus-visible {
    border-color: rgba(255, 138, 120, 0.42);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.07),
        inset 0 0 58px rgba(0, 0, 0, 0.42),
        0 30px 78px rgba(0, 0, 0, 0.3),
        0 0 38px rgba(185, 149, 224, 0.16);
    outline: none;
    transform: translateY(-1px);
}

.goal-video-frame:focus-visible {
    outline: 3px solid rgba(255, 138, 120, 0.34);
    outline-offset: 5px;
}

.goal-video-frame::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(115deg, transparent 0 28%, rgba(255, 247, 237, 0.055) 28% 30%, transparent 30% 100%),
        repeating-linear-gradient(0deg, rgba(255, 247, 237, 0.032) 0 1px, transparent 1px 22px);
    opacity: 0.72;
}

.goal-video-frame img {
    position: relative;
    z-index: 1;
    width: clamp(72px, 8vw, 112px);
    height: clamp(72px, 8vw, 112px);
    opacity: 0.34;
    filter: invert(1) brightness(1.22) drop-shadow(0 0 26px rgba(185, 149, 224, 0.54));
    animation: apx-starburst-breathe 5.8s ease-in-out infinite;
}

.goal-video-frame .coach-play-button {
    z-index: 2;
    width: 66px;
    height: 66px;
    background: rgba(250, 248, 242, 0.1);
    backdrop-filter: blur(12px);
    transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.goal-video-frame:hover .coach-play-button,
.goal-video-frame:focus-visible .coach-play-button {
    border-color: rgba(255, 138, 120, 0.42);
    background: rgba(185, 149, 224, 0.16);
    box-shadow: 0 0 34px rgba(185, 149, 224, 0.28), 0 0 0 8px rgba(255, 138, 120, 0.08);
    transform: scale(1.06);
}

.goal-video-feature p {
    margin: 0;
    color: rgba(250, 248, 242, 0.72);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.goal-meaning-rows {
    display: grid;
    gap: 12px;
}

.goal-meaning-row {
    padding: 15px 16px;
    border: 1px solid rgba(250, 248, 242, 0.1);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.035);
    transition: border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.goal-meaning-row:hover,
.goal-meaning-row:focus-visible {
    border-color: rgba(255, 138, 120, 0.42);
    background: rgba(185, 149, 224, 0.08);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18), 0 0 28px rgba(185, 149, 224, 0.12);
    outline: none;
    transform: translateY(-2px);
}

.goal-meaning-row > span {
    display: inline-flex;
    margin-bottom: 5px;
    color: #b995e0;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.goal-meaning-row strong {
    display: block;
    color: #fff8ee;
    font-size: 16px;
}

.goal-meaning-row p {
    margin-top: 6px;
    color: rgba(250, 248, 242, 0.66);
    font-size: 13px;
    line-height: 1.48;
}

.goal-meaning-close {
    padding-top: 4px;
    color: #ffb7aa;
    font-weight: 700;
}

.goal-mini-visual {
    border: 1px solid rgba(250, 248, 242, 0.12);
    border-radius: 18px;
    padding: 20px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02)),
        rgba(9, 6, 14, 0.34);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.055), 0 18px 46px rgba(0, 0, 0, 0.16);
}

.goal-mini-visual::before {
    background: linear-gradient(90deg, rgba(255, 138, 120, 0.7), rgba(185, 149, 224, 0.7));
    box-shadow: 0 0 22px rgba(185, 149, 224, 0.18);
}

.goal-mini-visual span {
    gap: 8px;
    border-radius: 14px;
    padding: 2px 6px 4px;
    transition: transform 180ms ease, color 180ms ease, background-color 180ms ease;
}

.goal-mini-visual span:hover,
.goal-mini-visual span:focus-visible {
    background: rgba(185, 149, 224, 0.06);
    color: #fff8ee;
    outline: none;
    transform: translateY(-2px);
}

.goal-mini-visual strong {
    color: inherit;
    font-size: 13px;
}

.goal-mini-visual small {
    color: rgba(250, 248, 242, 0.6);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.35;
}

.goal-mini-visual span:hover b,
.goal-mini-visual span:focus-visible b {
    border-color: rgba(255, 138, 120, 0.8);
    box-shadow: 0 0 0 8px rgba(255, 138, 120, 0.08), 0 0 28px rgba(185, 149, 224, 0.24);
}

.student-section .section-header h2 {
    color: #b995e0;
}

.student-section .section-header p {
    max-width: 760px;
    margin-inline: auto;
}

.student-carousel {
    scroll-behavior: smooth;
}

.student-story {
    opacity: 0.62;
    transform: scale(0.965);
    transition: transform 260ms ease, opacity 260ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.student-story.is-active {
    opacity: 1;
    transform: scale(1.015) translateY(-4px);
}

.story-quote {
    display: grid;
    align-content: end;
    gap: 10px;
    min-height: 132px;
    font-size: 18px;
    line-height: 1.18;
}

.story-quote span {
    color: #b995e0;
    font-family: "Lexend", sans-serif;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.story-quote strong {
    color: #fff8ee;
    font-family: "Fraunces", serif;
    font-size: clamp(25px, 2vw, 32px);
    line-height: 1.04;
}

.story-frame {
    min-height: 210px;
}

.evidence-visual {
    position: relative;
    display: grid;
    width: min(78%, 260px);
    min-height: 130px;
    align-items: center;
    justify-items: center;
    gap: 10px;
}

.evidence-visual img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 54px;
    height: 54px;
    transform: translate(-50%, -50%);
    opacity: 0.44;
    filter:
        invert(1)
        brightness(1.28)
        drop-shadow(0 0 24px rgba(185, 149, 224, 0.42));
}

.evidence-visual span {
    display: block;
    width: 100%;
    height: 10px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(255, 138, 120, 0.22), rgba(185, 149, 224, 0.7), rgba(120, 212, 208, 0.24));
    box-shadow: 0 0 24px rgba(185, 149, 224, 0.1);
}

.evidence-visual--reflection span:nth-of-type(1) { width: 68%; }
.evidence-visual--reflection span:nth-of-type(2) { width: 92%; }
.evidence-visual--reflection span:nth-of-type(3) { width: 54%; }

.evidence-visual--progress {
    align-content: end;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    align-items: end;
}

.evidence-visual--progress span {
    width: 18px;
    height: 38px;
    background: linear-gradient(180deg, rgba(255, 138, 120, 0.8), rgba(185, 149, 224, 0.22));
}

.evidence-visual--progress span:nth-of-type(2) { height: 58px; }
.evidence-visual--progress span:nth-of-type(3) { height: 82px; }
.evidence-visual--progress span:nth-of-type(4) { height: 112px; }

.evidence-visual--conversation {
    grid-template-columns: 1fr 1fr;
}

.evidence-visual--conversation span {
    height: 42px;
    border-radius: 18px;
}

.evidence-visual--conversation span:nth-of-type(3) {
    grid-column: 1 / -1;
    width: 72%;
}

.evidence-visual--self-correction {
    grid-template-columns: repeat(4, 1fr);
}

.evidence-visual--self-correction span {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(185, 149, 224, 0.7);
}

.evidence-visual--self-correction span:nth-of-type(4) {
    background: var(--coral);
    box-shadow: 0 0 28px rgba(255, 138, 120, 0.24);
}

.student-arrow {
    place-items: center;
    color: #ffffff;
}

.student-arrow span {
    align-items: center;
    justify-items: center;
    line-height: 1;
    transform: translateY(-1px);
}

.student-arrow:hover,
.student-arrow:focus-visible {
    background:
        radial-gradient(circle at 50% 50%, rgba(185, 149, 224, 0.42), rgba(25, 16, 32, 0.96));
    color: #ffffff;
}

@media (max-width: 1180px) {
    .hero-copy h1 {
        font-size: clamp(54px, 7vw, 76px);
    }

    .atom-label {
        font-size: 10px;
    }

    .goal-meaning-card {
        max-width: 760px;
    }
}

@media (max-width: 720px) {
    .hero-copy h1 {
        gap: 6px;
        line-height: 1.08;
    }

    .hero-lead {
        margin-top: 20px;
        line-height: 1.64;
    }

    .goal-meaning-card {
        min-height: auto;
        padding: 26px;
        border-radius: 20px;
    }

    .goal-meaning-copy p:nth-of-type(n+2):nth-of-type(-n+4) {
        display: none;
    }

    .goal-mini-visual {
        padding: 16px;
    }

    .story-frame {
        min-height: 190px;
    }
}

@media (max-width: 480px) {
    .hero-proof {
        grid-template-columns: 1fr;
    }

    .goal-meaning-copy h3 {
        font-size: 31px;
    }

    .goal-meaning-copy p,
    .goal-meaning-close {
        font-size: 14px;
    }
}

.student-stories {
    position: relative;
    margin-top: clamp(42px, 5vw, 74px);
    perspective: 1400px;
}

.student-stories::before {
    content: "";
    position: absolute;
    inset: 10% 10% 18%;
    z-index: 0;
    border-radius: 50%;
    background:
        radial-gradient(circle at 50% 50%, rgba(185, 149, 224, 0.2), rgba(255, 138, 120, 0.08) 34%, transparent 68%);
    filter: blur(26px);
    opacity: 0.8;
    pointer-events: none;
}

.student-carousel {
    position: relative;
    z-index: 1;
    display: grid;
    grid-auto-columns: minmax(560px, 58%);
    grid-auto-flow: column;
    gap: clamp(22px, 4vw, 54px);
    overflow-x: auto;
    overflow-y: visible;
    padding: 56px max(32px, calc((100% - min(760px, 62vw)) / 2)) 44px;
    scrollbar-width: none;
}

.student-carousel::-webkit-scrollbar {
    display: none;
}

.student-story {
    position: relative;
    overflow: hidden;
    min-height: 560px;
    border-color: rgba(250, 248, 242, 0.11);
    border-radius: 26px;
    background:
        radial-gradient(circle at 82% 12%, rgba(185, 149, 224, 0.18), transparent 28%),
        linear-gradient(180deg, rgba(36, 27, 42, 0.94), rgba(18, 12, 23, 0.94));
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.26);
    opacity: 0.34;
    transform: scale(0.86) translateY(22px);
    transform-origin: center center;
    transition:
        transform 560ms cubic-bezier(0.2, 0.82, 0.2, 1),
        opacity 460ms ease,
        border-color 280ms ease,
        box-shadow 360ms ease,
        filter 360ms ease;
    filter: saturate(0.82) blur(0.1px);
}

.student-story::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        linear-gradient(135deg, rgba(250, 248, 242, 0.06), transparent 34%),
        radial-gradient(circle at 18% 90%, rgba(255, 138, 120, 0.08), transparent 30%);
    pointer-events: none;
}

.student-story > * {
    position: relative;
    z-index: 1;
}

.student-story.is-active {
    z-index: 6;
    border-color: rgba(255, 138, 120, 0.48);
    box-shadow:
        0 38px 105px rgba(0, 0, 0, 0.4),
        0 0 70px rgba(185, 149, 224, 0.18),
        0 0 42px rgba(255, 138, 120, 0.1);
    opacity: 1;
    transform: scale(1) translateY(-8px);
    filter: saturate(1) blur(0);
}

.student-story.is-prev {
    z-index: 3;
    opacity: 0.58;
    transform: translateX(34px) scale(0.9) rotateY(5deg);
}

.student-story.is-next {
    z-index: 3;
    opacity: 0.58;
    transform: translateX(-34px) scale(0.9) rotateY(-5deg);
}

.student-story.is-far {
    z-index: 1;
    opacity: 0.28;
    transform: scale(0.84) translateY(28px);
}

.story-quote {
    min-height: 158px;
    padding: 30px 32px 20px;
    border-bottom: 1px solid rgba(250, 248, 242, 0.08);
}

.story-quote span {
    color: #ffb7aa;
}

.story-quote strong {
    max-width: 12ch;
    font-size: clamp(34px, 4vw, 54px);
}

.story-frame {
    min-height: 280px;
    margin: 0 24px;
    border: 1px solid rgba(250, 248, 242, 0.1);
    border-radius: 22px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012)),
        radial-gradient(circle at 50% 42%, rgba(185, 149, 224, 0.18), transparent 58%),
        rgba(8, 6, 12, 0.36);
}

.story-status {
    top: 16px;
    right: 16px;
    bottom: auto;
    border: 1px solid rgba(250, 248, 242, 0.1);
    background: rgba(12, 8, 16, 0.72);
    color: rgba(250, 248, 242, 0.74);
    backdrop-filter: blur(10px);
}

.story-copy {
    min-height: 132px;
    padding: 24px 32px 30px;
}

.story-copy h3 {
    color: #fff8ee;
    font-size: 24px;
}

.story-copy p {
    max-width: 34rem;
    color: rgba(250, 248, 242, 0.68);
    font-size: 15px;
    line-height: 1.58;
}

.evidence-visual {
    width: min(78%, 360px);
    min-height: 176px;
}

.evidence-visual img {
    width: 68px;
    height: 68px;
    opacity: 0.52;
}

.evidence-visual span {
    height: 12px;
    background:
        linear-gradient(90deg, rgba(250, 248, 242, 0.08), rgba(185, 149, 224, 0.8), rgba(255, 138, 120, 0.34));
}

.evidence-visual--voice {
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    align-items: center;
}

.evidence-visual--voice span {
    width: 16px;
    height: 44px;
    justify-self: center;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(120, 212, 208, 0.66), rgba(185, 149, 224, 0.32));
}

.evidence-visual--voice span:nth-of-type(2) { height: 82px; }
.evidence-visual--voice span:nth-of-type(3) { height: 128px; background: linear-gradient(180deg, rgba(255, 138, 120, 0.74), rgba(185, 149, 224, 0.4)); }
.evidence-visual--voice span:nth-of-type(4) { height: 86px; }
.evidence-visual--voice span:nth-of-type(5) { height: 52px; }

.carousel-controls.below {
    position: relative;
    z-index: 3;
    margin-top: 0;
}

.student-arrow {
    width: 58px;
    height: 58px;
    border-color: rgba(185, 149, 224, 0.34);
    background:
        radial-gradient(circle at 50% 50%, rgba(185, 149, 224, 0.2), rgba(16, 10, 20, 0.88));
    box-shadow: 0 16px 42px rgba(0, 0, 0, 0.26);
}

.student-arrow:hover,
.student-arrow:focus-visible {
    border-color: rgba(185, 149, 224, 0.82);
    background:
        radial-gradient(circle at 50% 50%, rgba(185, 149, 224, 0.56), rgba(20, 12, 27, 0.98));
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.32), 0 0 30px rgba(185, 149, 224, 0.2);
    outline: none;
}

@media (max-width: 900px) {
    .student-carousel {
        grid-auto-columns: minmax(320px, 82%);
        gap: 24px;
        padding-inline: 9%;
        scroll-padding-inline: 9%;
    }

    .student-story,
    .student-story.is-prev,
    .student-story.is-next,
    .student-story.is-far {
        transform: scale(0.94) translateY(12px);
    }

    .student-story.is-active {
        transform: scale(1) translateY(-4px);
    }

    .story-quote strong {
        max-width: 14ch;
        font-size: clamp(30px, 8vw, 42px);
    }
}

@media (max-width: 520px) {
    .student-carousel {
        grid-auto-columns: minmax(278px, 88%);
        gap: 18px;
        padding: 34px 6% 30px;
        scroll-padding-inline: 6%;
    }

    .student-story {
        min-height: 500px;
        border-radius: 20px;
    }

    .story-quote {
        min-height: 132px;
        padding: 24px 22px 16px;
    }

    .story-frame {
        min-height: 220px;
        margin: 0 16px;
        border-radius: 18px;
    }

    .story-copy {
        min-height: 122px;
        padding: 22px;
    }

    .evidence-visual {
        width: min(82%, 280px);
        min-height: 142px;
    }
}

.student-carousel-stage {
    position: relative;
    display: block;
    overflow: hidden;
    height: clamp(540px, 45vw, 610px);
    max-width: min(100%, 1420px);
    margin-inline: auto;
    padding: 0;
    scrollbar-width: none;
}

.student-carousel-stage .student-story {
    position: absolute;
    top: 30px;
    left: 50%;
    display: grid;
    width: clamp(760px, 68vw, 1040px);
    min-height: 430px;
    max-height: none;
    grid-template-columns: minmax(320px, 0.95fr) minmax(340px, 1.05fr);
    gap: 32px;
    align-items: stretch;
    padding: clamp(28px, 3vw, 38px);
    overflow: visible;
    border: 1px solid rgba(255, 138, 120, 0.18);
    border-radius: 28px;
    background:
        radial-gradient(circle at 78% 12%, rgba(185, 149, 224, 0.16), transparent 30%),
        radial-gradient(circle at 14% 82%, rgba(255, 138, 120, 0.08), transparent 28%),
        linear-gradient(135deg, rgba(34, 24, 35, 0.98), rgba(19, 13, 23, 0.98));
    color: #fff7ed;
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.28);
    opacity: 0;
    pointer-events: none;
    transform: translateX(-50%) scale(0.78);
    transition:
        transform 520ms cubic-bezier(0.22, 1, 0.36, 1),
        opacity 460ms ease,
        border-color 260ms ease;
    filter: none;
    will-change: auto;
}

.student-carousel-stage .student-story::before {
    opacity: 0;
}

.student-carousel-stage .student-story.is-active {
    z-index: 5;
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) scale(1);
    border-color: rgba(255, 138, 120, 0.52);
}

.student-carousel-stage .student-story.is-prev {
    z-index: 2;
    opacity: 0.42;
    pointer-events: auto;
    transform: translateX(calc(-50% - 58%)) scale(0.88);
}

.student-carousel-stage .student-story.is-next {
    z-index: 2;
    opacity: 0.42;
    pointer-events: auto;
    transform: translateX(calc(-50% + 58%)) scale(0.88);
}

.student-carousel-stage .student-story.is-far {
    z-index: 1;
    opacity: 0;
    transform: translateX(-50%) scale(0.76);
}

.student-carousel-stage .student-story.is-hidden {
    z-index: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) scale(0.74);
}

.student-carousel-stage .student-story.is-active,
.student-carousel-stage .student-story.is-prev,
.student-carousel-stage .student-story.is-next {
    visibility: visible;
    will-change: transform, opacity;
}

.student-carousel-stage .story-content {
    display: grid;
    align-content: center;
    min-width: 0;
}

.student-card__stars {
    margin: 0 0 22px;
    color: #ff8a78;
    font-size: 16px;
    letter-spacing: 0.14em;
    line-height: 1;
    text-shadow: 0 6px 18px rgba(255, 138, 120, 0.18);
}

.student-carousel-stage .story-content h3 {
    max-width: 20ch;
    color: #fff7ed;
    font-family: "Fraunces", serif;
    font-size: clamp(29px, 2.65vw, 44px);
    line-height: 1.08;
    letter-spacing: 0;
}

.student-carousel-stage .story-divider {
    display: block;
    width: min(100%, 420px);
    height: 1px;
    margin: 30px 0 24px;
    background: linear-gradient(90deg, rgba(255, 138, 120, 0.58), rgba(185, 149, 224, 0.34), transparent);
}

.student-carousel-stage .story-content strong {
    color: #fff7ed;
    font-size: 17px;
    letter-spacing: 0.02em;
}

.student-carousel-stage .story-role {
    margin-top: 5px;
    color: rgba(255, 247, 237, 0.62);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.student-carousel-stage .story-support {
    max-width: 40ch;
    margin: 12px 0 0;
    color: rgba(255, 247, 237, 0.68);
    font-size: 14px;
    line-height: 1.55;
}

.story-connect-label {
    margin: 28px 0 12px;
    color: rgba(255, 247, 237, 0.5);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.story-social-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.story-social-icon {
    display: inline-grid;
    width: 38px;
    height: 38px;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(250, 248, 242, 0.13);
    border-radius: 999px;
    background: rgba(250, 248, 242, 0.055);
    color: rgba(250, 248, 242, 0.76);
    text-decoration: none;
    transition: border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease, color 180ms ease, transform 180ms ease;
}

.story-social-icon i {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    border-radius: inherit;
    background: transparent !important;
    font-size: 15px;
    line-height: 1;
}

.story-social-icon:hover,
.story-social-icon:focus-visible {
    border-color: rgba(255, 138, 120, 0.42);
    background: rgba(185, 149, 224, 0.14);
    color: #fff8ee;
    box-shadow: 0 0 24px rgba(185, 149, 224, 0.16);
    outline: none;
    transform: translateY(-1px);
}

.story-social-icon:hover i,
.story-social-icon:focus-visible i {
    background: transparent !important;
}

.student-carousel-stage .story-frame,
.student-card__media {
    position: relative;
    display: grid;
    width: 100%;
    min-height: 300px;
    margin: 0;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(255, 247, 237, 0.12);
    border-radius: 22px;
    background:
        radial-gradient(circle at 48% 42%, rgba(185, 149, 224, 0.22), transparent 36%),
        linear-gradient(135deg, rgba(12, 9, 16, 0.96), rgba(35, 24, 42, 0.94));
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.student-carousel-stage .story-frame::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(115deg, transparent 0 28%, rgba(255, 247, 237, 0.05) 28% 30%, transparent 30% 100%),
        repeating-linear-gradient(0deg, rgba(255, 247, 237, 0.035) 0 1px, transparent 1px 20px);
    opacity: 0.72;
}

.student-carousel-stage .evidence-visual {
    position: relative;
    z-index: 1;
    width: min(82%, 360px);
    min-height: 225px;
    border: 1px solid rgba(255, 247, 237, 0.1);
    border-radius: 16px;
    background:
        radial-gradient(circle at 50% 50%, rgba(185, 149, 224, 0.2), transparent 38%),
        linear-gradient(135deg, rgba(13, 10, 18, 0.94), rgba(42, 31, 52, 0.9));
}

.student-carousel-stage .evidence-visual img {
    width: 52px;
    height: 52px;
    filter: drop-shadow(0 0 18px rgba(255, 255, 255, 0.34));
}

.story-play-button {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    display: grid;
    width: 64px;
    height: 64px;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: #ff8a78;
    box-shadow: 0 18px 34px rgba(255, 138, 120, 0.26), 0 0 0 8px rgba(255, 247, 237, 0.12);
    transform: translate(-50%, -50%);
    cursor: pointer;
}

.story-play-button span {
    width: 0;
    height: 0;
    margin-left: 4px;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 15px solid #fff7ed;
}

.story-play-button:disabled {
    opacity: 1;
}

.story-play-button:hover,
.story-play-button:focus-visible {
    outline: none;
    background: #ff9a89;
    box-shadow: 0 18px 34px rgba(255, 138, 120, 0.32), 0 0 0 8px rgba(255, 247, 237, 0.14);
}

.story-play-button:focus-visible {
    outline: 3px solid rgba(255, 247, 237, 0.34);
    outline-offset: 5px;
}

.students-carousel__controls {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-top: 68px;
    position: relative;
    z-index: 10;
}

.students-carousel__controls .student-arrow {
    width: 58px;
    height: 58px;
    min-width: 58px;
    min-height: 58px;
    flex: 0 0 58px;
    aspect-ratio: 1 / 1;
    padding: 0;
    border-radius: 50%;
}

/* 11D-R1 surgical glow/icon repair overrides */
.atom-nucleus {
    background:
        radial-gradient(circle at 50% 45%, rgba(5, 3, 10, 0.98) 0 36%, rgba(12, 7, 18, 0.96) 58%, rgba(4, 3, 8, 0.98) 100%);
    box-shadow:
        inset 0 0 38px rgba(0, 0, 0, 0.58),
        0 0 0 18px rgba(185, 149, 224, 0.08),
        0 0 58px rgba(185, 149, 224, 0.22),
        0 28px 80px rgba(0, 0, 0, 0.44);
}

.atom-nucleus::before {
    inset: -42px;
    background:
        radial-gradient(circle, rgba(185, 149, 224, 0.38), rgba(126, 93, 167, 0.18) 40%, rgba(255, 138, 120, 0.06) 56%, transparent 74%);
    opacity: 0.72;
    animation: apx-purple-glow-breathe 5.8s ease-in-out infinite;
}

.atom-nucleus img,
.solution-system__starburst img,
.goal-video-frame img {
    animation: apx-starburst-breathe 5.8s ease-in-out infinite;
    transform-origin: center;
}

.solution-system__nucleus {
    background:
        radial-gradient(circle at 50% 45%, rgba(185, 149, 224, 0.16), transparent 54%),
        radial-gradient(circle at 50% 50%, rgba(5, 3, 10, 0.98) 0 44%, rgba(3, 2, 7, 0.98) 74%);
}

.solution-system__starburst,
.solution-system.is-solution-active .solution-system__starburst,
.solution-system.is-aligned .solution-system__starburst {
    opacity: 1;
}

.solution-system__starburst img {
    filter:
        invert(1)
        brightness(1.48)
        contrast(1.08)
        drop-shadow(0 0 18px rgba(255, 255, 255, 0.24))
        drop-shadow(0 0 42px rgba(185, 149, 224, 0.66));
}

@media (max-width: 1180px) {
    .student-carousel-stage {
        height: 570px;
    }

    .student-carousel-stage .student-story {
        width: min(820px, 74vw);
        grid-template-columns: minmax(300px, 1fr) minmax(280px, 0.92fr);
        padding: 30px;
    }

    .student-carousel-stage .student-story.is-prev {
        transform: translateX(calc(-50% - 56%)) scale(0.86);
    }

    .student-carousel-stage .student-story.is-next {
        transform: translateX(calc(-50% + 56%)) scale(0.86);
    }
}

@media (max-width: 820px) {
    .student-carousel-stage {
        height: 740px;
        overflow: hidden;
    }

    .student-carousel-stage .student-story {
        top: 20px;
        width: min(92vw, 520px);
        min-height: 680px;
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 24px;
    }

    .student-carousel-stage .student-story.is-prev {
        opacity: 0;
        pointer-events: none;
        transform: translateX(calc(-50% - 88%)) scale(0.9);
    }

    .student-carousel-stage .student-story.is-next {
        opacity: 0;
        pointer-events: none;
        transform: translateX(calc(-50% + 88%)) scale(0.9);
    }

    .student-carousel-stage .story-content {
        align-content: start;
    }

    .student-carousel-stage .story-content h3 {
        max-width: 18ch;
        font-size: clamp(28px, 7vw, 38px);
    }

    .student-carousel-stage .story-frame {
        min-height: 280px;
    }

    .student-carousel-stage .evidence-visual {
        min-height: 210px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .student-carousel-stage .student-story {
        transition: none;
    }
}

.legal-body {
    min-height: 100vh;
    background:
        radial-gradient(circle at 18% 8%, rgba(185, 149, 224, 0.16), transparent 30%),
        radial-gradient(circle at 82% 16%, rgba(255, 138, 120, 0.1), transparent 28%),
        linear-gradient(135deg, #120b17 0%, #08070a 62%, #151018 100%);
    color: #fff7ed;
}

.legal-page {
    width: min(100% - 32px, 920px);
    margin: 0 auto;
    padding: 44px 0 56px;
}

.legal-back-link {
    display: inline-flex;
    align-items: center;
    margin-bottom: 22px;
    color: rgba(255, 247, 237, 0.78);
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.legal-back-link:hover,
.legal-back-link:focus-visible {
    color: var(--coral);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.legal-card {
    padding: clamp(28px, 5vw, 56px);
    border: 1px solid rgba(255, 247, 237, 0.12);
    border-radius: 24px;
    background:
        radial-gradient(circle at 88% 10%, rgba(185, 149, 224, 0.12), transparent 28%),
        linear-gradient(135deg, rgba(31, 23, 34, 0.96), rgba(14, 11, 18, 0.98));
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.34);
}

.legal-card h1 {
    margin: 8px 0 10px;
    color: #fff7ed;
    font-family: "Fraunces", serif;
    font-size: clamp(40px, 8vw, 72px);
    line-height: 0.98;
}

.legal-updated {
    color: rgba(255, 247, 237, 0.6);
    font-size: 14px;
    font-weight: 700;
}

.legal-note {
    margin: 24px 0 34px;
    padding: 16px 18px;
    border: 1px dashed rgba(255, 138, 120, 0.42);
    border-radius: 14px;
    background: rgba(255, 138, 120, 0.08);
    color: rgba(255, 247, 237, 0.78);
    line-height: 1.6;
}

.legal-card section {
    padding: 24px 0;
    border-top: 1px solid rgba(255, 247, 237, 0.1);
}

.legal-document-body {
    padding-top: 10px;
    border-top: 1px solid rgba(255, 247, 237, 0.1);
}

.legal-card h2 {
    margin: 28px 0 10px;
    color: #ff8a78;
    font-family: "Fraunces", serif;
    font-size: clamp(24px, 4vw, 34px);
    line-height: 1.08;
}

.legal-card h3,
.legal-card h4 {
    margin: 22px 0 8px;
    color: rgba(255, 247, 237, 0.92);
    font-size: 20px;
    line-height: 1.2;
}

.legal-card p {
    color: rgba(255, 247, 237, 0.78);
    font-size: 16px;
    line-height: 1.78;
}

.legal-card ul {
    margin: 12px 0 20px;
    padding-left: 22px;
    color: rgba(255, 247, 237, 0.78);
    line-height: 1.7;
}

.legal-card li + li {
    margin-top: 8px;
}

.legal-table-wrap {
    margin: 18px 0 24px;
    overflow-x: auto;
}

.legal-card table {
    width: 100%;
    border-collapse: collapse;
    color: rgba(255, 247, 237, 0.8);
    font-size: 14px;
}

.legal-card th,
.legal-card td {
    padding: 12px;
    border: 1px solid rgba(255, 247, 237, 0.14);
    text-align: left;
    vertical-align: top;
}

.legal-card th {
    color: #fff7ed;
    background: rgba(255, 138, 120, 0.12);
}

.legal-card pre {
    overflow-x: auto;
    padding: 18px;
    border: 1px solid rgba(255, 247, 237, 0.14);
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.24);
    color: rgba(255, 247, 237, 0.86);
    white-space: pre-wrap;
}

.legal-hub-grid {
    display: grid;
    gap: 14px;
    margin-top: 28px;
}

.legal-hub-link {
    display: grid;
    gap: 6px;
    padding: 18px;
    border: 1px solid rgba(255, 247, 237, 0.12);
    border-radius: 16px;
    background: rgba(255, 247, 237, 0.05);
    text-decoration: none;
}

.legal-hub-link strong {
    color: #fff7ed;
}

.legal-hub-link span {
    color: rgba(255, 247, 237, 0.68);
    line-height: 1.5;
}

.legal-footer-links {
    margin-top: 24px;
}

/* APX kinetic motion layer */
.hero-copy > .eyebrow,
.hero-copy h1 > span,
.hero-lead,
.hero-actions,
.hero-proof,
.hero-proof span {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
    animation: apx-hero-rise 760ms cubic-bezier(0.21, 0.72, 0.24, 1) forwards;
    will-change: opacity, transform;
}

.hero-copy > .eyebrow {
    animation-delay: 80ms;
}

.hero-copy h1 > span:nth-child(1) {
    animation-delay: 220ms;
}

.hero-copy h1 > span:nth-child(2) {
    animation-delay: 330ms;
}

.hero-copy h1 > span:nth-child(3) {
    animation-delay: 440ms;
}

.hero-copy h1 > span:nth-child(4) {
    animation-delay: 550ms;
}

.hero-lead {
    animation-delay: 710ms;
}

.hero-actions {
    animation-delay: 860ms;
}

.hero-proof {
    animation-delay: 980ms;
}

.hero-proof span:nth-child(1) {
    animation-delay: 1060ms;
}

.hero-proof span:nth-child(2) {
    animation-delay: 1130ms;
}

.hero-proof span:nth-child(3) {
    animation-delay: 1200ms;
}

.hero-proof span:nth-child(4) {
    animation-delay: 1270ms;
}

.atom-glow,
.atom-ring,
.atom-nucleus,
.atom-point,
.atom-label {
    opacity: 0;
    will-change: opacity, scale, transform;
}

.atom-glow {
    animation: atom-build-fade 700ms ease-out 560ms forwards, atom-breathe-glow 5.2s ease-in-out 1.3s infinite;
}

.atom-ring {
    scale: 0.92;
    animation: atom-build-fade-scale 720ms cubic-bezier(0.2, 0.74, 0.24, 1) forwards;
}

.atom-ring-wide {
    animation-delay: 620ms;
    animation-name: atom-build-fade-scale, atom-ring-drift;
    animation-duration: 720ms, 18s;
    animation-delay: 620ms, 1.36s;
    animation-timing-function: cubic-bezier(0.2, 0.74, 0.24, 1), ease-in-out;
    animation-fill-mode: forwards, none;
    animation-iteration-count: 1, infinite;
}

.atom-ring-tilt-a {
    animation-name: atom-build-fade-scale, atom-ring-drift-a;
    animation-duration: 720ms, 20s;
    animation-delay: 740ms, 1.5s;
    animation-timing-function: cubic-bezier(0.2, 0.74, 0.24, 1), ease-in-out;
    animation-fill-mode: forwards, none;
    animation-iteration-count: 1, infinite;
}

.atom-ring-tilt-b {
    animation-name: atom-build-fade-scale, atom-ring-drift-b;
    animation-duration: 720ms, 22s;
    animation-delay: 860ms, 1.62s;
    animation-timing-function: cubic-bezier(0.2, 0.74, 0.24, 1), ease-in-out;
    animation-fill-mode: forwards, none;
    animation-iteration-count: 1, infinite;
}

.atom-nucleus {
    scale: 0.9;
    animation: atom-build-fade-scale 840ms cubic-bezier(0.2, 0.74, 0.24, 1) 1.08s forwards, atom-breathe 5.2s ease-in-out 1.86s infinite;
}

.atom-nucleus img {
    animation: starburst-breathe 5.2s ease-in-out 1.86s infinite;
}

.atom-point {
    scale: 0.72;
    animation: atom-build-fade-scale 520ms ease-out forwards;
}

.atom-point:nth-of-type(5) { animation-delay: 1.18s; }
.atom-point:nth-of-type(6) { animation-delay: 1.23s; }
.atom-point:nth-of-type(7) { animation-delay: 1.28s; }
.atom-point:nth-of-type(8) { animation-delay: 1.33s; }
.atom-point:nth-of-type(9) { animation-delay: 1.38s; }
.atom-point:nth-of-type(10) { animation-delay: 1.43s; }
.atom-point:nth-of-type(11) { animation-delay: 1.48s; }
.atom-point:nth-of-type(12) { animation-delay: 1.53s; }

.atom-label {
    animation: atom-label-in 520ms ease-out 1.68s forwards;
}

.js-reveal {
    --reveal-delay: 0ms;
    opacity: 0;
    transition: opacity 680ms ease, transform 680ms cubic-bezier(0.21, 0.72, 0.24, 1), scale 680ms cubic-bezier(0.21, 0.72, 0.24, 1);
    transition-delay: var(--reveal-delay);
    will-change: opacity, transform, scale;
}

.js-reveal-up {
    transform: translate3d(0, 28px, 0);
}

.js-reveal-left {
    transform: translate3d(-28px, 0, 0);
}

.js-reveal-right {
    transform: translate3d(28px, 0, 0);
}

.js-reveal-scale {
    scale: 0.965;
}

.js-reveal.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    scale: 1;
}

.solution-system.is-visible .solution-system__starburst,
.solution-system.is-visible .solution-system__halo {
    opacity: 1;
}

@keyframes apx-hero-rise {
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes atom-build-fade {
    to {
        opacity: 1;
    }
}

@keyframes atom-build-fade-scale {
    to {
        opacity: 1;
        scale: 1;
    }
}

@keyframes atom-label-in {
    to {
        opacity: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }

    .solution-system .solution-system__starburst {
        animation: none !important;
    }

    .hero-copy > .eyebrow,
    .hero-copy h1 > span,
    .hero-lead,
    .hero-actions,
    .hero-proof,
    .hero-proof span,
    .atom-glow,
    .atom-ring,
    .atom-nucleus,
    .atom-point,
    .atom-label,
    .js-reveal {
        opacity: 1 !important;
        transform: none !important;
        scale: 1 !important;
        transition: none !important;
        will-change: auto !important;
    }
}

/* 11C-R1 passive hero atom + Our Goal control system polish */
.atom-nucleus {
    border: 1px solid rgba(250, 248, 242, 0.18);
    padding: 0;
    color: inherit;
    cursor: default;
    font: inherit;
    animation: atom-nucleus-intro 980ms cubic-bezier(0.16, 0.72, 0.22, 1) 420ms both;
}

.atom-nucleus::before {
    content: "";
    position: absolute;
    inset: -34px;
    z-index: -1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(185, 149, 224, 0.28), rgba(126, 93, 167, 0.12) 38%, transparent 70%);
    opacity: 0.76;
    transform: scale(0.96);
    animation: atom-engine-aura 5.2s ease-in-out infinite, atom-engine-intro-pulse 1.2s ease-out 920ms both;
    pointer-events: none;
}

.atom-nucleus img {
    animation: apx-starburst-breathe 5.8s ease-in-out infinite;
    transform-origin: center;
}

.atom-ring {
    animation-name: atom-ring-drift, atom-ring-intro;
    animation-duration: 14s, 1.25s;
    animation-timing-function: ease-in-out, cubic-bezier(0.16, 0.72, 0.22, 1);
    animation-delay: 0s, 680ms;
    animation-iteration-count: infinite, 1;
    animation-fill-mode: none, both;
}

.atom-ring-tilt-a {
    animation-name: atom-ring-drift-a, atom-ring-intro;
}

.atom-ring-tilt-b {
    animation-name: atom-ring-drift-b, atom-ring-intro;
}

.atom-point {
    animation: atom-point-intro 700ms ease-out both;
}

.atom-point .electron,
.atom-label {
    animation: atom-label-intro 760ms ease-out both;
}

.atom-knowledge { top: 7%; left: 50%; }
.atom-fluency { bottom: 7%; left: 50%; }
.atom-mindset { top: 19%; right: 18%; }
.atom-speech { top: 19%; left: 18%; }
.atom-pronunciation { top: 50%; right: 6%; }
.atom-reflection { top: 50%; left: 6%; }
.atom-rhythm { right: 18%; bottom: 19%; }
.atom-confidence { bottom: 19%; left: 18%; }

.atom-knowledge { animation-delay: 1080ms; }
.atom-mindset { animation-delay: 1180ms; }
.atom-pronunciation { animation-delay: 1280ms; }
.atom-rhythm { animation-delay: 1380ms; }
.atom-fluency { animation-delay: 1480ms; }
.atom-confidence { animation-delay: 1580ms; }
.atom-reflection { animation-delay: 1680ms; }
.atom-speech { animation-delay: 1780ms; }

.atom-knowledge .electron,
.atom-knowledge .atom-label { animation-delay: 1120ms; }
.atom-mindset .electron,
.atom-mindset .atom-label { animation-delay: 1220ms; }
.atom-pronunciation .electron,
.atom-pronunciation .atom-label { animation-delay: 1320ms; }
.atom-rhythm .electron,
.atom-rhythm .atom-label { animation-delay: 1420ms; }
.atom-fluency .electron,
.atom-fluency .atom-label { animation-delay: 1520ms; }
.atom-confidence .electron,
.atom-confidence .atom-label { animation-delay: 1620ms; }
.atom-reflection .electron,
.atom-reflection .atom-label { animation-delay: 1720ms; }
.atom-speech .electron,
.atom-speech .atom-label { animation-delay: 1820ms; }

.goal-outcome-system {
    display: grid;
    gap: 18px;
    margin-top: 34px;
}

.goal-outcome-system .goal-mini-visual {
    margin-top: 0;
}

.goal-control-system {
    position: relative;
    overflow: hidden;
    padding: 18px;
    border: 1px solid rgba(250, 248, 242, 0.13);
    border-radius: 24px;
    background:
        radial-gradient(circle at 50% 12%, rgba(185, 149, 224, 0.14), transparent 32%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.022)),
        rgba(8, 6, 12, 0.42);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.055), 0 22px 58px rgba(0, 0, 0, 0.18);
}

.goal-control-system::before {
    content: "";
    position: absolute;
    width: 190px;
    height: 190px;
    top: 50%;
    left: 50%;
    border: 1px solid rgba(185, 149, 224, 0.18);
    border-radius: 50%;
    transform: translate(-50%, -50%) rotate(-18deg) scaleX(1.34);
    pointer-events: none;
}

.goal-system-kicker {
    position: relative;
    z-index: 1;
    display: inline-flex;
    margin-bottom: 14px;
    color: #b995e0;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.goal-system-flow {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 34px minmax(0, 1.08fr) 34px minmax(0, 1fr);
    gap: 12px;
    align-items: stretch;
}

.goal-system-node {
    position: relative;
    overflow: hidden;
    min-height: 168px;
    padding: 18px 16px;
    border: 1px solid rgba(250, 248, 242, 0.13);
    border-radius: 20px;
    background:
        radial-gradient(circle at 50% 0%, rgba(255, 138, 120, 0.1), transparent 34%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.022)),
        rgba(9, 7, 13, 0.58);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.055);
}

.goal-system-node::after {
    content: "";
    position: absolute;
    right: 16px;
    bottom: 16px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255, 138, 120, 0.72);
    box-shadow: 0 0 16px rgba(255, 138, 120, 0.36);
}

.goal-system-node--engine {
    border-color: rgba(185, 149, 224, 0.28);
    background:
        radial-gradient(circle at 50% 10%, rgba(185, 149, 224, 0.22), transparent 42%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025)),
        rgba(14, 9, 20, 0.7);
}

.goal-system-node--engine::after {
    background: rgba(185, 149, 224, 0.82);
    box-shadow: 0 0 20px rgba(185, 149, 224, 0.5);
}

.goal-system-node span {
    display: inline-flex;
    margin-bottom: 14px;
    color: #fff8ee;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.goal-system-node ul {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.goal-system-node li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(250, 248, 242, 0.72);
    font-size: 13px;
    line-height: 1.35;
}

.goal-system-node li::before {
    content: "";
    width: 5px;
    height: 5px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: rgba(255, 138, 120, 0.76);
    box-shadow: 0 0 10px rgba(255, 138, 120, 0.24);
}

.goal-system-node--engine li::before {
    background: rgba(185, 149, 224, 0.86);
    box-shadow: 0 0 12px rgba(185, 149, 224, 0.34);
}

.goal-system-arrow {
    position: relative;
    align-self: center;
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 138, 120, 0.22), rgba(185, 149, 224, 0.76));
}

.goal-system-arrow::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -1px;
    width: 9px;
    height: 9px;
    border-top: 1px solid rgba(185, 149, 224, 0.82);
    border-right: 1px solid rgba(185, 149, 224, 0.82);
    transform: translateY(-50%) rotate(45deg);
}

.coach-video-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(180px, 0.72fr);
    gap: 18px;
    align-items: stretch;
    padding: 18px;
    border: 1px solid rgba(250, 248, 242, 0.13);
    border-radius: 22px;
    background:
        radial-gradient(circle at 88% 18%, rgba(185, 149, 224, 0.14), transparent 34%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
        rgba(8, 6, 12, 0.42);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.055), 0 22px 58px rgba(0, 0, 0, 0.2);
}

.coach-video-copy span {
    display: inline-flex;
    margin-bottom: 10px;
    color: #b995e0;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.coach-video-copy h3 {
    margin: 0 0 8px;
    color: #fff8ee;
    font-family: "Fraunces", serif;
    font-size: clamp(22px, 2.4vw, 30px);
    line-height: 1.05;
}

.coach-video-copy p {
    margin: 0;
    color: rgba(250, 248, 242, 0.66);
    font-size: 13px;
    line-height: 1.58;
}

.coach-video-frame {
    position: relative;
    display: grid;
    aspect-ratio: 16 / 9;
    min-height: 150px;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(250, 248, 242, 0.12);
    border-radius: 18px;
    background:
        radial-gradient(circle at 50% 45%, rgba(185, 149, 224, 0.22), transparent 42%),
        linear-gradient(145deg, #110a18, #050408);
}

.coach-video-frame img {
    width: 72px;
    height: 72px;
    opacity: 0.36;
    filter: invert(1) brightness(1.22) drop-shadow(0 0 22px rgba(185, 149, 224, 0.42));
}

.coach-play-button {
    position: absolute;
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    border: 1px solid rgba(250, 248, 242, 0.26);
    border-radius: 50%;
    background: rgba(250, 248, 242, 0.08);
    box-shadow: 0 0 30px rgba(185, 149, 224, 0.22);
}

.coach-play-button::before {
    content: "";
    margin-left: 4px;
    border-top: 9px solid transparent;
    border-bottom: 9px solid transparent;
    border-left: 14px solid #fff8ee;
}

@keyframes atom-engine-aura {
    0%, 100% { opacity: 0.58; transform: scale(0.96); }
    50% { opacity: 0.96; transform: scale(1.06); }
}

@keyframes apx-starburst-breathe {
    0%, 100% {
        transform: scale(0.985);
        filter:
            invert(1)
            brightness(1.34)
            contrast(1.06)
            drop-shadow(0 0 16px rgba(255, 255, 255, 0.2))
            drop-shadow(0 0 30px rgba(185, 149, 224, 0.5));
    }
    50% {
        transform: scale(1.05);
        filter:
            invert(1)
            brightness(1.62)
            contrast(1.08)
            drop-shadow(0 0 20px rgba(255, 255, 255, 0.3))
            drop-shadow(0 0 52px rgba(185, 149, 224, 0.78));
    }
}

@keyframes apx-purple-glow-breathe {
    0%, 100% { opacity: 0.52; transform: scale(0.96); }
    50% { opacity: 0.72; transform: scale(1.06); }
}

@keyframes atom-nucleus-intro {
    0% { opacity: 0; transform: scale(0.72); filter: brightness(0.9); }
    64% { opacity: 1; transform: scale(1.04); filter: brightness(1.22); }
    100% { opacity: 1; transform: scale(1); filter: brightness(1); }
}

@keyframes atom-engine-intro-pulse {
    0% { opacity: 0; transform: scale(0.72); }
    42% { opacity: 1; transform: scale(1.18); }
    100% { opacity: 0.76; transform: scale(0.96); }
}

@keyframes atom-ring-intro {
    0% { opacity: 0; scale: 0.76; }
    100% { opacity: 1; scale: 1; }
}

@keyframes atom-point-intro {
    0% { opacity: 0; scale: 0.45; }
    100% { opacity: 1; scale: 1; }
}

@keyframes atom-label-intro {
    0% { opacity: 0; transform: translateY(8px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes atom-ring-drift {
    0%, 100% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(-4deg) scale(1.01); }
}

@keyframes atom-ring-drift-a {
    0%, 100% { transform: rotate(58deg) scaleX(0.62); }
    50% { transform: rotate(54deg) scaleX(0.64); }
}

@keyframes atom-ring-drift-b {
    0%, 100% { transform: rotate(-58deg) scaleX(0.62); }
    50% { transform: rotate(-54deg) scaleX(0.64); }
}

@media (max-width: 900px) {
    .goal-system-flow {
        grid-template-columns: 1fr;
    }

    .goal-system-arrow {
        width: 1px;
        height: 28px;
        justify-self: center;
        background: linear-gradient(180deg, rgba(255, 138, 120, 0.22), rgba(185, 149, 224, 0.76));
    }

    .goal-system-arrow::after {
        top: auto;
        right: 50%;
        bottom: 0;
        transform: translateX(50%) rotate(135deg);
    }

    .coach-video-panel {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .atom-nucleus::before,
    .atom-ring,
    .atom-point,
    .atom-point .electron,
    .atom-label {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Mobile containment lock: keep transformed landing visuals inside the viewport. */
@media (max-width: 720px) {
    html,
    body {
        max-width: 100%;
        overflow-x: hidden;
    }

    body:not(.legal-body) > main,
    body:not(.legal-body) > main > section,
    body:not(.legal-body) > main .container {
        max-width: 100%;
    }

    body:not(.legal-body) > main,
    body:not(.legal-body) > main > section {
        overflow-x: clip;
    }

    .hero-grid,
    .hero-copy,
    .hero-visual,
    .hero-atom,
    .atom-field,
    .student-stories,
    .student-carousel-stage,
    .solution-system,
    .solution-system__visual,
    .solution-system__orbit,
    .journey-system,
    .journey-path,
    .journey-detail-panel {
        min-width: 0;
        max-width: 100%;
    }

    .mobile-nav {
        display: flex;
        height: 100vh;
        height: 100dvh;
        max-height: 100vh;
        max-height: 100dvh;
        flex-direction: column;
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
        padding-bottom: max(22px, env(safe-area-inset-bottom));
    }

    .mobile-nav-head {
        z-index: 1;
        flex: 0 0 auto;
        background: var(--paper);
    }

    .mobile-nav-head .icon-button {
        display: grid;
        flex: 0 0 auto;
        place-items: center;
    }

    .mobile-nav-links {
        flex: 0 0 auto;
    }

    .mobile-access-actions {
        flex: 0 0 auto;
        margin-top: auto;
        padding-top: 12px;
    }

    .hero-proof,
    .hero-proof span {
        min-width: 0;
        max-width: 100%;
    }

    .hero-proof span {
        overflow-wrap: anywhere;
    }

    .student-carousel-stage .student-story {
        width: calc(100% - 8px);
        max-width: 520px;
    }

    .student-carousel-stage .story-content,
    .student-carousel-stage .story-frame,
    .student-card__media,
    .student-carousel-stage .evidence-visual {
        min-width: 0;
        max-width: 100%;
    }

    .students-carousel__controls {
        position: relative;
        margin-top: 56px;
    }

    .students-carousel__controls .student-arrow {
        width: 52px;
        height: 52px;
        min-width: 52px;
        min-height: 52px;
        flex-basis: 52px;
        aspect-ratio: 1 / 1;
        padding: 0;
        border-radius: 50%;
    }

    .solution-state-card,
    .journey-node.week-tab,
    .journey-detail-panel__head,
    .journey-detail-panel__body,
    .journey-detail-panel__body > div {
        min-width: 0;
        max-width: 100%;
    }

    .journey-detail-panel.week-detail,
    .journey-detail-panel__body.week-body {
        min-height: 0;
        height: auto;
    }

    .journey-node__title,
    .journey-detail-panel p {
        overflow-wrap: anywhere;
    }
}

@media (max-width: 480px) {
    .hero-grid {
        gap: 28px;
    }

    .hero-visual {
        width: 100%;
        padding-inline: 4px;
    }

    .atom-field {
        width: min(100%, 360px);
        min-height: 340px;
    }

    .atom-mindset,
    .atom-rhythm {
        right: 24%;
    }

    .atom-pronunciation {
        right: 20%;
    }

    .atom-confidence,
    .atom-speech {
        left: 24%;
    }

    .atom-reflection {
        left: 20%;
    }

    .atom-mindset .atom-label,
    .atom-pronunciation .atom-label,
    .atom-rhythm .atom-label {
        transform: translate(12px, -50%);
    }

    .atom-confidence .atom-label,
    .atom-reflection .atom-label,
    .atom-speech .atom-label {
        transform: translate(calc(-100% - 12px), -50%);
    }

    .student-carousel-stage {
        height: 710px;
    }

    .student-carousel-stage .student-story {
        top: 12px;
        min-height: 674px;
        gap: 16px;
        padding: 20px;
    }

    .student-carousel-stage .story-frame {
        min-height: 260px;
    }

    .solution-system__visual {
        min-height: 360px;
    }

    .solution-system__orbit {
        width: calc(100% - 12px);
    }

    .solution-system__node.node-train {
        right: 0;
    }

    .solution-system__node.node-improve {
        left: 0;
    }

    .journey-path.week-tabs {
        padding-inline: 14px;
    }

    .journey-node.week-tab {
        grid-template-columns: 38px minmax(58px, auto) minmax(0, 1fr);
        gap: 9px;
    }
}
/* F8H-L1: Our Solution kinetic rescue. Keep motion transform-only and remove green cast. */
.solution-system__visual {
    transform: translate3d(0, 12px, 0);
    backface-visibility: hidden;
}

.solution-system.is-solution-active .solution-system__visual,
.solution-system.is-aligned .solution-system__visual {
    transform: translate3d(0, 0, 0);
}

.solution-system__orbit,
.solution-system__halo,
.solution-system__nucleus,
.solution-system__starburst,
.solution-system__starburst::before,
.solution-system__starburst img,
.solution-system__ring {
    backface-visibility: hidden;
    transform-style: preserve-3d;
}

.solution-system__halo {
    background:
        radial-gradient(circle, rgba(217, 183, 255, 0.3), rgba(157, 108, 255, 0.12) 42%, rgba(58, 20, 63, 0.08) 62%, transparent 74%);
    filter: none;
    will-change: opacity, transform;
    animation: solution-halo-breathe 7.6s ease-in-out infinite;
}

.solution-system__nucleus,
.solution-system.is-solution-active .solution-system__nucleus,
.solution-system.is-aligned .solution-system__nucleus {
    background:
        radial-gradient(circle at 50% 43%, rgba(255, 250, 242, 0.14) 0 16%, rgba(217, 183, 255, 0.16) 28%, rgba(27, 11, 37, 0.98) 64%, rgba(5, 3, 9, 0.98) 100%);
    border-color: rgba(217, 183, 255, 0.34);
    box-shadow:
        inset 0 0 32px rgba(217, 183, 255, 0.12),
        0 0 0 18px rgba(157, 108, 255, 0.08),
        0 0 78px rgba(157, 108, 255, 0.18),
        0 28px 82px rgba(0, 0, 0, 0.46);
    will-change: transform;
    animation: solution-nucleus-breathe 7.6s ease-in-out infinite;
}

.solution-system__starburst,
.solution-system.is-solution-active .solution-system__starburst,
.solution-system.is-aligned .solution-system__starburst,
.solution-system.is-visible .solution-system__starburst {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: none;
    will-change: opacity, transform;
    animation: solution-starburst-breathe 5.8s ease-in-out infinite;
}

.solution-system__starburst::before {
    inset: -38px;
    background:
        radial-gradient(circle, rgba(255, 250, 242, 0.56) 0 10%, rgba(217, 183, 255, 0.38) 24%, rgba(157, 108, 255, 0.22) 46%, rgba(58, 20, 63, 0.16) 66%, transparent 78%);
    opacity: 0.86;
    filter: none;
    will-change: opacity, transform;
    animation: solution-aura-breathe 5.8s ease-in-out infinite;
}

.solution-system__starburst img {
    transform: translate3d(0, 0, 0);
    filter:
        invert(1)
        brightness(1.82)
        contrast(1.04)
        drop-shadow(0 0 10px rgba(255, 250, 242, 0.5))
        drop-shadow(0 0 24px rgba(217, 183, 255, 0.62))
        drop-shadow(0 0 46px rgba(157, 108, 255, 0.42));
    opacity: 0.98;
    animation: none !important;
    will-change: auto;
}

.solution-system__ring {
    will-change: opacity, transform;
}

.solution-system__node.node-train::before,
.solution-system__node.node-improve::before {
    background: #d9b7ff;
    box-shadow: 0 0 0 7px rgba(217, 183, 255, 0.13), 0 0 22px rgba(157, 108, 255, 0.32);
}

.solution-system__node:hover .solution-system__node-label,
.solution-system__node:focus-visible .solution-system__node-label,
.solution-system__node.is-active .solution-system__node-label {
    border-color: rgba(217, 183, 255, 0.74);
    background: rgba(58, 20, 63, 0.58);
    box-shadow: 0 0 26px rgba(217, 183, 255, 0.18), 0 16px 38px rgba(27, 11, 37, 0.28);
}

.solution-system__node.is-active::before {
    border-color: #fffaf2;
    box-shadow: 0 0 0 9px rgba(217, 183, 255, 0.14), 0 0 30px rgba(157, 108, 255, 0.42);
}

.solution-system.node-focus-notice .solution-system__ring--outer,
.solution-system.node-focus-improve .solution-system__ring--outer,
.solution-system.node-focus-train .solution-system__ring--middle,
.solution-system.node-focus-speak .solution-system__ring--inner {
    border-color: rgba(217, 183, 255, 0.58);
    box-shadow: 0 0 34px rgba(157, 108, 255, 0.16);
}

@keyframes solution-starburst-breathe {
    0%, 100% {
        opacity: 0.9;
        transform: translate3d(0, 0, 0) scale(0.965);
    }
    50% {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1.075);
    }
}

@keyframes solution-aura-breathe {
    0%, 100% {
        opacity: 0.62;
        transform: translate3d(0, 0, 0) scale(0.94);
    }
    50% {
        opacity: 0.98;
        transform: translate3d(0, 0, 0) scale(1.12);
    }
}

@keyframes solution-halo-breathe {
    0%, 100% {
        opacity: 0.52;
        transform: translate3d(0, 0, 0) scale(0.98);
    }
    50% {
        opacity: 0.86;
        transform: translate3d(0, 0, 0) scale(1.045);
    }
}

@keyframes solution-nucleus-breathe {
    0%, 100% { transform: translate3d(0, 0, 0) scale(0.992); }
    50% { transform: translate3d(0, 0, 0) scale(1.018); }
}

@media (prefers-reduced-motion: reduce) {
.solution-system__halo,
.solution-system__nucleus,
.solution-system__starburst,
.solution-system__starburst::before {
        animation: none !important;
        transform: none !important;
        will-change: auto !important;
    }
}

/* F8H-3-R2: persistent APX state selection and hero star sync. */
.solution-system {
    --solution-power: 0;
}

.solution-system[data-solution-intensity="1"] { --solution-power: .28; }
.solution-system[data-solution-intensity="2"] { --solution-power: .52; }
.solution-system[data-solution-intensity="3"] { --solution-power: .76; }
.solution-system[data-solution-intensity="4"] { --solution-power: 1; }

.solution-system:not([data-solution-intensity]),
.solution-system[data-solution-intensity="0"] {
    --solution-power: 0;
}

.solution-system[data-solution-intensity="0"] .solution-system__halo,
.solution-system:not([data-solution-intensity]) .solution-system__halo {
    opacity: .42;
}

.solution-system[data-solution-intensity="0"] .solution-system__ring,
.solution-system:not([data-solution-intensity]) .solution-system__ring {
    opacity: .48;
    box-shadow: 0 0 18px rgba(185, 149, 224, 0.04);
}

.solution-system[data-solution-intensity="1"] .solution-system__halo { opacity: .58; }
.solution-system[data-solution-intensity="2"] .solution-system__halo { opacity: .72; }
.solution-system[data-solution-intensity="3"] .solution-system__halo { opacity: .86; }
.solution-system[data-solution-intensity="4"] .solution-system__halo { opacity: 1; }

.solution-system[data-solution-intensity="1"] .solution-system__ring {
    border-color: rgba(217, 183, 255, .24);
    box-shadow: 0 0 20px rgba(157, 108, 255, .08);
}
.solution-system[data-solution-intensity="2"] .solution-system__ring {
    border-color: rgba(217, 183, 255, .36);
    box-shadow: 0 0 28px rgba(157, 108, 255, .12);
}
.solution-system[data-solution-intensity="3"] .solution-system__ring {
    border-color: rgba(217, 183, 255, .48);
    box-shadow: 0 0 36px rgba(157, 108, 255, .16);
}
.solution-system[data-solution-intensity="4"] .solution-system__ring {
    border-color: rgba(255, 250, 242, .5);
    box-shadow: 0 0 46px rgba(217, 183, 255, .2), 0 0 78px rgba(157, 108, 255, .14);
}

.solution-system[data-solution-intensity="0"] .solution-system__starburst,
.solution-system:not([data-solution-intensity]) .solution-system__starburst {
    opacity: .52;
    transform: translate3d(0, 0, 0) scale(.88);
}

.solution-system[data-solution-intensity="1"] .solution-system__starburst { opacity: .72; }
.solution-system[data-solution-intensity="2"] .solution-system__starburst { opacity: .84; }
.solution-system[data-solution-intensity="3"] .solution-system__starburst { opacity: .94; }
.solution-system[data-solution-intensity="4"] .solution-system__starburst { opacity: 1; }

.solution-system__node.node-notice::before,
.solution-system__node.node-train::before,
.solution-system__node.node-speak::before,
.solution-system__node.node-improve::before {
    background: #d9b7ff;
    box-shadow: 0 0 0 7px rgba(217, 183, 255, 0.13), 0 0 22px rgba(157, 108, 255, 0.32);
}

.solution-state-card-row {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: min(100%, 980px);
    gap: 14px;
    justify-self: center;
    align-items: stretch;
    margin-top: 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.solution-state-card-row[hidden],
.solution-node-panel__default[hidden] {
    display: none !important;
}

.solution-state-mini-card {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 176px;
    flex-direction: column;
    padding: 17px 16px 18px;
    border: 1px solid rgba(217, 183, 255, .2);
    border-radius: 8px;
    background:
        radial-gradient(circle at 18% 0%, rgba(217, 183, 255, .12), transparent 46%),
        linear-gradient(145deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .018)),
        rgba(13, 9, 18, .72);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 18px 38px rgba(0, 0, 0, .24);
    overflow: hidden;
    animation: solution-card-rise 520ms cubic-bezier(.2, .74, .24, 1) both;
    will-change: opacity, transform, filter;
}

.solution-state-mini-card:nth-child(2) { animation-delay: 55ms; }
.solution-state-mini-card:nth-child(3) { animation-delay: 110ms; }
.solution-state-mini-card:nth-child(4) { animation-delay: 165ms; }

.solution-state-mini-card--improve {
    border-color: rgba(217, 183, 255, .48);
    background:
        radial-gradient(circle at 22% 0%, rgba(217, 183, 255, .2), transparent 48%),
        radial-gradient(circle at 84% 100%, rgba(157, 108, 255, .14), transparent 42%),
        linear-gradient(145deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .022)),
        rgba(16, 9, 24, .8);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 0 30px rgba(217, 183, 255, .14), 0 18px 42px rgba(0, 0, 0, .28);
}

.solution-state-mini-card .solution-node-panel__kicker {
    margin-bottom: 9px;
    color: #d9b7ff;
}

.solution-state-mini-card h3 {
    margin: 0 0 12px;
    color: #fffaf2;
    font-family: "Fraunces", serif;
    font-size: 18px;
    line-height: 1.12;
}

.solution-state-mini-card ul {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.solution-state-mini-card li {
    display: flex;
    gap: 8px;
    color: rgba(250, 248, 242, .75);
    font-size: 12px;
    line-height: 1.38;
}

.solution-state-mini-card li::before {
    content: "";
    width: 6px;
    height: 6px;
    flex: 0 0 auto;
    margin-top: 5px;
    border-radius: 50%;
    background: rgba(217, 183, 255, .86);
    box-shadow: 0 0 14px rgba(217, 183, 255, .34);
}

@keyframes solution-card-rise {
    0% {
        opacity: 0;
        transform: translate3d(0, 14px, 0);
        filter: blur(5px);
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0);
        filter: blur(0);
    }
}

.solution-system__node:hover .solution-system__node-label,
.solution-system__node:focus-visible .solution-system__node-label,
.solution-system__node.is-active .solution-system__node-label {
    border-color: rgba(217, 183, 255, .76);
    background: rgba(58, 20, 63, .62);
    color: #fffaf2;
    box-shadow: 0 0 26px rgba(217, 183, 255, .2), 0 16px 38px rgba(27, 11, 37, .28);
}

.solution-system__node.is-active::before {
    border-color: #fffaf2;
    background: #fffaf2;
    box-shadow: 0 0 0 9px rgba(217, 183, 255, .16), 0 0 30px rgba(157, 108, 255, .44);
}

/* F8H-3-R3: isolate the APX state visual and render selected states as standalone cards. */
.solution-section .solution-system {
    grid-template-areas:
        "problem visual apx"
        "cards cards cards";
    align-items: start;
}

.solution-section .solution-state-card--problem {
    grid-area: problem;
}

.solution-section .solution-system__visual {
    grid-area: visual;
}

.solution-section .solution-state-card--apx {
    grid-area: apx;
}

.solution-section .solution-state-card-row {
    grid-area: cards;
}

.solution-section .solution-system__visual {
    position: relative;
    top: auto;
    width: min(100%, 780px);
    min-height: auto;
    justify-self: center;
    align-content: center;
    gap: 24px;
}

.solution-section .solution-system__orbit {
    width: clamp(340px, 34vw, 480px);
    max-width: 100%;
}

.solution-section .solution-system__halo {
    inset: 16%;
}

.solution-section .solution-system__ring--outer {
    inset: 8%;
}

.solution-section .solution-system__ring--middle {
    inset: 20%;
}

.solution-section .solution-system__ring--inner {
    inset: 32%;
    border-color: rgba(217, 183, 255, .18);
}

.solution-section .solution-system__nucleus,
.solution-section .solution-system.is-solution-active .solution-system__nucleus,
.solution-section .solution-system.is-aligned .solution-system__nucleus {
    width: clamp(132px, 11vw, 158px);
    height: clamp(132px, 11vw, 158px);
}

.solution-section .solution-node-panel {
    width: min(100%, 420px);
    margin-top: 0;
}

.hero-atom .atom-field {
    position: relative;
    display: grid;
    aspect-ratio: 1 / 1;
    width: min(100%, 620px);
    min-height: 520px;
    margin-inline: auto;
    place-items: center;
    overflow: visible;
    padding: 0;
    border: 0;
    appearance: none;
    -webkit-appearance: none;
    background: transparent;
    color: inherit;
    cursor: pointer;
    font: inherit;
}

.hero-atom .atom-field:focus-visible {
    outline: 2px solid rgba(217, 183, 255, .78);
    outline-offset: 10px;
    border-radius: 50%;
}

.hero-atom .atom-field .atom-ring::after {
    background: linear-gradient(90deg, transparent 0 38%, rgba(217, 183, 255, .24), transparent 62% 100%);
}

.hero-atom .atom-field .atom-glow {
    background:
        radial-gradient(circle, rgba(255, 250, 242, .18) 0 10%, rgba(217, 183, 255, .32) 28%, rgba(157, 108, 255, .14) 48%, rgba(58, 20, 63, .08) 66%, transparent 76%);
}

.hero-atom .atom-field .atom-nucleus {
    isolation: isolate;
    background:
        radial-gradient(circle at 50% 43%, rgba(255, 250, 242, .14) 0 15%, rgba(217, 183, 255, .18) 30%, rgba(58, 20, 63, .32) 58%, rgba(58, 20, 63, .12) 74%, transparent 100%);
    border-color: rgba(217, 183, 255, .34);
}

.hero-atom .atom-field .atom-nucleus::before {
    z-index: -1;
}

.hero-atom .atom-field .atom-nucleus::after {
    content: "";
    position: absolute;
    inset: 22%;
    z-index: 1;
    border-radius: 50%;
    background:
        radial-gradient(circle at 50% 45%, rgba(217, 183, 255, .12), rgba(58, 20, 63, .1) 68%, transparent 100%);
    box-shadow: none;
    pointer-events: none;
}

.hero-atom .atom-field .atom-nucleus img {
    position: relative;
    z-index: 3;
    filter:
        invert(1)
        brightness(1.74)
        contrast(1.04)
        drop-shadow(0 0 8px rgba(255, 250, 242, .48))
        drop-shadow(0 0 18px rgba(217, 183, 255, .46));
}

/* F8H-L2: calm Solution selection and hero-only powered star toggle. */
.hero.hero-motion-ready .hero-copy,
.hero.hero-motion-ready .hero-atom {
    opacity: 0;
    transition: opacity 720ms ease, transform 720ms cubic-bezier(.2, .74, .24, 1), scale 720ms cubic-bezier(.2, .74, .24, 1);
    will-change: opacity, transform, scale;
}

.hero.hero-motion-ready .hero-copy {
    transform: translate3d(-24px, 18px, 0);
}

.hero.hero-motion-ready .hero-atom {
    transform: translate3d(24px, 18px, 0);
    scale: .965;
}

.hero.hero-motion-ready.hero-in-view .hero-copy,
.hero.hero-motion-ready.hero-in-view .hero-atom {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    scale: 1;
}

.hero.hero-motion-ready .hero-atom .atom-point {
    transition: opacity 620ms ease, transform 620ms cubic-bezier(.2, .74, .24, 1), scale 620ms cubic-bezier(.2, .74, .24, 1);
}

.hero.hero-motion-ready:not(.hero-in-view) .hero-atom .atom-point {
    opacity: .28;
    scale: .88;
}

.hero-atom.is-powered .atom-field .atom-nucleus {
    background:
        radial-gradient(circle at 50% 45%, rgba(42, 15, 53, .48) 0 28%, #050207 74%);
    border-color: rgba(217, 183, 255, .46);
    box-shadow:
        inset 0 0 38px rgba(217, 183, 255, .16),
        0 0 0 18px rgba(157, 108, 255, .1),
        0 0 88px rgba(217, 183, 255, .28),
        0 28px 80px rgba(0, 0, 0, .42);
    animation: hero-powered-nucleus-breathe 6s ease-in-out infinite;
}

.hero-atom.is-powered .atom-field .atom-nucleus::before {
    z-index: -1;
    background:
        radial-gradient(circle, transparent 0 18%, rgba(246, 214, 138, .12) 28%, rgba(217, 183, 255, .24) 46%, rgba(157, 108, 255, .14) 64%, transparent 78%);
    animation: hero-powered-aura-breathe 6s ease-in-out infinite;
}

.hero-atom.is-powered .atom-field .atom-nucleus::after {
    inset: 16%;
    opacity: 0;
    background:
        radial-gradient(circle at 50% 44%, rgba(42, 15, 53, .94) 0 24%, #050207 74%);
    box-shadow:
        inset 0 0 18px rgba(0, 0, 0, .72),
        0 0 12px rgba(42, 15, 53, .34);
}

.hero-atom.is-powered .atom-field .atom-nucleus img {
    filter:
        invert(1)
        brightness(1.92)
        contrast(1.16)
        drop-shadow(0 0 6px rgba(255, 250, 242, .68))
        drop-shadow(0 0 13px rgba(217, 183, 255, .46));
    animation: hero-powered-star-breathe 6s ease-in-out infinite;
}

.hero-atom.is-powered .atom-field .atom-glow {
    opacity: 1;
    background:
        radial-gradient(circle, rgba(255, 250, 242, .22) 0 10%, rgba(246, 214, 138, .13) 24%, rgba(217, 183, 255, .32) 42%, rgba(157, 108, 255, .16) 58%, transparent 76%);
}

.hero-atom.is-powered .atom-field .atom-ring {
    border-color: rgba(246, 214, 138, .28);
    box-shadow: 0 0 28px rgba(214, 168, 79, .12), 0 0 42px rgba(217, 183, 255, .08);
}

.hero-atom.is-powered .atom-field .atom-label {
    border-color: rgba(246, 214, 138, .58);
    background:
        linear-gradient(145deg, rgba(246, 214, 138, .2), rgba(58, 20, 63, .38)),
        rgba(12, 7, 16, .9);
    color: #fffaf2;
    box-shadow:
        inset 0 1px 0 rgba(255, 250, 242, .16),
        0 0 22px rgba(214, 168, 79, .26),
        0 10px 28px rgba(0, 0, 0, .24);
}

.hero-atom.is-powered .atom-field .electron {
    border-color: rgba(255, 250, 242, .88);
    background: linear-gradient(135deg, #fffaf2, #f6d68a 54%, #d6a84f);
    box-shadow: 0 0 0 7px rgba(246, 214, 138, .14), 0 0 28px rgba(214, 168, 79, .34);
}

@keyframes hero-powered-star-breathe {
    0%, 100% {
        transform: scale(1.02);
        filter: invert(1) brightness(1.88) contrast(1.14) drop-shadow(0 0 5px rgba(255, 250, 242, .62)) drop-shadow(0 0 11px rgba(217, 183, 255, .42));
    }
    50% {
        transform: scale(1.07);
        filter: invert(1) brightness(1.98) contrast(1.16) drop-shadow(0 0 7px rgba(255, 250, 242, .72)) drop-shadow(0 0 14px rgba(217, 183, 255, .48));
    }
}

@keyframes hero-powered-aura-breathe {
    0%, 100% { opacity: .72; transform: scale(.96); }
    50% { opacity: 1; transform: scale(1.16); }
}

@keyframes hero-powered-nucleus-breathe {
    0%, 100% { transform: scale(.995); }
    50% { transform: scale(1.025); }
}

@media (max-width: 1180px) {
    .solution-section .solution-system {
        grid-template-areas:
            "problem"
            "visual"
            "cards"
            "apx";
    }

    .solution-state-card-row {
        order: 3;
    }

    .solution-state-card--apx {
        order: 4;
    }
}

@media (max-width: 900px) {
    .solution-state-card-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .solution-state-card-row {
        grid-template-columns: 1fr;
    }

    .solution-section .solution-system__orbit {
        width: min(100%, 360px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero.hero-motion-ready .hero-copy,
    .hero.hero-motion-ready .hero-atom,
    .hero.hero-motion-ready .hero-atom .atom-point {
        opacity: 1 !important;
        transform: none !important;
        scale: 1 !important;
        transition: none !important;
        will-change: auto !important;
    }

    .hero-atom .atom-field .atom-glow,
    .hero-atom .atom-field .atom-ring,
    .hero-atom .atom-field .atom-nucleus,
    .hero-atom .atom-field .atom-nucleus::before,
    .hero-atom .atom-field .atom-point,
    .hero-atom .atom-field .atom-nucleus img {
        animation: none !important;
        will-change: auto !important;
    }
}

/* Compact authenticated account actions. */
.nav-account-actions { display:flex; align-items:center; gap:.5rem; white-space:nowrap; }
.nav-account-primary,.nav-account-secondary { display:inline-flex; min-height:44px; align-items:center; justify-content:center; border-radius:999px; font:700 .75rem/1 Lexend,sans-serif; letter-spacing:.01em; text-decoration:none; appearance:none; -webkit-appearance:none; transition:transform 180ms ease,border-color 180ms ease,box-shadow 180ms ease,background-color 180ms ease; }
.nav-account-primary { gap:.35rem; padding:.68rem 1rem; border:1px solid rgba(185,149,224,.4); background:linear-gradient(145deg,rgba(47,29,56,.96),rgba(20,13,25,.96)); color:#fff; box-shadow:inset 0 1px 0 rgba(255,255,255,.09),0 8px 22px rgba(42,17,68,.24),0 0 18px rgba(126,93,167,.1); }
.nav-account-primary span { transition:transform .2s ease; }
.nav-account-primary:hover { transform:translateY(-2px); border-color:rgba(210,178,232,.7); box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 12px 28px rgba(42,17,68,.32),0 0 24px rgba(126,93,167,.18); }
.nav-account-primary:focus-visible { outline:2px solid var(--focus); outline-offset:3px; box-shadow:0 0 0 5px var(--violet-soft),0 12px 28px rgba(42,17,68,.28); }
.nav-account-primary:active { transform:translateY(0); }
.nav-account-primary:hover span,.nav-account-primary:focus-visible span { transform:translateX(3px); }
.nav-account-logout { margin:0; }
.nav-account-secondary { min-height:38px; padding:.52rem .76rem; border:1px solid rgba(185,149,224,.2); background:rgba(28,18,33,.34); color:var(--muted); cursor:pointer; }
.nav-account-secondary:hover { transform:translateY(-1px); border-color:rgba(185,149,224,.5); color:var(--ink); box-shadow:0 8px 18px rgba(42,17,68,.15); }
.nav-account-secondary:focus-visible { outline:2px solid var(--focus); outline-offset:3px; border-color:rgba(185,149,224,.55); }
.nav-account-secondary:active { transform:translateY(0); }
.mobile-account-logout { display:grid; margin:0; }
.mobile-account-logout .button { width:100%; }
@media (max-width:1180px) { .nav-account-actions { display:none; } }
/* Login conveniences and private-beta reset stub. */
.auth-login-options { display:flex; align-items:center; justify-content:space-between; gap:1rem; margin-top:-.2rem; font-size:.78rem; }
.auth-remember { display:inline-flex; align-items:center; gap:.5rem; color:var(--muted); cursor:pointer; }
.auth-remember input { width:1rem; height:1rem; accent-color:var(--violet); }
.auth-forgot-trigger,.auth-reset-back { border:0; background:transparent; color:var(--violet); font:700 .78rem/1.2 Lexend,sans-serif; cursor:pointer; }
.auth-forgot-trigger:hover,.auth-reset-back:hover { color:var(--coral); }
.auth-forgot-trigger:focus-visible,.auth-reset-back:focus-visible { outline:2px solid var(--focus); outline-offset:3px; border-radius:.25rem; }
.auth-reset-panel { display:grid; gap:1rem; margin-top:24px; padding:0; border:0; background:transparent; }
.auth-reset-panel[hidden] { display:none; }
.auth-reset-panel h3 { margin:0; font-family:Fraunces,serif; font-size:1.35rem; }
.auth-reset-panel p { margin:0; color:var(--muted); line-height:1.55; }
.auth-reset-panel form { display:grid; gap:.85rem; }
.auth-reset-panel .button { width:100%; }

.password-reset-page {
  --paper: #171116;
  --paper-soft: #211821;
  --surface: #201821;
  --ink: #fff8ee;
  --muted: #d9cabe;
  --line: rgba(250, 248, 242, 0.18);
  --violet: #b995e0;
  --violet-soft: rgba(185, 149, 224, 0.18);
  --coral: #ff7a6f;
  --focus: #d5eebb;
  min-height: 100vh;
  margin: 0;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 2rem);
  background:
    radial-gradient(circle at 50% 8%, rgba(126, 93, 167, .22), transparent 34rem),
    radial-gradient(circle at 18% 88%, rgba(241, 92, 74, .12), transparent 28rem),
    linear-gradient(145deg, #0b0710 0%, #17101d 52%, #09070c 100%);
  color: #fff8ee;
  font-family: "Lexend", sans-serif;
  overflow-x: hidden;
}
.password-reset-shell { width: min(100%, 34rem); }
.password-reset-brand {
  display: grid;
  justify-items: center;
  gap: .55rem;
  margin-bottom: 1rem;
  color: #fff8ee;
  text-align: center;
  text-decoration: none;
  letter-spacing: .08em;
  font: 800 .78rem/1.2 Lexend, sans-serif;
}
.password-reset-brand img {
  width: 3.1rem;
  height: 3.1rem;
  object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(185, 149, 224, .36));
  opacity: .9;
}
.password-reset-card {
  position: relative;
  overflow: hidden;
  padding: clamp(1.45rem, 5vw, 2.25rem);
  border: 1px solid rgba(185, 149, 224, .22);
  border-radius: 1.5rem;
  background:
    linear-gradient(145deg, rgba(126, 93, 167, .15), rgba(241, 92, 74, .035) 42%, rgba(16, 10, 21, .94)),
    rgba(18, 12, 24, .9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 24px 70px rgba(0, 0, 0, .42);
  backdrop-filter: blur(16px);
}
.password-reset-card .eyebrow {
  color: #d5eebb;
}
.password-reset-card::before {
  content: "";
  position: absolute;
  inset: -35% -18% auto auto;
  width: 15rem;
  height: 15rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(185, 149, 224, .16), transparent 62%);
  pointer-events: none;
}
.password-reset-card > * { position: relative; z-index: 1; }
.password-reset-card h1 { margin: .35rem 0 .65rem; color: #fff8ee; font-family: Fraunces, serif; font-size: clamp(2rem, 8vw, 2.75rem); line-height: 1.02; }
.password-reset-copy { margin: 0 0 1.25rem; color: rgba(248, 239, 222, .76); line-height: 1.6; }
.password-reset-card form { display: grid; gap: 1rem; }
.password-reset-card .button { width: 100%; margin-top: .35rem; background: #ff7a6f; color: #ffffff; box-shadow: 0 12px 28px rgba(247, 88, 76, .28); }
.password-reset-card .button:hover { box-shadow: 0 14px 32px rgba(247, 88, 76, .36); }
.password-reset-card .button:focus-visible { outline: 2px solid #d5eebb; outline-offset: 4px; box-shadow: 0 0 0 5px rgba(185, 149, 224, .2), 0 14px 32px rgba(247, 88, 76, .34); }
.password-reset-card .auth-status { margin-bottom: 1rem; background: rgba(33, 24, 33, .95); color: rgba(248, 239, 222, .84); }
.password-reset-card .auth-field label { color: rgba(248, 239, 222, .78); }
.password-reset-card .auth-field input {
  border-color: rgba(185, 149, 224, .24);
  background: rgba(10, 7, 13, .76);
  color: #fff8ee;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}
.password-reset-card .auth-password-toggle {
  border-color: rgba(185, 149, 224, .3);
  background: rgba(185, 149, 224, .13);
  color: #d9cabe;
}
.password-reset-card .auth-password-toggle:hover,
.password-reset-card .auth-password-toggle:focus-visible {
  border-color: rgba(255, 122, 111, .62);
  background: rgba(255, 122, 111, .14);
  color: #ffffff;
  box-shadow: 0 0 0 3px rgba(185, 149, 224, .18);
}
.password-reset-card .auth-password-toggle.is-visible {
  border-color: rgba(185, 149, 224, .72);
  background: rgba(185, 149, 224, .18);
  color: #ffffff;
  box-shadow: 0 0 0 3px rgba(185, 149, 224, .2), 0 0 20px rgba(185, 149, 224, .16);
}
.password-reset-card .auth-strength-bar { background: rgba(248, 239, 222, .12); }
.password-reset-card .auth-strength-text { color: rgba(248, 239, 222, .72); }
.password-reset-card .auth-field input::placeholder { color: rgba(248, 239, 222, .42); }
.password-reset-card .auth-field input:hover,
.password-reset-card .auth-field input:focus {
  border-color: rgba(185, 149, 224, .7);
  background: rgba(15, 10, 20, .86);
  box-shadow: 0 0 0 3px rgba(126, 93, 167, .18), 0 0 22px rgba(126, 93, 167, .12);
}
.password-reset-secondary {
  display: block;
  margin-top: 1rem;
  color: #b995e0;
  font: 800 .82rem/1.2 Lexend, sans-serif;
  text-align: center;
  text-decoration: none;
}
.password-reset-secondary:hover { color: #ff7a6f; }
.password-reset-secondary:focus-visible { outline: 2px solid #d5eebb; outline-offset: 4px; border-radius: .35rem; }
@media (max-width: 520px) {
  .password-reset-card { border-radius: 1.15rem; }
  .password-reset-brand img { width: 2.65rem; height: 2.65rem; }
}

/* F8H-L2-R4: hero powered center failsafe overlay. */
.hero-powered-core {
    position: absolute;
    inset: 50% auto auto 50%;
    z-index: 40;
    display: grid;
    width: 156px;
    height: 156px;
    place-items: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: opacity 220ms ease, visibility 220ms ease;
}

.hero-atom.is-powered .hero-powered-core {
    opacity: 1;
    visibility: visible;
}

.hero-powered-core__orb {
    position: relative;
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    border: 1px solid rgba(217, 183, 255, .32);
    border-radius: 50%;
    background:
        radial-gradient(circle at 50% 44%, #050207 0 38%, rgba(5, 2, 7, .88) 50%, rgba(42, 15, 53, .48) 68%, rgba(58, 20, 63, .16) 82%, transparent 100%);
    box-shadow:
        inset 0 0 30px rgba(0, 0, 0, .76),
        inset 0 0 28px rgba(217, 183, 255, .1),
        0 0 0 16px rgba(157, 108, 255, .07),
        0 0 64px rgba(217, 183, 255, .24),
        0 0 84px rgba(246, 214, 138, .08),
        0 28px 80px rgba(0, 0, 0, .48);
    animation: hero-powered-core-breathe 6s ease-in-out infinite;
}

.hero-powered-core__orb::before {
    content: "";
    position: absolute;
    inset: -38px;
    z-index: -1;
    border-radius: 50%;
    background:
        radial-gradient(circle, transparent 0 32%, rgba(217, 183, 255, .2) 46%, rgba(157, 108, 255, .12) 62%, rgba(246, 214, 138, .08) 74%, transparent 86%);
    filter: none;
    animation: hero-powered-core-aura 6s ease-in-out infinite;
}

.hero-powered-core__orb img {
    position: relative;
    z-index: 2;
    width: 88px;
    height: 88px;
    object-fit: contain;
    filter:
        invert(1)
        brightness(1.92)
        contrast(1.16)
        drop-shadow(0 0 7px rgba(255, 250, 242, .7))
        drop-shadow(0 0 16px rgba(217, 183, 255, .52));
    animation: hero-powered-core-star 6s ease-in-out infinite;
}

@keyframes hero-powered-core-breathe {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.025); }
}

@keyframes hero-powered-core-aura {
    0%, 100% { opacity: .7; transform: scale(.96); }
    50% { opacity: 1; transform: scale(1.12); }
}

@keyframes hero-powered-core-star {
    0%, 100% { transform: scale(1.02); }
    50% { transform: scale(1.07); }
}

@media (max-width: 720px) {
    .hero-powered-core {
        width: 120px;
        height: 120px;
    }

    .hero-powered-core__orb img {
        width: 68px;
        height: 68px;
    }
}

@media (max-width: 480px) {
    .hero-powered-core {
        width: 104px;
        height: 104px;
    }

    .hero-powered-core__orb img {
        width: 58px;
        height: 58px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .solution-state-mini-card {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
    }

    .hero-powered-core__orb,
    .hero-powered-core__orb::before,
    .hero-powered-core__orb img {
        animation: none !important;
    }
}
