/*
 * Color system — WCAG AA verified (relative-luminance formula, not guessed).
 * Page background is deliberately warm and bright; #FFFFFF is reserved
 * for elevated card surfaces against an off-white canvas.
 *
 * LIGHT MODE contrast ratios (needs 4.5:1 normal text / 3:1 large/UI):
 *   --sc-ink   on --sc-bg  : 16.27:1 (AAA)
 *   --sc-muted on --sc-bg  :  6.55:1 (AA, near-AAA)
 *   --sc-brand-ink on --sc-brand : 11.96:1 (AAA)
 * The marketing site is intentionally light-only so it never drops into
 * a dull dark theme from the visitor's system preference.
 * Re-verify with a contrast-checker tool before shipping as a sanity check.
 */
:root {
  color-scheme: light;
  --sc-bg: #fffdf5;
  --sc-bg-alt: #f6f0df;
  --sc-surface: #ffffff;
  --sc-ink: #1c1b1f;
  --sc-muted: #57534a;
  --sc-border: #e9dfc2;
  --sc-brand: #ffd400;
  --sc-brand-soft: #fff3a8;
  --sc-success: #15803d;
  --sc-blue: #2563eb;
  --sc-coral: #ef4444;
  --sc-brand-ink: #1c1b1f;
  --sc-focus-ring: #0b57d0;
  --sc-shadow: 0 24px 70px -34px rgba(28, 27, 31, 0.34);
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: light;
  }
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'DM Sans', 'Montserrat', system-ui, -apple-system, sans-serif;
  color: var(--sc-ink);
  background:
    radial-gradient(circle at 0 0, rgba(255, 212, 0, 0.2), transparent 32rem),
    linear-gradient(180deg, #fffef9 0%, var(--sc-bg) 24rem);
  scroll-behavior: smooth;
  line-height: 1.6;
}

/* Bootstrap's .text-muted uses its own --bs-secondary-color, unrelated to
   our palette — this was the single biggest cause of the site reading as
   flat grey. One override fixes every use of the utility class at once. */
.text-muted {
  color: var(--sc-muted) !important;
}

/* Links: dark ink with a brand-yellow underline, not the Bootstrap-default
   blue (there was no global `a` rule before this — every inline link fell
   back to #0d6efd). Deliberately not a new blue/colored hue, so it reads
   as branded rather than generic. */
a {
  color: var(--sc-ink);
  text-decoration: underline;
  text-decoration-color: var(--sc-brand);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  font-weight: 500;
}

a:hover {
  color: var(--sc-ink);
  text-decoration-thickness: 3px;
}

/* Elements that shouldn't get the branded-underline treatment: nav links,
   buttons styled as links, card titles that happen to be wrapped in <a>. */
.navbar-nav a,
.navbar-brand,
.btn,
footer a,
.back-home-link {
  text-decoration: none;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--sc-ink);
  margin-bottom: 0.5rem;
}

.eyebrow::before {
  content: '';
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: var(--sc-brand);
  display: inline-block;
}

.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 12px;
  background: rgba(255, 212, 0, 0.18);
  color: var(--sc-ink);
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 0.9rem;
}

@media (prefers-reduced-motion: reduce) {
  body {
    scroll-behavior: auto;
  }
}

h1,
h2,
h3,
.fw-brand {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-weight: 700;
}

/* Local layout fallback for the small Bootstrap subset this static site uses.
   The CDN stylesheet is still loaded, but the page should remain polished if
   a privacy tool, captive portal, or CDN outage blocks third-party CSS. */
.container {
  width: min(100% - 2rem, 1140px);
  margin-inline: auto;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-inline: calc(var(--bs-gutter-x, 1.5rem) * -0.5);
  margin-top: calc(var(--bs-gutter-y, 0) * -1);
}

.row > * {
  width: 100%;
  max-width: 100%;
  padding-inline: calc(var(--bs-gutter-x, 1.5rem) * 0.5);
  margin-top: var(--bs-gutter-y, 0);
}

.g-3 {
  --bs-gutter-x: 1rem;
  --bs-gutter-y: 1rem;
}

.g-4 {
  --bs-gutter-x: 1.5rem;
  --bs-gutter-y: 1.5rem;
}

.g-5 {
  --bs-gutter-x: 3rem;
  --bs-gutter-y: 3rem;
}

.col-6 {
  flex: 0 0 auto;
  width: 50%;
}

