
:root {
  --brand: #4f46e5;
  --brand-ink-light: var(--brand);
  --brand-ink-dark: var(--brand);
  --on-brand: #ffffff;
  --brand-ink: var(--brand-ink-light);

  --bg: #ffffff;
  --bg-subtle: #f7f7f9;
  --surface: #ffffff;
  --surface-2: #f3f3f6;
  --text: #11131a;
  --text-2: #464b57;
  --text-3: #6b7180;
  --line: #e7e7ec;
  --line-strong: #d5d6dd;

  --brand-soft: color-mix(in srgb, var(--brand) 9%, var(--bg));
  --brand-softer: color-mix(in srgb, var(--brand) 4%, var(--bg));
  --brand-line: color-mix(in srgb, var(--brand) 30%, var(--line));
  --brand-ring: color-mix(in srgb, var(--brand) 35%, transparent);

  --shadow-sm: 0 1px 2px rgb(17 19 26 / 0.05);
  --shadow-md: 0 1px 2px rgb(17 19 26 / 0.04), 0 6px 16px -4px rgb(17 19 26 / 0.08);
  --shadow-lg: 0 2px 4px rgb(17 19 26 / 0.04), 0 18px 40px -8px rgb(17 19 26 / 0.14);
  --shadow-xl: 0 30px 80px -12px rgb(17 19 26 / 0.35);

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 18px;
  --header-bar: 64px;
  --header-tabs: 46px;
  --header-h: calc(var(--header-bar) + var(--header-tabs));
  --container: 1240px;
  --gutter: 24px;
  --font: "Inter", "InterVariable", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Code", Menlo, Consolas, monospace;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --brand-ink: var(--brand-ink-dark);
    --bg: #0d0f13;
    --bg-subtle: #111419;
    --surface: #151820;
    --surface-2: #1b1f28;
    --text: #eef0f4;
    --text-2: #b6bbc6;
    --text-3: #8b919d;
    --line: #242933;
    --line-strong: #323844;
    --brand-soft: color-mix(in srgb, var(--brand) 16%, var(--bg));
    --brand-softer: color-mix(in srgb, var(--brand) 8%, var(--bg));
    --brand-line: color-mix(in srgb, var(--brand) 45%, var(--line));
    --brand-ring: color-mix(in srgb, var(--brand) 50%, transparent);
    --shadow-sm: 0 1px 2px rgb(0 0 0 / 0.4);
    --shadow-md: 0 1px 2px rgb(0 0 0 / 0.4), 0 8px 20px -6px rgb(0 0 0 / 0.5);
    --shadow-lg: 0 2px 4px rgb(0 0 0 / 0.4), 0 20px 44px -8px rgb(0 0 0 / 0.6);
    --shadow-xl: 0 30px 80px -12px rgb(0 0 0 / 0.8);
  }
}

/* ── Base ──────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 20px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "cv11", "ss01";
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
body.hc-locked { overflow: hidden; }
a { color: var(--brand-ink); }
img { max-width: 100%; }
button { font: inherit; color: inherit; }
h1, h2, h3 { letter-spacing: -0.02em; line-height: 1.2; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 6px; }
::selection { background: var(--brand-soft); }
.hc-icon { width: 18px; height: 18px; flex-shrink: 0; }

.hc-container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
@media (max-width: 640px) { :root { --gutter: 16px; } }
.hc-page { flex: 1; }

.hc-skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  background: var(--surface);
  color: var(--text);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
}
.hc-skip:focus { top: 12px; box-shadow: var(--shadow-lg); }

/* ── Buttons & small atoms ─────────────────────────────────────────────── */
.hc-btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s, box-shadow 0.15s, filter 0.15s;
}
.hc-btn .hc-icon { width: 17px; height: 17px; }
.hc-btn--primary { background: var(--brand); color: var(--on-brand); box-shadow: var(--shadow-sm); }
.hc-btn--primary:hover { filter: brightness(1.08) saturate(1.05); }
.hc-btn--ghost { background: var(--surface); color: var(--text); border-color: var(--line-strong); }
.hc-btn--ghost:hover { background: var(--surface-2); }
.hc-btn--block { width: 100%; }

.hc-iconbtn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 38px;
  min-width: 38px;
  padding: 0 9px;
  border: 1px solid transparent;
  background: transparent;
  border-radius: 10px;
  color: var(--text-2);
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  transition: background-color 0.15s, color 0.15s;
}
.hc-iconbtn:hover { background: var(--surface-2); color: var(--text); }
.hc-iconbtn .hc-icon { width: 20px; height: 20px; }

