:root {
    --navy-950: #06111f;
    --navy-900: #091827;
    --navy-850: #0c1d2e;
    --navy-800: #11283b;
    --ivory-50: #fbfaf7;
    --ivory-100: #f5f1e9;
    --ivory-200: #ece5d8;
    --ink-950: #18222d;
    --ink-800: #303b45;
    --ink-650: #56616b;
    --ink-500: #76808a;
    --gold-600: #b8833f;
    --gold-500: #c99a57;
    --gold-400: #d9b06f;
    --teal: #0d5a60;
    --line: rgba(24,34,45,.13);
    --shadow: 0 24px 60px rgba(0,0,0,.22);
    --radius-xl: 24px;
    --radius-lg: 18px;
    --radius-md: 13px;
    font-family: "Segoe UI", Inter, Arial, sans-serif;
    color: var(--ink-950);
    background: var(--navy-950);
}

* {
    box-sizing: border-box;
}

.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0,0,0,0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

html {
    min-height: 100%;
    background: var(--navy-950);
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background: radial-gradient(circle at 82% 14%, rgba(201,154,87,.12), transparent 28rem), radial-gradient(circle at 10% 62%, rgba(13,90,96,.07), transparent 25rem), linear-gradient(145deg, var(--navy-950), #071522 48%, #08131e);
    color: var(--ivory-50);
}

    body:before {
        content: "";
        position: fixed;
        inset: 0;
        pointer-events: none;
        opacity: .25;
        background-image: linear-gradient(116deg, transparent 0 73%, rgba(201,154,87,.25) 73.08% 73.18%, transparent 73.25%), linear-gradient(116deg, transparent 0 87%, rgba(201,154,87,.18) 87.08% 87.15%, transparent 87.22%);
        z-index: 0;
    }

button, input {
    font: inherit;
}

.site-header {
    position: relative;
    z-index: 5;
    max-width: 1240px;
    margin: 0 auto;
    padding: 24px 28px 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.brand-lockup {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.brand-wide {
    width: 260px;
    height: auto;
    display: block;
}

.brand-mark {
    display: none;
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.brand-mobile-name {
    display: none;
    color: var(--ivory-50);
    font-weight: 600;
    letter-spacing: .005em;
    line-height: 1.08;
}

.restart-link {
    appearance: none;
    border: 0;
    background: transparent;
    color: rgba(250,248,243,.68);
    padding: 10px 0;
    cursor: pointer;
    font-size: 14px;
    transition: color .16s ease;
}

    .restart-link:hover, .restart-link:focus-visible {
        color: var(--ivory-50);
    }

    .restart-link:focus-visible {
        outline: 2px solid var(--gold-400);
        outline-offset: 6px;
        border-radius: 5px;
    }

.shell {
    position: relative;
    z-index: 1;
    max-width: 1240px;
    margin: 0 auto;
    padding: 16px 28px 96px;
}

.app-surface {
    min-height: 100px;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0,1.08fr) minmax(340px,.82fr);
    gap: clamp(38px,6vw,88px);
    align-items: center;
    min-height: calc(100vh - 126px);
    padding: 36px 0 56px;
}

.hero-copy {
    max-width: 690px;
}

.hero h1 {
    font-size: clamp(42px,5vw,68px);
    font-weight: 520;
    letter-spacing: -.035em;
    line-height: 1.02;
    margin: 0 0 28px;
    color: var(--ivory-50);
    text-wrap: balance;
}

.hero .copy {
    color: rgba(250,248,243,.84);
    font-size: 18px;
    line-height: 1.68;
}

    .hero .copy p {
        margin: 0 0 17px;
    }

    .hero .copy strong {
        color: #fff;
        font-weight: 650;
    }

    .hero .copy p:last-child {
        margin-top: 24px;
        padding-top: 19px;
        border-top: 1px solid rgba(217,176,111,.22);
        color: rgba(250,248,243,.55);
        font-size: 13px;
        line-height: 1.55;
    }

    .hero .copy em {
        font-style: normal;
    }

.hero-actions {
    margin-top: 30px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.hero-portrait {
    position: relative;
    width: min(100%,480px);
    justify-self: end;
    align-self: stretch;
    min-height: 620px;
    display: flex;
    align-items: flex-end;
    isolation: isolate;
}

    .hero-portrait:before {
        content: "";
        position: absolute;
        inset: 7% -2% 3% 11%;
        border: 1px solid rgba(201,154,87,.34);
        transform: skewX(-8deg);
        border-radius: 28px;
        z-index: -2;
    }

    .hero-portrait:after {
        content: "";
        position: absolute;
        width: 70%;
        height: 60%;
        right: -4%;
        top: 13%;
        background: radial-gradient(circle, rgba(201,154,87,.25), transparent 68%);
        filter: blur(20px);
        z-index: -3;
    }

    .hero-portrait img {
        width: 100%;
        height: 100%;
        max-height: 720px;
        object-fit: cover;
        object-position: 50% 33%;
        border-radius: 32px 32px 12px 32px;
        box-shadow: 0 30px 80px rgba(0,0,0,.34);
        mask-image: linear-gradient(to bottom, #000 0 88%, transparent 100%);
        -webkit-mask-image: linear-gradient(to bottom, #000 0 88%, transparent 100%);
    }

.btn {
    border: 0;
    border-radius: 12px;
    padding: 0 22px;
    min-height: 54px;
    font-weight: 650;
    cursor: pointer;
    transition: transform .16s ease, background .16s ease, border-color .16s ease, color .16s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

    .btn:focus-visible {
        outline: 3px solid rgba(217,176,111,.42);
        outline-offset: 3px;
    }

    .btn.primary {
        background: var(--gold-500);
        color: #17202a;
        box-shadow: 0 12px 34px rgba(201,154,87,.16);
    }

        .btn.primary:hover {
            background: var(--gold-400);
            transform: translateY(-1px);
        }

    .btn.secondary {
        background: transparent;
        border: 1px solid rgba(24,34,45,.18);
        color: var(--ink-650);
    }

        .btn.secondary:hover {
            border-color: rgba(24,34,45,.38);
            color: var(--ink-950);
        }

    .btn.ghost-dark {
        background: rgba(255,255,255,.06);
        color: var(--ivory-50);
        border: 1px solid rgba(255,255,255,.10);
    }

.test-shell {
    max-width: 900px;
    margin: 26px auto 0;
}

.semantic-progress {
    margin: 0 auto 18px;
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 0;
    position: relative;
    padding: 0 10px;
}

    .semantic-progress:before {
        content: "";
        position: absolute;
        left: 12.5%;
        right: 12.5%;
        top: 8px;
        height: 1px;
        background: rgba(255,255,255,.18);
    }

.progress-step {
    position: relative;
    text-align: center;
    color: rgba(250,248,243,.42);
    font-size: 12px;
    line-height: 1.25;
    padding-top: 24px;
}

    .progress-step:before {
        content: "";
        position: absolute;
        top: 3px;
        left: 50%;
        width: 11px;
        height: 11px;
        border-radius: 50%;
        transform: translateX(-50%);
        background: #324153;
        border: 2px solid #5e6b78;
        box-shadow: 0 0 0 5px var(--navy-950);
    }

    .progress-step.done {
        color: rgba(250,248,243,.66);
    }

        .progress-step.done:before {
            background: var(--gold-600);
            border-color: var(--gold-600);
        }

    .progress-step.active {
        color: var(--ivory-50);
        font-weight: 650;
    }

        .progress-step.active:before {
            width: 14px;
            height: 14px;
            top: 1px;
            background: var(--gold-400);
            border-color: var(--gold-400);
            box-shadow: 0 0 0 5px var(--navy-950), 0 0 0 7px rgba(217,176,111,.18);
        }

.question-card, .result-card {
    background: var(--ivory-50);
    border: 1px solid rgba(255,255,255,.44);
    color: var(--ink-950);
    border-radius: var(--radius-xl);
    padding: clamp(26px,4vw,46px);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

    .question-card:before, .result-card:before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 3px;
        background: linear-gradient(var(--gold-400), rgba(201,154,87,.12));
    }

.question-title {
    font-size: clamp(28px,3.5vw,39px);
    line-height: 1.16;
    letter-spacing: -.025em;
    font-weight: 580;
    margin: 0 0 28px;
    color: var(--ink-950);
    text-wrap: balance;
}

.options {
    display: grid;
    gap: 11px;
    margin: 0;
}

.answer-option {
    display: grid;
    grid-template-columns: 22px 1fr;
    gap: 13px;
    align-items: start;
    width: 100%;
    text-align: left;
    padding: 16px 17px;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 13px;
    color: var(--ink-800);
    font-size: 16px;
    line-height: 1.48;
    cursor: pointer;
    transition: border-color .16s ease, background .16s ease, transform .16s ease, box-shadow .16s ease;
}

    .answer-option:hover {
        border-color: rgba(184,131,63,.48);
        background: #fffdf9;
        transform: translateY(-1px);
    }

    .answer-option:focus-visible {
        outline: 3px solid rgba(201,154,87,.25);
        outline-offset: 2px;
    }

    .answer-option.selected {
        border-color: var(--gold-500);
        background: #fbf5e9;
        box-shadow: inset 0 0 0 1px rgba(201,154,87,.10);
    }

.answer-radio {
    width: 18px;
    height: 18px;
    border: 1.5px solid #9aa1a7;
    border-radius: 50%;
    margin-top: 2px;
    display: grid;
    place-items: center;
}

.answer-option.selected .answer-radio {
    border-color: var(--gold-600);
}

    .answer-option.selected .answer-radio:after {
        content: "";
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: var(--gold-600);
    }

.insight-panel {
    margin-top: 28px;
    background: var(--ivory-100);
    border: 1px solid rgba(184,131,63,.18);
    border-radius: 17px;
    padding: 22px 24px;
    display: grid;
    grid-template-columns: 62px 1fr;
    gap: 18px;
    align-items: start;
    animation: insightIn .22s ease both;
}

.expert-avatar {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    padding: 2px;
    background: linear-gradient(135deg, var(--gold-400), #f0e1c7);
    box-shadow: 0 5px 14px rgba(0,0,0,.09);
}

    .expert-avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: 50% 50%;
        border-radius: 50%;
        display: block;
    }

.insight-copy {
    color: var(--ink-800);
    font-size: 16px;
    line-height: 1.68;
}

    .insight-copy p {
        margin: 0 0 13px;
    }

        .insight-copy p:last-child {
            margin-bottom: 0;
        }

    .insight-copy strong {
        color: var(--ink-950);
        font-size: 18px;
        font-weight: 680;
    }

.actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: 28px;
}

    .actions .secondary {
        min-height: 48px;
        padding: 0 16px;
    }

    .actions .primary {
        min-width: 170px;
    }

.calc {
    margin-top: 20px;
    padding: 22px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    display: grid;
    gap: 17px;
}

.calc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.field label {
    display: block;
    font-weight: 620;
    color: var(--ink-800);
    line-height: 1.35;
    margin: 0 0 8px;
}

.money-input {
    position: relative;
}

    .money-input input {
        width: 100%;
        min-height: 54px;
        padding: 13px 44px 13px 14px;
        border: 1px solid #c9ced2;
        background: #fff;
        border-radius: 11px;
        color: var(--ink-950);
        font-size: 18px;
        outline: none;
        transition: border-color .16s ease, box-shadow .16s ease;
    }

        .money-input input:focus {
            border-color: var(--gold-500);
            box-shadow: 0 0 0 3px rgba(201,154,87,.12);
        }

.money-suffix {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--ink-500);
    font-size: 16px;
}

.calc-bottom {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.calc .calculate-btn {
    background: var(--navy-850);
    color: #fff;
    min-height: 48px;
}

    .calc .calculate-btn:hover {
        background: var(--navy-800);
    }

.error {
    color: #8b3c43;
    font-size: 14px;
    min-height: 20px;
}

.calc-result {
    min-width: 70px;
    font-size: 24px;
    font-weight: 700;
    color: var(--navy-850);
    letter-spacing: -.02em;
}

.copy {
    font-size: 17px;
    line-height: 1.68;
    color: var(--ink-800);
}

    .copy p {
        margin: 0 0 15px;
    }

    .copy strong {
        color: var(--ink-950);
    }

    .copy em {
        color: var(--ink-650);
        font-size: 14px;
    }

.result-card h1 {
    font-size: clamp(34px,4.5vw,52px);
    line-height: 1.08;
    letter-spacing: -.035em;
    font-weight: 560;
    margin: 0 0 25px;
}

.result-card h2 {
    font-size: 25px;
    line-height: 1.25;
    margin: 0 0 15px;
}

.result-reasons {
    margin-top: 34px;
}

.result-reason {
    border-left: 2px solid var(--gold-500);
    background: var(--ivory-100);
    border-radius: 0 13px 13px 0;
    padding: 18px 20px;
    margin: 13px 0;
}

.result-next {
    margin-top: 36px;
    padding-top: 30px;
    border-top: 1px solid rgba(24,34,45,.11);
}

.result-cta {
    margin-top: 28px;
    padding: 20px;
    background: linear-gradient(135deg, #f4ede1, #fbf8f2);
    border: 1px solid rgba(184,131,63,.18);
    border-radius: 16px;
}

    .result-cta .actions {
        margin-top: 0;
    }

.result-restart {
    margin-top: 12px;
}

.result-tag {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: var(--gold-600);
    font-weight: 700;
    margin-bottom: 15px;
}

.cta-placeholder {
    opacity: .96;
}

@keyframes insightIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion:reduce) {
    * {
        scroll-behavior: auto !important;
        animation: none !important;
        transition: none !important;
    }
}

@media(max-width:800px) {
    .site-header {
        padding: 18px 20px 5px;
    }

    .brand-wide {
        width: 220px;
    }

    .shell {
        padding: 10px 20px 76px;
    }

    .hero {
        grid-template-columns: 1fr;
        gap: 18px;
        min-height: auto;
        padding: 22px 0 40px;
    }

    .hero-copy {
        order: 2;
    }

    .hero h1 {
        font-size: clamp(36px,9vw,50px);
    }

    .hero .copy {
        font-size: 17px;
    }

    .hero-portrait {
        order: 1;
        justify-self: center;
        width: min(100%,420px);
        min-height: 360px;
        height: 43vh;
        max-height: 500px;
    }

        .hero-portrait img {
            border-radius: 26px;
            object-position: 50% 32%;
        }

    .test-shell {
        margin-top: 20px;
    }

    .question-card, .result-card {
        padding: 28px 24px;
    }

    .calc-grid {
        grid-template-columns: 1fr;
    }
}

@media(max-width:520px) {
    body:before {
        opacity: .15;
    }

    .site-header {
        padding: 15px 16px 7px;
        gap: 12px;
    }

    .brand-lockup {
        gap: 0;
        max-width: calc(100% - 112px);
        min-width: 0;
        overflow: hidden;
    }

    .brand-wide {
        display: block;
        width: min(218px,54vw);
        max-width: 100%;
        height: auto;
        flex: 0 1 auto;
    }

    .brand-mark, .brand-mobile-name {
        display: none;
    }

    .restart-link {
        font-size: 13px;
        flex: 0 0 auto;
        white-space: nowrap;
    }

    .shell {
        padding: 8px 14px 66px;
    }

    .hero {
        padding-top: 16px;
    }

    .hero-portrait {
        height: 310px;
        min-height: 0;
        max-width: 330px;
    }

        .hero-portrait:before {
            inset: 6% 0 2% 7%;
        }

    .hero h1 {
        font-size: 35px;
        line-height: 1.06;
        margin-bottom: 20px;
    }

    .hero .copy {
        font-size: 16px;
        line-height: 1.62;
    }

    .hero-actions {
        margin-top: 23px;
    }

        .hero-actions .primary {
            width: 100%;
        }

    .semantic-progress {
        margin-bottom: 26px;
        padding: 0 1px;
        min-height: 58px;
    }

        .semantic-progress:before {
            left: 10%;
            right: 10%;
        }

    .progress-step {
        font-size: 0;
        padding-top: 34px;
        min-height: 58px;
    }

        .progress-step.active {
            font-size: 12px;
            line-height: 1.2;
        }

            .progress-step.active span {
                display: inline-block;
                white-space: nowrap;
                transform: translateX(0);
            }

    .question-card, .result-card {
        border-radius: 19px;
        padding: 24px 17px 22px;
    }

    .question-title {
        font-size: 27px;
        line-height: 1.18;
        margin-bottom: 22px;
    }

    .answer-option {
        grid-template-columns: 20px 1fr;
        padding: 15px 14px;
        font-size: 15.5px;
    }

    .insight-panel {
        grid-template-columns: 1fr;
        padding: 19px 17px;
        gap: 13px;
    }

    .expert-avatar {
        width: 50px;
        height: 50px;
    }

    .insight-copy {
        font-size: 15.5px;
        line-height: 1.64;
    }

        .insight-copy strong {
            font-size: 17px;
        }

    .actions {
        align-items: stretch;
        flex-direction: column;
        margin-top: 23px;
    }

        .actions .primary {
            width: 100%;
            order: 1;
        }

        .actions .secondary {
            width: 100%;
            order: 2;
            border: 0;
            min-height: 42px;
        }

    .calc {
        padding: 17px 14px;
    }

    .calc-bottom {
        align-items: stretch;
        flex-direction: column;
    }

    .calc .calculate-btn {
        width: 100%;
    }

    .calc-result {
        text-align: center;
    }

    .result-card h1 {
        font-size: 31px;
    }

    .result-next {
        margin-top: 30px;
        padding-top: 24px;
    }

    .result-cta {
        padding: 16px 14px;
    }

    .copy {
        font-size: 16px;
    }

    .operator {
        right: 10px;
        bottom: 10px;
    }
}

.qa-summary {
    padding: 10px 12px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 10px;
    margin-bottom: 10px;
    background: rgba(255,255,255,.035);
}

.qa-block {
    font-size: 12px;
    line-height: 1.45;
    margin: 8px 0 12px;
    padding: 9px 10px;
    border-left: 2px solid rgba(201,154,87,.55);
    background: rgba(255,255,255,.025);
}

.question-card[aria-labelledby], .result-card[aria-labelledby] {
    scroll-margin-top: 20px;
}

html, body {
    overflow-x: hidden;
}

/* V2 · KT1 — legal/public layer */
.legal-note {
    margin-top: 20px;
    padding: 16px 18px;
    border: 1px solid rgba(184,131,63,.24);
    border-radius: 14px;
    background: rgba(201,154,87,.07);
    color: var(--ink-800);
    font-size: 14px;
    line-height: 1.58;
}

.hero .legal-note {
    background: rgba(255,255,255,.055);
    border-color: rgba(217,176,111,.22);
    color: rgba(250,248,243,.78);
    font-size: 14px;
    line-height: 1.58;
}

.legal-note strong {
    color: inherit;
}

.legal-note p {
    margin: 0;
}

.legal-note a, .site-footer a {
    color: inherit;
    text-decoration-color: rgba(201,154,87,.58);
    text-underline-offset: 3px;
}

    .legal-note a:hover, .site-footer a:hover {
        color: var(--gold-400);
    }

    .legal-note a:focus-visible, .site-footer a:focus-visible, .analytics-choice-links a:focus-visible, .analytics-settings-links a:focus-visible {
        outline: 2px solid var(--gold-400);
        outline-offset: 3px;
        border-radius: 3px;
    }

.legal-note .legal-links {
    margin-top: 8px;
    display: flex;
    gap: 7px 12px;
    flex-wrap: wrap;
}

.hero .legal-note .legal-links a {
    color: #f0d3a5;
}

    .hero .legal-note .legal-links a:hover {
        color: #fff0d6;
    }

.calc-privacy {
    margin: 2px 0 0;
    padding: 13px 14px;
    border-left: 2px solid var(--gold-500);
    background: var(--ivory-100);
    border-radius: 0 10px 10px 0;
    color: var(--ink-650);
    font-size: 13.5px;
    line-height: 1.55;
}

    .calc-privacy a {
        color: var(--ink-800);
        text-decoration-color: rgba(184,131,63,.55);
        text-underline-offset: 2px;
    }

        .calc-privacy a:focus-visible {
            outline: 2px solid var(--gold-500);
            outline-offset: 2px;
            border-radius: 3px;
        }

.result-orientation {
    margin: 0 0 24px;
    background: #f8f3ea;
}

.result-external-note, .result-contact-note {
    margin: 0 0 16px;
}

.staging-status {
    margin: 0 0 14px;
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(24,34,45,.055);
    color: var(--ink-650);
    font-size: 13px;
    line-height: 1.45;
}

.contact-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(2,9,16,.74);
    backdrop-filter: blur(8px);
    display: grid;
    place-items: center;
    padding: 20px;
    animation: modalFade .16s ease both;
}

.contact-modal {
    width: min(100%,520px);
    max-height: min(86vh,760px);
    overflow: auto;
    position: relative;
    background: var(--ivory-50);
    color: var(--ink-950);
    border: 1px solid rgba(217,176,111,.34);
    border-radius: 22px;
    padding: 30px;
    box-shadow: 0 30px 90px rgba(0,0,0,.42);
}

.contact-modal-kicker {
    font-size: 12px;
    font-weight: 750;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--gold-600);
    margin: 0 42px 10px 0;
}

.contact-modal h2 {
    font-size: clamp(27px,5vw,36px);
    line-height: 1.12;
    letter-spacing: -.025em;
    margin: 0 38px 12px 0;
}

.contact-modal p {
    color: var(--ink-650);
    font-size: 15px;
    line-height: 1.55;
    margin: 0;
}

.contact-modal-close {
    position: absolute;
    right: 15px;
    top: 14px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--ink-650);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

    .contact-modal-close:hover, .contact-modal-close:focus-visible {
        color: var(--ink-950);
        border-color: rgba(184,131,63,.5);
        outline: 3px solid rgba(201,154,87,.16);
    }

.contact-platforms {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 23px 0 16px;
}

.contact-platform {
    min-height: 96px;
    border: 1px solid rgba(184,131,63,.26);
    border-radius: 15px;
    background: #fffaf1;
    color: var(--ink-950);
    padding: 16px;
    text-align: left;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

    .contact-platform:hover {
        transform: translateY(-1px);
        border-color: var(--gold-500);
        box-shadow: 0 10px 22px rgba(50,35,14,.08);
    }

    .contact-platform:focus-visible {
        outline: 3px solid rgba(201,154,87,.28);
        outline-offset: 2px;
    }

    .contact-platform strong {
        font-size: 20px;
    }

    .contact-platform span {
        font-size: 13px;
        color: var(--ink-650);
    }

.contact-modal-status {
    min-height: 46px;
    padding: 10px 12px !important;
    border-radius: 10px;
    background: rgba(24,34,45,.055);
    font-size: 13px !important;
    line-height: 1.45 !important;
    margin: 0 0 16px !important;
}

    .contact-modal-status:focus {
        outline: 2px solid rgba(201,154,87,.32);
        outline-offset: 2px;
    }

.contact-modal-cancel {
    width: 100%;
}

@keyframes modalFade {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.site-footer {
    position: relative;
    z-index: 4;
    margin-top: 12px;
    border-top: 1px solid rgba(217,176,111,.19);
    background: linear-gradient(180deg, rgba(4,14,24,.86), rgba(4,12,20,.97));
    color: rgba(250,248,243,.76);
}

    .site-footer:before {
        content: "";
        position: absolute;
        inset: 0;
        pointer-events: none;
        background: radial-gradient(circle at 82% 10%, rgba(201,154,87,.06), transparent 28rem);
    }

.footer-inner {
    position: relative;
    max-width: 1240px;
    margin: 0 auto;
    padding: 34px 28px 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.06fr 1.25fr .72fr;
    gap: 34px 44px;
    align-items: start;
}

.footer-zone {
    min-width: 0;
}

.footer-title {
    margin: 0 0 12px;
    color: var(--ivory-50);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
}

.footer-operator-name {
    margin: 0 0 8px;
    color: #fff;
    font-weight: 620;
    font-size: 14px;
    line-height: 1.45;
}

.footer-meta {
    display: grid;
    gap: 5px;
    font-size: 13px;
    line-height: 1.48;
    color: rgba(250,248,243,.62);
}

    .footer-meta a {
        display: block;
        width: auto;
        min-width: 0;
        max-width: 100%;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 20px;
    font-size: 13px;
    line-height: 1.45;
}

    .footer-links a {
        display: inline-block;
        width: fit-content;
        max-width: 100%;
    }

.footer-analytics {
    margin-top: 13px;
}

.footer-analytics-btn {
    appearance: none;
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(255,255,255,.045);
    color: rgba(250,248,243,.72);
    border-radius: 9px;
    padding: 8px 11px;
    font-size: 12.5px;
    line-height: 1.2;
}

    .footer-analytics-btn[disabled] {
        cursor: not-allowed;
        opacity: .62;
    }

.footer-analytics-hint {
    margin-top: 6px;
    color: rgba(250,248,243,.38);
    font-size: 11.5px;
    line-height: 1.4;
}

.developer-logo {
    display: block;
    width: min(100%,205px);
    height: auto;
}

.developer-note {
    margin-top: 9px;
    color: rgba(250,248,243,.42);
    font-size: 11.5px;
    line-height: 1.4;
}

.footer-bottom {
    margin-top: 25px;
    padding-top: 17px;
    border-top: 1px solid rgba(255,255,255,.07);
    font-size: 11.5px;
    line-height: 1.45;
    color: rgba(250,248,243,.40);
}

@media(max-width:800px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-zone.developer-zone {
        grid-column: 1/-1;
    }

    .footer-inner {
        padding: 30px 20px 28px;
    }
}

@media(max-width:560px) {
    .footer-inner {
        padding: 28px 16px 26px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 27px;
    }

    .footer-zone.developer-zone {
        grid-column: auto;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 9px;
    }

    .developer-logo {
        width: 190px;
    }

    .legal-note {
        padding: 14px 14px;
        font-size: 13.5px;
    }

    .hero .legal-note {
        font-size: 13.5px;
    }

    .result-orientation {
        margin-bottom: 20px;
    }
}

/* Optional analytics choice UI */
.analytics-choice-banner {
    position: fixed;
    z-index: 980;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    width: min(940px, calc(100% - 32px));
    background: rgba(248,246,240,.985);
    color: var(--ink-950);
    border: 1px solid rgba(201,154,87,.38);
    border-radius: 18px;
    box-shadow: 0 26px 80px rgba(0,0,0,.38);
    padding: 18px 20px;
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    gap: 18px;
    align-items: center;
}

.analytics-choice-copy {
    font-size: 13.5px;
    line-height: 1.52;
    color: var(--ink-650);
}

    .analytics-choice-copy strong {
        color: var(--ink-950);
    }

.analytics-choice-links {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 10px;
    margin-top: 7px;
    font-size: 12.5px;
}

    .analytics-choice-links a {
        color: var(--ink-800);
        text-underline-offset: 3px;
        text-decoration-color: rgba(184,131,63,.65);
    }

.analytics-choice-actions {
    display: flex;
    gap: 9px;
    align-items: stretch;
    flex-wrap: wrap;
    justify-content: flex-end;
}

    .analytics-choice-actions .btn {
        min-width: 176px;
        padding: 12px 16px;
        font-size: 13px;
    }

.analytics-choice-banner .btn.secondary {
    background: #fff;
    color: var(--ink-800);
    border-color: rgba(24,34,45,.16);
}

body.analytics-choice-open {
    padding-bottom: 190px;
}

.analytics-settings-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1100;
    background: rgba(2,9,16,.76);
    backdrop-filter: blur(8px);
    display: grid;
    place-items: center;
    padding: 20px;
}

.analytics-settings-modal {
    width: min(100%,650px);
    max-height: min(86vh,760px);
    overflow: auto;
    position: relative;
    background: var(--ivory-50);
    color: var(--ink-950);
    border: 1px solid rgba(217,176,111,.34);
    border-radius: 22px;
    padding: 30px;
    box-shadow: 0 30px 90px rgba(0,0,0,.45);
}

    .analytics-settings-modal h2 {
        font-size: clamp(27px,5vw,36px);
        line-height: 1.12;
        letter-spacing: -.025em;
        margin: 0 44px 12px 0;
    }

.analytics-settings-kicker {
    font-size: 12px;
    font-weight: 750;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--gold-600);
    margin: 0 42px 10px 0;
}

.analytics-settings-close {
    position: absolute;
    right: 15px;
    top: 14px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--ink-650);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

    .analytics-settings-close:focus-visible {
        outline: 3px solid rgba(201,154,87,.22);
        outline-offset: 2px;
    }

.analytics-settings-copy {
    font-size: 14.5px;
    line-height: 1.58;
    color: var(--ink-650);
}

.analytics-settings-links {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 12px;
    margin-top: 13px;
    font-size: 13px;
}

    .analytics-settings-links a {
        color: var(--ink-800);
        text-underline-offset: 3px;
    }

.analytics-settings-staging {
    margin: 18px 0 0;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(13,90,96,.07);
    border: 1px solid rgba(13,90,96,.13);
    color: var(--ink-650);
    font-size: 12.8px;
    line-height: 1.48;
}

.analytics-settings-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 20px;
}

.analytics-choice-code {
    margin-top: 17px;
    padding: 13px 14px;
    border-radius: 12px;
    background: rgba(24,34,45,.055);
    border: 1px solid var(--line);
}

.analytics-choice-code-label {
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--ink-500);
    font-weight: 700;
}

.analytics-choice-code-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 7px;
}

.analytics-choice-code code {
    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
    font-size: 12.5px;
    word-break: break-all;
    color: var(--ink-800);
}

.analytics-copy-btn {
    flex: none;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 8px;
    padding: 7px 9px;
    cursor: pointer;
    color: var(--ink-650);
    font-size: 12px;
}

.analytics-copy-status {
    min-height: 20px;
    margin-top: 6px;
    color: var(--teal);
    font-size: 12px;
}

.analytics-confirmation {
    position: fixed;
    z-index: 1150;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);
    width: min(560px, calc(100% - 32px));
    padding: 13px 16px;
    border-radius: 13px;
    background: #f8f6f0;
    color: var(--ink-800);
    border: 1px solid rgba(201,154,87,.36);
    box-shadow: 0 18px 46px rgba(0,0,0,.30);
    font-size: 13px;
    line-height: 1.45;
}

