/* ==========================================================================
   FentHub storefront theme (SellAuth theme asset, Part A only)
   Part A: tokens + the injected marketing block (everything scoped to .sa)
   Part B: SellAuth store-shell overrides (delete if you only want Part A)

   Radius rule for this page:
     panels/cards 14px | buttons + inputs 10px | badges + avatars full pill
   Z-index scale:
     1 raised content | 10 sticky nav | 20 mobile menu | 60 overlay
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600;700&family=Geist+Mono:wght@400;500&display=swap');

:root {
  /* hex fallbacks first, oklch wins where supported */
  --sa-bg: #101413;
  --sa-bg: oklch(0.155 0.008 165);
  --sa-surface: #1b201e;
  --sa-surface: oklch(0.205 0.010 165);
  --sa-surface-2: #252b28;
  --sa-surface-2: oklch(0.252 0.012 165);
  --sa-line: #313835;
  --sa-line: oklch(0.315 0.013 165);
  --sa-line-soft: rgba(255, 255, 255, 0.07);

  --sa-ink: #eef3f0;
  --sa-ink: oklch(0.958 0.007 165);
  --sa-ink-muted: #a8b3ae;
  --sa-ink-muted: oklch(0.752 0.012 165);
  --sa-ink-faint: #8b958f;
  --sa-ink-faint: oklch(0.665 0.011 165);

  --sa-brand: #3ddb85;
  --sa-brand: oklch(0.785 0.185 152);
  --sa-brand-hi: #63e79c;
  --sa-brand-ink: #06180e;
  --sa-brand-ink: oklch(0.180 0.045 155);
  --sa-brand-wash: rgba(61, 219, 133, 0.10);
  --sa-brand-edge: rgba(61, 219, 133, 0.28);

  /* status only, never decoration. Used for a game marked down. */
  --sa-down: #e0603d;
  --sa-down: oklch(0.660 0.170 32);

  --sa-r-panel: 14px;
  --sa-r-control: 10px;
  --sa-r-pill: 999px;

  --sa-z-nav: 10;
  --sa-z-menu: 20;

  --sa-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --sa-shell: min(1280px, 100% - 3rem);

  --sa-font: 'Geist', ui-sans-serif, system-ui, 'Segoe UI', Roboto, sans-serif;
  --sa-mono: 'Geist Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
}

/* ==========================================================================
   PART A - injected marketing block
   ========================================================================== */

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

.sa {
  font-family: var(--sa-font);
  color: var(--sa-ink);
  background: var(--sa-bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.sa h1, .sa h2, .sa h3, .sa h4, .sa p, .sa ul, .sa ol, .sa figure, .sa blockquote {
  margin: 0;
}
.sa ul, .sa ol { padding: 0; list-style: none; }
.sa img { display: block; max-width: 100%; height: auto; }
.sa a { color: inherit; text-decoration: none; }

.sa h1, .sa h2, .sa h3 { text-wrap: balance; }
.sa p { text-wrap: pretty; }

.sa :focus-visible {
  outline: 2px solid var(--sa-brand);
  outline-offset: 3px;
  border-radius: 4px;
}

.sa-shell {
  width: var(--sa-shell);
  margin-inline: auto;
}

.sa-h1 {
  font-size: clamp(2.375rem, 4.6vw, 3.75rem);
  line-height: 1.04;
  letter-spacing: -0.032em;
  font-weight: 600;
}
.sa-h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.75rem);
  line-height: 1.1;
  letter-spacing: -0.026em;
  font-weight: 600;
}
.sa-h3 {
  font-size: 1.0625rem;
  line-height: 1.35;
  letter-spacing: -0.012em;
  font-weight: 600;
}
.sa-lede {
  font-size: clamp(1rem, 1.35vw, 1.125rem);
  color: var(--sa-ink-muted);
  max-width: 46ch;
}
.sa-body {
  color: var(--sa-ink-muted);
  font-size: 0.9375rem;
  max-width: 68ch;
}
.sa-body--sm { font-size: 0.875rem; }
.sa-kicker {
  font-family: var(--sa-mono);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sa-brand);
}

/* --- buttons -------------------------------------------------------------- */

.sa-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.006em;
  padding: 0.8125rem 1.375rem;
  border-radius: var(--sa-r-control);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.22s var(--sa-ease),
              border-color 0.22s var(--sa-ease),
              color 0.22s var(--sa-ease),
              transform 0.12s var(--sa-ease);
}
.sa-btn:active { transform: translateY(1px); }

/* .sa a sets `color: inherit` at specificity 0-1-1, so button colours are
   written at 0-2-0 to stay ahead of it. Do not drop the leading .sa here. */
