/*
 * United People of Australia: site styles.
 *
 * Palette (brief §17, shared with Aussie Economist): dark blue #012169, green #22822C,
 * warm gold #D4AF37, white. Neutrals are tints of the blue.
 *
 * Contrast rules: gold never carries text on light grounds (about 2:1). Gold text and gold
 * buttons sit on dark blue only (about 7:1), or gold is decorative. On green, text is white.
 */

@font-face {
    font-family: "Montserrat";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("../fonts/montserrat-latin-wght-normal.woff2") format("woff2");
}

@font-face {
    font-family: "Montserrat";
    font-style: italic;
    font-weight: 100 900;
    font-display: swap;
    src: url("../fonts/montserrat-latin-wght-italic.woff2") format("woff2");
}

:root {
    --blue: #012169;
    --blue-deep: #00174d;
    --blue-bright: #1146c0;
    --green: #22822c;
    --gold: #d4af37;
    --gold-dark: #c29d28;
    --white: #ffffff;

    --ink: #1b2440;
    --muted: #4a5470;
    --line: #dde3ed;
    --field-border: #6b7690;
    --soft: #f4f6fa;
    --tint: #eef3fb;
    --error: #b3261e;
    --error-bg: #fdf1f0;

    --font: "Montserrat", "Segoe UI", Arial, Helvetica, sans-serif;
    --radius: 16px;
    --radius-small: 10px;
    --shadow: 0 1px 2px rgba(1, 33, 105, 0.06), 0 8px 24px rgba(1, 33, 105, 0.08);
    --container: 1160px;
    --narrow: 780px;
    --gutter: 20px;
}

/* ── Base ─────────────────────────────────────────────────────────────── */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

body {
    margin: 0;
    font-family: var(--font);
    font-size: 1.0625rem;
    font-weight: 450;
    line-height: 1.7;
    color: var(--ink);
    background: var(--white);
    overflow-wrap: break-word;
}

img {
    max-width: 100%;
    height: auto;
}

h1,
h2,
h3 {
    margin: 0 0 0.6em;
    font-weight: 800;
    line-height: 1.15;
    color: var(--blue);
    text-wrap: balance;
}

h2 {
    font-size: clamp(1.5rem, 3.2vw, 2rem);
}

h3,
.h3 {
    font-size: 1.25rem;
    font-weight: 700;
}

p,
ul,
ol {
    margin: 0 0 1em;
}

p {
    text-wrap: pretty;
}

a {
    color: var(--blue);
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.18em;
}

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

strong {
    font-weight: 700;
}

:focus-visible {
    outline: 3px solid var(--blue-bright);
    outline-offset: 3px;
}

/* On dark-blue grounds the blue ring would be invisible (1.9:1); gold is 7:1. */
.hero :focus-visible,
.page-head :focus-visible,
.cta :focus-visible,
.card--blue :focus-visible {
    outline-color: var(--gold);
}

main:focus {
    outline: none;
}

[id] {
    scroll-margin-top: 24px;
}

.field__input[id] {
    scroll-margin-top: 64px;
}

