/* DigiSkillHub store styles. tokens.css (brand kit) is the single source of colour, type, radius and shadow for BOTH
   themes (html[data-theme="clean"|"noir"]). This file has two jobs:
   1. bridge: map the old funnel variable names (--bg-void, --gold-core ...) onto the tokens, and restyle the old
      fn- and btn- classes, so every legacy page (checkout, OTO, accounts, policies) follows the active theme too;
   2. the v2 components: header, hero, product cards, sales page, library, vault, affiliate, guides, footer.
   No colour is written here as a literal except the Telegram and WhatsApp brand blues and greens. */

/* ================= 1. BRIDGE ================= */
html[data-theme] {
  --bg-void: var(--bg); --bg-base: var(--bg-soft); --bg-raised: var(--surface); --bg-elevated: var(--surface-2);
  --bg-hairline: var(--border);
  --red-core: var(--cta); --red-bright: var(--cta); --red-deep: var(--cta-hover);
  --red-wash: color-mix(in srgb, var(--cta) 10%, transparent); --red-line: color-mix(in srgb, var(--cta) 35%, transparent);
  --gold-core: var(--accent); --gold-bright: var(--accent); --gold-deep: var(--accent);
  --gold-foil: linear-gradient(var(--accent), var(--accent));
  --text-hi: var(--text); --text-body: var(--text-2); --text-muted: var(--muted); --text-on-gold: var(--cta-text);
  --s-9: 96px; --s-10: 128px;
}
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: var(--font-body); font-size: var(--fs-16); line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body::before { display: none; }
a { color: inherit; }
img { max-width: 100%; height: auto; }