.hc-kbd {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-family: var(--font);
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  color: var(--text-3);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-bottom-width: 2px;
  border-radius: 6px;
  padding: 3px 6px;
  white-space: nowrap;
}
.hc-dot { margin: 0 3px; color: var(--line-strong); }
.hc-nowrap { white-space: nowrap; }
.hc-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
}
.hc-eyebrow {
  margin: 0 0 4px;
  color: var(--brand-ink);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ── Header ────────────────────────────────────────────────────────────── */
.hc-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.2s;
}
.hc-header.is-scrolled { box-shadow: 0 6px 24px -12px rgb(0 0 0 / 0.18); }
.hc-header__bar {
  display: flex;
  align-items: center;
  gap: 20px;
  height: var(--header-bar);
}
.hc-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--text);
  text-decoration: none;
  flex-shrink: 0;
}
.hc-brand__logo {
  height: 32px;
  width: auto;
  max-width: 140px;
  border-radius: 8px;
  display: block;
  flex-shrink: 0;
}
.hc-brand__fallback {
  width: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand);
  color: var(--on-brand);
  font-weight: 800;
  font-size: 16px;
}
.hc-brand__name { font-weight: 700; font-size: 16px; letter-spacing: -0.01em; white-space: nowrap; }
.hc-brand__tag {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-3);
  padding-left: 10px;
  border-left: 1px solid var(--line-strong);
  white-space: nowrap;
}