.container {
    width: 100%;
    max-width: calc(var(--container) + 2 * var(--gutter));
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.container--narrow {
    max-width: calc(var(--narrow) + 2 * var(--gutter));
}

.center {
    text-align: center;
}

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

.skip-link {
    position: absolute;
    left: 12px;
    top: -100px;
    z-index: 100;
    padding: 12px 18px;
    background: var(--blue);
    color: var(--white);
    font-weight: 700;
    border-radius: var(--radius-small);
}

.skip-link:focus {
    top: 12px;
    color: var(--white);
    outline-color: var(--gold);
}

/* ── Buttons ──────────────────────────────────────────────────────────── */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
    min-height: 50px;
    padding: 0.8em 1.6em;
    border: 2px solid transparent;
    border-radius: 999px;
    font-family: inherit;
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.06em;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn--small {
    min-height: 42px;
    padding: 0.55em 1.3em;
    font-size: 0.875rem;
}

.btn--block {
    display: flex;
    width: 100%;
}

/* Gold buttons carry dark-blue text (about 7:1). */
.btn--gold {
    background: var(--gold);
    color: var(--blue);
}

.btn--gold:hover {
    background: var(--gold-dark);
    color: var(--blue-deep);
}

.btn--blue {
    background: var(--blue);
    color: var(--white);
}

.btn--blue:hover {
    background: var(--blue-deep);
    color: var(--white);
}

.btn--outline {
    border-color: var(--blue);
    color: var(--blue);
    background: transparent;
}

.btn--outline:hover {
    background: var(--blue);
    color: var(--white);
}

.btn--outline-light {
    border-color: var(--white);
    color: var(--white);
    background: transparent;
}

.btn--outline-light:hover {
    background: var(--white);
    color: var(--blue);
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
    margin-top: 28px;
}

.text-link {
    display: inline-block;
    margin-top: 8px;
    font-weight: 700;
}

.text-link::after,
.arrow {
    content: "";
    display: inline-block;
    width: 0.85em;
    height: 0.85em;
    margin-left: 0.3em;
    vertical-align: -0.08em;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M1 8h12M8.5 3.5 13 8l-4.5 4.5' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M1 8h12M8.5 3.5 13 8l-4.5 4.5' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.text-link--light {
    color: var(--white);
}

.text-link--light:hover {
    color: var(--gold);
}

/* ── Header ───────────────────────────────────────────────────────────── */

.site-header {
    position: relative;
    z-index: 10;
    background: var(--white);
    border-bottom: 1px solid var(--line);
}

.site-header__inner {
    display: flex;
    align-items: center;
    gap: 24px;
    min-height: 84px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--blue);
    text-decoration: none;
    margin-right: auto;
}

.brand__logo {
    width: 60px;
    height: 60px;
    flex: none;
}

.brand__name {
    font-size: 0.9375rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.brand__line {
    display: block;
    white-space: nowrap;
}

.brand__of {
    font-weight: 600;
}

.site-nav__list {
    display: flex;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-nav__link {
    display: block;
    padding: 10px 14px;
    border-radius: 999px;
    font-size: 0.9375rem;
    font-weight: 650;
    color: var(--ink);
    text-decoration: none;
    white-space: nowrap;
}

.site-nav__link:hover {
    background: var(--tint);
    color: var(--blue);
}

.site-nav__link[aria-current="page"] {
    color: var(--blue);
    background: var(--tint);
    box-shadow: inset 0 -3px 0 var(--green);
}

.site-header__join[aria-current="page"] {
    box-shadow: 0 0 0 3px var(--white), 0 0 0 5px var(--blue);
}

@media (max-width: 859px) {
    .site-header__inner {
        flex-wrap: wrap;
        gap: 0 12px;
        min-height: 0;
        padding-top: 12px;
    }

    .brand__logo {
        width: 52px;
        height: 52px;
    }

    .brand__name {
        font-size: 0.8125rem;
    }

    .site-nav {
        order: 3;
        width: calc(100% + 2 * var(--gutter));
        margin: 12px calc(-1 * var(--gutter)) 0;
        border-top: 1px solid var(--line);
        overflow-x: auto;
    }

    .site-nav__list {
        justify-content: space-between;
        min-width: max-content;
        padding: 6px 12px;
        gap: 2px;
    }

    .site-nav__link {
        padding: 9px 10px;
        font-size: 0.875rem;
    }
}

@media (max-width: 359px) {
    .site-nav__list {
        flex-wrap: wrap;
        justify-content: center;
        min-width: 0;
    }
}

@media (max-width: 859px) and (min-width: 480px) {
    .site-nav__list {
        justify-content: center;
        gap: 12px;
    }
}

/* ── Hero ─────────────────────────────────────────────────────────────── */

.hero {
    position: relative;
    overflow: hidden;
    color: var(--white);
    background:
        radial-gradient(circle at 78% 45%, rgba(17, 70, 192, 0.55) 0, rgba(17, 70, 192, 0) 55%),
        var(--blue);
}

.hero::before,
.hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

/* Rings echo the green and gold rings of the logo. Decorative only. */
.hero::before {
    width: 720px;
    height: 720px;
    right: -120px;
    top: 50%;
    transform: translateY(-50%);
    border: 2px solid rgba(212, 175, 55, 0.28);
}

.hero::after {
    width: 900px;
    height: 900px;
    right: -210px;
    top: 50%;
    transform: translateY(-50%);
    border: 2px solid rgba(34, 130, 44, 0.45);
}

.hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 48px;
    padding-top: 88px;
    padding-bottom: 96px;
}

.hero__kicker {
    margin: 0 0 16px;
    font-size: 0.9375rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
}

.hero__title {
    margin: 0 0 20px;
    font-size: clamp(2.25rem, 6vw, 4.25rem);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: 0.005em;
    text-transform: uppercase;
    color: var(--white);
    max-width: 11em;
}

.hero__tagline {
    margin: 0;
    font-size: clamp(1.2rem, 2.4vw, 1.6rem);
    font-style: italic;
    font-weight: 500;
    color: var(--white);
}

.hero__logo img {
    display: block;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.08), 0 20px 60px rgba(0, 10, 40, 0.45);
}

@media (max-width: 959px) {
    .hero__inner {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
        gap: 28px;
        padding-top: 40px;
        padding-bottom: 56px;
    }

    .hero__logo {
        order: -1;
    }

    .hero__logo img {
        width: 220px;
        height: 220px;
    }

    .hero__title {
        margin-left: auto;
        margin-right: auto;
    }

    .hero::before {
        width: 420px;
        height: 420px;
        right: 50%;
        top: 150px;
        transform: translate(50%, -50%);
    }

    .hero::after {
        width: 540px;
        height: 540px;
        right: 50%;
        top: 150px;
        transform: translate(50%, -50%);
    }
}

/* ── Sections ─────────────────────────────────────────────────────────── */

.section {
    padding: 80px 0;
}

.section--compact {
    padding: 48px 0;
}

.section--tint {
    background: var(--tint);
}

.section--message {
    padding: 96px 0;
}

@media (max-width: 699px) {
    .section {
        padding: 52px 0;
    }

    .section--message {
        padding: 60px 0;
    }
}

.display {
    font-size: clamp(1.75rem, 4.4vw, 2.75rem);
    font-weight: 800;
    letter-spacing: 0.01em;
    text-transform: uppercase;
}

.lead {
    font-size: clamp(1.125rem, 2vw, 1.3rem);
    line-height: 1.65;
    font-weight: 500;
    color: var(--ink);
}

.eyebrow {
    margin: 0 0 12px;
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--blue);
}

