/* ==========================================================================
   GRAPPLING BOOSTER — design system
   Palette: ink #101114 · paper #fff · accent #e76431 (brand orange)
   Type: Barlow Condensed (display) · Inter (body), self-hosted
   ========================================================================== */

@font-face {
  font-family: "Barlow Condensed";
  src: url("../fonts/gb/BarlowCondensed-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("../fonts/gb/BarlowCondensed-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/gb/Inter-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/gb/Inter-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #101114;
  --ink-soft: #1b1d22;
  --paper: #ffffff;
  --paper-soft: #f4f4f2;
  --accent: #e76431;
  --accent-deep: #b84e1f;
  --text: #24272c;
  --text-soft: #494e57;
  --text-inverse: #e9eaec;
  --text-inverse-soft: #b9bdc4;
  --line: #e3e2df;
  --line-dark: #2c2f36;
  --radius: 10px;
  --container: 1140px;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --shadow: 0 10px 30px rgba(16, 17, 20, 0.10);
  --pad-section: clamp(3.5rem, 9vw, 6.5rem);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 5.5rem;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
}

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

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin: 0 0 0.6em;
  color: inherit;
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 7vw, 4.6rem); }
h2 { font-size: clamp(2rem, 5vw, 3.1rem); }
h3 { font-size: clamp(1.35rem, 3vw, 1.7rem); letter-spacing: 0.03em; }
p { margin: 0 0 1.1em; }
a { color: var(--accent-deep); text-underline-offset: 3px; }
a:hover { color: #8f3c16; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: 0.7rem 1.2rem;
  font-weight: 600;
}
.skip-link:focus { left: 0.5rem; top: 0.5rem; }

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.1rem, 4vw, 2rem);
}

