:root {
    --brand: #850002;
    --brand-dark: #630001;
    --brand-soft: #f6eaea;
    --ink: #181719;
    --ink-soft: #625d5f;
    --line: #ded8d9;
    --paper: #ffffff;
    --canvas: #f6f4f4;
    --shadow: 0 22px 60px rgba(54, 15, 16, 0.14);
    --shell: min(1180px, calc(100% - 40px));
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: "Raleway", Arial, sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

body.menu-open {
    overflow: hidden;
}

a {
    color: inherit;
}

img,
svg {
    display: block;
}

.shell {
    width: var(--shell);
    margin-inline: auto;
}

.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 {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 1000;
    padding: 0.7rem 1rem;
    color: #fff;
    background: var(--brand);
    border-radius: 6px;
    transform: translateY(-160%);
}

.skip-link:focus {
    transform: translateY(0);
}

.institutional-rule {
    height: 8px;
    background: var(--brand);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(133, 0, 2, 0.1);
    backdrop-filter: blur(12px);
}

.header-inner {
    min-height: 92px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

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

.brand img {
    width: 46px;
    height: 64px;
    object-fit: contain;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    color: #343033;
    font-size: 0.72rem;
    line-height: 1.1;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.brand-copy strong {
    color: var(--brand);
    font-size: 0.9rem;
    font-weight: 900;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 1.75rem;
}

.main-nav a {
    color: #393537;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
}

.main-nav a:not(.nav-access):hover {
    color: var(--brand);
}

.nav-access,
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0.7rem 1.25rem;
    border: 1px solid var(--brand);
    border-radius: 6px;
    background: var(--brand);
    color: #fff !important;
    font-weight: 800;
    text-decoration: none;
    transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.nav-access:hover,
.button:hover {
    background: var(--brand-dark);
    border-color: var(--brand-dark);
    transform: translateY(-1px);
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 11px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #fff;
}

.menu-toggle span:not(.sr-only) {
    display: block;
    width: 100%;
    height: 2px;
    margin: 4px 0;
    background: var(--brand);
}

.menu-toggle:focus-visible {
    outline: 4px solid rgba(133, 0, 2, 0.25);
    outline-offset: 3px;
}

.hero {
    position: relative;
    isolation: isolate;
    min-height: 680px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        linear-gradient(rgba(133, 0, 2, 0.032) 1px, transparent 1px),
        linear-gradient(90deg, rgba(133, 0, 2, 0.032) 1px, transparent 1px),
        var(--canvas);
    background-size: 56px 56px;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, rgba(246, 244, 244, 0.35), var(--canvas) 48%, rgba(246, 244, 244, 0.66));
}

.hero-watermark {
    position: absolute;
    left: -100px;
    bottom: -310px;
    z-index: -1;
    width: 560px;
    opacity: 0.04;
    transform: rotate(-8deg);
}

.hero-watermark img {
    width: 100%;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(390px, 0.85fr);
    align-items: center;
    gap: clamp(3rem, 7vw, 7rem);
    padding-block: 4.5rem;
}

.eyebrow {
    margin: 0 0 1rem;
    color: var(--brand);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.eyebrow--light {
    color: #e8bfc0;
}

.hero h1 {
    max-width: 730px;
    margin: 0;
    font-size: clamp(2.4rem, 5.1vw, 4.8rem);
    line-height: 0.99;
    letter-spacing: -0.045em;
}

.hero-lead {
    max-width: 690px;
    margin: 1.75rem 0 0;
    color: #4e494b;
    font-size: clamp(1rem, 1.5vw, 1.16rem);
    line-height: 1.72;
}

.hero-note {
    max-width: 650px;
    display: flex;
    gap: 0.9rem;
    align-items: flex-start;
    margin-top: 2rem;
    padding-top: 1.4rem;
    border-top: 1px solid #d9d2d3;
}

.hero-note p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 0.9rem;
}

.hero-note__mark {
    flex: 0 0 auto;
    width: 25px;
    height: 25px;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--brand);
    border-radius: 50%;
    font-family: Georgia, serif;
    font-weight: 700;
}

.access-panel {
    position: relative;
    padding: clamp(1.5rem, 3vw, 2.3rem);
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(133, 0, 2, 0.16);
    border-top: 6px solid var(--brand);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.access-panel__heading h2 {
    margin: 0;
    font-size: clamp(1.45rem, 2.6vw, 2rem);
    line-height: 1.17;
    letter-spacing: -0.025em;
}

.access-panel__heading > p:last-child {
    margin: 0.65rem 0 1.5rem;
    color: var(--ink-soft);
    font-size: 0.92rem;
}

.access-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 1rem;
    color: var(--brand);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.access-status span {
    width: 8px;
    height: 8px;
    background: var(--brand);
    border-radius: 50%;
    box-shadow: 0 0 0 5px var(--brand-soft);
}

.access-options {
    display: grid;
    gap: 0.75rem;
}

.access-card {
    position: relative;
    min-width: 0;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 24px;
    gap: 0.9rem;
    align-items: center;
    padding: 1rem;
    color: var(--ink);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 6px;
    text-decoration: none;
    transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.access-card:hover {
    background: #fffafa;
    border-color: var(--brand);
    box-shadow: 0 10px 28px rgba(84, 18, 20, 0.1);
    transform: translateX(3px);
}

.access-card:focus-visible,
.main-nav a:focus-visible,
.button:focus-visible,
.text-link:focus-visible {
    outline: 4px solid rgba(133, 0, 2, 0.25);
    outline-offset: 3px;
}

.access-card__icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    color: var(--brand);
    background: var(--brand-soft);
    border-radius: 50%;
}

.access-card__icon svg,
.security-icon svg {
    width: 25px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.access-card__copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.access-card__copy strong {
    margin: 0.1rem 0 0.15rem;
    font-size: 1rem;
}

.access-card__copy > span:last-child {
    color: var(--ink-soft);
    font-size: 0.78rem;
    line-height: 1.42;
}

.access-card__meta {
    color: var(--brand);
    font-size: 0.65rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.access-card__arrow {
    color: var(--brand);
    font-size: 1.4rem;
}

.access-panel__help {
    margin: 1.15rem 0 0;
    color: #797274;
    font-size: 0.75rem;
    text-align: center;
}

.quick-strip {
    position: relative;
    z-index: 2;
    background: #fff;
    border-block: 1px solid var(--line);
}

.quick-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.quick-grid > div {
    min-height: 112px;
    display: flex;
    gap: 1rem;
    align-items: center;
    padding: 1.5rem clamp(1rem, 3vw, 2.4rem);
    border-right: 1px solid var(--line);
}

.quick-grid > div:first-child {
    border-left: 1px solid var(--line);
}

.quick-grid > div > span {
    color: var(--brand);
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.quick-grid p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 0.82rem;
    line-height: 1.4;
}

.quick-grid strong {
    display: block;
    color: var(--ink);
    font-size: 0.94rem;
}

.section {
    padding-block: clamp(5rem, 9vw, 8.5rem);
}

.section-heading h2,
.final-cta h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.55rem);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.process-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: clamp(3rem, 9vw, 8rem);
    align-items: start;
}

.process-copy {
    padding-left: 2rem;
    border-left: 3px solid var(--brand);
}

.process-copy p {
    margin: 0 0 1.2rem;
    color: var(--ink-soft);
    font-size: 1rem;
}

.text-link {
    display: inline-flex;
    gap: 0.5rem;
    align-items: center;
    margin-top: 0.8rem;
    color: var(--brand);
    font-weight: 800;
    text-decoration-thickness: 1px;
    text-underline-offset: 5px;
}

.steps-section {
    background: var(--canvas);
}

.section-heading--center {
    max-width: 710px;
    margin: 0 auto clamp(3rem, 6vw, 5rem);
    text-align: center;
}

.section-heading--center > p:last-child {
    margin: 1rem 0 0;
    color: var(--ink-soft);
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--line);
}

.steps li {
    position: relative;
    padding: 2.4rem 1.6rem 0;
    border-left: 1px solid var(--line);
}

.steps li:last-child {
    border-right: 1px solid var(--line);
}

.step-number {
    position: absolute;
    top: -18px;
    left: 1.6rem;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--brand);
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: 900;
}

