/* ==========================================================================
   Hiro Chess — styles.css
   Mobile-first (designed at 375px, then scaled up).
   All copy lives in content.js; this file is layout + brand only.
   ========================================================================== */

/* ---------- Brand tokens ---------- */
:root {
  --teal: #4ECDC4;
  --teal-dark: #2FA79E;      /* hover states, focus rings on light backgrounds */
  --teal-ink: #16706A;       /* teal that passes AA as TEXT/icons on light backgrounds */
  --black: #0D0D0D;
  --black-soft: #171717;     /* raised cards on dark sections */
  --white: #FFFFFF;
  --gray: #CFD8D7;           /* secondary text on DARK backgrounds only */
  --gray-ink: #4C5654;       /* secondary text on LIGHT backgrounds (AA) */
  --light-bg: #F4F7F6;
  --line-dark: rgba(255, 255, 255, 0.14);
  --line-light: #DCE4E2;

  --radius: 16px;
  --radius-sm: 12px;
  --wrap: 1120px;

  --space-section: 64px;
  --font: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* Sticky header offset for #anchor jumps */
  scroll-padding-top: 76px;
}

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--black);
  background: var(--black);   /* matches the footer, so the sticky-CTA
                                 padding at the bottom is never a white strip */
  overflow-x: hidden;         /* belt and braces: never scroll sideways */
}

/* Room for the mobile sticky CTA so it never covers content */
@media (max-width: 767px) {
  body { padding-bottom: 88px; }
}

img, svg { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ---------- Accessibility helpers ---------- */
.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 {
  position: absolute; left: 50%; top: 0;
  transform: translate(-50%, -120%);
  z-index: 200;
  background: var(--teal); color: var(--black);
  font-weight: 600; padding: 10px 18px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}
.skip-link:focus { transform: translate(-50%, 0); }

/* Visible focus everywhere */
:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
  border-radius: 6px;
}
.section--light :focus-visible { outline-color: var(--teal-ink); }

/* ---------- Layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 20px;
}
.wrap--narrow { max-width: 760px; }

.section {
  padding: var(--space-section) 0;
}
.section--dark { background: var(--black); color: var(--white); }
.section--light { background: var(--light-bg); color: var(--black); }

/* Subtle chessboard texture for dark sections */
.board-texture {
  position: relative;
  isolation: isolate;
}
.board-texture::before {
  content: '';
  position: absolute; inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: conic-gradient(
    rgba(255, 255, 255, 0.055) 0turn 0.25turn,
    transparent 0.25turn 0.5turn,
    rgba(255, 255, 255, 0.055) 0.5turn 0.75turn,
    transparent 0.75turn 1turn
  );
  background-size: 72px 72px;
  background-position: center top;
}

/* ---------- Typography ---------- */
.section__title {
  font-size: clamp(1.6rem, 6vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
  text-wrap: balance;
}
.section__closing {
  margin-top: 28px;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--black);
}
.section--dark .section__closing { color: var(--white); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 14px 26px;
  border-radius: 999px;          /* pill */
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  text-align: center;
  transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--teal);
  color: var(--black);
  border: 2px solid var(--teal);
}
.btn--primary:hover { background: #6FD9D1; border-color: #6FD9D1; }

.btn--outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--teal);
}
.btn--outline:hover { background: rgba(78, 205, 196, 0.16); }

.section--light .btn--outline {
  color: var(--black);
  border-color: var(--teal-ink);
}
.section--light .btn--outline:hover { background: rgba(22, 112, 106, 0.1); }

.btn--ghost {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--line-dark);
}
.btn--ghost:hover { border-color: var(--gray); }

.btn--sm { min-height: 42px; padding: 9px 18px; font-size: 0.9rem; }
.btn--block { width: 100%; }

/* ---------- 1. Top bar ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 13, 13, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-dark);
  color: var(--white);
}
.topbar__inner {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  margin-right: auto;
  white-space: nowrap;
}
.logo__mark { width: 30px; height: 30px; border-radius: 8px; flex: 0 0 auto; }

/* Nav: mobile = collapsible panel */
.nav { display: flex; align-items: center; }

