/* Help articles (TK0957). White, the Mercury lockup in ink, an article read on a phone first.
   Built by tools/build-help.mjs; contract in help/HELP.md. Stands alone: it does not load
   styles.css, which sets the dark site. */

@font-face {
  font-family: 'Editorial Today';
  src: url('../fonts/EditorialToday-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #FFFFFF;
  --mist: #F5F6F8;
  --ink: #0E0E0E;
  --text: #2B313D;
  --muted: #6F7888;
  --hair: #E6E8EC;
  --line: #D9DDE3;
  --navy: #1A2130;
  --link: #1F4E8C;
  --serif: 'Editorial Today', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
  --sans: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body.h-body { margin: 0; background: var(--paper); color: var(--text); font-family: var(--sans); font-weight: 400; font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; border-radius: 4px; }

.h-wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* The fixed lockup (logo_lockup.svg) in ink: img/mercury-lockup-ink.svg. Never mark and wordmark side by side. */
.h-logo { display: inline-block; line-height: 0; }
.h-logo img { display: block; height: 20px; width: auto; }

/* Header */
.h-header { position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--hair); }
.h-header-in { height: 60px; display: flex; align-items: center; justify-content: space-between; }
.h-app { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; border-radius: 999px; background: var(--ink); color: #FFFFFF; font-size: 14px; font-weight: 500; text-decoration: none; }
.h-app svg { width: 14px; height: 14px; fill: currentColor; margin-top: -2px; }

/* Hero */
.h-hero { padding: 36px 0 28px; border-bottom: 1px solid var(--hair); }
.h-crumb { margin: 0 0 28px; font-size: 13px; color: var(--muted); display: flex; gap: 8px; }
.h-eb { margin: 0 0 10px; font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.h-title { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 44px; line-height: 1.02; letter-spacing: -0.03em; color: var(--ink); text-wrap: balance; }
.h-open { margin: 18px 0 0; font-size: 19px; line-height: 1.5; color: var(--text); max-width: 640px; text-wrap: pretty; }
.h-meta { margin: 18px 0 0; font-size: 13px; color: var(--muted); }

/* On this page: a short list on the phone, a sticky column on desktop. */
.h-toc { padding: 22px 0 6px; }
.h-toc p { margin: 0 0 10px; font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.h-toc ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.h-toc a { display: inline-block; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; text-decoration: none; color: var(--text); }
.h-toc a:hover { border-color: var(--ink); color: var(--ink); }

/* Article */
.h-article { max-width: 680px; }
.h-sec { padding: 36px 0 4px; scroll-margin-top: 80px; }
.h-sec p { margin: 0 0 16px; text-wrap: pretty; }
.h-h2 { margin: 0 0 14px; font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1.1; letter-spacing: -0.02em; color: var(--ink); display: flex; align-items: center; gap: 10px; }
.h-h3 { margin: 28px 0 12px; font-size: 13px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }

/* The one note that matters most: a soft box. */
.h-sec--note { margin-top: 32px; padding: 24px 22px 10px; border-radius: 18px; background: var(--mist); border: 1px solid var(--hair); }
.h-sec--note .h-h2 { font-size: 24px; }
.h-sec--note .h-h2 svg { flex: none; width: 22px; height: 22px; color: var(--navy); }

.h-check { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.h-check li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1px solid var(--hair); border-radius: 14px; }
.h-check svg { flex: none; width: 20px; height: 20px; padding: 3px; margin-top: 2px; border-radius: 50%; background: var(--ink); color: #FFFFFF; }

.h-steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: flex; flex-direction: column; }
.h-steps li { counter-increment: s; position: relative; padding: 2px 0 22px 52px; }
.h-steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-family: var(--serif); font-size: 18px; color: #FFFFFF; background: linear-gradient(140deg, #2B313D, #0E0E0E); }
.h-steps li:not(:last-child)::after { content: ''; position: absolute; left: 16.5px; top: 40px; bottom: 6px; width: 1px; background: var(--line); }
.h-steps span { display: block; padding-top: 4px; color: var(--ink); }

.h-links { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hair); }
.h-link { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 2px; border-bottom: 1px solid var(--hair); text-decoration: none; }
.h-link-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.h-link b { font-weight: 500; color: var(--ink); }
.h-link small { font-size: 13px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.h-link svg { flex: none; width: 14px; height: 14px; color: var(--link); transition: transform 0.2s ease; }
.h-link:hover b { color: var(--link); }
.h-link:hover svg { transform: translate(2px, -2px); }

.h-faq { border-top: 1px solid var(--hair); }
.h-q { border-bottom: 1px solid var(--hair); }
.h-q summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 2px; font-weight: 500; color: var(--ink); }
.h-q summary::-webkit-details-marker { display: none; }
.h-q summary svg { flex: none; width: 16px; height: 16px; color: var(--muted); transition: transform 0.2s ease; }
.h-q[open] summary svg { transform: rotate(45deg); }
.h-q p { margin: -4px 0 18px; padding-right: 32px; }

.h-sources { margin: 40px 0 0; padding: 20px 0 0; border-top: 1px solid var(--hair); font-size: 13px; color: var(--muted); }
.h-sources p { margin: 0 0 6px; font-weight: 500; }
.h-sources ul { margin: 0; padding: 0 0 0 18px; }
.h-sources a { color: var(--muted); }

/* Footer */
.h-footer { margin-top: 72px; background: var(--mist); border-top: 1px solid var(--hair); }
.h-footer-in { padding: 36px 20px 40px; display: flex; flex-direction: column; gap: 20px; }
.h-footer nav { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14px; }
.h-footer nav a { text-decoration: none; color: var(--text); }
.h-footer nav a:hover { color: var(--ink); text-decoration: underline; }
.h-legal { margin: 0; font-size: 13px; color: var(--muted); }

@media (min-width: 768px) {
  .h-wrap { padding: 0 40px; }
  .h-title { font-size: 60px; }
}

@media (min-width: 1024px) {
  body.h-body { font-size: 18px; }
  .h-header-in { height: 72px; }
  .h-logo img { height: 24px; }
  .h-hero { padding: 64px 0 48px; }
  .h-crumb { margin-bottom: 40px; }
  .h-title { font-size: 76px; max-width: 900px; }
  .h-open { font-size: 21px; max-width: 700px; }
  .h-grid { display: grid; grid-template-columns: 240px minmax(0, 680px); gap: 76px; }
  .h-toc { position: sticky; top: 96px; align-self: start; padding: 48px 0 0; }
  .h-toc ol { flex-direction: column; gap: 2px; border-left: 1px solid var(--hair); }
  .h-toc a { border: 0; border-radius: 0; padding: 6px 0 6px 16px; margin-left: -1px; border-left: 1px solid transparent; color: var(--muted); }
  .h-toc a:hover { border-left-color: var(--ink); color: var(--ink); }
  .h-sec { padding-top: 48px; }
  .h-h2 { font-size: 36px; }
  .h-sec--note { margin-top: 48px; padding: 30px 30px 14px; }
  .h-sec--note .h-h2 { font-size: 28px; }
  .h-footer-in { flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 40px; }
  .h-legal { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .h-link svg, .h-q summary svg { transition: none; }
}