.sa .sa-btn--primary {
  background: var(--sa-brand);
  color: var(--sa-brand-ink);
}
.sa .sa-btn--primary:hover { background: var(--sa-brand-hi); }

.sa .sa-btn--ghost {
  background: transparent;
  color: var(--sa-ink);
  border-color: var(--sa-line);
}
.sa .sa-btn--ghost:hover {
  border-color: var(--sa-brand-edge);
  background: var(--sa-brand-wash);
}

.sa-btn--sm { padding: 0.5625rem 1rem; font-size: 0.875rem; }
.sa-btn--block { width: 100%; }

/* --- nav ------------------------------------------------------------------ */

.sa-nav {
  position: sticky;
  top: 0;
  z-index: var(--sa-z-nav);
  height: 68px;
  display: flex;
  align-items: center;
  background: rgba(16, 20, 19, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--sa-line-soft);
}
.sa-nav__inner {
  width: var(--sa-shell);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.sa-wordmark {
  font-weight: 700;
  font-size: 1.0625rem;
  letter-spacing: -0.02em;
}
.sa-wordmark b { color: var(--sa-brand); font-weight: 700; }

.sa-nav__links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  margin-left: auto;
  font-size: 0.9375rem;
  color: var(--sa-ink-muted);
}
.sa-nav__links a { transition: color 0.18s var(--sa-ease); }
.sa-nav__links a:hover { color: var(--sa-ink); }

.sa-nav__cta { margin-left: 0.25rem; }

.sa-nav__toggle {
  display: none;
  margin-left: auto;
  background: transparent;
  border: 1px solid var(--sa-line);
  border-radius: var(--sa-r-control);
  color: var(--sa-ink);
  font: inherit;
  font-size: 0.875rem;
  padding: 0.5rem 0.875rem;
  cursor: pointer;
}

/* --- hero ----------------------------------------------------------------- */

.sa-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3rem, 6vw, 5.5rem) clamp(3.5rem, 7vw, 6rem);
}
.sa-hero::before {
  content: '';
  position: absolute;
  inset: -40% 30% auto -10%;
  height: 60vh;
  background: radial-gradient(closest-side, var(--sa-brand-wash), transparent 72%);
  pointer-events: none;
}
.sa-hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.sa-hero__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 1.375rem; }
.sa-hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.sa-hero__media {
  position: relative;
  border: 1px solid var(--sa-line);
  border-radius: var(--sa-r-panel);
  overflow: hidden;
  background: var(--sa-surface);
  aspect-ratio: 4 / 3;
}
.sa-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.08) brightness(0.72);
}
.sa-hero__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, rgba(61, 219, 133, 0.24), transparent 58%);
  pointer-events: none;
}

/* --- games marquee -------------------------------------------------------- */

/* Six games fit on screen at once, so this is a static row rather than a
   marquee. A buyer should see whether their game is covered without waiting. */
.sa-games {
  border-block: 1px solid var(--sa-line-soft);
  padding-block: 1.125rem;
}
.sa-games__row {
  display: flex;
  align-items: center;
  gap: 0.75rem 1.5rem;
  flex-wrap: wrap;
}
.sa-games__label {
  font-family: var(--sa-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sa-ink-faint);
  flex: none;
}
.sa-games__list { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.sa-game {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--sa-ink-muted);
  border: 1px solid var(--sa-line);
  border-radius: var(--sa-r-pill);
  padding: 0.375rem 0.8125rem;
  white-space: nowrap;
}
/* real state, not decoration: add class is-down to mark a game offline */
.sa-game i {
  width: 6px;
  height: 6px;
  border-radius: var(--sa-r-pill);
  background: var(--sa-brand);
  flex: none;
}
.sa-game.is-down { color: var(--sa-ink-faint); }
.sa-game.is-down i { background: var(--sa-down); }

/* --- branded plate -------------------------------------------------------- */
/* Stands in for artwork. Swap any .sa-plate for an <img> when you have real
   assets, the containing boxes already have the right aspect ratios. */

.sa-plate {
  position: relative;
  display: grid;
  place-items: center;
  gap: 0.5rem;
  width: 100%;
  height: 100%;
  min-height: 180px;
  padding: 1.75rem;
  text-align: center;
  background:
    radial-gradient(130% 120% at 18% 0%, rgba(61, 219, 133, 0.20), transparent 62%),
    var(--sa-surface-2);
}
.sa-plate__mark {
  font-size: clamp(1.375rem, 3.4vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--sa-ink);
}
.sa-plate__mark b { color: var(--sa-brand); font-weight: 700; }
.sa-plate__sub {
  font-family: var(--sa-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sa-ink-muted);
}
.sa-plate--hero .sa-plate__mark { font-size: clamp(2rem, 5.4vw, 3.5rem); }
.sa-plate--tile { min-height: 200px; }

