/*
 * Local Gorilla component and section layout.
 * Consumes theme.css tokens only. No raw brand values in this file.
 * Mobile-first: base rules target 360px and up; wider screens layer on via min-width queries.
 */

/* ---------- Reset and base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--surface-1);
  color: var(--text-hi);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
  border-radius: var(--radius-s);
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: var(--weight-display);
  letter-spacing: var(--track-display);
  line-height: var(--lh-heading);
  margin: 0 0 var(--sp-4);
  text-wrap: balance;
}

p { margin: 0 0 var(--sp-4); max-width: var(--measure); }

ul { margin: 0; padding: 0; list-style: none; }

.wrap {
  width: 100%;
  max-width: var(--page-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

section { padding-block: var(--sp-8); }

.kicker {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: var(--track-caps);
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--sp-3);
}

.section-heading { font-size: var(--fs-h2); text-transform: uppercase; }
.section-sub { color: var(--text-mid); font-size: var(--fs-body); }

/* Screen-reader only */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Skip link */
.skip-link {
  position: absolute; left: var(--sp-4); top: -4rem;
  z-index: calc(var(--z-nav) + 1);
  background: var(--gold); color: var(--text-on-gold);
  padding: var(--sp-2) var(--sp-4); border-radius: var(--radius-s);
  transition: top var(--dur-fast) var(--ease-out);
}
.skip-link:focus { top: var(--sp-3); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  min-height: 48px;
  padding: var(--sp-3) var(--sp-5);
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-weight: var(--weight-heavy);
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out),
              background-color var(--dur-fast) var(--ease-out);
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }

.btn-primary {
  background: var(--gold-grad);
  color: var(--text-on-gold);
  box-shadow: var(--shadow-gold);
}
.btn-primary:hover { box-shadow: var(--shadow-gold), 0 0 0 1px var(--edge-strong); }

.btn-ghost {
  background: transparent;
  color: var(--cream);
  border-color: var(--edge-strong);
}
.btn-ghost:hover { background: var(--state-good-bg); }

.btn[aria-disabled="true"] { cursor: default; }
.btn[aria-disabled="true"]:hover { transform: none; }

/* ---------- Nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: var(--z-nav);
  background: color-mix(in srgb, var(--surface-0) 88%, transparent);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--edge);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  min-height: 64px;
  max-width: var(--page-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.nav-brand { display: inline-flex; align-items: center; flex-shrink: 0; }
/* The wordmark asset is a square canvas; the mark itself sits in a wide middle band
   (x 8..91%, y 39..59% of the file). object-fit crops to that band without touching the asset. */
.nav-brand img {
  width: 184px;
  height: 44px;
  object-fit: cover;
  object-position: 50% 48%;
}

.nav-links {
  display: none;
  align-items: center;
  gap: var(--sp-5);
}
.nav-links a {
  color: var(--text-mid);
  font-family: var(--font-display);
  font-weight: var(--weight-heavy);
  font-size: var(--fs-small);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.nav-links a:hover { color: var(--gold); text-decoration: none; }
.nav-links .btn { min-height: 40px; padding-block: var(--sp-2); }

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 48px;
  height: 48px;
  padding: 12px;
  background: transparent;
  border: 1px solid var(--edge);
  border-radius: var(--radius-s);
  cursor: pointer;
}
.nav-toggle .bar {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--gold);
  border-radius: 2px;
  transition: transform var(--dur-fast) var(--ease-out), opacity var(--dur-fast) var(--ease-out);
}
.nav-toggle[aria-expanded="true"] .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: var(--sp-2);
  padding: var(--sp-4) var(--gutter) var(--sp-5);
  background: var(--surface-0);
  border-bottom: 1px solid var(--edge);
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  color: var(--text-hi);
  font-family: var(--font-display);
  font-weight: var(--weight-heavy);
  font-size: 1.15rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: var(--sp-3) var(--sp-2);
  border-bottom: 1px solid var(--edge);
}
.nav-mobile a:hover { color: var(--gold); text-decoration: none; }
.nav-mobile .btn { margin-top: var(--sp-3); border-bottom: none; }

