/* pages/contact.css — the rules this page OWNS.
   Split from components.css, content.css, paid.css, styles.css by agent-os/tools/split_page_css.py. Only selectors whose classes are
   used by NO other page in this site moved here; shared rules stayed put, because
   duplicating one fact into several files is how the copies drift apart.

   FIXED 2026-09-25 (FD-409 "unprofessional"; govern/WEBSITE_HANDOFF_2026-09-25.md CONTACT). The
   two-column grid (four tall topic cards beside a short address card, a large empty gap) is
   gone. One centred composition, max-width 760px, in the site's own `.contact-card` style: a
   topic pill group (`.chips`/`.chip`, already shared site-wide - no new pill visual invented
   here), the selected topic's sentence, then the address block and actions exactly as before.
   `.contact-grid`, `.contact-channels`, `.channel`, `.ch-ic` are removed with the layout they
   drew.

   SITE WALK, ROUND 2 (creative director, 2026-09-24; scratchpad/site_pass/pages/contact_footer
   /LAYOUT.md section 8.3). Copy button styles and .sr-only kept as they were updated
   post-redesign. Removed: the founders block, the mail-app form. */

/* ---------- CONTACT (pages/contact.css) ---------- */
.contact-sec{padding:40px 0 96px}
/* one centred composition; the site's own card style carries the surface, border and shadow */
.contact-single{max-width:760px;margin:0 auto}
.contact-card{display:flex;flex-direction:column;gap:24px;padding:26px;border:1px solid var(--border);border-radius:var(--r-lg);background:var(--surface);box-shadow:var(--shadow-lg)}
:root[data-theme="dark"] .contact-card{border-color:var(--border2)}
/* the topic pill-selector: label (.kicker, shared), four pills (.chips/.chip, shared), the
   selected topic's sentence below, updating on selection */
.contact-topics{display:flex;flex-direction:column;gap:12px}
.contact-sec .chip:focus-visible{outline:2px solid var(--azure);outline-offset:3px}
.contact-topic-sentence{margin:0;font-size:14px;line-height:1.6;color:var(--muted);max-width:58ch}
/* address as a 22-24px heading */
.contact-address-h{font-size:inherit;letter-spacing:inherit;line-height:inherit;color:inherit;margin:0}
.contact-address{display:inline-block;font-family:var(--fs-display);font-weight:600;font-size:clamp(22px, 2.1vw, 24px);letter-spacing:-.02em;line-height:1.2;color:var(--ink);text-decoration:none}
.contact-address:hover{text-decoration:underline}
.contact-seller{margin-top:8px;font-size:14px;line-height:1.5;color:var(--muted);max-width:60ch}
/* the two controls: Write to us and Copy address */
.contact-actions{display:flex;flex-direction:column;gap:12px}
.contact-actions .btn-primary{width:100%;display:flex;justify-content:center;text-align:center} /* 2026-09-25: display:block had dropped the button's centring, so its label sat left while Copy address sat centred */
.contact-actions .btn-ghost{width:100%;display:block}
/* copy button state: Copied / Copy address swap */
.copy-swap{display:grid}
.copy-swap > span{grid-area:1 / 1;display:inline-flex;align-items:center;justify-content:center;gap:8px}
.copy-swap .is-done,
.btn-ghost.done .copy-swap .is-idle{visibility:hidden}
.btn-ghost.done .copy-swap .is-done{visibility:visible}
/* visually hidden, readable by a screen reader: the copy-status live region announces
   "Copied" without visual duplication. */
.contact-sec .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}

@media (max-width:980px){
  .contact-address{font-size:min(24px,calc((100vw - 100px) / 8))}
}
@media (max-width:820px){
  .contact-sec{padding:28px 0 56px}
  .contact-card{padding:20px;gap:20px}
  .contact-address{font-size:min(20px,calc((100vw - 80px) / 8))}
  .contact-actions{flex-direction:column;gap:10px}
  .contact-actions .btn{min-height:44px}
}