.hc-searchbtn {
  appearance: none;
  flex: 1;
  max-width: 440px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 40px;
  padding: 0 8px 0 12px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--bg-subtle);
  color: var(--text-3);
  font-size: 14px;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.15s, background-color 0.15s, box-shadow 0.15s;
}
.hc-searchbtn:hover { border-color: var(--line-strong); background: var(--surface); box-shadow: var(--shadow-sm); }
.hc-searchbtn__label { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.hc-header__actions { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.hc-header__site {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0 10px;
  height: 38px;
  border-radius: 10px;
  color: var(--text-2);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}
.hc-header__site .hc-icon { width: 14px; height: 14px; opacity: 0.7; }
.hc-header__site:hover { background: var(--surface-2); color: var(--text); }
.hc-header__contact { margin-left: 4px; }
.hc-header__searchicon, .hc-header__menu { display: none; }

/* Language menu */
.hc-lang { position: relative; }
.hc-lang > summary { list-style: none; }
.hc-lang > summary::-webkit-details-marker { display: none; }
.hc-lang__menu {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  min-width: 190px;
  padding: 6px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  z-index: 50;
}
.hc-lang__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
}
.hc-lang__item:hover { background: var(--surface-2); }
.hc-lang__item.is-active { background: var(--brand-soft); color: var(--brand-ink); font-weight: 600; }
.hc-lang__code { font-size: 11px; font-weight: 700; color: var(--text-3); letter-spacing: 0.05em; }

/* Topic bar: top-level items (Home, one group per product) a clear gap
   apart. Product names are dark, non-interactive labels; only the
   tabs next to them are links. */
.hc-tabs-wrap { border-top: 1px solid color-mix(in srgb, var(--line) 60%, transparent); }
.hc-tabs {
  display: flex;
  align-items: stretch;
  gap: 32px;
  height: var(--header-tabs);
  overflow-x: auto;
  scrollbar-width: none;
}
.hc-tabs::-webkit-scrollbar { display: none; }
.hc-tabs__group { display: flex; align-items: stretch; gap: 8px; flex-shrink: 0; }
/* Separators, deliberately different by level: a "|" line in the 32px gap
   between top-level items (Home, each product group), a "·" dot in the 8px
   gap between a group's categories (none after its label chip). */
.hc-tabs > * + *, .hc-tabs__group .hc-tab + .hc-tab { position: relative; }
.hc-tabs > * + *::before, .hc-tabs__group .hc-tab + .hc-tab::before {
  content: "";
  position: absolute;
  background: var(--line-strong);
}
.hc-tabs > * + *::before { left: -16.5px; top: 13px; bottom: 13px; width: 1px; }
.hc-tabs__group .hc-tab + .hc-tab::before {
  left: -6px;
  top: 50%;
  width: 4px;
  height: 4px;
  margin-top: -2px;
  border-radius: 50%;
}
.hc-tabs__label {
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 28px;
  margin-right: 10px;
  padding: 0 11px 0 6px;
  border-radius: 8px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: default;
  user-select: none;
}
.hc-tabs__label .hc-icon { width: 15px; height: 15px; }
.hc-tabs__labelimg { width: 18px; height: 18px; border-radius: 5px; object-fit: cover; background: #fff; }
.hc-tab {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 10px;
  color: var(--text-2);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
  transition: color 0.15s;
}
.hc-tab .hc-icon { width: 16px; height: 16px; opacity: 0.75; }
.hc-tab::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: -1px;
  height: 2px;
  border-radius: 2px 2px 0 0;
  background: transparent;
  transition: background-color 0.15s;
}
.hc-tab:hover { color: var(--text); }
.hc-tab:hover::after { background: var(--line-strong); }
.hc-tab.is-active { color: var(--brand-ink); font-weight: 600; }
.hc-tab.is-active .hc-icon { opacity: 1; }
.hc-tab.is-active::after { background: var(--brand); }

@media (max-width: 1080px) {
  .hc-brand__tag { display: none; }
  .hc-header__site { display: none; }
}
@media (max-width: 860px) {
  :root { --header-bar: 58px; --header-tabs: 0px; }
  .hc-tabs-wrap { display: none; }
  .hc-searchbtn, .hc-header__contact, .hc-lang { display: none; }
  .hc-header__searchicon, .hc-header__menu { display: inline-flex; }
  .hc-header__bar { justify-content: space-between; gap: 12px; }
  .hc-brand__name { overflow: hidden; text-overflow: ellipsis; }
  .hc-brand { flex-shrink: 1; }
}

/* ── Drawer (mobile menu) ──────────────────────────────────────────────── */
.hc-drawer { position: fixed; inset: 0; z-index: 60; }
.hc-drawer[hidden] { display: none; }
.hc-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgb(10 12 16 / 0.45);
  opacity: 0;
  transition: opacity 0.2s;
}
.hc-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(360px, 88vw);
  background: var(--bg);
  box-shadow: var(--shadow-xl);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.22s cubic-bezier(0.2, 0.8, 0.2, 1);
  overflow-y: auto;
}
.hc-drawer.is-open .hc-drawer__backdrop { opacity: 1; }
.hc-drawer.is-open .hc-drawer__panel { transform: none; }
.hc-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 12px 12px 18px;
  border-bottom: 1px solid var(--line);
}
.hc-drawer__search {
  appearance: none;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 16px 16px 6px;
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--bg-subtle);
  color: var(--text-3);
  font-size: 15px;
  cursor: pointer;
  text-align: left;
}
.hc-drawer__nav { padding: 6px 8px; flex: 1; }
.hc-drawer__section { padding: 6px 0; }
.hc-drawer__section + .hc-drawer__section { border-top: 1px solid var(--line); }
.hc-drawer__group {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 8px 10px 4px;
  color: var(--text-3);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.hc-drawer__group img, .hc-drawer__group .hc-icon { width: 18px; height: 18px; border-radius: 5px; }
.hc-drawer__link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 10px;
  border-radius: 10px;
  color: var(--text);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
}
.hc-drawer__link > span { flex: 1; }
.hc-drawer__link .hc-icon { color: var(--text-3); }
.hc-drawer__link:hover { background: var(--surface-2); }
.hc-drawer__link.is-active { background: var(--brand-soft); color: var(--brand-ink); font-weight: 600; }
.hc-drawer__link.is-active .hc-icon { color: var(--brand-ink); }
.hc-drawer__chev { width: 16px; height: 16px; }
.hc-drawer__foot { padding: 16px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.hc-drawer__langs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 4px; }
.hc-drawer__langs .hc-lang__item { border: 1px solid var(--line); padding: 6px 10px; }
.hc-drawer__langs .hc-lang__code { display: none; }
.hc-drawer__site {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px;
  color: var(--text-2);
  font-size: 14px;
  text-decoration: none;
}
.hc-drawer__site .hc-icon { width: 14px; height: 14px; }

/* ── Search palette ────────────────────────────────────────────────────── */
.hc-search {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: min(12vh, 120px) 16px 16px;
  background: rgb(10 12 16 / 0.5);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}
