/* =====================================================================
   BuyTwitchFollowers.site — Shared stylesheet
   Mobile-first, dark SaaS theme, Twitch-inspired purple accent.
   ===================================================================== */

:root {
  /* Surfaces */
  --bg: #0e0e10;
  --surface: #18181b;
  --surface-2: #1f1f23;
  --surface-3: #26262c;
  --border: #2a2a2e;
  --border-soft: #232327;

  /* Brand */
  --primary: #9147ff;
  --primary-hover: #772ce8;
  --primary-active: #5c16b5;
  --primary-soft: rgba(145, 71, 255, 0.15);
  --primary-glow: rgba(145, 71, 255, 0.35);

  /* Text */
  --text: #efeff1;
  --text-soft: #d4d4d8;
  --muted: #adadb8;
  --muted-2: #84848f;

  /* Status */
  --success: #00b87c;
  --success-soft: rgba(0, 184, 124, 0.15);
  --warning: #ffb800;
  --danger: #ef4444;

  /* Type */
  --font: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto,
    Helvetica, Arial, sans-serif;

  /* Layout */
  --container: 1200px;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-pill: 999px;

  /* Effects */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.45);
  --ring: 0 0 0 3px var(--primary-soft);
}

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--primary-hover);
}

ul,
ol {
  margin: 0;
  padding: 0;
}

ul.clean,
ol.clean {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 0.5em;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}

h1 {
  font-size: clamp(1.9rem, 1.2rem + 3.4vw, 3.1rem);
}
h2 {
  font-size: clamp(1.5rem, 1.1rem + 1.8vw, 2.15rem);
}
h3 {
  font-size: clamp(1.15rem, 1rem + 0.7vw, 1.4rem);
}
h4 {
  font-size: 1.05rem;
}

p {
  margin: 0 0 1rem;
}

p:last-child {
  margin-bottom: 0;
}

small {
  color: var(--muted);
}

/* --------------------------- Layout ------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}

.section {
  padding-block: clamp(48px, 8vw, 96px);
}

.section--tight {
  padding-block: clamp(32px, 5vw, 56px);
}

.section--alt {
  background: var(--surface);
  border-block: 1px solid var(--border-soft);
}

.section--hero {
  padding-top: clamp(56px, 9vw, 110px);
  padding-bottom: clamp(48px, 7vw, 80px);
}

.bg-grad {
  background:
    radial-gradient(60% 50% at 50% 0%, var(--primary-soft), transparent 70%),
    var(--bg);
}

.lead {
  font-size: clamp(1.05rem, 1rem + 0.4vw, 1.25rem);
  color: var(--muted);
  max-width: 60ch;
}

.center {
  text-align: center;
}

.center .lead {
  margin-inline: auto;
}

.section-head {
  max-width: 720px;
  margin: 0 auto clamp(32px, 5vw, 56px);
  text-align: center;
}

.section-head .lead {
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  background: var(--primary-soft);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}

/* --------------------------- Buttons ------------------------------ */
.btn {
  --btn-bg: var(--primary);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font: inherit;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  border: 1px solid transparent;
  background: var(--btn-bg);
  color: var(--btn-fg);
  padding: 13px 22px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: transform 0.12s ease, background 0.15s ease, box-shadow 0.15s ease,
    border-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

.btn:hover {
  background: var(--primary-hover);
  color: #fff;
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn:focus-visible {
  outline: none;
  box-shadow: var(--ring);
}

.btn--primary {
  background: var(--primary);
  box-shadow: 0 8px 24px var(--primary-glow);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn--ghost:hover {
  background: var(--surface-2);
  border-color: var(--primary);
  color: #fff;
}

.btn--light {
  background: #fff;
  color: #0e0e10;
}

.btn--light:hover {
  background: #e9e9ec;
  color: #0e0e10;
}

.btn--lg {
  padding: 16px 28px;
  font-size: 1.05rem;
}

.btn--block {
  width: 100%;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* ----------------------------- Header ----------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(14, 14, 16, 0.82);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--border-soft);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--border);
  background: rgba(14, 14, 16, 0.94);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 66px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.05rem;
  color: #fff;
  letter-spacing: -0.01em;
}

.brand:hover {
  color: #fff;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--primary), #5c16b5);
  box-shadow: 0 4px 14px var(--primary-glow);
  flex: 0 0 auto;
}

.brand__name span {
  color: var(--primary);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__links a {
  display: inline-block;
  color: var(--text-soft);
  font-size: 0.94rem;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 8px;
}

.nav__links a:hover {
  color: #fff;
  background: var(--surface-2);
}

.nav__links a[aria-current="page"] {
  color: #fff;
}

.has-dropdown {
  position: relative;
}

.has-dropdown > a::after {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  margin-left: 6px;
  vertical-align: middle;
  opacity: 0.7;
}

.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 250px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
}

.has-dropdown:hover > .dropdown,
.has-dropdown:focus-within > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown li {
  margin: 0;
}

.dropdown a {
  display: block;
  padding: 9px 12px;
  border-radius: 7px;
  font-size: 0.9rem;
}

.nav__cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  border-radius: 10px;
  cursor: pointer;
  color: #fff;
  padding: 0;
  align-items: center;
  justify-content: center;
}

