:root {
  --bg: #eef2f7;
  --card: #ffffff;
  --text: #111827;
  --muted: #5b6475;
  --line: #d9e1ef;
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --secondary-bg: #e9eef9;
  --danger: #b42318;
  --danger-bg: #feeceb;
  --pill-bg: #e8f0ff;
  --warning-bg: #fff5e8;
  --warning-border: #f1c27b;
  --dark-pill: #0f172a;
  --shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.45;
}

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

.hidden {
  display: none !important;
}

.container {
  width: min(1520px, calc(100% - 64px));
  margin: 0 auto;
}

.section {
  padding: 28px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(238, 242, 247, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.header-link {
  font-size: 18px;
  font-weight: 800;
  color: var(--primary);
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-grid,
.checker-grid,
.results-grid,
.paid-grid,
.two-col,
.three-col,
.tracker-top-grid,
.tracker-main-grid,
.tracker-bottom-grid,
.summary-stats-grid,
.four-col {
  display: grid;
  gap: 28px;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.65fr) minmax(360px, 0.95fr);
}

.hero-card,
.side-card,
.checker-card,
.result-card,
.checklist-card,
.value-card,
.paid-card,
.faq-card,
.quick-fix-card,
.tracker-card {
  padding: 40px;
}

.hero-card h1,
.result-card h2,
.paid-card h2,
.faq-card h2,
.quick-fix-card h2,
.tracker-card h2 {
  margin: 18px 0 16px;
  line-height: 0.95;
  letter-spacing: -0.05em;
  font-weight: 900;
}

.hero-card h1 {
  font-size: clamp(54px, 7vw, 96px);
  max-width: 920px;
}

.result-card h2,
.paid-card h2,
.faq-card h2,
.quick-fix-card h2,
.tracker-card h2 {
  font-size: clamp(38px, 5vw, 68px);
}

.hero-copy,
.subcopy,
.hero-note,
.small-note,
.side-card p,
.mini-card p,
.summary-card p,
.value-card p,
.paid-card p,
.result-card p,
.checklist-card p,
.faq-card p,
.quick-fix-card p,
.tracker-card p {
  color: var(--muted);
  font-size: 20px;
}

.hero-copy {
  max-width: 840px;
  margin: 0 0 26px;
}

.hero-actions,
.stack-actions,
.action-stack {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-note,
.small-note {
  margin-top: 22px;
}

.pill,
.badge-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 18px;
}

.pill {
  background: var(--pill-bg);
  color: var(--primary);
}

.badge-dark {
  background: var(--dark-pill);
  color: #fff;
}

.side-card h3,
.mini-card h3,
.result-card h3,
.warning-box h3,
.upgrade-choice-box h3,
.paid-card h3,
.faq-card h3,
.quick-fix-card h3,
.what-you-get h3,
.price-box h3,
.faq-item h3,
.info-box h3,
.tracker-panel h3 {
  margin: 18px 0 14px;
  font-size: 26px;
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.feature-list {
  margin: 0;
  padding-left: 28px;
}

.feature-list li {
  margin-bottom: 12px;
  font-size: 20px;
}

.mini-features .three-col {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mini-card {
  padding: 34px 32px;
}

.checker-grid {
  grid-template-columns: minmax(0, 1.7fr) minmax(340px, 0.65fr);
  align-items: start;
}

.checker-sidebar {
  display: grid;
  gap: 24px;
}

.form-group {
  margin-bottom: 26px;
}

label {
  display: block;
  margin-bottom: 12px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

select,
input,
textarea {
  width: 100%;
  min-height: 86px;
  border-radius: 24px;
  border: 2px solid #cfd8ea;
  background: #fff;
  padding: 0 24px;
  font-size: 20px;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  font-family: inherit;
}

textarea {
  min-height: 160px;
  padding: 18px 24px;
  resize: vertical;
}

select:focus,
input:focus,
textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.08);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 74px;
  padding: 0 28px;
  border: none;
  border-radius: 22px;
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, opacity 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-secondary {
  background: var(--secondary-bg);
  color: #1f3b73;
}

.btn-danger {
  background: var(--danger-bg);
  color: var(--danger);
}

.btn-block {
  width: 100%;
}

.btn-inline {
  width: fit-content;
}

.results-grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(380px, 0.9fr);
  align-items: start;
}

.left-results,
.right-results {
  display: grid;
  gap: 24px;
}

.result-stat-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 10px 0 24px;
}

.result-stat,
.summary-stat {
  background: #f7f9fd;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 20px 22px;
}

.result-stat-label,
.summary-label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.result-stat strong,
.summary-stat strong {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.warning-box {
  margin-top: 26px;
  padding: 30px 30px 24px;
  background: var(--warning-bg);
  border: 2px solid var(--warning-border);
  border-radius: 24px;
}

.small-warning {
  margin-top: 18px;
}

.upgrade-choice-box,
.info-box,
.what-you-get,
.price-box,
.tracker-panel {
  margin-top: 26px;
  padding: 30px;
  border-radius: 24px;
  background: #f4f7fc;
  border: 1px solid #cfdaef;
}

.quick-fix-card {
  padding: 36px 40px;
}

.compact-two-col {
  margin-top: 26px;
}

.tracker-top-grid {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  margin-top: 26px;
}

.summary-stats-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.tracker-main-grid,
.tracker-bottom-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 28px;
}

.table-wrap {
  margin-top: 24px;
  overflow-x: auto;
}

.tracker-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 420px;
}

.tracker-table th,
.tracker-table td {
  padding: 14px 12px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
}

.tracker-table th {
  font-weight: 800;
}

.empty-state-cell,
.empty-state-block {
  color: var(--muted);
  font-size: 16px;
}

.timeline-list {
  display: grid;
  gap: 14px;
  margin-top: 10px;
}

.timeline-item {
  padding: 18px 20px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--line);
}

