:root {
  --bg: #ffffff;
  --bg-alt: #faf9f7;
  --text: #1a1a1a;
  --text-secondary: #555;
  --accent: #f4502c;
  --accent-light: #ff8a5c;
  --border: #eee;
  --radius: 12px;
  --content-width: 1040px;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--accent);
}

.wrap {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 24px;
}

.wrap-narrow {
  max-width: 760px;
}

h1, h2, h3 {
  line-height: 1.25;
  margin: 0 0 16px;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.15rem;
}

p {
  color: var(--text-secondary);
  margin: 0 0 16px;
}

.section {
  padding: 72px 0;
}

.section-alt {
  background: var(--bg-alt);
}

/* Header */

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

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  flex-shrink: 0;
}

.brand img {
  border-radius: 6px;
}

.wordmark {
  font-weight: 700;
  font-size: 1.05rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
}

.site-nav a:hover {
  color: var(--accent);
}

/* Buttons */

.btn {
  display: inline-block;
  background: var(--accent);
  background-image: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 14px 24px;
  border-radius: 8px;
  border: none;
  font-size: 1rem;
}

.btn:hover {
  opacity: 0.92;
}

.btn-small {
  padding: 8px 16px;
  font-size: 0.9rem;
}

.site-nav .btn {
  color: #fff;
}

.link-secondary {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}

.link-secondary:hover {
  text-decoration: underline;
}

/* Hero */

.hero {
  padding: 64px 0 72px;
}

.hero-inner {
  text-align: center;
}

.hero h1 {
  max-width: 780px;
  margin: 0 auto 20px;
}

.hero-subhead {
  max-width: 660px;
  margin: 0 auto 32px;
  font-size: 1.1rem;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-bottom: 48px;
}

.hero-frame {
  max-width: 900px;
  margin: 0 auto;
}

.browser-frame {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
  background: #fff;
  text-align: left;
}

.browser-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: #f4f4f2;
  border-bottom: 1px solid var(--border);
}

.browser-chrome .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ddd;
  display: inline-block;
}

.browser-frame img {
  width: 100%;
  height: auto;
}

/* Cards (how it works) */

.intro-line {
  max-width: 720px;
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 40px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  background: var(--bg);
}

.card h3 {
  color: var(--text);
}

.card p {
  margin-bottom: 0;
}

/* Chart */

.chart {
  margin: 32px 0 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chart-row {
  display: grid;
  grid-template-columns: 140px 1fr 48px;
  align-items: center;
  gap: 12px;
}

.chart-label {
  font-size: 0.95rem;
  color: var(--text);
}

.chart-bar-track {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 6px;
  height: 20px;
  overflow: hidden;
  display: block;
}

.chart-bar {
  display: block;
  height: 100%;
  background-image: linear-gradient(90deg, var(--accent), var(--accent-light));
  border-radius: 6px;
}

.chart-pct {
  font-size: 0.9rem;
  color: var(--text-secondary);
  text-align: right;
}

.small-print {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* Stat tiles */

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 40px 0;
}

.stat-tile {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  background: var(--bg-alt);
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 6px;
}

.stat-label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* Sources */

.sources {
  margin-top: 24px;
  border-top: 1px solid var(--border);
  padding-top: 20px;
}

.sources p {
  margin-bottom: 8px;
  word-break: break-word;
}

.sources a {
  color: var(--text-secondary);
  text-decoration: underline;
}

/* Pricing */

.sub-line {
  max-width: 700px;
  font-size: 1.05rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.price-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  background: var(--bg);
  position: relative;
}

.price-card-featured {
  border-color: var(--accent);
  box-shadow: 0 8px 24px rgba(244, 80, 44, 0.12);
}

.badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
}

.price-card h3 {
  color: var(--text);
  margin-bottom: 8px;
}

.price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

.price-detail {
  font-size: 0.9rem;
  margin-bottom: 6px;
}

/* FAQ */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-list details {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
  background: var(--bg);
}

.faq-list summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
  font-size: 1.02rem;
}

.faq-list details p {
  margin: 14px 0 0;
}

/* CTA band */

.cta-band {
  padding: 72px 0;
  background: linear-gradient(135deg, rgba(244, 80, 44, 0.08), rgba(255, 138, 92, 0.08));
  text-align: center;
}

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

.cta-band p {
  max-width: 600px;
  margin: 0 auto 28px;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.footer-brand img {
  border-radius: 6px;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-line {
  width: 100%;
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin: 0;
  order: 3;
}

/* Responsive */

@media (max-width: 900px) {
  .card-grid {
    grid-template-columns: 1fr;
  }

  .stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .site-nav {
    gap: 14px;
  }

  .site-nav a:not(.btn) {
    display: none;
  }

  h1 {
    font-size: 1.9rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .section {
    padding: 48px 0;
  }

  .chart-row {
    grid-template-columns: 100px 1fr 40px;
    gap: 8px;
  }

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

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

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .wrap {
    padding: 0 16px;
  }

  .chart-row {
    grid-template-columns: 84px 1fr 36px;
  }

  .chart-label {
    font-size: 0.82rem;
  }

  .faq-list details {
    padding: 14px 16px;
  }
}