.nav-toggle svg {
  width: 20px;
  height: 20px;
}

@media (max-width: 960px) {
  .nav__links,
  .nav__cta .btn {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    height: 60px;
  }

  /* Mobile menu */
  .mobile-menu {
    display: block;
    position: fixed;
    inset: 60px 0 auto 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 16px 20px 24px;
    max-height: calc(100vh - 60px);
    overflow-y: auto;
    transform: translateY(-110%);
    transition: transform 0.25s ease;
    z-index: 49;
  }

  .mobile-menu.is-open {
    transform: translateY(0);
  }

  .mobile-menu ul {
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
  }

  .mobile-menu > ul > li > strong {
    display: block;
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted-2);
    margin: 14px 4px 6px;
  }

  .mobile-menu a {
    display: block;
    padding: 10px 12px;
    color: var(--text-soft);
    border-radius: 8px;
  }

  .mobile-menu a:hover {
    background: var(--surface-2);
    color: #fff;
  }
}

@media (min-width: 961px) {
  .mobile-menu {
    display: none !important;
  }
}

body.no-scroll {
  overflow: hidden;
}

/* --------------------------- Breadcrumbs -------------------------- */
.breadcrumbs {
  font-size: 0.86rem;
  color: var(--muted);
  margin-bottom: 20px;
}

.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0;
  margin: 0;
}

.breadcrumbs li {
  display: flex;
  align-items: center;
  gap: 6px;
}

.breadcrumbs li + li::before {
  content: "/";
  color: var(--muted-2);
  margin-right: 2px;
}

.breadcrumbs a {
  color: var(--muted);
}

.breadcrumbs a:hover {
  color: #fff;
}

.breadcrumbs [aria-current="page"] {
  color: var(--text);
}

/* ------------------------------ Hero ------------------------------ */
.hero {
  position: relative;
  overflow: hidden;
}

.hero__grid {
  display: grid;
  gap: 40px;
  align-items: center;
}

@media (min-width: 900px) {
  .hero__grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
  }
}

.hero h1 {
  margin-bottom: 18px;
}

.hero .lead {
  margin-bottom: 28px;
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 36px;
}

.hero__stat .num {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.hero__stat .lbl {
  font-size: 0.82rem;
  color: var(--muted);
}

/* Hero visual / package preview card */
.hero__card {
  background: linear-gradient(
    160deg,
    var(--surface-2),
    var(--surface)
  );
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.hero__card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: var(--radius);
  padding: 1px;
  background: linear-gradient(160deg, var(--primary-glow), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.hero__card h3 {
  margin-bottom: 4px;
}

.hero__card .price {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 2px;
}

.hero__card .price small {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
}

.hero__card ul {
  list-style: none;
  padding: 0;
  margin: 16px 0 20px;
  display: grid;
  gap: 10px;
}

.hero__card li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.94rem;
  color: var(--text-soft);
}

.check-ic {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  color: var(--success);
  margin-top: 3px;
}

/* --------------------------- Trust bar ---------------------------- */
.trust-bar {
  border-block: 1px solid var(--border-soft);
  background: var(--surface);
  padding-block: 18px;
}

.trust-bar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 28px;
  font-size: 0.88rem;
  color: var(--muted);
}

.trust-bar__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.trust-bar__item svg {
  width: 18px;
  height: 18px;
  color: var(--success);
}

.rating-stars {
  display: inline-flex;
  gap: 2px;
  color: var(--warning);
}

.rating-stars svg {
  width: 15px;
  height: 15px;
}

/* ----------------------------- Cards ------------------------------ */
.grid {
  display: grid;
  gap: 22px;
}

.grid--2 {
  grid-template-columns: 1fr;
}

.grid--3 {
  grid-template-columns: 1fr;
}

.grid--4 {
  grid-template-columns: 1fr;
}

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

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

.card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 26px;
  transition: transform 0.18s ease, border-color 0.18s ease,
    box-shadow 0.18s ease, background 0.18s ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: var(--border);
  box-shadow: var(--shadow);
}

