:root {
  --bg: #f5efe4;
  --surface: rgba(255, 252, 247, 0.8);
  --surface-strong: #fffaf1;
  --ink: #1e2430;
  --muted: #5e6472;
  --line: rgba(30, 36, 48, 0.12);
  --brand: #c4492d;
  --brand-dark: #8f2e17;
  --accent: #0f766e;
  --accent-soft: #d9f3ef;
  --warn: #ffe4dc;
  --shadow: 0 30px 80px rgba(59, 34, 20, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(196, 73, 45, 0.12), transparent 28%),
    radial-gradient(circle at top right, rgba(15, 118, 110, 0.1), transparent 24%),
    linear-gradient(180deg, #fff9f1 0%, var(--bg) 100%);
}

a {
  color: inherit;
}

.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding-bottom: 64px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  margin-top: 2px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--brand), #f37c5b);
  color: #fff;
  font-family: "Space Grotesk", sans-serif;
  font-size: 24px;
  font-weight: 700;
  box-shadow: 0 14px 30px rgba(196, 73, 45, 0.28);
}

.nav {
  display: flex;
  gap: 18px;
  color: var(--muted);
}

.nav a {
  text-decoration: none;
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  padding: 24px 0 40px;
  align-items: center;
}

.eyebrow,
.section-heading span,
.problem-strip span,
.results-tag,
.live-pill,
.panel-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(30, 36, 48, 0.08);
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.problem-strip h2 {
  margin: 18px 0 14px;
  font-family: "Space Grotesk", sans-serif;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.hero h1 {
  font-size: clamp(3rem, 8vw, 5.8rem);
  max-width: 10ch;
}

.hero p {
  max-width: 62ch;
  font-size: 18px;
  line-height: 1.7;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin: 28px 0 30px;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  border-radius: 16px;
  text-decoration: none;
  font-weight: 800;
  border: 1px solid transparent;
}

.cta.primary {
  background: linear-gradient(135deg, var(--brand), #ea6b48);
  color: #fff;
  box-shadow: 0 18px 34px rgba(196, 73, 45, 0.22);
}

.cta.ghost {
  background: rgba(255, 255, 255, 0.78);
  border-color: var(--line);
}

.cta.full {
  width: 100%;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.hero-metrics article,
.feature-card,
.dashboard-panel,
.automation-panel,
.calculator-card,
.results-card,
.proof-grid article,
.price-card {
  background: var(--surface);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
}

.hero-metrics article {
  padding: 18px;
  border-radius: 22px;
}

.hero-metrics strong {
  display: block;
  margin-bottom: 10px;
  font-size: 28px;
  font-family: "Space Grotesk", sans-serif;
}

.hero-metrics span {
  color: var(--muted);
  line-height: 1.5;
  font-size: 14px;
}

.hero-card {
  padding: 24px;
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(255, 250, 241, 0.95), rgba(247, 236, 221, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: var(--shadow);
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(15, 118, 110, 0.12);
}

.mock-phone {
  margin-top: 20px;
  padding: 18px;
  border-radius: 28px;
  background: #1f2630;
  color: #fff;
}

.mock-phone-header,
.panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.mock-phone-header span,
.event-card span,
.timeline-item p,
.results-card p,
.proof-grid p,
.price-card p,
.automation-list p,
.message-box p {
  color: rgba(255, 255, 255, 0.75);
}

.event-card {
  margin-top: 14px;
  padding: 18px;
  border-radius: 20px;
}

.event-card p,
.event-card strong,
.event-card span {
  display: block;
}

.event-card p {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.danger {
  background: linear-gradient(135deg, rgba(196, 73, 45, 0.36), rgba(112, 28, 18, 0.45));
}

.success {
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.34), rgba(11, 64, 60, 0.46));
}

.neutral {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(169, 178, 192, 0.2));
}

.problem-strip,
.calculator-section,
.dashboard-section,
.proof-section,
.pricing-section,
.sources-section {
  margin-top: 34px;
}

.problem-strip {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 24px;
  padding: 30px 32px;
  border-radius: 30px;
  background: #fff7ea;
  border: 1px solid rgba(196, 73, 45, 0.12);
}

.problem-strip p {
  color: var(--muted);
  line-height: 1.8;
  font-size: 17px;
}

.features,
.proof-grid,
.pricing-grid,
.sources-list {
  display: grid;
  gap: 18px;
}

.features {
  margin-top: 22px;
  grid-template-columns: repeat(4, 1fr);
}

.feature-card {
  padding: 24px;
  border-radius: 24px;
}

.feature-card span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--brand);
  font-weight: 800;
  font-family: "Space Grotesk", sans-serif;
}

