:root {
    color-scheme: light;
    --ink: #111;
    --paper: #fff;
    --white: #fff;
    --line: #e5e5e5;
    --muted: #666;
    --content: 1180px;
    --accent: #111;
    --accent-hover: #333;
    --section-space: 4rem;
    font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    font-synthesis: none;
    text-rendering: optimizeLegibility;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.65;
}

a {
    color: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
    outline: 3px solid #666;
    outline-offset: 3px;
}

.skip-link,
.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;
}

.skip-link:focus {
    z-index: 20;
    width: auto;
    height: auto;
    margin: 1rem;
    padding: .7rem 1rem;
    clip: auto;
    background: var(--white);
    color: var(--ink);
    border-radius: 6px;
    box-shadow: 0 8px 24px rgb(0 0 0 / 16%);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 5;
    display: flex;
    min-height: 82px;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 0 max(6vw, calc((100vw - var(--content)) / 2));
    border-bottom: 1px solid rgb(0 0 0 / 8%);
    background: rgb(255 255 255 / 96%);
    box-shadow: 0 4px 20px rgb(0 0 0 / 3%);
    backdrop-filter: blur(14px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    text-decoration: none;
}

.brand-mark {
    display: block;
    width: auto;
    height: 72px;
    max-width: min(220px, 42vw);
    margin: 5px;
    object-fit: contain;
    border: 0;
}

.brand-footer .brand-mark {
    height: 52px;
    max-width: min(200px, 55vw);
    filter: brightness(0) invert(1);
}

.brand-name {
    display: grid;
    color: var(--ink);
    font-size: 13px;
    font-weight: 750;
    letter-spacing: .14em;
    line-height: 1.2;
}

.brand-name span {
    margin-top: 3px;
    color: var(--muted);
    font-size: 8px;
    font-weight: 600;
    letter-spacing: .28em;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: clamp(.85rem, 2.4vw, 2rem);
}

.site-nav a,
.footer-links a {
    color: var(--ink);
    font-size: 13px;
    font-weight: 550;
    text-decoration: none;
    transition: color .18s ease, background-color .18s ease, border-color .18s ease;
}

.site-nav a:hover {
    color: var(--accent-hover);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.site-nav a[aria-current="page"] {
    color: var(--accent-hover);
}

.footer-links a:hover,
.text-link:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.site-nav .nav-contact {
    padding: .68rem 1rem;
    border: 1px solid var(--accent);
    border-radius: 7px;
    background: var(--accent);
    color: var(--white);
}

.site-nav .nav-contact:hover {
    border-color: var(--accent-hover);
    background: var(--accent-hover);
    color: var(--white);
    text-decoration: none;
}

.nav-toggle {
    display: none;
}

.hero {
    --hero-title-size: clamp(4rem, 9.5vw, 8rem);
    position: relative;
    display: flex;
    min-height: 560px;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    overflow: hidden;
    padding: 3.5rem max(6vw, calc((100vw - var(--content)) / 2));
    background: radial-gradient(ellipse at 82% 18%, rgb(22 22 22), transparent 31rem), radial-gradient(ellipse at 12% 100%, rgb(0 0 0 / 55%), #000000 36rem), linear-gradient(118deg, #000000 0%, #000000 58%, #000000 100%);
    color: #fff;
}

.hero::after {
    position: absolute;
    right: max(4vw, calc((100vw - var(--content)) / 2));
    bottom: -180px;
    width: min(45vw, 520px);
    height: min(45vw, 520px);
    border: 1px solid rgb(255 255 255 / 18%);
    border-radius: 50%;
    box-shadow: 0 0 0 42px rgb(255 255 255 / 4%), 0 0 0 86px rgb(255 255 255 / 3%);
    content: "";
    pointer-events: none;
}

.hero-copy,
.hero-aside {
    position: relative;
    z-index: 1;
}

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

.eyebrow {
    margin: 0 0 1.15rem;
    color: var(--accent-hover);
    font-size: 10px;
    font-weight: 750;
    letter-spacing: .2em;
    line-height: 1.5;
}

.hero .eyebrow {
    color: #ccc;
}

.hero h1 {
    max-width: 790px;
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: var(--hero-title-size);
    font-weight: 400;
    letter-spacing: -.065em;
    line-height: .96;
}

.hero h1 span {
    color: #ccc;
}

.hero-lead {
    max-width: 660px;
    margin: 1.7rem 0 .55rem;
    color: #fff;
    font-size: clamp(18px, 2vw, 23px);
    font-weight: 450;
    line-height: 1.4;
}

.hero-description {
    max-width: 530px;
    margin: 0 0 1.8rem;
    color: #ccc;
    font-size: 15px;
}

.button {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: space-between;
    gap: 1.6rem;
    padding: .82rem 1.15rem;
    border: 1px solid transparent;
    border-radius: 7px;
    font: inherit;
    font-size: 13px;
    font-weight: 650;
    text-decoration: none;
    transition: transform .18s ease, background-color .18s ease, color .18s ease, box-shadow .18s ease;
}

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

.button-light {
    background: #fff;
    color: #111;
    box-shadow: 0 7px 20px rgb(0 0 0 / 12%);
}

.button-light:hover {
    background: #fff;
    color: var(--accent);
    box-shadow: 0 10px 24px rgb(0 0 0 / 18%);
}

.button-dark {
    width: 100%;
    border-color: var(--accent);
    background: var(--accent);
    color: #fff;
    cursor: pointer;
}

.button-dark:hover {
    background: var(--accent-hover);
}

.button:disabled {
    cursor: not-allowed;
    opacity: .48;
}

.hero-aside {
    display: flex;
    min-width: 135px;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.4rem;
    align-self: flex-end;
    padding-bottom: 1.1rem;
    color: #ccc;
}

.hero-index {
    font-size: 10px;
    letter-spacing: .12em;
}

.hero-line {
    width: 100%;
    height: 1px;
    background: rgb(255 255 255 / 70%);
}

.hero-aside-text {
    font-size: 12px;
    line-height: 1.6;
}

.section-wrap {
    max-width: var(--content);
    margin: 0 auto;
    padding: var(--section-space) 2rem;
}

.intro {
    padding-bottom: 3.25rem;
}

.intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, .7fr);
    gap: clamp(2rem, 6vw, 5rem);
    align-items: start;
}

.intro-grid h2 {
    margin: 0;
    color: var(--ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.35rem, 4.8vw, 4rem);
    font-weight: 400;
    letter-spacing: -.045em;
    line-height: 1.12;
}

.intro-copy {
    max-width: 430px;
    color: #555;
    font-size: 15px;
    line-height: 1.8;
}

.intro-copy p:first-child {
    margin-top: 0;
}

.intro-copy strong {
    color: var(--accent);
    font-weight: 600;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1.2rem, 3vw, 2.4rem);
    padding: .5rem 2rem var(--section-space);
}