.card__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--primary-soft);
  color: var(--primary);
  margin-bottom: 16px;
}

.card__icon svg {
  width: 24px;
  height: 24px;
}

.card h3 {
  margin-bottom: 8px;
}

.card p {
  color: var(--muted);
  margin: 0;
  font-size: 0.95rem;
}

.card .card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-weight: 600;
  font-size: 0.9rem;
}

.card .card__link svg {
  width: 15px;
  height: 15px;
  transition: transform 0.15s ease;
}

.card:hover .card__link svg {
  transform: translateX(3px);
}

/* ------------------------- Service / feature lists --------------- */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.feature-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--text-soft);
}

.feature-list svg {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  color: var(--primary);
  margin-top: 2px;
}

.bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  display: grid;
  gap: 8px;
}

.bullets li {
  position: relative;
  padding-left: 26px;
  color: var(--text-soft);
}

.bullets li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-soft);
}

/* --------------------------- Pricing ------------------------------ */
.pricing-grid {
  display: grid;
  gap: 22px;
}

@media (min-width: 900px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.price-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
}

.price-card--featured {
  border-color: var(--primary);
  background: linear-gradient(
    180deg,
    rgba(145, 71, 255, 0.08),
    var(--surface) 45%
  );
  box-shadow: 0 18px 50px rgba(145, 71, 255, 0.18);
}

.price-card__tag {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  box-shadow: 0 6px 16px var(--primary-glow);
}

.price-card__name {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.price-card__qty {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 18px;
}

.price-card__price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 4px;
}

.price-card__price .amt {
  font-size: 2.4rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1;
}

.price-card__price .cur {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--muted);
}

.price-card__note {
  font-size: 0.84rem;
  color: var(--muted);
  margin-bottom: 20px;
}

.price-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: grid;
  gap: 10px;
  flex: 1;
}

.price-card li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.92rem;
  color: var(--text-soft);
}

.price-card li svg {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  color: var(--success);
  margin-top: 3px;
}

/* ----------------------------- Steps ------------------------------ */
.steps {
  counter-reset: step;
  display: grid;
  gap: 22px;
}

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

.step {
  position: relative;
  padding: 28px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  background: var(--surface);
}

.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: block;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 14px;
  letter-spacing: -0.04em;
}

.step h3 {
  margin-bottom: 8px;
}

.step p {
  color: var(--muted);
  margin: 0;
  font-size: 0.95rem;
}

/* --------------------------- Testimonials ------------------------- */
.testimonial {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 26px;
}

.testimonial__stars {
  color: var(--warning);
  margin-bottom: 14px;
  display: inline-flex;
  gap: 2px;
}

.testimonial__stars svg {
  width: 16px;
  height: 16px;
}

.testimonial blockquote {
  margin: 0 0 18px;
  font-size: 0.98rem;
  color: var(--text-soft);
  line-height: 1.6;
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #5c16b5);
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  flex: 0 0 auto;
}

.testimonial__name {
  font-weight: 600;
  color: #fff;
  font-size: 0.92rem;
  line-height: 1.2;
}

.testimonial__meta {
  font-size: 0.8rem;
  color: var(--muted);
}

/* ------------------------------ FAQ ------------------------------- */
.faq {
  max-width: 820px;
  margin-inline: auto;
}

.faq-item {
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  background: var(--surface);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-item__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  background: transparent;
  border: 0;
  color: #fff;
  font: inherit;
  font-weight: 600;
  font-size: 1.02rem;
  padding: 18px 20px;
  cursor: pointer;
}

.faq-item__q:hover {
  background: var(--surface-2);
}

.faq-item__q:focus-visible {
  outline: none;
  box-shadow: var(--ring);
}

.faq-item__icon {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  color: var(--primary);
  transition: transform 0.2s ease;
}

.faq-item.is-open .faq-item__icon {
  transform: rotate(45deg);
}

.faq-item__a {
  display: none;
  padding: 0 20px 20px;
  color: var(--muted);
}

/* When JS is disabled, details fallback keeps content open */
.faq-item.is-open .faq-item__a,
.faq-nojs .faq-item__a {
  display: block;
}

