:root {
    --navy: #0B2E4F;
    --navy-700: #143A5C;
    --navy-500: #2C5282;
    --navy-100: rgba(11, 46, 79, 0.08);
    --navy-200: rgba(11, 46, 79, 0.16);
    --ink: #0B2E4F;
    --body: #36404B;
    --muted: #6B7280;
    --cream: #F6F1E8;
    --cream-2: #EFE7D7;
    --paper: #FBF8F2;
    --white: #FFFFFF;
    --gold: #A07C42;
    --gold-soft: #C9A86B;
    --danger: #8C2A2A;
    --radius: 6px;
    --radius-lg: 10px;
    --shadow-sm: 0 1px 2px rgba(11, 46, 79, 0.06), 0 2px 6px rgba(11, 46, 79, 0.04);
    --shadow-md: 0 8px 24px rgba(11, 46, 79, 0.10), 0 2px 6px rgba(11, 46, 79, 0.04);
    --shadow-lg: 0 24px 60px rgba(11, 46, 79, 0.18);
    --ff-serif: "Source Serif 4", "Times New Roman", Georgia, serif;
    --ff-sans: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --container: 1180px;
    --section-y: clamp(64px, 9vw, 112px);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--ff-sans);
    font-size: 17px;
    line-height: 1.65;
    color: var(--body);
    background: var(--paper);
    font-feature-settings: "ss01", "kern";
    -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
    font-family: var(--ff-serif);
    color: var(--ink);
    font-weight: 500;
    letter-spacing: -0.01em;
    margin: 0;
    text-wrap: balance;
}
p { text-wrap: pretty; margin: 0; text-align:justify; }
a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--gold); }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--navy); color: var(--cream); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* === Buttons === */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 16px 28px;
    font-family: var(--ff-sans); font-size: 16px; font-weight: 600;
    letter-spacing: 0.01em;
    border: 1px solid transparent;
    border-radius: var(--radius);
    text-decoration: none;
    transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
    white-space: nowrap;
}
.btn-primary { background: var(--navy); color: var(--cream); }
.btn-primary:hover { background: #082238; color: var(--white); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--navy-200); }
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); }
.btn-lg { padding: 18px 32px; font-size: 17px; }
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* === Header === */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(251, 248, 242, 0.92);
    backdrop-filter: saturate(150%) blur(8px);
    -webkit-backdrop-filter: saturate(150%) blur(8px);
    border-bottom: 1px solid var(--navy-100);
}
.site-header .row {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 0;
}
.brand {
    display: flex; align-items: center; gap: 12px;
    font-family: var(--ff-serif); color: var(--ink);
    text-decoration: none; font-size: 19px; font-weight: 600; letter-spacing: -0.01em;
}
.brand-mark {
    width: 36px; height: 36px; flex: none;
    background: var(--navy);
    color: var(--cream);
    display: grid; place-items: center;
    font-family: var(--ff-serif); font-size: 18px; font-weight: 600;
    letter-spacing: 0.02em;
}
.brand-name { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name b { font-weight: 600; }
.brand-name span { font-family: var(--ff-sans); font-size: 11px; letter-spacing: 0.14em; color: var(--muted); text-transform: uppercase; font-weight: 500; margin-top: 2px; }
.nav-links { display: none; gap: 28px; }
.nav-links a { color: var(--ink); text-decoration: none; font-size: 15px; }
.nav-links a:hover { color: var(--gold); }
@media (min-width: 880px) { .nav-links { display: flex; } }

/* === Hero === */
.hero {
    padding: clamp(48px, 8vw, 96px) 0 clamp(64px, 9vw, 112px);
    background:
        radial-gradient(1200px 600px at 85% -10%, rgba(11,46,79,0.06), transparent 60%),
        linear-gradient(180deg, var(--paper) 0%, var(--paper) 100%);
    position: relative;
}
.hero-grid {
    display: grid; grid-template-columns: 1fr; gap: 56px; align-items: center;
}
@media (min-width: 1000px) {
    .hero-grid { grid-template-columns: 1.15fr 0.85fr; gap: 72px; }
}
.eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 12px; font-weight: 600; letter-spacing: 0.18em;
    color: var(--navy); text-transform: uppercase;
    padding-bottom: 6px;
}
.eyebrow::before {
    content: ""; width: 28px; height: 1px; background: var(--gold);
}
.hero h1 {
    font-size: clamp(36px, 5.6vw, 64px);
    line-height: 1.05;
    margin: 18px 0 24px;
}
.hero h1 em { font-style: italic; color: var(--navy-700); font-weight: 400; }
.hero .lead {
    font-size: clamp(17px, 1.6vw, 19px);
    line-height: 1.6;
    max-width: 56ch; color: var(--body);
    margin-bottom: 36px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-meta {
    margin-top: 32px;
    display: flex; flex-wrap: wrap; gap: 28px 36px;
    font-size: 14px; color: var(--muted);
}
.hero-meta div { display: flex; align-items: baseline; gap: 10px; }
.hero-meta b { color: var(--ink); font-family: var(--ff-serif); font-size: 28px; font-weight: 500; letter-spacing: -0.01em; }
.hero-meta span { line-height: 1.3; }

/* Hero card — document representation */
.doc-card {
    background: var(--white);
    border: 1px solid var(--navy-100);
    box-shadow: var(--shadow-md);
    padding: 36px 36px 30px;
    position: relative;
    border-radius: 4px;
    transform: rotate(-1.2deg);
}
.doc-card::before {
    content: ""; position: absolute; inset: 14px 14px auto auto;
    width: 64px; height: 24px; background: var(--cream-2);
    border: 1px solid var(--gold-soft);
    display: block;
}
.doc-card::after {
    content: ""; position: absolute; inset: auto auto -14px -14px;
    width: 88%; height: 100%;
    background: var(--cream);
    border: 1px solid var(--navy-100);
    z-index: -1;
    transform: rotate(2.4deg);
}
.doc-card .doc-title { font-family: var(--ff-serif); font-size: 13px; color: var(--muted); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 14px; }
.doc-card .doc-h { font-family: var(--ff-serif); font-size: 22px; color: var(--ink); line-height: 1.25; margin-bottom: 20px; max-width: 24ch; }
.doc-lines { display: flex; flex-direction: column; gap: 9px; }
.doc-line { height: 8px; background: var(--cream-2); border-radius: 2px; }
.doc-line.w-95 { width: 95%; }
.doc-line.w-88 { width: 88%; }
.doc-line.w-72 { width: 72%; }
.doc-line.w-60 { width: 60%; }
.doc-line.hl {
    background: linear-gradient(90deg, var(--gold-soft) 0%, var(--gold-soft) 30%, var(--cream-2) 30%, var(--cream-2) 100%);
    height: 11px;
    position: relative;
}
.doc-line.hl::after {
    content: "WIBOR"; position: absolute; left: 0; top: -2px;
    font-family: var(--ff-sans); font-size: 10px; font-weight: 700;
    color: var(--ink); letter-spacing: 0.1em;
    padding: 1px 4px;
}
.doc-stamp {
    position: absolute; right: -18px; bottom: -22px;
    width: 116px; height: 116px;
    border: 2px solid var(--navy);
    border-radius: 50%;
    display: grid; place-items: center;
    background: var(--paper);
    transform: rotate(8deg);
    box-shadow: var(--shadow-sm);
}
.doc-stamp-inner {
    text-align: center;
    font-family: var(--ff-serif);
    color: var(--navy);
    font-size: 11px;
    line-height: 1.2;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 600;
}
.doc-stamp-inner b { display: block; font-size: 13px; letter-spacing: 0.04em; margin: 2px 0; }

/* === Section === */
section.block { padding: var(--section-y) 0; }
.block-alt { background: var(--cream); }
.block-deep { background: var(--navy); color: rgba(255,255,255,0.85); }
.block-deep h2, .block-deep h3 { color: var(--white); }
.block-deep .eyebrow { color: var(--gold-soft); }
.block-deep .eyebrow::before { background: var(--gold-soft); }

.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head h2 {
    font-size: clamp(28px, 3.6vw, 44px); line-height: 1.15;
    margin: 14px 0 18px;
}
.section-head p { font-size: 17px; color: var(--body); max-width: 56ch; }
.block-deep .section-head p { color: rgba(255,255,255,0.78); }

/* === Dla kogo grid === */
.who-grid {
    display: grid; grid-template-columns: 1fr; gap: 1px;
    background: var(--navy-100);
    border: 1px solid var(--navy-100);
}
@media (min-width: 700px) { .who-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .who-grid { grid-template-columns: repeat(4, 1fr); } }
.who-card {
    background: var(--paper);
    padding: 32px 28px 32px;
    display: flex; flex-direction: column; gap: 12px;
    min-height: 200px;
}
.who-num {
    font-family: var(--ff-serif); font-size: 13px;
    color: var(--gold); letter-spacing: 0.12em;
}
.who-card h3 { font-size: 21px; line-height: 1.25; }
.who-card p { color: var(--body); font-size: 15px; line-height: 1.55; }

/* === Cards grid (reusable) === */
.cards-grid {
    display: grid; grid-template-columns: 1fr; gap: 1px;
    background: var(--navy-100);
    border: 1px solid var(--navy-100);
}
@media (min-width: 700px) { .cards-grid.cols-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .cards-grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 700px) { .cards-grid.cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards-grid.cols-4 { grid-template-columns: repeat(4, 1fr); } }
.card {
    background: var(--paper);
    padding: 30px 28px;
    display: flex; flex-direction: column; gap: 10px;
    min-height: 200px;
}
.block-alt .card { background: var(--cream); }
.card-num {
    font-family: var(--ff-serif); font-size: 13px;
    color: var(--gold); letter-spacing: 0.12em;
}
.card h3 { font-size: 20px; line-height: 1.3; }
.card p { color: var(--body); font-size: 15px; line-height: 1.6; }

/* === Long-form lists with gold marker === */
.feature-list {
    margin: 0; padding: 0; list-style: none;
    display: grid; grid-template-columns: 1fr; gap: 14px;
    max-width: 760px;
}
@media (min-width: 800px) {
    .feature-list.cols-2 { grid-template-columns: 1fr 1fr; column-gap: 48px; max-width: none; }
}
.feature-list li {
    position: relative; padding: 14px 0 14px 32px;
    font-size: 16px; color: var(--body); line-height: 1.55;
    border-bottom: 1px solid var(--navy-100);
}
.feature-list li::before {
    content: ""; position: absolute; left: 0; top: 24px;
    width: 18px; height: 1px; background: var(--gold);
}

/* === Two-up large action cards === */
.pair-grid {
    display: grid; grid-template-columns: 1fr; gap: 24px;
}
@media (min-width: 900px) { .pair-grid { grid-template-columns: 1fr 1fr; } }
.pair-card {
    background: var(--white);
    border: 1px solid var(--navy-100);
    border-top: 3px solid var(--navy);
    padding: 36px 32px;
    display: flex; flex-direction: column; gap: 14px;
}
.pair-card .pair-tag {
    display: inline-flex; align-self: flex-start;
    font-family: var(--ff-serif); color: var(--navy);
    font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase;
    padding-bottom: 4px;
}
.pair-card h3 { font-size: 22px; line-height: 1.25; margin-bottom: 4px; }
.pair-card p { color: var(--body); font-size: 15.5px; line-height: 1.65; }

/* === Accordion (reusable) === */
.accordion-item { border-bottom: 1px solid var(--navy-100); }
.accordion-q {
    width: 100%; text-align: left;
    background: transparent; border: 0;
    padding: 22px 0;
    display: flex; justify-content: space-between; align-items: flex-start; gap: 32px;
    font-family: var(--ff-serif); color: var(--ink);
    font-size: clamp(17px, 1.8vw, 20px); font-weight: 500; line-height: 1.3;
}
.accordion-q .plus {
    flex: none; width: 22px; height: 22px; position: relative; margin-top: 5px;
}
.accordion-q .plus::before, .accordion-q .plus::after {
    content: ""; position: absolute; background: var(--navy); transition: opacity .2s;
}
.accordion-q .plus::before { left: 0; right: 0; top: 50%; height: 1.5px; transform: translateY(-50%); }
.accordion-q .plus::after { top: 0; bottom: 0; left: 50%; width: 1.5px; transform: translateX(-50%); }
.accordion-item.open .accordion-q .plus::after { opacity: 0; }
.accordion-a {
    overflow: hidden; max-height: 0; transition: max-height .3s ease;
}
.accordion-item.open .accordion-a { max-height: 800px; }
.accordion-a-inner { padding: 0 56px 26px 0; color: var(--body); font-size: 16px; line-height: 1.65; }

/* === Process === */
.process { display: grid; grid-template-columns: 1fr; gap: 0; }
@media (min-width: 900px) { .process { grid-template-columns: repeat(5, 1fr); gap: 0; } }
.step {
    padding: 32px 28px;
    border: 1px solid rgba(255,255,255,0.08);
    border-right: none;
    background: rgba(255,255,255,0.02);
    position: relative;
    min-height: 200px;
}
.step:last-child { border-right: 1px solid rgba(255,255,255,0.08); }
@media (max-width: 899px) {
    .step { border-right: 1px solid rgba(255,255,255,0.08); border-bottom: none; }
    .step:last-child { border-bottom: 1px solid rgba(255,255,255,0.08); }
    .hide-mobile{ display: none; }
}
.step .step-n {
    font-family: var(--ff-serif); color: var(--gold-soft);
    font-size: 32px; line-height: 1; font-weight: 400;
    display: block; margin-bottom: 28px;
}
.step h3 { font-size: 18px; color: var(--white); margin-bottom: 8px; line-height: 1.3; }
.step p { font-size: 14px; color: rgba(255,255,255,0.72); line-height: 1.55; }

/* === Ważna informacja === */
.notice {
    border-left: 3px solid var(--gold);
    background: var(--white);
    padding: 32px 36px;
    box-shadow: var(--shadow-sm);
    max-width: 780px;
}
.notice h3 { font-size: 22px; margin-bottom: 14px; }
.notice ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.notice li { font-size: 15.5px; color: var(--body); padding-left: 22px; position: relative; line-height: 1.55; }
.notice li::before {
    content: ""; position: absolute; left: 0; top: 12px;
    width: 10px; height: 1px; background: var(--gold);
}

/* === FAQ === */
.faq { max-width: 820px; }
.faq-item {
    border-bottom: 1px solid var(--navy-100);
}
.faq-q {
    width: 100%; text-align: left;
    background: transparent; border: 0;
    padding: 24px 0;
    display: flex; justify-content: space-between; align-items: flex-start; gap: 32px;
    font-family: var(--ff-serif); color: var(--ink);
    font-size: clamp(18px, 2vw, 21px); font-weight: 500; line-height: 1.3;
}
.faq-q .plus {
    flex: none; width: 24px; height: 24px; position: relative; margin-top: 6px;
    transition: transform .25s ease;
}
.faq-q .plus::before, .faq-q .plus::after {
    content: ""; position: absolute; background: var(--navy); transition: opacity .2s;
}
.faq-q .plus::before { left: 0; right: 0; top: 50%; height: 1.5px; transform: translateY(-50%); }
.faq-q .plus::after { top: 0; bottom: 0; left: 50%; width: 1.5px; transform: translateX(-50%); }
.faq-item.open .faq-q .plus::after { opacity: 0; }
.faq-a {
    overflow: hidden;
    max-height: 0;
    transition: max-height .3s ease;
}
.faq-item.open .faq-a { max-height: 600px; }
.faq-a-inner { padding: 0 56px 28px 0; color: var(--body); font-size: 16px; line-height: 1.65; }

/* === Inline form section === */
.form-section {
    background: var(--cream);
}
.form-section-grid {
    display: grid; grid-template-columns: 1fr; gap: 40px;
    align-items: start;
}
@media (min-width: 960px) {
    .form-section-grid { grid-template-columns: 0.9fr 1.1fr; gap: 64px; }
}
.form-section .copy h2 { font-size: clamp(28px, 3.6vw, 42px); line-height: 1.15; margin: 12px 0 18px; }
.form-section .copy p { color: var(--body); font-size: 16.5px; max-width: 52ch; }
.form-section .copy .small { font-size: 13px; color: var(--muted); margin-top: 22px; }
.form-card {
    background: var(--paper);
    border: 1px solid var(--navy-100);
    box-shadow: var(--shadow-sm);
    padding: clamp(28px, 4vw, 40px);
}

/* === Footer === */
footer.site-footer {
    background: var(--navy);
    color: rgba(255,255,255,0.7);
    padding: 56px 0 24px;
    font-size: 14px;
}
.site-footer .cols { display: grid; grid-template-columns: 1fr; gap: 36px; }
@media (min-width: 700px) { .site-footer .cols { grid-template-columns: 2fr 1fr 1fr; } }
.site-footer h4 { color: var(--white); font-family: var(--ff-serif); font-size: 16px; margin-bottom: 14px; font-weight: 500; }
.site-footer a { color: rgba(255,255,255,0.75); text-decoration: none; }
.site-footer a:hover { color: var(--gold-soft); }
.site-footer .legal-row {
    display: flex; flex-direction: column; gap: 4px;
}
.site-footer .foot-bottom {
    margin-top: 48px; padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.10);
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
    color: rgba(255,255,255,0.5); font-size: 13px;
}
.site-footer .brand-mark { background: var(--cream); color: var(--navy); }