/* --- section frame -------------------------------------------------------- */

.sa-section { padding-block: clamp(3.5rem, 7vw, 6.5rem); }
.sa-section--tight { padding-block: clamp(2.75rem, 5vw, 4.5rem); }
.sa-section__head { max-width: 54ch; margin-bottom: clamp(2rem, 3.5vw, 3rem); }
.sa-section__head .sa-body { margin-top: 0.875rem; }

/* --- products ------------------------------------------------------------- */

.sa-products {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 1.25rem;
}
.sa-products__side {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 1.25rem;
}

.sa-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--sa-surface);
  border: 1px solid var(--sa-line);
  border-radius: var(--sa-r-panel);
  overflow: hidden;
  transition: border-color 0.25s var(--sa-ease), background-color 0.25s var(--sa-ease);
}
.sa-card:hover { border-color: var(--sa-brand-edge); background: var(--sa-surface-2); }

.sa-card__media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--sa-surface-2); }
.sa-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) brightness(0.62) contrast(1.1);
}
.sa-card__body { display: flex; flex-direction: column; gap: 0.75rem; padding: 1.25rem 1.375rem 1.375rem; flex: 1; }

.sa-card--flagship .sa-card__body { padding: 1.5rem 1.625rem 1.625rem; gap: 1rem; }

.sa-tag {
  align-self: flex-start;
  font-family: var(--sa-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sa-brand);
  background: var(--sa-brand-wash);
  border-radius: var(--sa-r-pill);
  padding: 0.3125rem 0.6875rem;
}

.sa-price {
  display: flex;
  align-items: baseline;
  gap: 0.4375rem;
  font-family: var(--sa-mono);
}
.sa-price b { font-size: 1.75rem; font-weight: 500; letter-spacing: -0.02em; }
.sa-price span { font-size: 0.8125rem; color: var(--sa-ink-faint); }

.sa-feats { display: grid; gap: 0.5rem; font-size: 0.875rem; color: var(--sa-ink-muted); }
.sa-feats li { display: grid; grid-template-columns: 1rem 1fr; gap: 0.625rem; align-items: start; }
.sa-feats i.ph { font-size: 1rem; line-height: 1; margin-top: 0.22rem; color: var(--sa-brand); }
.sa-btn i.ph { font-size: 1.0625rem; line-height: 1; }

.sa-card__foot { margin-top: auto; padding-top: 0.25rem; }

.sa-pay {
  margin-top: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.sa-pay img {
  height: 20px;
  width: auto;
  opacity: 0.5;
  transition: opacity 0.2s var(--sa-ease);
}
.sa-pay img:hover { opacity: 0.9; }

/* --- bento ---------------------------------------------------------------- */

.sa-bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.25rem;
}
.sa-tile {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  padding: 1.5rem;
  border: 1px solid var(--sa-line);
  border-radius: var(--sa-r-panel);
  background: var(--sa-surface);
}
.sa-tile p { font-size: 0.9375rem; color: var(--sa-ink-muted); max-width: 46ch; }
.sa-tile .sa-status { margin-top: auto; }

.sa-tile--wide { grid-column: span 4; min-height: 250px; }
.sa-tile--narrow { grid-column: span 2; }
.sa-tile--half { grid-column: span 3; }

.sa-tile--lit {
  background:
    radial-gradient(120% 100% at 0% 0%, rgba(61, 219, 133, 0.16), transparent 62%),
    var(--sa-surface);
}
.sa-tile--shot { padding: 0; min-height: 200px; }
.sa-tile--shot img {
  width: 100%;
  height: 100%;
  min-height: 200px;
  object-fit: cover;
  filter: grayscale(1) brightness(0.6) contrast(1.12);
}

.sa-chips { display: flex; flex-wrap: wrap; gap: 0.4375rem; margin-top: 0.25rem; }
.sa-chip {
  font-family: var(--sa-mono);
  font-size: 0.75rem;
  color: var(--sa-ink-muted);
  border: 1px solid var(--sa-line);
  border-radius: var(--sa-r-pill);
  padding: 0.25rem 0.625rem;
}

/* --- steps ---------------------------------------------------------------- */