.footer-analytics-btn {
    cursor: pointer;
}

    .footer-analytics-btn:hover, .footer-analytics-btn:focus-visible {
        border-color: rgba(217,176,111,.42);
        color: #fff;
        outline: none;
    }

    .footer-analytics-btn:focus-visible {
        box-shadow: 0 0 0 3px rgba(201,154,87,.16);
    }

@media(max-width:720px) {
    .analytics-choice-banner {
        grid-template-columns: 1fr;
        gap: 14px;
        bottom: 10px;
        width: calc(100% - 20px);
        padding: 16px;
    }

    .analytics-choice-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        justify-content: stretch;
    }

        .analytics-choice-actions .btn {
            min-width: 0;
        }

    .analytics-settings-modal {
        padding: 26px 20px 20px;
        border-radius: 18px;
    }

    .analytics-settings-actions {
        grid-template-columns: 1fr;
    }

    body.analytics-choice-open {
        padding-bottom: 300px;
    }
}

@media(max-width:430px) {
    .analytics-choice-actions {
        grid-template-columns: 1fr;
    }

    .analytics-choice-copy {
        font-size: 13px;
    }

    body.analytics-choice-open {
        padding-bottom: 365px;
    }
}

@media(max-width:620px) {
    .contact-modal {
        padding: 26px 20px 20px;
        border-radius: 18px;
    }

    .contact-platforms {
        grid-template-columns: 1fr;
    }

    .contact-platform {
        min-height: 76px;
    }
}
