:root {
  --bg: #f3f6fb;
  --surface: #ffffff;
  --surface-2: #f8fbff;
  --text: #0f172a;
  --muted: #475467;
  --line: #dbe4f0;
  --dark: #0b1220;
  --blue: #1859d1;
  --blue-2: #0f46ac;
  --blue-soft: #eaf2ff;
  --danger-soft: #fff1f3;
  --danger: #be123c;
  --shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
  --radius: 26px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(24, 89, 209, 0.08), transparent 26%),
    linear-gradient(180deg, #f8fbff 0%, #f3f6fb 100%);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.container {
  width: min(100%, 1160px);
  margin: 0 auto;
  padding: 0 18px;
}

.section {
  padding: 28px 0;
}

.hero-shell {
  margin-top: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.84) 100%);
  border: 1px solid rgba(219, 228, 240, 0.95);
  border-radius: 32px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

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

.hero-copy {
  padding: 18px 16px 16px;
}

.kicker {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue-2);
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 14px;
}

.hero h1 {
  margin: 0 0 10px;
  font-size: clamp(28px, 7.2vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.045em;
  max-width: 820px;
}

.hero p {
  margin: 0;
  max-width: 760px;
  font-size: clamp(15px, 4.1vw, 20px);
  line-height: 1.42;
  color: var(--muted);
}

.hero-points {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.hero-points span {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 12px;
  border-radius: 14px;
  background: #f6f9ff;
  border: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.25;
  color: var(--text);
  font-weight: 700;
}

.hero-points span::before {
  content: "•";
  margin-right: 8px;
  color: var(--blue-2);
  font-weight: 900;
  flex: 0 0 auto;
}

.hero-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 16px;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 14px 16px;
  border-radius: 16px;
  text-decoration: none;
  font-weight: 800;
  font-size: 15px;
  text-align: center;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(180deg, var(--blue) 0%, var(--blue-2) 100%);
  box-shadow: 0 16px 30px rgba(24, 89, 209, 0.24);
}

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

.hero-metrics {
  padding: 16px;
  background: linear-gradient(180deg, #eff5ff 0%, #f8fbff 100%);
  border-top: 1px solid var(--line);
}

.metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.metric {
  padding: 14px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(219, 228, 240, 0.96);
  border-radius: 20px;
  min-height: 116px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.metric strong {
  display: block;
  margin-bottom: 6px;
  font-size: 26px;
  line-height: 1;
  letter-spacing: -0.05em;
}

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

.metric-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.metric-price s {
  color: #98a2b3;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.04em;
}

.metric-price strong {
  margin: 0;
}

.metrics-note {
  margin-top: 10px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.35;
}

.split-card,
.compare-card,
.form-card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 22px 18px;
  box-shadow: var(--shadow);
}

.compare-card h2,
.form-card h2 {
  margin: 0 0 10px;
  font-size: clamp(28px, 6vw, 44px);
  line-height: 1;
  letter-spacing: -0.04em;
}

.form-card p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 760px;
}

.split-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.block {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
}

.block-top {
  padding: 16px 16px 14px;
  font-weight: 900;
  font-size: 17px;
  letter-spacing: -0.02em;
}

.block.problem .block-top {
  background: var(--danger-soft);
  color: var(--danger);
}

.block.solution .block-top {
  background: var(--blue-soft);
  color: var(--blue-2);
}

.lines {
  padding: 4px 16px 8px;
}

.line {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid #edf2f7;
}

.line:first-child {
  border-top: 0;
}

.num {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 900;
  margin-top: 2px;
}

.block.problem .num {
  background: #ffe4e8;
  color: var(--danger);
}

.block.solution .num {
  background: #dceaff;
  color: var(--blue-2);
}

.line strong {
  display: block;
  font-size: 16px;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

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

.table-wrap {
  width: min(100%, 920px);
  margin: 8px auto 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
}

table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

thead th {
  background: var(--dark);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  text-align: left;
  padding: 12px 8px;
  line-height: 1.2;
  white-space: normal;
  word-break: break-word;
}

thead th:first-child {
  border-top-left-radius: 22px;
}

thead th:last-child {
  border-top-right-radius: 22px;
}

tbody td {
  padding: 12px 8px;
  border-top: 1px solid #edf2f7;
  font-size: 11px;
  line-height: 1.25;
  vertical-align: top;
  word-break: break-word;
  overflow-wrap: anywhere;
  hyphens: auto;
}

tbody tr:nth-child(even) td {
  background: #fbfdff;
}

tbody td:first-child {
  font-weight: 700;
  width: 37%;
}

.td-yes {
  font-weight: 800;
  color: #0f46ac;
}

.td-no {
  font-weight: 800;
  color: #b42318;
}

.compare-table th:nth-child(1),
.compare-table td:nth-child(1) {
  width: 37%;
}

.compare-table th:nth-child(2),
.compare-table td:nth-child(2),
.compare-table th:nth-child(3),
.compare-table td:nth-child(3),
.compare-table th:nth-child(4),
.compare-table td:nth-child(4) {
  width: 21%;
}

.form-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.form-bullets {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.form-bullet {
  padding: 14px 16px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 14px;
  color: var(--text);
}

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

input,
button {
  width: 100%;
  min-height: 58px;
  padding: 16px;
  border-radius: 18px;
  font-size: 16px;
}

input {
  border: 1px solid #d0d5dd;
  background: #fff;
  color: var(--text);
}

input::placeholder {
  color: #667085;
}

button {
  border: 0;
  min-height: 60px;
  background: linear-gradient(180deg, var(--blue) 0%, var(--blue-2) 100%);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 16px 30px rgba(24, 89, 209, 0.24);
  cursor: pointer;
}

button:disabled {
  cursor: wait;
  opacity: 0.8;
}

.form-status {
  min-height: 24px;
  margin-top: 10px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}

.form-status.is-success {
  color: #157347;
}

.form-status.is-error {
  color: #b42318;
}

.contact-links {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 14px;
}

.contact-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 14px 16px;
  border-radius: 16px;
  text-decoration: none;
  font-weight: 800;
  font-size: 15px;
  background: #fff;
  color: var(--text);
  border: 1px solid var(--line);
  text-align: center;
}

.contact-note {
  margin-top: 10px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

.form-note {
  margin-top: 10px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.35;
}

.footer {
  padding: 24px 18px calc(28px + env(safe-area-inset-bottom));
  text-align: center;
  color: #667085;
  font-size: 13px;
}

.sticky-bar {
  position: sticky;
  bottom: 0;
  z-index: 30;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: linear-gradient(
    180deg,
    rgba(243, 246, 251, 0) 0%,
    rgba(243, 246, 251, 0.92) 24%,
    rgba(243, 246, 251, 1) 100%
  );
  backdrop-filter: blur(10px);
}

.sticky-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  border-radius: 18px;
  text-decoration: none;
  background: linear-gradient(180deg, var(--blue) 0%, var(--blue-2) 100%);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 16px 30px rgba(24, 89, 209, 0.24);
}

@media (max-width: 420px) {
  .compare-card {
    padding: 18px 12px;
  }

  .compare-card h2 {
    margin-bottom: 8px;
    font-size: 24px;
  }

  .table-wrap {
    border-radius: 18px;
  }

  .compare-table th {
    font-size: 10px;
    line-height: 1.12;
    padding: 10px 5px;
    letter-spacing: -0.01em;
  }

  .compare-table td {
    font-size: 10px;
    line-height: 1.18;
    padding: 10px 5px;
  }

  .compare-table th:nth-child(1),
  .compare-table td:nth-child(1) {
    width: 36%;
  }

  .compare-table th:nth-child(2),
  .compare-table td:nth-child(2),
  .compare-table th:nth-child(3),
  .compare-table td:nth-child(3),
  .compare-table th:nth-child(4),
  .compare-table td:nth-child(4) {
    width: 21.33%;
  }
}

@media (max-width: 360px) {
  .compare-card {
    padding: 16px 10px;
  }

  .compare-table th {
    font-size: 9.5px;
    line-height: 1.08;
    padding: 9px 4px;
  }

  .compare-table td {
    font-size: 9.5px;
    line-height: 1.14;
    padding: 9px 4px;
  }

  .compare-table th:nth-child(1),
  .compare-table td:nth-child(1) {
    width: 37%;
  }

  .compare-table th:nth-child(2),
  .compare-table td:nth-child(2),
  .compare-table th:nth-child(3),
  .compare-table td:nth-child(3),
  .compare-table th:nth-child(4),
  .compare-table td:nth-child(4) {
    width: 21%;
  }
}

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

  .hero-copy {
    padding: 34px 30px 26px;
  }

  .hero-metrics {
    padding: 22px 30px;
  }

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

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

  .hero-actions {
    grid-template-columns: 1fr 1fr;
    max-width: 560px;
  }

  .split-card,
  .compare-card,
  .form-card {
    padding: 30px;
  }

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

  .form-wrap {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: start;
  }

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

  .compare-table th {
    font-size: 14px;
    padding: 18px;
  }

  .compare-table td {
    font-size: 14px;
    line-height: 1.45;
    padding: 18px;
  }

  .compare-table th:nth-child(1),
  .compare-table td:nth-child(1) {
    width: 33%;
  }

  .compare-table th:nth-child(2),
  .compare-table td:nth-child(2),
  .compare-table th:nth-child(3),
  .compare-table td:nth-child(3),
  .compare-table th:nth-child(4),
  .compare-table td:nth-child(4) {
    width: 22.33%;
  }

  .sticky-bar {
    display: none;
  }
}
