/*
 * OptiVault home — premium light theme and motion layer.
 * Loaded after home.css so the existing layout remains the structural fallback.
 */

:root {
    --bg: #fafbf7;
    --bg-soft: #f1f4ec;
    --surface: #ffffff;
    --surface-strong: #ffffff;
    --surface-lime: #f1f8dd;
    --text: #11140f;
    --muted: #687064;
    --muted-strong: #384035;
    --lime: #c8f34a;
    --lime-soft: #d8fa7e;
    --accent-text: #426500;
    --accent-ink: #11150d;
    --blue: #4456ae;
    --border: rgba(24, 32, 19, 0.11);
    --border-strong: rgba(24, 32, 19, 0.19);
    --border-lime: rgba(67, 101, 0, 0.25);
    --shadow: 0 28px 80px rgba(30, 40, 24, 0.12), 0 3px 12px rgba(30, 40, 24, 0.05);
}

html {
    color-scheme: light;
    background: var(--bg);
}

body {
    color: var(--text);
    background:
        radial-gradient(circle at 50% -8%, rgba(200, 243, 74, 0.1), transparent 31rem),
        linear-gradient(180deg, #fcfdf9 0%, var(--bg) 42%, #f7f9f3 100%);
}

::selection {
    color: var(--accent-ink);
    background: var(--lime);
}

:where(a, button):focus-visible {
    outline: 2px solid rgba(57, 87, 0, 0.62);
    outline-offset: 2px;
}

.skip-link {
    color: var(--accent-ink);
    background: var(--lime);
    box-shadow: 0 8px 24px rgba(49, 72, 15, 0.18);
}

.page-grid {
    z-index: 0;
    opacity: 0.42;
    background-image:
        linear-gradient(rgba(24, 32, 19, 0.028) 1px, transparent 1px),
        linear-gradient(90deg, rgba(24, 32, 19, 0.028) 1px, transparent 1px);
    background-size: 84px 84px;
    mask-image: linear-gradient(to bottom, black, transparent 48%);
}

.noise-overlay {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.022;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.92' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.72'/%3E%3C/svg%3E");
}

.cursor-glow {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 0;
    width: 430px;
    height: 430px;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
    background: radial-gradient(circle, rgba(197, 242, 61, 0.075) 0%, rgba(197, 242, 61, 0.025) 38%, transparent 70%);
    transform: translate3d(calc(var(--cursor-x, -500px) - 50%), calc(var(--cursor-y, -500px) - 50%), 0);
    transition: opacity 360ms ease;
}

.cursor-glow.visible {
    opacity: 1;
}

.ambient-glow {
    z-index: 0;
    width: 30rem;
    height: 30rem;
    opacity: 0.2;
    filter: blur(115px);
    transform: translate3d(0, var(--parallax-y, 0), 0);
    transition: transform 80ms linear;
}

.ambient-glow-left {
    top: 8rem;
    left: -19rem;
    background: #c8f34a;
}

.ambient-glow-right {
    top: 43%;
    right: -20rem;
    background: #b8c5ff;
}

.scroll-progress {
    height: 3px;
    background: linear-gradient(90deg, #4d7200, var(--lime), #5e76d8);
    box-shadow: 0 1px 9px rgba(93, 130, 18, 0.2);
}

/* Navigation */

.site-header {
    top: 16px;
}

.site-nav {
    border-color: rgba(24, 32, 19, 0.1);
    background: rgba(255, 255, 252, 0.96);
    box-shadow: 0 10px 36px rgba(35, 45, 29, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9);
    backdrop-filter: none;
    transition:
        background 220ms ease,
        border-color 220ms ease,
        box-shadow 220ms ease,
        transform 220ms ease;
}

.site-header.scrolled .site-nav {
    border-color: rgba(24, 32, 19, 0.15);
    background: rgba(255, 255, 252, 0.94);
    box-shadow: 0 18px 52px rgba(35, 45, 29, 0.12), inset 0 1px 0 #fff;
    transform: translateY(-2px);
}

.brand {
    color: var(--text);
}

.brand img,
.advisor-mark img,
.small-logo img,
.message-avatar img {
    filter: none;
}

.nav-links a {
    position: relative;
    color: #4e574a;
}

.nav-links a::after {
    content: "";
    position: absolute;
    right: 13px;
    bottom: 6px;
    left: 13px;
    height: 2px;
    border-radius: 999px;
    background: var(--lime);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-links a:hover,
.nav-links a:focus-visible {
    color: var(--text);
    background: rgba(26, 36, 18, 0.045);
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Buttons */

.button {
    position: relative;
    overflow: hidden;
    color: var(--text);
    translate: var(--magnetic-x, 0) var(--magnetic-y, 0);
    isolation: isolate;
    transition:
        translate 130ms ease-out,
        transform 180ms cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 180ms ease,
        background 180ms ease,
        border-color 180ms ease;
}

.button > * {
    position: relative;
    z-index: 2;
}

.button-primary {
    color: var(--accent-ink);
    border-color: rgba(83, 114, 18, 0.17);
    background: var(--lime);
    box-shadow: 0 13px 30px rgba(90, 125, 21, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.button-primary:hover,
.button-primary:focus-visible {
    color: var(--accent-ink);
    border-color: rgba(68, 98, 9, 0.28);
    background: var(--lime-soft);
    box-shadow: 0 18px 40px rgba(90, 125, 21, 0.23), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.button-secondary {
    color: var(--text);
    border-color: var(--border);
    background: rgba(255, 255, 255, 0.75);
    box-shadow: 0 8px 22px rgba(30, 40, 24, 0.055), inset 0 1px 0 #fff;
}

.button-secondary:hover,
.button-secondary:focus-visible {
    color: var(--text);
    border-color: var(--border-strong);
    background: #fff;
    box-shadow: 0 13px 30px rgba(30, 40, 24, 0.1), inset 0 1px 0 #fff;
}

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

.hero-actions .button-primary::after {
    content: "";
    position: absolute;
    inset: 0 auto 0 -45%;
    z-index: 1;
    width: 34%;
    pointer-events: none;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.44), transparent);
    transform: skewX(-18deg);
    animation: home-button-sheen 5.8s 1.35s ease-in-out infinite;
}

/* Hero */

.hero {
    min-height: auto;
    padding: 138px 0 100px;
    overflow: hidden;
}

.hero::before {
    top: -15rem;
    left: 50%;
    width: 76rem;
    height: 65rem;
    background: radial-gradient(circle, rgba(200, 243, 74, 0.19) 0%, rgba(200, 243, 74, 0.055) 38%, transparent 69%);
    transform: translateX(-50%);
}

.hero-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 52px;
}

.hero-copy {
    position: relative;
    z-index: 2;
    max-width: 1120px;
    margin: 0 auto;
    text-align: center;
}

.eyebrow,
.section-kicker {
    color: var(--accent-text);
}

.eyebrow {
    padding: 9px 14px;
    border-color: rgba(62, 95, 0, 0.18);
    background: rgba(236, 248, 204, 0.86);
    box-shadow: 0 7px 22px rgba(74, 98, 29, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.eyebrow-dot {
    background: #668f10;
    box-shadow: 0 0 0 4px rgba(102, 143, 16, 0.11), 0 0 16px rgba(102, 143, 16, 0.3);
}

.hero h1 {
    max-width: 1120px;
    margin-top: 29px;
    font-size: clamp(4rem, 6.25vw, 6.15rem);
    line-height: 0.96;
    text-wrap: balance;
}

.hero h1 .hero-title-line {
    display: block;
    color: var(--text);
}

.hero h1 .hero-word {
    color: inherit;
}

.hero-title-accent {
    position: relative;
    z-index: 0;
    width: fit-content;
    margin: 0 auto;
    color: var(--text) !important;
}

.hero-title-accent::after {
    content: "";
    position: absolute;
    right: -0.02em;
    bottom: 0.055em;
    left: -0.02em;
    z-index: -1;
    height: 0.17em;
    border-radius: 999px;
    background: var(--lime);
    transform: scaleX(0);
    transform-origin: left;
    animation: hero-underline 760ms 920ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-word {
    display: inline-block;
}

.hero-intro {
    max-width: 670px;
    margin: 27px auto 0;
    color: #4d5748;
    font-size: clamp(1.05rem, 1.5vw, 1.22rem);
    line-height: 1.7;
    text-wrap: balance;
}

.hero-actions {
    justify-content: center;
    margin-top: 29px;
}

.hero-actions .button {
    min-width: 195px;
}

.trust-microcopy {
    justify-content: center;
    max-width: none;
    margin-top: 24px;
    padding-top: 0;
    border-top: 0;
    color: #697264;
}

.trust-microcopy span::before {
    background: #668f10;
    box-shadow: 0 0 0 3px rgba(102, 143, 16, 0.1);
}

.hero-product {
    position: relative;
    width: min(100%, 740px);
    padding: 18px 18px 12px;
    perspective: 1400px;
}

.hero-product::after {
    content: "";
    position: absolute;
    right: 8%;
    bottom: -9%;
    left: 8%;
    z-index: -2;
    height: 45%;
    border-radius: 50%;
    background: rgba(112, 143, 42, 0.21);
    filter: blur(58px);
    transform: scaleY(0.45);
}

.orbit {
    z-index: -1;
    border-color: rgba(75, 104, 16, 0.12);
}

.orbit-one {
    inset: -44px -88px 45px -88px;
    animation: orbit-drift-one 24s linear infinite;
}

.orbit-two {
    inset: 36px -130px -50px -20px;
    border-color: rgba(68, 86, 174, 0.095);
    animation: orbit-drift-two 29s linear infinite;
}

.product-window {
    --tilt-x: 0deg;
    --tilt-y: 0deg;
    --pointer-x: 50%;
    --pointer-y: 50%;
    padding: 24px;
    border-color: rgba(26, 36, 18, 0.12);
    background: rgba(255, 255, 253, 0.96);
    box-shadow: 0 42px 100px rgba(40, 53, 30, 0.15), 0 12px 32px rgba(40, 53, 30, 0.075), inset 0 1px 0 #fff;
    backdrop-filter: none;
    transform: perspective(1200px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
    transform-style: preserve-3d;
    transition: transform 160ms ease-out, box-shadow 220ms ease;
}

.product-window::before {
    inset: 0;
    z-index: 0;
    border-radius: inherit;
    pointer-events: none;
    opacity: 1;
    background:
        radial-gradient(520px circle at var(--pointer-x) var(--pointer-y), rgba(200, 243, 74, 0.16), transparent 42%),
        linear-gradient(140deg, rgba(255, 255, 255, 0.65), transparent 55%);
}

.product-window > * {
    position: relative;
    z-index: 1;
}

.advisor-mark,
.small-logo {
    border-color: rgba(72, 103, 12, 0.17);
    background: #eff7da;
}

.advisor-identity strong {
    color: var(--text);
}

.advisor-identity small {
    color: var(--muted);
}

.live-pill,
.stage-label,
.roadmap-tag {
    color: #596254;
    border-color: var(--border);
    background: #f7f8f4;
}

.live-pill,
.stage-label.live {
    color: var(--accent-text);
    border-color: var(--border-lime);
    background: #f0f7dc;
}

.prompt-switcher {
    border-color: var(--border);
    background: #f1f3ed;
    box-shadow: inset 0 1px 3px rgba(28, 37, 23, 0.04);
}

.prompt-chip {
    position: relative;
    color: #697263;
    transition: color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.prompt-chip:hover,
.prompt-chip:focus-visible {
    color: var(--text);
    background: rgba(255, 255, 255, 0.72);
}

.prompt-chip.active {
    color: var(--accent-ink);
    background: var(--lime);
    box-shadow: 0 5px 14px rgba(80, 110, 19, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.prompt-chip:active {
    transform: scale(0.975);
}

.message-user {
    color: #fff;
    background: #171b15;
    box-shadow: 0 7px 18px rgba(27, 34, 24, 0.11);
}

.message-ai {
    color: #34402e;
    border-color: rgba(67, 101, 0, 0.18);
    background: #f1f8df;
}

.message-ai strong {
    color: #365700;
}

.message-avatar {
    background: rgba(200, 243, 74, 0.45);
}

.decision-card {
    border-color: var(--border);
    background: rgba(245, 247, 241, 0.92);
}

.decision-card-heading,
.decision-row strong {
    color: #40493c;
}

.decision-row {
    color: #70786c;
}

.decision-total {
    color: var(--text);
    border-color: var(--border);
}

.decision-total strong {
    color: #3d6200;
}

.composer {
    color: #727a6e;
    border-color: var(--border);
    background: #fafbf8;
}

.voice-button {
    color: var(--accent-ink);
    background: var(--lime);
    box-shadow: 0 5px 14px rgba(78, 106, 20, 0.17);
}

.illustration-note {
    color: #778073;
}

/* Product status and sections */

.status-strip {
    border-color: var(--border);
    background: rgba(255, 255, 255, 0.7);
}

.status-grid > div {
    border-color: var(--border);
}

.status-icon {
    color: var(--accent-text);
    border-color: var(--border-lime);
    background: #f0f7dc;
}

.status-grid p {
    color: var(--muted);
}

.status-grid strong {
    color: var(--text);
}

.section-heading h2 span,
.availability-card h2 span,
.final-cta h2 span {
    color: var(--text);
    background: linear-gradient(transparent 68%, rgba(200, 243, 74, 0.68) 68%);
}

.section-heading p {
    color: var(--muted);
}

.section {
    scroll-margin-top: 125px;
}

.comparison-wrap {
    border-color: var(--border);
    background: #fff;
    box-shadow: var(--shadow);
}

.comparison-intro {
    border-color: var(--border);
    background:
        linear-gradient(to top, rgba(200, 243, 74, 0.25), transparent 62%),
        #f8faf5;
}

.comparison-intro p,
.category-table thead th,
.category-table td {
    color: var(--muted);
}

.comparison-intro strong,
.category-table .optivault-column {
    color: var(--text);
}

.category-table th,
.category-table td {
    border-color: var(--border);
}

.category-table tbody th {
    color: #3e473a;
}

.category-table .optivault-column {
    background: rgba(236, 248, 203, 0.55);
}

.category-table thead .optivault-column {
    color: var(--accent-text);
}

.roadmap-tag {
    color: var(--blue);
    border-color: rgba(68, 86, 174, 0.2);
    background: #f0f2ff;
}

.decisions-section {
    border-color: var(--border);
    background:
        radial-gradient(circle at 88% 25%, rgba(200, 243, 74, 0.15), transparent 25rem),
        #f2f5ed;
}

.feature-list li {
    border-color: var(--border);
}

.feature-list li::before {
    background: #6c9417;
    box-shadow: 0 0 0 4px rgba(108, 148, 23, 0.1);
}

.feature-list span {
    color: var(--text);
}

.feature-list small {
    color: var(--muted);
}

.weekly-wrap {
    border-color: var(--border);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.9), transparent 62%),
        #fbfcf8;
    box-shadow: 0 30px 75px rgba(38, 51, 29, 0.12), 0 4px 15px rgba(38, 51, 29, 0.055);
}

.weekly-wrap::after {
    background: rgba(200, 243, 74, 0.25);
}

.weekly-topline,
.wrap-footer,
.weekly-greeting small,
.weekly-actions p {
    color: var(--muted);
}

.weekly-topline span:first-child,
.wrap-footer span:last-child {
    color: var(--accent-text);
}

.weekly-greeting strong,
.weekly-actions strong {
    color: var(--text);
}

.weekly-actions article {
    border-color: var(--border);
    background: #fff;
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.action-number {
    color: var(--accent-text);
    background: #eff7da;
}

.action-status {
    color: #596154;
    border-color: var(--border);
}

.action-status.status-done {
    color: var(--accent-text);
    border-color: var(--border-lime);
    background: #f0f7dc;
}

.wrap-footer {
    border-color: var(--border);
}

.roadmap-section {
    background: #fff;
}

.roadmap {
    scrollbar-color: rgba(76, 105, 17, 0.32) transparent;
}

.roadmap-card {
    border-color: var(--border);
    background: #fafbf8;
    box-shadow: 0 8px 22px rgba(31, 41, 25, 0.035);
    transition: border-color 200ms ease, background 200ms ease, box-shadow 200ms ease;
}

.roadmap-card:hover {
    border-color: var(--border-strong);
    background: #fff;
    box-shadow: 0 14px 34px rgba(31, 41, 25, 0.07);
    transform: none;
}

.roadmap-card.current {
    border-color: var(--border-lime);
    background: #f1f8df;
}

.roadmap-card.money-os {
    color: var(--accent-ink);
    border-color: #afda36;
    background:
        radial-gradient(circle at 85% 10%, rgba(255, 255, 255, 0.45), transparent 11rem),
        var(--lime);
    box-shadow: 0 18px 46px rgba(90, 125, 21, 0.15);
}

.roadmap-card h3 {
    color: var(--text);
}

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

.roadmap-card.money-os .roadmap-index,
.roadmap-card.money-os p {
    color: rgba(17, 21, 13, 0.64);
}

.roadmap-card.money-os .stage-label {
    color: var(--accent-ink);
    border-color: rgba(17, 21, 13, 0.18);
    background: rgba(255, 255, 255, 0.3);
}

.stage-action {
    color: #4f584a;
    border-color: var(--border);
}

.roadmap-card.current .stage-action {
    color: var(--accent-text);
    border-color: var(--border-lime);
}

.roadmap-card.money-os .stage-action {
    color: var(--accent-ink);
    border-color: rgba(17, 21, 13, 0.17);
}

.evolution-line {
    color: var(--muted);
    border-color: var(--border);
    background: #f8faf5;
    box-shadow: inset 0 1px 0 #fff;
}

.evolution-line i {
    color: #9aa197;
}

.evolution-line strong {
    color: var(--accent-text);
}

.intelligence-section {
    border-color: var(--border);
    background:
        radial-gradient(circle at 15% 50%, rgba(200, 243, 74, 0.16), transparent 27rem),
        #f3f6ee;
}

.control-note {
    color: #465140 !important;
    border-color: #799e22;
    background: rgba(235, 247, 205, 0.62);
}

.loop-line {
    background: linear-gradient(#5f8610, rgba(95, 134, 16, 0.06));
}

.intelligence-loop article {
    border-color: var(--border);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 8px 24px rgba(33, 45, 25, 0.045);
    transition: border-color 180ms ease, box-shadow 180ms ease;
}

.intelligence-loop article > span {
    color: var(--accent-text);
    border-color: var(--border-lime);
    background: #eff7da;
}

.intelligence-loop h3 {
    color: var(--text);
}

.intelligence-loop p {
    color: var(--muted);
}

.trust-section {
    background: #fcfdf9;
}

.trust-card {
    border-color: var(--border);
    background: #fff;
    box-shadow: 0 9px 28px rgba(31, 42, 24, 0.045);
    transition: border-color 200ms ease, box-shadow 200ms ease;
}

.trust-card.roadmap-trust {
    border-color: rgba(68, 86, 174, 0.18);
    background: #f6f7ff;
}

.trust-card-icon {
    color: var(--accent-text);
    border-color: var(--border-lime);
    background: #f0f7dc;
    transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1), background 200ms ease;
}

.roadmap-trust .trust-card-icon {
    color: var(--blue);
    border-color: rgba(68, 86, 174, 0.19);
    background: #ecefff;
}

.trust-card h3 {
    color: var(--text);
}

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

.disclosure {
    border-color: var(--border);
    background: #f5f7f1;
}

.disclosure strong {
    color: var(--accent-text);
}

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

.availability-card {
    border-color: rgba(74, 103, 17, 0.2);
    background:
        radial-gradient(circle at 4% 100%, rgba(200, 243, 74, 0.4), transparent 28rem),
        linear-gradient(135deg, #f6f9ef, #fff),
        #fff;
    box-shadow: var(--shadow);
}

.availability-copy p {
    color: #4f594a;
}

.faq-section {
    background: #fafbf7;
}

.faq-list,
.faq-item {
    border-color: var(--border);
}

.faq-item button {
    color: var(--text);
    transition: color 180ms ease, padding-left 180ms ease;
}

.faq-item button i {
    border-color: var(--border-strong);
    background: #fff;
    transition: background 180ms ease, border-color 180ms ease, transform 220ms ease;
}

.faq-item button i::before,
.faq-item button i::after {
    background: #4e5849;
}

.faq-item.open button i {
    border-color: var(--border-lime);
    background: var(--lime);
    transform: rotate(180deg);
}

.faq-answer p {
    color: var(--muted);
}

.final-cta {
    border-color: var(--border);
    background: linear-gradient(180deg, #fafbf7, #f1f5e9);
}

.final-cta::before {
    bottom: -32rem;
    background: rgba(200, 243, 74, 0.38);
    filter: blur(105px);
}

.final-cta p {
    color: var(--muted);
}

.site-footer {
    color: var(--text);
    border-color: var(--border);
    background: #f1f4ec;
}

.footer-brand p,
.footer-links a {
    color: var(--muted);
}

.footer-links strong {
    color: var(--text);
}

.footer-links a {
    position: relative;
    padding: 4px 0;
}

.footer-links a:hover,
.footer-links a:focus-visible {
    color: var(--accent-text);
}

.footer-bottom {
    color: #70796b;
    border-color: var(--border);
}

/* Scroll choreography */

.motion-ready .reveal {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
    transition:
        opacity 500ms ease var(--reveal-delay, 0ms),
        transform 600ms cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms);
}

.motion-ready .reveal.revealed {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.motion-ready .roadmap.reveal .roadmap-card,
.motion-ready .status-grid.reveal > div,
.motion-ready .intelligence-loop.reveal article,
.motion-ready .weekly-wrap.reveal .weekly-actions article,
.motion-ready .comparison-wrap.reveal tbody tr {
    opacity: 0;
    transform: translate3d(0, 13px, 0);
    transition:
        opacity 420ms ease,
        transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

.motion-ready .roadmap.revealed .roadmap-card,
.motion-ready .status-grid.revealed > div,
.motion-ready .intelligence-loop.revealed article,
.motion-ready .weekly-wrap.revealed .weekly-actions article,
.motion-ready .comparison-wrap.revealed tbody tr {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.motion-ready .roadmap.revealed .roadmap-card:nth-child(2),
.motion-ready .status-grid.revealed > div:nth-child(2),
.motion-ready .intelligence-loop.revealed article:nth-child(3),
.motion-ready .weekly-wrap.revealed .weekly-actions article:nth-child(2),
.motion-ready .comparison-wrap.revealed tbody tr:nth-child(2) { transition-delay: 70ms; }

.motion-ready .roadmap.revealed .roadmap-card:nth-child(3),
.motion-ready .status-grid.revealed > div:nth-child(3),
.motion-ready .intelligence-loop.revealed article:nth-child(4),
.motion-ready .weekly-wrap.revealed .weekly-actions article:nth-child(3),
.motion-ready .comparison-wrap.revealed tbody tr:nth-child(3) { transition-delay: 140ms; }

.motion-ready .roadmap.revealed .roadmap-card:nth-child(4),
.motion-ready .intelligence-loop.revealed article:nth-child(5),
.motion-ready .comparison-wrap.revealed tbody tr:nth-child(4) { transition-delay: 210ms; }

.motion-ready .roadmap.revealed .roadmap-card:nth-child(5),
.motion-ready .intelligence-loop.revealed article:nth-child(6) { transition-delay: 280ms; }

.motion-ready .hero-word {
    opacity: 0;
    transform: translate3d(0, 25px, 0);
    animation: hero-word-enter 700ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: calc(125ms + (var(--word-index) * 58ms));
}

.motion-ready .hero-copy > .eyebrow,
.motion-ready .hero-copy > .hero-intro,
.motion-ready .hero-copy > .hero-actions,
.motion-ready .hero-copy > .trust-microcopy {
    opacity: 0;
    animation: hero-block-enter 680ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.motion-ready .hero-copy > .eyebrow { animation-delay: 20ms; }
.motion-ready .hero-copy > .hero-intro { animation-delay: 650ms; }
.motion-ready .hero-copy > .hero-actions { animation-delay: 735ms; }
.motion-ready .hero-copy > .trust-microcopy { animation-delay: 820ms; }

.motion-ready .hero-product {
    opacity: 0;
    animation: hero-product-enter 900ms 710ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.motion-ready .hero-product .product-window-topbar,
.motion-ready .hero-product .prompt-switcher,
.motion-ready .hero-product .conversation,
.motion-ready .hero-product .decision-card,
.motion-ready .hero-product .composer,
.motion-ready .hero-product .illustration-note {
    opacity: 0;
    animation: product-content-enter 540ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.motion-ready .hero-product .product-window-topbar { animation-delay: 1080ms; }
.motion-ready .hero-product .prompt-switcher { animation-delay: 1140ms; }
.motion-ready .hero-product .conversation { animation-delay: 1210ms; }
.motion-ready .hero-product .decision-card { animation-delay: 1280ms; }
.motion-ready .hero-product .composer { animation-delay: 1350ms; }
.motion-ready .hero-product .illustration-note { animation-delay: 1410ms; }

.product-window .conversation,
.product-window .decision-card {
    transition: opacity 130ms ease, transform 130ms ease;
}

/* Fine-pointer interaction only */

@media (hover: hover) and (pointer: fine) {
    .button:hover {
        transform: translateY(-3px);
    }

    .weekly-actions article:hover {
        border-color: var(--border-strong);
        box-shadow: 0 8px 19px rgba(30, 42, 23, 0.065);
        transform: translateX(4px);
    }

    .trust-card:hover {
        border-color: var(--border-strong);
        box-shadow: 0 15px 36px rgba(31, 42, 24, 0.08);
    }

    .trust-card:hover .trust-card-icon {
        background: var(--lime);
        transform: rotate(-5deg) scale(1.06);
    }

    .roadmap-trust:hover .trust-card-icon {
        background: #dfe4ff;
    }

    .faq-item button:hover {
        color: var(--accent-text);
        padding-left: 5px;
    }
}

@keyframes hero-word-enter {
    to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes hero-block-enter {
    from { opacity: 0; transform: translate3d(0, 17px, 0); }
    to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes hero-product-enter {
    from { opacity: 0; transform: translate3d(0, 32px, 0) scale(0.975); }
    to { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}

@keyframes product-content-enter {
    from { opacity: 0; transform: translate3d(0, 10px, 0); }
    to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes hero-underline {
    to { transform: scaleX(1); }
}

@keyframes home-button-sheen {
    0%, 76% { translate: 0 0; }
    100% { translate: 450% 0; }
}

@keyframes orbit-drift-one {
    from { transform: rotate(-18deg); }
    to { transform: rotate(342deg); }
}

@keyframes orbit-drift-two {
    from { transform: rotate(22deg); }
    to { transform: rotate(-338deg); }
}

/* Responsive */

@media (max-width: 1050px) {
    .hero h1 {
        font-size: clamp(4.1rem, 9.2vw, 6.5rem);
    }
}

@media (max-width: 900px) {
    .site-nav {
        grid-template-columns: auto auto 1fr auto;
    }

    .menu-toggle {
        min-width: 44px;
        min-height: 44px;
        border-color: var(--border);
        background: rgba(255, 255, 255, 0.7);
    }

    .menu-toggle span {
        background: var(--text);
    }

    .nav-links {
        max-height: calc(100dvh - 108px);
        overflow-y: auto;
        border-color: var(--border);
        background: #fffffc;
        box-shadow: 0 22px 55px rgba(35, 45, 29, 0.15);
        backdrop-filter: none;
    }

    .nav-links a {
        min-height: 44px;
    }

    .hero {
        padding-top: 140px;
    }

    .hero-grid {
        gap: 54px;
    }

    .hero-product {
        width: min(100%, 700px);
        margin-top: 0;
    }

    .footer-links a {
        min-height: 34px;
    }
}

@media (max-width: 640px) {
    .page-grid {
        opacity: 0.26;
        background-size: 60px 60px;
    }

    .ambient-glow,
    .cursor-glow {
        display: none;
    }

    .site-header {
        top: 10px;
    }

    .site-nav {
        min-height: 62px;
    }

    .menu-toggle {
        width: 44px;
        height: 44px;
        margin-left: 6px;
    }

    .menu-toggle span:first-child { top: 16px; }
    .menu-toggle span:last-child { top: 25px; }
    .menu-toggle[aria-expanded="true"] span:first-child,
    .menu-toggle[aria-expanded="true"] span:last-child { top: 21px; }

    .nav-download {
        min-height: 44px;
        padding: 0 12px;
    }

    .nav-links {
        top: 82px;
        max-height: calc(100dvh - 96px);
    }

    .hero {
        padding: 120px 0 75px;
    }

    .hero::before {
        top: -13rem;
        width: 46rem;
        height: 48rem;
    }

    .hero-grid {
        gap: 43px;
    }

    .eyebrow {
        max-width: 100%;
        padding: 8px 10px;
        font-size: 0.56rem;
        letter-spacing: 0.075em;
    }

    .hero h1 {
        margin-top: 23px;
        font-size: clamp(3.05rem, 14.1vw, 4.15rem);
        line-height: 0.96;
    }

    .hero-intro {
        margin-top: 22px;
        font-size: 0.94rem;
        line-height: 1.65;
    }

    .hero-actions {
        grid-template-columns: 1fr;
        margin-top: 25px;
    }

    .hero-actions .button {
        width: 100%;
        min-width: 0;
    }

    .trust-microcopy {
        display: flex;
        justify-content: center;
        gap: 8px 16px;
        margin-top: 21px;
        text-align: center;
    }

    .trust-microcopy span {
        font-size: 0.64rem;
    }

    .hero-product {
        padding: 0;
    }

    .product-window {
        padding: 16px;
        border-radius: 24px;
        box-shadow: 0 25px 55px rgba(40, 53, 30, 0.13), 0 4px 15px rgba(40, 53, 30, 0.05);
        transform: none !important;
    }

    .orbit {
        display: none;
    }

    .live-pill {
        flex: 0 0 auto;
    }

    .prompt-chip {
        min-height: 42px;
    }

    .decision-row,
    .decision-total {
        gap: 12px;
    }

    .decision-total strong {
        text-align: right;
    }

    .status-grid > div,
    .status-grid > div:first-child,
    .status-grid > div:last-child {
        padding-right: 0;
        padding-left: 0;
        border-color: var(--border);
    }

    .section {
        padding: 96px 0;
    }

    .comparison-table-wrap {
        position: relative;
        background:
            linear-gradient(to right, transparent calc(100% - 30px), rgba(70, 92, 35, 0.05));
    }

    .roadmap {
        scrollbar-color: rgba(76, 105, 17, 0.4) transparent;
    }

    .roadmap-card,
    .trust-card {
        box-shadow: 0 8px 22px rgba(31, 41, 25, 0.045);
    }

    .trust-card {
        min-height: 0;
    }

    .final-cta {
        padding: 105px 0;
    }

    .final-cta::before {
        bottom: -24rem;
        width: 42rem;
        height: 36rem;
        filter: blur(75px);
    }
}

@media (max-width: 370px) {
    .brand span {
        font-size: 0.92rem;
    }

    .nav-download span {
        display: none;
    }

    .nav-download {
        width: 44px;
        padding: 0;
    }

    .hero h1 {
        font-size: clamp(2.75rem, 14vw, 3.35rem);
    }

    .product-window-topbar {
        align-items: flex-start;
        gap: 8px;
    }

    .advisor-identity small {
        max-width: 125px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .scroll-progress,
    .cursor-glow,
    .ambient-glow,
    .orbit {
        display: none;
    }

    .hero-title-accent::after {
        animation: none;
        transform: scaleX(1);
    }

    .motion-ready .hero-word,
    .motion-ready .hero-copy > *,
    .motion-ready .hero-product,
    .motion-ready .hero-product .product-window-topbar,
    .motion-ready .hero-product .prompt-switcher,
    .motion-ready .hero-product .conversation,
    .motion-ready .hero-product .decision-card,
    .motion-ready .hero-product .composer,
    .motion-ready .hero-product .illustration-note,
    .motion-ready .roadmap.reveal .roadmap-card,
    .motion-ready .status-grid.reveal > div,
    .motion-ready .intelligence-loop.reveal article,
    .motion-ready .weekly-wrap.reveal .weekly-actions article,
    .motion-ready .comparison-wrap.reveal tbody tr {
        opacity: 1;
        animation: none;
        transform: none;
        transition: none;
    }
}