.col-12 {
  flex: 0 0 auto;
  width: 100%;
}

.d-flex {
  display: flex !important;
}

.flex-wrap {
  flex-wrap: wrap !important;
}

.flex-column {
  flex-direction: column !important;
}

.justify-content-center {
  justify-content: center !important;
}

.justify-content-between {
  justify-content: space-between !important;
}

.justify-content-end {
  justify-content: flex-end !important;
}

.align-items-center {
  align-items: center !important;
}

.gap-3 {
  gap: 1rem !important;
}

.text-center {
  text-align: center !important;
}

.text-md-end {
  text-align: inherit;
}

.mx-auto {
  margin-inline: auto !important;
}

.mt-3 {
  margin-top: 1rem !important;
}

.mt-4 {
  margin-top: 1.5rem !important;
}

.mb-0 {
  margin-bottom: 0 !important;
}

.mb-1 {
  margin-bottom: 0.25rem !important;
}

.mb-2 {
  margin-bottom: 0.5rem !important;
}

.mb-4 {
  margin-bottom: 1.5rem !important;
}

.mb-5 {
  margin-bottom: 3rem !important;
}

.py-3 {
  padding-block: 1rem !important;
}

.py-5 {
  padding-block: 3rem !important;
}

.pt-4 {
  padding-top: 1.5rem !important;
}

.px-4 {
  padding-inline: 1.5rem !important;
}

.px-5 {
  padding-inline: 3rem !important;
}

.small {
  font-size: 0.875rem;
}

.h3 {
  font-size: 1.75rem;
}

.h5 {
  font-size: 1.25rem;
}

.h6 {
  font-size: 1rem;
}

.border-top {
  border-top: 1px solid var(--sc-border) !important;
}

.rounded-pill {
  border-radius: 999px !important;
}

.sticky-top {
  position: sticky;
  top: 0;
  z-index: 1020;
}

.navbar > .container,
.navbar-collapse,
.navbar-nav {
  display: flex;
  align-items: center;
}

.navbar > .container {
  justify-content: space-between;
  gap: 1rem;
}

.navbar-collapse {
  justify-content: flex-end;
}

.navbar-nav {
  list-style: none;
  padding-left: 0;
  margin: 0;
  gap: 1rem;
}

.navbar-toggler {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.65rem;
  padding: 0.62rem 1.2rem;
  border-radius: 8px;
  text-align: center;
  line-height: 1.1;
}

.btn-lg {
  min-height: 3rem;
  font-size: 1.05rem;
}

@media (min-width: 576px) {
  .flex-sm-row {
    flex-direction: row !important;
  }

  .align-items-sm-center {
    align-items: center !important;
  }
}

@media (min-width: 768px) {
  .col-md-3 {
    flex: 0 0 auto;
    width: 25%;
  }

  .col-md-4 {
    flex: 0 0 auto;
    width: 33.333333%;
  }

  .col-md-6 {
    flex: 0 0 auto;
    width: 50%;
  }

  .align-items-md-center {
    align-items: center !important;
  }

  .text-md-end {
    text-align: right !important;
  }
}

@media (min-width: 992px) {
  .col-lg-2 {
    flex: 0 0 auto;
    width: 16.666667%;
  }

  .col-lg-4 {
    flex: 0 0 auto;
    width: 33.333333%;
  }

  .col-lg-6 {
    flex: 0 0 auto;
    width: 50%;
  }

  .col-lg-8 {
    flex: 0 0 auto;
    width: 66.666667%;
  }
}

@media (max-width: 767.98px) {
  .navbar > .container,
  .navbar-collapse,
  .navbar-nav {
    align-items: stretch;
  }

  .navbar > .container {
    flex-direction: column;
  }

  .navbar-collapse,
  .navbar-nav {
    width: 100%;
    flex-direction: column;
  }
}

/* Skip-to-content link: visually hidden until keyboard-focused */
.skip-link {
  position: absolute;
  top: -3rem;
  left: 1rem;
  z-index: 2000;
  background: var(--sc-surface);
  color: var(--sc-ink);
  padding: 0.6rem 1rem;
  border-radius: 6px;
  border: 2px solid var(--sc-brand);
  transition: top 0.15s ease;
}

.skip-link:focus {
  top: 1rem;
}

/* Visible focus indicator for all keyboard-navigable elements */
a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--sc-focus-ring);
  outline-offset: 2px;
}

