:root {
  color-scheme: light;
  --blue: #155eef;
  --blue-dark: #0b3aa8;
  --red: #ef3340;
  --ink: #111827;
  --muted: #5b667a;
  --line: #d9e2f2;
  --soft: #f4f8ff;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(17, 24, 39, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
}

a {
  color: inherit;
}

.wrap {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 74px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--red));
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(21, 94, 239, 0.28);
}

.links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
  color: var(--muted);
  font-size: 14px;
}

.links a {
  text-decoration: none;
}

.button,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid var(--blue);
  background: var(--blue);
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button.secondary {
  color: var(--blue);
  background: var(--white);
}

.button.red {
  border-color: var(--red);
  background: var(--red);
}

.hero {
  padding: 76px 0 54px;
  background:
    radial-gradient(circle at 82% 18%, rgba(239, 51, 64, 0.12), transparent 28%),
    linear-gradient(180deg, #eef5ff 0%, #ffffff 72%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 42px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--blue-dark);
  background: var(--white);
  font-size: 13px;
  font-weight: 800;
}

h1 {
  margin: 18px 0 16px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin: 0 0 14px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.05;
}

h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

p {
  margin: 0 0 16px;
}

.lead {
  max-width: 720px;
  color: var(--muted);
  font-size: 19px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 28px;
}

.proof span {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.product-card {
  position: relative;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.dropzone {
  display: grid;
  place-items: center;
  min-height: 260px;
  border: 2px dashed #9db7ef;
  border-radius: 12px;
  background: linear-gradient(180deg, #f9fbff, #edf5ff);
  text-align: center;
}

.file-icon {
  width: 82px;
  height: 98px;
  margin: 0 auto 14px;
  border-radius: 10px;
  background: var(--white);
  border: 2px solid var(--blue);
  position: relative;
  box-shadow: 0 12px 26px rgba(21, 94, 239, 0.16);
}

.file-icon::after {
  content: "PDF";
  position: absolute;
  left: 14px;
  bottom: 18px;
  color: var(--red);
  font-weight: 950;
  font-size: 18px;
}

.mini-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.mini {
  padding: 12px;
  border-radius: 8px;
  background: var(--soft);
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.section {
  padding: 70px 0;
}

.section.soft {
  background: var(--soft);
}

.section-head {
  max-width: 780px;
  margin-bottom: 30px;
}

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

.card {
  min-height: 100%;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
}

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

.tier {
  position: relative;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 12px 34px rgba(17, 24, 39, 0.08);
}

.tier.featured {
  border: 2px solid var(--blue);
  transform: translateY(-8px);
}

.tier-badge {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  color: var(--white);
  background: var(--blue);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.tier h3 {
  font-size: 26px;
}

.tier ul {
  padding-left: 20px;
}

.slider-box {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--soft);
}

.meter {
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: #d8e6ff;
}

.meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--red));
}

.tool-box {
  margin: 30px 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff, #f4f8ff);
  box-shadow: var(--shadow);
}

.tool-grid {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 16px;
  align-items: end;
}

.field label,
.mode-picker label {
  display: block;
  margin-bottom: 8px;
  color: var(--blue-dark);
  font-weight: 900;
}

input[type="file"],
select {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

.tool-status {
  min-height: 28px;
  margin-top: 14px;
  color: var(--muted);
  font-weight: 750;
}

.result-panel {
  display: none;
  margin-top: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
}

.result-panel.active {
  display: block;
}

.result-panel strong {
  color: var(--blue-dark);
}

.download-link {
  margin-top: 12px;
}

.icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 14px;
  border-radius: 10px;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--red));
  font-weight: 950;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.step {
  padding: 20px;
  border-left: 4px solid var(--blue);
  background: var(--white);
  border-radius: 8px;
}

.compare {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 700px;
}

th,
td {
  padding: 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

th {
  color: var(--blue-dark);
  background: #eef5ff;
}

.page-hero {
  padding: 62px 0;
  background: linear-gradient(135deg, #edf5ff, #ffffff);
}

.content {
  max-width: 860px;
  padding: 58px 0;
}

.content h2 {
  margin-top: 34px;
}

.content li {
  margin-bottom: 8px;
}

.faq {
  display: grid;
  gap: 14px;
}

.faq details {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.faq summary {
  cursor: pointer;
  font-weight: 850;
}

.footer {
  padding: 34px 0;
  border-top: 1px solid var(--line);
  background: #071733;
  color: #dbe7ff;
}

.footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
}

.footer a {
  color: #dbe7ff;
}

@media (max-width: 860px) {
  .hero-grid,
  .grid,
  .steps,
  .tier-grid {
    grid-template-columns: 1fr;
  }

  .tier.featured {
    transform: none;
  }

  .proof,
  .mini-row,
  .tool-grid {
    grid-template-columns: 1fr;
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .links {
    justify-content: flex-start;
  }

  .hero {
    padding-top: 48px;
  }
}
