/* /support — the page's own pieces, on top of /page.css.
   Loaded after it; every token here is page.css's. No inline styles (the
   CSP is style-src 'self'), and motion stays a transform. */

/* ---------- Crisis help, right now ----------
   The first thing under the title, in a panel of the ramp's light and never
   in an alarm colour. From 1080px it takes the full width, so each line's
   number sits on one row. */

.crisis-now { --pad: clamp(24px, 3.4vw, 44px); padding: var(--pad); }
@media (min-width: 1080px) {
  .doc > .crisis-now { grid-column: 1 / -1; }
}
.crisis-now h2 {
  margin-bottom: clamp(22px, 2.6vw, 32px);
  /* "Get help now" and the contents land on the panel, not on the heading
     inside it. */
  scroll-margin-top: calc(var(--pad) + 1px);
}
.crisis-now .lines li { padding: 18px 0; }
@media (min-width: 1080px) {
  .crisis-now .lines li { padding: 20px 0; }
  .crisis-now .line-name { font-size: 1.0625rem; }
  .crisis-now .line-how { font-size: 1rem; }
}
.crisis-now .fine { margin-top: 22px; max-width: 44rem; }

/* ---------- Help with the app ----------
   The address, set large in the ramp: the one place on the page that
   reaches us. The underline stays mint, as on every link. */

.doc > .mail { margin-top: 28px; }
.mail {
  font-family: var(--display);
  font-stretch: 75%;
  font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--ink);
  overflow-wrap: anywhere;
}
:where(.doc) .mail a {
  background: var(--ramp);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  text-decoration-color: var(--mint-line);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.18em;
}
:where(.doc) .mail a:hover { text-decoration-color: var(--mint); }
.doc > .mail + p { margin-top: 14px; }

/* ---------- Rate the app ----------
   The two store links as page.css's standalone links, with the arrow. */

.doc > .links-row { margin-top: 22px; }
.doc > .links-row + .fine { margin-top: 26px; }

/* ---------- Print ---------- */

@media print {
  .crisis-now { padding: 10pt 12pt; }
  .crisis-now h2 { margin-bottom: 8pt; }
  .crisis-now .lines li { padding: 5pt 0; }
  .crisis-now .line-name, .crisis-now .line-how { font-size: 10.5pt; }
  .crisis-now .fine { margin-top: 8pt; }
  .mail { font-size: 16pt; }
  /* The questions print open (page.css); on paper they need less air. */
  .faq summary { padding: 8pt 0 3pt; }
  .faq .answer { padding: 0 0 8pt; }
  .faq .answer p + p { margin-top: 5pt; }
  :where(.doc) .mail a { background: none; color: #000; -webkit-text-fill-color: #000; text-decoration-color: #6f6f6f; text-decoration-thickness: 1px; }
}