.timeline-date {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.timeline-title {
  display: block;
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 6px;
}

.timeline-text {
  color: var(--muted);
  font-size: 16px;
  margin: 0;
  white-space: pre-wrap;
}

.paid-grid {
  grid-template-columns: minmax(0, 1.35fr) minmax(340px, 0.65fr);
  margin-top: 26px;
}

.price {
  font-size: 56px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.05em;
  margin: 10px 0 16px;
}

.two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.faq-list {
  margin-top: 26px;
  display: grid;
  gap: 20px;
}

.faq-item {
  padding: 26px;
  border-radius: 24px;
  background: #f7f9fd;
  border: 1px solid var(--line);
}

.site-footer {
  margin-top: 18px;
  border-top: 1px solid var(--line);
  background: rgba(238, 242, 247, 0.9);
}

.footer-inner {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  font-size: 18px;
}

@media (max-width: 1200px) {
  .hero-grid,
  .checker-grid,
  .results-grid,
  .paid-grid,
  .two-col,
  .mini-features .three-col,
  .tracker-top-grid,
  .tracker-main-grid,
  .tracker-bottom-grid,
  .summary-stats-grid,
  .result-stat-row {
    grid-template-columns: 1fr;
  }

  .container {
    width: min(100%, calc(100% - 32px));
  }
}

@media (max-width: 768px) {
  .section {
    padding: 18px 0;
  }

  .header-inner {
    min-height: 82px;
  }

  .brand {
    font-size: 22px;
  }

  .header-link {
    font-size: 16px;
  }

  .hero-card,
  .side-card,
  .checker-card,
  .result-card,
  .checklist-card,
  .paid-card,
  .faq-card,
  .quick-fix-card,
  .tracker-card {
    padding: 24px;
  }

  .hero-card h1,
  .result-card h2,
  .paid-card h2,
  .faq-card h2,
  .quick-fix-card h2,
  .tracker-card h2 {
    font-size: clamp(38px, 10vw, 54px);
  }

  .hero-copy,
  .subcopy,
  .hero-note,
  .small-note,
  .side-card p,
  .mini-card p,
  .paid-card p,
  .result-card p,
  .checklist-card p,
  .faq-card p,
  .quick-fix-card p,
  .tracker-card p,
  .feature-list li {
    font-size: 16px;
  }

  label {
    font-size: 18px;
  }

  select,
  input,
  textarea {
    min-height: 70px;
    border-radius: 18px;
    font-size: 17px;
    padding: 0 18px;
  }

  textarea {
    padding: 16px 18px;
  }

  .btn {
    min-height: 62px;
    width: 100%;
    border-radius: 18px;
  }

  .hero-actions,
  .stack-actions,
  .action-stack {
    flex-direction: column;
  }

  .pill,
  .badge-dark {
    min-height: 48px;
    font-size: 15px;
    padding: 0 18px;
  }

  .tracker-table {
    min-width: 100%;
  }

  .footer-inner {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: 18px 0;
    min-height: auto;
    font-size: 14px;
  }

  .price {
    font-size: 44px;
  }
}
