/* Public CSF Deal Manager app pages (/app/privacy, /app/support): no session, no scripts. */
:root {
  --ink: #0f2a33;
  --muted: #4a6670;
  --line: #d6e4e8;
  --teal: #0b6e74;
  --bg: #ffffff;
  --panel: #f3f8f9;
  --warn-bg: #fff4d6;
  --warn-ink: #6b4a00;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #e7f1f3;
    --muted: #a9c0c6;
    --line: #29434a;
    --teal: #5cc6cc;
    --bg: #0d1a1e;
    --panel: #13262b;
    --warn-bg: #3a2f10;
    --warn-ink: #ffd98a;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-text-size-adjust: 100%;
}
.doc { max-width: 760px; margin: 0 auto; padding: 24px 16px 48px; }
.eyebrow { margin: 0; color: var(--teal); font-weight: 600; font-size: 0.85rem; letter-spacing: 0.04em; text-transform: uppercase; }
h1 { margin: 4px 0 8px; font-size: 1.6rem; line-height: 1.25; }
h2 { margin: 28px 0 8px; font-size: 1.15rem; }
.lede { margin: 0 0 8px; font-weight: 600; }
.meta { color: var(--muted); font-size: 0.9rem; }
a { color: var(--teal); }
a:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
th, td { text-align: left; vertical-align: top; padding: 10px 8px; border-bottom: 1px solid var(--line); }
th { background: var(--panel); }
@media (max-width: 560px) {
  table, thead, tbody, tr, th, td { display: block; }
  thead { display: none; }
  tr { border: 1px solid var(--line); border-radius: 10px; margin: 0 0 12px; padding: 4px 0; }
  td { border: 0; padding: 6px 12px; }
  td:first-child { font-weight: 600; }
  td:last-child { color: var(--muted); font-size: 0.9rem; }
  /* The header row is hidden at this width: each value carries its column's name (read by VoiceOver too). */
  td:not(:first-child)::before { content: attr(data-label) ": "; font-weight: 600; color: var(--ink); }
}
.tbc { background: var(--warn-bg); color: var(--warn-ink); border-radius: 4px; padding: 0 3px; }
.draft { background: var(--warn-bg); color: var(--warn-ink); padding: 10px 16px; text-align: center; font-weight: 600; }

/* ── /app/support: the CSF Deal Manager redesign (Support artboard). Scoped to body.support-page,
   so /app/privacy and /app/terms are unchanged. No scripts: the topics are <details>. ── */
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 200 800; font-display: swap;
             src: url("/static/fonts/plus-jakarta-sans-latin-wght.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 100 1000; font-display: swap;
             src: url("/static/fonts/dm-sans-latin-wght.woff2") format("woff2"); }
.support-page {
  --s-page: #FAFAF8; --s-card: #FFFFFF; --s-ink: #1A1A1A; --s-title: #10424b; --s-muted: #525861;
  --s-link: #0E7490; --s-line: #efede8; --s-tint: #e8f4f4; --s-shadow: 0 1px 3px rgba(16,66,75,0.08);
  --s-primary: #10424b; --s-on-primary: #FFFFFF;
  background: var(--s-page); color: var(--s-ink);
  font: 15px/1.45 "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
@media (prefers-color-scheme: dark) {
  .support-page {
    --s-page: #0d1a1e; --s-card: #13262b; --s-ink: #e7f1f3; --s-title: #e7f1f3; --s-muted: #a9c0c6;
    --s-link: #5cc6cc; --s-line: #29434a; --s-tint: #1d3a41; --s-shadow: none;
    --s-primary: #5cc6cc; --s-on-primary: #0d1a1e;
  }
}
.support-page .doc { max-width: 560px; padding: 20px 16px 28px; display: flex; flex-direction: column; gap: 14px; }
.support-page .eyebrow { color: var(--s-muted); font-size: 12px; letter-spacing: 0.6px; }
.support-page h1, .support-page h2 { font-family: "Plus Jakarta Sans", -apple-system, sans-serif; font-weight: 700; color: var(--s-title); }
.support-page h1 { margin: -8px 0 0; font-size: 26px; line-height: 32px; letter-spacing: -0.3px; }
.support-page .lede { margin: -8px 0 0; font-weight: 400; font-size: 14px; line-height: 20px; color: var(--s-muted); }
.support-page a { color: var(--s-link); }
.support-page a:focus-visible, .support-page summary:focus-visible { outline: 2px solid var(--s-link); outline-offset: 2px; }
.support-page .card { background: var(--s-card); border-radius: 16px; box-shadow: var(--s-shadow); }
.support-page .ringing { padding: 14px 16px; }
.support-page .ringing > h2 { margin: 0 0 10px; font-size: 17px; }
.support-page .steps { margin: 0; padding: 0; list-style: none; counter-reset: step; display: flex; flex-direction: column; gap: 10px; }
.support-page .steps li { counter-increment: step; position: relative; min-height: 24px; padding-left: 34px; font-size: 14.5px; line-height: 20px; }
.support-page .steps li::before {
  content: counter(step); position: absolute; left: 0; top: -2px; width: 24px; height: 24px; border-radius: 12px; background: var(--s-tint);
  color: var(--s-title); font-weight: 700; font-size: 12px; line-height: 24px; text-align: center;
}
.support-page .topics { overflow: hidden; }
.support-page details { padding: 0 16px; }
.support-page details + details { border-top: 1px solid var(--s-line); }
.support-page summary { min-height: 48px; display: flex; align-items: center; gap: 8px; cursor: pointer; list-style: none; touch-action: manipulation; }
.support-page summary::-webkit-details-marker { display: none; }
.support-page summary h2 { flex: 1; margin: 0; font-size: 16px; }
/* the disclosure chevron: points right when closed, down when open */
.support-page summary::after {
  content: ""; flex: none; width: 8px; height: 8px; margin-right: 4px; border-right: 2px solid var(--s-muted);
  border-bottom: 2px solid var(--s-muted); transform: rotate(-45deg); transition: transform .15s;
}
.support-page details[open] > summary::after { transform: rotate(45deg); }
.support-page details > :not(summary) { margin: 0 0 14px; font-size: 14.5px; line-height: 21px; }
.support-page details ul { padding-left: 20px; }
.support-page details li + li { margin-top: 6px; }
.support-page .section-label { margin: 6px 0 8px; font-family: inherit; font-size: 12px; font-weight: 600; letter-spacing: 0.6px; text-transform: uppercase; color: var(--s-muted); }
/* two buttons side by side when the email address fits on one line, stacked on a phone */
.support-page .contact-buttons { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 8px; }
.support-page .contact-btn {
  min-height: 64px; display: flex; flex-direction: column; justify-content: center; gap: 2px; padding: 12px 14px;
  border-radius: 16px; background: var(--s-card); box-shadow: var(--s-shadow); color: var(--s-title);
  text-decoration: none; overflow-wrap: anywhere; touch-action: manipulation;
}
.support-page .contact-btn span { font-size: 12px; color: var(--s-muted); }
.support-page .contact-btn b { font-size: 14px; }
.support-page .contact-btn.primary { background: var(--s-primary); color: var(--s-on-primary); }
.support-page .contact-btn.primary span { color: inherit; opacity: 0.85; }
.support-page .num { font-variant-numeric: tabular-nums; }
.support-page .meta { margin: 10px 0 0; color: var(--s-muted); font-size: 13px; }