.btn-buy, .btn-red { display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2); min-height: 52px; padding: 0 var(--sp-6);
  border-radius: var(--r-md); border: 1px solid transparent; font: 600 var(--fs-16)/1 var(--font-body); text-decoration: none; text-align: center;
  background: linear-gradient(180deg, var(--cta) 40%, color-mix(in srgb, var(--cta) 86%, #000) 100%); color: var(--cta-text);
  box-shadow: var(--sh-cta); width: auto; white-space: normal; animation: none; transition: transform .15s var(--ease), background .15s var(--ease); }
.btn-buy:hover, .btn-red:hover { background: var(--cta-hover); transform: translateY(-1px); filter: none; box-shadow: var(--sh-cta); }
.btn-buy.pulse { animation: none; }
.btn-buy.full, .btn-red.full { width: 100%; }
.btn-ghost { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 var(--sp-5); border-radius: var(--r-md);
  background: transparent; color: var(--text); border: 1px solid var(--border-strong); text-decoration: none; font: 600 var(--fs-16)/1 var(--font-body); }
.btn-ghost:hover { text-decoration: none; background: var(--surface-2); color: var(--text); }
.btn-sub { color: var(--muted); font-size: var(--fs-14); }
.btn-sub strong { color: var(--text); }
.fn-card, .fn-card-gold, .fn-card-red { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: var(--sp-5); box-shadow: var(--sh-1), var(--edge-light); }
.fn-card-gold { border-color: color-mix(in srgb, var(--accent-line) 55%, var(--border)); }
.fn-card-red { border-color: color-mix(in srgb, var(--cta) 40%, var(--border)); background: color-mix(in srgb, var(--cta) 6%, var(--surface)); }
.fn-eyebrow, .fn-eyebrow-red, .fn-eyebrow-ok { display: inline-flex; align-items: center; gap: var(--sp-2); font: 600 var(--fs-12)/1 var(--font-body);
  letter-spacing: var(--track-caps); text-transform: uppercase; color: var(--accent); background: none; border: 0; padding: 0; }
.fn-eyebrow::before { content: ""; width: 24px; height: 1px; background: var(--accent-line); }
.fn-h1, .fn-h2, .fn-h3 { font-family: var(--font-display); font-weight: 560; letter-spacing: var(--track-display); color: var(--text); line-height: var(--lh-tight); text-wrap: balance; }
.fn-h1 { font-size: clamp(var(--fs-32), 5vw, var(--fs-60)); }
.fn-h2 { font-size: clamp(var(--fs-24), 3.4vw, var(--fs-44)); }
.fn-h3 { font-size: var(--fs-20); line-height: var(--lh-snug); }
.fn-h2 .gold, .fn-h1 .gold { background: none; -webkit-text-fill-color: currentColor; color: var(--accent); }
.fn-body { color: var(--text-2); }
.fn-muted { color: var(--muted); font-size: var(--fs-14); }
.fn-input { min-height: 48px; padding: 0 var(--sp-4); border-radius: var(--r-md); border: 1px solid var(--border); background: var(--surface);
  color: var(--text); font: 400 var(--fs-16)/1 var(--font-body); width: 100%; }
.fn-input:focus { outline: 3px solid color-mix(in srgb, var(--ring) 35%, transparent); border-color: var(--ring); }
.fn-form { display: flex; flex-direction: column; gap: var(--sp-3); }
.text-gold { color: var(--accent); }
.fn-footer { display: none; } /* replaced by .dsh-footer */
.fn-region-bar { background: var(--bg-soft); border-bottom: 1px solid var(--border); padding: 6px var(--sp-5); display: flex; justify-content: flex-end; gap: var(--sp-4);
  font-size: var(--fs-12); color: var(--muted); }
.fn-region-bar a { color: var(--muted); text-decoration: none; }
.fn-region-bar a.active, .fn-region-bar a:hover { color: var(--text); font-weight: 600; }
.fn-community-btn { border-radius: var(--r-md); }
.fn-cookie-banner { background: var(--surface); border-top: 1px solid var(--border); color: var(--text-2); }
.fn-cookie-banner p { color: var(--text-2); }
.fn-guarantee, .fn-order-bump, .fn-oto-teaser { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); }
/* exit-intent popup (retargeting.js builds it) */
.fn-ep-overlay { background: color-mix(in srgb, var(--ink) 70%, transparent); }
.fn-ep-box { background: var(--surface); color: var(--text); border: 1px solid var(--border); border-radius: var(--r-xl); box-shadow: var(--sh-3); }
.fn-ep-title { font-family: var(--font-display); color: var(--text); }
.fn-ep-body, .fn-ep-privacy { color: var(--muted); }
.fn-ep-close { color: var(--muted); }
.fn-ep-eyebrow { color: var(--accent); }
.fn-ep-submit { display: flex; align-items: center; justify-content: center; min-height: 52px; border-radius: var(--r-md); text-decoration: none;
  background: var(--cta); color: var(--cta-text); font: 600 var(--fs-16)/1 var(--font-body); }

/* ================= 2. LAYOUT, HEADER, FOOTER ================= */
.dsh-skip { position: absolute; left: -999px; top: 8px; background: var(--btn-dark); color: var(--btn-dark-text); padding: 10px 14px; border-radius: var(--r-sm); z-index: 100; }
.dsh-skip:focus { left: 8px; }
.dsh-header { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid var(--border); }
.dsh-header__in { display: flex; align-items: center; gap: var(--sp-5); min-height: 68px; }
.dsh-logo { display: flex; align-items: center; text-decoration: none; }
.dsh-logo img { height: 34px; width: auto; }
html[data-theme="clean"] .logo-noir, html[data-theme="noir"] .logo-clean { display: none; }
.dsh-nav { display: flex; align-items: center; gap: var(--sp-5); margin-left: auto; font-size: var(--fs-14); font-weight: 500; }
.dsh-nav a { text-decoration: none; color: var(--text-2); }
.dsh-nav a:hover { color: var(--text); }
.dsh-nav .dsh-btn { color: var(--btn-dark-text); }
.dsh-count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; margin-left: 4px; border-radius: 99px;
  background: var(--cta); color: var(--cta-text); font-size: 11px; font-weight: 700; }
