:root {
    color-scheme: light;
    --ink: #172033;
    --muted: #5e6879;
    --line: #dfe5ec;
    --paper: #ffffff;
    --wash: #f5f7fb;
    --navy: #173b63;
    --blue: #1f6feb;
    --green: #16745a;
    --shadow: 0 18px 50px rgba(23, 32, 51, 0.09);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--wash);
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.55;
}

a {
    color: var(--blue);
}

.site-header,
main,
footer {
    width: min(100% - 32px, 920px);
    margin-inline: auto;
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
}

.brand {
    color: var(--navy);
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    text-decoration: none;
}

.brand span {
    color: var(--blue);
}

.dates-link {
    color: var(--navy);
    font-size: 0.92rem;
    font-weight: 700;
}

main {
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding: 24px 0 56px;
}

.hero,
.proof,
.signup,
.tools {
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--paper);
    box-shadow: var(--shadow);
}

.hero {
    padding: clamp(28px, 6vw, 58px);
}

.eyebrow {
    margin: 0 0 8px;
    color: var(--green);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    text-wrap: pretty;
}

h1 {
    max-width: 760px;
    margin: 0;
    font-size: clamp(2.25rem, 7vw, 4.4rem);
    line-height: 1.02;
    letter-spacing: -0.055em;
}

h2 {
    margin: 0;
    font-size: clamp(1.55rem, 4vw, 2.25rem);
    line-height: 1.15;
    letter-spacing: -0.035em;
}

.official-source {
    margin: 24px 0 0;
    font-weight: 800;
}

.independence-note {
    max-width: 720px;
    margin: 10px 0 0;
    color: var(--muted);
}

.issue-date {
    display: inline-flex;
    margin: 22px 0 0;
    border-radius: 999px;
    background: #eaf7f2;
    color: #0e614a;
    padding: 7px 12px;
    font-size: 0.9rem;
    font-weight: 750;
}

.issue-date.is-unknown {
    background: #f1f3f6;
    color: var(--muted);
}

.archive-note {
    max-width: 720px;
    margin: 18px 0 0;
    border-left: 3px solid #d19726;
    padding-left: 14px;
    color: var(--muted);
}

.proof,
.tools {
    padding: clamp(24px, 5vw, 42px);
}

.section-heading {
    margin-bottom: 20px;
}

.proof-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: proof;
}

.proof-item {
    position: relative;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 20px 20px 20px 58px;
    counter-increment: proof;
}

.proof-item::before {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--navy);
    color: white;
    content: counter(proof);
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 26px;
    text-align: center;
}

.proof-label {
    margin: 0 0 3px;
    color: var(--green);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.proof-item h3,
.proof-empty h3 {
    margin: 0;
    font-size: 1.08rem;
    line-height: 1.35;
}

.proof-meta,
.proof-detail,
.proof-empty p {
    margin: 7px 0 0;
    color: var(--muted);
}

.proof-meta {
    font-weight: 700;
}

.proof-empty {
    border: 1px dashed #bdc6d2;
    border-radius: 16px;
    background: #fafbfc;
    padding: 22px;
}

.signup {
    display: flex;
    gap: clamp(24px, 6vw, 56px);
    align-items: flex-start;
    padding: clamp(28px, 6vw, 50px);
    background: var(--navy);
    color: white;
}

.signup-copy,
.signup form {
    flex: 1 1 0;
}

.signup .eyebrow {
    color: #8de3c8;
}

.signup-copy > p:last-child {
    color: #dbe8f5;
}

.signup form {
    border-radius: 16px;
    background: white;
    color: var(--ink);
    padding: 20px;
}

.signup label {
    display: block;
    margin-bottom: 7px;
    font-weight: 800;
}

.signup-row {
    display: flex;
    gap: 8px;
}

.signup input,
.signup button {
    min-height: 48px;
    border-radius: 10px;
    font: inherit;
}

.signup input {
    min-width: 0;
    flex: 1 1 auto;
    border: 1px solid #aeb9c7;
    padding: 0 13px;
}

.signup button {
    border: 0;
    background: var(--blue);
    color: white;
    cursor: pointer;
    padding: 0 17px;
    font-weight: 800;
}

.signup button:disabled {
    cursor: wait;
    opacity: 0.7;
}

.signup input:focus-visible,
.signup button:focus-visible,
a:focus-visible {
    outline: 3px solid #f0b429;
    outline-offset: 3px;
}

.access-copy,
.legal,
.form-message {
    margin: 11px 0 0;
    font-size: 0.86rem;
}

.access-copy {
    color: #3e4a5b;
    font-weight: 650;
}

.legal {
    color: var(--muted);
}

.form-message {
    min-height: 1.4em;
    font-weight: 750;
}

.form-message.is-error {
    color: #a42121;
}

.form-message.is-success {
    color: #0e614a;
}

.tools p:last-child {
    max-width: 690px;
    margin-bottom: 0;
    color: var(--muted);
}

footer {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid var(--line);
    padding: 24px 0 38px;
    color: var(--muted);
    font-size: 0.88rem;
}

footer p {
    margin: 0;
}

footer a + a {
    margin-left: 12px;
}

@media (max-width: 820px) {
    .signup,
    .signup-row,
    footer {
        flex-direction: column;
    }

    .signup-row button,
    .signup-row input {
        width: 100%;
    }

    .proof-item {
        padding-left: 52px;
    }
}