.steps h3 {
    margin: 0 0 0.7rem;
    font-size: 1.05rem;
}

.steps p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 0.86rem;
}

.security-section {
    background: #221f20;
}

.security-grid {
    display: grid;
    grid-template-columns: 1.35fr 0.65fr 0.65fr;
    gap: 1px;
    background: rgba(255, 255, 255, 0.13);
    border: 1px solid rgba(255, 255, 255, 0.13);
}

.security-card {
    padding: clamp(2rem, 4vw, 3.4rem);
    color: #fff;
    background: #221f20;
}

.security-card--lead {
    background: var(--brand);
}

.security-card h2 {
    max-width: 620px;
    margin: 0;
    font-size: clamp(1.8rem, 3.5vw, 3.1rem);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.security-card h3 {
    margin: 1.5rem 0 0.65rem;
    font-size: 1.1rem;
}

.security-card p {
    margin: 1.2rem 0 0;
    color: #d7d1d3;
    font-size: 0.9rem;
}

.security-card--lead p:last-child {
    color: #f4e6e7;
}

.security-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    color: #f0c2c3;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
}

.final-cta {
    padding-block: 4.5rem;
    color: #fff;
    background: var(--brand);
}

.final-cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.button--light {
    flex: 0 0 auto;
    color: var(--brand) !important;
    background: #fff;
    border-color: #fff;
}