/* --- header ------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(16, 17, 20, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line-dark);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
}
.brand {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.55rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.brand img { height: 30px; width: auto; display: block; }
.site-footer .brand img { height: 28px; }
.brand em { color: var(--accent); font-style: normal; }

.site-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(0.4rem, 1.6vw, 1.4rem);
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a {
  display: inline-block;
  padding: 0.5rem 0.55rem;
  font-family: var(--display);
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-inverse-soft);
}
.site-nav a:hover, .site-nav a:focus-visible { color: #fff; }
.site-nav a[aria-current="page"] { color: var(--accent); }
.site-nav .nav-cta a {
  color: var(--ink);
  background: var(--accent);
  border-radius: 999px;
  padding: 0.5rem 1.1rem;
}
.site-nav .nav-cta a:hover { background: #f0713e; color: var(--ink); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  padding: 0.5rem 0.65rem;
  color: #fff;
  cursor: pointer;
}
.nav-toggle svg { display: block; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute;
    inset: 100% 0 auto 0;
    background: var(--ink);
    border-bottom: 1px solid var(--line-dark);
    display: none;
  }
  .site-nav.open { display: block; }
  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.6rem 1rem 1.1rem;
  }
  .site-nav a { display: block; padding: 0.8rem 0.4rem; font-size: 1.25rem; }
  .site-nav .nav-cta { margin-top: 0.6rem; }
  .site-nav .nav-cta a { text-align: center; }
}

/* --- buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn-primary { background: var(--accent); color: var(--ink); }
.btn-primary:hover { background: #f0713e; color: var(--ink); }
.btn-ghost { border-color: currentColor; color: #fff; background: transparent; }
.btn-ghost:hover { color: var(--accent); }
.btn-ghost-dark { border-color: currentColor; color: var(--ink); background: transparent; }
.btn-ghost-dark:hover { color: var(--accent-deep); }
.btn svg { flex: none; }

/* --- hero --------------------------------------------------------------- */
.hero {
  position: relative;
  background: var(--ink);
  color: var(--text-inverse);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 26%;
  opacity: 0.7;
}
/* Scrim keeps text crisp and lets the photo read as atmosphere, not clutter. */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(16,17,20,0.92) 0%, rgba(16,17,20,0.7) 45%, rgba(16,17,20,0.3) 100%);
}
.hero .container {
  position: relative;
  z-index: 2;
  padding-block: clamp(4.5rem, 13vw, 9.5rem);
  max-width: var(--container);
}
@media (max-width: 720px) {
  .hero::after {
    background: linear-gradient(180deg, rgba(16,17,20,0.62) 0%, rgba(16,17,20,0.82) 60%, rgba(16,17,20,0.95) 100%);
  }
  .hero-bg { object-position: 64% 20%; }
}
.hero h1 { color: #fff; max-width: 13ch; }
.hero h1 em { color: var(--accent); font-style: normal; }
.hero .lede {
  font-size: clamp(1.1rem, 2.4vw, 1.3rem);
  max-width: 33rem;
  color: var(--text-inverse);
}
.hero .lede strong { color: #fff; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 1.8rem; }
.hero-note {
  margin-top: 1.1rem;
  font-size: 0.9rem;
  color: var(--text-inverse-soft);
  max-width: 34rem;
}
.hero-note a { color: var(--text-inverse); }

/* --- stat band ---------------------------------------------------------- */
.stats {
  background: var(--accent);
  color: var(--ink);
}
.stats .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding-block: 1.6rem;
  text-align: center;
}
.stats b {
  display: block;
  font-family: var(--display);
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 700;
  line-height: 1;
}
.stats span { font-size: 0.92rem; font-weight: 600; }
@media (max-width: 820px) {
  .stats .container { grid-template-columns: repeat(2, 1fr); row-gap: 1.4rem; }
}

/* --- sections ----------------------------------------------------------- */
.section { padding-block: var(--pad-section); }
.section-dark { background: var(--ink); color: var(--text-inverse); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-soft { background: var(--paper-soft); }
.kicker {
  display: inline-block;
  font-family: var(--display);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 0.9rem;
}
.section-dark .kicker, .page-hero .kicker { color: var(--accent); }
.section-dark a:not(.btn), .page-hero a:not(.btn) { color: var(--accent); }
.section-dark a:not(.btn):hover, .page-hero a:not(.btn):hover { color: #f0713e; }
.section-head { max-width: 44rem; }
.section-head.centered { margin-inline: auto; text-align: center; }
.section-head p { color: var(--text-soft); font-size: 1.1rem; }
.section-dark .section-head p { color: var(--text-inverse-soft); }

/* --- pillar cards ------------------------------------------------------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  margin-top: 2.6rem;
}
.pillar {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink-soft);
  color: #fff;
  display: flex;
  flex-direction: column;
}
.pillar figure { margin: 0; overflow: hidden; }
.pillar img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.pillar:hover img { transform: scale(1.05); }
@media (prefers-reduced-motion: reduce) {
  .pillar img, .pillar:hover img { transition: none; transform: none; }
}
.pillar-body {
  padding: 1.5rem 1.6rem 1.7rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.pillar h3 { margin-bottom: 0.4rem; color: #fff; }
.pillar p { margin: 0; color: var(--text-inverse); font-size: 0.98rem; }
.pillar-link { display: inline-block; margin-top: auto; padding-top: 1rem; font-family: var(--display);
  font-weight: 600; font-size: 1rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--accent); text-decoration: none; align-self: flex-start; }
.pillar-link:hover { color: #fff; }
@media (max-width: 900px) {
  .pillars { grid-template-columns: 1fr; }
}

/* --- how it works ------------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  margin-top: 2.6rem;
  counter-reset: step;
}
.step {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem 1.5rem 1.4rem;
  box-shadow: var(--shadow);
}
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--display);
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1;
  color: var(--accent);
  margin-bottom: 0.7rem;
}
.step h3 { font-size: 1.35rem; }
.step p { color: var(--text-soft); margin: 0; font-size: 1rem; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }

/* --- app showcase ------------------------------------------------------- */
.app-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(190px, 230px);
  gap: 1.1rem;
  overflow-x: auto;
  padding: 2.4rem 0.2rem 1.2rem;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.app-strip img {
  border-radius: 22px;
  border: 1px solid var(--line-dark);
  scroll-snap-align: start;
  width: 100%;
}
.store-row { display: flex; flex-wrap: wrap; gap: 0.9rem; align-items: center; margin-top: 1.6rem; }
.store-note { font-size: 0.92rem; color: var(--text-inverse-soft); max-width: 46rem; }
.store-note a { color: var(--text-inverse); }

/* --- media split -------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(1.6rem, 5vw, 4rem);
  align-items: center;
  margin-top: 2.4rem;
}
.split figure { margin: 0; }
.split img { border-radius: var(--radius); width: 100%; box-shadow: var(--shadow); }
.split figcaption { font-size: 0.85rem; color: var(--text-soft); margin-top: 0.6rem; }
.section-dark .split figcaption { color: var(--text-inverse-soft); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

.checklist { list-style: none; margin: 1.2rem 0 0; padding: 0; }
.checklist li {
  position: relative;
  padding-left: 1.9rem;
  margin-bottom: 0.7rem;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 0.95rem;
  height: 0.55rem;
  border-left: 3px solid var(--accent);
  border-bottom: 3px solid var(--accent);
  transform: rotate(-45deg);
}

/* --- quote -------------------------------------------------------------- */
.quote {
  max-width: 52rem;
  margin-inline: auto;
  text-align: center;
}
.quote blockquote {
  margin: 0;
  font-size: clamp(1.15rem, 2.6vw, 1.45rem);
  line-height: 1.55;
  color: var(--text);
}
.quote blockquote p::before { content: "\201C"; color: var(--accent); }
.quote blockquote p::after { content: "\201D"; color: var(--accent); }
.quote figcaption { margin-top: 1.4rem; font-weight: 600; }
.quote figcaption span { display: block; font-weight: 400; color: var(--text-soft); font-size: 0.95rem; }
.quote .avatar {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
}

/* --- FAQ ---------------------------------------------------------------- */
.faq-list { max-width: 50rem; margin: 2.2rem auto 0; }
.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  margin-bottom: 0.8rem;
  padding: 0;
}
.faq-list summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.05rem 1.3rem;
  font-weight: 600;
  font-size: 1.05rem;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  font-family: var(--display);
  font-size: 1.6rem;
  line-height: 1;
  color: var(--accent-deep);
  flex: none;
}
.faq-list details[open] summary::after { content: "\2212"; }
.faq-list .faq-a { padding: 0 1.3rem 1.2rem; color: var(--text-soft); }
.faq-list .faq-a p:last-child { margin-bottom: 0; }

/* --- CTA band ----------------------------------------------------------- */
.cta-band {
  position: relative;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
}
.cta-band .cta-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  opacity: 0.22;
}
.cta-band .container {
  position: relative;
  padding-block: clamp(3.5rem, 8vw, 5.5rem);
  text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: var(--text-inverse); max-width: 36rem; margin-inline: auto; }