.step {
    min-height: 0;
    padding: 1rem 1.25rem 1rem 0;
    border-top: 1px solid #ddd;
}

.step-number {
    color: #555;
    font-size: 12px;
    font-weight: 700;
}

.step h3 {
    margin: 1.2rem 0 .4rem;
    color: var(--ink);
    font-size: 20px;
    font-weight: 650;
    letter-spacing: -.025em;
}

.step p {
    max-width: 330px;
    margin: 0;
    color: #555;
    font-size: 14px;
    line-height: 1.7;
}

.contact-section,
.professional-signup {
    background:
        radial-gradient(ellipse at 8% 0%, rgb(0 0 0 / 4%), transparent 28rem),
        #f5f5f5;
}

.contact-section {
    display: grid;
    grid-template-columns: minmax(260px, .85fr) minmax(0, 1fr);
    gap: clamp(2rem, 6vw, 6rem);
    padding: var(--section-space) max(6vw, calc((100vw - var(--content)) / 2));
}

.contact-copy {
    max-width: 410px;
}

.contact-copy > p:not(.eyebrow) {
    color: #555;
    font-size: 14px;
}

.contact-copy h2,
.professional-signup h2 {
    margin: 0;
    color: var(--ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.35rem, 4.5vw, 3.7rem);
    font-weight: 400;
    letter-spacing: -.045em;
    line-height: 1.12;
    max-width: 500px;
}