.dsh-burger { display: none; margin-left: auto; }
.dsh-burger summary { list-style: none; cursor: pointer; min-height: 44px; display: grid; place-items: center; padding: 0 var(--sp-3); font-weight: 600; border: 1px solid var(--border); border-radius: var(--r-md); }
.dsh-burger summary::-webkit-details-marker { display: none; }
.dsh-burger nav { position: absolute; right: var(--sp-4); top: 64px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  box-shadow: var(--sh-3); padding: var(--sp-3); display: grid; gap: 2px; min-width: 200px; }
.dsh-burger nav a { padding: 12px 14px; border-radius: var(--r-sm); text-decoration: none; font-weight: 500; }
.dsh-burger nav a:hover { background: var(--surface-2); }
@media (max-width: 820px) { .dsh-nav { display: none; } .dsh-burger { display: block; } .dsh-header__in { gap: var(--sp-3); } }

.dsh-footer { background: var(--bg-soft); border-top: 1px solid var(--border); margin-top: var(--sp-9); padding: var(--sp-8) 0 var(--sp-6); font-size: var(--fs-14); color: var(--text-2); }
.dsh-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--sp-6); }
.dsh-footer h4 { font: 600 var(--fs-12)/1 var(--font-body); letter-spacing: var(--track-caps); text-transform: uppercase; color: var(--muted); margin: 0 0 var(--sp-3); }
.dsh-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.dsh-footer a { text-decoration: none; color: var(--text-2); }
.dsh-footer a:hover { color: var(--text); text-decoration: underline; }
.dsh-footer__legal { margin-top: var(--sp-6); padding-top: var(--sp-4); border-top: 1px solid var(--border); color: var(--muted); font-size: var(--fs-12); }
@media (max-width: 820px) { .dsh-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .dsh-footer__grid { grid-template-columns: 1fr; } }