/* --- forms -------------------------------------------------------------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.6rem; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 600; font-size: 0.95rem; margin-bottom: 0.35rem; }
.field input, .field textarea {
  width: 100%;
  padding: 0.8rem 0.95rem;
  font: inherit;
  color: var(--text);
  background: var(--paper);
  border: 1px solid #c9c8c4;
  border-radius: 8px;
}
.field input:focus-visible, .field textarea:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 1px;
  border-color: var(--accent-deep);
}
.field textarea { min-height: 9rem; resize: vertical; }
.form-status { margin-top: 1rem; font-weight: 600; min-height: 1.5rem; }
.form-status.ok { color: #1c7a3d; }
.form-status.err { color: #b3261e; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* --- contact info ------------------------------------------------------- */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: 2.2rem;
}
.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  background: var(--paper);
}
.contact-card h2 { font-size: 1.2rem; margin-bottom: 0.4rem; }
.contact-card p { margin: 0; color: var(--text-soft); }
@media (max-width: 860px) { .contact-cards { grid-template-columns: 1fr; } }

/* --- prose pages (privacy, terms, articles) ------------------------------ */
.prose { max-width: 44rem; }
.prose h2 { font-size: clamp(1.5rem, 3vw, 1.9rem); margin-top: 2.4rem; }
.prose h3 { font-size: 1.25rem; margin-top: 1.7rem; }
.prose p, .prose li { color: var(--text); }
/* In-text links are underlined so they're distinguishable by more than colour (WCAG 1.4.1). */
.prose p a, .prose li a { text-decoration: underline; text-underline-offset: 3px; }
.prose figure { margin: 1.8rem 0; }
.prose figure img { border-radius: var(--radius); width: 100%; box-shadow: var(--shadow); }
.prose figcaption { font-size: 0.85rem; color: var(--text-soft); margin-top: 0.6rem; }
.prose .lead { font-size: 1.15rem; color: var(--text); }
.prose ul { padding-left: 0; list-style: none; }
.prose ul li { position: relative; padding-left: 1.6rem; margin-bottom: 0.55rem; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: 0.5em;
  width: 0.85rem; height: 0.5rem; border-left: 3px solid var(--accent);
  border-bottom: 3px solid var(--accent); transform: rotate(-45deg); }
