/* Uses the landing tokens: --primary, --primary-light, --on-primary, --bg, --surface, --text, --muted, --border,
   plus --error, --note-bg and --note-fg (light: #B3261E #FFF4D6 #5A4300; dark: #F2B8B5 #3A3010 #F5E2A8). */
/* Contact (shared Atomic block, handbook/templates/landing-contact). */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 40px; align-items: start; }
@media (max-width: 760px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
.contact-copy { display: flex; flex-direction: column; gap: 16px; }
.contact-copy .lead { font-size: 17px; }
.reasons { display: flex; flex-direction: column; gap: 12px; }
.reason { display: flex; gap: 12px; align-items: flex-start; }
.reason svg { flex: none; color: var(--primary); margin-top: 2px; }
.reason b { display: block; }
.small { font-size: 14px; }
.contact-form { background: var(--bg); border: 1px solid var(--border); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.topic { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.topic-label { font-weight: 600; }
.choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 10px; }
.row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 460px) { .choices, .row { grid-template-columns: minmax(0, 1fr); } }
.choice { position: relative; display: flex; }
.choice input { position: absolute; top: 0; left: 0; opacity: 0; width: 1px; height: 1px; margin: 0; }
.choice label { flex: 1; display: flex; flex-direction: column; gap: 2px; min-height: 64px; padding: 12px 14px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); cursor: pointer; }
.choice small { color: var(--muted); font-size: 14px; }
.choice input:checked + label { border: 2px solid var(--primary); padding: 11px 13px; background: var(--primary-light); }
.choice input:focus-visible + label { outline: 3px solid var(--primary); outline-offset: 2px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label { font-weight: 600; }
.field input, .field textarea { font: inherit; color: var(--text); background: var(--surface); border: 1px solid var(--muted); border-radius: 12px; padding: 12px 14px; min-height: 48px; width: 100%; }
.field textarea { min-height: 140px; resize: vertical; }
.field [aria-invalid="true"] { border: 2px solid var(--error); }
.counter { font-size: 13px; color: var(--muted); text-align: end; font-variant-numeric: tabular-nums; }
.field-error, .form-error { color: var(--error); font-size: 14px; }
.form-error a { color: inherit; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.consent input { flex: none; width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--primary); }
.btn { font: inherit; font-weight: 700; border: 0; border-radius: 12px; min-height: 48px; padding: 12px 20px; background: var(--primary); color: var(--on-primary); cursor: pointer; width: 100%; max-width: 420px; align-self: center; }
.btn:disabled { opacity: 0.6; cursor: progress; }
.contact-sent { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 40px 24px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.contact-sent h3:focus { outline: none; }
/* Panels toggled by contact.js: [hidden] must win over their display rules. */
.contact-form[hidden], .contact-sent[hidden] { display: none; }
.check { width: 56px; height: 56px; border-radius: 999px; background: var(--primary-light); color: var(--primary); display: grid; place-items: center; }
.contact-note { background: var(--note-bg); color: var(--note-fg); padding: 14px 24px; display: flex; gap: 10px; justify-content: center; align-items: center; flex-wrap: wrap; font-weight: 600; text-align: center; }
.contact-note a { color: inherit; }
