/* ==========================================================================
   Gold-design rebuild — loaded AFTER slu.css, only by the preview page
   (public/index-gold.html). This is a structural re-implementation of the
   supplied gold mockup, not a color pass: every selector below prefixed
   "g-" is new, invented for this page, and does not exist in slu.css, so
   it can never collide with or override the live cyan site's rules.

   What's intentionally NOT reinvented here, and instead just re-themed via
   the :root token overrides + a few targeted patches at the bottom: .nav /
   .promo-ticker / .settings-dialog / .dock / the hidden #order form and
   .pay payment tiles (already structurally identical to the mockup's
   payment cards — circular icon plinth, uppercase label, bold amount,
   selected-state glow, "Popular" tag — so only its 2 hardcoded-cyan spots
   needed patching, not a rebuild). Everything else (promo banners,
   calculator/unlocks panel chrome, order-summary rail, how-it-works, bots,
   artwork, guides, FAQ, footer) is rebuilt to the mockup's actual layout.
   ========================================================================== */

:root {
  --acc:        #F3D27A;
  --acc-deep:   #B98310;
  --acc-2:      #C97B3D;
  --gold:       #F6DA7C;
  --bg:         #05060A;
  --bg-2:       #0A0805;
  --font-display: 'Plus Jakarta Sans', var(--font-ui);

  --g-panel-bg:     linear-gradient(#0E1016, #08090D);
  --g-panel-border: linear-gradient(145deg, rgba(246,217,116,.5), rgba(255,255,255,.05) 40%, rgba(184,134,11,.32));
  --g-line:         #2A2412;
  --g-ink-dim:      #9AA2B4;
  --g-ink-faint:    #8B9AB0;
}

body { background: var(--bg); }

/* ---------- generic gold panel (replaces .card's glass look for the new sections) ---------- */
.g-panel {
  position: relative; border-radius: 22px; border: 1px solid transparent;
  background: var(--g-panel-bg) padding-box, var(--g-panel-border) border-box;
  box-shadow: 0 1px 0 rgba(255,255,255,.03) inset;
}
.g-lift { transition: transform .15s ease; }
.g-lift:hover { transform: translateY(-2px); }
.g-lbl { font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--g-ink-faint); }
.g-gold-text {
  background: linear-gradient(110deg, #B07A0E 0%, #F6DA7C 22%, #FFF6CB 38%, #E8B42E 58%, #B98310 78%, #F6D872 100%);
  background-size: 220% auto; -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent; animation: g-goldflow 7s linear infinite;
}
@keyframes g-goldflow { 0% { background-position: 0% 50%; } 100% { background-position: 220% 50%; } }

.g-btn-gold {
  position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border: none; cursor: pointer; text-decoration: none; font-weight: 700; font-family: var(--font-ui);
  background: linear-gradient(115deg, #B07A0E 0%, #F6DA7C 30%, #FFF3BE 45%, #E8B42E 65%, #B98310 100%);
  color: #1A1405; box-shadow: 0 10px 30px rgba(240,190,70,.28), inset 0 1px 0 rgba(255,255,255,.55);
}
.g-btn-gold::after {
  content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.7), transparent);
  transform: skewX(-20deg); animation: g-shine 4.5s ease-in-out infinite; pointer-events: none;
}
@keyframes g-shine { 0%, 55% { left: -60%; } 100% { left: 130%; } }
@media (prefers-reduced-motion: reduce) { .g-btn-gold::after, .g-gold-text { animation: none; } }
.g-btn-gold:hover { filter: brightness(1.07); }
.g-btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: #07080C; border: 1px solid #332D1C; color: #F1F5FA; text-decoration: none; font-weight: 600;
  border-radius: 999px; cursor: pointer; font-family: var(--font-ui);
}
.g-btn-ghost:hover { border-color: var(--acc); }

/* ---------- page shell ---------- */
.g-shell { max-width: 1240px; margin: 0 auto; padding: 0 24px; position: relative; }
/* Decorative dot-grid backdrop - scoped to the hero wrapper only (via
   .g-hero-bg), NOT every .g-shell. It was originally on .g-shell itself,
   which put a 900px-tall absolutely-positioned box behind every section
   on the page (~10 of them) and inflated the document's scrollable height
   by several hundred px of empty space past the real footer - fixed by
   scoping it to one element. */
