:root {
  --hg-ink: #141a16;
  --hg-ink-2: #55605a;
  --hg-ink-3: #8a948e;
  --hg-paper: #fbfaf7;
  --hg-paper-2: #f3f1ea;
  --hg-card: #ffffff;
  --hg-line: #e6e2d8;
  --hg-moss: #27503a;
  --hg-moss-2: #3d7a58;
  --hg-sand: #b7873f;
  --hg-sand-2: #e3c48c;
  --hg-cinnabar: #c0392b;
  --hg-mist: #eef3ee;
  --hg-night: #0e1612;
  --hg-sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --hg-serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --hg-brush: "Ma Shan Zheng", "KaiTi", "STKaiti", serif;
  --hg-head: var(--hg-sans);
  --hg-head-weight: 800;
  --hg-head-track: -.035em;
  --hg-w: 76rem;
  --hg-r: 18px;
  --hg-shadow: 0 1px 2px rgba(20, 30, 24, .05), 0 14px 40px -16px rgba(20, 30, 24, .22);
  --hg-glass: rgba(255, 255, 255, .62);
  --hg-glass-line: rgba(255, 255, 255, .85);
}
:root[data-font="b"] { --hg-head: var(--hg-serif); --hg-head-weight: 500; --hg-head-track: -.015em; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --hg-ink: #eef1ec; --hg-ink-2: #b2bbb5; --hg-ink-3: #7d877f; --hg-paper: #0f1512; --hg-paper-2: #141c17;
    --hg-card: #182019; --hg-line: #273029; --hg-moss-2: #8fc4a3; --hg-sand: #d9b06c; --hg-mist: #16201a;
    --hg-glass: rgba(18, 26, 20, .55); --hg-glass-line: rgba(255, 255, 255, .14);
    --hg-shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 14px 40px -16px rgba(0, 0, 0, .7);
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--hg-paper); color: var(--hg-ink); font: 17px/1.7 var(--hg-sans); }
img { max-width: 100%; }
a { color: var(--hg-moss-2); text-underline-offset: 3px; }
a:hover { color: var(--hg-sand); }
.hg-wrap { max-width: var(--hg-w); margin: 0 auto; padding: 0 20px; }
.hg-skip { position: absolute; left: -999px; }
.hg-skip:focus { left: 12px; top: 12px; background: var(--hg-card); padding: 8px 12px; z-index: 99; }

