/* The public help centre.
 *
 * tokens.css is still loaded for its primitives (.sa-i icons, .sa-sr), but the
 * help centre keeps its own palette, below, for two reasons: it is the only
 * one of the three support surfaces that is a whole page read at length, and
 * it is the only one that follows the reader's light or dark setting. The
 * widget and the console are drawn inside the product, which has no dark
 * theme, so their tokens stay as they are.
 *
 * Type: Inter, the product's face, as a variable font with the optical-size
 * axis. Large headings get Inter's display cut on their own and are set at
 * 600-650 with tight tracking, never 800: the old ExtraBold headlines are what
 * read as heavy. Body text is 17px at 1.75 in a column of about 70 characters,
 * because this is the one screen where somebody sits and reads.
 *
 * Colour: the Saalz violet, used for what can be clicked and for the one
 * light at the top of a page. Everything else is ink on white (or on near
 * black), with hairlines rather than fills to separate things.
 */

:root {
  --hc-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --hc-mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;

  --hc-bg: #ffffff;
  --hc-bg-soft: #f8f7fc;
  --hc-surface: #ffffff;
  --hc-surface-hover: #fbfaff;
  --hc-ink: #15141c;
  --hc-ink-body: #2b2a35;
  --hc-ink-2: #535767;
  --hc-ink-3: #6b6f82;
  --hc-line: #ebeaf2;
  --hc-line-strong: #dcdae7;

  --hc-accent: #7c3aed;
  --hc-accent-hover: #6d28d9;
  --hc-accent-ink: #6d28d9;
  --hc-accent-soft: #f5f1fe;
  --hc-accent-line: #e2d8fc;
  --hc-glow: rgba(124, 58, 237, 0.13);
  --hc-dot: rgba(124, 58, 237, 0.16);

  --hc-code-bg: #f3f2f8;
  --hc-pre-bg: #17161f;
  --hc-pre-ink: #ebe9f5;
  --hc-mark: #fdf3c8;
  --hc-ok: #15803d;
  --hc-warn-bg: #fff8ec;
  --hc-warn-line: #f5d9a8;
  --hc-warn-icon: #d97706;

  /* What's new: one colour per kind of change, always with its word. */
  --hc-new-bg: #eff5ff;
  --hc-new-ink: #1d4ed8;
  --hc-new-line: #c9dbfe;
  --hc-improved-bg: #effaf3;
  --hc-improved-ink: #15803d;
  --hc-improved-line: #bfe9cd;
  --hc-fixed-bg: #f3f3f7;
  --hc-fixed-ink: #535767;
  --hc-fixed-line: #e1e0ea;

  --hc-shadow-xs: 0 1px 2px rgba(20, 18, 40, 0.04);
  --hc-shadow-md: 0 1px 2px rgba(20, 18, 40, 0.04), 0 14px 34px -16px rgba(60, 30, 140, 0.24);
  --hc-shadow-search: 0 1px 2px rgba(20, 18, 40, 0.05), 0 18px 44px -20px rgba(60, 30, 140, 0.32);

  --hc-r-sm: 8px;
  --hc-r: 12px;
  --hc-r-lg: 16px;
  --hc-r-xl: 20px;
  --hc-ease: cubic-bezier(0.2, 0.7, 0.3, 1);
  --hc-top-h: 64px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --hc-bg: #0e0d14;
    --hc-bg-soft: #13121b;
    --hc-surface: #17161f;
    --hc-surface-hover: #1c1a26;
    --hc-ink: #f1f0f7;
    --hc-ink-body: #d8d7e2;
    --hc-ink-2: #aaa9bc;
    --hc-ink-3: #8d8ca1;
    --hc-line: #25232f;
    --hc-line-strong: #34313f;

    --hc-accent: #8b5cf6;
    --hc-accent-hover: #9b72f8;
    --hc-accent-ink: #b9a0fc;
    --hc-accent-soft: rgba(139, 92, 246, 0.12);
    --hc-accent-line: rgba(139, 92, 246, 0.32);
    --hc-glow: rgba(139, 92, 246, 0.2);
    --hc-dot: rgba(167, 139, 250, 0.12);

    --hc-code-bg: #221f2d;
    --hc-pre-bg: #0a090f;
    --hc-pre-ink: #e6e4f0;
    --hc-mark: rgba(250, 204, 21, 0.24);
    --hc-ok: #4ade80;
    --hc-warn-bg: rgba(217, 119, 6, 0.1);
    --hc-warn-line: rgba(217, 119, 6, 0.34);
    --hc-warn-icon: #f59e0b;

    --hc-new-bg: rgba(59, 130, 246, 0.14);
    --hc-new-ink: #93b4fd;
    --hc-new-line: rgba(59, 130, 246, 0.34);
    --hc-improved-bg: rgba(34, 197, 94, 0.12);
    --hc-improved-ink: #6ee7a0;
    --hc-improved-line: rgba(34, 197, 94, 0.3);
    --hc-fixed-bg: rgba(255, 255, 255, 0.05);
    --hc-fixed-ink: #aaa9bc;
    --hc-fixed-line: #34313f;

    --hc-shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.35);
    --hc-shadow-md: 0 1px 2px rgba(0, 0, 0, 0.4), 0 18px 40px -18px rgba(0, 0, 0, 0.75);
    --hc-shadow-search: 0 1px 2px rgba(0, 0, 0, 0.45), 0 22px 50px -22px rgba(0, 0, 0, 0.85);
  }
}

/* ---- base ---------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--hc-top-h) + 20px);
}

body {
  margin: 0;
  background: var(--hc-bg);
  color: var(--hc-ink);
  font-family: var(--hc-font);
  font-size: 16px;
  line-height: 1.6;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

a { color: var(--hc-accent-ink); }
h1, h2, h3, h4 { margin: 0; color: var(--hc-ink); font-weight: 600; letter-spacing: -0.015em; }
img { max-width: 100%; height: auto; }
::selection { background: var(--hc-accent-line); }

:where(a, button, input, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--hc-accent);
  outline-offset: 2px;
  border-radius: 6px;
}

input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }

.hc-sr {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hc-skip {
  position: absolute;
  left: 12px; top: -60px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: var(--hc-r-sm);
  background: var(--hc-ink);
  color: var(--hc-bg);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.hc-skip:focus { top: 12px; }
main:focus { outline: none; }

.hc-shell { min-height: 100vh; display: flex; flex-direction: column; }
.hc-wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }

kbd {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border: 1px solid var(--hc-line-strong);
  border-bottom-width: 2px;
  border-radius: 6px;
  background: var(--hc-surface);
  color: var(--hc-ink-3);
  font: 500 12px/1 var(--hc-font);
}

/* ---- header -------------------------------------------------------------- */

/* Sticky and translucent: the search and the way back to the product stay a
   glance away on a long article, without a solid bar eating the page. */
.hc-top {
  position: sticky;
  top: 0;
  z-index: 20;
  flex: none;
  background: var(--hc-bg);
  background: color-mix(in srgb, var(--hc-bg) 84%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--hc-line);
}

.hc-top-in { display: flex; align-items: center; gap: 12px; height: var(--hc-top-h); }
.hc-top .grow { flex: 1; }

.hc-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex: none;
  color: var(--hc-ink);
  text-decoration: none;
}

.hc-logo { width: 26px; height: 26px; flex: none; }
.hc-brand-name { font-size: 19px; font-weight: 700; letter-spacing: -0.03em; }

