/* Help centre (bentobundle.com/support). Built by tools/help/build.py, which
   copies this file to /help.css. Uses the site's tokens from styles.css. */

.hmain { position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto; padding: 0 32px 96px; }

/* ─── Hub ─────────────────────────────────────────────────────────────── */
.hhero { max-width: 720px; margin: 0 auto; padding: 80px 0 56px; text-align: center; }
.hhero__title {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2.2rem, 5vw, 3.2rem); line-height: 1.05; letter-spacing: -0.025em;
  color: var(--ink-900);
}
.hhero__lede { margin: 14px auto 32px; max-width: 520px; font-size: 1.08rem; line-height: 1.55; color: var(--ink-500); }

.hpopular { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 14px; }
.hpopular__label { font-size: .9rem; font-weight: 600; color: var(--ink-500); }
.hpopular__list { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.hpopular__list a {
  display: inline-block; padding: 7px 13px; border-radius: 999px;
  background: var(--paper-0); border: 1px solid var(--paper-200);
  font-size: .9rem; font-weight: 500; color: var(--ink-700);
  transition: border-color .15s var(--ease-out), color .15s var(--ease-out);
}
.hpopular__list a:hover { border-color: var(--ink-900); color: var(--ink-900); }

.hgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.hcard {
  background: var(--paper-0); border: 1px solid var(--paper-200); border-radius: 18px;
  padding: 28px 30px 24px; box-shadow: var(--shadow-md);
  scroll-margin-top: 96px;
}
.hcard__title { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; letter-spacing: -0.01em; color: var(--ink-900); }
.hcard__blurb { margin: 6px 0 16px; font-size: .95rem; line-height: 1.5; color: var(--ink-500); }
.hcard__list { list-style: none; border-top: 1px solid var(--paper-100); }
.hcard__list li { border-bottom: 1px solid var(--paper-100); }
.hcard__list li:last-child { border-bottom: 0; }
.hcard__list a {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 11px 0; font-size: 1rem; font-weight: 500; color: var(--ink-700);
}
.hcard__list a::after { content: "\2192"; color: var(--ink-300); transition: transform .2s var(--ease-out), color .2s var(--ease-out); }
.hcard__list a:hover { color: var(--ink-900); }
.hcard__list a:hover::after { color: var(--ink-900); transform: translateX(3px); }

/* ─── Search ──────────────────────────────────────────────────────────── */
.hsearch { position: relative; text-align: left; }
.hsearch__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hsearch__input {
  width: 100%; padding: 17px 20px 17px 50px; border-radius: 14px;
  border: 1px solid var(--paper-300); background: var(--paper-0) no-repeat 18px 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2357534b' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E");
  font: 500 1.05rem var(--font-sans); color: var(--ink-900); box-shadow: var(--shadow-md);
  -webkit-appearance: none; appearance: none;
}
.hsearch__input::placeholder { color: var(--ink-400); font-weight: 400; }
.hsearch__input:focus { outline: none; border-color: var(--ink-900); box-shadow: 0 0 0 3px rgba(21,17,13,.12), var(--shadow-md); }
.hsearch__results {
  position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 8px);
  list-style: none; max-height: min(60vh, 460px); overflow-y: auto;
  background: var(--paper-0); border: 1px solid var(--paper-200); border-radius: 14px;
  box-shadow: var(--shadow-xl); padding: 6px;
}
.hsearch__results a { display: block; padding: 11px 14px; border-radius: 10px; }
.hsearch__results a:hover, .hsearch__results a[aria-selected="true"] { background: var(--paper-100); }
.hsearch__t { display: block; font-weight: 600; color: var(--ink-900); }
.hsearch__s { display: block; margin-top: 2px; font-size: .9rem; line-height: 1.45; color: var(--ink-500); }
.hsearch__c { display: block; margin-top: 4px; font-size: .8rem; color: var(--ink-400); }
.hsearch__empty { padding: 14px; color: var(--ink-500); font-size: .95rem; line-height: 1.5; }
.hsearch__empty button { font: inherit; font-weight: 600; color: var(--ink-900); text-decoration: underline; background: none; border: 0; cursor: pointer; padding: 0; }