.navbar {
  background: rgba(255, 253, 245, 0.9);
  border-bottom: 1px solid rgba(233, 223, 194, 0.75);
  backdrop-filter: blur(18px);
}

.navbar.is-scrolled {
  box-shadow: 0 16px 42px -32px rgba(28, 27, 31, 0.45);
}

.navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.navbar-brand::before {
  content: 'S';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--sc-brand) 0%, #ffb800 100%);
  color: var(--sc-ink);
  box-shadow: 0 12px 26px -16px rgba(28, 27, 31, 0.7);
  font-weight: 800;
}

.nav-link {
  color: var(--sc-muted);
  font-weight: 700;
}

.nav-link:hover,
.nav-link:focus {
  color: var(--sc-ink);
}

.btn-brand {
  background: var(--sc-brand);
  color: var(--sc-brand-ink);
  font-weight: 800;
  border: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-brand:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 212, 0, 0.35);
  color: var(--sc-brand-ink);
}

.hero {
  position: relative;
  padding: 5.75rem 0 4.25rem;
  background:
    linear-gradient(135deg, rgba(255, 212, 0, 0.17), transparent 36%),
    linear-gradient(180deg, #fff9d7 0%, var(--sc-bg) 100%);
  overflow: hidden;
}

/* Soft layered brand-color blobs behind the headline — pure CSS, no image
   asset needed, gives the most important "first impression" section of
   the page actual depth instead of a flat two-stop gradient. */
.hero::before,
.hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  z-index: 0;
  pointer-events: none;
}

.hero::before {
  width: 26rem;
  height: 26rem;
  top: -10rem;
  right: -6rem;
  background: rgba(255, 212, 0, 0.28);
}

.hero::after {
  width: 20rem;
  height: 20rem;
  bottom: -8rem;
  left: -6rem;
  background: rgba(255, 212, 0, 0.16);
}

.hero > .container {
  position: relative;
  z-index: 1;
}

.hero__headline {
  max-width: 780px;
  font-size: clamp(2.35rem, 5vw, 4.7rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero__sub {
  color: var(--sc-muted);
  font-size: clamp(1.04rem, 2vw, 1.2rem);
  max-width: 660px;
}

.hero__trust {
  color: var(--sc-muted);
  font-size: 0.9rem;
}

.hero__visual {
  position: relative;
  max-width: 520px;
  margin: 2rem auto 0;
}

.hero__visual::before {
  content: '';
  position: absolute;
  inset: 11% -5% -4% 6%;
  z-index: -1;
  border-radius: 36px;
  background: linear-gradient(135deg, rgba(255, 212, 0, 0.46), rgba(37, 99, 235, 0.14));
  filter: blur(24px);
}

.hero__visual img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 34px 38px rgba(28, 27, 31, 0.22));
}

.hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.4rem;
}

.store-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.2rem;
}

.store-links--center {
  justify-content: center;
}

.store-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 11.8rem;
  min-height: 4rem;
  padding: 0.7rem 1rem;
  border: 1px solid rgba(28, 27, 31, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--sc-ink);
  text-decoration: none;
  box-shadow: 0 16px 38px -32px rgba(28, 27, 31, 0.55);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.store-link:hover {
  color: var(--sc-ink);
  border-color: var(--sc-brand);
  transform: translateY(-2px);
  box-shadow: 0 22px 52px -34px rgba(28, 27, 31, 0.65);
  text-decoration: none;
}

.store-link--dark {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--sc-bg);
}

.store-link--dark:hover {
  color: var(--sc-bg);
}

.store-link__icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 12px;
  background: var(--sc-brand);
  color: var(--sc-ink);
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
}

.store-link__icon--ios::before {
  content: 'iOS';
  font-size: 0.72rem;
}

.store-link__icon--android::before {
  content: '';
  width: 0;
  height: 0;
  border-top: 0.48rem solid transparent;
  border-bottom: 0.48rem solid transparent;
  border-left: 0.78rem solid var(--sc-ink);
  margin-left: 0.15rem;
}

.store-link__eyebrow,
.store-link__label {
  display: block;
  line-height: 1.1;
}

.store-link__eyebrow {
  color: var(--sc-muted);
  font-size: 0.74rem;
  font-weight: 700;
}

.store-link--dark .store-link__eyebrow {
  color: rgba(255, 253, 245, 0.7);
}

.store-link__label {
  margin-top: 0.15rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 800;
}