.prose .callout { background: var(--paper-soft); border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0; padding: 1.1rem 1.3rem; margin: 1.8rem 0; }
.prose .callout p:last-child { margin-bottom: 0; }
.prose .callout strong { color: var(--ink); }

/* --- breadcrumb --------------------------------------------------------- */
.breadcrumb { font-size: 0.85rem; color: var(--text-inverse-soft); margin-bottom: 1rem; }
.breadcrumb a { color: var(--text-inverse); text-decoration: underline; text-underline-offset: 3px; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { opacity: 0.5; margin: 0 0.3rem; }

/* --- related / guide cards ---------------------------------------------- */
.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; margin-top: 1.8rem; }
.related-card { display: flex; flex-direction: column; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.3rem;
  text-decoration: none; color: var(--ink); box-shadow: var(--shadow);
  transition: transform 0.15s ease, border-color 0.15s ease; }
.related-card:hover { transform: translateY(-2px); border-color: var(--accent); color: var(--ink); }
.related-card h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }
.related-card p { color: var(--text-soft); font-size: 0.93rem; margin: 0 0 0.9rem; flex: 1; }
.related-card .rc-go { color: var(--accent-deep); font-weight: 600; font-size: 0.9rem; }
@media (prefers-reduced-motion: reduce) { .related-card:hover { transform: none; } }
@media (max-width: 760px) { .related { grid-template-columns: 1fr; } }

/* --- guide hub ---------------------------------------------------------- */
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; margin-top: 2.4rem; }
.guide-card { display: flex; flex-direction: column; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  text-decoration: none; color: var(--ink); box-shadow: var(--shadow);
  transition: transform 0.15s ease, border-color 0.15s ease; }
.guide-card:hover { transform: translateY(-3px); border-color: var(--accent); color: var(--ink); }
.guide-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.guide-card .gc-body { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.guide-card .gc-kicker { font-family: var(--display); font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--accent-deep); font-size: 0.8rem; margin-bottom: 0.5rem; }
.guide-card h2 { font-size: 1.3rem; letter-spacing: 0.03em; margin-bottom: 0.45rem; }
.guide-card p { color: var(--text-soft); font-size: 0.95rem; margin: 0 0 1rem; flex: 1; }
.guide-card .gc-go { color: var(--accent-deep); font-weight: 600; font-size: 0.92rem; }
@media (prefers-reduced-motion: reduce) { .guide-card:hover { transform: none; } }
@media (max-width: 860px) { .guide-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .guide-grid { grid-template-columns: 1fr; } }