@media (min-width: 860px) {
  .nav-links { display: inline-flex; }
  .nav-toggle { display: none; }
  .nav-mobile { display: none !important; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 92svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding-block: 0;
  background: var(--surface-0);
}

.hero-art {
  position: absolute;
  inset: 0;
  z-index: var(--z-hero-art);
}
.hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.hero-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, var(--surface-1) 0%, var(--veil) 34%, rgba(18, 18, 18, 0.15) 62%, rgba(18, 18, 18, 0.35) 100%);
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: var(--z-hero-particles);
  pointer-events: none;
  overflow: hidden;
}
.hero-particles .mote {
  position: absolute;
  bottom: -4px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0;
  animation: mote-rise linear infinite;
}
/* Some motes are stray bits of the data stream: single binary digits in the machine voice. */
.hero-particles .mote-bit {
  background: transparent;
  border-radius: 0;
  color: var(--gold);
  font-family: var(--font-mono);
  line-height: 1;
}
@keyframes mote-rise {
  0%   { transform: translateY(0); opacity: 0; }
  8%   { opacity: var(--mote-peak, 0.55); }
  85%  { opacity: var(--mote-peak, 0.55); }
  100% { transform: translateY(-105vh); opacity: 0; }
}

.hero-inner {
  position: relative;
  z-index: var(--z-hero-fg);
  width: 100%;
  max-width: var(--page-max);
  margin-inline: auto;
  padding: var(--sp-9) var(--gutter) var(--sp-8);
}

/* The one place the hand-drawn brand voice speaks at full size.
   No idle animation: the immovable gorilla does not pulse. */
.hero-heading {
  font-family: var(--font-brand);
  font-weight: 400;
  font-size: var(--fs-hero);
  line-height: var(--lh-tight);
  letter-spacing: var(--track-brand);
  text-transform: uppercase;
  margin-bottom: var(--sp-4);
  background: var(--gold-grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 4px 22px rgba(0, 0, 0, 0.8));
  max-width: 14ch;
}

.hero-sub {
  color: var(--text-hi);
  font-size: clamp(1.02rem, 2.4vw, 1.25rem);
  max-width: 46ch;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.85);
}

.hero-tagline {
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: var(--track-caps);
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--sp-3);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-top: var(--sp-6);
}

/* ---------- Reveal (motion.js toggles .in) ---------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
}
[data-reveal].in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .hero-particles { display: none; }
  .btn, .btn:hover { transition: none; transform: none; }
}

/* ---------- Pillars ---------- */

.pillars { background: var(--surface-1); }

.pillar-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-5);
  margin-top: var(--sp-6);
}

.pillar {
  position: relative;
  background: var(--surface-2);
  border: 1px solid var(--edge);
  border-radius: var(--radius-l);
  padding: var(--sp-6) var(--sp-5);
  box-shadow: var(--shadow-card);
}
.pillar::before {
  content: "";
  display: block;
  width: 44px;
  height: 4px;
  border-radius: 2px;
  background: var(--gold-grad);
  margin-bottom: var(--sp-4);
}
/* The three pillars are parallel values, not a sequence: no numbering.
   The gold bar above each title is the only marker. */
.pillar h3 { font-size: var(--fs-h3); text-transform: uppercase; color: var(--gold); }
.pillar p { color: var(--text-mid); margin-bottom: 0; }