.hc-brand-sub {
  position: relative;
  margin-left: 2px;
  padding-left: 11px;
  color: var(--hc-ink-2);
  font-size: 14.5px;
  font-weight: 500;
  white-space: nowrap;
}

.hc-brand-sub::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 1px; height: 16px;
  transform: translateY(-50%);
  background: var(--hc-line-strong);
}

.hc-topsearch {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 330px;
  min-width: 0;
  height: 38px;
  padding: 0 8px 0 12px;
  border: 1px solid var(--hc-line);
  border-radius: 10px;
  background: var(--hc-bg-soft);
  color: var(--hc-ink-3);
  transition: border-color 0.15s var(--hc-ease), box-shadow 0.15s var(--hc-ease), background 0.15s var(--hc-ease);
}

.hc-topsearch:hover { border-color: var(--hc-line-strong); }

.hc-topsearch:focus-within {
  background: var(--hc-surface);
  border-color: var(--hc-accent);
  box-shadow: 0 0 0 3px var(--hc-accent-soft);
}

.hc-topsearch input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--hc-ink);
  font: inherit;
  font-size: 14px;
}

.hc-topsearch input:focus { outline: none; }
.hc-topsearch input::placeholder { color: var(--hc-ink-3); }
.hc-topsearch:focus-within kbd { visibility: hidden; }

.hc-iconbtn {
  display: none;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  color: var(--hc-ink-2);
}

.hc-iconbtn:hover { background: var(--hc-bg-soft); color: var(--hc-ink); }

.hc-lang {
  display: inline-flex;
  flex: none;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--hc-line);
  border-radius: 10px;
  background: var(--hc-bg-soft);
}

.hc-lang a {
  display: inline-grid;
  place-items: center;
  min-width: 34px;
  height: 28px;
  padding: 0 8px;
  border-radius: 7px;
  color: var(--hc-ink-3);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.hc-lang a:hover { color: var(--hc-ink); }

.hc-lang a[aria-current="true"] {
  background: var(--hc-surface);
  color: var(--hc-ink);
  box-shadow: var(--hc-shadow-xs), 0 0 0 1px var(--hc-line);
}

.hc-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: none;
  height: 38px;
  padding: 0 14px;
  border-radius: 10px;
  background: var(--hc-ink);
  color: var(--hc-bg);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s var(--hc-ease), color 0.15s var(--hc-ease);
}

.hc-cta:hover { background: var(--hc-accent); color: #fff; }
.hc-cta .sa-i { transition: transform 0.2s var(--hc-ease); }
.hc-cta:hover .sa-i { transform: translateX(2px); }

/* ---- hero ---------------------------------------------------------------- */

/* The one violet light, and a field of dots fading out under it. Both stop
   before the first card: a wash behind running text only makes it harder to
   read. */
.hc-hero {
  position: relative;
  overflow: hidden;
  padding: 76px 0 68px;
  border-bottom: 1px solid var(--hc-line);
  background:
    radial-gradient(56% 115% at 50% -12%, var(--hc-glow) 0%, transparent 62%),
    linear-gradient(180deg, var(--hc-bg) 0%, var(--hc-bg-soft) 100%);
  text-align: center;
}

.hc-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(circle at 1px 1px, var(--hc-dot) 1px, transparent 0);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(62% 85% at 50% 0%, #000 10%, transparent 72%);
  mask-image: radial-gradient(62% 85% at 50% 0%, #000 10%, transparent 72%);
}

.hc-hero .hc-wrap { position: relative; }

.hc-hero h1 {
  font-size: clamp(32px, 5.2vw, 52px);
  line-height: 1.06;
  font-weight: 650;
  letter-spacing: -0.036em;
  text-wrap: balance;
}

.hc-hero-sub {
  max-width: 46ch;
  margin: 16px auto 34px;
  color: var(--hc-ink-2);
  font-size: 18px;
  line-height: 1.55;
  text-wrap: pretty;
}

/* ---- search -------------------------------------------------------------- */

/* The point of the home page, so the largest thing on it. */
.hc-search { position: relative; max-width: 640px; margin: 0 auto; }

.hc-search input {
  width: 100%;
  height: 58px;
  padding: 0 56px 0 52px;
  border: 1px solid var(--hc-line-strong);
  border-radius: 14px;
  background: var(--hc-surface);
  color: var(--hc-ink);
  font: inherit;
  font-size: 17px;
  box-shadow: var(--hc-shadow-search);
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.15s var(--hc-ease), box-shadow 0.15s var(--hc-ease);
}

.hc-search input::placeholder { color: var(--hc-ink-3); }
.hc-search input:hover { border-color: var(--hc-accent-line); }

.hc-search input:focus {
  outline: none;
  border-color: var(--hc-accent);
  box-shadow: var(--hc-shadow-search), 0 0 0 4px var(--hc-accent-soft);
}

.hc-search .hc-search-icon {
  position: absolute;
  left: 19px; top: 50%;
  width: 20px; height: 20px;
  transform: translateY(-50%);
  color: var(--hc-ink-3);
  pointer-events: none;
}

.hc-search-kbd {
  position: absolute;
  right: 16px; top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.hc-search input:focus ~ .hc-search-kbd,
.hc-search input:not(:placeholder-shown) ~ .hc-search-kbd { display: none; }

/* The browser's clear button, drawn in the page's own ink. */
.hc-search input::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  margin: 0 -6px 0 8px;
  background: var(--hc-ink-3);
  cursor: pointer;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M18 6L6 18M6 6l12 12'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M18 6L6 18M6 6l12 12'/%3E%3C/svg%3E") center / contain no-repeat;
}

.hc-search input::-webkit-search-cancel-button:hover { background: var(--hc-ink); }

@media (hover: none) {
  kbd, .hc-search-kbd { display: none; }
}

/* ---- sections ------------------------------------------------------------ */

main { flex: 1; padding: 56px 0 88px; }

.hc-section + .hc-section { margin-top: 64px; }
.hc-section--tight { margin-top: 8px; }

.hc-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 14px;
  margin-bottom: 20px;
}

.hc-section-head h2 { font-size: 22px; font-weight: 640; letter-spacing: -0.022em; }
.hc-sub { margin: 0; color: var(--hc-ink-2); font-size: 15px; }

/* ---- topic cards --------------------------------------------------------- */

/* A topic is a real object, so it gets a card: hairline, a whisper of shadow,
   and a lift on hover. The icon tile is the only coloured thing on it until
   the pointer arrives. */
.hc-topics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.hc-topic {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 200px;
  padding: 22px 22px 18px;
  border: 1px solid var(--hc-line);
  border-radius: var(--hc-r-lg);
  background: var(--hc-surface);
  color: inherit;
  text-decoration: none;
  box-shadow: var(--hc-shadow-xs);
  transition: border-color 0.15s var(--hc-ease), box-shadow 0.2s var(--hc-ease), transform 0.2s var(--hc-ease);
}

.hc-topic:hover {
  border-color: var(--hc-accent-line);
  box-shadow: var(--hc-shadow-md);
  transform: translateY(-2px);
}

.hc-topic-ico {
  display: grid;
  place-items: center;
  flex: none;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 11px;
  background: var(--hc-accent-soft);
  color: var(--hc-accent);
  box-shadow: inset 0 0 0 1px var(--hc-accent-line);
  transition: background 0.2s var(--hc-ease), color 0.2s var(--hc-ease), box-shadow 0.2s var(--hc-ease);
}

.hc-topic-ico .sa-i { width: 20px; height: 20px; }

.hc-topic:hover .hc-topic-ico {
  background: var(--hc-accent);
  color: #fff;
  box-shadow: 0 6px 16px -8px rgba(109, 40, 217, 0.7);
}

.hc-topic-name { font-size: 16.5px; line-height: 1.3; font-weight: 620; letter-spacing: -0.014em; }
.hc-topic-desc { margin: 6px 0 0; color: var(--hc-ink-2); font-size: 14.5px; line-height: 1.5; }

.hc-topic-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 18px;
  color: var(--hc-ink-3);
  font-size: 13px;
  font-weight: 550;
  font-variant-numeric: tabular-nums;
}