/* ================= 3. HOME + SHOP ================= */
.dsh-hero { background: var(--bg); background-image: var(--hero-glow); padding: var(--sp-9) 0 var(--sp-8); }
.dsh-hero__in { display: grid; grid-template-columns: 1.05fr .95fr; gap: var(--sp-7); align-items: center; }
.dsh-hero .dsh-lead { margin-top: var(--sp-4); }
.dsh-hero__cta { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-6); }
.dsh-hero .dsh-trust { margin-top: var(--sp-5); }
.dsh-covers { position: relative; height: 440px; }
.dsh-covers img { position: absolute; width: 58%; border-radius: var(--r-lg); box-shadow: var(--sh-3); border: 1px solid var(--border); background: var(--ink); }
.dsh-covers img:nth-child(1) { left: 0; top: 40px; transform: rotate(-5deg); }
.dsh-covers img:nth-child(2) { left: 22%; top: 0; z-index: 2; transform: rotate(2deg); }
.dsh-covers img:nth-child(3) { right: 0; top: 70px; transform: rotate(6deg); }
@media (max-width: 820px) { .dsh-hero__in { grid-template-columns: 1fr; } .dsh-covers { height: 300px; } .dsh-hero { padding: var(--sp-8) 0 var(--sp-7); } }
.dsh-proof { border-block: 1px solid var(--border); background: var(--bg-soft); padding: var(--sp-5) 0; text-align: center; }
.dsh-proof p { margin: 0; }
.dsh-proof strong { font-family: var(--font-display); font-weight: 560; font-size: var(--fs-20); }
.dsh-sechead { margin-bottom: var(--sp-6); display: grid; gap: var(--sp-3); }
.dsh-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: var(--sp-5); }
.dsh-pcard { display: flex; flex-direction: column; gap: var(--sp-3); padding: var(--sp-3) var(--sp-3) var(--sp-5); }
.pcard__cover { display: block; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 4 / 5; background: var(--ink); }
.pcard__cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cover-fallback { width: 100%; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; gap: var(--sp-3); padding: var(--sp-5); color: #F7F5F0;
  background: linear-gradient(160deg, #1B1B22, #07070A); border: 1px solid color-mix(in srgb, var(--accent-line) 50%, transparent); border-radius: var(--r-md); }
.cover-fallback img { width: 34px; height: 34px; }
.cover-fallback b { font: 560 var(--fs-24)/1.1 var(--font-display); }
.pcard__body { display: grid; gap: var(--sp-2); padding: 0 var(--sp-2); flex: 1; align-content: start; }
.pcard__badges { display: flex; gap: 6px; flex-wrap: wrap; }
.pcard__body h3 { margin: 0; font: 600 var(--fs-18)/1.25 var(--font-body); }
.pcard__body h3 a { text-decoration: none; }
.pcard__body p { margin: 0; font-size: var(--fs-14); }
.pcard__price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-top: auto; padding-top: var(--sp-2); }
.pcard__price s { color: var(--muted); font-size: var(--fs-14); }
.pcard__actions { display: flex; gap: var(--sp-2); padding: 0 var(--sp-2); flex-wrap: wrap; }
.pcard__actions form { flex: 1; min-width: 120px; }
.pcard__actions .dsh-btn { width: 100%; }
.dsh-card--locked .pcard__cover { opacity: .78; filter: grayscale(.25); }
.dsh-notify { display: grid; gap: var(--sp-2); padding: 0 var(--sp-2); }
.dsh-notify .dsh-input { min-height: 44px; font-size: var(--fs-14); }
.dsh-check { display: flex; gap: 10px; align-items: flex-start; font-size: var(--fs-12); color: var(--text-2); line-height: 1.4; }
.dsh-check input { width: 18px; height: 18px; margin-top: 1px; flex: none; accent-color: var(--cta); }
.dsh-band { border: 1px solid var(--border); border-radius: var(--r-xl); background: var(--surface); box-shadow: var(--sh-2), var(--edge-light);
  padding: var(--sp-7); display: grid; grid-template-columns: 1.2fr .8fr; gap: var(--sp-6); align-items: center; }
.dsh-band img { width: 100%; max-width: 360px; justify-self: center; border-radius: var(--r-lg); }
@media (max-width: 820px) { .dsh-band { grid-template-columns: 1fr; padding: var(--sp-5); } }
.dsh-compare { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; background: var(--surface); }
.dsh-compare th, .dsh-compare td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; font-size: var(--fs-14); }
.dsh-compare th { font-weight: 600; background: var(--surface-2); }
.dsh-compare tr:last-child td { border-bottom: 0; }
.dsh-compare td:last-child { background: color-mix(in srgb, var(--ok) 6%, transparent); font-weight: 500; }
.dsh-two { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-5); }
@media (max-width: 720px) { .dsh-two { grid-template-columns: 1fr; } }
.dsh-list { list-style: none; margin: var(--sp-3) 0 0; padding: 0; display: grid; gap: 10px; font-size: var(--fs-14); color: var(--text-2); }
.dsh-list li { position: relative; padding-left: 26px; }
.dsh-list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 14px; height: 2px; background: var(--ok); }
.dsh-list--no li::before { background: var(--muted); }
.dsh-faq details { border-bottom: 1px solid var(--border); padding: var(--sp-4) 0; }
.dsh-faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: var(--sp-4); }
.dsh-faq summary::-webkit-details-marker { display: none; }
.dsh-faq summary::after { content: "+"; font-size: 1.3em; line-height: 1; color: var(--muted); }
.dsh-faq details[open] summary::after { content: "\2212"; }
.dsh-faq p { margin: var(--sp-3) 0 0; color: var(--text-2); }

