/*
 * All shop specific theming happens in this block. Everything below only
 * references these custom properties, so the corporate identity can be applied
 * without touching the layout rules.
 */
:root {
    --ink: #16181d;
    --ink-muted: #5b6270;
    --line: #dfe3e9;
    --line-strong: #b8bfca;
    --surface: #ffffff;
    --surface-sunken: #f4f6f8;
    --accent: #B80809;
    --accent-ink: #ffffff;
    --danger: #a4232b;
    --danger-surface: #fdf1f1;
    --notice-surface: #fff8e6;
    --notice-line: #e2c169;

    --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
    --radius: 4px;
    --measure: 46rem;
}

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

body {
    margin: 0;
    padding: 2rem 1.25rem 4rem;
    background: var(--surface-sunken);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    -webkit-text-size-adjust: 100%;
}

.page {
    max-width: var(--measure);
    margin: 0 auto;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 2.5rem clamp(1.25rem, 4vw, 3rem) 2rem;
}

.page__head {
    border-bottom: 2px solid var(--ink);
    padding-bottom: 1.25rem;
    margin-bottom: 1.75rem;
}


h1 {
    margin: 0;
    font-size: clamp(1.6rem, 4vw, 2.1rem);
    line-height: 1.2;
    letter-spacing: -0.015em;
}

h2 {
    margin: 0 0 0.5rem;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-muted);
}

.lead {
    margin: 0 0 1.75rem;
    font-size: 1.05rem;
    color: var(--ink);
}

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

/* Recipient block, mirrors the "An:" section of the statutory form. */



/* Form blocks */
.form {
    margin: 0;
}





.field {
    margin-bottom: 1.25rem;
    flex: 1 1 12rem;
}

.field--narrow {
    flex: 0 1 7rem;
}

.row {
    display: flex;
    flex-wrap: wrap;
    gap: 0 1rem;
}

label,
.label {
    display: block;
    margin-bottom: 0.35rem;
    font-weight: 600;
    font-size: 0.95rem;
}


input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
select,
textarea {
    width: 100%;
    padding: 0.6rem 0.7rem;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    background: var(--surface);
    color: inherit;
    font: inherit;
}

textarea {
    resize: vertical;
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible,
button:focus-visible,
a:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}





.hint {
    margin: 0.35rem 0 0;
    font-size: 0.875rem;
    color: var(--ink-muted);
}

.error {
    margin: 0.35rem 0 0;
    font-size: 0.875rem;
    color: var(--danger);
}

.field--error input,
.field--error textarea,
.field--error select {
    border-color: var(--danger);
}

/* Honeypot: off screen rather than display:none, which some bots detect. */
.hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}



.actions {
    border-top: 1px solid var(--line);
    padding-top: 1.5rem;
}

.button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: 0;
    border-radius: var(--radius);
    background: var(--accent);
    color: var(--accent-ink);
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.button:hover {
    filter: brightness(1.1);
}

/* Alerts */
.alert {
    padding: 1rem 1.25rem;
    border-radius: var(--radius);
    margin-bottom: 1.75rem;
}

.alert p {
    margin: 0;
}

.alert ul {
    margin: 0.5rem 0 0;
    padding-left: 1.1rem;
}

.alert--error {
    background: var(--danger-surface);
    border-left: 3px solid var(--danger);
    color: var(--danger);
}

.alert--error a {
    color: inherit;
}

.alert--notice {
    background: var(--notice-surface);
    border-left: 3px solid var(--notice-line);
    color: var(--ink);
}

/* Confirmation page */
.receipt {
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-bottom: 1.75rem;
}

.receipt__status {
    margin: 0 0 1.25rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.receipt__label {
    margin: 0;
    font-size: 0.75rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-muted);
}

.receipt__reference {
    margin: 0.15rem 0 0;
    font-family: var(--font-mono);
    font-size: clamp(1.5rem, 5vw, 2rem);
    letter-spacing: 0.02em;
}

.page__foot {
    margin-top: 2.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--line);
    font-size: 0.85rem;
    color: var(--ink-muted);
}

.page__foot p {
    margin: 0 0 0.25rem;
}

@media (max-width: 32rem) {
    body {
        padding: 0;
    }

    .page {
        border: 0;
        border-radius: 0;
        padding: 2rem 1.25rem 2.5rem;
    }

    .row {
        display: block;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}

/* Secondary action for the voluntary follow-up form. */
.button--secondary {
    background: var(--surface);
    color: var(--accent);
    border: 1px solid var(--accent);
    font-weight: 600;
}

.followup {
    border-top: 1px solid var(--line);
    margin-top: 2rem;
    padding-top: 1.5rem;
}

.followup h2 {
    margin-bottom: 0.35rem;
}