/* ------------------------------ CTA ------------------------------- */
.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: linear-gradient(
    135deg,
    rgba(145, 71, 255, 0.18),
    rgba(92, 22, 181, 0.12)
  );
  border: 1px solid var(--primary);
  padding: clamp(36px, 6vw, 64px);
  text-align: center;
}

.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    60% 80% at 50% 0%,
    var(--primary-glow),
    transparent 70%
  );
  pointer-events: none;
}

.cta-band > * {
  position: relative;
}

.cta-band h2 {
  margin-bottom: 14px;
}

.cta-band .lead {
  margin-inline: auto;
  margin-bottom: 28px;
}

/* ----------------------------- Article ---------------------------- */
.prose {
  max-width: 760px;
  margin-inline: auto;
}

.prose > * + * {
  margin-top: 1.1rem;
}

.prose h2 {
  margin-top: 2.2rem;
}

.prose h3 {
  margin-top: 1.6rem;
}

.prose p,
.prose li {
  color: var(--text-soft);
}

.prose a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose ul,
.prose ol {
  padding-left: 1.3rem;
}

.prose li + li {
  margin-top: 6px;
}

.prose blockquote {
  border-left: 3px solid var(--primary);
  padding: 4px 0 4px 18px;
  margin: 1.4rem 0;
  color: var(--muted);
  font-style: italic;
}

.prose img {
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-soft);
}

.takeaways {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--primary);
  border-radius: var(--radius-sm);
  padding: 20px 22px;
}

.takeaways h3 {
  margin-bottom: 10px;
}

.takeaways ul {
  margin: 0;
  padding-left: 1.2rem;
}

.author-box {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 20px;
  margin-top: 2rem;
}

.author-box .avatar {
  width: 48px;
  height: 48px;
}

.author-box strong {
  color: #fff;
}

.author-box p {
  margin: 4px 0 0;
  font-size: 0.92rem;
  color: var(--muted);
}

/* ------------------------------ Forms ----------------------------- */
.form {
  display: grid;
  gap: 16px;
}

.field {
  display: grid;
  gap: 6px;
}

.field label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-soft);
}

.field input,
.field select,
.field textarea {
  font: inherit;
  width: 100%;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: var(--ring);
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.form-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 38px);
}

/* ---------------------------- Two-col ----------------------------- */
.split {
  display: grid;
  gap: 40px;
  align-items: start;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 56px;
  }
}

.split--wide-left {
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
}

/* --------------------------- Payments ----------------------------- */
.pay-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 0.86rem;
}

.pay-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-soft);
}

.pay-badge svg {
  width: 16px;
  height: 16px;
}

/* ---------------------------- Page head --------------------------- */
.page-hero {
  padding-block: clamp(40px, 6vw, 72px);
}

.page-hero h1 {
  margin-bottom: 16px;
}

.page-hero .lead {
  margin-bottom: 0;
}

/* ----------------------------- Footer ----------------------------- */
.site-footer {
  background: #0a0a0c;
  border-top: 1px solid var(--border-soft);
  padding-block: clamp(48px, 6vw, 72px) 28px;
}

.footer__grid {
  display: grid;
  gap: 36px;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

@media (min-width: 980px) {
  .footer__grid {
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
  }
}

.footer__brand p {
  color: var(--muted);
  font-size: 0.92rem;
  max-width: 32ch;
  margin-top: 14px;
}

.footer__col h4 {
  color: #fff;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.footer__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 9px;
}

.footer__col a {
  color: var(--muted);
  font-size: 0.92rem;
}

.footer__col a:hover {
  color: #fff;
}

.footer__bottom {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--border-soft);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  color: var(--muted-2);
  font-size: 0.86rem;
}

.footer__bottom a {
  color: var(--muted-2);
}

.footer__bottom a:hover {
  color: #fff;
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

/* ---------------------------- Misc -------------------------------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-soft);
}

.badge--success {
  background: var(--success-soft);
  border-color: rgba(0, 184, 124, 0.4);
  color: var(--success);
}

.divider {
  height: 1px;
  background: var(--border-soft);
  border: 0;
  margin-block: 8px;
}

.text-muted {
  color: var(--muted);
}

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; }

/* --------------------- Scroll reveal animation -------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
  will-change: opacity, transform;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* --------------------------- Accessibility ------------------------ */
:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  background: var(--primary);
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 0 8px 8px;
  z-index: 100;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
  color: #fff;
}

.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;
}

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

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