/* ---------- header ---------- */
.hg-top { position: absolute; inset: 0 0 auto 0; z-index: 6; }
.hg-top__in { display: flex; align-items: center; justify-content: space-between; gap: 8px 24px; min-height: 72px; flex-wrap: wrap; }
.hg-brand { display: flex; align-items: center; gap: 9px; text-decoration: none; color: var(--hg-ink); font: 700 1.02rem/1 var(--hg-sans); letter-spacing: -.01em; }
.hg-brand:hover { color: var(--hg-ink); }
.hg-brand em { font-style: normal; color: var(--hg-moss-2); }
.hg-mark { width: 26px; height: 26px; color: var(--hg-moss); }
.hg-nav { display: flex; gap: 2px 20px; flex-wrap: wrap; font-size: .9rem; font-weight: 600; }
.hg-nav a { color: var(--hg-ink-2); text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.hg-nav a:hover, .hg-nav a[aria-current="page"] { color: var(--hg-ink); border-bottom-color: var(--hg-sand); }
@media (max-width: 700px) { .hg-top__in { min-height: 60px; } .hg-nav { display: none; } }

/* ---------- inner-page hero ---------- */
.hg-hero { position: relative; padding: 140px 0 48px; background: linear-gradient(180deg, var(--hg-mist), var(--hg-paper)); }
.hg-hero__in { position: relative; z-index: 2; }
.hg-kicker { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; text-transform: uppercase; letter-spacing: .18em; font-size: .74rem; color: var(--hg-sand); font-weight: 700; }
.hg-hero h1 { margin: 0; font-family: var(--hg-head); font-weight: var(--hg-head-weight); letter-spacing: var(--hg-head-track); font-size: clamp(2.3rem, 6vw, 4.4rem); line-height: 1.02; max-width: 16ch; }
.hg-hero h1 em { font-style: italic; font-weight: 500; font-family: var(--hg-serif); color: var(--hg-moss-2); letter-spacing: -.01em; }
:root[data-font="b"] .hg-hero h1 em { font-style: italic; }
.hg-lede { margin: 20px 0 0; max-width: 34rem; font-size: 1.12rem; color: var(--hg-ink-2); }
.hg-meta { margin: 18px 0 0; font-size: .82rem; color: var(--hg-ink-3); }
.hg-draft { display: inline-block; margin: 0 0 14px; padding: 3px 10px; border: 1px dashed var(--hg-sand); color: var(--hg-sand); font-size: .74rem; border-radius: 999px; background: var(--hg-glass); }
.hg-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 0; }
.hg-btn { display: inline-flex; align-items: center; padding: 13px 24px; border-radius: 999px; background: var(--hg-ink); color: #fff; text-decoration: none; font-weight: 700; font-size: .95rem; letter-spacing: -.01em; box-shadow: 0 10px 28px -12px rgba(0, 0, 0, .45); transition: transform .15s, background .15s; }
.hg-btn:hover { background: var(--hg-moss); color: #fff; transform: translateY(-1px); }
.hg-btn--ghost { background: var(--hg-glass); color: var(--hg-ink); border: 1px solid var(--hg-glass-line); box-shadow: none; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.hg-btn--ghost:hover { background: #fff; color: var(--hg-ink); }

/* home hero lives in hero.css */
.hg-seal { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 6px; background: var(--hg-cinnabar); color: #fff; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .55), 0 6px 16px -8px rgba(192, 57, 43, .7); transform: rotate(-6deg); flex: none; }
.hg-seal__ch { font-family: var(--hg-brush); font-size: 15px; line-height: 1.05; letter-spacing: 0; writing-mode: vertical-rl; text-transform: none; font-weight: 400; }

/* ---------- stats strip ---------- */
.hg-stats { position: relative; z-index: 3; margin-top: -30px; }
.hg-stats__in { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--hg-card); border-radius: var(--hg-r); box-shadow: var(--hg-shadow); border: 1px solid var(--hg-line); overflow: hidden; }
.hg-stats__in > div { padding: 22px 24px; border-left: 1px solid var(--hg-line); }
.hg-stats__in > div:first-child { border-left: 0; }
.hg-stats strong { display: block; font-family: var(--hg-head); font-weight: var(--hg-head-weight); font-size: 1.8rem; line-height: 1.05; letter-spacing: -.03em; color: var(--hg-moss-2); }
.hg-stats span { display: block; margin-top: 4px; font-size: .86rem; color: var(--hg-ink-2); }
@media (max-width: 760px) {
  .hg-stats__in { grid-template-columns: 1fr 1fr; }
  .hg-stats__in > div:nth-child(3) { border-left: 0; }
  .hg-stats__in > div:nth-child(n+3) { border-top: 1px solid var(--hg-line); }
}

/* ---------- body ---------- */
.hg-body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; padding-top: 72px; padding-bottom: 100px; }
@media (min-width: 980px) { .hg-body:has(.hg-toc) { grid-template-columns: 14rem minmax(0, 1fr); } }
.hg-toc { font-size: .9rem; }
.hg-toc p { margin: 0 0 10px; font-weight: 700; color: var(--hg-ink-3); text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; }
.hg-toc ol { margin: 0; padding-left: 1.1rem; display: grid; gap: 8px; }
@media (min-width: 980px) { .hg-toc { position: sticky; top: 28px; align-self: start; } }
.hg-prose { max-width: 48rem; }
main:has(.hg-hero--home) .hg-prose { max-width: none; }
.hg-stats { margin-top: 48px; }
.hg-prose > p, .hg-prose > ul, .hg-prose > .hg-note { max-width: 44rem; }
.hg-prose h2 { font-family: var(--hg-head); font-weight: var(--hg-head-weight); letter-spacing: var(--hg-head-track); font-size: clamp(1.7rem, 3.2vw, 2.5rem); line-height: 1.1; margin: 2.6em 0 .6em; scroll-margin-top: 24px; }
.hg-prose h2::before { content: ""; display: block; width: 40px; height: 3px; background: var(--hg-sand); border-radius: 2px; margin-bottom: 18px; }
.hg-prose h2:first-child { margin-top: 0; }
.hg-prose h3 { font-family: var(--hg-head); font-weight: var(--hg-head-weight); font-size: 1.22rem; line-height: 1.3; margin: 1.8em 0 .4em; }
.hg-prose p, .hg-prose ul { margin: 0 0 1.1em; }
.hg-note { font-size: .9rem; color: var(--hg-ink-2); border-left: 3px solid var(--hg-sand); background: var(--hg-mist); padding: 12px 16px; border-radius: 0 10px 10px 0; }

/* at a glance */
.hg-facts { background: var(--hg-card); border: 1px solid var(--hg-line); border-radius: var(--hg-r); padding: 20px 24px; margin: 0 0 2.6em; max-width: 44rem; box-shadow: var(--hg-shadow); }
.hg-facts__t { margin: 0 0 12px !important; font: 700 .72rem/1 var(--hg-sans); text-transform: uppercase; letter-spacing: .16em; color: var(--hg-sand); }
.hg-facts dl { margin: 0; display: grid; gap: 10px; }
.hg-facts div { display: grid; grid-template-columns: 7.5rem 1fr; gap: 12px; padding-top: 10px; border-top: 1px dashed var(--hg-line); }
.hg-facts div:first-child { border-top: 0; padding-top: 0; }
.hg-facts dt { color: var(--hg-ink-2); font-size: .9rem; }
.hg-facts dd { margin: 0; font-weight: 600; }
@media (max-width: 520px) { .hg-facts div { grid-template-columns: 1fr; gap: 0; } }

/* area cards */
.hg-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 20px; margin: 1.6em 0 1.2em; }
.hg-card { display: flex; flex-direction: column; background: var(--hg-card); border: 1px solid var(--hg-line); border-radius: var(--hg-r); overflow: hidden; text-decoration: none; color: var(--hg-ink); box-shadow: var(--hg-shadow); transition: transform .25s cubic-bezier(.2, .7, .2, 1), box-shadow .25s; }
.hg-card:hover { transform: translateY(-5px); color: var(--hg-ink); box-shadow: 0 2px 4px rgba(20, 30, 24, .05), 0 28px 50px -20px rgba(20, 30, 24, .35); }
.hg-card__art { display: block; width: 100%; aspect-ratio: 16 / 10; height: auto; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.hg-card:hover .hg-card__art { transform: scale(1.04); }
.hg-card__txt { display: grid; gap: 6px; padding: 18px 20px 20px; }
.hg-card__k { font-size: .7rem; text-transform: uppercase; letter-spacing: .16em; color: var(--hg-sand); font-weight: 700; }
.hg-card__t { font-family: var(--hg-head); font-weight: var(--hg-head-weight); font-size: 1.3rem; line-height: 1.15; letter-spacing: -.02em; }
.hg-card__d { font-size: .93rem; color: var(--hg-ink-2); }
.hg-card__go { margin-top: 6px; font-size: .84rem; font-weight: 700; color: var(--hg-moss-2); }

/* faq */
.hg-faq { margin-top: 3em; max-width: 44rem; }
.hg-faq details { background: var(--hg-card); border: 1px solid var(--hg-line); border-radius: 12px; padding: 14px 18px; margin-bottom: 10px; }
.hg-faq summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.hg-faq summary::-webkit-details-marker { display: none; }
.hg-faq summary::after { content: "+"; color: var(--hg-sand); font-size: 1.3rem; line-height: 1; }
.hg-faq details[open] summary::after { content: "–"; }
.hg-faq details p { margin: 10px 0 0; color: var(--hg-ink-2); }

/* footer */
.hg-foot { background: var(--hg-night); color: rgba(255, 255, 255, .75); font-size: .92rem; }
.hg-foot a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.hg-foot a:hover { color: var(--hg-sand-2); }
.hg-foot__in { display: flex; justify-content: space-between; gap: 28px; flex-wrap: wrap; padding-top: 52px; padding-bottom: 28px; }
.hg-foot__name { margin: 0 0 8px; font-family: var(--hg-head); font-weight: var(--hg-head-weight); font-size: 1.15rem; color: #fff; }
.hg-foot__note { margin: 0; max-width: 28rem; }
.hg-foot__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.hg-foot__base { padding-top: 16px; padding-bottom: 32px; border-top: 1px solid rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .45); font-size: .8rem; }

/* review-only font toggle (removed before launch) */
.hg-fonttoggle { position: fixed; right: 14px; bottom: 14px; z-index: 50; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--hg-line); background: var(--hg-card); color: var(--hg-ink); font: 700 .78rem var(--hg-sans); box-shadow: var(--hg-shadow); cursor: pointer; }

/* tables */
.hg-tablewrap { overflow-x: auto; margin: 0 0 1.4em; max-width: 46rem; border: 1px solid var(--hg-line); border-radius: 12px; background: var(--hg-card); }
.hg-table { border-collapse: collapse; width: 100%; font-size: .92rem; }
.hg-table th, .hg-table td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--hg-line); vertical-align: top; }
.hg-table th { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--hg-ink-2); background: var(--hg-paper-2); }
.hg-table tr:last-child td { border-bottom: 0; }
.hg-table td:first-child { font-weight: 600; white-space: nowrap; }
