/* Investor-specific presentation layer for the public PV landing and assessment pages. */

body.pv-site {
    --pv-night: #10263d;
    --pv-night-strong: #081a2c;
    --pv-sun: #e8a72d;
    --pv-sun-soft: rgba(232, 167, 45, 0.16);
    --pv-mist: #eef4f7;
    background: var(--paper);
}

body.pv-site .topbar--pv {
    min-height: 82px;
    border-bottom-color: color-mix(in srgb, var(--line) 75%, var(--accent));
}

.brand--pv {
    gap: 12px;
}

.brand--pv .brand__mark {
    width: 39px;
    height: 39px;
    border-color: color-mix(in srgb, var(--accent) 55%, var(--line));
    border-radius: 50%;
    background: linear-gradient(145deg, var(--pv-sun), #f8d77c);
    color: var(--pv-night-strong);
    font-weight: 900;
    letter-spacing: -0.04em;
}

.brand__wordmark {
    display: grid;
    gap: 1px;
}

.brand__wordmark strong {
    font-size: 15px;
    line-height: 1.1;
}

.brand__wordmark small {
    color: var(--muted);
    font-size: 11px;
    font-weight: 650;
    line-height: 1.15;
}

body.pv-site main {
    gap: 0;
}

.pv-hero,
.pv-section,
.pv-contact,
.pv-assessment-hero {
    width: 100%;
    padding-right: max(24px, calc((100vw - var(--max)) / 2));
    padding-left: max(24px, calc((100vw - var(--max)) / 2));
}

.pv-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(310px, 0.82fr);
    grid-template-areas:
        "copy panel"
        "media panel";
    gap: 36px 64px;
    align-items: start;
    padding-top: clamp(46px, 6vw, 86px);
    padding-bottom: 74px;
    overflow: hidden;
    background:
        radial-gradient(circle at 17% 15%, var(--pv-sun-soft), transparent 24%),
        linear-gradient(145deg, color-mix(in srgb, var(--paper) 94%, var(--pv-mist)) 0%, var(--paper-soft) 100%);
}

.pv-hero__copy {
    grid-area: copy;
    max-width: 760px;
}

.pv-hero h1,
.pv-assessment-hero h1 {
    max-width: 780px;
    margin: 10px 0 0;
    font-size: clamp(39px, 5vw, 68px);
    line-height: 0.98;
    letter-spacing: -0.045em;
    hyphens: auto;
    overflow-wrap: anywhere;
}

.pv-hero .lead,
.pv-assessment-hero .lead {
    max-width: 720px;
    margin: 24px 0 0;
    font-size: clamp(18px, 2vw, 21px);
    line-height: 1.58;
}

.pv-hero__thesis {
    max-width: 680px;
    margin: 20px 0 0;
    color: var(--muted-on-soft);
    font-size: 16px;
    line-height: 1.6;
}

.pv-hero__actions {
    margin-top: 28px;
}

.pv-hero__facts,
.pv-contact__copy ul,
.pv-document-list,
.pv-assessment-hero__guide ol {
    display: grid;
    gap: 10px;
    padding: 0;
    margin: 26px 0 0;
    list-style: none;
}

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

.pv-hero__facts li,
.pv-contact__copy li,
.pv-document-list li,
.pv-assessment-hero__guide li {
    position: relative;
    padding-left: 20px;
    color: var(--muted-on-soft);
    font-size: 14px;
    font-weight: 690;
    line-height: 1.45;
}

.pv-hero__facts li::before,
.pv-contact__copy li::before,
.pv-document-list li::before,
.pv-assessment-hero__guide li::before {
    position: absolute;
    top: 0.42em;
    left: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--pv-sun);
    content: "";
}

.pv-hero__media {
    grid-area: media;
    position: relative;
    min-height: 315px;
    margin: 0;
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--line) 68%, var(--accent));
    border-radius: 18px;
    background: var(--panel-strong);
    box-shadow: 0 34px 86px rgba(9, 31, 54, 0.18);
}

.pv-hero__media picture,
.pv-hero__media img,
.pv-assessment-hero__media picture,
.pv-assessment-hero__media img {
    display: block;
    width: 100%;
    height: 100%;
}