.contact-copy .contact-note {
    margin-top: 2rem;
    padding-top: 1.1rem;
    border-top: 1px solid #ddd;
    color: var(--accent);
    font-weight: 600;
}

.form-panel {
    width: 100%;
    max-width: 630px;
    justify-self: end;
    padding: clamp(1.25rem, 3vw, 2rem);
    border: 1px solid rgb(0 0 0 / 9%);
    border-radius: 14px;
    background: var(--white);
    box-shadow: 0 16px 42px rgb(0 0 0 / 7%);
}

.lead-form {
    display: grid;
    gap: 1.15rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.lead-form label:not(.consent) {
    display: grid;
    gap: .48rem;
    color: #333;
    font-size: 13px;
    font-weight: 650;
}

.lead-form input:not([type="checkbox"]),
.lead-form textarea,
.lead-form select {
    width: 100%;
    min-height: 48px;
    padding: .72rem .8rem;
    border: 1px solid #ccc;
    border-radius: 7px;
    background: #fff;
    color: var(--ink);
    font: inherit;
    font-size: 14px;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.lead-form input:not([type="checkbox"]):focus,
.lead-form textarea:focus,
.lead-form select:focus {
    border-color: #555;
    box-shadow: 0 0 0 3px rgb(0 0 0 / 12%);
    outline: 0;
}

.lead-form textarea {
    min-height: 132px;
    resize: vertical;
}

.lead-form input:disabled,
.lead-form textarea:disabled {
    background: #f2f2f2;
    cursor: not-allowed;
}

.optional,
.form-footnote {
    color: #666;
}

.optional {
    font-size: 11px;
    font-weight: 400;
}

.required-marker {
    color: var(--muted);
    font-weight: 700;
}

.lead-form label.is-invalid .required-marker {
    color: #b42318;
}

.lead-form label.is-invalid input:not([type="checkbox"]),
.lead-form label.is-invalid textarea,
.lead-form label.is-invalid select {
    border-color: #b42318;
}

.lead-form label.is-invalid input[type="checkbox"] {
    outline: 2px solid #b42318;
    outline-offset: 2px;
}

.lead-form label.is-invalid input:not([type="checkbox"]):focus,
.lead-form label.is-invalid textarea:focus,
.lead-form label.is-invalid select:focus {
    border-color: #b42318;
    box-shadow: 0 0 0 3px rgb(180 35 24 / 12%);
}

.lead-form label.consent {
    display: grid;
    grid-template-columns: 18px 1fr;
    align-items: start;
    gap: .7rem;
    color: #555;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.55;
}

.consent input {
    width: 16px;
    height: 16px;
    margin: 2px 0 0;
    accent-color: var(--accent);
}

.consent a,
.policy-page a {
    color: var(--accent);
    text-underline-offset: 3px;
}

.privacy-details {
    padding: .8rem 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: rgb(245 245 245 / 65%);
}

.privacy-details summary {
    color: var(--accent);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.privacy-details-content {
    margin-top: .75rem;
    padding-top: .55rem;
    border-top: 1px solid #ddd;
    color: #555;
    font-size: 12px;
    line-height: 1.55;
}

.privacy-details-content p {
    margin: .45rem 0;
}

.privacy-details-content p:last-child {
    margin-bottom: 0;
}

.privacy-details-content a {
    color: var(--accent);
}

.form-notice,
.form-alert {
    padding: 1rem 1.1rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    background: #f5f5f5;
    color: #222;
    font-size: 13px;
}

.form-notice p {
    margin: .35rem 0 0;
}

.form-alert {
    border-color: #e5c4ba;
    background: #fff1ed;
    color: #792d25;
}

.honeypot {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-footnote {
    margin: -.5rem 0 0;
    font-size: 12px;
    line-height: 1.55;
}

.closing {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 2.6rem 2rem;
}

.closing p {
    margin: 0;
    color: var(--ink);
    font-size: 14px;
    font-weight: 600;
}

.closing a,
.text-link {
    font-size: 13px;
    font-weight: 600;
    text-underline-offset: 4px;
    color: var(--accent);
}

.site-footer {
    display: flex;
    min-height: 160px;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 2rem max(6vw, calc((100vw - var(--content)) / 2));
    background: #111;
    color: #fff;
}

.site-footer .brand-name {
    color: #fff;
}

.site-footer .brand-name span {
    color: #ccc;
}

.site-footer > p {
    color: #ccc;
    font-size: 12px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: .7rem 1.2rem;
}

.site-footer .footer-links a {
    color: #ddd;
    font-size: 12px;
}

.site-footer .footer-links a:hover {
    color: #fff;
}

.confirmation-page {
    display: flex;
    min-height: 70vh;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 5rem max(8vw, calc((100vw - 850px) / 2));
}

.confirmation-page h1,
.policy-page h1 {
    color: var(--ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.8rem, 6vw, 5.3rem);
    font-weight: 400;
    letter-spacing: -.055em;
    line-height: 1.06;
}

.confirmation-page > p:not(.eyebrow) {
    max-width: 580px;
    color: #555;
}

.confirmation-page h1 {
    margin: 0 0 1rem;
}

.confirmation-page > p.case-reference {
    display: inline-block;
    margin: .4rem 0 1.2rem;
    padding: .35rem .7rem;
    border: 1px dashed #999;
    border-radius: 6px;
    background: #f5f5f5;
    color: var(--accent);
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: .06em;
}

.confirmation-page .button {
    margin: 1.3rem 0;
}

.confirmation-page .text-link {
    margin-top: 1.5rem;
}

.policy-page {
    max-width: 900px;
    min-height: 68vh;
    margin: 0 auto;
    padding: 5rem 2rem;
}

.policy-page h1 {
    margin: 0 0 2.3rem;
}

.policy-page section {
    margin: 1.4rem 0;
    padding: 1.5rem 1.6rem;
    border: 1px solid #ddd;
    border-radius: 10px;
    background: rgb(255 255 255 / 70%);
}

.policy-page h2 {
    margin-top: 0;
    margin-bottom: .85rem;
    color: var(--accent);
    font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -.01em;
}

.policy-page section p:last-child {
    margin-bottom: 0;
}

.policy-page p {
    color: #555;
    font-size: 15px;
    line-height: 1.8;
}

.policy-page.account-page {
    max-width: 760px;
}

.account-page > section {
    margin: 1.4rem 0;
}

.account-page > .form-panel {
    margin: 1.5rem 0;
}

.account-page > .form-panel form {
    margin: 0;
}

.account-page > form {
    margin: 1.2rem 0;
}

.professional-hero {
    --hero-title-size: clamp(3.5rem, 8vw, 7rem);
    min-height: 590px;
}

.professional-hero .hero-copy > p > .text-link,
.professional-hero .hero-copy > p > a.text-link {
    color: #ddd;
}

.professional-info {
    padding-bottom: 3rem;
}

.professional-steps {
    display: grid;
    max-width: var(--content);
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1.2rem, 3vw, 2.4rem);
    margin: 0 auto;
    padding: 0 2rem var(--section-space);
}

.professional-signup {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(280px, 1fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
    padding: var(--section-space) max(6vw, calc((100vw - var(--content)) / 2));
}

.professional-signup .form-notice {
    max-width: none;
    margin: 0;
}

.profile-wizard > h1 {
    margin-bottom: .7rem;
}

.profile-wizard-steps {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    margin: 1.5rem 0;
}

.profile-wizard-steps a,
.profile-wizard-steps > span {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    gap: .55rem;
    padding: .45rem .8rem;
    border: 1px solid #ddd;
    border-radius: 999px;
    color: #555;
    font-size: 13px;
    text-decoration: none;
}

.profile-wizard-steps a[aria-current="step"] {
    border-color: #111;
    background: #111;
    color: #fff;
}

.profile-wizard-steps a > span,
.profile-wizard-steps > span > span {
    display: grid;
    width: 23px;
    height: 23px;
    place-items: center;
    border: 1px solid currentColor;
    border-radius: 50%;
    font-size: 11px;
}

.profile-wizard-steps > .is-locked {
    color: #888;
}

.profile-wizard .form-panel {
    justify-self: stretch;
}

.profile-wizard .form-panel h2 {
    margin: 0;
    color: var(--ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.6rem, 3vw, 2rem);
    font-weight: 400;
    letter-spacing: -.03em;
}

.lead-form fieldset {
    margin: 0;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.lead-form fieldset legend {
    padding: 0 .35rem;
    color: #333;
    font-size: 13px;
    font-weight: 700;
}

.lead-form fieldset > strong {
    display: block;
    margin-top: .75rem;
    color: var(--accent);
}

table {
    width: 100%;
    border-collapse: collapse;
}

.table-wrap {
    width: 100%;
    overflow-x: auto;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.policy-page .table-wrap {
    margin: 1rem 0;
}

th,
td {
    padding: .75rem .85rem;
    border-bottom: 1px solid #ddd;
    text-align: left;
    vertical-align: top;
}

th {
    background: #f2f2f2;
    color: var(--accent);
    font-size: 13px;
}

td {
    font-size: 13px;
}

@media (max-width: 760px) {
    :root {
        --section-space: 3rem;
    }

    .site-header {
        min-height: 72px;
        padding: 0 1.2rem;
        background: var(--paper);
    }

    .brand-mark {
        height: 62px;
        max-width: min(190px, 48vw);
    }

    .nav-toggle {
        display: flex;
        width: 42px;
        height: 42px;
        flex-direction: column;
        justify-content: center;
        gap: 6px;
        padding: .6rem;
        border: 1px solid #ccc;
        border-radius: 8px;
        background: transparent;
        color: var(--accent);
        cursor: pointer;
    }

    .nav-toggle > span:not(.sr-only) {
        width: 100%;
        height: 1px;
        background: currentColor;
    }

    .site-nav {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        display: none;
        align-items: stretch;
        flex-direction: column;
        gap: 0;
        padding: .5rem 1.2rem 1rem;
        border-top: 1px solid var(--line);
        background: var(--paper);
        box-shadow: 0 14px 20px rgb(0 0 0 / 8%);
    }

    .site-nav.is-open {
        display: flex;
    }

    .site-nav a {
        padding: .85rem .2rem;
    }

    .site-nav .nav-contact {
        margin-top: .45rem;
        padding: .7rem .8rem;
        text-align: center;
    }

    .hero {
        --hero-title-size: clamp(3.7rem, 15vw, 6.5rem);
        min-height: 520px;
        padding: 5rem 1.4rem 4rem;
    }

    .hero::after {
        right: -25vw;
        bottom: -130px;
        width: 75vw;
        height: 75vw;
    }

    .professional-hero {
        --hero-title-size: clamp(3.4rem, 13vw, 6rem);
    }

    .hero-aside {
        display: none;
    }

    .intro-grid,
    .contact-section,
    .professional-signup {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .section-wrap {
        padding: var(--section-space) 1.4rem;
    }

    .steps {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1.4rem var(--section-space);
    }

    .step h3 {
        margin-top: .8rem;
    }

    .contact-section,
    .professional-signup {
        padding: var(--section-space) 1.4rem;
    }

    .professional-steps {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1.4rem var(--section-space);
    }

    .professional-signup > div:first-child {
        position: static;
    }

    .form-panel {
        justify-self: stretch;
    }

    .closing {
        align-items: flex-start;
        flex-direction: column;
        gap: 1rem;
        padding-right: 1.4rem;
        padding-left: 1.4rem;
    }

    .site-footer {
        align-items: flex-start;
        flex-direction: column;
        gap: 1rem;
        padding: 2rem 1.4rem;
    }

    .footer-links {
        justify-content: flex-start;
    }

    .confirmation-page {
        padding: 4rem 1.4rem;
    }

    .policy-page {
        padding: 4rem 1.4rem;
    }

    .policy-page section {
        padding: 1.2rem;
    }
}

@media (max-width: 480px) {
    .hero {
        --hero-title-size: clamp(3.35rem, 16vw, 4.7rem);
        min-height: 480px;
    }

    .hero-lead {
        font-size: 18px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .form-panel {
        padding: 1rem;
        border-radius: 10px;
    }

    .policy-page h1,
    .confirmation-page h1 {
        font-size: clamp(2.7rem, 13vw, 4rem);
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}