/* ─── Contact ─────────────────────────────────────────────────────────── */
.hcontact {
  margin: 56px auto 0; max-width: 760px; text-align: center;
  background: var(--paper-100); border-radius: 18px; padding: 36px 32px;
}
.hcontact__title { font-family: var(--font-display); font-weight: 600; font-size: 1.4rem; letter-spacing: -0.01em; color: var(--ink-900); }
.hcontact__text { margin: 10px auto 22px; max-width: 520px; font-size: 1rem; line-height: 1.6; color: var(--ink-500); }
.hcontact__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.hcontact .btn--ghost { background: var(--paper-0); }

/* ─── Article layout ──────────────────────────────────────────────────── */
.hlayout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 56px; padding-top: 48px; }
.hside { position: sticky; top: 88px; align-self: start; max-height: calc(100vh - 110px); overflow-y: auto; padding-right: 6px; }
.hside__toggle { display: none; }
.hside__details > summary { list-style: none; }
.hside__details > summary::-webkit-details-marker { display: none; }
.hside__section { margin: 22px 0 6px; font-size: .8rem; font-weight: 700; color: var(--ink-900); }
.hside__nav > .hside__section:first-child { margin-top: 0; }
.hside ul { list-style: none; }
.hside a { display: block; padding: 5px 10px; margin-left: -10px; border-radius: 8px; font-size: .92rem; line-height: 1.35; color: var(--ink-500); }
.hside a:hover { color: var(--ink-900); background: var(--paper-100); }
.hside a[aria-current="page"] { color: var(--ink-900); font-weight: 600; background: var(--paper-100); }

.harticle { max-width: 720px; min-width: 0; }
.hcrumb { font-size: .9rem; color: var(--ink-400); margin-bottom: 18px; }
.hcrumb a { color: var(--ink-500); font-weight: 500; }
.hcrumb a:hover { color: var(--ink-900); text-decoration: underline; }
.harticle__title {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.9rem, 4vw, 2.6rem); line-height: 1.1; letter-spacing: -0.02em; color: var(--ink-900);
}
.harticle__lede { margin: 14px 0 0; font-size: 1.15rem; line-height: 1.55; color: var(--ink-500); }
.harticle__updated { margin-top: 40px; font-size: .88rem; color: var(--ink-400); }

/* Body typography */
.harticle__body { margin-top: 36px; }
.harticle__body > :first-child { margin-top: 0; }
.harticle__body h2 {
  font-family: var(--font-display); font-weight: 600; font-size: 1.45rem; letter-spacing: -0.01em;
  color: var(--ink-900); margin: 48px 0 14px; scroll-margin-top: 96px;
}
.harticle__body h3 { font-weight: 700; font-size: 1.06rem; color: var(--ink-900); margin: 30px 0 8px; }
.harticle__body p, .harticle__body li { font-size: 1.04rem; line-height: 1.7; color: var(--ink-700); }
.harticle__body p { margin: 0 0 16px; }
.harticle__body ul, .harticle__body ol { margin: 0 0 18px; padding-left: 24px; }
.harticle__body li { margin: 0 0 8px; padding-left: 4px; }
.harticle__body li > ul, .harticle__body li > ol { margin: 8px 0 0; }
.harticle__body a { color: var(--ink-900); font-weight: 600; text-decoration: underline; text-decoration-color: var(--paper-300); text-underline-offset: 3px; }
.harticle__body a:hover { text-decoration-color: var(--ink-900); }
.harticle__body strong { color: var(--ink-900); font-weight: 650; }

/* Numbered steps */
.harticle__body ol.hsteps { list-style: none; padding-left: 0; counter-reset: step; }
.harticle__body ol.hsteps > li { position: relative; padding-left: 44px; margin-bottom: 14px; counter-increment: step; }
.harticle__body ol.hsteps > li::before {
  content: counter(step); position: absolute; left: 0; top: 1px;
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ink-900); color: #fff; font-size: .85rem; font-weight: 700;
}

/* A tinted box for tips and warnings (no side stripe) */
.harticle__body .note {
  background: var(--paper-100); border-radius: 14px; padding: 18px 22px; margin: 22px 0;
}
.harticle__body .note p:last-child, .harticle__body .note ul:last-child { margin-bottom: 0; }
.harticle__body .note--warn { background: var(--lacquer-50); }
.harticle__body .note__title { display: block; font-weight: 700; color: var(--ink-900); margin-bottom: 4px; }

