:root {
  --bg: #0a0b0d;
  --bg-card: rgba(255,255,255,0.05);
  --text: #f4f7fb;
  --muted: #b2b9c5;
  --muted-2: #8790a0;
  --line: rgba(255,255,255,0.10);
  --blue: #428fd2;
  --blue-soft: rgba(66,143,210,0.12);
  --max: 720px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Helvetica, Arial, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--blue); }
img { display: block; max-width: 100%; }
article { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; padding: 46px 0 72px; }
.breadcrumb { margin: 0 0 24px; color: var(--muted-2); font-size: 0.86rem; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
h1 { margin: 0 0 12px; font-size: clamp(2rem, 6vw, 2.8rem); line-height: 1.08; letter-spacing: -0.035em; }
.article-answer { margin: 0 0 30px; color: var(--muted); font-size: 1.08rem; line-height: 1.6; }
h2 { margin: 34px 0 10px; font-size: 1.34rem; line-height: 1.25; letter-spacing: -0.022em; }
h3 { margin: 25px 0 7px; font-size: 1.06rem; line-height: 1.35; }
p, li { color: var(--muted); font-size: 1rem; }
p { margin: 0 0 14px; }
ul, ol { margin: 0 0 18px; padding-left: 22px; }
li { margin: 7px 0; }
strong { color: var(--text); }
.callout { margin: 24px 0; padding: 17px 19px; border: 1px solid rgba(66,143,210,0.2); border-radius: 14px; background: var(--blue-soft); }
.callout p:last-child { margin-bottom: 0; }
.if-needed { margin-top: 30px; padding-top: 4px; }
.help-next { margin-top: 42px; padding-top: 28px; border-top: 1px solid var(--line); }
.help-next h2 { margin: 0 0 14px; font-size: 1.12rem; }
.help-next ul { margin: 0; padding: 0; display: grid; gap: 9px; list-style: none; }
.help-next a { position: relative; padding: 13px 40px 13px 15px; display: block; border: 1px solid var(--line); border-radius: 13px; color: inherit; text-decoration: none; background: var(--bg-card); }
.help-next a::after { content: "›"; position: absolute; top: 50%; right: 15px; color: var(--muted-2); font-size: 1.3rem; transform: translateY(-50%); }
.help-next strong, .help-next span { display: block; }
.help-next strong { font-size: 0.94rem; }
.help-next span { margin-top: 2px; color: var(--muted); font-size: 0.83rem; line-height: 1.45; }
.help-next a:hover { border-color: var(--blue); background: color-mix(in srgb, var(--blue) 8%, var(--bg-card)); }
.help-contact { margin-top: 26px; padding: 18px 19px; border-radius: 14px; background: var(--bg-card); }
.help-contact h2 { margin: 0 0 5px; font-size: 1rem; }
.help-contact p { margin: 0; font-size: 0.9rem; }
.help-updated { margin: 18px 0 0; color: var(--muted-2); font-size: 0.78rem; }
.screenshot-note { display: none; }
.icon-moon, .logo-light { display: none; }
.logo-dark { display: block; }
html[data-theme="dark"] .icon-sun, html[data-theme="dark"] .logo-dark { display: block; }
html[data-theme="dark"] .icon-moon, html[data-theme="dark"] .logo-light { display: none; }
html[data-theme="light"] { --bg:#f6f8fc; --bg-card:rgba(255,255,255,0.9); --text:#0d1422; --muted:#526075; --muted-2:#6c788b; --line:rgba(12,22,40,0.10); --blue-soft:rgba(66,143,210,0.08); }
html[data-theme="light"] .icon-sun, html[data-theme="light"] .logo-dark { display: none; }
html[data-theme="light"] .icon-moon, html[data-theme="light"] .logo-light { display: block; }

@media (max-width: 760px) {
  article { width: min(var(--max), calc(100% - 28px)); padding: 30px 0 24px; }
  /* The breadcrumb is the only way back to the Help Center from an article on
     a phone, where the header collapses into a menu button. Hiding it stranded
     the reader. Keep it, just tighter. */
  .breadcrumb { margin-bottom: 18px; font-size: 0.82rem; }
  h1 { font-size: clamp(1.9rem, 9vw, 2.45rem); }
  .article-answer { margin-bottom: 26px; font-size: 1rem; }
  h2 { margin-top: 30px; font-size: 1.23rem; }
  p, li { font-size: 0.97rem; }
  .help-next a { min-height: 64px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Screenshot slots. Every phone capture is cropped to the full device width and
   trimmed only top and bottom, so they all share one on-page width and stack
   into a consistent column. Heights differ; widths never do. */
.help-shot {
  margin: 18px auto 22px;
  text-align: center;
}
.help-shot img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid color-mix(in srgb, var(--text, #fff) 12%, transparent);
  background: color-mix(in srgb, var(--text, #fff) 4%, transparent);
}
/* One width for every phone capture, whole screen or band alike. On a phone the
   article column already insets the image from the page edge, which is the
   breathing room these need; on wider screens they stay phone-sized instead of
   blowing up to the full text column. */
.help-shot-screen img,
.help-shot-control img { max-width: min(100%, 360px); }
/* Landscape captures (iPad) are wider than they are tall, so the phone-width
   cap above would shrink them to a tenth of their size. */
.help-shot-landscape img { max-width: 100%; }
@media (max-width: 520px) {
  .help-shot-screen img,
  .help-shot-control img,
  .help-shot-landscape img { max-width: 100%; }
}
