/* Support pages — same type and token system as the site root, so a reviewer
   or user moving between the homepage and a support page stays in one place.
   Utilitarian on purpose: a support page is scanned for one answer, not read. */
:root {
  --paper:   #FCFCFB;
  --ink:     #111114;
  --ink-2:   #3A3A40;
  --muted:   #78787F;
  --faint:   #A2A2A9;
  --rule:    #E6E6E3;
  --rule-2:  #D2D2CE;
  --tile:    #F3F3F1;
  --live:    #2E6B45;
  --live-bg: #E8F1EB;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper:   #0C0C0E;
    --ink:     #F2F2F0;
    --ink-2:   #C6C6C4;
    --muted:   #8A8A92;
    --faint:   #6A6A72;
    --rule:    #232327;
    --rule-2:  #33333A;
    --tile:    #17171A;
    --live:    #7FC49B;
    --live-bg: #16241C;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  padding: 0 24px 96px;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Public Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.wrap { max-width: 640px; margin: 0 auto; }

header { padding: 72px 0 0; }
.back {
  display: inline-block;
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: .02em;
  margin-bottom: 30px;
  border-bottom: 1px solid transparent;
}
.back:hover, .back:focus-visible { color: var(--ink); border-color: var(--rule-2); }

h1 {
  font-family: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  font-weight: 400;
  font-size: clamp(38px, 8vw, 52px);
  line-height: 1.06;
  letter-spacing: -.015em;
  margin: 0 0 10px;
  text-wrap: balance;
}
.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--faint);
  margin: 0 0 14px;
}
.lede { font-size: 17px; color: var(--ink-2); margin: 0; max-width: 46ch; }

/* Contact sits first and looks like the answer, because for most visitors
   it is the answer. */
.contact-card {
  margin: 34px 0 0;
  padding: 24px 26px;
  background: var(--tile);
  border: 1px solid var(--rule);
  border-radius: 12px;
}
.contact-card h2 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-weight: 400;
  font-size: 24px;
  margin: 0 0 8px;
}
.contact-card p { margin: 0 0 14px; color: var(--ink-2); font-size: 15.5px; }
.contact-card p:last-child { margin-bottom: 0; }
.mail {
  display: inline-block;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1.5px solid var(--rule-2);
  padding-bottom: 1px;
}
.mail:hover, .mail:focus-visible { border-color: var(--ink); }

h2.section {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--faint);
  margin: 56px 0 0;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ink);
}

.qa { border-bottom: 1px solid var(--rule); padding: 22px 0; }
.qa h3 {
  font-size: 16.5px;
  font-weight: 600;
  margin: 0 0 7px;
  color: var(--ink);
  line-height: 1.35;
}
.qa p { margin: 0 0 10px; color: var(--ink-2); font-size: 15.5px; }
.qa p:last-child { margin-bottom: 0; }
.qa a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--rule-2); }
.qa a:hover, .qa a:focus-visible { border-color: var(--ink); }

/* App cards on the hub page */
.apps { display: flex; flex-direction: column; gap: 0; }
.app {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  align-items: center;
  padding: 26px 0;
  border-bottom: 1px solid var(--rule);
  text-decoration: none;
  color: inherit;
}
.app img { width: 56px; height: 56px; border-radius: 13px; border: 1px solid var(--rule-2); display: block; }
.app h3 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-weight: 400;
  font-size: 25px;
  margin: 0 0 3px;
  line-height: 1.15;
}
.app span { font-size: 14.5px; color: var(--muted); }
.app:hover h3, .app:focus-visible h3 { text-decoration: underline; text-underline-offset: 3px; }

footer {
  margin-top: 64px;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--faint);
}
footer a { color: var(--faint); text-decoration: none; border-bottom: 1px solid transparent; }
footer a:hover, footer a:focus-visible { color: var(--ink); border-color: var(--rule-2); }

a:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 2px; }

@media (max-width: 480px) {
  header { padding-top: 52px; }
  .contact-card { padding: 20px; }
}