.pv-hero__media img,
.pv-assessment-hero__media img {
    min-height: inherit;
    object-fit: cover;
}

.pv-hero__media::after,
.pv-assessment-hero__media::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 42%, rgba(4, 18, 31, 0.74) 100%);
    content: "";
    pointer-events: none;
}

.pv-hero__media-caption {
    position: absolute;
    right: 24px;
    bottom: 22px;
    z-index: 1;
    display: grid;
    gap: 2px;
    color: #fff;
}

.pv-hero__media-caption span {
    font-size: 12px;
    font-weight: 700;
    opacity: 0.82;
    text-transform: uppercase;
}

.pv-hero__media-caption strong {
    font-size: clamp(18px, 2.1vw, 27px);
    line-height: 1.08;
}

.pv-lead-panel,
.pv-assessment-hero__guide {
    grid-area: panel;
    position: sticky;
    top: 104px;
    padding: 26px;
    border: 1px solid color-mix(in srgb, var(--accent) 38%, var(--line));
    border-radius: 18px;
    background: color-mix(in srgb, var(--panel) 92%, var(--pv-mist));
    box-shadow: 0 25px 72px rgba(9, 31, 54, 0.12);
}

.pv-lead-panel__eyebrow {
    margin: 0;
    color: var(--accent);
    font-size: 12px;
    font-weight: 850;
    letter-spacing: 0.045em;
    text-transform: uppercase;
}

.pv-lead-panel h2,
.pv-assessment-hero__guide h2 {
    margin: 9px 0 0;
    font-size: 25px;
    line-height: 1.08;
    letter-spacing: -0.025em;
}

.pv-lead-panel > p:not(.pv-lead-panel__eyebrow):not(.pv-lead-panel__note),
.pv-assessment-hero__guide > p:not(.pv-lead-panel__eyebrow) {
    margin: 12px 0 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.55;
}

.pv-lead-form {
    display: grid;
    gap: 14px;
    margin-top: 22px;
}

.pv-lead-form label,
.pv-contact-form label {
    display: grid;
    gap: 7px;
}

.pv-lead-form input,
.pv-contact-form input,
.pv-contact-form textarea {
    width: 100%;
}

.pv-lead-form__submit {
    display: grid;
    gap: 15px;
    margin-top: 4px;
    padding-top: 17px;
    border-top: 1px solid var(--line);
}

.pv-lead-form__submit .button {
    width: 100%;
    justify-content: center;
    text-align: center;
}

.pv-lead-panel__note {
    margin: 18px 0 0;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 12px;
    line-height: 1.5;
}

.pv-trust-bar {
    display: grid;
    grid-template-columns: minmax(170px, 0.38fr) minmax(0, 1fr);
    gap: 24px;
    align-items: center;
    padding: 18px max(24px, calc((100vw - var(--max)) / 2));
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--pv-night);
    color: #edf5fc;
}

.pv-trust-bar__label {
    color: #b7cde0;
    font-size: 12px;
    font-weight: 840;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.pv-trust-bar > div {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.pv-trust-bar > div span {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 7px 12px;
    border: 1px solid rgba(210, 232, 248, 0.26);
    border-radius: 999px;
    color: #f7fbff;
    font-size: 13px;
    font-weight: 710;
}

.pv-section {
    padding-top: 94px;
    padding-bottom: 94px;
}

.pv-section__head {
    max-width: 800px;
}

.pv-section__head h2,
.pv-document-copy h2,
.pv-contact h2 {
    max-width: 820px;
    margin: 8px 0 0;
    font-size: clamp(29px, 3.7vw, 49px);
    line-height: 1.04;
    letter-spacing: -0.04em;
}

.pv-section__head > p:last-child,
.pv-document-copy > p,
.pv-contact__copy > p {
    margin: 17px 0 0;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.65;
}

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

.pv-decision-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 15px;
    margin-top: 38px;
}

.pv-decision-card,
.pv-check-card {
    display: flex;
    flex-direction: column;
    min-height: 224px;
    padding: 23px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--panel);
    box-shadow: 0 14px 40px rgba(9, 31, 54, 0.045);
}