.g-hero-bg { position: relative; }
.g-hero-bg::before {
  content: ""; position: absolute; left: 0; right: 0; top: -40px; height: 900px; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(246,217,116,.14) 1.4px, transparent 1.6px); background-size: 34px 34px;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 85%); mask-image: linear-gradient(to bottom, #000 0%, transparent 85%);
}

/* ---------- promo cards (replaces the video/3D banners with the mockup's flat cards) ---------- */
.g-promo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; padding-top: 110px; }
.g-promo-card { display: flex; flex-direction: column; overflow: hidden; text-decoration: none; color: #F1F5FA; position: relative; }
.g-promo-art { height: 108px; display: flex; align-items: center; justify-content: center; }
.g-promo-art--artworks { background: radial-gradient(ellipse at 15% 50%, rgba(240,190,70,.28), transparent 45%), radial-gradient(ellipse at 85% 50%, rgba(184,134,11,.30), transparent 45%), #0B0A07; }
.g-promo-art--tf2 { background: linear-gradient(120deg, #2A2210 0%, #14110A 55%, #1C160A 100%); gap: 18px; border-color: #5A4818; }
.g-promo-title { font-family: var(--font-display); font-size: 30px; font-weight: 800; line-height: 1.05; text-align: center; letter-spacing: -.01em; }
.g-promo-foot { padding: 14px 20px; border-top: 1px solid var(--g-line); display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 13px; color: #B5BCCB; letter-spacing: .04em; }
/* tf2crypto-banner-rate.js swaps the static caption for a live "Buy …
   Sell … in stock" line wrapped in its own <span id="tf2cBannerLabel">
   (a plain inline span, not flex) - once that text got long enough, its
   live-dot + text + trailing arrow svg would wrap, dropping the arrow to
   its own second row. Forcing it inline-flex + nowrap keeps everything
   on one line; if the live text is ever too long for the card it
   ellipsizes instead of wrapping - never a second row. */
.g-promo-foot > span,
.g-promo-foot #tf2cBannerLabel {
  display: inline-flex; align-items: center; gap: 6px;
  max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.g-promo-foot #tf2cBannerLabel svg { flex: none; }
.g-promo-foot .live-dot { flex: none; }
.g-coin-badge { width: 42px; height: 42px; border-radius: 50%; background: var(--acc); color: #1A1405; font-size: 22px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.g-new-pill { position: absolute; top: 12px; right: 14px; padding: 4px 10px; border-radius: 999px; background: linear-gradient(115deg,#B07A0E,#F6DA7C 45%,#E8B42E); color: #1C1303; font-size: 10px; font-weight: 800; letter-spacing: .12em; }

/* ---------- "all bots online" pill ---------- */
.g-eyebrow-row { padding: 24px 0 20px; }
.g-eyebrow-pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px; border-radius: 999px;
  border: 1px solid #6B5620; background: #17130A; color: var(--acc); font-size: 12px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
}
.g-live-dot { width: 8px; height: 8px; border-radius: 50%; background: #3DDC97; box-shadow: 0 0 10px #3DDC97; }

/* ---------- calculator ---------- */
.g-calc-grid { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; padding-bottom: 28px; }
.g-calc-main { flex: 1 1 620px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.g-panel-pad { padding: 26px 28px; display: flex; flex-direction: column; gap: 18px; }
.g-panel-title { margin: 0; font-family: var(--font-display); font-size: 18px; font-weight: 700; color: #F1F5FA; }

.g-level-row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px; }
.g-field { flex: 1 1 200px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.g-field input {
  height: 64px; box-sizing: border-box; width: 100%; padding: 0 20px; background: var(--bg);
  border: 1px solid #242018; border-radius: 16px; color: #fff; font-size: 26px; font-weight: 600; outline: none;
  font-family: var(--font-ui);
}
.g-field input:focus { border-color: var(--acc); }
.g-level-arrow { height: 64px; display: flex; align-items: center; color: var(--acc); }

.g-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.g-chip {
  min-height: 44px; padding: 0 22px; border-radius: 999px; background: #0A0B10; border: 1px solid #332D1C;
  color: #E6ECF5; font-size: 14px; font-weight: 600; cursor: pointer; font-family: var(--font-ui);
}
.g-chip:hover { border-color: var(--acc); }
.g-chip-reset { margin-left: auto; color: #B5BCCB; }

.g-pay-card .pay-grid.pay-grid { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 560px) { .g-pay-card .pay-grid.pay-grid { grid-template-columns: repeat(4, 1fr); } }
.g-pay-card .pay { border-radius: 16px; }
.g-pay-card .pay[aria-pressed="true"] .amt { color: #FFF3BE; }

.g-note { margin: 0; font-size: 13px; color: var(--g-ink-dim); }
.g-hint-box { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 14px; background: #17130A; border: 1px solid #5A4818; }
/* Without this, the browser's default "[hidden] -> display:none" loses to this class's own
   "display: flex" (an author rule always wins over the UA stylesheet, regardless of
   specificity) - so slu.js setting #paySigninHint.hidden = true once a customer is signed in
   (see the /auth/me handler) had no visible effect: the "Sign in with Steam to..." hint kept
   showing, right under the calculator, for people who were already signed in. */
.g-hint-box[hidden] { display: none; }
.g-hint-box svg { flex: none; margin-top: 2px; color: var(--acc); }
.g-hint-box p { margin: 0; font-size: 14px; line-height: 1.6; color: #B9C6D8; }
.g-hint-box strong { color: var(--acc); font-weight: 600; }

.g-unlock-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.g-unlock-item { background: #07080C; border: 1px solid var(--g-line); border-radius: 14px; padding: 14px; display: flex; gap: 12px; align-items: center; }
.g-unlock-ic { flex: none; width: 38px; height: 38px; border-radius: 10px; background: #17130A; border: 1px solid #5A4818; display: flex; align-items: center; justify-content: center; color: var(--acc); }
.g-unlock-v { font-size: 20px; font-weight: 700; line-height: 1.1; }
.g-unlock-v small { font-size: 12px; font-weight: 500; color: var(--g-ink-faint); }
.g-unlock-l { font-size: 12px; color: #B5BCCB; line-height: 1.3; display: block; }

/* ---------- order-summary rail ---------- */
.g-rail { flex: 1 1 360px; max-width: 420px; min-width: 0; box-sizing: border-box; padding: 28px; display: flex; flex-direction: column; gap: 22px; }
.g-badge-stage { display: flex; flex-direction: column; align-items: center; gap: 14px; }
/* No decorative ring any more - the real badge (steam-badge.css +
   slu.js's paintBadge()) already carries its own color/shape per level,
   so a static gold ring around it was redundant chrome. Removed per
   request; this wrapper now just centers the badge, slightly larger
   since it's no longer sized to fit inside a ring. */
.g-ring-wrap { position: relative; display: flex; align-items: center; justify-content: center; }
.g-ring-wrap .friendPlayerLevel { position: relative; --bs: 108px; }

.g-price-box {
  background: linear-gradient(135deg, #221B0B 0%, #14110A 60%, #1C160A 100%); border: 1px solid #5A4818;
  border-radius: 16px; padding: 20px 22px; display: flex; flex-direction: column; gap: 6px;
  box-shadow: inset 0 1px 0 rgba(255,236,170,.12);
}
.g-price-box .g-lbl { color: #E2CC8E; }
.g-price-box .g-amt { font-family: var(--font-display); font-size: 46px; font-weight: 800; line-height: 1.15; letter-spacing: -.02em; }
.g-price-box .g-sub { font-size: 14px; color: #B5BCCB; }

.g-stat-rows { display: flex; flex-direction: column; }
.g-stat-row { display: flex; justify-content: space-between; padding: 16px 0; font-size: 15px; color: #B5BCCB; }
.g-stat-row + .g-stat-row { border-top: 1px solid var(--g-line); }
.g-stat-row strong { font-weight: 700; }

.g-rail-cta-col { display: flex; flex-direction: column; gap: 12px; }
.g-rail .g-btn-gold { height: 58px; border-radius: 999px; font-size: 16px; width: 100%; }
.g-rail .g-btn-ghost { height: 54px; box-sizing: border-box; border-radius: 999px; font-size: 15px; width: 100%; }

/* "Or trade a bot directly" only makes sense for Gems/TF2 keys - the bots
   accept those two directly, not CS2 skins or crypto - so it's hidden
   whenever one of those two is the selected payment method. CSS-only
   (via :has()), page-scoped to this stylesheet, so slu.js and the live
   index.html's behavior are untouched. Browsers without :has() support
   just keep the link visible always (graceful no-op, not broken). */
.g-calc-grid:has(.pay[data-method="skins"][aria-pressed="true"]) #railAltLink,
.g-calc-grid:has(.pay[data-method="crypto"][aria-pressed="true"]) #railAltLink {
  display: none;
}

/* ---------- key-facts stat row ---------- */
.g-facts-row { display: flex; flex-wrap: wrap; gap: 28px 56px; padding: 40px 0 88px; border-top: 1px solid var(--g-line); margin-top: 32px; }
.g-fact { display: flex; flex-direction: column; gap: 6px; }
.g-fact strong { font-family: var(--font-display); font-size: 30px; font-weight: 800; letter-spacing: -.02em; }

/* ---------- section head ---------- */
.g-section { display: flex; flex-direction: column; gap: 40px; padding-bottom: 96px; }
.g-section-head { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.g-section-head h2 { margin: 0; font-family: var(--font-display); font-size: 40px; font-weight: 800; letter-spacing: -.02em; color: #F1F5FA; }
.g-section-head p { margin: 0; max-width: 560px; font-size: 16px; line-height: 1.65; color: var(--g-ink-dim); }

/* ---------- how it works ---------- */
.g-steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.g-step-card { border-radius: 18px; padding: 24px; display: flex; gap: 18px; align-items: flex-start; }
.g-step-num { flex: none; width: 46px; height: 46px; border-radius: 14px; font-family: var(--font-display); font-size: 20px; font-weight: 800; }
.g-step-card strong { font-size: 17px; font-weight: 700; display: block; margin-bottom: 6px; color: #F1F5FA; }
.g-step-card span.g-step-body { font-size: 14px; line-height: 1.6; color: var(--g-ink-dim); }

/* ---------- bots / tf2 crypto embed ---------- */
.g-tf2-embed {
  border-radius: 26px; overflow: hidden; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px;
  padding: 36px 40px;
  background: radial-gradient(circle at 85% 0%, rgba(243,210,122,.14), transparent 55%), var(--g-panel-bg) padding-box, var(--g-panel-border) border-box;
  border: 1px solid transparent;
}
.g-tf2-embed-copy { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.g-tf2-embed-copy h3 { margin: 0; font-family: var(--font-display); font-size: 28px; font-weight: 800; letter-spacing: -.02em; color: #F1F5FA; line-height: 1.2; }
.g-tf2-embed-copy p { margin: 0; font-size: 15px; line-height: 1.65; color: var(--g-ink-dim); max-width: 46ch; }
.g-tf2-badges { display: flex; flex-wrap: wrap; gap: 10px; }
.g-tf2-badge { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 999px; background: #17130A; border: 1px solid #5A4818; color: #E2CC8E; font-size: 12px; font-weight: 600; }
.g-tf2-badge svg { width: 14px; height: 14px; flex: none; }
.g-tf2-rate-panel { flex: 1 1 300px; min-width: 0; max-width: 360px; display: flex; flex-direction: column; gap: 16px; }
.g-rate-capsule { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 18px; border-radius: 14px; background: #0A0B10; border: 1px solid #332D1C; }
.g-rate-stat { display: flex; flex-direction: column; gap: 2px; text-align: center; }
.g-rate-val { font-family: var(--font-display); font-size: 17px; font-weight: 800; color: var(--acc); }
.g-rate-lbl { font-size: 10px; color: var(--g-ink-faint); letter-spacing: .06em; text-transform: uppercase; }
.g-rate-dot { width: 7px; height: 7px; border-radius: 50%; background: #3DDC97; box-shadow: 0 0 8px #3DDC97; flex: none; }
.g-tf2-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.g-tf2-actions .g-btn-ghost, .g-tf2-actions .g-btn-gold { flex: 1 1 150px; height: 48px; font-size: 14px; padding: 0 18px; }

.g-bots-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.g-bot-card { padding: 24px; display: flex; flex-direction: column; gap: 12px; text-decoration: none; color: #F1F5FA; }
.g-bot-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.g-bot-icon { width: 46px; height: 46px; border-radius: 14px; background: #17130A; border: 1px solid #5A4818; display: flex; align-items: center; justify-content: center; color: var(--acc); }
.g-bot-online { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600; color: #3DDC97; }
.g-bot-online .g-live-dot { width: 7px; height: 7px; }
.g-bot-card h3 { margin: 0; font-size: 18px; font-weight: 700; }
.g-bot-role { align-self: flex-start; padding: 4px 12px; border-radius: 999px; background: #17130A; border: 1px solid #5A4818; color: #E2CC8E; font-size: 12px; font-weight: 600; }
.g-bot-card p { margin: 0; font-size: 13px; line-height: 1.55; color: var(--g-ink-dim); flex: 1 0 auto; }
.g-bot-card .g-btn-ghost { align-self: flex-start; height: 40px; padding: 0 16px; font-size: 13px; margin-top: 4px; }

.g-accepts-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px; padding: 18px; border-radius: 14px; background: #0A0B10; border: 1px solid #332D1C; font-size: 13px; color: var(--g-ink-dim); }
.g-accepts-band img { height: 20px; width: auto; }

/* ---------- standalone TF2 crypto CTA ---------- */
.g-crypto-cta {
  border-radius: 26px; padding: 44px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px;
  background: radial-gradient(ellipse at 0% 0%, rgba(240,190,70,.16) 0%, transparent 55%), var(--g-panel-bg) padding-box, var(--g-panel-border) border-box;
  border: 1px solid transparent; margin-bottom: 96px;
}
.g-crypto-cta-copy { display: flex; flex-direction: column; gap: 12px; max-width: 560px; }
.g-crypto-cta-copy h2 { margin: 0; font-family: var(--font-display); font-size: 34px; font-weight: 800; letter-spacing: -.02em; color: #F1F5FA; }
.g-crypto-cta-copy p { margin: 0; font-size: 15px; line-height: 1.65; color: var(--g-ink-dim); }
.g-crypto-cta .g-btn-gold { padding: 0 32px; min-height: 56px; }

/* ---------- guides ---------- */
.g-guides-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.g-guide-card { border-radius: 18px; padding: 24px; display: flex; flex-direction: column; gap: 14px; text-decoration: none; color: #F1F5FA; }
.g-guide-ic { width: 42px; height: 42px; border-radius: 12px; background: #17130A; border: 1px solid #5A4818; display: flex; align-items: center; justify-content: center; color: var(--acc); }
.g-guide-card strong { font-size: 17px; font-weight: 700; }
.g-guide-read { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--acc); }

/* ---------- artwork (text-left, real video-right) ---------- */
.g-artwork-split { display: flex; flex-wrap: wrap; align-items: center; gap: 40px; padding-bottom: 96px; }
.g-artwork-copy { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.g-artwork-copy h2 { margin: 0; font-family: var(--font-display); font-size: 40px; font-weight: 800; line-height: 1.12; letter-spacing: -.02em; color: #F1F5FA; }
.g-artwork-copy p { margin: 0; font-size: 16px; line-height: 1.7; color: var(--g-ink-dim); }
.g-artwork-media { flex: 1 1 420px; min-width: 0; border-radius: 22px; overflow: hidden; aspect-ratio: 16 / 10; position: relative; }
.g-artwork-media video { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- need help (folds the old #contact block in compactly) ---------- */
.g-help-row { display: flex; flex-wrap: wrap; gap: 18px; }
.g-help-card { flex: 1 1 260px; padding: 22px 24px; display: flex; flex-direction: column; gap: 10px; }
.g-help-card h3 { margin: 0; font-size: 15px; font-weight: 700; color: #F1F5FA; }
.g-help-card p { margin: 0; font-size: 13px; line-height: 1.6; color: var(--g-ink-dim); }
.g-help-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.g-help-actions a { height: 38px; padding: 0 16px; font-size: 13px; }

/* ---------- FAQ (reuses the real <details>/<summary>, restyled) ---------- */
.g-faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 820px; margin: 0 auto; width: 100%; }
.g-faq-item { border-radius: 16px; overflow: hidden; }
.g-faq-item summary {
  list-style: none; cursor: pointer; width: 100%; min-height: 62px; display: flex; align-items: center;
  justify-content: space-between; gap: 16px; padding: 0 24px; color: #F1F5FA; font-size: 16px; font-weight: 600;
}
.g-faq-item summary::-webkit-details-marker { display: none; }
.g-faq-item summary::after {
  content: ""; flex: none; width: 18px; height: 18px; margin-left: 12px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F3D27A' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .15s ease;
}
.g-faq-item[open] summary::after { transform: rotate(180deg); }
.g-faq-item .g-faq-a { margin: 0; padding: 0 24px 22px; font-size: 15px; line-height: 1.65; color: var(--g-ink-dim); }
.g-faq-item .g-faq-a a { color: var(--acc); }

/* ---------- footer ---------- */
.g-footer { border-top: 1px solid var(--g-line); padding: 40px 0 48px; display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; }
.g-footer-brand { flex: 1 1 260px; max-width: 340px; display: flex; flex-direction: column; gap: 12px; }
.g-footer-brand p { margin: 0; font-size: 14px; line-height: 1.65; color: var(--g-ink-faint); }
.g-footer-cols { display: flex; flex-wrap: wrap; gap: 56px; }
.g-footer-col { display: flex; flex-direction: column; gap: 10px; }
.g-footer-col a, .g-footer-col span { color: #C4CEDC; font-size: 14px; text-decoration: none; }
.g-footer-col a:hover { color: var(--acc); }
.g-footer-colophon { font-size: 13px; color: var(--g-ink-faint); }
.g-socials { display: flex; gap: 10px; margin-top: 4px; }
.g-socials a { width: 36px; height: 36px; border-radius: 50%; background: #0A0B10; border: 1px solid #332D1C; display: flex; align-items: center; justify-content: center; color: #C4CEDC; }
.g-socials a:hover { border-color: var(--acc); color: var(--acc); }
.g-socials svg { width: 17px; height: 17px; }

@media (max-width: 760px) {
  /* The two promo banner cards are a desktop/tablet convenience - on a phone
     they just push the actual calculator (what people come here to use)
     further down the page, so they're hidden entirely below this
     breakpoint. .g-promo-grid carried the hero's own nav-clearance
     padding-top (it's always the first element inside .g-hero-bg, see that
     selector's own comment) - moved onto the eyebrow row below it (now the
     first visible element on a phone) so content doesn't start out hidden
     behind the fixed nav once the banners are gone. */
  .g-promo-grid { display: none; }
  .g-promo-grid + .g-eyebrow-row { padding-top: 96px; }

  /* The calculator's result (badge/price/order button, .g-rail) was
     stacking as the very LAST thing on a phone - after "Set your levels",
     "Choose how you pay" AND the whole "What this level unlocks" list - so
     a customer had to scroll past a full benefits list just to see their
     own number. Moved so the result lands right after "Choose how you
     pay" (3rd), with "What this level unlocks" pushed after it (4th).
     .g-calc-main is only a layout wrapper (desktop's left column) with no
     content of its own - dissolving it with display:contents promotes its
     three cards to be direct flex items of .g-calc-grid alongside .g-rail,
     so all four can be given an explicit order here. Desktop's own
     two-column layout (built on .g-calc-main/.g-rail as flex children) is
     untouched outside this narrow-viewport block. */
  .g-calc-main { display: contents; }
  .g-levels-card, .g-pay-card, #unlocks, .g-rail { flex: 1 1 100%; max-width: none; }
  .g-levels-card { order: 1; }
  .g-pay-card { order: 2; }
  .g-rail { order: 3; }
  #unlocks { order: 4; }

  .g-price-box .g-amt { font-size: 36px; }
  .g-section-head h2 { font-size: 30px; }
}

/* ==========================================================================
   Re-theme of the pieces we deliberately did NOT rebuild (nav, ticker,
   dialogs, dock, hidden order form) — same patches as before, kept because
   those elements still run on slu.css's own rules.
   ========================================================================== */
.aurora {
  background:
    radial-gradient(90vw 60vh at 50% -18%, rgba(246, 217, 116, .08), transparent 62%),
    linear-gradient(180deg, #0b0a06, var(--bg) 42%, #040304);
}
@keyframes navTf2cGlow {
  0%, 100% { box-shadow: 0 0 0 rgba(246, 217, 116, 0); }
  50%      { box-shadow: 0 0 14px rgba(246, 217, 116, .55); }
}
.badge-stage::before { background: radial-gradient(circle, rgba(246, 217, 116, .16), transparent 66%); }
.price-box { background: linear-gradient(180deg, rgba(246, 217, 116, .09), rgba(0, 0, 0, .3)); }
.callout { background: rgba(246, 217, 116, .07); }
.settings-dialog {
  background:
    radial-gradient(640px circle at 50% -10%, rgba(246, 217, 116, .08), transparent 55%),
    linear-gradient(180deg, #14110A, #0A0906);
}
.promo-ticker {
  top: 0;
  background: linear-gradient(90deg, #0E0C07, #17130A, #0E0C07);
  border-bottom-color: rgba(243, 210, 122, .14);
}
.nav { top: var(--ticker-h); }
/* slu.css's .nav.is-stuck hardcodes rgba(5, 7, 13, .72) - the old cyan-era
   near-black-blue - instead of using the warm gold palette, so once you
   scroll past 12px (JS adds .is-stuck, see slu.js) the nav strip visibly
   reverted to a cooler, bluer tint than the rest of the page. Same warm
   black as .promo-ticker's #0E0C07, same alpha/blur, just re-themed. */
.nav.is-stuck { background: rgba(14, 12, 7, .72); }
.dash-header + .promo-ticker { top: auto; }
.btn-primary {
  position: relative; overflow: hidden;
  background: linear-gradient(115deg, #B07A0E 0%, #F6DA7C 30%, #FFF3BE 45%, #E8B42E 65%, #B98310 100%);
  color: #1A1405;
  box-shadow: 0 10px 30px rgba(240, 190, 70, .28), inset 0 1px 0 rgba(255, 255, 255, .55);
}
.btn-primary::after {
  content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .7), transparent);
  transform: skewX(-20deg); animation: gold-shine 4.5s ease-in-out infinite; pointer-events: none;
}
/* slu.css's own .btn-primary:hover hardcodes the old signature cyan
   (#5aeeff) instead of using var(--acc) - that's the "icons/buttons turn
   cyan on hover" bug. Overriding it here with a brighter gold instead of
   letting that rule win on equal specificity. */
.btn-primary:hover {
  background: linear-gradient(115deg, #C98F18 0%, #FBE59A 30%, #FFFBE6 45%, #F0C33E 65%, #C8941A 100%);
  color: #1A1405; border-color: transparent;
  box-shadow: 0 10px 30px rgba(240, 190, 70, .4), inset 0 1px 0 rgba(255, 255, 255, .6);
}
.prose .btn-primary, .prose .btn-primary:hover { color: #1A1405; }
@keyframes gold-shine { 0%, 55% { left: -60%; } 100% { left: 130%; } }
@media (prefers-reduced-motion: reduce) { .btn-primary::after { animation: none; } }

/* ---------- guide pages reusing the promo-grid hero ---------- */
/* On the homepage the promo-grid hero is the very first thing in <main>, so
   its own 110px top padding is what clears the fixed nav/ticker. Guide pages
   (BLOGS.html + each individual guide) reuse this same hero, but their own
   .page-head section ALSO adds a full var(--nav-h) of top padding (it's
   normally the first element on those pages) - stacked after an already-
   nav-height-cleared hero that doubles into a large empty gap. Trim
   .page-head back to just its breathing-room padding when it directly
   follows the hero. */
.g-hero-bg + .page-head { padding-top: clamp(2rem, 6vw, 3.6rem); }