.nav__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 10px;
}
.nav__toggle-bars,
.nav__toggle-bars::before,
.nav__toggle-bars::after {
  display: block;
  width: 20px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav__toggle-bars { position: relative; }
.nav__toggle-bars::before,
.nav__toggle-bars::after { content: ''; position: absolute; left: 0; }
.nav__toggle-bars::before { top: -6px; }
.nav__toggle-bars::after { top: 6px; }

.nav__toggle[aria-expanded="true"] .nav__toggle-bars { background: transparent; }
.nav__toggle[aria-expanded="true"] .nav__toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

.nav__menu {
  position: absolute;
  top: 100%; left: 0; right: 0;
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: 8px 20px 16px;
  background: rgba(13, 13, 13, 0.98);
  border-bottom: 1px solid var(--line-dark);
}
.nav__menu.is-open { display: flex; }
.nav__menu a {
  display: block;
  padding: 12px 4px;
  font-weight: 600;
  border-radius: 8px;
}
.nav__menu a:hover { color: var(--teal); }
.nav__menu-login a { color: var(--gray); }

.topbar__cta { flex: 0 0 auto; }

/* "Log in" for people who already bought the puzzle book. A quiet text link:
   it must never compete with the CTA next to it. */
.topbar__login {
  /* On a phone there is no room next to the CTA, so this link only appears
     from 768px up. Below that the same link sits inside the menu. */
  display: none;
  flex: 0 0 auto;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray);
  white-space: nowrap;
  padding: 10px 2px;
}
.topbar__login:hover { color: var(--teal); text-decoration: underline; }

@media (min-width: 768px) {
  .nav__toggle { display: none; }
  .nav__menu {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 24px;
    padding: 0;
    background: none;
    border: 0;
  }
  .nav__menu a { padding: 6px 2px; }
  .nav__menu-login { display: none; }   /* shown in the bar instead */
  .topbar__login { display: inline-block; margin-left: 24px; }
  .topbar__cta { margin-left: 16px; }
}

/* ---------- 2. Hero ---------- */
.hero { padding-top: 40px; }
.hero__inner { text-align: center; }

.hero__headline {
  font-size: clamp(2rem, 9vw, 3.6rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.hero__sub {
  margin: 16px auto 28px;
  max-width: 34ch;
  color: var(--gray);
  font-size: 1.02rem;
}

.hero__ctas {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}
.hero__trust {
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--gray);
}

@media (min-width: 700px) {
  .hero { padding-top: 64px; }
  .hero__sub { max-width: 48ch; font-size: 1.15rem; }
  .hero__ctas { flex-direction: row; justify-content: center; }
}

/* Click-to-load video facade */
.video {
  position: relative;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--black-soft);
  border: 1px solid var(--line-dark);
}
.video__facade {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  padding: 0;
  display: block;
  cursor: pointer;
}
.video__thumb {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.video__play {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 72px; height: 72px;
  border-radius: 999px;
  background: var(--teal);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
  transition: transform 0.18s ease;
}
.video__facade:hover .video__play { transform: translate(-50%, -50%) scale(1.07); }
.video__play svg { width: 26px; height: 26px; fill: var(--black); margin-left: 3px; }

.video iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
}

/* ---------- Generic card grids ---------- */
.cards {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

.card {
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: 22px;
}
.section--dark .card {
  background: var(--black-soft);
  border-color: var(--line-dark);
}

/* ---------- 3. Sound familiar? ---------- */
.cards--problems .card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-weight: 600;
  font-size: 1rem;
}
.card__icon {
  flex: 0 0 auto;
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(22, 112, 106, 0.12);
  display: grid; place-items: center;
}
.card__icon svg { width: 22px; height: 22px; stroke: var(--teal-ink); fill: none; stroke-width: 2; }

@media (min-width: 768px) {
  .cards--problems { grid-template-columns: repeat(3, 1fr); }
  .cards--problems .card { flex-direction: column; }
}

/* ---------- 4. The method ---------- */
.method__inner {
  display: grid;
  gap: 32px;
}
.steps { display: grid; gap: 20px; counter-reset: step; }
.step { display: flex; gap: 16px; align-items: flex-start; }
.step__num {
  flex: 0 0 auto;
  width: 38px; height: 38px;
  border-radius: 999px;
  background: var(--teal);
  color: var(--black);
  font-weight: 800;
  display: grid; place-items: center;
}
.step__heading { display: block; font-weight: 800; font-size: 1.05rem; margin-bottom: 2px; }
.step__text { display: block; color: var(--gray); font-size: 0.97rem; }