.pv-decision-card > p,
.pv-check-card > p {
    margin: 0;
    color: var(--accent);
    font-size: 12px;
    font-weight: 820;
    letter-spacing: 0.035em;
    text-transform: uppercase;
}

.pv-decision-card h3,
.pv-check-card h3 {
    margin: 16px 0 0;
    font-size: 21px;
    line-height: 1.12;
    letter-spacing: -0.025em;
}

.pv-decision-card > span,
.pv-check-card > span {
    margin-top: 11px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.58;
}

.pv-section--process {
    background: linear-gradient(135deg, var(--pv-night-strong), var(--pv-night));
    color: #f5faff;
}

.pv-section--process .eyebrow {
    color: #f0be57;
}

.pv-section--process .pv-section__head > p:last-child,
.pv-section--process .pv-process-list p {
    color: #b9ccda;
}

.pv-process-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    padding: 0;
    margin: 42px 0 0;
    list-style: none;
    counter-reset: pv-process;
}

.pv-process-list li {
    position: relative;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 14px;
    padding: 22px;
    border: 1px solid rgba(205, 227, 244, 0.18);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
    counter-increment: pv-process;
}

.pv-process-list__number::before {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--pv-sun);
    color: var(--pv-night-strong);
    content: counter(pv-process);
    font-size: 15px;
    font-weight: 900;
}

.pv-process-list h3 {
    margin: 0;
    color: #fff;
    font-size: 20px;
    line-height: 1.15;
}

.pv-process-list p {
    margin: 9px 0 0;
    font-size: 14px;
    line-height: 1.58;
}

.pv-section--checks {
    background: color-mix(in srgb, var(--paper-soft) 78%, var(--pv-mist));
}

.pv-check-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-top: 36px;
}

.pv-check-card {
    min-height: 274px;
}

.pv-check-card .button {
    margin-top: auto;
    align-self: flex-start;
}

.pv-section--documents {
    display: grid;
    grid-template-columns: minmax(0, 0.86fr) minmax(360px, 0.7fr);
    gap: clamp(34px, 7vw, 104px);
    align-items: center;
}

.pv-document-copy .button {
    margin-top: 27px;
}

.pv-document-list {
    gap: 0;
    margin: 0;
    border-top: 1px solid var(--line);
}

.pv-document-list li {
    padding: 17px 0 17px 25px;
    border-bottom: 1px solid var(--line);
    font-size: 15px;
}

.pv-document-list li::before {
    top: 1.15em;
    background: var(--accent);
}

.pv-section--risk {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.62fr);
    gap: 42px;
    align-items: center;
    background: color-mix(in srgb, var(--danger-tint) 60%, var(--paper));
}

.pv-section--risk > div > p:not(.eyebrow) {
    max-width: 720px;
    color: var(--muted);
    line-height: 1.62;
}

.pv-risk-card {
    padding: 25px;
    border: 1px solid var(--danger-edge);
    border-left: 5px solid var(--danger);
    border-radius: 13px;
    background: var(--panel);
}

.pv-risk-card h3 {
    margin: 0;
    font-size: 20px;
}

.pv-risk-card ul {
    display: grid;
    gap: 10px;
    padding-left: 19px;
    margin: 18px 0 24px;
    color: var(--muted-on-soft);
    font-size: 14px;
    line-height: 1.48;
}

.pv-faq-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 36px;
}

.pv-faq-list details {
    padding: 0 20px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--panel);
}

.pv-faq-list summary {
    position: relative;
    padding: 18px 28px 18px 0;
    cursor: pointer;
    font-weight: 780;
    line-height: 1.38;
    list-style: none;
}

.pv-faq-list summary::-webkit-details-marker {
    display: none;
}

.pv-faq-list summary::after {
    position: absolute;
    top: 16px;
    right: 0;
    color: var(--accent);
    content: "+";
    font-size: 23px;
    font-weight: 500;
}

.pv-faq-list details[open] summary::after {
    content: "–";
}

.pv-faq-list p {
    margin: 0 0 19px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.58;
}