.proof-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.52rem 0.78rem;
  border: 1px solid rgba(28, 27, 31, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--sc-ink);
  font-size: 0.88rem;
  font-weight: 700;
  box-shadow: 0 14px 34px -28px rgba(28, 27, 31, 0.45);
}

.proof-pill::before {
  content: '';
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--sc-success);
}

.stat-strip {
  padding: 2.6rem 0;
  border-top: 1px solid var(--sc-border);
  border-bottom: 1px solid var(--sc-border);
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 212, 0, 0.2), transparent 15rem),
    rgba(255, 255, 255, 0.78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.stat-card {
  height: 100%;
  min-height: 9rem;
  padding: 1.25rem;
  border: 1px solid rgba(233, 223, 194, 0.9);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff 0%, #fff9dd 100%);
  box-shadow: 0 18px 42px -34px rgba(28, 27, 31, 0.4);
  text-align: left;
}

.stat-card::before {
  content: '';
  display: block;
  width: 2rem;
  height: 0.35rem;
  border-radius: 999px;
  background: var(--sc-brand);
  margin-bottom: 1.1rem;
}

.stat-number {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1;
  color: var(--sc-ink);
}

.stat-label {
  color: var(--sc-muted);
  font-size: 0.92rem;
  font-weight: 700;
  margin-top: 0.65rem;
}

.feature-card,
.pricing-card {
  background: var(--sc-surface);
  border: 1px solid var(--sc-border);
  border-radius: 8px;
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card {
  padding: 1.75rem;
  box-shadow: 0 12px 32px -30px rgba(28, 27, 31, 0.52);
}

.feature-card:hover,
.pricing-card:hover,
.cert-type-card:hover,
.tool-chip:hover,
.comparison-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sc-shadow);
}

.cert-type-card,
.tool-chip,
.comparison-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pricing-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 1.45rem;
  text-align: left;
  background:
    linear-gradient(135deg, rgba(255, 212, 0, 0.11), transparent 42%),
    var(--sc-surface);
  box-shadow: 0 16px 42px -36px rgba(28, 27, 31, 0.44);
}

.pricing-card::after {
  content: '';
  position: absolute;
  right: -2.4rem;
  bottom: -2.7rem;
  width: 8rem;
  height: 8rem;
  border-radius: 50%;
  background: rgba(255, 212, 0, 0.14);
  pointer-events: none;
}

.pricing-card--best {
  border-color: var(--sc-brand);
  background:
    linear-gradient(180deg, #fffef8 0%, #fff7c7 100%);
  box-shadow: 0 24px 60px -32px rgba(255, 184, 0, 0.85);
}

.pricing-card__top {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.15rem;
}

.pricing-card__badge,
.pricing-card__popular {
  display: inline-flex;
  align-items: center;
  min-height: 1.85rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
}

.pricing-card__badge {
  background: var(--sc-brand);
  color: var(--sc-brand-ink);
}

.pricing-card__popular {
  background: #e8f7ed;
  color: var(--sc-success);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pricing-card__label,
.pricing-card__subtitle,
.pricing-card__price-row,
.pricing-card__percert,
.pricing-card__accent,
.pricing-card__features {
  position: relative;
  z-index: 1;
}

.pricing-card__label {
  margin-bottom: 0.2rem;
  font-size: 1.2rem;
}

.pricing-card__price-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin: 1.25rem 0 0.35rem;
}

.pricing-card__price {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1;
}

.pricing-card__subtitle,
.pricing-card__percert {
  color: var(--sc-muted);
  font-size: 0.9rem;
}

.pricing-card__credits {
  color: var(--sc-ink);
  font-weight: 800;
}

.pricing-card__percert {
  display: inline-flex;
  width: fit-content;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 212, 0, 0.22);
  color: var(--sc-ink);
  font-weight: 800;
}

.pricing-card__accent {
  margin: 1rem 0 0.85rem;
  color: var(--sc-muted);
  font-weight: 700;
}

.pricing-card__features {
  display: grid;
  gap: 0.65rem;
  list-style: none;
  padding: 0;
  margin: auto 0 0;
}

.pricing-card__features li {
  position: relative;
  padding-left: 1.55rem;
  color: var(--sc-ink);
  font-size: 0.9rem;
}

.pricing-card__features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.38rem;
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 50%;
  background: var(--sc-success);
  box-shadow: inset 0 0 0 3px #e8f7ed;
}