.hc-search[hidden] { display: none; }
.hc-search__panel {
  width: 100%;
  max-width: 640px;
  max-height: min(640px, 76vh);
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}
@media (prefers-reduced-motion: no-preference) {
  .hc-search.is-open .hc-search__panel { animation: hc-pop 0.16s ease-out; }
}
@keyframes hc-pop { from { opacity: 0; transform: translateY(-6px) scale(0.985); } to { opacity: 1; transform: none; } }
.hc-search__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 14px 0 18px;
  border-bottom: 1px solid var(--line);
  color: var(--text-3);
}
.hc-search__bar .hc-icon { width: 20px; height: 20px; }
.hc-search__input {
  flex: 1;
  min-width: 0;
  height: 58px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 17px;
}
.hc-search__input::-webkit-search-cancel-button { display: none; }
.hc-search__input::placeholder { color: var(--text-3); }
.hc-search__esc {
  appearance: none;
  border: 1px solid var(--line-strong);
  background: var(--surface-2);
  color: var(--text-3);
  border-radius: 6px;
  padding: 3px 7px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
}
.hc-search__results { overflow-y: auto; padding: 6px 8px 10px; overscroll-behavior: contain; }
.hc-search__group {
  margin: 10px 10px 4px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-3);
}
.hc-search__state { margin: 0; padding: 22px 12px 6px; text-align: center; color: var(--text-2); }
.hc-search__empty { text-align: center; padding-bottom: 18px; }
.hc-search__hint { margin: 4px 0 16px; color: var(--text-3); font-size: 14px; }
.hc-search__foot {
  display: flex;
  gap: 16px;
  padding: 10px 16px;
  border-top: 1px solid var(--line);
  background: var(--bg-subtle);
  color: var(--text-3);
  font-size: 12px;
}
.hc-search__foot span { display: inline-flex; align-items: center; gap: 4px; }
.hc-search__foot .hc-kbd { padding: 2px 5px; min-width: 20px; justify-content: center; }
@media (max-width: 640px) {
  .hc-search { padding: 0; align-items: stretch; }
  .hc-search__panel { max-width: none; max-height: none; border-radius: 0; border: 0; }
  .hc-search__foot { display: none; }
}
.hc-result {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--text);
  text-decoration: none;
  scroll-margin: 8px;
}
.hc-result__icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text-3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hc-result__body { flex: 1; min-width: 0; display: grid; gap: 1px; }
.hc-result__title { font-size: 15px; font-weight: 500; line-height: 1.35; }
.hc-result__title mark { background: transparent; color: var(--brand-ink); font-weight: 700; }
.hc-result__crumb { font-size: 12.5px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hc-result__enter { color: var(--text-3); opacity: 0; }
.hc-result.is-active { background: var(--brand-soft); }
.hc-result.is-active .hc-result__icon { border-color: var(--brand-line); color: var(--brand-ink); }
.hc-result.is-active .hc-result__enter { opacity: 1; }

/* ── Home ──────────────────────────────────────────────────────────────── */
.hc-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(1200px 380px at 50% -120px, color-mix(in srgb, var(--brand) 16%, transparent), transparent 70%),
    linear-gradient(180deg, var(--brand-softer), var(--bg));
}
.hc-hero__glow {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(color-mix(in srgb, var(--text) 5%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--text) 5%, transparent) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 0%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 80% at 50% 0%, #000 30%, transparent 75%);
  pointer-events: none;
}
.hc-hero__inner {
  position: relative;
  text-align: center;
  padding-top: clamp(48px, 9vw, 96px);
  padding-bottom: clamp(44px, 7vw, 80px);
}
.hc-hero__eyebrow {
  display: inline-flex;
  margin: 0 0 18px;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--brand-line);
  background: color-mix(in srgb, var(--surface) 70%, transparent);
  color: var(--brand-ink);
  font-size: 13px;
  font-weight: 600;
}
.hc-hero__title { margin: 0; font-size: clamp(34px, 5.6vw, 56px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; }
.hc-hero__sub { margin: 14px auto 0; max-width: 560px; color: var(--text-2); font-size: clamp(16px, 2vw, 18px); }
.hc-hero__search {
  appearance: none;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 620px;
  height: 60px;
  margin: 32px auto 0;
  padding: 0 14px 0 20px;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: var(--surface);
  color: var(--text-3);
  font-size: 17px;
  text-align: left;
  cursor: text;
  box-shadow: var(--shadow-lg);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.hc-hero__search .hc-icon { width: 22px; height: 22px; color: var(--brand-ink); }
.hc-hero__search:hover { border-color: var(--brand-line); box-shadow: var(--shadow-lg), 0 0 0 4px var(--brand-ring); }
.hc-hero__placeholder { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hc-hero__meta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 18px 0 0;
  color: var(--text-3);
  font-size: 14px;
}
.hc-hero__meta .hc-icon { width: 16px; height: 16px; }
@media (max-width: 640px) {
  .hc-hero__search .hc-kbd { display: none; }
  .hc-hero__search { height: 54px; font-size: 16px; }
}

.hc-home { padding-top: 48px; padding-bottom: 72px; }
.hc-heading { margin: 0 0 18px; font-size: 20px; font-weight: 700; }

.hc-products { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.hc-product {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}
.hc-product__head { display: flex; align-items: center; gap: 14px; padding: 0 4px 16px; }
.hc-product__icon {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  background: var(--brand-soft);
  color: var(--brand-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hc-product__icon .hc-icon { width: 24px; height: 24px; }
.hc-product__icon--img { object-fit: cover; background: var(--surface); border: 1px solid var(--line); padding: 0; }
.hc-product__title { margin: 0; font-size: 20px; font-weight: 700; }
.hc-product__meta { margin: 2px 0 0; color: var(--text-3); font-size: 14px; }
.hc-product__cats { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }

.hc-catrow {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.15s, background-color 0.15s, transform 0.15s, box-shadow 0.15s;
}
.hc-catrow:hover { border-color: var(--brand-line); background: var(--brand-softer); box-shadow: var(--shadow-md); }
.hc-catrow__icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--surface-2);
  color: var(--text-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background-color 0.15s, color 0.15s;
}
.hc-catrow:hover .hc-catrow__icon { background: var(--brand); color: var(--on-brand); }
.hc-catrow__body { flex: 1; min-width: 0; display: grid; gap: 2px; }
.hc-catrow__name { font-size: 16px; font-weight: 600; }
.hc-catrow__sections { color: var(--text-3); font-size: 13px; line-height: 1.5; }
.hc-catrow__count {
  min-width: 26px;
  height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--text-2);
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.hc-catrow__chev { color: var(--text-3); transition: transform 0.15s, color 0.15s; }
.hc-catrow:hover .hc-catrow__chev { transform: translateX(3px); color: var(--brand-ink); }

.hc-topics { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.hc-topic {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.hc-topic:hover { border-color: var(--brand-line); box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.hc-topic__icon {
  width: 44px;
  height: 44px;
  margin-bottom: 6px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.15s, color 0.15s;
}
.hc-topic__icon .hc-icon { width: 22px; height: 22px; }
.hc-topic:hover .hc-topic__icon { background: var(--brand); color: var(--on-brand); }
.hc-topic__title { margin: 0; font-size: 18px; font-weight: 700; }
.hc-topic__sections { margin: 0; color: var(--text-3); font-size: 14px; line-height: 1.5; flex: 1; }
.hc-topic__foot {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  color: var(--brand-ink);
  font-size: 14px;
  font-weight: 600;
}
.hc-topic__foot .hc-icon { width: 16px; height: 16px; transition: transform 0.15s; }
.hc-topic:hover .hc-topic__foot .hc-icon { transform: translateX(3px); }

/* ── "Still need help?" ────────────────────────────────────────────────── */
.hc-help {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px 32px;
  margin-top: 48px;
  padding: 26px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(600px 200px at 0% 0%, color-mix(in srgb, var(--brand) 10%, transparent), transparent 70%),
    var(--bg-subtle);
}
.hc-help__text { display: flex; gap: 16px; align-items: flex-start; flex: 1 1 320px; }
.hc-help__icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--brand);
  color: var(--on-brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hc-help__icon .hc-icon { width: 22px; height: 22px; }
.hc-help__title { margin: 0; font-size: 19px; font-weight: 700; }
.hc-help__sub { margin: 4px 0 0; color: var(--text-2); font-size: 15px; max-width: 520px; }
.hc-help__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hc-action {
  appearance: none;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
  padding: 12px 16px 12px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: var(--surface);
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.hc-action:hover { border-color: var(--brand-line); box-shadow: var(--shadow-md); transform: translateY(-1px); }
.hc-action__icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--surface-2);
  color: var(--text-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hc-action--primary .hc-action__icon { background: var(--brand-soft); color: var(--brand-ink); }
.hc-action__body { display: grid; gap: 1px; }
.hc-action__title { font-weight: 600; font-size: 15px; }
.hc-action__sub { color: var(--text-3); font-size: 13px; }
@media (max-width: 640px) {
  .hc-help { padding: 20px; }
  .hc-help__actions, .hc-action { width: 100%; }
}

/* ── Docs layout (category + article) ──────────────────────────────────── */
.hc-docs {
  display: grid;
  grid-template-columns: 268px minmax(0, 1fr);
  gap: 48px;
  padding-top: 32px;
  padding-bottom: 72px;
  align-items: start;
}
.hc-docs--toc { grid-template-columns: 268px minmax(0, 1fr) 210px; gap: 44px; }
.hc-main { min-width: 0; }
.hc-sidebar {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  max-height: calc(100vh - var(--header-h) - 48px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  padding-right: 6px;
  margin-right: -6px;
}
.hc-sidebar__mobile-title { display: none; }

.hc-sidenav__heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 8px;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-3);
}
.hc-sidenav__picon {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: var(--brand-soft);
  color: var(--brand-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hc-sidenav__picon .hc-icon { width: 14px; height: 14px; }
.hc-sidenav__picon--img { object-fit: cover; border: 1px solid var(--line); background: var(--surface); }
.hc-sidenav ul { list-style: none; margin: 0; padding: 0; }

/* Topic links (category page, "More topics") */
.hc-sidenav__topics { display: grid; gap: 2px; }
.hc-sidenav__topic {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 9px;
  color: var(--text-2);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
  transition: background-color 0.15s, color 0.15s;
}
.hc-sidenav__topic .hc-icon { width: 17px; height: 17px; color: var(--text-3); }
.hc-sidenav__topic:hover { background: var(--surface-2); color: var(--text); }
.hc-sidenav__topic.is-active { background: var(--brand-soft); color: var(--brand-ink); font-weight: 600; }
.hc-sidenav__topic.is-active .hc-icon { color: var(--brand-ink); }

/* Article page: current topic card */
.hc-sidenav__context {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  margin-bottom: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.hc-sidenav__context:hover { border-color: var(--brand-line); box-shadow: var(--shadow-sm); }
.hc-sidenav__ctxicon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--brand);
  color: var(--on-brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hc-sidenav__ctxbody { display: grid; min-width: 0; line-height: 1.3; }
.hc-sidenav__ctxproduct { font-size: 12px; color: var(--text-3); font-weight: 500; }
.hc-sidenav__ctxname { font-size: 15px; font-weight: 700; }

/* Article page: sections are collapsible groups, not links */
.hc-sidenav__sections { display: grid; gap: 2px; }
.hc-sidenav__section > summary {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px 7px 6px;
  border-radius: 9px;
  list-style: none;
  cursor: pointer;
  user-select: none;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
}
.hc-sidenav__section > summary::-webkit-details-marker { display: none; }
.hc-sidenav__section > summary:hover { background: var(--surface-2); }
.hc-sidenav__chev { width: 16px !important; height: 16px !important; color: var(--text-3); transition: transform 0.15s; }
.hc-sidenav__section[open] .hc-sidenav__chev { transform: rotate(90deg); }
.hc-sidenav__sname { flex: 1; }
.hc-sidenav__scount {
  min-width: 20px;
  padding: 1px 6px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--text-3);
  font-size: 11px;
  font-weight: 600;
  text-align: center;
}
.hc-sidenav__articles { margin: 2px 0 8px 14px !important; padding-left: 10px !important; border-left: 1px solid var(--line); display: grid; gap: 1px; }
.hc-sidenav__sections > .hc-sidenav__articles { margin-left: 0 !important; padding-left: 0 !important; border-left: 0; }
.hc-sidenav__article {
  position: relative;
  display: block;
  padding: 6px 10px;
  border-radius: 8px;
  color: var(--text-2);
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  transition: background-color 0.15s, color 0.15s;
}
.hc-sidenav__article:hover { color: var(--text); background: var(--surface-2); }
.hc-sidenav__article.is-active { color: var(--brand-ink); background: var(--brand-soft); font-weight: 600; }
.hc-sidenav__article.is-active::before {
  content: "";
  position: absolute;
  left: -11px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  border-radius: 2px;
  background: var(--brand);
}
.hc-sidenav__more { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }

/* Breadcrumbs */
.hc-crumbs ol { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; font-size: 13.5px; }
.hc-crumbs li { display: inline-flex; align-items: center; color: var(--text-3); }
.hc-crumbs a { color: var(--text-2); text-decoration: none; }
.hc-crumbs a:hover { color: var(--brand-ink); text-decoration: underline; text-underline-offset: 3px; }
.hc-crumbs__sep { width: 14px; height: 14px; margin: 0 6px; color: var(--line-strong); }

/* Category page */
.hc-pagehead { display: flex; align-items: center; gap: 18px; margin-bottom: 26px; }
.hc-pagehead__icon {
  width: 56px;
  height: 56px;
  border-radius: 15px;
  background: var(--brand);
  color: var(--on-brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 8px 20px -8px color-mix(in srgb, var(--brand) 70%, transparent);
}
.hc-pagehead__icon .hc-icon { width: 26px; height: 26px; }
.hc-pagehead__title { margin: 0; font-size: clamp(28px, 3.6vw, 38px); font-weight: 700; letter-spacing: -0.025em; }
.hc-pagehead__meta { margin: 4px 0 0; color: var(--text-3); font-size: 15px; }

.hc-jump { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; }
.hc-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  padding: 0 6px 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text-2);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  transition: border-color 0.15s, color 0.15s, background-color 0.15s;
}
.hc-chip span {
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--surface-2);
  font-size: 11.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.hc-chip:hover { border-color: var(--brand-line); color: var(--brand-ink); background: var(--brand-softer); }

.hc-sections { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); align-items: start; }
.hc-section {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  padding: 18px 14px 12px;
  box-shadow: var(--shadow-sm);
}
.hc-section__title { display: flex; align-items: center; gap: 10px; margin: 0 6px 10px; font-size: 17px; font-weight: 700; }
.hc-section__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.hc-artlink {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 8px;
  border-radius: 9px;
  color: var(--text);
  text-decoration: none;
  font-size: 15px;
  line-height: 1.4;
  transition: background-color 0.15s, color 0.15s;
}
.hc-artlink > span { flex: 1; }
.hc-artlink .hc-icon { width: 17px; height: 17px; color: var(--text-3); }
.hc-artlink__chev { opacity: 0; transform: translateX(-4px); transition: opacity 0.15s, transform 0.15s; }
.hc-artlink:hover { background: var(--brand-softer); color: var(--brand-ink); }
.hc-artlink:hover .hc-icon { color: var(--brand-ink); }
.hc-artlink:hover .hc-artlink__chev { opacity: 1; transform: none; }

/* Article page */
.hc-article__head { padding-bottom: 22px; margin-bottom: 26px; border-bottom: 1px solid var(--line); }
.hc-article__title { margin: 0; font-size: clamp(28px, 3.6vw, 38px); font-weight: 700; letter-spacing: -0.025em; line-height: 1.15; }
.hc-article__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 14px 0 0; color: var(--text-3); font-size: 14px; }
.hc-article__meta span { display: inline-flex; align-items: center; gap: 6px; }
.hc-article__meta .hc-icon { width: 15px; height: 15px; }

.hc-prose { font-size: 16.5px; line-height: 1.75; color: var(--text); max-width: 760px; }
.hc-prose > * + * { margin-top: 18px; }
.hc-prose p { margin: 0; }
.hc-prose > p + p { margin-top: 14px; }
.hc-prose strong { font-weight: 600; color: var(--text); }
.hc-prose a:not(.hc-btn) { color: var(--brand-ink); text-decoration: underline; text-decoration-color: var(--brand-line); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.hc-prose a:not(.hc-btn):hover { text-decoration-color: currentColor; }
.hc-prose code {
  font-family: var(--mono);
  font-size: 0.86em;
  padding: 2px 6px;
  border-radius: 6px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--text);
  white-space: nowrap;
}
.hc-prose__h2 {
  position: relative;
  margin: 40px 0 0;
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.hc-prose > .hc-prose__h2:first-child { margin-top: 0; }
.hc-prose > .hc-prose__h2 + * { margin-top: 16px; }
.hc-anchor {
  display: inline-flex;
  vertical-align: middle;
  margin-left: 8px;
  padding: 4px;
  border-radius: 6px;
  color: var(--text-3);
  opacity: 0;
  transition: opacity 0.15s, color 0.15s, background-color 0.15s;
}
.hc-anchor .hc-icon { width: 16px; height: 16px; }
.hc-prose__h2:hover .hc-anchor, .hc-anchor:focus-visible { opacity: 1; }
.hc-anchor:hover { background: var(--surface-2); color: var(--brand-ink); }
.hc-anchor.is-copied { opacity: 1; color: var(--brand-ink); background: var(--brand-soft); }
.hc-figure { margin: 22px 0; }
.hc-figure__img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-md);
  cursor: zoom-in;
}
.hc-figure--portrait .hc-figure__img { width: min(320px, 70%); margin: 0 auto; }
.hc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.hc-list li { display: flex; gap: 12px; }
.hc-list__marker {
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  margin-top: 0.72em;
  border-radius: 50%;
  background: var(--brand);
}
.hc-list__marker--custom {
  width: auto;
  height: auto;
  margin-top: 0;
  background: none;
  color: var(--brand-ink);
  min-width: 1.2em;
  text-align: center;
}
.hc-prose__button { height: 44px; padding: 0 18px; font-size: 15px; }

.hc-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 48px; }
.hc-pager__link {
  display: grid;
  gap: 4px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.hc-pager__link:hover { border-color: var(--brand-line); box-shadow: var(--shadow-md); }
.hc-pager__link--next { text-align: right; grid-column: 2; }
.hc-pager__dir { display: inline-flex; align-items: center; gap: 6px; color: var(--text-3); font-size: 13px; font-weight: 500; }
.hc-pager__link--next .hc-pager__dir { justify-content: flex-end; }
.hc-pager__dir .hc-icon { width: 15px; height: 15px; }
.hc-pager__title { font-weight: 600; font-size: 15.5px; line-height: 1.4; }
.hc-pager__link:hover .hc-pager__title { color: var(--brand-ink); }
@media (max-width: 560px) {
  .hc-pager { grid-template-columns: 1fr; }
  .hc-pager__link--next { grid-column: auto; }
  .hc-pager > span:empty { display: none; }
}

/* On this page */
.hc-toc { position: sticky; top: calc(var(--header-h) + 24px); }
.hc-toc__title { margin: 0 0 10px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-3); }
.hc-toc ul { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.hc-toc a {
  display: block;
  margin-left: -1px;
  padding: 5px 0 5px 14px;
  border-left: 2px solid transparent;
  color: var(--text-3);
  text-decoration: none;
  font-size: 13.5px;
  line-height: 1.4;
  transition: color 0.15s, border-color 0.15s;
}
.hc-toc a:hover { color: var(--text); }
.hc-toc a.is-active { color: var(--brand-ink); border-left-color: var(--brand); font-weight: 600; }

@media (max-width: 1240px) {
  .hc-docs--toc { grid-template-columns: 252px minmax(0, 1fr); }
  .hc-toc { display: none; }
}
@media (max-width: 960px) {
  .hc-docs, .hc-docs--toc { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 22px; }
  .hc-docs--category .hc-sidebar { display: none; }
  .hc-docs--article .hc-sidebar {
    position: static;
    max-height: none;
    overflow: visible;
    order: 2;
    margin: 40px 0 0;
    padding: 18px 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--bg-subtle);
  }
  .hc-sidebar__mobile-title { display: block; margin: 0 0 10px 10px; font-weight: 700; font-size: 16px; }
  .hc-pagehead__icon { width: 46px; height: 46px; border-radius: 13px; }
  .hc-pagehead__icon .hc-icon { width: 22px; height: 22px; }
}

/* ── 404 ───────────────────────────────────────────────────────────────── */
.hc-notfound { text-align: center; padding-top: clamp(56px, 10vw, 120px); padding-bottom: 96px; }
.hc-notfound__code {
  margin: 0;
  font-size: clamp(72px, 14vw, 128px);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  background: linear-gradient(180deg, var(--brand), color-mix(in srgb, var(--brand) 25%, var(--bg)));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hc-notfound__title { margin: 16px 0 0; font-size: 28px; font-weight: 700; }
.hc-notfound__text { margin: 10px auto 0; max-width: 460px; color: var(--text-2); }
.hc-notfound__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; }

.hc-empty {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 48px 20px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-lg);
  color: var(--text-3);
  text-align: center;
}
.hc-empty .hc-icon { width: 28px; height: 28px; }
.hc-empty p { margin: 0; }

/* ── Footer ────────────────────────────────────────────────────────────── */
.hc-footer { border-top: 1px solid var(--line); background: var(--bg-subtle); }
.hc-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 32px;
  padding-top: 28px;
  padding-bottom: 28px;
}
.hc-brand--small .hc-brand__logo { height: 26px; border-radius: 7px; }
.hc-brand--small .hc-brand__fallback { width: 26px; font-size: 13px; }
.hc-brand--small .hc-brand__name { font-size: 15px; }
.hc-footer__copy { margin: 8px 0 0; color: var(--text-3); font-size: 13px; }
.hc-footer__links { display: flex; flex-wrap: wrap; gap: 4px 6px; }
.hc-footer__links a, .hc-footer__links button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 10px;
  border: 0;
  border-radius: 8px;
  background: none;
  color: var(--text-2);
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
}
.hc-footer__links a:hover, .hc-footer__links button:hover { background: var(--surface-2); color: var(--text); }
.hc-footer__links .hc-icon { width: 13px; height: 13px; opacity: 0.7; }
@media (max-width: 860px) { .hc-brand--small .hc-brand__tag { display: inline; } }

/* ── Lightbox ──────────────────────────────────────────────────────────── */
.hc-lightbox {
  max-width: 100vw;
  max-height: 100vh;
  width: 100vw;
  height: 100vh;
  margin: 0;
  padding: 24px;
  border: 0;
  background: transparent;
  cursor: zoom-out;
}
.hc-lightbox[open] { display: flex; align-items: center; justify-content: center; }
.hc-lightbox::backdrop { background: rgb(8 10 14 / 0.86); }
.hc-lightbox__img { max-width: 100%; max-height: 100%; border-radius: var(--radius); box-shadow: var(--shadow-xl); background: #fff; }
.hc-lightbox__close { position: fixed; top: 14px; right: 14px; color: #fff; background: rgb(255 255 255 / 0.12); }
.hc-lightbox__close:hover { background: rgb(255 255 255 / 0.22); color: #fff; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
  .hc-header, .hc-footer, .hc-sidebar, .hc-toc, .hc-help, .hc-pager, .hc-drawer, .hc-search { display: none !important; }
  .hc-docs { display: block; }
}