.button--light:hover {
    color: #fff !important;
    background: var(--brand-dark);
    border-color: #fff;
}

.site-footer {
    padding: 4rem 0 1.5rem;
    color: #d8d2d4;
    background: #151314;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 0.7fr 0.7fr;
    gap: 3rem;
    padding-bottom: 3rem;
}

.footer-brand {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.footer-brand img {
    width: 55px;
    height: 80px;
    object-fit: contain;
    filter: grayscale(1) brightness(3);
}

.footer-brand p {
    margin: 0;
    font-size: 0.83rem;
}

.footer-grid h2 {
    margin: 0 0 0.85rem;
    color: #fff;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.footer-grid a {
    display: block;
    margin: 0.45rem 0;
    color: #d8d2d4;
    font-size: 0.82rem;
    text-decoration: none;
}

.footer-grid a:hover {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    padding-top: 1.4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom p {
    margin: 0;
    font-size: 0.72rem;
}

@media (max-width: 960px) {
    .main-nav {
        position: fixed;
        inset: 100px 20px auto;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 1rem;
        background: #fff;
        border: 1px solid var(--line);
        border-top: 4px solid var(--brand);
        box-shadow: var(--shadow);
    }

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

    .main-nav a {
        padding: 0.9rem 0.6rem;
        border-bottom: 1px solid #eee9ea;
    }

    .nav-access {
        margin-top: 0.7rem;
    }

    .menu-toggle {
        display: block;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

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

    .access-panel {
        max-width: 680px;
    }

    .process-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 3.5rem 0;
    }

    .security-grid {
        grid-template-columns: 1fr 1fr;
    }

    .security-card--lead {
        grid-column: 1 / -1;
    }
}

@media (max-width: 700px) {
    :root {
        --shell: min(100% - 28px, 1180px);
    }

    .header-inner {
        min-height: 78px;
    }

    .brand img {
        width: 38px;
        height: 52px;
    }

    .brand-copy {
        font-size: 0.6rem;
    }

    .brand-copy strong {
        font-size: 0.72rem;
    }

    .main-nav {
        inset: 86px 14px auto;
    }

    .hero {
        min-height: auto;
    }

    .hero-grid {
        padding-block: 3.5rem;
    }

    .hero h1 {
        font-size: clamp(2.2rem, 12vw, 3.5rem);
    }

    .hero-lead {
        line-height: 1.6;
    }

    .access-panel {
        padding: 1.25rem;
    }

    .access-card {
        grid-template-columns: 42px minmax(0, 1fr) 18px;
        padding: 0.9rem;
    }

    .access-card__icon {
        width: 42px;
        height: 42px;
    }

    .quick-grid {
        grid-template-columns: 1fr;
    }

    .quick-grid > div,
    .quick-grid > div:first-child {
        min-height: 92px;
        border-left: 1px solid var(--line);
        border-right: 1px solid var(--line);
        border-bottom: 1px solid var(--line);
    }

    .process-copy {
        padding-left: 1.25rem;
    }

    .steps {
        grid-template-columns: 1fr;
        gap: 3.3rem;
        border-top: 0;
    }

    .steps li,
    .steps li:last-child {
        min-height: 150px;
        padding: 2rem 1.2rem 1.2rem;
        border: 1px solid var(--line);
    }

    .step-number {
        left: 1.2rem;
    }

    .security-grid {
        grid-template-columns: 1fr;
    }

    .security-card--lead {
        grid-column: auto;
    }

    .final-cta__inner,
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