/* ================= 4. SALES PAGE ================= */
.sales-hero { padding: var(--sp-8) 0 var(--sp-7); background-image: var(--hero-glow); }
.sales-hero__in { display: grid; grid-template-columns: 1.15fr .85fr; gap: var(--sp-7); align-items: center; }
.sales-hero__cover img { width: 100%; max-width: 420px; border-radius: var(--r-xl); box-shadow: var(--sh-3); border: 1px solid var(--border); background: var(--ink); justify-self: center; }
.sales-hero__cover { display: grid; }
.sales-hero .dsh-trust { margin-top: var(--sp-4); }
.sales-bullets { list-style: none; margin: var(--sp-5) 0 0; padding: 0; display: grid; gap: 10px; }
.sales-bullets li { position: relative; padding-left: 30px; color: var(--text-2); }
.sales-bullets li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--ok-fill)
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.4l2.6 2.6L13 6.6' fill='none' stroke='%232F9E62' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat; }
@media (max-width: 820px) { .sales-hero__in { grid-template-columns: 1fr; } .sales-hero__cover { order: -1; } .sales-hero__cover img { max-width: 260px; margin-inline: auto; } }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: var(--sp-4); counter-reset: s; }
.step { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: var(--sp-5); box-shadow: var(--sh-1), var(--edge-light); }
.step::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--btn-dark); color: var(--btn-dark-text); font-weight: 700; margin-bottom: var(--sp-3); }
.step h3 { margin: 0 0 4px; font: 600 var(--fs-16)/1.3 var(--font-body); }
.step p { margin: 0; font-size: var(--fs-14); color: var(--text-2); }
.lock-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.lock-list li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r-md); border: 1px solid var(--border); background: var(--surface); }
.lock-list li.locked { border-style: dashed; background: transparent; color: var(--text-2); }
.lock-list b { display: block; font-weight: 600; color: var(--text); }
.lock-list svg { flex: none; width: 18px; height: 18px; margin-top: 3px; color: var(--muted); }
.lock-list li:not(.locked) svg { color: var(--ok); }
.lock-list span { font-size: var(--fs-14); }
.price-box { max-width: 520px; margin-inline: auto; text-align: center; display: grid; gap: var(--sp-3); }
.rev { padding: var(--sp-5); border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface); }
.rev__stars { color: var(--accent); letter-spacing: 2px; }
.rev p { margin: var(--sp-2) 0; }
.founder { display: grid; grid-template-columns: 110px 1fr; gap: var(--sp-5); align-items: center; }
.founder img { width: 110px; height: 110px; border-radius: 50%; object-fit: cover; border: 1px solid var(--border); }
@media (max-width: 560px) { .founder { grid-template-columns: 1fr; } }
.dsh-sticky { transform: translateY(110%); transition: transform .25s var(--ease); position: fixed; left: 0; right: 0; bottom: 0; }
.dsh-sticky.visible { transform: none; }
.dsh-sticky .dsh-btn { flex: none; }
.dsh-sticky__lead { min-width: 0; }
.dsh-sticky__name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 560px) { .dsh-sticky__price { font-size: var(--fs-20); } .dsh-sticky .dsh-btn { padding: 0 var(--sp-4); min-height: 44px; } .dsh-sticky__name { max-width: 120px; } }
.early { border: 1px solid color-mix(in srgb, var(--accent-line) 60%, transparent); background: var(--accent-fill); color: var(--text); border-radius: var(--r-md); padding: 12px 16px; font-size: var(--fs-14); }