.hc-arrow { transition: transform 0.2s var(--hc-ease), color 0.2s var(--hc-ease); }
.hc-topic:hover .hc-arrow { transform: translateX(3px); color: var(--hc-accent); }

/* The last card reaches a person. Dashed and tinted, so it reads as a way
   out rather than as an eighth topic. */
.hc-topic--contact {
  border-style: dashed;
  border-color: var(--hc-accent-line);
  background: linear-gradient(160deg, var(--hc-accent-soft) 0%, var(--hc-surface) 75%);
  box-shadow: none;
}

.hc-topic--contact .hc-topic-foot { color: var(--hc-accent-ink); font-weight: 600; }

.hc-topics--compact .hc-topic { min-height: 0; padding: 16px 18px 14px; }
.hc-topics--compact .hc-topic-ico { width: 36px; height: 36px; margin-bottom: 12px; border-radius: 10px; }
.hc-topics--compact .hc-topic-ico .sa-i { width: 18px; height: 18px; }
.hc-topics--compact .hc-topic-name { font-size: 15.5px; }
.hc-topics--compact .hc-topic-foot { padding-top: 10px; }

/* ---- "start here": numbered guides --------------------------------------- */

/* Three columns. With the five guides the home page actually has, the first
   one -- where a new customer starts -- takes two rows and the other four sit
   beside it, so no row is left half empty. */