.sa-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--sa-line);
  border-radius: var(--sa-r-panel);
  overflow: hidden;
}
.sa-step { padding: clamp(1.5rem, 3vw, 2.25rem); display: flex; flex-direction: column; gap: 0.625rem; }
.sa-step + .sa-step { border-left: 1px solid var(--sa-line); }
.sa-step__mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: var(--sa-r-pill);
  background: var(--sa-brand-wash);
  color: var(--sa-brand);
  margin-bottom: 0.375rem;
}
.sa-step__mark i.ph { font-size: 1.0625rem; line-height: 1; }
.sa-step p { font-size: 0.9375rem; color: var(--sa-ink-muted); }

/* --- quotes --------------------------------------------------------------- */

.sa-quotes {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}
.sa-quotes__stack { display: grid; gap: 1.25rem; }
.sa-quote {
  padding: 1.5rem 1.625rem;
  border: 1px solid var(--sa-line);
  border-radius: var(--sa-r-panel);
  background: var(--sa-surface);
  display: flex;
  flex-direction: column;
  gap: 1.125rem;
}
.sa-quote--lead { padding: clamp(1.75rem, 3vw, 2.5rem); background: var(--sa-surface-2); }
.sa-quote blockquote { font-size: 1.0625rem; line-height: 1.5; letter-spacing: -0.008em; }
.sa-quote--lead blockquote { font-size: clamp(1.125rem, 1.8vw, 1.4375rem); line-height: 1.42; }
.sa-quote figcaption { display: flex; align-items: center; gap: 0.75rem; margin-top: auto; }
.sa-quote figcaption img { width: 34px; height: 34px; border-radius: var(--sa-r-pill); object-fit: cover; filter: grayscale(1); flex: none; }
.sa-verified {
  width: 34px;
  height: 34px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: var(--sa-r-pill);
  background: var(--sa-brand-wash);
  border: 1px solid var(--sa-brand-edge);
  color: var(--sa-brand);
}
.sa-verified i.ph { font-size: 1.0625rem; line-height: 1; }
.sa-quote__who { font-size: 0.875rem; font-weight: 600; }
.sa-quote__role { font-size: 0.8125rem; color: var(--sa-ink-faint); }

/* --- faq ------------------------------------------------------------------ */

.sa-faq { display: grid; grid-template-columns: 1fr 1fr; gap: 0 2.5rem; align-content: start; }
.sa-faq details { border-bottom: 1px solid var(--sa-line); }
.sa-faq summary {
  /* padding lives on the summary, not the details, so the whole row is tappable */
  padding-block: 1.0625rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  list-style: none;
  font-weight: 500;
  font-size: 0.9375rem;
  letter-spacing: -0.008em;
}
.sa-faq summary::-webkit-details-marker { display: none; }
.sa-faq summary::after {
  content: '';
  flex: none;
  width: 9px;
  height: 9px;
  border-right: 1.5px solid var(--sa-ink-faint);
  border-bottom: 1.5px solid var(--sa-ink-faint);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform 0.24s var(--sa-ease), border-color 0.24s var(--sa-ease);
}
.sa-faq details[open] summary::after {
  transform: rotate(225deg) translate(-2px, -2px);
  border-color: var(--sa-brand);
}
.sa-faq details[open] summary { padding-bottom: 0.5rem; }
.sa-faq p { padding-bottom: 1.125rem; font-size: 0.9063rem; color: var(--sa-ink-muted); max-width: 60ch; }

/* --- closing band --------------------------------------------------------- */

.sa-band {
  border: 1px solid var(--sa-brand-edge);
  border-radius: var(--sa-r-panel);
  background:
    radial-gradient(90% 140% at 100% 0%, rgba(61, 219, 133, 0.14), transparent 60%),
    var(--sa-surface);
  padding: clamp(2rem, 4.5vw, 3.25rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.75rem;
}
.sa-band__copy { display: grid; gap: 0.625rem; }

/* --- status --------------------------------------------------------------- */

.sa-status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--sa-mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--sa-ink-muted);
}
.sa-status i {
  width: 7px;
  height: 7px;
  border-radius: var(--sa-r-pill);
  background: var(--sa-brand);
  flex: none;
}

/* --- footer --------------------------------------------------------------- */

.sa-footer {
  border-top: 1px solid var(--sa-line-soft);
  padding-block: 3rem 2.25rem;
}
.sa-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 2.5rem;
}
.sa-footer__about { margin-top: 0.75rem; max-width: 34ch; }
.sa-footer h4 { font-size: 0.8125rem; font-weight: 600; margin-bottom: 0.875rem; color: var(--sa-ink); }
.sa-footer ul { display: grid; gap: 0.5rem; font-size: 0.875rem; color: var(--sa-ink-muted); }
.sa-footer ul a { transition: color 0.18s var(--sa-ease); }
.sa-footer ul a:hover { color: var(--sa-brand); }
.sa-footer__note {
  margin-top: 2.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--sa-line-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: var(--sa-ink-faint);
}
.sa-footer__note p { max-width: 72ch; }