/* Plan label */
.plan {
  display: inline-block; vertical-align: 2px; margin-left: 4px;
  padding: 2px 9px; border-radius: 999px; background: var(--tatami-100); color: var(--tatami-500);
  font-size: .76rem; font-weight: 700; letter-spacing: .01em; white-space: nowrap;
}

/* Tables */
.harticle__body .tablewrap { overflow-x: auto; margin: 0 0 22px; border: 1px solid var(--paper-200); border-radius: 14px; background: var(--paper-0); }
.harticle__body table { width: 100%; border-collapse: collapse; font-size: .96rem; }
.harticle__body th, .harticle__body td { text-align: left; vertical-align: top; padding: 12px 16px; border-bottom: 1px solid var(--paper-100); line-height: 1.5; }
.harticle__body th { font-weight: 700; color: var(--ink-900); background: var(--paper-50); }
.harticle__body tr:last-child td { border-bottom: 0; }

/* Question list (troubleshooting) */
.harticle__body details.q { border: 1px solid var(--paper-200); border-radius: 14px; background: var(--paper-0); margin: 0 0 12px; }
.harticle__body details.q > summary {
  cursor: pointer; list-style: none; padding: 16px 48px 16px 20px; position: relative;
  font-weight: 650; color: var(--ink-900); line-height: 1.45;
}
.harticle__body details.q > summary::-webkit-details-marker { display: none; }
.harticle__body details.q > summary::after {
  content: ""; position: absolute; right: 20px; top: 50%; width: 9px; height: 9px; margin-top: -7px;
  border-right: 2px solid var(--ink-500); border-bottom: 2px solid var(--ink-500); transform: rotate(45deg);
  transition: transform .2s var(--ease-out);
}
.harticle__body details.q[open] > summary::after { transform: rotate(225deg); margin-top: -2px; }
.harticle__body details.q > div { padding: 0 20px 6px; }

/* Pager + related */
.hpager { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 28px; }
.hpager a {
  display: block; padding: 16px 18px; border: 1px solid var(--paper-200); border-radius: 14px; background: var(--paper-0);
  font-weight: 600; color: var(--ink-900); line-height: 1.4; transition: border-color .15s var(--ease-out);
}
.hpager a:hover { border-color: var(--ink-900); }
.hpager span { display: block; font-size: .82rem; font-weight: 500; color: var(--ink-400); margin-bottom: 3px; }
.hpager__next { text-align: right; }

.hrel { margin-top: 48px; }
.hrel__title { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; color: var(--ink-900); margin-bottom: 12px; }
.hrel__list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hrel__list a { display: block; height: 100%; padding: 16px 18px; border-radius: 14px; background: var(--paper-100); transition: background .15s var(--ease-out); }
.hrel__list a:hover { background: var(--paper-200); }
.hrel__t { display: block; font-weight: 650; color: var(--ink-900); }
.hrel__s { display: block; margin-top: 4px; font-size: .9rem; line-height: 1.45; color: var(--ink-500); }
.hmain--article .hcontact { margin-left: 0; text-align: left; }
.hmain--article .hcontact__text { margin-left: 0; }
.hmain--article .hcontact__actions { justify-content: flex-start; }