/* --- footer ------------------------------------------------------------- */
.site-footer {
  background: #0b0c0e;
  color: var(--text-inverse-soft);
  font-size: 0.95rem;
}
.site-footer .container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 2rem;
  padding-block: 3.2rem 2rem;
}
.site-footer .footer-h {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  font-size: 1.05rem;
  letter-spacing: 0.14em;
  margin-bottom: 0.9rem;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.55rem; }
.site-footer a { color: var(--text-inverse-soft); text-decoration: none; }
.site-footer a:hover, .site-footer a:focus-visible { color: #fff; }
.footer-brand .brand { font-size: 1.35rem; margin-bottom: 0.8rem; }
.footer-brand p { max-width: 26rem; }
.footer-social { display: flex; gap: 0.9rem; margin-top: 1rem; }
.footer-social a {
  display: inline-flex;
  width: 2.4rem;
  height: 2.4rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
}
.footer-social a:hover { border-color: var(--accent); color: var(--accent); }
.footer-legal {
  border-top: 1px solid var(--line-dark);
}
.footer-legal .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem;
  padding-block: 1.2rem;
  font-size: 0.85rem;
}
@media (max-width: 900px) {
  .site-footer .container { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .site-footer .container { grid-template-columns: 1fr; }
}

/* --- page hero (interior pages) ----------------------------------------- */
.page-hero {
  background: var(--ink);
  color: var(--text-inverse);
  padding-block: clamp(3rem, 8vw, 5rem);
}
.page-hero h1 { color: #fff; font-size: clamp(2.3rem, 6vw, 3.6rem); }
.page-hero p { max-width: 40rem; color: var(--text-inverse-soft); font-size: 1.12rem; margin-bottom: 0; }

/* --- store availability table ------------------------------------------- */
.platform-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; margin-top: 2.4rem; }
.platform-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem;
  background: var(--paper);
  box-shadow: var(--shadow);
}
.platform-card h2 { display: flex; align-items: center; gap: 0.6rem; font-size: clamp(1.35rem, 3vw, 1.7rem); letter-spacing: 0.03em; }
.platform-card .status {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 0.25rem 0.75rem;
  margin-bottom: 0.9rem;
}
.status-live { background: #e5f4ea; color: #176a34; }
.status-soon { background: #fdeee5; color: #a34517; }
.platform-card p { color: var(--text-soft); }
@media (max-width: 860px) { .platform-cards { grid-template-columns: 1fr; } }

/* --- video lightbox ----------------------------------------------------- */
.video-link {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  cursor: pointer;
  color: var(--accent-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.section-soft .video-link { color: var(--accent-deep); }
.video-link::before {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 0.6em solid currentColor;
  border-top: 0.38em solid transparent;
  border-bottom: 0.38em solid transparent;
  margin-right: 0.45em;
  vertical-align: -0.02em;
}
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 2rem);
  background: rgba(8, 9, 11, 0.88);
}
.video-modal.open { display: flex; }
.video-modal .vm-dialog { position: relative; }
.video-modal .vm-frame {
  position: relative;
  width: min(92vw, 960px);
  aspect-ratio: 16 / 9;
  max-height: 84vh;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.video-modal.portrait .vm-frame {
  width: auto;
  height: min(84vh, 780px);
  max-width: 92vw;
  aspect-ratio: 9 / 16;
}
.video-modal .vm-slot, .video-modal .vm-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-modal .vm-close {
  position: absolute;
  top: -3rem;
  right: -0.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
}
.video-modal .vm-close:hover { background: rgba(255, 255, 255, 0.24); }
.video-modal .vm-close:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
@media (max-width: 560px) {
  .video-modal .vm-close { top: auto; bottom: -3rem; right: 50%; transform: translateX(50%); }
}

/* --- 404 ---------------------------------------------------------------- */
.err-hero { min-height: 55vh; display: grid; place-items: center; text-align: center; }
.err-hero .huge {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(5rem, 18vw, 9rem);
  line-height: 1;
  color: var(--accent);
}