.pv-contact {
    display: grid;
    grid-template-columns: minmax(0, 0.78fr) minmax(390px, 0.8fr);
    gap: clamp(38px, 8vw, 120px);
    padding-top: 92px;
    padding-bottom: 100px;
    background: var(--pv-night-strong);
    color: #f6fbff;
}

.pv-contact .eyebrow {
    color: #efbd55;
}

.pv-contact__copy > p,
.pv-contact__copy li {
    color: #b7cad9;
}

.pv-contact__copy li::before {
    background: #f0be57;
}

.pv-contact-form {
    display: grid;
    gap: 16px;
    padding: 26px;
    border: 1px solid rgba(207, 226, 241, 0.22);
    border-radius: 16px;
    background: #f9fcff;
    color: #132b42;
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.22);
}

.pv-contact-form__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.pv-contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.pv-contact-form .field-label,
.pv-lead-form .field-label {
    color: inherit;
}

.pv-contact-form .checkbox,
.pv-lead-form .checkbox {
    color: inherit;
}

.pv-contact-form .checkbox a,
.pv-lead-form .checkbox a {
    color: currentColor;
    text-decoration-color: color-mix(in srgb, currentColor 52%, transparent);
}

.pv-contact-form .button {
    justify-content: center;
    text-align: center;
}

.pv-footer {
    border-top: 1px solid rgba(207, 226, 241, 0.2);
    background: var(--pv-night-strong);
    color: #c2d2df;
}

.pv-sticky-cta {
    position: fixed;
    right: max(18px, calc((100vw - var(--max)) / 2));
    bottom: 20px;
    z-index: 9;
    display: none;
    align-items: center;
    gap: 13px;
    padding: 10px 10px 10px 16px;
    border: 1px solid rgba(232, 167, 45, 0.45);
    border-radius: 999px;
    background: rgba(8, 26, 44, 0.94);
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.28);
    color: #f4f8fb;
    backdrop-filter: blur(14px);
}

.pv-sticky-cta span {
    font-size: 13px;
    font-weight: 740;
}

.pv-sticky-cta .button {
    padding: 10px 14px;
    border-radius: 999px;
    font-size: 13px;
}

.pv-assessment-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(310px, 0.8fr);
    grid-template-areas:
        "copy guide"
        "media guide";
    gap: 36px 64px;
    align-items: start;
    padding-top: clamp(46px, 6vw, 84px);
    padding-bottom: 78px;
    background: linear-gradient(145deg, color-mix(in srgb, var(--paper) 94%, var(--pv-mist)) 0%, var(--paper-soft) 100%);
}

.pv-assessment-hero__copy {
    grid-area: copy;
}

.pv-assessment-hero__media {
    grid-area: media;
    position: relative;
    min-height: 295px;
    overflow: hidden;
    margin: 0;
    border: 1px solid color-mix(in srgb, var(--line) 68%, var(--accent));
    border-radius: 18px;
    box-shadow: 0 34px 86px rgba(9, 31, 54, 0.16);
}

.pv-assessment-hero__media figcaption {
    position: absolute;
    right: 20px;
    bottom: 17px;
    z-index: 1;
    color: #fff;
    font-size: 15px;
    font-weight: 770;
}

.pv-assessment-hero__guide {
    grid-area: guide;
}

.pv-assessment-hero__guide ol {
    counter-reset: pv-guide;
}

.pv-assessment-hero__guide li {
    counter-increment: pv-guide;
}

.pv-assessment-hero__guide li::before {
    display: grid;
    place-items: center;
    top: 0;
    width: 16px;
    height: 16px;
    background: var(--pv-sun);
    color: var(--pv-night-strong);
    content: counter(pv-guide);
    font-size: 10px;
    font-weight: 850;
}

.pv-assessment-signals {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 23px;
}

.pv-assessment-signals span {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 7px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--panel);
    color: var(--accent-strong);
    font-size: 13px;
    font-weight: 740;
}

.pv-section--wizard {
    padding-top: 84px;
    background: var(--paper);
}

.pv-wizard-shell {
    max-width: 780px;
    margin-top: 35px;
}