/* ─── Narrow screens ──────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .hlayout { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 24px; }
  .hside { position: static; max-height: none; overflow: visible; padding: 0; margin-bottom: 28px; }
  .hside__toggle {
    display: flex; justify-content: space-between; align-items: center; cursor: pointer;
    padding: 13px 16px; border: 1px solid var(--paper-200); border-radius: 12px; background: var(--paper-0);
    font-weight: 600; color: var(--ink-900);
  }
  .hside__toggle::after { content: "+"; font-size: 1.2rem; color: var(--ink-500); }
  .hside__details[open] .hside__toggle::after { content: "\2212"; }
  .hside__nav { padding: 14px 4px 0; }
}
@media (max-width: 760px) {
  .hgrid { grid-template-columns: minmax(0, 1fr); }
  .hrel__list, .hpager { grid-template-columns: minmax(0, 1fr); }
  .hpager__next { text-align: left; }
}
@media (max-width: 640px) {
  .hmain { padding: 0 16px 72px; }
  .hhero { padding: 48px 0 40px; }
  .hcard { padding: 22px 20px 16px; }
  .hcontact { padding: 28px 20px; }
  .harticle__body ol.hsteps > li { padding-left: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .hcard__list a::after, .hpopular__list a, .hpager a, .hrel__list a { transition: none; }
}

/* ─── Guides ──────────────────────────────────────────────────────────── */
.hguides-link { margin: 22px auto 0; max-width: 760px; text-align: center; font-size: 1rem; color: var(--ink-500); }
.hguides-link a { color: var(--ink-900); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.glist { max-width: 900px; margin: 0 auto; }
.gcta { margin: 44px 0 0; background: var(--paper-0); border: 1px solid var(--paper-200); border-radius: 18px; padding: 28px 30px; box-shadow: var(--shadow-md); }
.gcta__title { font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; letter-spacing: -0.01em; color: var(--ink-900); }
.gcta__text { margin: 8px 0 18px; font-size: 1rem; line-height: 1.6; color: var(--ink-500); }
.gcta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.gcta__help { margin: 22px 0 6px; font-size: .9rem; font-weight: 700; color: var(--ink-900); }
.gcta__list { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.gcta__list a { font-size: .95rem; font-weight: 600; color: var(--ink-900); text-decoration: underline; text-decoration-color: var(--paper-300); text-underline-offset: 3px; }
@media (max-width: 640px) { .gcta { padding: 22px 20px; } }

/* ─── Guide library ──────────────────────────────────────────────────── */
/* Four topic tones from the site palette: each topic keeps its colour on the
   hub's compartments, its section, its tags and Up next. */
.gbox--ink, .gsec--ink, .gnext--ink { --tone-bg: var(--ink-900); --tone-ink: #fff; --tone-mute: rgba(255,255,255,.74); --tone-accent: #fff; --tone-line: rgba(255,255,255,.18); }
.gbox--lacquer, .gsec--lacquer, .gnext--lacquer { --tone-bg: var(--lacquer-50); --tone-ink: var(--lacquer-700); --tone-mute: #6b3a2c; --tone-accent: var(--lacquer-600); --tone-line: var(--lacquer-100); }
.gbox--indigo, .gsec--indigo, .gnext--indigo { --tone-bg: #e8eef7; --tone-ink: #1f3d66; --tone-mute: #3d5574; --tone-accent: #2f5689; --tone-line: #cfdbec; }
.gbox--tatami, .gsec--tatami, .gnext--tatami { --tone-bg: var(--tatami-100); --tone-ink: #3f4722; --tone-mute: #535b33; --tone-accent: var(--tatami-500); --tone-line: #dde1c6; }

.ghub .ghero { padding-bottom: 36px; }
.ghero .hhero__lede { max-width: 600px; margin-bottom: 26px; }
.gsearch { max-width: 560px; margin: 0 auto; }
.gsearch .hsearch__input { font-size: 1rem; }
.gsearch__none { max-width: 900px; margin: 0 auto 32px; text-align: center; color: var(--ink-500); }
.gsearch__none button { font: inherit; font-weight: 600; color: var(--ink-900); text-decoration: underline; background: none; border: 0; cursor: pointer; padding: 0; }

/* The bento: topics as compartments of different sizes */
.gbento {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 14px;
  max-width: 1080px; margin: 0 auto 72px;
}
.gbox {
  background: var(--tone-bg); color: var(--tone-ink); border-radius: 24px;
  padding: 28px 30px 26px; display: flex; flex-direction: column; min-width: 0;
}
.gbox--a { grid-column: span 7; }
.gbox--b { grid-column: span 5; }
.gbox--c { grid-column: span 5; }
.gbox--d { grid-column: span 7; }
.gbox__title { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; line-height: 1.15; letter-spacing: -0.02em; color: var(--tone-ink); }
.gbox__blurb { margin-top: 6px; font-size: .98rem; line-height: 1.5; color: var(--tone-mute); }
.gbox__list { list-style: none; margin: 18px 0 20px; display: grid; gap: 2px; }
.gbox__list a {
  display: block; padding: 8px 0; border-bottom: 1px solid var(--tone-line);
  font-weight: 600; font-size: .98rem; line-height: 1.35; color: var(--tone-ink);
}
.gbox__list li:last-child a { border-bottom: 0; }
.gbox__list a:hover { text-decoration: underline; text-underline-offset: 3px; }
.gbox__all {
  margin-top: auto; align-self: flex-start; font-weight: 700; font-size: .95rem; color: var(--tone-accent);
  text-decoration: underline; text-decoration-color: var(--tone-line); text-underline-offset: 4px;
}
.gbox__all:hover { text-decoration-color: currentColor; }
.gbox a:focus-visible, .gcard:focus-visible, .gnext__card:focus-visible { outline: 3px solid var(--ink-900); outline-offset: 3px; border-radius: 10px; }
.gbox--ink a:focus-visible { outline-color: #fff; }

/* Topic sections */
.gsecs { max-width: 1080px; margin: 0 auto; display: grid; gap: 64px; }
.gsec { scroll-margin-top: 96px; }
.gsec[hidden] { display: none; }
.gsec__head { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: start; margin-bottom: 18px; }
.gsec__swatch { width: 18px; height: 18px; margin-top: .5em; border-radius: 6px; background: var(--tone-accent); }
.gsec--ink .gsec__swatch { background: var(--ink-900); }
.gsec__title { font-family: var(--font-display); font-weight: 600; font-size: 1.7rem; letter-spacing: -0.02em; color: var(--ink-900); }
.gsec__blurb { grid-column: 2; margin-top: 2px; font-size: 1rem; color: var(--ink-500); }

/* Guide cards: white on the paper, so they read as things to open */
.gcards { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.gcards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gcards > li[hidden] { display: none; }
.gcard {
  height: 100%; display: flex; flex-direction: column; gap: 8px;
  padding: 20px 22px 18px; border-radius: 16px; background: var(--paper-0);
  border: 1px solid var(--paper-200); color: var(--ink-700);
  transition: border-color .15s var(--ease-out), box-shadow .15s var(--ease-out);
}
.gcard:hover { border-color: var(--ink-300); box-shadow: var(--shadow-md); }
.gcard__t { font-weight: 650; font-size: 1.04rem; line-height: 1.32; color: var(--ink-900); letter-spacing: -0.005em; }
.gcard__s { font-size: .92rem; line-height: 1.5; color: var(--ink-500); }
.gcard__meta { margin-top: auto; padding-top: 6px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: .84rem; color: var(--ink-400); }
.gcard__start { align-self: flex-start; padding: 3px 10px; border-radius: 999px; background: var(--tone-bg); color: var(--tone-ink); font-size: .8rem; font-weight: 700; }
/* The first guide of each topic leads, in its topic colour */
.gspan2 { grid-column: span 2; }
.gspan3 { grid-column: span 3; }
.gcard--feat { background: var(--tone-bg); border-color: transparent; color: var(--tone-ink); padding: 26px 28px 22px; }
.gcard--feat .gcard__t { font-family: var(--font-display); font-weight: 600; font-size: 1.45rem; line-height: 1.18; letter-spacing: -0.02em; color: var(--tone-ink); }
.gcard--feat .gcard__s { font-size: 1rem; color: var(--tone-mute); max-width: 52ch; }
.gcard--feat .gcard__meta, .gcard--feat .gcard__time { color: var(--tone-mute); }
.gcard--feat .gcard__start { background: var(--tone-ink); color: var(--tone-bg); }
.gsec--ink .gcard--feat .gcard__start { background: #fff; color: var(--ink-900); }
.gcard--feat:hover { border-color: transparent; box-shadow: var(--shadow-lg); }

/* Topic tag: a small swatch and the topic's name */
.gtag { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--ink-500); }
.gtag::before { content: ""; width: 9px; height: 9px; border-radius: 3px; background: var(--tag, var(--ink-300)); }
.gtag--ink { --tag: var(--ink-900); }
.gtag--lacquer { --tag: var(--lacquer-500); }
.gtag--indigo { --tag: #2f5689; }
.gtag--tatami { --tag: var(--tatami-500); }
.gtag--crumb { font-weight: 500; }

/* The calculator, between topics */
.gtool {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 28px 32px; border-radius: 24px; background: var(--paper-0); border: 1px solid var(--paper-200); box-shadow: var(--shadow-md);
}
.gtool__title { font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; letter-spacing: -0.01em; color: var(--ink-900); }
.gtool__text { margin-top: 6px; max-width: 56ch; font-size: 1rem; line-height: 1.55; color: var(--ink-500); }
.gtool__btn { flex: none; }

/* On a guide: byline, Up next */
.gbyline { margin: 16px 0 0; font-size: .92rem; line-height: 1.5; color: var(--ink-700); font-weight: 600; }
.gbyline__date { display: block; font-weight: 400; color: var(--ink-500); }
.harticle__body ul.gsources { padding-left: 20px; }
.harticle__body ul.gsources li { font-size: .95rem; }
.gnext { margin: 44px 0 0; }
.gnext__label { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; color: var(--ink-900); margin-bottom: 12px; }
.gnext__card {
  display: flex; flex-direction: column; gap: 8px; padding: 26px 28px 22px; border-radius: 22px;
  background: var(--tone-bg); color: var(--tone-ink); transition: box-shadow .15s var(--ease-out);
}
.gnext__card:hover { box-shadow: var(--shadow-lg); }
.gnext__t { font-family: var(--font-display); font-weight: 600; font-size: 1.45rem; line-height: 1.2; letter-spacing: -0.02em; }
.gnext__s { font-size: 1rem; line-height: 1.55; color: var(--tone-mute); }
.gnext__card .gcard__meta, .gnext__card .gtag { color: var(--tone-mute); }
.gnext--ink .gtag--ink { --tag: #fff; }
.harticle .hrel .gcards { grid-template-columns: repeat(3, minmax(0, 1fr)); }

@media (max-width: 960px) {
  .gbox--a, .gbox--b, .gbox--c, .gbox--d { grid-column: span 12; }
  .gcards, .gcards--3, .harticle .hrel .gcards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gspan2, .gspan3 { grid-column: auto; }
  .gcards > li:first-child { grid-column: 1 / -1; }
  .harticle .hrel .gcards > li:first-child { grid-column: auto; }
}
@media (max-width: 640px) {
  .gbento { gap: 10px; margin-bottom: 52px; }
  .gbox { padding: 22px 20px 20px; border-radius: 20px; }
  .gcards, .gcards--3, .harticle .hrel .gcards { grid-template-columns: minmax(0, 1fr); }
  .gcards > li:first-child { grid-column: auto; }
  .gsecs { gap: 48px; }
  .gtool { flex-direction: column; align-items: flex-start; padding: 22px 20px; }
  .gcard--feat, .gnext__card { padding: 22px 20px 18px; }
}
@media (prefers-reduced-motion: reduce) { .gcard, .gnext__card { transition: none; } }

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

/* The film inside a guide: self-hosted, so the site stays free of cookies. */
.hvideo { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; margin: 22px 0 26px; border-radius: 16px; background: #15110d; }

/* ── Standalone pages: works with, what's new, stories ── */
.ppage { margin: 56px auto 0; }
.ppage .gcta { margin-top: 56px; }
.harticle__body .plink { font: inherit; color: var(--ink-900); font-weight: 600; background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-decoration-color: var(--paper-300); text-underline-offset: 3px; }
.harticle__body .plink:hover { text-decoration-color: var(--ink-900); }
.harticle__body .pfacts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 28px 0 8px; }
.harticle__body .pfact { background: var(--paper-0); border: 1px solid var(--paper-200); border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.harticle__body .pfact__n { font-family: var(--font-display); font-weight: 600; font-size: 2.2rem; line-height: 1; letter-spacing: -.03em; color: var(--ink-900); }
.harticle__body .pfact__l { font-size: .95rem; line-height: 1.4; color: var(--ink-500); }
.harticle__body ul.pnews { list-style: none; padding-left: 0; }
.harticle__body ul.pnews > li { padding: 14px 0; margin: 0; border-bottom: 1px solid var(--paper-200); }
.harticle__body ul.pnews > li:last-child { border-bottom: 0; }
.harticle__body ul.pnews strong { display: block; }
@media (max-width: 560px) { .harticle__body .pfacts { grid-template-columns: 1fr; } }

/* Code a merchant copies */
.harticle pre { margin: 18px 0; padding: 16px 18px; border-radius: 12px; background: var(--paper-100); overflow-x: auto; font-size: 14px; line-height: 1.55; }
.harticle code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.92em; }
.harticle pre code { background: none; padding: 0; font-size: inherit; white-space: pre; }
