/*
  contact.css: CONTACT round 1 (Fri 2026-10-30; brief-probe-contact-1.md). The FAQ page's layout rules (faq.css .page-faq ...) written for .page-contact,
  and the six rows in the guide's step grammar (download.css .dl-list / .dl-btn / .dl-num): a numbered list, one rule between rows, the title taking the
  guide's hover colour (ink, from 88% ink). Each row is the link (no expand, so no plus mark). Loaded after ../meet/meet.css; touches only .page-contact / .ct-*.
  The headline stands on the shared slot exactly as the FAQ page's does: the same box top (the centred box's top), the same --band, the same --head-y.
*/

.page-contact .hl-line { display: block; }

@media (min-width: 1024px) {
  .page-contact .centre { align-items: start; }
  .page-contact .learn {
    height: auto;
    min-height: calc(714px * var(--z));
    /* the centred box's top, as faq.css writes it; the nav's height is the nav's own rule (home.css .nav), so the headline stands on the slot at every window, with no script to measure it */
    margin-top: max(0px, calc((100dvh - clamp(64px, 4.6vw, 84px) - round(down, var(--gutter), 0.015625px) - round(down, 714px * var(--z), 0.015625px)) / 2));
  }
  .page-contact .learn-stack { position: relative; inset: auto; margin-top: var(--band); grid-template-rows: auto; }
  .page-contact .s1 { height: auto; align-items: start; }
  .page-contact .ct-col { min-width: 0; padding-top: var(--head-y); padding-bottom: calc(var(--floor-room) + var(--gutter)); }
  .page-contact .ct-list { margin-top: 0; max-width: none; }
}

.page-contact .hl { margin-bottom: 0; }
.ct-lede { margin: calc(var(--hl-size) * 0.36) 0 0; font-size: var(--walk-size); line-height: 1.5; color: var(--walk-ink); text-wrap: pretty; max-width: 28em; }

/* ---------------- THE ROWS ---------------- */
.ct-list { list-style: none; margin: calc(var(--hl-size) * 0.55) 0 0; padding: 0; max-width: 40em; font-size: var(--walk-size); }
.ct-item { border-bottom: 1px solid var(--line); }
.ct-item:first-child { border-top: 1px solid var(--line); }
.ct-row {
  display: grid;
  grid-template-columns: 2.2em minmax(0, 1fr);
  align-items: baseline;
  column-gap: 0.4em;
  min-height: 44px;
  padding: 0.78em 0;
  font-size: 1.06em;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.005em;
  text-decoration: none;
  color: color-mix(in srgb, var(--ink) 88%, var(--bg));
  transition: color 0.2s ease;
}
.ct-row:hover, .ct-row:focus-visible { color: var(--ink); }
.ct-row:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.ct-num { color: var(--accent); font-variant-numeric: tabular-nums; font-weight: 600; }
.ct-text { display: block; min-width: 0; }
.ct-title { display: block; }
.ct-gloss { display: block; margin-top: 0.15em; font-size: var(--walk-size); font-weight: 400; line-height: 1.5; letter-spacing: 0; color: var(--walk-ink); text-wrap: pretty; }

/* the plain address, for a reader with no mail app: under the list, aligned with the titles */
.ct-addr { margin: 1.1em 0 0 2.6em; font-size: var(--walk-size); line-height: 1.5; }
.ct-addr a { color: var(--accent); text-decoration: underline; text-decoration-color: rgba(34, 211, 238, 0.35); text-underline-offset: 0.18em; transition: text-decoration-color 0.2s ease, color 0.2s ease; }
.ct-addr a:hover { color: var(--cyan-hot); text-decoration-color: currentColor; }
.ct-addr a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  .ct-row, .ct-addr a { transition: none; }
}

/* below lg: the rows stack under the title (meet.css's .page-faq rules, written for this page) */
@media (max-width: 1023px) {
  .page-contact .centre { row-gap: 0; align-items: start; }
  .page-contact .s1 { row-gap: 0; }
  .page-contact .hl { margin-bottom: 0; }
  .page-contact .stepper { display: none; }
  .page-contact .learn { grid-template-rows: auto; row-gap: 0; }
  .page-contact .learn-stack { grid-row: 1; }
  .page-contact .s1-copy, .page-contact .ct-col { padding-top: 0; }
  .ct-lede { max-width: none; }
  .ct-list { max-width: none; margin-top: 18px; font-size: 16px; }
  /* m68 (the mobile lane, his word Fri 2026-10-30 ~23:5x: "contact us - center align everything for starters"): the page centres below 1024 — the headline
     on one line (the two .hl-line spans run on, a space between, as Pricing's does) and its line; the numbered rows stay as the desktop lays them (his second
     word: "keep all the numbered things how it was before"); the mail line centred at the bottom */
  .page-contact .hl { display: block; text-align: center; white-space: normal; }
  .page-contact .hl-line { display: inline; }
  /* (m70: a real space in the markup between the spans; no ::before) */
  .page-contact .ct-lede { text-align: center; text-wrap: balance; }   /* m69 (his eye): two even lines, no "filled in." runt */
  .page-contact .ct-addr { padding-left: 0; margin-left: 0; margin-right: 0; text-align: center; }   /* the mail line on the same centre (the guide's number column no longer indents it) */
}
