/* ───────────────────────────────────────────────────────────────────
   Contact (contact.html) only, v6 design, 2026-11-01. Shared components
   live in styles/marketing.css (`mk-`); this sheet holds what only this
   page draws: the text hero, the three ways to reach a person, and the
   restyled contact form (same Netlify form, fields and handler as before).
   Gradients on this page: the close band (one).
   Motion budget: the kit's hovers only.
   ─────────────────────────────────────────────────────────────────── */

body.ct-page { line-height: normal; color: var(--mk-ink); background: #fff; }

/* ─── Hero ──────────────────────────────────────────────────────── */
.ct-hero { padding: 96px 0 0; text-align: center; }
.ct-hero-in { max-width: 880px; margin: 0 auto; padding: 0 40px; }
.ct-hero .mk-eyebrow { margin-bottom: 18px; }
.ct-hero h1 { font-family: var(--sn-font-display); font-size: clamp(2.3rem, 4.6vw, 3.9rem); line-height: 1.04; letter-spacing: -0.035em; font-weight: 700; margin: 0 auto; max-width: 18ch; text-wrap: balance; color: var(--mk-ink); }
.ct-lede { font-size: 20px; line-height: 1.5; color: var(--mk-soft); max-width: 52ch; margin: 24px auto 0; text-wrap: pretty; }

/* ─── Three ways in ─────────────────────────────────────────────── */
.ct-ways-sec { padding: 64px 0 0; }
@media (min-width: 981px) { .ct-panel { margin-top: 0; padding: 48px; } }
.ct-h2 { position: relative; z-index: 1; margin: 0 auto; text-align: center; max-width: 24ch; font-size: clamp(1.6rem, 2.6vw, 2.15rem); }
.ct-ways { position: relative; z-index: 1; margin-top: 32px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ct-way { display: flex; flex-direction: column; align-items: flex-start; transition: transform .25s ease; }
.ct-way:hover { transform: translateY(-3px); }
.ct-ic { width: 44px; height: 44px; border-radius: 50%; background: #E6FAFD; color: var(--mk-deep); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.ct-ic svg { width: 22px; height: 22px; }
.ct-way p { flex: 1 1 auto; }
.ct-btn { margin-top: 22px; padding: 13px 20px; font-size: 15px; }
.ct-mail { margin-top: 22px; font: 600 15px/1.4 var(--mk-mono); color: var(--mk-link); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; word-break: break-all; }
.ct-mail:hover { text-decoration-thickness: 2px; }
.ct-btn:focus-visible, .ct-mail:focus-visible, .ct-self a:focus-visible { outline: 2px solid var(--mk-link); outline-offset: 3px; border-radius: 4px; }

/* ─── Form ──────────────────────────────────────────────────────── */
.ct-form-grid { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 72px; align-items: start; }
.ct-form-copy { position: sticky; top: calc(var(--sn-header-h, 76px) + 32px); }
.ct-form-copy .mk-h2 { max-width: 16ch; }
.ct-sig { display: flex; align-items: center; gap: 14px; margin-top: 28px; }
.ct-av { width: 44px; height: 44px; border-radius: 50%; flex: none; background: var(--mk-navy); color: #fff; font: 600 14px/44px var(--mk-mono); letter-spacing: .04em; text-align: center; }
.ct-sig b { display: block; font-size: 16px; font-weight: 650; color: var(--mk-ink); }
.ct-sig span span, .ct-sig > span:last-child { font-size: 14.5px; color: var(--mk-soft); }
.ct-self { margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--mk-line); }
.ct-self ul { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; }
.ct-self a { font-size: 15.5px; color: var(--mk-link); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.ct-self a:hover { text-decoration-thickness: 2px; }

.ct-form-card { padding: 36px; }
.ct-page .sn-form { max-width: none; margin: 0; gap: 18px; }
.ct-page .sn-form-row { gap: 16px; }
.ct-page .sn-form-field label { font: 500 11.5px/1.5 var(--mk-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--mk-muted); }
.ct-page .sn-form-field input,
.ct-page .sn-form-field textarea,
.ct-page .sn-form-field select { font-size: 16px; padding: 12px 14px; border: 1px solid var(--mk-line); border-radius: 8px; color: var(--mk-ink); background: #fff; }
.ct-page .sn-form-field textarea { min-height: 140px; }
/* Inputs and selects share one height so paired fields line up in a row. */
.ct-page .sn-form-field input, .ct-page .sn-form-field select { box-sizing: border-box; height: 48px; }
.ct-page .sn-form-field input:focus,
.ct-page .sn-form-field textarea:focus,
.ct-page .sn-form-field select:focus { outline: none; border-color: var(--mk-mid); box-shadow: 0 0 0 3px rgba(8,145,178,.16); }
.ct-page .sn-form-submit { align-self: flex-start; margin-top: 6px; border: 0; cursor: pointer; font-family: inherit; transition: transform .2s ease; }
.ct-page .sn-form-submit:hover { transform: translateY(-2px); }
.ct-page .sn-form-submit:focus-visible { outline: 2px solid var(--mk-link); outline-offset: 3px; }
.ct-page .sn-form-disclaimer { text-align: left; font-size: 13.5px; color: var(--mk-muted); margin: 0; }
.ct-page .sn-form-disclaimer a { color: var(--mk-soft); }

/* Inline validation and the honest confirmation (moved from the page's
   old inline <style>; the handler writes these classes). */
.sn-form-error { display: block; margin-top: 6px; font-size: 13px; font-weight: 600; color: var(--sn-error, #B33A3A); line-height: 1.4; }
.ct-page .sn-form-field [aria-invalid="true"],
.ct-page .sn-form-field [aria-invalid="true"]:focus { border-color: var(--sn-error, #B33A3A); box-shadow: 0 0 0 3px rgba(179, 58, 58, 0.12); }
.ct-legend { margin: 0; font-size: 13.5px; color: var(--mk-muted); }
.ct-req { color: var(--sn-error, #B33A3A); font-family: var(--sn-font-body, Inter, sans-serif); }
.sn-form-confirm { text-align: left; padding: 8px 0; }
.sn-form-confirm-icon { width: 52px; height: 52px; margin: 0 0 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #E6FAFD; color: var(--mk-deep); }
.sn-form-confirm h3 { font-size: 22px; font-weight: 700; letter-spacing: -0.018em; color: var(--mk-ink); margin: 0 0 12px; line-height: 1.25; }
.sn-form-confirm p { font-size: 15.5px; line-height: 1.6; color: var(--mk-soft); margin: 0 0 12px; }
.sn-form-confirm p strong { color: var(--mk-ink); }
.sn-form-confirm-fallback { margin-top: 16px !important; padding-top: 16px; border-top: 1px solid var(--mk-line); font-size: 14px !important; color: var(--mk-muted) !important; }
.sn-form-confirm-fallback a { color: var(--mk-link); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  .ct-way, .ct-page .sn-form-submit { transition: none; }
  .ct-way:hover, .ct-page .sn-form-submit:hover { transform: none; }
}

@media (max-width: 980px) {
  .ct-hero { padding: 56px 0 0; }
  .ct-hero-in { padding: 0 22px; }
  .ct-lede { font-size: 18px; }
  .ct-ways-sec { padding-top: 40px; }
  .ct-panel { margin-top: 0; }
  .ct-h2 { text-align: left; margin: 0; }
  .ct-ways { grid-template-columns: 1fr; gap: 14px; margin-top: 24px; }
  .ct-form-grid { grid-template-columns: 1fr; gap: 36px; }
  .ct-form-copy { position: static; }
  .ct-form-card { padding: 24px 20px; }
  .ct-page .sn-form-row { grid-template-columns: 1fr; }
  .ct-page .sn-form-submit { align-self: stretch; justify-content: center; }
  .ct-self ul { gap: 0; }
  .ct-self a { display: flex; align-items: center; min-height: 44px; }
}

/* Phones (2026-11-01, founder): the form comes first, then the three
   ways to reach a person. Order only; the markup is unchanged. */
@media (max-width: 600px) {
  .ct-page main, body main#main { display: flex; flex-direction: column; }
  main#main > .ct-hero { order: 1; }
  main#main > .ct-form-sec { order: 2; padding-top: 32px; }
  main#main > .ct-ways-sec { order: 3; }
  main#main > .mk-close { order: 4; }
  /* The form leads, so it reads as the first way to reach us: no "Or", no
     repeat of the hero's promise, the signature just above the form, and
     the self-serve links after it. */
  .ct-form-h { font-size: 26px; line-height: 1.18; }
  .ct-form-h .ct-or { display: none; }
  .ct-form-h::first-letter { text-transform: uppercase; }
  .ct-form-grid { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  main#main > .ct-form-sec { padding-bottom: 8px; }
  .ct-form-copy { display: contents; }
  .ct-form-copy > .mk-eyebrow { order: 1; }
  .ct-form-copy > .ct-form-h { order: 2; margin-bottom: 0; }
  .ct-form-copy > .mk-sub { display: none; }
  .ct-form-copy > .ct-sig { order: 3; margin: 18px 0 16px; }
  .ct-form-card { order: 4; padding: 22px 18px; }
  .ct-form-copy > .ct-self { order: 5; margin-top: 28px; padding-top: 22px; }
  .ct-ways-sec { padding-top: 48px; }
  .ct-h2 { font-size: 26px; line-height: 1.18; }
}
