/* support.css — Support the Globe (2026-10-04).

   Two jobs, one file:
     1. THE SUPPORT PAGE (/support, support.html), ported from the approved
        mock (globe-audit-2026-10-04/membership/mock-support.html).
     2. THE DOOR: the Support link in the bar, the Sections menu and the
        footer, the quiet box at the end of a story, and the Membership
        section on /account. support-door.js draws those only while support
        is open, and loads this sheet first, so a page with support closed
        never downloads it.

   ONE TYPE SYSTEM (owner, 2026-10-02): Playfair Display, upright, for the
   headings; Inter for everything else; no italics; nothing under 11px.
   Colours are the site's own tokens (styles.css :root). Every control is
   44px tall or taller. */

/* =========================================================== the page */

.sup { padding: 48px 0 72px; }
.sup em, .sup i, .sup cite { font-style: normal; }
.sup a { color: var(--blue); text-underline-offset: 3px; }
.sup :is(a, button, summary, input):focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

.sup-grid {
  max-width: 1120px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1fr) 420px; column-gap: 64px; align-items: start;
  grid-template-areas: "hero pick" "why pick";
}
.sup-hero { grid-area: hero; padding-top: 6px; }
.sup-pick { grid-area: pick; }
.sup-why { grid-area: why; margin: 30px 0 0; padding: 20px 0 0; border-top: 1px solid var(--rule); max-width: 36em; }
.sup-why p { margin: 0 0 12px; font: 400 16px/1.65 var(--ui); color: var(--ink); }

.sup-kick {
  margin: 0 0 10px; font: 700 12px/1.3 var(--ui); letter-spacing: .14em;
  text-transform: uppercase; color: var(--blue);
}
.sup-h1 {
  margin: 0; font-family: var(--display); font-style: normal; font-weight: 600;
  font-size: 46px; line-height: 1.08; letter-spacing: -.01em; text-wrap: balance; color: var(--ink);
}
.sup-dek { margin: 16px 0 0; font: 400 18px/1.55 var(--ui); color: var(--ink-2); max-width: 36em; }
.sup-promise {
  display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 26px 0 0; padding: 0; list-style: none;
  font: 600 14px/1.4 var(--ui); color: var(--ink);
}
.sup-promise li { display: flex; align-items: center; gap: 8px; }
.sup-promise svg { flex: none; color: var(--blue); }