.pv-assessment-form {
    display: grid;
    gap: 18px;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--panel);
    box-shadow: 0 20px 56px rgba(9, 31, 54, 0.06);
}

.pv-assessment-form fieldset {
    display: grid;
    gap: 10px;
    min-width: 0;
    padding: 0;
    border: 0;
}

.pv-assessment-form legend {
    margin-bottom: 8px;
    color: var(--ink);
    font-size: clamp(20px, 2.4vw, 26px);
    font-weight: 790;
    line-height: 1.24;
}

.pv-assessment-form .option {
    align-items: start;
    min-height: 52px;
    border-radius: 10px;
}

.pv-wizard-progress {
    margin: 0;
    color: var(--accent);
    font-size: 13px;
    font-weight: 810;
    letter-spacing: 0.035em;
    text-transform: uppercase;
}

.pv-wizard-controls {
    display: flex;
    gap: 10px;
    justify-content: space-between;
}

.pv-assessment-target {
    margin-top: 20px;
}

.pv-contact--assessment {
    margin-top: 0;
}

@media (max-width: 1040px) {
    .pv-hero,
    .pv-assessment-hero {
        grid-template-columns: minmax(0, 1fr) minmax(300px, 0.82fr);
        gap: 32px 38px;
    }

    .pv-decision-grid,
    .pv-check-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pv-process-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pv-section--documents,
    .pv-contact,
    .pv-section--risk {
        grid-template-columns: minmax(0, 1fr) minmax(310px, 0.72fr);
        gap: 38px;
    }
}

@media (max-width: 820px) {
    body.pv-site .topbar--pv {
        min-height: 70px;
    }

    .pv-hero,
    .pv-assessment-hero {
        grid-template-columns: 1fr;
        grid-template-areas:
            "copy"
            "media"
            "panel";
        gap: 27px;
        padding-top: 42px;
        padding-bottom: 52px;
    }

    .pv-assessment-hero {
        grid-template-areas:
            "copy"
            "media"
            "guide";
    }

    .pv-hero h1,
    .pv-assessment-hero h1 {
        font-size: clamp(37px, 10.4vw, 55px);
    }

    .pv-lead-panel,
    .pv-assessment-hero__guide {
        position: static;
    }

    .pv-section,
    .pv-contact {
        padding-top: 66px;
        padding-bottom: 66px;
    }

    .pv-section--documents,
    .pv-contact,
    .pv-section--risk {
        grid-template-columns: 1fr;
    }

    .pv-trust-bar {
        grid-template-columns: 1fr;
        gap: 11px;
    }

    .pv-sticky-cta {
        display: flex;
    }

    .pv-footer {
        padding-bottom: 90px;
    }
}

@media (max-width: 600px) {
    .brand--pv .brand__wordmark small,
    .theme-toggle {
        display: none;
    }

    .pv-hero,
    .pv-section,
    .pv-contact,
    .pv-assessment-hero {
        padding-right: 18px;
        padding-left: 18px;
    }

    .pv-hero__facts,
    .pv-decision-grid,
    .pv-check-grid,
    .pv-process-list,
    .pv-faq-list,
    .pv-contact-form__grid {
        grid-template-columns: 1fr;
    }

    .pv-hero__facts {
        margin-top: 22px;
    }

    .pv-hero__media,
    .pv-assessment-hero__media {
        min-height: 235px;
        border-radius: 14px;
    }

    .pv-lead-panel,
    .pv-assessment-hero__guide,
    .pv-contact-form,
    .pv-assessment-form {
        padding: 20px;
        border-radius: 14px;
    }

    .pv-decision-card,
    .pv-check-card,
    .pv-process-list li {
        min-height: 0;
        padding: 20px;
    }

    .pv-wizard-controls {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .pv-wizard-controls .button,
    .pv-assessment-form > .button,
    .pv-contact-form .button {
        justify-content: center;
        text-align: center;
    }

    .pv-sticky-cta {
        right: 12px;
        bottom: 12px;
        left: 12px;
        justify-content: space-between;
    }

    .pv-sticky-cta span {
        max-width: 120px;
        line-height: 1.2;
    }
}