/* ================= 5. CART, LIBRARY, VAULT, AFFILIATE ================= */
.dsh-main { padding: var(--sp-7) 0 0; }
.cart-line { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); }
.lib-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: var(--sp-5); }
.lib-card { display: flex; flex-direction: column; gap: var(--sp-3); padding: var(--sp-3) var(--sp-3) var(--sp-4); }
.lib-card .pcard__cover { aspect-ratio: 4 / 3; }
.lib-card h3 { margin: 0; font: 600 var(--fs-16)/1.3 var(--font-body); }
.lib-card .meta { font-size: var(--fs-12); color: var(--muted); }
.lib-card > :not(.pcard__cover) { padding-inline: var(--sp-2); }
.progress { height: 6px; border-radius: 99px; background: var(--border); overflow: hidden; }
.progress i { display: block; height: 100%; background: var(--ok); }
.next-for-you { display: grid; grid-template-columns: 220px 1fr; gap: var(--sp-6); align-items: center; border-color: color-mix(in srgb, var(--accent-line) 60%, var(--border)); }
.next-for-you img { width: 100%; border-radius: var(--r-md); }
@media (max-width: 680px) { .next-for-you { grid-template-columns: 1fr; } .next-for-you img { max-width: 220px; } }
.thanks { background: var(--ok-fill); border: 1px solid color-mix(in srgb, var(--ok) 40%, transparent); border-radius: var(--r-lg); padding: var(--sp-5); }
.community { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-3); }
.community a { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 18px; border-radius: var(--r-md); color: #fff; font-weight: 600; text-decoration: none; }
.community .tg { background: #1F7FB8; } .community .wa { background: #1E8E4C; }
.vault-tiers { margin-top: var(--sp-8); }
.vault-tiers .dsh-tier__price { display: flex; align-items: baseline; gap: 8px; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: var(--sp-4); }
.stat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: var(--sp-4) var(--sp-5); box-shadow: var(--sh-1), var(--edge-light); }
.stat b { display: block; font: 600 var(--fs-32)/1.1 var(--font-display); font-variant-numeric: lining-nums; }
.stat span { font-size: var(--fs-12); color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.linkrow { display: flex; gap: var(--sp-3); align-items: center; padding: 12px 0; border-bottom: 1px solid var(--border); }
.linkrow b { min-width: 170px; font-weight: 600; font-size: var(--fs-14); }
.linkrow code { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: var(--fs-12); color: var(--text-2); background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--r-sm); padding: 8px 10px; }
@media (max-width: 640px) { .linkrow { flex-wrap: wrap; } .linkrow b { min-width: 100%; } }
.tbl { width: 100%; border-collapse: collapse; font-size: var(--fs-14); }
.tbl th, .tbl td { padding: 10px 12px; border-bottom: 1px solid var(--border); text-align: left; }
.tbl th { color: var(--muted); font-weight: 600; font-size: var(--fs-12); text-transform: uppercase; letter-spacing: .08em; }

/* ================= 6. GUIDES ================= */
.prose { max-width: 70ch; margin-inline: auto; font-size: var(--fs-18); line-height: 1.7; color: var(--text-2); }
.prose h2 { font: 560 var(--fs-32)/1.15 var(--font-display); color: var(--text); margin: var(--sp-7) 0 var(--sp-3); letter-spacing: var(--track-display); }
.prose p { margin: 0 0 var(--sp-4); }
.prose ul { padding-left: 1.2em; margin: 0 0 var(--sp-4); display: grid; gap: 8px; }
.prose .note { border-left: 3px solid var(--accent-line); background: var(--accent-fill); color: var(--text); padding: 12px 16px; border-radius: 0 var(--r-md) var(--r-md) 0; font-size: var(--fs-16); }
.authorbox { display: grid; grid-template-columns: 72px 1fr; gap: var(--sp-4); align-items: center; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface); padding: var(--sp-4) var(--sp-5); }
.authorbox img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.guide-card { text-decoration: none; display: grid; gap: var(--sp-2); }
.guide-card h3 { margin: 0; font: 560 var(--fs-20)/1.2 var(--font-display); }
.guide-card:hover { border-color: var(--border-strong); }
.crumbs { font-size: var(--fs-14); color: var(--muted); margin-bottom: var(--sp-4); }
.crumbs a { text-decoration: none; } .crumbs a:hover { text-decoration: underline; }

/* Phones: tokens.css keeps buttons on one line, so a long CTA label ("Coming soon: get the free starter kit and hear
   first") pushed the sales hero 30-155px past a 390px screen. Let labels wrap and grid columns shrink. */
@media (max-width: 600px) { .dsh-btn { white-space: normal; text-align: center; } }
.sales-hero__in > * { min-width: 0; }
/* Phones: a cart line (cover, name, price, Remove) was ~60px wider than a 390px screen. Let it wrap. */
.cart-line { flex-wrap: wrap; } .cart-line > :first-child { flex: 1 1 200px; }