@media (min-width: 860px) {
  .pillar-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Enemy (extraction explainer) ----------
   The one cold section on the page: the extractive world in desaturated slate.
   Everything around it stays warm. The gold-barred note is the way back out. */

.enemy {
  position: relative;
  background: linear-gradient(180deg, var(--cold-deep) 0%, var(--cold) 78%, var(--cold-deep) 100%);
  border-block: 1px solid var(--cold-edge);
  overflow: hidden;
}
.enemy::before {
  /* faint scanline texture, the surveillance backdrop */
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 3px,
    rgba(185, 197, 211, 0.022) 3px,
    rgba(185, 197, 211, 0.022) 4px
  );
  pointer-events: none;
}
.enemy .wrap { position: relative; }
.enemy .section-heading { color: var(--cold-text); }
.enemy-body { color: var(--cold-text); font-size: clamp(1.05rem, 2.2vw, 1.3rem); max-width: 56ch; }
.enemy-note {
  display: inline-block;
  margin-top: var(--sp-4);
  padding: var(--sp-4) var(--sp-5);
  border-left: 3px solid var(--gold);
  background: rgba(18, 18, 18, 0.38);
  border-radius: 0 var(--radius-m) var(--radius-m) 0;
  color: var(--text-hi);
  font-family: var(--font-mono);
  font-size: var(--fs-small);
  max-width: var(--measure);
}

/* ---------- Ranking board ----------
   The board is the machine readout: everything in it speaks mono.
   Local Gorilla rows sit warm gold; every other row sits in the cold register. */

.ranking { background: var(--surface-1); }

/* Positioned frame so the one-shot scan line can sweep the whole board on reveal. */
/* the ranking board carries more columns, so let it use more width than the text wrap */
.ranking .wrap { max-width: 1220px; }
.board-frame { position: relative; margin-top: var(--sp-6); }
.board-frame::after {
  content: "";
  position: absolute;
  top: 0;
  left: 1px;
  right: 1px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--gold) 30%, var(--cream) 50%, var(--gold) 70%, transparent 100%);
  box-shadow: 0 0 18px 2px var(--state-good-bg);
  opacity: 0;
  pointer-events: none;
}
.board-frame.in::after {
  animation: board-scan var(--dur-scan) var(--ease-out) 250ms 1 forwards;
}
@keyframes board-scan {
  0%   { top: 0; opacity: 0; }
  10%  { opacity: 0.9; }
  85%  { opacity: 0.9; }
  100% { top: calc(100% - 3px); opacity: 0; }
}

.board-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--edge);
  border-radius: var(--radius-l);
  background: var(--surface-2);
  box-shadow: var(--shadow-card);
}

.board {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  font-family: var(--font-mono);
  font-size: var(--fs-small);
}

.board caption { text-align: left; }

.board thead th {
  position: sticky;
  top: 0;
  background: var(--surface-3);
  border-bottom: 1px solid var(--edge-strong);
  padding: 0;
  text-align: left;
  white-space: nowrap;
}

.board th.sortable button {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  width: 100%;
  padding: var(--sp-3);
  background: transparent;
  border: 0;
  color: var(--text-mid);
  font-family: var(--font-mono);
  font-weight: var(--weight-heavy);
  font-size: var(--fs-micro);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}
.board th.sortable button:hover { color: var(--gold); }
.board th.sortable button:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring) inset;
  border-radius: var(--radius-s);
}
.board th[aria-sort="ascending"] button,
.board th[aria-sort="descending"] button { color: var(--gold); }

.sort-arrow { opacity: 0.4; font-size: 0.7rem; transition: transform var(--dur-fast) var(--ease-out); }
.board th[aria-sort="ascending"] .sort-arrow { opacity: 1; transform: rotate(180deg); }
.board th[aria-sort="descending"] .sort-arrow { opacity: 1; }

.board tbody td {
  padding: var(--sp-3);
  border-bottom: 1px solid var(--edge);
  vertical-align: middle;
}
.board tbody tr:last-child td { border-bottom: 0; }

/* Cold register: every row that is not ours sits in the slate wash. */
.board tbody tr { background: var(--cold-row); }
.board .company-cell { min-width: 130px; }
.board .company-name { font-weight: var(--weight-heavy); color: var(--cold-text); display: block; }
.board .company-note { color: var(--cold-text-low); font-size: var(--fs-micro); display: block; max-width: 22ch; }

/* Warm register: Local Gorilla rows. */
.board tr.ours { background: var(--ours-row); box-shadow: inset 3px 0 0 var(--gold); }
.board tr.ours .company-name { color: var(--gold); }
.board tr.ours .company-note { color: var(--text-low); }

