:root {
  --accent: #3b5bdb;
  --accent-hover: #3451c7;
  --text: #111827;
  --muted: #6b7280;
  --subtle: #9ca3af;
  --bg: #ffffff;
  --bg-alt: #f7f8fa;
  --border: #e5e7eb;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --radius-lg: 16px;
  --radius-md: 12px;
  --max-w: 1100px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

p, h1, h2, h3 {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ── Header ──────────────────────────────────────────── */

.site-header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-mark {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}

.brand-note {
  font-size: 12px;
  font-weight: 500;
  color: var(--subtle);
  letter-spacing: 0.01em;
}

/* ── Shared ──────────────────────────────────────────── */

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 28px;
  height: 48px;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border-radius: 10px;
  transition: background 160ms ease, transform 160ms ease, box-shadow 160ms ease;
  box-shadow: 0 2px 8px rgba(59, 91, 219, 0.25);
}

.cta-button:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(59, 91, 219, 0.32);
}

.cta-button:active {
  transform: translateY(0);
}

.cta-button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ── Hero ────────────────────────────────────────────── */

.hero {
  padding: 72px 24px 80px;
}

.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  gap: 32px;
  align-items: start;
}

.hero-copy h1 {
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 20px;
}

.subheadline {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.75;
  max-width: 520px;
}

.hero-points {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-points p {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.hero-bottom-copy {
  margin-top: 20px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
  max-width: 480px;
}

.hero-copy .cta-button {
  margin-top: 32px;
}

/* How It Works panel */

.hero-panel {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.panel-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--subtle);
  margin-bottom: 20px;
}

.panel-step {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px 0;
  border-top: 1px solid var(--border);
}

.panel-step:first-of-type {
  border-top: none;
  padding-top: 0;
}

.step-num {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  padding-top: 2px;
}

.panel-step p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}

/* ── Benefits ────────────────────────────────────────── */

.benefits {
  background: var(--bg-alt);
  padding: 80px 24px;
}

.benefits-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.section-heading {
  margin-bottom: 40px;
}

.section-heading h2 {
  font-size: clamp(1.75rem, 4vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--text);
}

.benefit-grid {
  display: grid;
  gap: 20px;
}

.benefit-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.benefit-number {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.benefit-card h3 {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 10px;
}

.benefit-card p:last-child {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

/* ── Closing CTA ─────────────────────────────────────── */

.closing {
  padding: 80px 24px;
}

.closing-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 52px 48px;
  box-shadow: var(--shadow-sm);
}

.closing h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--text);
  max-width: 540px;
  margin-bottom: 16px;
}

.closing p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 480px;
}

.closing .cta-button {
  margin-top: 28px;
}

/* ── Shared section wrapper ──────────────────────────── */

.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.section-subtext {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.75;
  max-width: 560px;
  margin-top: -16px;
  margin-bottom: 36px;
}

/* ── Earnings Calculator ─────────────────────────────── */

.calculator {
  padding: 80px 0;
}

.calc-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

.calc-inputs {
  display: grid;
  gap: 28px;
  margin-bottom: 32px;
}

.calc-field-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.calc-field label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.calc-field-value {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  min-width: 52px;
  text-align: right;
}

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  background: var(--border);
  border-radius: 99px;
  outline: none;
  cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 1px 4px rgba(59, 91, 219, 0.35);
  transition: transform 120ms ease;
}

input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border: none;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 1px 4px rgba(59, 91, 219, 0.35);
  cursor: pointer;
}

.calc-results {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.calc-result-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.calc-result-row.total {
  border-bottom: none;
  padding-bottom: 0;
}

.calc-result-label {
  font-size: 14px;
  color: var(--muted);
}

.calc-result-rate {
  font-size: 12px;
  color: var(--subtle);
}

.calc-result-value {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.calc-result-row.total .calc-result-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.calc-result-row.total .calc-result-value {
  font-size: 24px;
  color: var(--accent);
}

.calc-disclaimer {
  margin-top: 20px;
  font-size: 12px;
  color: var(--subtle);
  line-height: 1.6;
}

/* ── What We Sell ────────────────────────────────────── */

.stores {
  padding: 80px 0;
  background: var(--bg-alt);
}

.store-grid {
  display: grid;
  gap: 20px;
}

.store-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.store-icon {
  font-size: 28px;
  margin-bottom: 14px;
  line-height: 1;
}

.store-card h3 {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 8px;
}

.store-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}

/* ── Testimonials ────────────────────────────────────── */

.testimonials {
  padding: 80px 0;
}

.testimonial-grid {
  display: grid;
  gap: 20px;
}

.testimonial-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stars {
  color: #f59e0b;
  font-size: 14px;
  letter-spacing: 2px;
}

.testimonial-quote {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
  flex: 1;
}

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

.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.author-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

/* ── FAQ ─────────────────────────────────────────────── */

.faq {
  padding: 80px 0;
  background: var(--bg-alt);
}

.faq-inner {
  max-width: 680px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: background 140ms ease;
}

.faq-question:hover {
  background: var(--bg-alt);
}

.faq-chevron {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  position: relative;
}

.faq-chevron::before,
.faq-chevron::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 8px;
  height: 1.5px;
  background: var(--subtle);
  border-radius: 2px;
  transition: transform 220ms ease;
}

.faq-chevron::before { left: 1px;  transform: translateY(-50%) rotate(45deg); }
.faq-chevron::after  { right: 1px; transform: translateY(-50%) rotate(-45deg); }

.faq-item.open .faq-chevron::before { transform: translateY(-50%) rotate(-45deg); }
.faq-item.open .faq-chevron::after  { transform: translateY(-50%) rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 280ms ease;
}

.faq-answer p {
  padding: 0 24px 20px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
}

/* ── Responsive ──────────────────────────────────────── */

@media (min-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr 340px;
    gap: 48px;
    align-items: center;
  }

  .benefit-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .calc-inputs {
    grid-template-columns: 1fr 1fr;
  }

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

  .testimonial-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .closing-inner {
    padding: 60px 64px;
  }
}

@media (min-width: 1024px) {
  .hero {
    padding: 96px 24px 104px;
  }

  .hero-inner {
    grid-template-columns: 1fr 360px;
    gap: 64px;
  }
}

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