.hc-guides {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hc-guides[data-count="5"] > .is-lead { grid-row: span 2; }
.hc-guides[data-count="4"],
.hc-guides[data-count="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hc-guides[data-count="1"] { grid-template-columns: minmax(0, 1fr); }

.hc-guide {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 20px 22px 18px;
  border: 1px solid var(--hc-line);
  border-radius: var(--hc-r-lg);
  background: var(--hc-surface);
  color: inherit;
  text-decoration: none;
  box-shadow: var(--hc-shadow-xs);
  transition: border-color 0.15s var(--hc-ease), box-shadow 0.2s var(--hc-ease);
}

.hc-guide:hover { border-color: var(--hc-accent-line); box-shadow: var(--hc-shadow-md); }

.hc-guide-num {
  margin-bottom: 10px;
  color: var(--hc-accent-ink);
  font-size: 12.5px;
  font-weight: 650;
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
}

.hc-guide strong {
  color: var(--hc-ink);
  font-size: 16px;
  font-weight: 620;
  line-height: 1.35;
  letter-spacing: -0.012em;
  transition: color 0.15s var(--hc-ease);
}

.hc-guide:hover strong { color: var(--hc-accent-ink); }

.hc-guide-sum {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 6px;
  color: var(--hc-ink-2);
  font-size: 14.5px;
  line-height: 1.55;
}

.hc-guide-foot {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 16px;
  color: var(--hc-ink-3);
  font-size: 13.5px;
  font-weight: 550;
  transition: color 0.15s var(--hc-ease);
}

.hc-guide:hover .hc-guide-foot { color: var(--hc-accent-ink); }
.hc-guide:hover .hc-arrow { transform: translateX(3px); }

.hc-guides > .is-lead .hc-guide {
  position: relative;
  overflow: hidden;
  padding: 28px 28px 24px;
  border-color: var(--hc-accent-line);
  background:
    radial-gradient(90% 70% at 100% 0%, var(--hc-glow) 0%, transparent 70%),
    linear-gradient(165deg, var(--hc-accent-soft) 0%, var(--hc-surface) 70%);
}

.hc-guides > .is-lead .hc-guide-num {
  display: inline-grid;
  place-items: center;
  align-self: flex-start;
  width: 40px;
  height: 40px;
  margin-bottom: 22px;
  border-radius: 12px;
  background: linear-gradient(145deg, #8b5cf6 0%, #6d28d9 100%);
  color: #fff;
  font-size: 14px;
  letter-spacing: 0;
  box-shadow: 0 10px 22px -10px rgba(109, 40, 217, 0.65);
}

/* The tall card gets a large, faint compass in its empty corner. */
.hc-guides[data-count="5"] > .is-lead .hc-guide::after {
  content: "";
  position: absolute;
  right: -34px; bottom: -34px;
  width: 190px; height: 190px;
  background: var(--hc-accent);
  opacity: 0.08;
  pointer-events: none;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M16.2 7.8l-2.1 6.3-6.3 2.1 2.1-6.3z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M16.2 7.8l-2.1 6.3-6.3 2.1 2.1-6.3z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.hc-guides > .is-lead strong { font-size: 22px; line-height: 1.25; letter-spacing: -0.024em; }
.hc-guides > .is-lead .hc-guide-sum { -webkit-line-clamp: 5; margin-top: 10px; font-size: 15.5px; }
.hc-guides > .is-lead .hc-guide-foot { color: var(--hc-accent-ink); font-weight: 600; }

/* ---- article links (related) ---------------------------------------------- */

.hc-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hc-link {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 100%;
  padding: 16px 18px;
  border: 1px solid var(--hc-line);
  border-radius: var(--hc-r);
  background: var(--hc-surface);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.15s var(--hc-ease), background 0.15s var(--hc-ease);
}

.hc-link:hover { border-color: var(--hc-accent-line); background: var(--hc-surface-hover); }

.hc-link-ico {
  display: grid;
  place-items: center;
  flex: none;
  width: 36px;
  height: 36px;
  border: 1px solid var(--hc-line);
  border-radius: 9px;
  background: var(--hc-bg-soft);
  color: var(--hc-ink-3);
  transition: color 0.15s var(--hc-ease), border-color 0.15s var(--hc-ease), background 0.15s var(--hc-ease);
}

.hc-link:hover .hc-link-ico {
  border-color: var(--hc-accent-line);
  background: var(--hc-accent-soft);
  color: var(--hc-accent);
}

.hc-link-text { flex: 1; min-width: 0; }

.hc-link-text strong {
  display: block;
  color: var(--hc-ink);
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: -0.011em;
  line-height: 1.4;
}

/* Two lines, then an ellipsis. A summary that runs to five lines turns a list
   into a wall, and the third line never decided anything. */
.hc-link-text span,
.hc-li-text span {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 3px;
  color: var(--hc-ink-2);
  font-size: 14px;
  line-height: 1.5;
}

.hc-chev { flex: none; color: var(--hc-ink-3); transition: transform 0.2s var(--hc-ease), color 0.2s var(--hc-ease); }
.hc-link:hover .hc-chev, .hc-list a:hover .hc-chev { transform: translateX(2px); color: var(--hc-accent); }

.hc-links--compact { gap: 10px; }
.hc-links--compact .hc-link { padding: 12px 14px; }
.hc-links--compact .hc-link-ico { width: 32px; height: 32px; }

/* ---- page head (category, search) ---------------------------------------- */

.hc-pagehead {
  position: relative;
  padding: 32px 0 40px;
  border-bottom: 1px solid var(--hc-line);
  background:
    radial-gradient(48% 150% at 0% 0%, var(--hc-glow) 0%, transparent 62%),
    var(--hc-bg-soft);
}

.hc-pagehead h1 {
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.12;
  font-weight: 650;
  letter-spacing: -0.032em;
  text-wrap: balance;
}

.hc-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
  margin-bottom: 22px;
  color: var(--hc-ink-3);
  font-size: 14px;
}

.hc-crumbs a { color: var(--hc-ink-2); text-decoration: none; }
.hc-crumbs a:hover { color: var(--hc-accent-ink); text-decoration: underline; text-underline-offset: 3px; }
.hc-crumbs .sa-i { width: 14px; height: 14px; color: var(--hc-ink-3); }
.hc-crumbs [aria-current] { color: var(--hc-ink); font-weight: 500; }

/* ---- category ------------------------------------------------------------ */

.hc-cat-head { display: flex; align-items: flex-start; gap: 20px; }

.hc-cat-ico {
  display: grid;
  place-items: center;
  flex: none;
  width: 56px;
  height: 56px;
  border-radius: 15px;
  background: linear-gradient(145deg, #8b5cf6 0%, #6d28d9 100%);
  color: #fff;
  box-shadow: 0 12px 26px -12px rgba(109, 40, 217, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.hc-cat-ico .sa-i { width: 26px; height: 26px; stroke-width: 1.8; }

.hc-cat-lede {
  max-width: 60ch;
  margin: 8px 0 0;
  color: var(--hc-ink-2);
  font-size: 17px;
  line-height: 1.55;
}

.hc-cat-meta { margin: 14px 0 0; }

.hc-count {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 10px;
  border: 1px solid var(--hc-line);
  border-radius: 999px;
  background: var(--hc-surface);
  color: var(--hc-ink-2);
  font-size: 13px;
  font-weight: 550;
  font-variant-numeric: tabular-nums;
}

.hc-cat-layout {
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.hc-cat-layout > .hc-list { grid-column: 2; grid-row: 1; }
.hc-cat-layout > .hc-side { grid-column: 1; grid-row: 1; }

.hc-side { position: sticky; top: calc(var(--hc-top-h) + 24px); }

.hc-side-title {
  margin: 0 0 10px;
  padding: 0 10px;
  color: var(--hc-ink-3);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hc-side ul { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }

.hc-side a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  padding: 7px 10px;
  border-radius: 9px;
  color: var(--hc-ink-2);
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.35;
  text-decoration: none;
  transition: background 0.15s var(--hc-ease), color 0.15s var(--hc-ease);
}

.hc-side a:hover { background: var(--hc-bg-soft); color: var(--hc-ink); }
.hc-side a .sa-i { color: var(--hc-ink-3); }
.hc-side a[aria-current="page"] { background: var(--hc-accent-soft); color: var(--hc-accent-ink); font-weight: 600; }
.hc-side a[aria-current="page"] .sa-i { color: var(--hc-accent); }
.hc-side-name { flex: 1; min-width: 0; }
.hc-side-count { color: var(--hc-ink-3); font-size: 12.5px; font-variant-numeric: tabular-nums; }

/* The articles of a topic sit on one surface rather than each becoming a
   card: the white makes them a group, the hairlines separate them. */
.hc-list {
  margin: 0;
  padding: 0;
  list-style: none;
  overflow: hidden;
  border: 1px solid var(--hc-line);
  border-radius: var(--hc-r-lg);
  background: var(--hc-surface);
  box-shadow: var(--hc-shadow-xs);
}

.hc-list li + li { border-top: 1px solid var(--hc-line); }

.hc-list a {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  color: inherit;
  text-decoration: none;
  transition: background 0.15s var(--hc-ease);
}

.hc-list a:hover { background: var(--hc-surface-hover); }
.hc-li-text { flex: 1; min-width: 0; }

.hc-li-text strong {
  display: block;
  color: var(--hc-ink);
  font-size: 16.5px;
  font-weight: 600;
  letter-spacing: -0.012em;
  line-height: 1.4;
  transition: color 0.15s var(--hc-ease);
}

.hc-list a:hover strong { color: var(--hc-accent-ink); }
.hc-li-text span { margin-top: 4px; font-size: 14.5px; }

/* ---- contact band -------------------------------------------------------- */

.hc-contact {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 64px;
  padding: 24px 28px;
  border: 1px solid var(--hc-line);
  border-radius: var(--hc-r-xl);
  background:
    radial-gradient(70% 160% at 100% 0%, var(--hc-glow) 0%, transparent 60%),
    var(--hc-bg-soft);
}

.hc-contact-ico,
.hc-ask-ico {
  display: grid;
  place-items: center;
  flex: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--hc-accent-line);
  border-radius: 14px;
  background: var(--hc-surface);
  color: var(--hc-accent);
}

.hc-contact-text, .hc-ask-text { flex: 1; min-width: 0; }
.hc-contact h2 { font-size: 18px; font-weight: 620; letter-spacing: -0.015em; }
.hc-contact p { margin: 4px 0 0; color: var(--hc-ink-2); font-size: 15px; }

/* ---- buttons ------------------------------------------------------------- */

.hc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--hc-line-strong);
  border-radius: 10px;
  background: var(--hc-surface);
  color: var(--hc-ink);
  font: inherit;
  font-size: 14.5px;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s var(--hc-ease), border-color 0.15s var(--hc-ease), color 0.15s var(--hc-ease);
}

.hc-btn:hover { border-color: var(--hc-ink-3); background: var(--hc-surface-hover); }

.hc-btn--primary {
  border-color: var(--hc-accent);
  background: var(--hc-accent);
  color: #fff;
  box-shadow: 0 1px 2px rgba(60, 20, 140, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.hc-btn--primary:hover { border-color: var(--hc-accent-hover); background: var(--hc-accent-hover); color: #fff; }

.hc-btn[aria-pressed="true"] {
  border-color: var(--hc-accent);
  background: var(--hc-accent-soft);
  color: var(--hc-accent-ink);
}

/* ---- article ------------------------------------------------------------- */

.hc-page--article main { padding-top: 32px; }

.hc-article-layout { display: grid; grid-template-columns: minmax(0, 1fr); }

.hc-article-layout.has-toc {
  grid-template-columns: minmax(0, 1fr) 224px;
  column-gap: 72px;
  max-width: 1060px;
  margin: 0 auto;
}

.hc-article-main { min-width: 0; max-width: 760px; }
.hc-article-layout:not(.has-toc) .hc-article-main { margin: 0 auto; }

.hc-art-head {
  margin-bottom: 34px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--hc-line);
}

.hc-art-head h1 {
  font-size: clamp(30px, 4.2vw, 42px);
  line-height: 1.12;
  font-weight: 650;
  letter-spacing: -0.033em;
  text-wrap: balance;
}

.hc-lede {
  margin: 14px 0 0;
  color: var(--hc-ink-2);
  font-size: 19px;
  line-height: 1.55;
  letter-spacing: -0.006em;
  text-wrap: pretty;
}

.hc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 18px 0 0;
  color: var(--hc-ink-3);
  font-size: 14px;
}

.hc-meta span { display: inline-flex; align-items: center; gap: 6px; }
.hc-meta .hc-meta-ok { color: var(--hc-ok); }

/* The reading column. */
.hc-body {
  color: var(--hc-ink-body);
  font-size: 17px;
  line-height: 1.75;
  overflow-wrap: break-word;
}

.hc-body > :first-child { margin-top: 0; }
.hc-body p { margin: 0 0 1.15em; text-wrap: pretty; }

.hc-body h2 {
  margin: 2.2em 0 0.65em;
  color: var(--hc-ink);
  font-size: 24px;
  line-height: 1.25;
  font-weight: 640;
  letter-spacing: -0.022em;
  scroll-margin-top: calc(var(--hc-top-h) + 24px);
}

.hc-body h3 {
  margin: 1.8em 0 0.5em;
  color: var(--hc-ink);
  font-size: 19px;
  line-height: 1.35;
  font-weight: 620;
  letter-spacing: -0.015em;
  scroll-margin-top: calc(var(--hc-top-h) + 24px);
}

.hc-body strong { color: var(--hc-ink); font-weight: 620; }
.hc-body em { font-style: italic; }

.hc-body a {
  color: var(--hc-accent-ink);
  text-decoration: underline;
  text-decoration-color: var(--hc-accent-line);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  transition: text-decoration-color 0.15s var(--hc-ease);
}

.hc-body a:hover { text-decoration-color: currentColor; }

/* Lists: violet dots, and numbered steps in circles -- most of these
   articles are procedures, and a step should look like a step. */
.hc-body ul, .hc-body ol { margin: 0 0 1.3em; padding: 0; list-style: none; }
.hc-body li { position: relative; margin: 0 0 0.55em; padding-left: 28px; }
/* A list inside a step (the bullets under "1. Campaign type"): no gap of its
   own below, the step's margin is enough. */
.hc-body li > ul, .hc-body li > ol { margin: 0.45em 0 0; }

.hc-body ul > li::before {
  content: "";
  position: absolute;
  left: 9px; top: 0.72em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--hc-accent);
  opacity: 0.8;
}

.hc-body ol { counter-reset: hc-step; }
.hc-body ol > li { padding-left: 40px; counter-increment: hc-step; }

.hc-body ol > li::before {
  content: counter(hc-step);
  position: absolute;
  left: 0; top: 3px;
  display: grid;
  place-items: center;
  width: 25px; height: 25px;
  border-radius: 50%;
  background: var(--hc-accent-soft);
  box-shadow: inset 0 0 0 1px var(--hc-accent-line);
  color: var(--hc-accent-ink);
  font-size: 13px;
  font-weight: 650;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.hc-body code {
  padding: 0.12em 0.4em;
  border: 1px solid var(--hc-line);
  border-radius: 6px;
  background: var(--hc-code-bg);
  color: var(--hc-ink);
  font-family: var(--hc-mono);
  font-size: 0.86em;
}

.hc-body pre {
  margin: 0 0 1.4em;
  padding: 16px 18px;
  overflow-x: auto;
  border: 1px solid var(--hc-line);
  border-radius: var(--hc-r);
  background: var(--hc-pre-bg);
  color: var(--hc-pre-ink);
  font-size: 14px;
  line-height: 1.65;
}

.hc-body pre code {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font-size: inherit;
  white-space: pre;
}

/* A quote is a callout: a tip by default, a warning when it opens on
   "Attention" (see public_views.render_body). */
.hc-body blockquote {
  position: relative;
  margin: 1.6em 0;
  padding: 16px 20px 16px 52px;
  border: 1px solid var(--hc-accent-line);
  border-radius: var(--hc-r);
  background: var(--hc-accent-soft);
  color: var(--hc-ink-body);
  font-size: 16px;
  line-height: 1.65;
}

.hc-body blockquote::before {
  content: "";
  position: absolute;
  left: 18px; top: 19px;
  width: 20px; height: 20px;
  background: var(--hc-accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 16v-4M12 8h.01'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 16v-4M12 8h.01'/%3E%3C/svg%3E") center / contain no-repeat;
}

.hc-body blockquote p { margin: 0 0 0.6em; }
.hc-body blockquote p:last-child { margin-bottom: 0; }

.hc-body .hc-callout--warn { border-color: var(--hc-warn-line); background: var(--hc-warn-bg); }

.hc-body .hc-callout--warn::before {
  background: var(--hc-warn-icon);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21.73 18l-8-14a2 2 0 00-3.48 0l-8 14A2 2 0 004 21h16a2 2 0 001.73-3zM12 9v4M12 17h.01'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21.73 18l-8-14a2 2 0 00-3.48 0l-8 14A2 2 0 004 21h16a2 2 0 001.73-3zM12 9v4M12 17h.01'/%3E%3C/svg%3E");
}

.hc-body figure { margin: 1.8em 0; }

.hc-body figure img {
  display: block;
  border: 1px solid var(--hc-line);
  border-radius: var(--hc-r);
  background: var(--hc-surface);
  box-shadow: var(--hc-shadow-md);
  cursor: zoom-in;
}

/* A tutorial video keeps the column's width on any screen. The 16:9 box holds
   its place until the file's own proportions are known, so the text below
   does not jump when the player loads. */
.hc-body figure video {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: auto 16 / 9;
  border: 1px solid var(--hc-line);
  border-radius: var(--hc-r);
  background: #000;
}

/* A Bunny Stream video: Bunny's player in an iframe, which has no size of its
   own, so the box is 16:9 from the start, the way Bunny's embed code sets it. */
.hc-body figure iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--hc-line);
  border-radius: var(--hc-r);
  background: #000;
}

.hc-body figure figcaption {
  margin-top: 10px;
  color: var(--hc-ink-3);
  font-size: 14px;
  text-align: center;
}

/* The article's own videos, above the text: the first sits right under the
   heading, and the text starts after the last one. */
.hc-videos figure:first-child { margin-top: 1.2em; }
.hc-videos figure:last-child { margin-bottom: 1.6em; }

.hc-anchor {
  margin-left: 8px;
  color: var(--hc-ink-3);
  font-weight: 400;
  text-decoration: none !important;
  opacity: 0;
  transition: opacity 0.15s var(--hc-ease);
}

.hc-body h2:hover .hc-anchor,
.hc-body h3:hover .hc-anchor,
.hc-anchor:focus-visible { opacity: 1; }

/* The wrapper is what scrolls, not the page: a five-column price table on a
   phone must not make the whole article slide sideways. */
.hc-table {
  margin: 1.6em 0;
  overflow-x: auto;
  border: 1px solid var(--hc-line);
  border-radius: var(--hc-r);
}

.hc-table table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; }

.hc-table th,
.hc-table td {
  padding: 11px 16px;
  border-bottom: 1px solid var(--hc-line);
  text-align: left;
  vertical-align: top;
}

.hc-table thead th {
  background: var(--hc-bg-soft);
  color: var(--hc-ink);
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
}

.hc-table tbody tr:last-child td { border-bottom: 0; }
.hc-table td { font-variant-numeric: tabular-nums; }

/* ---- table of contents ---------------------------------------------------- */

.hc-toc {
  position: sticky;
  top: calc(var(--hc-top-h) + 32px);
  max-height: calc(100vh - var(--hc-top-h) - 64px);
  overflow-y: auto;
  padding: 4px 0 8px;
  scrollbar-width: thin;
}

.hc-toc h2 { margin: 0 0 12px; color: var(--hc-ink); font-size: 13px; font-weight: 600; letter-spacing: 0; }
.hc-toc ul { margin: 0; padding: 0; list-style: none; border-left: 1px solid var(--hc-line); }

.hc-toc a {
  display: block;
  margin-left: -1px;
  padding: 5px 0 5px 14px;
  border-left: 2px solid transparent;
  color: var(--hc-ink-3);
  font-size: 13.5px;
  line-height: 1.45;
  text-decoration: none;
  transition: color 0.15s var(--hc-ease), border-color 0.15s var(--hc-ease);
}

.hc-toc a:hover { color: var(--hc-ink); }

/* The section being read, marked by the scroll spy. */
.hc-toc a[aria-current="true"] { border-left-color: var(--hc-accent); color: var(--hc-accent-ink); font-weight: 550; }
.hc-toc li[data-level="3"] a { padding-left: 26px; font-size: 13px; }

/* On a narrow screen the contents fold above the text, closed: open, it is a
   wall between the title and the first sentence. */
.hc-toc-inline {
  display: none;
  margin: 0 0 30px;
  border: 1px solid var(--hc-line);
  border-radius: var(--hc-r);
  background: var(--hc-bg-soft);
}

.hc-toc-inline summary {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 16px;
  color: var(--hc-ink);
  font-size: 15px;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}

.hc-toc-inline summary::-webkit-details-marker { display: none; }
.hc-toc-inline summary .sa-i { color: var(--hc-ink-3); }
.hc-toc-caret { margin-left: auto; transition: transform 0.2s var(--hc-ease); }
.hc-toc-inline[open] .hc-toc-caret { transform: rotate(180deg); }
.hc-toc-inline ul { margin: 0; padding: 0 16px 12px; list-style: none; }
.hc-toc-inline li { border-top: 1px solid var(--hc-line); }

.hc-toc-inline a {
  display: block;
  padding: 9px 0;
  color: var(--hc-ink-2);
  font-size: 15px;
  line-height: 1.4;
  text-decoration: none;
}

.hc-toc-inline li[data-level="3"] a { padding-left: 16px; font-size: 14.5px; }

/* ---- after the article ---------------------------------------------------- */

.hc-feedback {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 20px;
  margin-top: 56px;
  padding: 18px 22px;
  border: 1px solid var(--hc-line);
  border-radius: var(--hc-r-lg);
  background: var(--hc-surface);
}

.hc-feedback h2 { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.hc-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.hc-btn--vote { min-height: 38px; padding: 0 14px; font-size: 14px; }
.hc-thanks { margin-left: 4px; color: var(--hc-ink-2); font-size: 14px; }

.hc-ask {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 16px;
  padding: 22px 24px;
  border: 1px solid var(--hc-accent-line);
  border-radius: var(--hc-r-lg);
  background:
    radial-gradient(80% 180% at 100% 0%, var(--hc-glow) 0%, transparent 60%),
    var(--hc-accent-soft);
}

.hc-ask h2 { font-size: 16.5px; font-weight: 620; letter-spacing: -0.012em; }
.hc-ask p { margin: 4px 0 0; color: var(--hc-ink-2); font-size: 14.5px; line-height: 1.5; }

.hc-related { margin-top: 56px; }
.hc-related h2 { margin-bottom: 16px; font-size: 18px; font-weight: 620; letter-spacing: -0.015em; }

/* ---- search results ------------------------------------------------------- */

.hc-pagehead--search .hc-search { max-width: 720px; margin: 22px 0 0; }
.hc-results-count { margin: 14px 0 0; color: var(--hc-ink-3); font-size: 14px; }

.hc-search-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 236px;
  gap: 72px;
  align-items: start;
}

.hc-search-layout > .hc-side { position: sticky; top: calc(var(--hc-top-h) + 24px); }

.hc-results { max-width: 820px; margin: 0; padding: 0; list-style: none; }
.hc-results li + li { border-top: 1px solid var(--hc-line); }

.hc-results a {
  display: block;
  margin: 0 -16px;
  padding: 20px 16px;
  border-radius: var(--hc-r);
  color: inherit;
  text-decoration: none;
  transition: background 0.15s var(--hc-ease);
}

.hc-results a:hover { background: var(--hc-bg-soft); }

.hc-where {
  display: block;
  margin-bottom: 4px;
  color: var(--hc-accent-ink);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.hc-result-title {
  display: block;
  color: var(--hc-ink);
  font-size: 18px;
  font-weight: 620;
  letter-spacing: -0.014em;
  line-height: 1.35;
  transition: color 0.15s var(--hc-ease);
}

.hc-results a:hover .hc-result-title { color: var(--hc-accent-ink); }

.hc-excerpt {
  display: block;
  margin-top: 6px;
  color: var(--hc-ink-2);
  font-size: 15px;
  line-height: 1.6;
}

.hc-excerpt mark {
  padding: 0 1px;
  margin: 0 -1px;
  border-radius: 3px;
  background: var(--hc-mark);
  color: var(--hc-ink);
}

.hc-empty { max-width: 520px; margin: 0 auto 48px; padding: 8px 0; text-align: center; }

.hc-empty-ico {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 16px;
  border: 1px solid var(--hc-line);
  border-radius: 16px;
  background: var(--hc-bg-soft);
  color: var(--hc-ink-3);
}

.hc-empty-ico .sa-i { width: 26px; height: 26px; }
.hc-empty h2 { font-size: 22px; font-weight: 640; letter-spacing: -0.02em; }
.hc-empty p { margin: 8px 0 0; color: var(--hc-ink-2); }

/* ---- 404 ------------------------------------------------------------------ */

.hc-notfound { max-width: 640px; margin: 16px auto 64px; text-align: center; }

.hc-eyebrow {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 12px;
  border: 1px solid var(--hc-accent-line);
  border-radius: 999px;
  background: var(--hc-accent-soft);
  color: var(--hc-accent-ink);
  font-size: 13px;
  font-weight: 600;
}

.hc-notfound h1 {
  margin-top: 18px;
  font-size: clamp(30px, 4.6vw, 44px);
  line-height: 1.1;
  font-weight: 650;
  letter-spacing: -0.033em;
  text-wrap: balance;
}

.hc-notfound > p { margin: 12px 0 30px; color: var(--hc-ink-2); font-size: 17px; }
.hc-notfound > .hc-notfound-back { margin: 24px 0 0; }

/* ---- what's new ------------------------------------------------------------ */

/* The header's link to it: a word, not a button; the sparkle is its only colour. */
.hc-toplink {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: none;
  height: 38px;
  padding: 0 12px;
  border-radius: 10px;
  color: var(--hc-ink-2);
  font-size: 14px;
  font-weight: 550;
  white-space: nowrap;
  text-decoration: none;
  transition: background 0.15s var(--hc-ease), color 0.15s var(--hc-ease);
}

.hc-toplink .sa-i { color: var(--hc-accent); }
.hc-toplink:hover { background: var(--hc-bg-soft); color: var(--hc-ink); }
.hc-toplink[aria-current="page"] { background: var(--hc-accent-soft); color: var(--hc-accent-ink); }

/* The home page's way in, under the search box. */
.hc-newspill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  margin-top: 22px;
  padding: 7px 14px 7px 12px;
  border: 1px solid var(--hc-line);
  border-radius: 999px;
  background: var(--hc-surface);
  color: var(--hc-ink-2);
  font-size: 14px;
  font-weight: 550;
  text-align: left;
  text-decoration: none;
  box-shadow: var(--hc-shadow-xs);
  transition: border-color 0.15s var(--hc-ease), color 0.15s var(--hc-ease);
}

.hc-newspill:hover { border-color: var(--hc-accent-line); color: var(--hc-accent-ink); }
.hc-newspill:hover .hc-arrow { transform: translateX(3px); color: var(--hc-accent); }

.hc-newspill-dot {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--hc-accent);
  box-shadow: 0 0 0 4px var(--hc-accent-soft);
}

/* One column of weeks, newest first, separated by a hairline. */
.hc-news { max-width: 860px; }

.hc-week { scroll-margin-top: calc(var(--hc-top-h) + 16px); }
.hc-week + .hc-week { margin-top: 44px; padding-top: 40px; border-top: 1px solid var(--hc-line); }

.hc-week-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin-bottom: 20px;
}

.hc-week-head h2 { font-size: 22px; font-weight: 640; letter-spacing: -0.022em; }

/* The week's headline features: the one tinted block of a week. */
.hc-week-tops {
  margin: 0 0 26px;
  padding: 18px 20px;
  border: 1px solid var(--hc-accent-line);
  border-radius: var(--hc-r-lg);
  background: var(--hc-accent-soft);
}

.hc-week-tops-title {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 12px;
  color: var(--hc-accent-ink);
  font-size: 13px;
  font-weight: 650;
}

.hc-week-tops ul { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.hc-week-tops li { display: grid; gap: 2px; }
.hc-week-tops strong { color: var(--hc-ink); font-size: 16.5px; font-weight: 600; line-height: 1.45; letter-spacing: -0.01em; }
.hc-week-area { color: var(--hc-ink-3); font-size: 12.5px; font-weight: 550; }

.hc-week-group + .hc-week-group { margin-top: 22px; }
.hc-week-group h3 { margin-bottom: 6px; font-size: 15.5px; font-weight: 620; letter-spacing: -0.012em; }

.hc-changes { margin: 0; padding: 0; list-style: none; }
.hc-changes li { display: flex; align-items: flex-start; gap: 12px; padding: 7px 0; }

.hc-change-text {
  flex: 1;
  min-width: 0;
  color: var(--hc-ink-body);
  font-size: 15.5px;
  line-height: 1.55;
  text-wrap: pretty;
}

/* New / Improved / Fixed: colour plus the word, never colour alone. The same
   width for all three, so the lines start in one column. */
.hc-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  min-width: 78px;
  height: 22px;
  margin-top: 1px;
  padding: 0 8px;
  border: 1px solid;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.hc-tag--new { border-color: var(--hc-new-line); background: var(--hc-new-bg); color: var(--hc-new-ink); }
.hc-tag--improved { border-color: var(--hc-improved-line); background: var(--hc-improved-bg); color: var(--hc-improved-ink); }
.hc-tag--fixed { border-color: var(--hc-fixed-line); background: var(--hc-fixed-bg); color: var(--hc-fixed-ink); }

.hc-pager {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  max-width: 860px;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--hc-line);
}

.hc-pager > :first-child { justify-self: start; }
.hc-pager > :last-child { justify-self: end; }
.hc-pager-label { color: var(--hc-ink-3); font-size: 14px; font-variant-numeric: tabular-nums; }

/* ---- footer --------------------------------------------------------------- */

.hc-foot {
  flex: none;
  border-top: 1px solid var(--hc-line);
  background: var(--hc-bg-soft);
  color: var(--hc-ink-3);
  font-size: 14px;
}

.hc-foot-in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  padding-top: 28px;
  padding-bottom: 28px;
}