.company-brand {
  display: inline-block;
  margin-left: var(--sp-2);
  padding: 1px var(--sp-2);
  border: 1px solid var(--edge);
  border-radius: var(--radius-pill);
  color: var(--gold);
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  vertical-align: middle;
  white-space: nowrap;
}

.glyph {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-weight: var(--weight-heavy);
  font-size: 0.85rem;
}
.glyph-good { color: var(--state-good); background: var(--state-good-bg); }
.glyph-bad { color: var(--state-bad); background: var(--state-bad-bg); }

/* Pricing model as a mono fact chip. Cold by default, warm on ours rows. */
.label-chip {
  display: inline-block;
  padding: var(--sp-1) var(--sp-3);
  border: 1px solid var(--cold-edge);
  border-radius: var(--radius-s);
  color: var(--cold-text);
  font-size: var(--fs-micro);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: normal;
}
.board tr.ours .label-chip {
  border-color: var(--edge-strong);
  background: var(--state-good-bg);
  color: var(--gold);
}

.source-cell { white-space: nowrap; font-size: var(--fs-micro); }
.source-cell a { color: var(--text-mid); text-decoration: underline; text-underline-offset: 3px; }
.source-cell a:hover { color: var(--gold); }
.asof { display: block; color: var(--text-faint); margin-top: 2px; }

/* FLIP sort transition hook (motion.js applies transforms) */
.board tbody tr { transition: none; }
.board tbody tr.flip { transition: transform var(--dur-med) var(--ease-out); }
@media (prefers-reduced-motion: reduce) {
  .board tbody tr.flip { transition: none; }
  .board-frame::after { animation: none; display: none; }
}

