:root {
  color-scheme: light;
  --bg: #f4f6f7;
  --card: #ffffff;
  --text: #101820;
  --muted: #56616d;
  --line: #d9e0e6;
  --soft: #eef4f2;
  --accent: #087f5b;
  --accent-dark: #065f46;
  --danger: #d92d20;
  --danger-soft: #ffe7e4;
  --blue-soft: #e4f0ff;
  --shadow: 0 18px 55px rgb(16 24 32 / 12%);
}

* {
  box-sizing: border-box;
}

html {
  max-width: 100%;
  scroll-behavior: smooth;
}

body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  margin: 0;
  background:
    radial-gradient(circle at top left, #dff5ec 0, transparent 32rem),
    linear-gradient(180deg, #fbfcfc 0%, var(--bg) 42%);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

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

main {
  max-width: 100%;
  overflow-x: hidden;
}

.site-header,
.site-footer,
.hero,
.section {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
}

.landing-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 17px;
  font-weight: 750;
  text-decoration: none;
}

.brand-mark {
  display: inline-grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid #b9dfd0;
  border-radius: 9px;
  background: #ebfaf4;
  color: var(--accent-dark);
  font-size: 11px;
  letter-spacing: .04em;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px 18px;
  font-size: 14px;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
}

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

.nav-button,
.primary-action,
.secondary-action {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
}

.nav-button {
  border: 1px solid var(--line);
  background: #fff;
}

.hero {
  margin-top: 22px;
  padding: 40px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(135deg, #ffffff 0%, #f7fbfa 100%);
  box-shadow: var(--shadow);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, .85fr);
  gap: 36px;
  align-items: center;
}

.hero-copy,
.product-panel {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero h1,
.section h2,
.legal-container h1 {
  margin: 0;
  color: var(--text);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 720px;
  font-size: clamp(42px, 6vw, 76px);
  overflow-wrap: break-word;
}

.hero-lead {
  max-width: 650px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 18px;
  overflow-wrap: anywhere;
}

.hero-actions,
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.primary-action {
  max-width: 100%;
  text-align: center;
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 25px rgb(8 127 91 / 22%);
}

.secondary-action {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
}

.trust-row span {
  max-width: 100%;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 700;
}

.product-panel {
  max-width: 100%;
  overflow: hidden;
  padding: 20px;
  border: 1px solid #d6e5df;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 24px 60px rgb(18 35 31 / 18%);
}

.panel-top,
.issue-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.panel-label {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.product-panel h2 {
  margin: 0;
  font-size: 28px;
}

.panel-note {
  margin: 12px 0 0;
  color: var(--muted);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.status-pill.danger {
  background: var(--danger-soft);
  color: var(--danger);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 18px 0;
}

.metric-grid div {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fafafa;
}

.metric-grid strong {
  display: block;
  font-size: 24px;
}

.metric-grid span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.issue-card {
  padding: 16px;
  border-left: 4px solid #ffb4ad;
  border-radius: 12px;
  background: #fff7f6;
}

.issue-card h3 {
  margin: 12px 0 4px;
  font-size: 17px;
}

.issue-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.csv-preview {
  overflow-x: auto;
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.csv-row {
  display: grid;
  grid-template-columns: 52px 78px 1fr 110px;
  min-width: 430px;
}

.csv-row span {
  padding: 10px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}

.csv-row span:last-child {
  border-right: 0;
}

.csv-row:last-child span {
  border-bottom: 0;
}

.csv-head span {
  background: #f1f4f6;
  color: var(--muted);
  font-weight: 800;
}

.csv-row.highlighted span {
  background: #fff0df;
}

.section {
  margin-top: 28px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
}

.section-heading {
  max-width: 720px;
}

.section h2 {
  font-size: clamp(28px, 4vw, 44px);
}

.section p {
  color: var(--muted);
}

.steps,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.steps article,
.price-card,
.card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.steps span {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 999px;
  background: var(--blue-soft);
  color: #175cd3;
  font-weight: 800;
}

.steps h3,
.price-card h3,
.card h2,
.legal-container h2 {
  margin: 16px 0 8px;
  font-size: 20px;
  line-height: 1.25;
}

.split-section {
  display: grid;
  grid-template-columns: .75fr 1fr;
  gap: 28px;
}

.check-list {
  display: grid;
  gap: 10px;
}

.check-list div {
  display: grid;
  gap: 2px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fbfcfc;
}

.check-list span {
  color: var(--muted);
}

.price-card {
  position: relative;
}

.price-card.featured {
  border-color: #86d7bb;
  box-shadow: 0 16px 38px rgb(8 127 91 / 14%);
}

.plan-badge {
  display: inline-block;
  margin: 0 0 8px;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--accent-dark) !important;
  font-size: 12px;
  font-weight: 800;
}

.price {
  margin: 6px 0 12px !important;
  color: var(--text) !important;
  font-size: 32px;
  font-weight: 850;
}

.price span {
  color: var(--muted);
  font-size: 15px;
}

.price-card ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.safety-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 38px;
  background: #0f1f1a;
}

.safety-section h2,
.safety-section p {
  color: #fff;
}

.safety-section p {
  max-width: 720px;
  opacity: .78;
}

.legal-container {
  width: min(860px, calc(100% - 40px));
  margin: 22px auto 40px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
  box-shadow: 0 12px 35px rgb(16 24 32 / 7%);
}

.legal-container h1 {
  font-size: clamp(30px, 5vw, 46px);
}

.legal-container p,
.legal-container li,
.legal-table td,
.legal-table th {
  color: var(--muted);
  overflow-wrap: anywhere;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
}

.legal-table th,
.legal-table td {
  padding: 14px;
  border: 1px solid var(--line);
  vertical-align: top;
  text-align: left;
}

.legal-table th {
  width: 28%;
  background: #f0f3f5;
  color: var(--text);
}

.back-link {
  display: inline-block;
  margin-top: 24px;
}

.site-footer {
  padding: 24px 0 40px;
  color: var(--muted);
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 8px;
}

@media (max-width: 900px) {
  .hero-grid,
  .split-section,
  .steps,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 28px;
  }

  .product-panel {
    overflow-x: auto;
  }
}

@media (max-width: 640px) {
  html,
  body,
  main {
    width: 100vw;
    max-width: 100vw;
    overflow-x: hidden;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-header,
  .site-footer {
    width: calc(100% - 24px);
  }

  .hero,
  .section,
  .legal-container {
    width: calc(100% - 24px);
    padding: 22px;
    overflow: hidden;
  }

  .hero h1 {
    font-size: 28px;
  }

  .hero-lead,
  .section p {
    font-size: 15px;
  }

  .section h2 {
    font-size: 25px;
  }

  .hero-copy {
    width: 100%;
  }

  .hero-copy,
  .hero-actions,
  .trust-row,
  .section-heading,
  .steps article,
  .check-list,
  .price-card,
  .safety-section > div {
    width: 100%;
    max-width: 100%;
  }

  .hero-actions a {
    width: 100%;
  }

  .trust-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .product-panel {
    display: none;
  }

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

  .safety-section {
    align-items: flex-start;
    flex-direction: column;
  }

  .legal-table th,
  .legal-table td {
    display: block;
    width: 100%;
  }
}