.eyebrow--gold {
    color: var(--gold);
}

.eyebrow--green {
    color: var(--green);
}

/* Big two-line statement: "One Shared Australian Identity. Many Backgrounds." */
.statement {
    position: relative;
    padding: 72px 0;
    background: var(--tint);
    text-align: center;
    overflow: hidden;
}

.statement::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 560px;
    height: 560px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 2px solid rgba(34, 130, 44, 0.25);
    box-shadow: inset 0 0 0 14px var(--tint), inset 0 0 0 16px rgba(212, 175, 55, 0.5);
    pointer-events: none;
}

.statement__text {
    position: relative;
    margin: 0 auto;
    max-width: 18em;
    font-size: clamp(1.75rem, 5vw, 3.25rem);
    font-weight: 800;
    line-height: 1.12;
    text-transform: uppercase;
    color: var(--blue);
    text-wrap: balance;
}

.statement__text span {
    display: block;
    color: var(--green);
}

/* Two cards side by side. */
.pair {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

@media (max-width: 799px) {
    .pair {
        grid-template-columns: minmax(0, 1fr);
    }
}

.card {
    padding: 36px;
    border-radius: var(--radius);
}

@media (max-width: 599px) {
    .card {
        padding: 28px 22px;
    }
}

.card--blue {
    background: var(--blue);
    color: var(--white);
}

.card--soft {
    background: var(--tint);
    border: 1px solid var(--line);
}

.card--quote {
    margin: 28px 0;
}

.card__big {
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--blue);
}

.card__follow {
    color: var(--white);
    font-weight: 500;
}

.quote {
    margin: 0 0 16px;
    padding: 0;
}

.quote p {
    margin: 0;
    font-size: clamp(1.35rem, 2.6vw, 1.75rem);
    font-weight: 700;
    line-height: 1.35;
    color: var(--white);
}

