/* ==========================================================================
   Patient Access Index
   ========================================================================== */

:root {
    --green: #2d8659;
    --green-dark: #1f6b47;
    --ink: #1a2e2f;
    --ink-muted: #5a6c6e;
    --ink-faint: #9ca3af;
    --bg: #f7f9f8;
    --surface: #fff;
    --border: #e3e8e6;
    --border-soft: #ebeef0;
}

/* Base -------------------------------------------------------------------- */

* {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

body {
    margin: 0;
    font-family: 'Inter', -apple-system, system-ui, sans-serif;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

a {
    color: var(--green);
    text-decoration: none;
}

a:hover {
    color: var(--green-dark);
}

h1,
h2,
p {
    margin: 0;
}

img {
    display: block;
}

/* Layout ------------------------------------------------------------------ */

.shell {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 56px 24px;
}

.card {
    width: 100%;
    max-width: 620px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-top: 4px solid var(--green);
    border-radius: 14px;
    box-shadow: 0 12px 44px rgba(31, 107, 71, .09);
    overflow: hidden;
}

/* Hero -------------------------------------------------------------------- */

.card-hero {
    padding: 52px 56px 44px;
    text-align: center;
    border-bottom: 1px solid var(--border-soft);
}

.eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: 22px;
}

.hero-title {
    font-size: 38px;
    line-height: 1.12;
    letter-spacing: -.025em;
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 22px;
    text-wrap: balance;
}

.hero-text {
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink-muted);
    margin: 0 auto 16px;
    max-width: 480px;
    text-wrap: pretty;
}

.hero-text:last-of-type {
    margin-bottom: 0;
}

/* Attribution ------------------------------------------------------------- */

.attribution {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    margin-top: 34px;
}

.attribution-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--ink-faint);
}

.attribution-logo {
    height: 22px;
    width: auto;
}

/* Call to action ---------------------------------------------------------- */

.card-cta {
    padding: 38px 56px 42px;
    text-align: center;
    background: var(--bg);
}

.cta-title {
    font-size: 19px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 10px;
}

.cta-text {
    font-size: 14px;
    line-height: 1.6;
    color: var(--ink-muted);
    margin: 0 auto 24px;
    max-width: 440px;
}

.btn {
    display: inline-block;
    background: var(--green);
    color: var(--surface);
    font-size: 14px;
    font-weight: 700;
    padding: 14px 26px;
    border-radius: 8px;
    white-space: nowrap;
}

.btn:hover {
    background: var(--green-dark);
    color: var(--surface);
}

.btn:focus-visible {
    outline: 2px solid var(--green-dark);
    outline-offset: 3px;
}

/* Footer ------------------------------------------------------------------ */

.site-footer {
    text-align: center;
    padding: 0 24px 34px;
}

.footer-note {
    font-size: 11.5px;
    color: var(--ink-faint);
    line-height: 1.6;
}

/* Small screens ----------------------------------------------------------- */

@media (max-width: 560px) {

    .card-hero,
    .card-cta {
        padding-left: 30px;
        padding-right: 30px;
    }

    .hero-title {
        font-size: 34px;
    }
}
