/* /help */
/* ===== Hero ===== */
  .hc-hero {
    position: relative;
    overflow: hidden;
    padding: 72px 0 0;
    text-align: center;
  }
  .hc-hero .leaf-bg {
    position: absolute;
    right: -90px; top: -70px;
    opacity: 0.05; pointer-events: none; color: var(--primary-strong);
  }
  [data-theme="dark"] .hc-hero .leaf-bg { opacity: 0.07; color: var(--primary); }
  .hc-hero .leaf-bg svg { width: 380px; height: auto; transform: rotate(16deg); }
  .hc-hero .container { position: relative; }
  .hc-hero .inner { max-width: 680px; margin: 0 auto; }
  .hc-hero h1 {
    margin-top: 22px;
    letter-spacing: -0.035em;
  }
  .hc-hero h1 .accent { color: var(--primary-strong); font-style: italic; }
  [data-theme="dark"] .hc-hero h1 .accent { color: var(--primary); }
  .hc-hero .lede { margin: 24px auto 0; max-width: 46ch; }

  /* search — restrained, centered */
  .hc-search {
    margin: 34px auto 0;
    max-width: 520px;
    position: relative;
  }
  .hc-search i.search-ico {
    position: absolute; left: 18px; top: 50%; transform: translateY(-50%);
    font-size: 19px; color: var(--muted); pointer-events: none;
  }
  .hc-search input {
    width: 100%;
    height: 54px;
    border: 1px solid var(--border-strong);
    background: var(--surface);
    border-radius: var(--radius);
    padding: 0 48px;
    font-family: var(--font-sans);
    font-size: 16px;
    color: var(--text);
    outline: none;
    box-shadow: var(--shadow-sm);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
  }
  .hc-search input::placeholder { color: var(--muted); }
  .hc-search input:focus { border-color: var(--primary-strong); box-shadow: 0 0 0 4px color-mix(in oklab, var(--primary-strong) 12%, transparent); }
  [data-theme="dark"] .hc-search input:focus { border-color: var(--primary); box-shadow: 0 0 0 4px color-mix(in oklab, var(--primary) 14%, transparent); }
  .hc-search .clear {
    position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
    width: 28px; height: 28px; border-radius: 999px;
    display: none; place-items: center;
    background: var(--surface-2); border: none; cursor: pointer;
    color: var(--text-soft);
  }
  .hc-search .clear.show { display: grid; }
  .hc-search .clear:hover { color: var(--text); }

  .hc-suggest {
    margin: 18px 0 0;
    font-family: var(--font-mono);
    font-size: 12px; letter-spacing: 0.02em; color: var(--muted);
    display: flex; align-items: center; justify-content: center; gap: 4px; flex-wrap: wrap;
  }
  .hc-suggest .lbl { text-transform: uppercase; letter-spacing: 0.1em; font-size: 11px; margin-right: 6px; }
  .hc-suggest button {
    font-family: var(--font-mono);
    font-size: 12px; color: var(--text-soft);
    background: none; border: none; padding: 2px 0; cursor: pointer;
    border-bottom: 1px solid var(--border-strong);
    transition: color 0.15s ease, border-color 0.15s ease;
  }
  .hc-suggest button:hover { color: var(--primary-strong); border-color: var(--primary-strong); }
  [data-theme="dark"] .hc-suggest button:hover { color: var(--primary); border-color: var(--primary); }
  .hc-suggest .sep { opacity: 0.4; }

  /* ===== Notice banner ===== */
  .hc-notice {
    margin: 32px auto 0;
    max-width: 680px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 20px;
    border: 1px solid var(--border-strong);
    background: var(--surface-2);
    border-radius: var(--radius);
    text-align: left;
  }
  .hc-notice i { color: var(--primary-strong); font-size: 19px; margin-top: 1px; flex-shrink: 0; }
  [data-theme="dark"] .hc-notice i { color: var(--primary); }
  .hc-notice p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--text-soft); }
  .hc-notice strong { color: var(--text); font-weight: 600; }

  /* ===== Topic directory ===== */
  .hc-topics { padding: 76px 0 8px; }
  .hc-topics .bar {
    display: flex; align-items: baseline; justify-content: space-between;
    gap: 16px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border-strong);
  }
  .hc-topics .bar .kicker { margin: 0; }
  .hc-topics .matchcount {
    font-family: var(--font-mono);
    font-size: 12px; letter-spacing: 0.04em; color: var(--muted);
  }
  .topic-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 64px;
  }
  .topic-col {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 4px 0;
    padding: 36px 0;
    border-bottom: 1px solid var(--border);
    align-items: start;
  }
  /* make the last row in each column keep a clean edge */
  .topic-grid .topic-col:nth-last-child(-n+2) { border-bottom: none; }
  @media (max-width: 760px) {
    .topic-grid .topic-col:nth-last-child(2) { border-bottom: 1px solid var(--border); }
  }
  .topic-col .ticon {
    grid-row: span 2;
    font-size: 25px;
    line-height: 1;
    color: var(--primary-strong);
    padding-top: 2px;
  }
  [data-theme="dark"] .topic-col .ticon { color: var(--primary); }
  .topic-col .cat {
    font-family: var(--font-sans);
    font-size: 20px; font-weight: 600; letter-spacing: -0.018em;
    color: var(--text);
    margin-bottom: 16px;
  }
  .topic-links { display: flex; flex-direction: column; gap: 2px; }
  .topic-link {
    display: inline-flex; align-items: center; gap: 9px;
    text-decoration: none;
    color: var(--text-soft);
    font-size: 15.5px;
    padding: 7px 0;
    width: fit-content;
    transition: color 0.14s ease, gap 0.16s ease;
  }
  .topic-link .tick {
    color: var(--border-strong);
    font-size: 14px;
    transition: color 0.14s ease, transform 0.16s ease;
  }
  .topic-link:hover { color: var(--primary-strong); gap: 12px; }
  .topic-link:hover .tick { color: var(--primary-strong); transform: translateX(1px); }
  [data-theme="dark"] .topic-link:hover { color: var(--primary); }
  [data-theme="dark"] .topic-link:hover .tick { color: var(--primary); }
  .topic-link.is-hidden, .topic-col.is-hidden { display: none; }

  mark {
    background: color-mix(in oklab, var(--primary-strong) 22%, transparent);
    color: inherit; border-radius: 3px; padding: 0 1px;
  }
  [data-theme="dark"] mark { background: color-mix(in oklab, var(--primary) 26%, transparent); }

  .hc-noresult {
    display: none;
    padding: 64px 0;
    text-align: center;
  }
  .hc-noresult.show { display: block; }
  .hc-noresult i { font-size: 32px; color: var(--muted); }
  .hc-noresult p { margin: 14px 0 0; color: var(--muted); font-size: 16px; }
  .hc-noresult .q { color: var(--text); font-weight: 600; }
  .hc-noresult a { color: var(--primary-strong); font-weight: 600; text-decoration: none; }
  [data-theme="dark"] .hc-noresult a { color: var(--primary); }

  /* ===== Human help — letter/stamp motif ===== */
  .hc-human { padding: 88px 0 16px; }
  .help-card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    background: var(--surface);
    box-shadow: var(--shadow-md);
    padding: 64px;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 56px;
    align-items: center;
  }
  .help-card .watermark {
    position: absolute;
    right: -70px; bottom: -90px;
    width: 280px; height: auto;
    color: var(--primary-strong);
    opacity: 0.05; pointer-events: none;
    transform: rotate(-10deg);
  }
  [data-theme="dark"] .help-card .watermark { opacity: 0.08; color: var(--primary); }
  .help-card > * { position: relative; }
  .help-card .salutation {
    font-family: var(--font-mono);
    font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--primary-strong); margin-bottom: 18px;
  }
  [data-theme="dark"] .help-card .salutation { color: var(--primary); }
  .help-card h2 {
    font-size: clamp(28px, 3.2vw, 40px);
    letter-spacing: -0.028em; margin: 0; line-height: 1.08;
    max-width: 16ch;
  }
  .help-card h2 .accent { font-style: italic; color: var(--primary-strong); }
  [data-theme="dark"] .help-card h2 .accent { color: var(--primary); }
  .help-card p {
    margin: 20px 0 0; color: var(--muted);
    font-size: 16.5px; line-height: 1.6; max-width: 46ch;
  }
  .help-card .contact-email {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--font-display);
    font-size: clamp(18px, 1.7vw, 24px);
    letter-spacing: -0.025em; line-height: 1.15;
    color: var(--text);
    text-decoration: none;
    transition: color 0.15s;
  }
  .help-card .contact-email i { color: var(--primary-strong); font-size: 0.88em; }
  [data-theme="dark"] .help-card .contact-email i { color: var(--primary); }
  .help-card .contact-email:hover { color: var(--primary-strong); }
  [data-theme="dark"] .help-card .contact-email:hover { color: var(--primary); }

  .help-card .actions {
    display: flex; align-items: center; gap: 22px;
    margin-top: 32px; flex-wrap: wrap;
  }
  .help-card .status {
    font-family: var(--font-mono);
    font-size: 12px; letter-spacing: 0.03em; color: var(--muted);
    display: inline-flex; align-items: center; gap: 8px;
    text-decoration: none;
  }
  .help-card .status:hover { color: var(--text); }
  .help-card .status .dot {
    width: 8px; height: 8px; border-radius: 999px;
    background: var(--primary-strong); flex: 0 0 auto;
    box-shadow: 0 0 0 4px color-mix(in oklab, var(--primary-strong) 18%, transparent);
  }
  [data-theme="dark"] .help-card .status .dot { background: var(--primary); box-shadow: 0 0 0 4px color-mix(in oklab, var(--primary) 20%, transparent); }

  /* right column: response stamp */
  .help-stamp {
    border-left: 1px solid var(--border);
    padding-left: 56px;
    display: flex; flex-direction: column; gap: 22px;
  }
  .help-stamp .row { display: flex; flex-direction: column; gap: 4px; }
  .help-stamp .k {
    font-family: var(--font-mono);
    font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--muted);
  }
  .help-stamp .v {
    font-family: var(--font-sans);
    font-size: 17px; font-weight: 600; color: var(--text);
    letter-spacing: -0.01em;
  }
  .help-stamp .v small { display: block; font-weight: 400; font-size: 14px; color: var(--muted); margin-top: 2px; letter-spacing: 0; }

  @media (max-width: 860px) {
    .help-card { grid-template-columns: 1fr; padding: 44px 32px; gap: 36px; }
    .help-stamp { border-left: none; border-top: 1px solid var(--border); padding-left: 0; padding-top: 32px; flex-direction: row; flex-wrap: wrap; gap: 28px 48px; }
  }
  @media (max-width: 760px) {
    .topic-grid { grid-template-columns: 1fr; gap: 0; }
  }