.quote p::before {
    content: "\201C";
    display: block;
    height: 0.55em;
    font-size: 2.6em;
    line-height: 1;
    color: var(--gold);
}

/* Call to action band. */
.cta {
    padding: 80px 0;
    background: var(--blue);
    color: var(--white);
}

.cta__title {
    margin: 0;
    font-size: clamp(1.6rem, 4vw, 2.5rem);
    text-transform: uppercase;
    color: var(--white);
}

.cta__text {
    max-width: 40em;
    margin: 16px auto 0;
    color: var(--white);
    font-weight: 500;
}

@media (max-width: 699px) {
    .cta {
        padding: 56px 0;
    }
}

/* ── Inner page header and contents list ─────────────────────────────── */

.page-head {
    padding: 64px 0 56px;
    background: var(--blue);
    color: var(--white);
}

.page-head__kicker {
    margin: 0 0 12px;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
}

.page-head__title {
    margin: 0;
    font-size: clamp(2rem, 5vw, 3.25rem);
    text-transform: uppercase;
    color: var(--white);
}

.page-head__lead {
    margin: 18px 0 0;
    font-size: clamp(1.08rem, 2vw, 1.25rem);
    font-weight: 500;
    color: var(--white);
}

.page-head__lead strong {
    color: var(--gold);
}

@media (max-width: 699px) {
    .page-head {
        padding: 44px 0 40px;
    }
}

.toc {
    background: var(--white);
    border-bottom: 1px solid var(--line);
}

.toc__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 8px;
    margin: 0;
    padding: 12px 0;
    list-style: none;
}

.toc__list a {
    display: block;
    padding: 8px 12px;
    font-size: 0.9375rem;
    font-weight: 650;
    text-decoration: none;
    border-radius: 999px;
}

.toc__list a:hover {
    background: var(--tint);
}

/* ── Long-form text ───────────────────────────────────────────────────── */

.prose > h2 {
    margin-top: 0;
}

.prose--legal h2 {
    margin-top: 2em;
    font-size: 1.35rem;
}

.prose--legal h2:first-of-type {
    margin-top: 1.2em;
}

.prose ul:not([class]) {
    padding-left: 1.3em;
}

.prose ul:not([class]) li {
    margin-bottom: 0.4em;
}

.emphasis {
    font-weight: 700;
    color: var(--blue);
    font-size: 1.125rem;
}

.callout {
    display: inline-block;
    margin: 0.4em 0 1.2em;
    padding: 6px 0 6px 18px;
    border-left: 6px solid var(--gold);
    font-size: clamp(1.25rem, 3vw, 1.6rem);
    font-weight: 800;
    line-height: 1.25;
    text-transform: uppercase;
    color: var(--blue);
}

.plain-list {
    margin: 0 0 1.2em;
    padding: 0;
    list-style: none;
}

.plain-list li {
    position: relative;
    margin-bottom: 0.45em;
    padding-left: 1.5em;
    font-weight: 600;
}

.plain-list li::before {
    content: "";
    position: absolute;
    left: 0.15em;
    top: 0.62em;
    width: 0.55em;
    height: 0.55em;
    border-radius: 50%;
    border: 2px solid var(--green);
}

.plain-list--left {
    text-align: left;
}

/* "Many backgrounds" inside "one shared identity": chips inside a ring. */
.identity-ring {
    margin: 8px 0 28px;
    padding: 28px;
    border: 3px solid var(--green);
    border-radius: 32px;
    box-shadow: inset 0 0 0 6px var(--white), inset 0 0 0 9px var(--gold);
    background: var(--white);
}

.chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.chips li {
    padding: 8px 16px;
    border-radius: 999px;
    background: var(--tint);
    border: 1px solid var(--line);
    font-size: 0.9375rem;
    font-weight: 650;
    color: var(--blue);
}

.chips--quiet {
    justify-content: flex-start;
    margin-bottom: 1.4em;
}

.chips--quiet li {
    background: var(--white);
}

/* ── Principles ───────────────────────────────────────────────────────── */

.principles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