.feature-card h3 {
  margin: 0 0 10px;
  font-size: 22px;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.dashboard-grid,
.calculator-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 20px;
  margin-top: 20px;
}

.dashboard-panel,
.automation-panel,
.calculator-card,
.results-card {
  border-radius: 28px;
  padding: 24px;
}

.panel-badge {
  font-size: 12px;
}

.panel-badge.muted {
  color: var(--muted);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.stats-grid article,
.results-breakdown article,
.timeline-item,
.message-box,
.automation-list article {
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.stats-grid article {
  padding: 18px;
}

.stats-grid strong,
.results-breakdown strong {
  display: block;
  font-size: 28px;
  margin-bottom: 6px;
  font-family: "Space Grotesk", sans-serif;
}

.stats-grid span,
.results-breakdown span,
.timeline-item p,
.automation-list p,
.message-box span {
  color: var(--muted);
}

.timeline {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.timeline-item {
  padding: 16px 18px;
}

.timeline-item strong {
  display: block;
  margin-bottom: 6px;
}

.automation-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.automation-list article {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 16px 18px;
}

.toggle {
  position: relative;
  width: 56px;
  height: 32px;
  border: none;
  border-radius: 999px;
  background: #d9dfe9;
  cursor: pointer;
}

.toggle span {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: #fff;
  transition: transform 0.2s ease;
}

.toggle.active {
  background: #bfe7e0;
}

.toggle.active span {
  transform: translateX(24px);
}

.message-box {
  margin-top: 16px;
  padding: 18px;
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.1), rgba(255, 255, 255, 0.72));
}

.message-box p {
  margin-bottom: 0;
  color: var(--ink);
  line-height: 1.7;
}

.calculator-card {
  display: grid;
  gap: 18px;
}

.calculator-card label {
  display: grid;
  gap: 10px;
  font-weight: 700;
}

.calculator-card input[type="range"] {
  width: 100%;
  accent-color: var(--brand);
}

.calculator-card strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 24px;
}

.results-card {
  background: linear-gradient(180deg, #1f2630, #24313f);
  color: #fff;
}

.results-card h3 {
  margin: 18px 0 10px;
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  line-height: 1;
  font-family: "Space Grotesk", sans-serif;
}

.results-breakdown {
  display: grid;
  gap: 12px;
  margin: 22px 0;
}

.results-breakdown article {
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.08);
}

.results-breakdown span {
  color: rgba(255, 255, 255, 0.7);
}

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

.proof-grid article,
.price-card {
  padding: 24px;
  border-radius: 24px;
}

.proof-grid strong,
.price-card span {
  display: block;
  margin-bottom: 12px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand-dark);
}

.proof-grid p,
.price-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.price-card h3 {
  margin: 0 0 12px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 42px;
}

.price-card h3 span {
  display: inline;
  margin-left: 6px;
  font-size: 18px;
  color: var(--muted);
  text-transform: none;
}

.price-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.9;
}

.price-card.featured {
  border: 1px solid rgba(196, 73, 45, 0.3);
  background: linear-gradient(180deg, rgba(255, 243, 237, 0.96), rgba(255, 255, 255, 0.78));
}

.sources-list {
  margin-top: 20px;
}

.sources-list a {
  padding: 18px 20px;
  border-radius: 20px;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--line);
  color: var(--ink);
  line-height: 1.7;
}

@media (max-width: 1080px) {
  .hero,
  .problem-strip,
  .dashboard-grid,
  .calculator-grid,
  .proof-grid,
  .pricing-grid,
  .features {
    grid-template-columns: 1fr 1fr;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .page-shell {
    width: min(100% - 20px, 100%);
  }

  .topbar,
  .nav,
  .hero-actions,
  .problem-strip,
  .dashboard-grid,
  .calculator-grid,
  .proof-grid,
  .pricing-grid,
  .features {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .topbar {
    align-items: flex-start;
  }

  .nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 8px;
  }

  .hero h1 {
    max-width: 100%;
    font-size: 3rem;
  }

  .hero-actions {
    display: grid;
  }

  .hero-card,
  .dashboard-panel,
  .automation-panel,
  .calculator-card,
  .results-card,
  .feature-card,
  .proof-grid article,
  .price-card {
    padding: 20px;
  }

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