/* === Modal === */
.modal-overlay {
    position: fixed; inset: 0; z-index: 100;
    background: rgba(8, 24, 40, 0.55);
    backdrop-filter: blur(4px);
    display: flex; align-items: flex-start; justify-content: center;
    padding: 24px 16px;
    overflow-y: auto;
    animation: fadeIn .2s ease;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal {
    background: var(--paper);
    width: 100%; max-width: 640px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    position: relative;
    animation: slideUp .25s cubic-bezier(.2,.7,.2,1);
    margin: auto 0;
}
@keyframes slideUp { from { transform: translateY(16px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.modal-head {
    padding: 28px 32px 20px;
    border-bottom: 1px solid var(--navy-100);
    display: flex; justify-content: space-between; align-items: flex-start; gap: 16px;
}
.modal-head h2 { font-size: 24px; line-height: 1.2; }
.modal-head p { font-size: 14px; color: var(--muted); margin-top: 6px; }
.modal-close {
    background: transparent; border: 0; padding: 4px;
    color: var(--muted); display: grid; place-items: center;
    width: 32px; height: 32px; border-radius: 4px;
}
.modal-close:hover { background: var(--navy-100); color: var(--ink); }
.modal-body { padding: 24px 32px 28px; }

.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.field label { font-size: 13px; font-weight: 600; color: var(--ink); letter-spacing: 0.02em; }
.field label .req { color: var(--gold); margin-left: 2px; }
.field input[type=text], .field input[type=email], .field input[type=tel], .field textarea {
    font-family: var(--ff-sans); font-size: 15px;
    padding: 12px 14px;
    background: var(--white);
    border: 1px solid var(--navy-200);
    border-radius: var(--radius);
    color: var(--ink);
    transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field textarea:focus {
    outline: none; border-color: var(--navy);
    box-shadow: 0 0 0 3px rgba(11,46,79,0.10);
}
.field textarea { resize: vertical; min-height: 96px; }
.field .hint { font-size: 12px; color: var(--muted); }
.field.err input, .field.err textarea, .field.err .dropzone { border-color: var(--danger); }
.field .err-msg { font-size: 12px; color: var(--danger); }

.row-2 { display: grid; grid-template-columns: 1fr; gap: 0; }
@media (min-width: 560px) { .row-2 { grid-template-columns: 1fr 1fr; gap: 14px; } }

.dropzone {
    border: 1.5px dashed var(--navy-200);
    border-radius: var(--radius);
    padding: 22px 18px;
    background: var(--white);
    text-align: center;
    transition: border-color .15s ease, background-color .15s ease;
    cursor: pointer;
}
.dropzone.drag { border-color: var(--navy); background: var(--cream); }
.dropzone p { font-size: 14px; color: var(--body); }
.dropzone p b { color: var(--ink); }
.dropzone .small { font-size: 12px; color: var(--muted); margin-top: 4px; }
.file-chip {
    margin-top: 10px;
    display: flex; align-items: center; gap: 10px;
    padding: 10px 12px; background: var(--white);
    border: 1px solid var(--navy-200); border-radius: var(--radius);
    font-size: 13px;
}
.file-chip .name { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-chip button {
    background: transparent; border: 0; color: var(--muted);
    padding: 2px 6px;
}
.file-chip button:hover { color: var(--danger); }

.check-row {
    display: flex; align-items: flex-start; gap: 12px;
    margin: 14px 0;
    font-size: 13.5px; line-height: 1.5;
    color: var(--body);
}
.check-row input[type=checkbox] {
    appearance: none; -webkit-appearance: none;
    width: 18px; height: 18px; flex: none;
    border: 1.5px solid var(--navy-200); border-radius: 3px;
    background: var(--white);
    cursor: pointer; position: relative;
    margin-top: 2px;
}
.check-row input[type=checkbox]:checked {
    background: var(--navy); border-color: var(--navy);
}
.check-row input[type=checkbox]:checked::after {
    content: ""; position: absolute;
    left: 5px; top: 1px; width: 5px; height: 10px;
    border: solid var(--cream); border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.check-row.err input[type=checkbox] { border-color: var(--danger); }

.modal-foot {
    padding: 20px 32px 28px;
    background: var(--cream);
    border-top: 1px solid var(--navy-100);
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.modal-foot .small { font-size: 12px; color: var(--muted); max-width: 36ch; }

.form-submit-row {
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px; flex-wrap: wrap;
    margin-top: 8px; padding-top: 18px;
    border-top: 1px solid var(--navy-100);
}
.form-submit-row .small { font-size: 12px; color: var(--muted); max-width: 40ch; }

.footer-disclaimer {
    margin-top: 32px; padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.12);
    font-size: 13px; line-height: 1.65;
    color: rgba(255,255,255,0.55);
    max-width: 68ch;
}

/* Cookie banner */
.cookie-banner {
    position: fixed; left: 16px; right: 16px; bottom: 16px;
    z-index: 90;
    background: var(--white);
    border: 1px solid var(--navy-200);
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-lg);
    padding: 22px 24px;
    max-width: 560px;
    margin: 0 auto;
    animation: slideUp .3s cubic-bezier(.2,.7,.2,1);
}
@media (min-width: 800px) {
    .cookie-banner { left: 24px; right: auto; bottom: 24px; margin: 0; }
}
.cookie-banner h4 { font-size: 17px; margin-bottom: 6px; }
.cookie-banner p { font-size: 13.5px; color: var(--body); line-height: 1.55; }
.cookie-banner p a { color: var(--navy); }
.cookie-banner .actions { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 10px; }
.cookie-banner .btn { padding: 10px 16px; font-size: 14px; }
.cookie-banner .btn-link {
    background: transparent; border: 0; color: var(--navy);
    text-decoration: underline; text-underline-offset: 3px;
    font-size: 13px; padding: 8px 4px;
}
.cookie-prefs {
    margin-top: 14px; padding-top: 14px;
    border-top: 1px solid var(--navy-100);
    display: flex; flex-direction: column; gap: 10px;
}
.cookie-pref-row {
    display: flex; justify-content: space-between; align-items: flex-start; gap: 12px;
    font-size: 13px;
}
.cookie-pref-row b { color: var(--ink); font-family: var(--ff-sans); font-weight: 600; display: block; margin-bottom: 2px; }
.cookie-pref-row span { color: var(--muted); font-size: 12px; }

.switch {
    width: 36px; height: 20px; flex: none;
    background: var(--navy-200); border-radius: 999px;
    position: relative; cursor: pointer; transition: background-color .2s;
    border: 0;
}
.switch::after {
    content: ""; position: absolute; top: 2px; left: 2px;
    width: 16px; height: 16px; border-radius: 50%;
    background: var(--white); transition: transform .2s;
}
.switch.on { background: var(--navy); }
.switch.on::after { transform: translateX(16px); }
.switch.locked { opacity: 0.7; cursor: not-allowed; }

/* === Form success === */
.form-success {
    padding: 56px 36px;
    text-align: center;
}
.form-success .check {
    width: 56px; height: 56px; margin: 0 auto 18px;
    border-radius: 50%; background: var(--navy);
    display: grid; place-items: center;
    color: var(--cream);
}
.form-success h2 { font-size: 28px; margin-bottom: 10px; }
.form-success p { color: var(--body); font-size: 16px; max-width: 40ch; margin: 0 auto; }

/* === Sr-only === */
.sr-only {
    position: absolute; width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* Hidden honeypot — bots only */
.hp-field {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}