.methodology {
  margin-top: var(--sp-6);
  background: var(--surface-2);
  border: 1px solid var(--edge);
  border-radius: var(--radius-l);
  padding: var(--sp-6) var(--sp-5);
}
.methodology h3 { font-size: var(--fs-h3); text-transform: uppercase; color: var(--gold); }
.methodology p { color: var(--text-mid); }
.criteria-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-2);
  margin-top: var(--sp-4);
}
.criteria-list li {
  display: flex;
  align-items: baseline;
  gap: var(--sp-3);
  color: var(--text-mid);
  font-size: var(--fs-small);
}
.criteria-list .crit-key {
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.corrections { margin-top: var(--sp-4); color: var(--text-low); font-size: var(--fs-small); }

@media (min-width: 860px) {
  .criteria-list { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Store ---------- */

.store { background: var(--surface-0); border-top: 1px solid var(--edge); }

/* The second and last brand-voice moment on the page. */
.store > .wrap .section-heading {
  font-family: var(--font-brand);
  font-weight: 400;
  letter-spacing: var(--track-brand);
}

.offer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-5);
  margin-top: var(--sp-6);
}

.offer {
  display: flex;
  flex-direction: column;
  background: var(--surface-2);
  border: 1px solid var(--edge);
  border-radius: var(--radius-l);
  padding: var(--sp-6) var(--sp-5);
  box-shadow: var(--shadow-card);
  transition: border-color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.offer:hover { border-color: var(--edge-strong); transform: translateY(-3px); }
@media (prefers-reduced-motion: reduce) {
  .offer:hover { transform: none; }
}

.offer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  margin-bottom: var(--sp-3);
}
.offer .kicker { margin-bottom: 0; }

.badge {
  display: inline-block;
  padding: 3px var(--sp-3);
  border-radius: var(--radius-pill);
  background: var(--state-good-bg);
  border: 1px solid var(--edge);
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.offer h3 {
  font-size: 1.7rem;
  margin-bottom: var(--sp-2);
  color: var(--text-hi);
}
.offer-family { color: var(--text-faint); font-family: var(--font-mono); font-size: var(--fs-micro); text-transform: uppercase; letter-spacing: var(--track-caps); margin-bottom: var(--sp-3); }
.offer-promise { color: var(--text-mid); }

.includes { margin: var(--sp-4) 0; flex-grow: 1; }
.includes li {
  position: relative;
  padding-left: var(--sp-5);
  margin-bottom: var(--sp-2);
  color: var(--text-mid);
  font-size: var(--fs-small);
}
.includes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: var(--gold-grad);
}

.offer-platform { color: var(--text-faint); font-family: var(--font-mono); font-size: var(--fs-micro); margin-bottom: var(--sp-4); }

/* Prices speak in the machine voice: a stated fact, not a sales flourish. */
.price-block {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-bottom: var(--sp-4);
}
.price {
  font-family: var(--font-mono);
  font-weight: var(--weight-heavy);
  font-size: 1.9rem;
  letter-spacing: -0.02em;
  color: var(--gold);
  line-height: 1;
}
.price-sub { color: var(--text-low); font-family: var(--font-mono); font-size: var(--fs-small); }
.price-tbc {
  padding: 2px var(--sp-3);
  border: 1px dashed var(--edge-strong);
  border-radius: var(--radius-pill);
  color: var(--text-low);
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.price-note {
  margin-top: var(--sp-2);
  display: inline-block;
  padding: 2px var(--sp-3);
  border-radius: var(--radius-pill);
  background: rgba(241, 195, 78, 0.12);
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: 0.03em;
}

.offer-ctas { display: flex; flex-wrap: wrap; gap: var(--sp-3); }
.offer-ctas .btn { flex: 1 1 auto; }

.pro-line {
  display: block;
  margin-top: var(--sp-4);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--edge);
  color: var(--text-mid);
  font-size: var(--fs-small);
}
.pro-line strong { color: var(--gold); font-family: var(--font-mono); }
a.pro-line:hover { text-decoration: none; color: var(--text-hi); }
/* buy-outright sits directly under the Pro line, no second divider */
.buyout-line { margin-top: var(--sp-2); padding-top: 0; border-top: none; }
/* push each card's price cluster to the bottom so prices align across the row (tidies short cards) */
.offer .price-block { margin-top: auto; }

/* prices do not move: the fixed-for-life promise band */
.price-promise {
  margin-top: var(--sp-6);
  padding: var(--sp-6);
  border: 1px solid var(--edge);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius-m);
  background: var(--surface-2);
}
.price-promise h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: var(--track-caps);
  color: var(--gold);
  font-size: var(--fs-h3);
  margin-bottom: var(--sp-3);
}
.price-promise p { color: var(--text-mid); max-width: var(--measure); margin-bottom: 0; }

@media (min-width: 700px) {
  .offer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1080px) {
  .offer-grid { grid-template-columns: repeat(3, 1fr); }
  .offer.offer-native { grid-column: span 1; }
}

/* Bundle */
.bundle {
  margin-top: var(--sp-6);
  position: relative;
  border-radius: var(--radius-l);
  padding: var(--sp-7) var(--sp-5);
  background:
    linear-gradient(150deg, rgba(241, 195, 78, 0.14) 0%, rgba(138, 90, 18, 0.10) 55%, transparent 100%),
    var(--surface-2);
  border: 1px solid var(--edge-strong);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}
.bundle h3 { font-size: var(--fs-h3); text-transform: uppercase; color: var(--gold); margin-bottom: var(--sp-2); }
.bundle p { color: var(--text-mid); margin-bottom: 0; }
.bundle .price-block { margin-bottom: 0; }

@media (min-width: 860px) {
  .bundle { flex-direction: row; align-items: center; justify-content: space-between; }
  .bundle .bundle-copy { max-width: 48ch; }
}

/* More coming */
.more-coming {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-3);
  margin-top: var(--sp-6);
  color: var(--text-low);
  font-size: var(--fs-small);
}
.more-coming .chip {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-4);
  border: 1px solid var(--edge);
  border-radius: var(--radius-l);
  background: var(--surface-2);
  color: var(--text-mid);
  font-size: var(--fs-body);
}
.more-coming .chip strong { color: var(--gold); font-weight: var(--weight-heavy); }
.more-coming a.chip-link { text-decoration: none; cursor: pointer; transition: transform .2s ease, border-color .2s ease; }
.more-coming a.chip-link:hover { transform: translateY(-2px); border-color: var(--edge-strong); }