.sup-cap { margin: 0 0 14px; font: 700 12px/1.3 var(--ui); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.sup-h2 { margin: 0 0 14px; font-family: var(--display); font-style: normal; font-weight: 600; font-size: 26px; line-height: 1.2; color: var(--ink); }
.sup-copy { margin: 0; font: 400 16px/1.6 var(--ui); color: var(--ink-2); }
.sup-copy-tight { margin: -4px 0 8px; }

/* --- the picker --- */
.sup-pick {
  position: sticky; top: 24px;
  border: 1px solid var(--rule-strong); border-radius: 6px; background: var(--paper);
  padding: 26px 26px 22px;
}
.sup-pick-title { margin: 0 0 16px; font-family: var(--display); font-style: normal; font-size: 24px; font-weight: 600; line-height: 1.2; color: var(--ink); }
.sup-soon-h { margin: 0 0 6px; font: 700 17px/1.4 var(--ui); color: var(--ink); }
.sup-soon-p { margin: 0; font: 400 15px/1.6 var(--ui); color: var(--ink-2); }
.sup-missing { margin: 12px 0 0; padding: 10px 12px; border-left: 3px solid var(--ink); font: 400 13px/1.5 var(--ui); color: var(--ink); background: var(--ground); }
.sup-test { margin: 0 0 14px; padding: 10px 12px; border-radius: 3px; background: #fff7d6; border: 1px solid #e5d48a; font: 600 13px/1.5 var(--ui); color: #4a3d00; }

.sup-freq {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--rule-strong); border-radius: 4px; overflow: hidden; margin: 0 0 18px;
}
.sup-freq button {
  min-height: 46px; border: 0; border-left: 1px solid var(--rule-strong); margin: 0;
  background: var(--paper); color: var(--ink); font: 600 15px/1 var(--ui); cursor: pointer;
}
.sup-freq button:first-child { border-left: 0; }
.sup-freq button[aria-pressed="true"] { background: var(--rule-strong); color: #fff; }
.sup-amts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0 0 12px; }
.sup-amts.four { grid-template-columns: repeat(4, 1fr); }
.sup-amt {
  min-height: 56px; margin: 0; padding: 6px 4px; border: 1px solid #8a8d93; border-radius: 4px; background: var(--paper);
  font: 700 18px/1.1 var(--ui); color: var(--ink); cursor: pointer;
}
.sup-amt small { display: block; margin-top: 3px; font: 500 12px/1.2 var(--ui); color: var(--ink-3, #63676f); }
.sup-amt[aria-pressed="true"] { border: 2px solid var(--blue); background: var(--blue-tint); color: var(--blue-deep); }
.sup-amt[aria-pressed="true"] small { color: var(--blue-deep); }
.sup-other {
  display: flex; align-items: center; gap: 8px; margin: 0 0 12px;
  border: 1px solid #8a8d93; border-radius: 4px; padding: 0 14px; min-height: 50px;
}
.sup-other[hidden] { display: none; }
.sup-other span { font: 700 18px/1 var(--ui); color: var(--ink); }
.sup-other input { flex: 1; min-width: 0; border: 0; padding: 12px 0; font: 600 18px/1.2 var(--ui); color: var(--ink); background: none; }
.sup-other input:focus { outline: none; }
.sup-other:focus-within { outline: 2px solid var(--blue); outline-offset: 2px; }
.sup-line { margin: 4px 0 16px; min-height: 22px; font: 400 14px/1.5 var(--ui); color: var(--ink-2); }
.sup-line b { color: var(--ink); }
.sup-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; min-height: 52px; margin: 0; padding: 0 18px;
  border: 1px solid var(--rule-strong); border-radius: 4px; background: var(--rule-strong); color: #fff;
  font: 600 16px/1.2 var(--ui); text-decoration: none; cursor: pointer;
}
.sup-btn:hover { background: #000; }
.sup-btn[disabled] { opacity: .6; cursor: progress; }
/* The terms: right under the button, near-black, set off by a rule, the
   amount written out (Cal. Bus. & Prof. Code §17602(a)(1), §17601). */
.sup-terms { margin: 14px 0 0; padding: 1px 0 1px 12px; border-left: 3px solid var(--ink); font: 400 14px/1.5 var(--ui); color: var(--ink); }
.sup-terms b { font-weight: 700; }
.sup-note { margin: 10px 0 0; font: 600 14px/1.5 var(--ui); color: #a3122b; }
.sup-note.is-ok { color: var(--ink); }
.sup-stripe { display: flex; align-items: center; gap: 8px; margin: 14px 0 0; font: 400 13px/1.5 var(--ui); color: var(--ink-3, #63676f); }
.sup-stripe svg { flex: none; }
.sup-acct { margin: 16px 0 0; padding: 12px 0 0; border-top: 1px solid var(--rule); font: 400 13px/1.5 var(--ui); color: var(--ink-2); }
.sup-acct b { color: var(--ink); }
.sup-thanks-h { margin: 0 0 8px; font-family: var(--display); font-style: normal; font-size: 26px; font-weight: 600; color: var(--ink); }
.sup-thanks-p { margin: 0 0 10px; font: 400 15px/1.6 var(--ui); color: var(--ink); }

/* --- the sections below --- */
.sup-sec { max-width: 1120px; margin: 56px auto 0; padding: 26px 0 0; border-top: 1px solid var(--rule-strong); }
.sup-perks { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0 36px; }
.sup-perk { display: grid; grid-template-columns: 34px 1fr; gap: 0 12px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.sup-perk-ico { width: 34px; height: 34px; border-radius: 50%; background: var(--blue-tint); color: var(--blue-deep); display: grid; place-items: center; }
.sup-perk h3 { margin: 4px 0 4px; font: 700 16px/1.35 var(--ui); color: var(--ink); }
.sup-perk p { margin: 0; font: 400 15px/1.55 var(--ui); color: var(--ink-2); }
.sup-when { display: inline-block; margin-top: 6px; font: 700 12px/1.3 var(--ui); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3, #63676f); }
.sup-free { margin: 26px 0 0; padding: 18px 20px; border-radius: 4px; background: var(--ground); font: 400 15px/1.6 var(--ui); color: var(--ink); }
.sup-free b { font-weight: 700; }
.sup-money { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--rule); }
.sup-money li { padding: 16px 16px 16px 0; border-bottom: 1px solid var(--rule); font: 400 15px/1.5 var(--ui); color: var(--ink-2); }
.sup-money li b { display: block; margin-bottom: 4px; font-weight: 700; color: var(--ink); }
.sup-list-empty { margin: 8px 0 0; font: 400 15px/1.6 var(--ui); color: var(--ink-3, #63676f); }
.sup-faq details { border-bottom: 1px solid var(--rule); }
.sup-faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 56px; padding: 10px 0; font: 600 16px/1.4 var(--ui); color: var(--ink);
}
.sup-faq summary::-webkit-details-marker { display: none; }
.sup-faq summary::after { content: "+"; font: 400 22px/1 var(--ui); color: var(--ink-2); }
.sup-faq details[open] summary::after { content: "\2212"; }
.sup-faq details p { margin: 0 0 18px; max-width: 42em; font: 400 15px/1.65 var(--ui); color: var(--ink-2); }

@media (max-width: 960px) {
  .sup-grid { grid-template-columns: minmax(0, 1fr); row-gap: 28px; grid-template-areas: "hero" "pick" "why"; }
  .sup-why { margin-top: 4px; }
  .sup-pick { position: static; }
}
@media (max-width: 760px) {
  .sup { padding: 28px 0 56px; }
  .sup-h1 { font-size: 34px; }
  .sup-dek { font-size: 17px; }
  .sup-h2 { font-size: 23px; }
  .sup-pick { padding: 20px 16px 18px; }
  .sup-perks { grid-template-columns: minmax(0, 1fr); }
  .sup-money { grid-template-columns: 1fr 1fr; }
  .sup-sec { margin-top: 44px; }
}

/* =========================================================== the door */

/* The bar: "Support", bright among the quieter links. */
header.chrome .utility a.util-support { color: #fff; font-weight: 700; }
header.chrome .utility a.util-support[aria-current="page"] { color: #b9c5f5; }
/* On a phone the bar keeps one row. As in the approved mock, a phone's bar
   shows Support and the account link; Newsletter and About wait in the
   Sections menu. Same breakpoint as Search (styles.css, 2026-10-05).
   Measured in Chrome: one row from 360px to 699px. */
@media (max-width: 699px) {
  header.chrome .util-links:has(.util-support) a:is([href$="masthead.html"], [href="/masthead"],
    [href*="newsletter"], [href="#story-signup"]) { display: none; }
}
/* The Sections menu. */
.frame-acts .fm-support { background: var(--blue); color: #fff; }
/* The footer. */
footer .ftr-links a.ftr-support { color: #b9c5f5; }

/* The quiet box after the last line of a story. Never over the text, never
   a popup: it sits in the column, after the story ends. */
.support-ask { max-width: 1000px; margin: 0 auto 34px; }
.support-ask-in {
  max-width: 680px; padding: 22px 0;
  border-top: 2px solid var(--rule-strong); border-bottom: 1px solid var(--rule);
}
.support-ask-h {
  margin: 0; font-family: var(--display); font-style: normal; font-weight: 600;
  font-size: 24px; line-height: 1.25; text-wrap: balance; color: var(--ink);
}
.support-ask-p { margin: 8px 0 16px; font: 400 16px/1.6 var(--ui); color: var(--ink-2); }
.support-ask-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.support-ask-go {
  display: inline-flex; align-items: center; justify-content: center; min-width: 200px; min-height: 48px;
  padding: 0 18px; border-radius: 4px; background: var(--rule-strong); color: #fff;
  font: 600 16px/1.2 var(--ui); text-decoration: none;
}
.support-ask-go:hover { background: #000; color: #fff; }
.support-ask-later {
  min-height: 44px; padding: 0; border: 0; background: none; cursor: pointer;
  font: 600 14px/1.2 var(--ui); color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px;
}
.support-ask :is(a, button):focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
@media (max-width: 640px) {
  .support-ask-h { font-size: 22px; }
  .support-ask-go { flex: 1 1 100%; }
}

/* The Supporter tag on a printed letter (comments.js). */
.c-mark {
  display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 3px;
  background: var(--blue-tint); color: var(--blue-deep);
  font: 700 11px/1.5 var(--ui); letter-spacing: .08em; text-transform: uppercase; vertical-align: 1px;
}

/* The Membership section on /account, drawn inside the account page's own
   signed-in view with that page's section and button classes, plus these. */
.mbr-badge {
  display: inline-flex; align-items: center; gap: 6px; margin-left: 8px; padding: 4px 10px 4px 8px; border-radius: 999px;
  background: var(--blue-tint); color: var(--blue-deep); font: 700 13px/1.2 var(--ui); vertical-align: 4px;
}
.mbr-facts { margin: 16px 0 18px; padding: 0; list-style: none; border-top: 1px solid var(--rule); }
.mbr-facts li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--rule); font: 400 15px/1.4 var(--ui); color: var(--ink-2); }
.mbr-facts li b { color: var(--ink); font-weight: 600; text-align: right; }
.mbr-tog { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; margin: 0 0 18px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.mbr-tog-text b { display: block; font: 600 15px/1.4 var(--ui); color: var(--ink); }
.mbr-tog-text span { display: block; margin-top: 2px; font: 400 14px/1.5 var(--ui); color: var(--ink-2); }
/* The switch: a 50 x 30 track drawn inside a 56 x 44 button, so the
   finger's target meets the 44px rule while the switch looks like one. */
.mbr-switch {
  flex: none; position: relative; width: 56px; min-height: 44px; height: 44px; margin: -7px 0 0; padding: 0; border: 0;
  background: none; cursor: pointer;
}
.mbr-switch::before {
  content: ""; position: absolute; top: 7px; left: 3px; width: 50px; height: 30px; border-radius: 999px;
  background: #8a8d93; transition: background .15s;
}
.mbr-switch::after {
  content: ""; position: absolute; top: 10px; left: 6px; width: 24px; height: 24px; border-radius: 50%;
  background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .25); transition: left .15s;
}
.mbr-switch[aria-checked="true"]::before { background: var(--blue); }
.mbr-switch[aria-checked="true"]::after { left: 26px; }
.mbr-switch[disabled] { cursor: progress; }
.mbr-switch:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 8px; }
.mbr-stack { display: grid; gap: 10px; max-width: 420px; }
.mbr-fine { margin: 10px 0 0; font: 400 13px/1.5 var(--ui); color: var(--ink-2); }
.mbr-note { margin: 10px 0 0; font: 600 14px/1.5 var(--ui); color: var(--ink); }