.hc-foot-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--hc-ink-2);
  font-weight: 550;
  text-decoration: none;
}

.hc-foot-brand .hc-logo { width: 22px; height: 22px; }
.hc-foot-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-left: auto; }
.hc-foot-links a { color: var(--hc-ink-2); text-decoration: none; }
.hc-foot-links a:hover, .hc-foot-brand:hover { color: var(--hc-accent-ink); }

/* ---- zoomed image --------------------------------------------------------- */

.hc-zoom {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(14, 13, 20, 0.86);
  cursor: zoom-out;
}

.hc-zoom[hidden] { display: none; }
.hc-zoom img { max-width: 100%; max-height: 100%; border-radius: var(--hc-r); }

/* ---- responsive ----------------------------------------------------------- */

@media (max-width: 1080px) {
  .hc-article-layout.has-toc { grid-template-columns: minmax(0, 1fr); max-width: none; }
  .hc-article-layout.has-toc .hc-article-main { margin: 0 auto; }
  .hc-toc { display: none; }
  .hc-toc-inline { display: block; }
}

@media (max-width: 1000px) {
  .hc-topics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  .hc-topsearch { display: none; }
  .hc-iconbtn { display: inline-grid; }
}

@media (max-width: 900px) {
  .hc-search-layout { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hc-search-layout > .hc-side { position: static; }
  .hc-cat-layout { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hc-cat-layout > .hc-list, .hc-cat-layout > .hc-side { grid-column: 1; grid-row: auto; }
  .hc-side { position: static; }
  .hc-side ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .hc-guides,
  .hc-guides[data-count] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hc-guides[data-count="5"] > .is-lead { grid-row: auto; grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .hc-links { grid-template-columns: minmax(0, 1fr); }
  /* No room in the header: the home page's pill and the footer carry it. */
  .hc-toplink { display: none; }
}

@media (max-width: 640px) {
  :root { --hc-top-h: 58px; }
  .hc-wrap { padding: 0 16px; }
  .hc-top-in { gap: 8px; }
  .hc-brand { gap: 8px; }
  .hc-logo { width: 24px; height: 24px; }
  .hc-brand-name { font-size: 18px; }
  .hc-brand-sub { padding-left: 9px; font-size: 14px; }
  .hc-cta { display: none; }

  main { padding: 36px 0 56px; }
  .hc-hero { padding: 48px 0 40px; }
  /* Not balanced here: balancing splits "pouvons-nous" at its hyphen. */
  .hc-hero h1 { font-size: 29px; letter-spacing: -0.032em; text-wrap: wrap; }
  .hc-search-kbd { display: none; }
  .hc-hero-sub { margin: 12px auto 26px; font-size: 16.5px; }
  .hc-search input { height: 54px; padding-right: 18px; font-size: 16px; }
  .hc-section + .hc-section { margin-top: 48px; }
  .hc-section-head h2 { font-size: 20px; }

  /* One topic per row, laid flat: icon beside the words, not above them. */
  .hc-topics { grid-template-columns: minmax(0, 1fr); gap: 10px; }

  .hc-topic,
  .hc-topics--compact .hc-topic {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    column-gap: 14px;
    min-height: 0;
    padding: 16px;
  }

  .hc-topic-ico,
  .hc-topics--compact .hc-topic-ico { grid-row: 1 / span 3; width: 40px; height: 40px; margin: 0; }
  .hc-topic-name, .hc-topic-desc, .hc-topic-foot { grid-column: 2; }
  .hc-topic-desc { margin-top: 3px; font-size: 14px; }
  .hc-topic-foot, .hc-topics--compact .hc-topic-foot { padding-top: 8px; }
  .hc-topic:hover { transform: none; }

  .hc-guides,
  .hc-guides[data-count] { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .hc-guide { padding: 16px 18px; }
  .hc-guides > .is-lead .hc-guide { padding: 22px 20px 20px; }
  .hc-guides > .is-lead .hc-guide-num { margin-bottom: 16px; }
  .hc-guides > .is-lead strong { font-size: 19px; }

  .hc-pagehead { padding: 24px 0 28px; }
  .hc-crumbs { margin-bottom: 16px; font-size: 13.5px; }
  .hc-cat-head { flex-direction: column; gap: 14px; }
  .hc-cat-ico { width: 48px; height: 48px; border-radius: 13px; }
  .hc-cat-ico .sa-i { width: 22px; height: 22px; }
  .hc-cat-lede { font-size: 16px; }
  .hc-list a { gap: 12px; padding: 16px; }
  .hc-li-text strong { font-size: 16px; }

  .hc-page--article main { padding-top: 24px; }
  .hc-art-head { margin-bottom: 26px; padding-bottom: 20px; }
  .hc-lede { font-size: 17.5px; }
  .hc-body { font-size: 16.5px; line-height: 1.72; }
  .hc-body h2 { font-size: 21.5px; }
  .hc-body h3 { font-size: 18px; }
  .hc-body blockquote { padding: 14px 16px 14px 46px; font-size: 15.5px; }
  .hc-body blockquote::before { left: 15px; top: 17px; }
  .hc-body pre { margin-left: -16px; margin-right: -16px; border-left: 0; border-right: 0; border-radius: 0; }

  .hc-feedback { padding: 16px 18px; }
  .hc-contact, .hc-ask { flex-direction: column; align-items: flex-start; gap: 14px; padding: 20px; }
  .hc-contact .hc-btn, .hc-ask .hc-btn { width: 100%; }
  .hc-contact { margin-top: 48px; }

  .hc-foot-in { flex-direction: column; align-items: flex-start; gap: 14px; }
  .hc-foot-links { margin-left: 0; }

  .hc-newspill { margin-top: 18px; font-size: 13.5px; }
  .hc-week + .hc-week { margin-top: 32px; padding-top: 30px; }
  .hc-week-head h2 { font-size: 20px; }
  .hc-week-tops { padding: 16px; }
  .hc-week-tops strong { font-size: 16px; }
  .hc-changes li { gap: 10px; }
  .hc-change-text { font-size: 15px; }
  .hc-tag { min-width: 72px; font-size: 11.5px; }
  .hc-pager { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); margin-top: 36px; }
  .hc-pager-label { grid-column: 1 / -1; grid-row: 1; text-align: center; }
  .hc-pager .hc-btn { white-space: normal; text-align: center; }
}

@media (max-width: 420px) {
  .hc-side ul { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
  .hc-topic:hover { transform: none; }
}

@media print {
  .hc-top, .hc-foot, .hc-toc, .hc-toc-inline, .hc-feedback, .hc-ask, .hc-related, .hc-contact { display: none !important; }
  .hc-article-layout.has-toc { grid-template-columns: minmax(0, 1fr); }
  body { background: #fff; color: #000; }
}

/* ------------------------------------------------------------------------
   What's new: the news articles (support_assistant/news/, whats_new.py).
   Cards above the weekly journal; the newest one is drawn large. The
   screenshots are cropped from the top-left corner, where a screen says
   what it is.
   ------------------------------------------------------------------------ */
.hc-posts { margin-bottom: 56px; }
.hc-posts-title { margin-bottom: 18px; font-size: 22px; font-weight: 640; letter-spacing: -0.022em; }

.hc-post-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.hc-post-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--hc-line);
  border-radius: var(--hc-r-lg);
  background: var(--hc-surface);
  color: inherit;
  text-decoration: none;
  box-shadow: var(--hc-shadow-xs);
  transition: border-color 0.15s var(--hc-ease), box-shadow 0.2s var(--hc-ease), transform 0.2s var(--hc-ease);
}

.hc-post-card:hover {
  border-color: var(--hc-accent-line);
  box-shadow: var(--hc-shadow-md);
  transform: translateY(-2px);
}

.hc-post-card:focus-visible { outline: 2px solid var(--hc-accent); outline-offset: 2px; }

.hc-post-cover {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-bottom: 1px solid var(--hc-line);
  background: var(--hc-bg-soft);
}

.hc-post-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
}

.hc-post-text { display: flex; flex: 1; flex-direction: column; gap: 8px; padding: 18px 20px 20px; }

.hc-post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  color: var(--hc-ink-3);
  font-size: 13px;
  font-weight: 500;
}

.hc-post-tag {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 9px;
  border: 1px solid var(--hc-accent-line);
  border-radius: 999px;
  background: var(--hc-accent-soft);
  color: var(--hc-accent-ink);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.hc-post-name { color: var(--hc-ink); font-size: 18px; font-weight: 640; line-height: 1.3; letter-spacing: -0.015em; }
.hc-post-summary { color: var(--hc-ink-2); font-size: 15px; line-height: 1.55; }

.hc-post-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 6px;
  color: var(--hc-accent-ink);
  font-size: 14px;
  font-weight: 600;
}

.hc-post-more .sa-i { width: 16px; height: 16px; transition: transform 0.2s var(--hc-ease); }
.hc-post-card:hover .hc-post-more .sa-i { transform: translateX(3px); }

/* The newest article: the whole row, picture on the left. */
.hc-post-card--lead { grid-column: 1 / -1; flex-direction: row; }
.hc-post-card--lead .hc-post-cover {
  flex: 0 0 58%;
  aspect-ratio: auto;
  min-height: 320px;
  border-right: 1px solid var(--hc-line);
  border-bottom: 0;
}
.hc-post-card--lead .hc-post-text { justify-content: center; padding: 30px 30px 28px; }
.hc-post-card--lead .hc-post-name { font-size: 25px; letter-spacing: -0.022em; }
.hc-post-card--lead .hc-post-more { margin-top: 10px; }

/* "More news" under an article: three small cards, no summary. */
.hc-post-grid--small { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.hc-post-grid--small .hc-post-text { padding: 14px 16px 16px; }
.hc-post-grid--small .hc-post-name { font-size: 15px; }

/* The weekly journal, under the articles. */
.hc-journal-head { max-width: 860px; margin: 0 0 24px; padding-top: 36px; border-top: 1px solid var(--hc-line); }
.hc-journal-head h2 { font-size: 22px; font-weight: 640; letter-spacing: -0.022em; }
.hc-journal-head p { margin-top: 6px; color: var(--hc-ink-2); }

/* One news article. */
.hc-news-article .hc-post-meta { margin-bottom: 14px; }
.hc-news-cta { margin-top: 20px; }
.hc-news-cta .hc-btn .sa-i { width: 16px; height: 16px; }
.hc-news-cover figure { margin-top: 6px; }
.hc-news-more { margin-top: 40px; }
.hc-news-back { margin-top: 36px; }

.hc-newspill strong { color: var(--hc-accent-ink); font-weight: 650; }

@media (max-width: 900px) {
  .hc-post-grid--small { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .hc-post-grid, .hc-post-grid--small { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .hc-post-card--lead { flex-direction: column; }
  .hc-post-card--lead .hc-post-cover {
    flex: none;
    aspect-ratio: 16 / 10;
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--hc-line);
  }
  .hc-post-card--lead .hc-post-text { padding: 18px 20px 20px; }
  .hc-post-card--lead .hc-post-name { font-size: 21px; }
  .hc-post-card:hover { transform: none; }
}