.guide-card {
  background: var(--black-soft);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 22px;
  text-align: center;
}
.guide-card img {
  width: min(230px, 72%);
  margin: 0 auto 18px;
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
.guide-card__kicker {
  display: inline-block;
  background: var(--teal);
  color: var(--black);
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.guide-card__title { font-weight: 800; font-size: 1.1rem; }
.guide-card__sub { color: var(--gray); font-size: 0.95rem; margin: 6px 0 18px; }

@media (min-width: 900px) {
  .method__inner { grid-template-columns: 1.25fr 0.75fr; gap: 48px; align-items: start; }
}

/* ---------- 5. Testimonials ---------- */
.cards--testimonials .card { display: flex; flex-direction: column; gap: 12px; }
.stars { color: #C98A00; letter-spacing: 2px; font-size: 1rem; line-height: 1; }
.quote { font-size: 1.02rem; font-weight: 600; }
.quote::before { content: '\201C'; }
.quote::after { content: '\201D'; }
.testimonial__meta { color: var(--gray-ink); font-size: 0.9rem; margin-top: auto; }
.testimonial__rating {
  display: inline-block;
  margin-top: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--teal-ink);
  background: rgba(22, 112, 106, 0.12);
  border-radius: 999px;
  padding: 3px 10px;
}

@media (min-width: 700px) { .cards--testimonials { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards--testimonials { grid-template-columns: repeat(3, 1fr); } }

/* ---------- 6. Courses ---------- */
.cards--products { align-items: stretch; }
.product {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
}
.product__badge {
  position: absolute;
  top: -12px; left: 20px;
  background: var(--teal);
  color: var(--black);
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
}
.product__level {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal);
}
.product__name { font-size: 1.2rem; font-weight: 800; line-height: 1.25; }
.product__price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.product__price-now { font-size: 1.85rem; font-weight: 800; }
.product__price-old { color: var(--gray); text-decoration: line-through; font-weight: 600; }

.product__soon {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  padding: 4px 12px;
}

.product__bullets { display: grid; gap: 8px; }
.product__bullets li {
  position: relative;
  padding-left: 24px;
  font-size: 0.95rem;
  color: var(--gray);
}
.product__bullets li::before {
  content: '';
  position: absolute; left: 4px; top: 0.6em;
  width: 9px; height: 9px;
  border-radius: 2px;
  background: var(--teal);
}
/* Optional note under the bullets, e.g. "Includes online Puzzle Trainer
   access". Only appears when the product has a featureNote in content.js. */
.product__note {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--teal);
}

.product__cta { margin-top: auto; }

.product--highlight {
  border: 2px solid var(--teal);
  box-shadow: 0 0 0 4px rgba(78, 205, 196, 0.1);
}

@media (min-width: 700px) {
  .cards--products { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (min-width: 1000px) {
  .cards--products { grid-template-columns: repeat(3, 1fr); align-items: center; }
  .product--highlight { transform: scale(1.04); z-index: 1; }

  /* On the 3-column grid the highlighted card sits in the middle of the
     first row: it keeps DOM order (and mobile order) untouched. */
  .cards--products > * { order: 2; }
  .cards--products > *:first-child,
  .cards--products .product--highlight { order: 1; }
}

/* ---------- 7. Membership ---------- */
.cards--tiers { gap: 20px; }
.tier { display: flex; flex-direction: column; gap: 14px; position: relative; }
.tier__name { font-size: 1.3rem; font-weight: 800; }
.tier__price { display: flex; align-items: baseline; gap: 4px; }
.tier__price-amount { font-size: 2.1rem; font-weight: 800; }
.tier__price-period { color: var(--gray-ink); font-weight: 600; }
.tier__features { display: grid; gap: 10px; }
.tier__features li {
  position: relative;
  padding-left: 28px;
  font-size: 0.95rem;
  color: var(--gray-ink);
}
.tier__features li::before {
  content: '';
  position: absolute; left: 4px; top: 0.35em;
  width: 14px; height: 8px;
  border-left: 2.5px solid var(--teal-ink);
  border-bottom: 2.5px solid var(--teal-ink);
  transform: rotate(-45deg);
}
.tier__cta { margin-top: auto; }
.tier--highlight {
  border: 2px solid var(--teal-ink);
  box-shadow: 0 0 0 4px rgba(78, 205, 196, 0.2);
}
.tier__badge {
  position: absolute;
  top: -12px; left: 20px;
  background: var(--teal-ink);
  color: var(--white);
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
}
.tiers__footnote {
  margin-top: 22px;
  font-size: 0.88rem;
  color: var(--gray-ink);
  text-align: center;
}

@media (min-width: 768px) {
  .cards--tiers { grid-template-columns: repeat(2, 1fr); align-items: stretch; }
}

/* ---------- 8. About ---------- */
.about__inner {
  display: grid;
  gap: 24px;
  justify-items: center;
  text-align: center;
}
.about__photo {
  width: 140px; height: 140px;
  border-radius: 999px;
  object-fit: cover;
  border: 3px solid var(--teal);
}
.about__title { font-size: clamp(1.6rem, 6vw, 2.3rem); font-weight: 800; letter-spacing: -0.02em; }
.about__text { display: grid; gap: 12px; color: var(--gray); max-width: 56ch; }

.socials { display: flex; gap: 12px; justify-content: center; margin-top: 20px; }
.socials a {
  width: 44px; height: 44px;
  border-radius: 999px;
  border: 1px solid var(--line-dark);
  display: grid; place-items: center;
}
.socials a:hover { border-color: var(--teal); background: rgba(78, 205, 196, 0.12); }
.socials svg { width: 20px; height: 20px; fill: var(--white); }

@media (min-width: 800px) {
  .about__inner {
    grid-template-columns: 180px 1fr;
    justify-items: start;
    text-align: left;
    align-items: center;
    gap: 40px;
  }
  .about__photo { width: 180px; height: 180px; }
  .socials { justify-content: flex-start; }
}

/* ---------- 9. FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details {
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  min-height: 56px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  flex: 0 0 auto;
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1;
  color: var(--teal-ink);
}
.faq details[open] summary::after { content: '\2013'; }
.faq p {
  padding: 0 20px 20px;
  color: var(--gray-ink);
}

/* ---------- 10. Final CTA + signup ---------- */
.final { text-align: center; }
.final__headline {
  font-size: clamp(1.7rem, 7vw, 2.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.final__ctas {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 28px 0 40px;
}

.signup {
  background: var(--black-soft);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: left;
}
.signup__title { font-weight: 800; font-size: 1.1rem; margin-bottom: 14px; text-align: center; }
.signup__row { display: grid; gap: 12px; }
.signup input[type="email"] {
  width: 100%;
  min-height: 52px;
  padding: 14px 18px;
  font: inherit;
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line-dark);
  border-radius: 999px;
}
.signup input[type="email"]::placeholder { color: #9AA6A4; }
.signup input[type="email"]:focus-visible { border-color: var(--teal); }

.signup__consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--gray);
  cursor: pointer;
}
.signup__consent input {
  flex: 0 0 auto;
  width: 20px; height: 20px;
  margin: 2px 0 0;
  accent-color: var(--teal);
}
.signup__note {
  margin-top: 14px;
  font-size: 0.9rem;
  color: var(--gray);
  text-align: center;
}
.signup__error {
  margin-top: 12px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #FFB4A8;
}

@media (min-width: 700px) {
  .final__ctas { flex-direction: row; justify-content: center; }
  .signup { padding: 32px; }
  .signup__row { grid-template-columns: 1fr auto; align-items: center; }
}

/* ---------- 11. Footer ---------- */
.footer {
  background: var(--black);
  color: var(--gray);
  border-top: 1px solid var(--line-dark);
  padding: 40px 0;
  font-size: 0.9rem;
}
.footer__inner { display: grid; gap: 20px; justify-items: center; text-align: center; }
.footer .logo { color: var(--white); margin-right: 0; }
.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: center;
}
.footer__links a:hover { color: var(--teal); text-decoration: underline; }
.footer__copy { color: #9AA6A4; }

@media (min-width: 800px) {
  .footer__inner {
    grid-template-columns: auto 1fr;
    justify-items: start;
    align-items: center;
    text-align: left;
    gap: 12px 32px;
  }
  .footer__links { grid-column: 2; justify-self: end; }
  .footer__copy { grid-column: 1 / -1; }
}

/* ---------- Legal pages (privacy, imprint) ---------- */
.legal { padding-bottom: 8px; }
.legal__intro {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.legal h2 {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-top: 32px;
}
.legal p { margin-top: 12px; color: var(--gray-ink); }
.legal__intro { color: var(--black); }
.legal a { color: var(--teal-ink); text-decoration: underline; }
.legal__list { margin-top: 12px; display: grid; gap: 10px; }
.legal__list li {
  position: relative;
  padding-left: 24px;
  color: var(--gray-ink);
}
.legal__list li::before {
  content: '';
  position: absolute; left: 4px; top: 0.6em;
  width: 9px; height: 9px;
  border-radius: 2px;
  background: var(--teal);
}
.legal strong { color: var(--black); }
.legal__back { margin-top: 40px; font-weight: 600; }

/* ---------- Mobile sticky CTA ---------- */
.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(13, 13, 13, 0.95);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line-dark);
  transform: translateY(110%);
  transition: transform 0.25s ease;
}
.sticky-cta.is-visible { transform: translateY(0); }

@media (min-width: 768px) {
  .sticky-cta { display: none; }
}