@media (max-width: 999px) {
    .principles {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 639px) {
    .principles {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }
}

.principle {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
}

.principle p:last-child {
    margin-bottom: 0;
}

.principle__number {
    display: inline-grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin-bottom: 14px;
    border-radius: 50%;
    border: 3px solid var(--gold);
    font-weight: 800;
    font-size: 1.125rem;
    color: var(--blue);
}

.principle__name {
    font-size: 1.2rem;
    margin-bottom: 0.5em;
}

/* ── Pledge ───────────────────────────────────────────────────────────── */

.pledge {
    max-width: 760px;
    margin: 0 auto;
    padding: 48px 56px;
    border: 4px solid var(--green);
    border-radius: 28px;
    box-shadow: inset 0 0 0 8px var(--white), inset 0 0 0 11px var(--gold), var(--shadow);
    background: var(--white);
    text-align: center;
}

@media (max-width: 599px) {
    .pledge {
        padding: 36px 22px;
    }
}

.pledge__logo {
    display: block;
    width: 120px;
    height: 120px;
    margin: 0 auto 16px;
}

.pledge__title {
    font-size: clamp(1.25rem, 3vw, 1.6rem);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.pledge__lines p {
    margin: 0 0 0.9em;
    font-size: clamp(1.05rem, 2vw, 1.2rem);
    font-weight: 500;
    line-height: 1.6;
}

.pledge__close {
    margin: 1.4em 0 0.4em;
    font-size: 1.2rem;
    font-style: italic;
    font-weight: 600;
    color: var(--blue);
}

.pledge__final {
    margin: 0;
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    font-weight: 800;
    line-height: 1.3;
    text-transform: uppercase;
    color: var(--blue);
}

.welcome-pledge {
    margin: 36px auto 0;
    padding: 24px;
    border-radius: var(--radius);
    background: var(--tint);
}

.welcome-pledge__close {
    margin: 0 0 6px;
    font-style: italic;
    font-weight: 600;
    color: var(--blue);
}

.welcome-pledge__final {
    margin: 0;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--blue);
}

/* ── Next step bar ────────────────────────────────────────────────────── */

.next-step {
    background: var(--tint);
    border-top: 1px solid var(--line);
}

.next-step__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px 28px;
    padding-top: 32px;
    padding-bottom: 32px;
}

.next-step__link {
    font-size: clamp(1.1rem, 2.4vw, 1.35rem);
    font-weight: 800;
    text-decoration: none;
}

.next-step__link:hover {
    text-decoration: underline;
}

/* ── Join form ────────────────────────────────────────────────────────── */

.join-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
    gap: 56px;
    align-items: start;
}

@media (max-width: 959px) {
    .join-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
    }
}

.steps {
    margin: 0 0 1.4em;
    padding-left: 1.4em;
}

.steps li {
    margin-bottom: 0.5em;
    padding-left: 0.3em;
}

.steps li::marker {
    font-weight: 800;
    color: var(--blue);
}

.join-form {
    padding: 36px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
}

@media (max-width: 599px) {
    .join-form {
        padding: 24px 18px;
        margin: 0 calc(-1 * var(--gutter) + 8px);
    }
}

.fieldset {
    margin: 0 0 28px;
    padding: 0;
    border: 0;
    min-width: 0;
}

.fieldset__legend {
    margin-bottom: 14px;
    padding: 0;
    font-size: 0.9375rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--blue);
}

.fieldset__optional {
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: none;
    color: var(--muted);
}

.fieldset__hint {
    margin: -4px 0 14px;
    color: var(--muted);
}

.field {
    margin-bottom: 18px;
}

.field--short .field__input {
    max-width: 14em;
}

.field__label {
    display: block;
    margin-bottom: 6px;
    font-weight: 700;
    color: var(--ink);
}

.field__input {
    display: block;
    width: 100%;
    min-height: 50px;
    padding: 10px 14px;
    border: 2px solid var(--field-border);
    border-radius: var(--radius-small);
    background: var(--white);
    font-family: inherit;
    font-size: 1.0625rem;
    color: var(--ink);
}

.field__input::placeholder {
    color: #6b7285;
    opacity: 1;
}

.field__input:focus {
    outline: 3px solid var(--blue-bright);
    outline-offset: 1px;
    border-color: var(--blue);
}

.field__input[aria-invalid="true"] {
    border-color: var(--error);
}

