/* Considera: ink blue. Self-hosted fonts, mobile first, every row wraps. */

/* Public Sans (variable, 100 to 900) and IBM Plex Mono 400/500, latin and latin-ext. SIL OFL 1.1: see /fonts/OFL-*.txt. */
@font-face {
    font-family: "Public Sans";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("../fonts/public-sans-latin-wght-normal.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Public Sans";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("../fonts/public-sans-latin-ext-wght-normal.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: "IBM Plex Mono";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "IBM Plex Mono";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/ibm-plex-mono-latin-ext-400-normal.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: "IBM Plex Mono";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("../fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "IBM Plex Mono";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("../fonts/ibm-plex-mono-latin-ext-500-normal.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
    --ink: #16191E;
    --text-2: #343A42;
    --muted: #4D535C;
    --ground: #F6F6F4;
    --surface: #FFFFFF;
    --border: #DEE1E5;
    --border-strong: #BCC2C9;
    --input-border: #8D949D;
    --accent: #1F4A7A;
    --accent-hover: #183B62;
    --tint: #E4ECF5;
    --band: #121C29;
    --band-kicker: #A8C6E8;
    --band-muted: #C5CFDB;
    --band-rule: #33445A;
    --warn-fg: #7A4700;
    --warn-bg: #FBEFD9;
    --warn-icon: #9A5B00;
    --error: #A3241C;
    --sans: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
    --content: 1200px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
    margin: 0;
    background: var(--ground);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 1.125rem;
    line-height: 1.6;
}

h1, h2, h3 { margin: 0; }
p { margin: 0; }
a { color: var(--accent); text-underline-offset: 0.15em; }
a:hover { color: var(--accent-hover); }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
main:focus { outline: none; }
.band :focus-visible { outline-color: var(--band-kicker); }

.wrap { max-width: var(--content); margin: 0 auto; padding: 0 1.5rem; }

.skip-link { position: absolute; left: -10000px; top: 0; }
.skip-link:focus { left: 1rem; top: 1rem; background: var(--surface); padding: 0.5rem 1rem; z-index: 10; }

/* Buttons */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 1.25rem;
    border: 1px solid var(--accent);
    border-radius: 8px;
    background: var(--accent);
    color: #FFFFFF;
    font: inherit;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}
.button:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: #FFFFFF; }
.button-lg { min-height: 52px; padding: 0 1.75rem; font-size: 1.0625rem; }
.button-secondary { background: transparent; border-color: var(--border-strong); color: var(--ink); }
.button-secondary:hover { background: var(--ground); border-color: var(--input-border); color: var(--ink); }

/* Logo mark */
.mark { flex: none; display: block; }
.mark rect { fill: var(--accent); }

/* Header */
.site-header { background: var(--surface); border-bottom: 1px solid var(--border); }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 2rem; padding-top: 1.125rem; padding-bottom: 1.125rem; }
.brand { display: inline-flex; align-items: center; gap: 0.625rem; min-height: 44px; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand-name { font-weight: 700; font-size: 1.3125rem; letter-spacing: 0.01em; }
.header-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.75rem; }
.site-nav ul, .lang-switch ul, .footer-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; }
.site-nav ul { gap: 0 1.75rem; }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--text-2); font-size: 1rem; text-decoration: none; }
.site-nav a:hover { color: var(--accent); text-decoration: underline; }
.lang-switch ul { gap: 0.25rem; }
.lang-switch { border-left: 1px solid var(--border); padding-left: 1.25rem; }
.lang-switch a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 0.375rem; color: var(--muted); font-size: 1rem; text-decoration: none; }
.lang-switch a:hover { color: var(--accent); text-decoration: underline; }
.lang-switch a[aria-current="page"] { color: var(--ink); font-weight: 600; }

/* Section furniture */
.kicker { font-size: 0.875rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin: 0 0 0.75rem; }
.section-title { font-size: clamp(32px, 4vw, 46px); line-height: 1.12; font-weight: 700; letter-spacing: -0.02em; }
.section-intro { margin-top: 1.25rem; font-size: 1.1875rem; color: var(--text-2); }
.section { padding: 104px 0; }
.section-head { max-width: 680px; }