.section-alt {
  background:
    linear-gradient(180deg, rgba(255, 246, 199, 0.54), rgba(255, 253, 245, 0.72)),
    var(--sc-bg-alt);
  border-block: 1px solid rgba(233, 223, 194, 0.75);
}

/* How It Works — numbered step cards */
.step-card {
  text-align: center;
  height: 100%;
  padding: 1.35rem 1rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(233, 223, 194, 0.9);
}

.step-card__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--sc-brand);
  color: var(--sc-brand-ink);
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

/* Certificate-type cards — left border uses each cert type's own brand
   color, matching the in-app color coding (src/constants/certificateTypes.js) */
.cert-type-card {
  background: var(--sc-surface);
  border: 1px solid var(--sc-border);
  border-left-width: 4px;
  border-left-style: solid;
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  height: 100%;
}

/* Business-tool chips */
.tool-chip {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 212, 0, 0.1), transparent 42%),
    var(--sc-surface);
  border: 1px solid var(--sc-border);
  border-radius: 8px;
  padding: 1.35rem;
  height: 100%;
  min-height: 12rem;
  box-shadow: 0 16px 42px -36px rgba(28, 27, 31, 0.44);
}

.tool-chip::after {
  content: '';
  position: absolute;
  right: -2rem;
  bottom: -2.4rem;
  width: 7rem;
  height: 7rem;
  border-radius: 50%;
  background: rgba(255, 212, 0, 0.16);
  pointer-events: none;
}

.tool-chip__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.icon-badge--tool {
  width: auto;
  min-width: 4.1rem;
  padding-inline: 0.8rem;
  margin-bottom: 0;
  border-radius: 999px;
  background: #fff1a6;
  font-size: 0.86rem;
}

.tool-chip__free {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  min-height: 1.7rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: #e8f7ed;
  color: var(--sc-success);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.tool-chip h3,
.tool-chip p {
  position: relative;
  z-index: 1;
}

/* Comparison strip */
.comparison-card {
  background: var(--sc-surface);
  border: 1px solid var(--sc-border);
  border-radius: 8px;
  padding: 2rem;
  height: 100%;
}

.comparison-card--brand {
  border-color: var(--sc-brand);
  background: linear-gradient(180deg, #fffef8 0%, #fff7c7 100%);
  box-shadow: 0 18px 42px -26px rgba(255, 184, 0, 0.8);
}

.comparison-card__eyebrow {
  color: var(--sc-muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
}

.comparison-card__figure {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.comparison-card__unit {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 1rem;
  color: var(--sc-muted);
}

/* FAQ accordion */
.accordion {
  display: grid;
  gap: 0.9rem;
}

.accordion-item,
.faq-card {
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 212, 0, 0.08), transparent 42%),
    var(--sc-surface);
  border: 1px solid var(--sc-border);
  border-radius: 8px !important;
  box-shadow: 0 16px 42px -38px rgba(28, 27, 31, 0.45);
}

.accordion-button {
  appearance: none;
  border: 0;
  display: flex;
  gap: 0.95rem;
  align-items: center;
  width: 100%;
  padding: 1.15rem 1.25rem;
  background: transparent;
  color: var(--sc-ink);
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.accordion-button::after {
  content: '+';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  margin-left: auto;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background-color: rgba(255, 212, 0, 0.25);
  background-image: none !important;
  color: var(--sc-ink);
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.accordion-button:not(.collapsed) {
  background: linear-gradient(180deg, #fffef8 0%, #fff8d2 100%);
  color: var(--sc-ink);
  box-shadow: none;
}

.accordion-button:not(.collapsed)::after {
  content: '-';
  background-color: var(--sc-brand);
  transform: rotate(180deg);
}

.accordion-button:focus {
  box-shadow: none;
}

.accordion-button:focus-visible {
  outline: 3px solid var(--sc-focus-ring);
  outline-offset: -3px;
}

.accordion .collapse:not(.show) {
  display: none;
}

.accordion .collapsing {
  height: 0;
  overflow: hidden;
  transition: height 0.2s ease;
}

.faq-card__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 12px;
  background: var(--sc-brand);
  color: var(--sc-ink);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.86rem;
  font-weight: 800;
}

.faq-card__question {
  text-align: left;
}

.accordion-body {
  padding: 0 1.25rem 1.25rem 4.55rem;
  color: var(--sc-muted);
}

.accordion-body p {
  max-width: 64ch;
  margin: 0;
}

/* Trust section */
.trust-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.trust-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.75rem;
  color: var(--sc-muted);
}

.trust-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.4rem;
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 50%;
  background: var(--sc-brand);
}

/* Final CTA band */
.final-cta {
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 212, 0, 0.34), transparent 17rem),
    linear-gradient(135deg, #1c1b1f 0%, #34302a 100%);
  color: var(--sc-bg);
  text-align: center;
}

.final-cta p {
  color: var(--sc-bg-alt);
}

/* Legal pages */
.legal-hero {
  padding: 4rem 0 2.35rem;
  background:
    radial-gradient(circle at 86% -12%, rgba(255, 212, 0, 0.44), transparent 21rem),
    linear-gradient(180deg, #fff9d7 0%, var(--sc-bg) 100%);
  border-bottom: 1px solid var(--sc-border);
}

.legal-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--sc-surface);
  border: 1px solid var(--sc-border);
  color: var(--sc-muted);
  font-size: 0.85rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
}

