:root {
    --blue: #24CBEC;
    --yellow: #FABF40;
    --charcoal: #161925;
    --gray: #757575;
    --light-gray: #EBECEC;
    --white: #FFFFFF;
    --max-width: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    min-height: 100vh;
    font-family: "Outfit", sans-serif;
    color: var(--charcoal);
    background-color: var(--light-gray);
    background-image:
            linear-gradient(rgba(22, 25, 37, 0.045) 1px, transparent 1px),
            linear-gradient(90deg, rgba(22, 25, 37, 0.045) 1px, transparent 1px);
    background-size: 38px 38px;
    line-height: 1.6;
}

a { color: inherit; }

img {
    display: block;
    max-width: 100%;
}

.page-shell {
    width: min(calc(100% - 40px), var(--max-width));
    margin: 0 auto;
    padding: 42px 0 26px;
}

.landing-card {
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.96);
    border: 3px solid var(--charcoal);
    box-shadow: 12px 12px 0 var(--yellow);
}

.landing-card::before {
    content: "";
    position: absolute;
    inset: 18px;
    pointer-events: none;
    border: 2px solid rgba(36, 203, 236, 0.22);
}

.hero {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 54px 50px 40px;
}

.logo {
    width: min(440px, 86%);
    max-width: 100%;
    height: auto;
    margin: 0 auto 32px;

    position: relative;
    left: -75px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 16px;
    color: var(--gray);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.eyebrow::before,
.eyebrow::after {
    content: "";
    width: 30px;
    height: 4px;
    background: var(--blue);
}

h1,
h2,
h3 {
    font-family: "Rokkitt", serif;
    font-weight: 900;
    line-height: 1;
}

h1 {
    max-width: 760px;
    margin: 0 auto;
    font-size: clamp(3.3rem, 8vw, 6.3rem);
    letter-spacing: -0.035em;
}

.heading-accent {
    position: relative;
    display: inline-block;
    z-index: 0;
}

.heading-accent::after {
    content: "";
    position: absolute;
    z-index: -1;
    left: -2%;
    right: -2%;
    bottom: 0.07em;
    height: 0.19em;
    background: var(--yellow);
}

.intro {
    max-width: 710px;
    margin: 24px auto 0;
    color: var(--gray);
    font-size: 1.1rem;
}

.intro strong { color: var(--charcoal); }

.service-strip {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 0 34px;
    padding: 18px 20px;
    background: var(--charcoal);
    color: var(--white);
    border: 3px solid var(--charcoal);
}

.service-strip span {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.service-strip span:not(:last-child)::after {
    content: "";
    width: 6px;
    height: 6px;
    margin-left: 3px;
    background: var(--yellow);
    transform: rotate(45deg);
}

.actions {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    padding: 38px 50px 52px;
}

.action-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 310px;
    padding: 32px;
    background: var(--white);
    border: 3px solid var(--charcoal);
}

.action-card::before {
    content: "";
    position: absolute;
    top: -3px;
    left: -3px;
    width: 74px;
    height: 74px;
    border-top: 9px solid var(--yellow);
    border-left: 9px solid var(--yellow);
}

.action-card.existing::before {
    border-color: var(--blue);
}

.card-label {
    margin: 0 0 22px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gray);
}

h2 {
    margin: 0 0 15px;
    font-size: 2.15rem;
}

.action-card p {
    margin: 0 0 26px;
    color: var(--gray);
}

.portal-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: -10px;
    margin-bottom: 24px;
    color: var(--charcoal) !important;
    font-size: 0.9rem;
    font-weight: 600;
}

.portal-note::before {
    content: "";
    flex: 0 0 auto;
    width: 10px;
    height: 10px;
    margin-top: 7px;
    background: var(--blue);
    border: 2px solid var(--charcoal);
}

.button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    margin-top: auto;
    padding: 14px 25px 20px;
    overflow: hidden;
    color: var(--charcoal);
    background: var(--yellow);
    border: 3px solid var(--charcoal);
    font: inherit;
    font-weight: 900;
    letter-spacing: 0.055em;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.existing .button { background: var(--blue); }

.button::before {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 8px;
    height: 4px;
    background: var(--white);
    opacity: 0.82;
}

.button::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 16px;
    bottom: 8px;
    height: 12px;
    background: repeating-linear-gradient(90deg, var(--charcoal) 0 2px, transparent 2px 14px);
    opacity: 0.65;
}

.button:hover {
    transform: translate(-3px, -3px);
    box-shadow: 6px 6px 0 var(--charcoal);
}

.button:focus-visible {
    outline: 4px solid var(--white);
    box-shadow: 0 0 0 7px var(--charcoal);
}

.footer {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 50px;
    color: rgba(255, 255, 255, 0.82);
    background: var(--charcoal);
    border-top: 5px solid var(--blue);
    font-size: 0.9rem;
}

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

.fine-print {
    margin: 24px 0 0;
    text-align: center;
    color: var(--gray);
    font-size: 0.8rem;
}

@media (max-width: 760px) {
    .page-shell {
        width: min(calc(100% - 26px), var(--max-width));
        padding-top: 20px;
    }

    .landing-card { box-shadow: 7px 7px 0 var(--yellow); }

    .landing-card::before { inset: 10px; }

    .hero { padding: 40px 24px 32px; }

    .logo {
        width: min(340px, 88%);
        left: 0;
        margin-bottom: 26px;
    }

    .intro { font-size: 1rem; }

    .service-strip {
        margin: 0 18px;
        padding: 16px;
    }

    .service-strip span:not(:last-child)::after { display: none; }

    .actions {
        grid-template-columns: 1fr;
        padding: 28px 24px 38px;
    }

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

    .footer {
        flex-direction: column;
        padding: 22px 24px;
    }
}

@media (max-width: 480px) {
    .page-shell {
        width: calc(100% - 10px);
        padding-top: 8px;
    }

    .landing-card {
        border-width: 2px;
        box-shadow: 4px 4px 0 var(--yellow);
    }

    .landing-card::before {
        inset: 6px;
        border-width: 1px;
    }

    .hero {
        padding: 30px 16px 26px;
    }

    .logo {
        width: 92%;
        margin-bottom: 22px;
    }

    .eyebrow {
        font-size: 0.72rem;
        letter-spacing: 0.1em;
    }

    .eyebrow::before,
    .eyebrow::after {
        width: 18px;
        height: 3px;
    }

    h1 {
        font-size: 3rem;
    }

    .intro {
        margin-top: 20px;
        font-size: 1rem;
        line-height: 1.45;
    }

    .service-strip {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
        margin: 0 12px;
        padding: 20px 16px;
        text-align: center;
    }

    .service-strip span {
        display: block;
        font-size: 0.8rem;
        line-height: 1.25;
        white-space: normal;
    }

    .actions {
        padding: 22px 16px 28px;
    }

    .action-card {
        padding: 26px 22px;
        border-width: 2px;
    }

    .action-card::before {
        top: -2px;
        left: -2px;
        width: 58px;
        height: 58px;
        border-top-width: 7px;
        border-left-width: 7px;
    }

    .card-label {
        margin-bottom: 18px;
    }

    h2 {
        font-size: 2.3rem;
        line-height: 0.95;
    }

    .action-card p {
        margin-bottom: 22px;
    }

    .button {
        min-height: 52px;
        padding: 13px 16px 19px;
        font-size: 0.86rem;
    }

    .footer {
        padding: 20px 16px;
    }
}

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