/* Hero */
.hero { background: var(--surface); border-bottom: 1px solid var(--border); }
.hero-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding-top: 88px; padding-bottom: 96px; }
.hero-copy { flex: 1 1 480px; min-width: 0; }
.hero-kicker { display: inline-flex; align-items: center; gap: 0.625rem; margin-bottom: 1.25rem; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; }
.hero-title { font-size: clamp(44px, 6vw, 76px); line-height: 1.04; font-weight: 800; letter-spacing: -0.025em; }
.hero-lede { margin-top: 1.75rem; font-size: 1.3125rem; line-height: 1.6; color: var(--text-2); max-width: 560px; }
.hero-actions { margin-top: 2.25rem; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-status { margin-top: 1.75rem; font-size: 0.9375rem; color: var(--muted); }
.hero-art { flex: 1 1 400px; min-width: 0; display: flex; justify-content: center; }

/* Volunteer record illustration */
.record { margin: 0; width: 100%; max-width: 460px; }
.record-card { background: var(--surface); border: 1px solid #D5D9DE; border-radius: 14px; box-shadow: 0 1px 2px rgba(22, 25, 30, 0.06), 0 12px 32px rgba(22, 25, 30, 0.08); overflow: hidden; }
.record-head { padding: 1.25rem 1.5rem; border-bottom: 1px solid #E7E9EC; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.record-person { display: flex; align-items: center; gap: 14px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--tint); color: var(--accent); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1rem; flex: none; }
.record-role { font-weight: 600; font-size: 1.0625rem; line-height: 1.3; }
.record-ministry { margin-top: 2px; font-size: 0.875rem; color: var(--muted); line-height: 1.3; }
.chip { font-family: var(--mono); font-size: 0.75rem; font-weight: 500; border-radius: 999px; padding: 4px 10px; white-space: nowrap; }
.chip-ok { color: var(--accent); background: var(--tint); }
.chip-warn { color: var(--warn-fg); background: var(--warn-bg); padding: 3px 10px; }
.record-items { list-style: none; margin: 0; padding: 0.5rem 0; }
.record-items li { padding: 14px 1.5rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 16px; border-bottom: 1px solid #F1F2F4; }
.record-items li:last-child { border-bottom: 0; }
.record-item { display: flex; gap: 12px; align-items: flex-start; }
.record-item svg { flex: none; margin-top: 3px; }
.icon-ok { stroke: var(--accent); }
.icon-warn { stroke: var(--warn-icon); }
.record-name { font-size: 0.9375rem; font-weight: 600; line-height: 1.35; }
.record-meta { margin-top: 2px; font-family: var(--mono); font-size: 0.75rem; color: var(--muted); }
.record-next { font-family: var(--mono); font-size: 0.75rem; color: var(--text-2); white-space: nowrap; }
.record-foot { padding: 14px 1.5rem; background: #F7F8F9; border-top: 1px solid #E7E9EC; font-family: var(--mono); font-size: 0.75rem; color: var(--muted); }
.record figcaption { margin-top: 14px; font-size: 0.8125rem; color: var(--muted); text-align: center; }

/* What it keeps */
.cards { margin-top: 56px; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 28px; }
.card svg { stroke: var(--accent); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; display: block; }
.card h3 { margin: 18px 0 8px; font-size: 1.25rem; font-weight: 700; line-height: 1.3; }
.card p { font-size: 1rem; color: var(--text-2); }

/* How it works: the dark band */
.band { background: var(--band); color: var(--ground); }
.band-inner { display: flex; flex-wrap: wrap; gap: 56px; }
.band-head { flex: 1 1 360px; min-width: 0; }
.band .kicker { color: var(--band-kicker); }
.band .section-title { color: #FFFFFF; }
.band .section-intro { color: var(--band-muted); }
.principles { flex: 2 1 560px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 36px 40px; }
.principle { border-top: 1px solid var(--band-rule); padding-top: 22px; }
.principle h3 { margin: 0 0 8px; font-size: 1.1875rem; font-weight: 700; color: #FFFFFF; }
.principle p { font-size: 1rem; color: var(--band-muted); }

/* Contact */
.contact-inner { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.contact-copy { flex: 1 1 340px; min-width: 0; }
.contact-alt { margin-top: 1.75rem; font-size: 1rem; color: var(--muted); }
.form-card { flex: 1 1 520px; min-width: 0; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 36px; }
.contact-form { display: flex; flex-direction: column; gap: 22px; }
.form-note { font-size: 0.9375rem; color: var(--muted); }
.field-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field label { font-weight: 600; font-size: 1rem; }
.req, .opt { font-weight: 400; color: var(--muted); }
input[type="text"], input[type="email"], select, textarea {
    display: block;
    width: 100%;
    min-height: 48px;
    padding: 0 14px;
    border: 1px solid var(--input-border);
    border-radius: 8px;
    background: var(--surface);
    color: var(--ink);
    font: inherit;
    font-size: 1.0625rem;
}
select { padding: 0 12px; }
textarea { padding: 12px 14px; min-height: 10rem; resize: vertical; }
[aria-invalid="true"] { border: 2px solid var(--error); }
.hint { font-size: 0.875rem; color: var(--muted); }
.field-error { color: var(--error); font-weight: 600; font-size: 0.9375rem; }
.checkbox { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: start; }
.checkbox input { width: 22px; height: 22px; margin: 3px 0 0; accent-color: var(--accent); }
.checkbox label { font-weight: 600; font-size: 1rem; }
.checkbox .hint { grid-column: 2; margin-top: 2px; }
.cf-turnstile { min-height: 65px; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.form-actions a { font-size: 0.9375rem; }

.error-summary { border: 2px solid var(--error); border-radius: 8px; padding: 1rem 1.25rem; margin-bottom: 22px; }
.error-summary h3 { font-size: 1.0625rem; margin-bottom: 0.5rem; }
.error-summary ul { margin: 0; padding-left: 1.25rem; }
.error-summary a { color: var(--error); }

/* Honeypot: off screen for people, still in the form for bots. */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Privacy, Thanks, Error: one readable column on the white surface. */
.page { padding: 56px 1rem 80px; }
.prose { max-width: 720px; margin: 0 auto; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 48px; }
.prose h1 { font-size: clamp(32px, 4vw, 46px); line-height: 1.12; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 0.75rem; }
.prose h2 { font-size: 1.375rem; line-height: 1.3; font-weight: 700; margin: 2.25rem 0 0.75rem; }
.prose p, .prose ul { margin: 0 0 1rem; }
.prose ul { padding-left: 1.25rem; }
.prose li { margin-bottom: 0.375rem; }
.small { font-size: 0.9375rem; color: var(--muted); }
.plain { list-style: none; padding: 0; }

/* Footer */
.site-footer { background: var(--surface); border-top: 1px solid var(--border); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; padding-top: 40px; padding-bottom: 40px; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-name { font-weight: 700; font-size: 1.0625rem; line-height: 1.3; }
.footer-tagline { font-size: 0.875rem; color: var(--muted); line-height: 1.3; }
.footer-nav ul { gap: 0 1.75rem; font-size: 0.9375rem; }
.footer-nav a { display: inline-flex; align-items: center; min-height: 44px; }
.copyright { color: var(--muted); }

/* Phones */
@media (max-width: 600px) {
    .wrap { padding: 0 1rem; }
    .section { padding: 64px 0; }
    .hero-inner { padding-top: 48px; padding-bottom: 56px; gap: 40px; }
    .hero-copy, .hero-art, .contact-copy, .form-card, .band-head, .principles { flex-basis: 100%; }
    .hero-actions .button { width: 100%; }
    .cards { margin-top: 36px; grid-template-columns: 1fr; }
    .principles, .field-grid { grid-template-columns: 1fr; }
    /* The Turnstile widget is a fixed 300 px: at 360 px wide this leaves it 302 px inside the card. */
    .form-card { padding: 24px 12px; }
    .prose { padding: 28px 20px; }
    .page { padding: 24px 0.75rem 48px; }
    .lang-switch { border-left: 0; padding-left: 0; }
}