.legal-badge::before {
  content: '';
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--sc-brand);
  display: inline-block;
}

.legal-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 760px);
  gap: 3rem;
  align-items: start;
}

@media (max-width: 767.98px) {
  .legal-layout {
    grid-template-columns: 1fr;
  }
}

.legal-toc {
  position: sticky;
  top: 5.5rem;
  padding: 1rem;
  border: 1px solid var(--sc-border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 16px 42px -36px rgba(28, 27, 31, 0.5);
}

.legal-toc__title {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--sc-muted);
  margin-bottom: 0.75rem;
}

.legal-toc ul {
  list-style: none;
  padding: 0;
  margin: 0;
  border-left: 2px solid var(--sc-border);
}

.legal-toc li {
  margin-bottom: 0.6rem;
}

.legal-toc a {
  display: block;
  padding: 0.1rem 0 0.1rem 0.9rem;
  margin-left: -2px;
  border-left: 2px solid transparent;
  color: var(--sc-muted);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
}

.legal-toc a:hover {
  color: var(--sc-ink);
  border-left-color: var(--sc-brand);
}

/* Constrained measure for readability (WCAG 1.4.8 guidance on line
   length), generous line-height for long-form reading. */
.legal-content {
  line-height: 1.7;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--sc-border);
  border-radius: 8px;
  padding: clamp(1.2rem, 3vw, 2.4rem);
  box-shadow: 0 20px 60px -48px rgba(28, 27, 31, 0.45);
}

.legal-content h2 {
  margin-top: 2.5rem;
  font-size: 1.25rem;
  scroll-margin-top: 5.5rem;
}

.legal-content h2:first-of-type {
  margin-top: 0;
}

.legal-content p,
.legal-content li {
  color: var(--sc-ink);
}

.legal-content ul {
  padding-left: 1.25rem;
}

.legal-callout {
  background: var(--sc-bg-alt);
  border-left: 4px solid var(--sc-brand);
  border-radius: 0 10px 10px 0;
  padding: 1.1rem 1.4rem;
  margin: 1.25rem 0;
}

.legal-callout p {
  margin-bottom: 0;
  font-weight: 500;
}

.back-home-link {
  display: inline-block;
  margin-top: 3rem;
}

footer {
  border-top: 1px solid var(--sc-border);
  background: #fffbf0;
}

@media (min-width: 992px) {
  .hero .row {
    min-height: 560px;
  }
}

@media (max-width: 767.98px) {
  .navbar .btn-brand {
    width: 100%;
    margin-top: 0.75rem;
  }

  .hero {
    padding-top: 4.25rem;
  }

  .hero__proof {
    justify-content: center;
  }

  .store-links {
    justify-content: center;
  }

  .store-link {
    width: min(100%, 18rem);
  }

  .legal-toc {
    position: static;
  }
}

footer a {
  color: var(--sc-muted);
  text-decoration: none;
}

footer a:hover {
  color: var(--sc-ink);
  text-decoration: underline;
}

/* Motion-reduction: AOS still injects its own transform/opacity styles
   unless explicitly told not to animate (see js/main.js AOS.init disable
   option) — this is a belt-and-braces CSS fallback for that setting. */
@media (prefers-reduced-motion: reduce) {
  [data-aos] {
    transform: none !important;
    opacity: 1 !important;
    transition: none !important;
  }
}