/* --- legal / long form prose ---------------------------------------------- */

.sa-legal { padding-block: clamp(2.5rem, 5vw, 4rem) clamp(3.5rem, 7vw, 6rem); }
.sa-legal__head {
  margin-bottom: clamp(2rem, 4vw, 3rem);
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--sa-line);
}
.sa-legal__meta {
  display: block;
  margin-top: 0.875rem;
  font-family: var(--sa-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sa-ink-faint);
}

.sa-prose { max-width: 72ch; }
.sa-prose h2 {
  font-size: 1.3125rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
  font-weight: 600;
  color: var(--sa-ink);
  margin-top: 2.75rem;
  margin-bottom: 0.75rem;
}
.sa-prose > h2:first-child { margin-top: 0; }
.sa-prose h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--sa-ink);
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
}
.sa-prose p,
.sa-prose li {
  color: var(--sa-ink-muted);
  font-size: 0.9375rem;
  line-height: 1.65;
}
.sa-prose p + p { margin-top: 0.875rem; }
.sa-prose ul,
.sa-prose ol {
  margin-top: 0.75rem;
  padding-left: 1.25rem;
  display: grid;
  gap: 0.4375rem;
}
.sa-prose ul li { list-style: disc; }
.sa-prose ol li { list-style: decimal; }
.sa-prose li::marker { color: var(--sa-ink-faint); }
.sa-prose strong { color: var(--sa-ink); font-weight: 600; }
.sa-prose a { color: var(--sa-brand); text-decoration: underline; text-underline-offset: 2px; }

.sa-callout {
  margin-top: 1.5rem;
  padding: 1.25rem 1.375rem;
  border: 1px solid var(--sa-brand-edge);
  border-radius: var(--sa-r-panel);
  background: var(--sa-brand-wash);
}
.sa-callout p { color: var(--sa-ink); }
.sa-callout p + p { margin-top: 0.625rem; }

/* --- reveal (content visible by default, JS opts in) ---------------------- */

.sa-js .sa-reveal {
  opacity: 0;
  transform: translate3d(0, 16px, 0);
  transition: opacity 0.62s var(--sa-ease), transform 0.62s var(--sa-ease);
}
.sa-js .sa-reveal.is-in { opacity: 1; transform: none; }

/* --- responsive ----------------------------------------------------------- */

@media (max-width: 1024px) {
  :root { --sa-shell: min(1280px, 100% - 2.5rem); }
  .sa-hero__grid { grid-template-columns: 1fr; }
  .sa-hero__media { aspect-ratio: 16 / 9; }
  .sa-products, .sa-quotes { grid-template-columns: 1fr; }
  .sa-tile--wide, .sa-tile--narrow { grid-column: span 6; }
  .sa-tile--half { grid-column: span 3; }
  .sa-footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 767px) {
  :root { --sa-shell: min(1280px, 100% - 2rem); }
  .sa-nav__links { display: none; }
  .sa-nav__toggle { display: inline-flex; }
  .sa-nav.is-open .sa-nav__links {
    position: absolute;
    inset: 100% 0 auto;
    z-index: var(--sa-z-menu);
    display: grid;
    gap: 0;
    margin: 0;
    padding: 0.5rem 1rem 1rem;
    background: var(--sa-bg);
    border-bottom: 1px solid var(--sa-line);
  }
  .sa-nav.is-open .sa-nav__links a { padding: 0.8125rem 0; border-top: 1px solid var(--sa-line-soft); }
  .sa-nav__cta { display: none; }

  .sa-hero__actions .sa-btn { flex: 1 1 100%; }
  .sa-tile--wide, .sa-tile--half, .sa-tile--narrow { grid-column: span 6; }
  .sa-steps { grid-template-columns: 1fr; }
  .sa-step + .sa-step { border-left: 0; border-top: 1px solid var(--sa-line); }
  .sa-faq { grid-template-columns: 1fr; }
  .sa-band { flex-direction: column; align-items: flex-start; }
  .sa-band .sa-btn { width: 100%; }
  .sa-footer__grid { grid-template-columns: 1fr; }
  /* touch targets: inline footer links are 18px tall unaided */
  .sa-footer ul { gap: 0; }
  .sa-footer ul a { display: block; padding-block: 0.5625rem; }
}

@media (prefers-reduced-motion: reduce) {
  .sa *,
  .sa *::before,
  .sa *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .sa-js .sa-reveal { opacity: 1; transform: none; }
}