.field__error {
    margin: 6px 0 0;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--error);
}

.check {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 4px 14px;
    align-items: start;
    margin-bottom: 12px;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius-small);
    background: var(--soft);
}

.check--error {
    border-color: var(--error);
    background: var(--error-bg);
}

.check__input {
    width: 24px;
    height: 24px;
    margin: 2px 0 0;
    accent-color: var(--blue);
    cursor: pointer;
}

.check__label {
    font-weight: 550;
    line-height: 1.55;
    cursor: pointer;
}

.check .field__error {
    grid-column: 2;
    margin-top: 0;
}

.privacy-note {
    font-size: 0.9375rem;
    color: var(--muted);
}

.join-notice {
    margin: 20px 0 0;
    padding: 16px 18px;
    border-left: 4px solid var(--green);
    background: var(--soft);
    font-size: 0.9375rem;
    color: var(--ink);
}

.alert {
    margin-bottom: 28px;
    padding: 16px 20px;
    border-radius: var(--radius-small);
}

.alert:focus {
    outline: 3px solid var(--error);
    outline-offset: 2px;
}

.alert--error {
    border: 2px solid var(--error);
    background: var(--error-bg);
    color: var(--ink);
}

.alert p:last-child,
.alert ul:last-child {
    margin-bottom: 0;
}

.alert ul {
    padding-left: 1.2em;
}

.alert a {
    color: var(--error);
    font-weight: 600;
}

/* Honeypot: hidden from people and assistive technology, visible to naive bots. */
.hp {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.message-card {
    margin: 28px auto 0;
    padding: 24px 28px;
    border-radius: var(--radius);
    background: var(--tint);
    text-align: left;
}

.message-card .plain-list {
    margin: 0;
}

.message-card .plain-list li {
    font-weight: 500;
}

/* ── Footer ───────────────────────────────────────────────────────────── */

.site-footer {
    padding: 56px 0 48px;
    background: var(--blue-deep);
    color: var(--white);
    font-size: 0.9375rem;
}

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

.site-footer a:hover {
    color: var(--gold);
}

.site-footer :focus-visible {
    outline-color: var(--gold);
}

.site-footer__inner {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr 1.3fr;
    gap: 36px;
}

@media (max-width: 859px) {
    .site-footer__inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }
}

.site-footer__brand {
    display: flex;
    align-items: center;
    gap: 16px;
}

.site-footer__brand img {
    flex: none;
    width: 72px;
    height: 72px;
}

.site-footer__brand p {
    margin: 0;
}

.site-footer__name {
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.site-footer__motto {
    color: var(--gold);
    font-weight: 600;
}

.site-footer__nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer__nav li {
    margin-bottom: 6px;
}

.site-footer__nav a {
    font-weight: 600;
    text-decoration: none;
}

.site-footer__nav a:hover {
    text-decoration: underline;
}

.site-footer__about p {
    margin: 0 0 10px;
}

.site-footer__about a {
    overflow-wrap: anywhere;
}

.site-footer__neutral {
    font-weight: 600;
}

@media print {
    .site-header,
    .site-footer,
    .next-step,
    .cta,
    .toc,
    .skip-link,
    .button-row,
    .text-link {
        display: none;
    }

    body {
        font-size: 11pt;
    }

    /* Dark bands print as white paper: switch their text to blue (and never gold on white). */
    .hero,
    .page-head,
    .card--blue {
        background: none;
        color: var(--blue);
    }

    .hero::before,
    .hero::after,
    .statement::before {
        display: none;
    }

    .hero__kicker,
    .hero__title,
    .hero__tagline,
    .page-head__kicker,
    .page-head__title,
    .page-head__lead,
    .page-head__lead strong,
    .eyebrow--gold,
    .quote p,
    .card__follow {
        color: var(--blue);
    }

    .hero__inner {
        padding: 12px 0;
    }

    .section,
    .page-head,
    .statement {
        padding: 12px 0;
    }

    .card--blue {
        border: 2px solid var(--blue);
    }

    .pledge {
        break-inside: avoid;
        box-shadow: none;
        padding: 24px 32px;
    }

    .pledge__logo {
        width: 90px;
        height: 90px;
    }
}