/* ---------- KB_Bridge ---------- */

/* ---------- Showcase (the demo at the bottom): a product surface floating free ---------- */
/* The image is the real my_voice_ overlay captured mid-dictation. No card, no frame:
   it floats on the page the way the overlay floats on a desktop. */
.showcase { background: var(--surface-1); border-top: 1px solid var(--edge); }
.showcase-inner { display: grid; grid-template-columns: 1fr; gap: var(--sp-6); align-items: center; }
.showcase-art { display: flex; flex-direction: column; align-items: center; gap: var(--sp-3); }
.showcase-art img {
  width: min(620px, 92vw);
  height: auto;
  border-radius: 26px;
  filter: drop-shadow(0 22px 54px rgba(0, 0, 0, 0.65));
}
.showcase-caption {
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: var(--track-caps);
  text-transform: uppercase;
  color: var(--text-faint);
}
.showcase-copy .includes { flex-grow: 0; }
.showcase-ctas { margin-top: var(--sp-5); }
@media (min-width: 980px) {
  .showcase-inner { grid-template-columns: 5fr 4fr; }
}

.kb-bridge { background: var(--surface-1); border-top: 1px solid var(--edge); }
.kb-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
  align-items: center;
}
.kb-art { display: flex; justify-content: center; }
.kb-art img {
  width: min(240px, 55vw);
  filter: drop-shadow(0 12px 34px rgba(0, 0, 0, 0.6));
}
.kb-copy .includes { flex-grow: 0; }

@media (min-width: 860px) {
  .kb-inner { grid-template-columns: 1fr 2fr; }
}

/* ---------- Footer ---------- */

.footer {
  background: var(--surface-0);
  border-top: 1px solid var(--edge);
  padding-block: var(--sp-7);
  color: var(--text-low);
  font-size: var(--fs-small);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-5);
}
.footer-brand img {
  width: 216px;
  height: 52px;
  object-fit: cover;
  object-position: 50% 48%;
  margin-bottom: var(--sp-3);
}
.footer-tagline { color: var(--gold); font-family: var(--font-display); font-weight: var(--weight-heavy); letter-spacing: 0.03em; }
.footer-links { display: flex; flex-direction: column; gap: var(--sp-2); }
.footer-links a { color: var(--text-mid); }
.footer-links a:hover { color: var(--gold); }
.footer-note { margin-top: var(--sp-5); padding-top: var(--sp-4); border-top: 1px solid var(--edge); color: var(--text-faint); }
.footer a.contact { color: var(--text-mid); }

@media (min-width: 860px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}

/* ---------- 404 ---------- */

.notfound {
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: var(--sp-6) var(--gutter);
  background: var(--surface-0);
}
.notfound img {
  width: 300px;
  height: 72px;
  object-fit: cover;
  object-position: 50% 48%;
  margin-inline: auto;
  margin-bottom: var(--sp-5);
}
.notfound h1 {
  font-size: var(--fs-hero);
  text-transform: uppercase;
  background: var(--gold-grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.notfound p { color: var(--text-mid); margin-inline: auto; }

/* per-product logo on store cards + KB section + more-coming chips */
.offer .offer-icon { width: 80px; height: 80px; object-fit: contain; display: block; margin-bottom: var(--sp-3, 0.75rem); }
.chip .chip-icon { width: 34px; height: 34px; object-fit: contain; vertical-align: middle; }

/* deep-dive link from a store card to the product's own SEO page */
.offer .learn-more {
  display: inline-block;
  margin-top: var(--sp-3, 0.75rem);
  color: var(--gold);
  font-weight: var(--weight-heavy, 700);
  font-size: var(--fs-small, 0.9rem);
  text-decoration: none;
}
.offer .learn-more::after { content: " \2192"; }
.offer .learn-more:hover { text-decoration: underline; }
