:root {
  --ink: #10141f;
  --muted: #5f6878;
  --line: #e4e7ee;
  --soft: #f6f7fb;
  --panel: #ffffff;
  --blue: #2563eb;
  --green: #1f8a54;
  --green-soft: #eaf8ef;
  --honey: #f4bd3f;
  --honey-soft: #fff4d8;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
p { margin: 0; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  min-height: 76px;
  width: min(1280px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(16px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 950;
  font-size: 22px;
  white-space: nowrap;
}
.brand-mark {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  padding: 0 10px;
  color: #374151;
  font-weight: 850;
  white-space: nowrap;
}
.nav a:hover {
  background: #f3f6fb;
  color: var(--blue);
}

.hero {
  width: min(1280px, calc(100% - 40px));
  min-height: calc(100vh - 76px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 48px;
  align-items: center;
  padding: 70px 0 92px;
}
.hero-copy { max-width: 820px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin: 0 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  padding: 6px 12px;
  color: #536071;
  font-size: 13px;
  font-weight: 900;
}
h1, h2, h3 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1.03;
}
h1 { font-size: clamp(54px, 8vw, 106px); }
h2 { font-size: clamp(34px, 5vw, 66px); }
h3 { font-size: 24px; }
.lead {
  max-width: 780px;
  margin-top: 24px;
  color: var(--muted);
  font-size: clamp(19px, 2vw, 25px);
}
.micro {
  max-width: 760px;
  margin-top: 18px;
  color: #6b7280;
  font-size: 15px;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.primary, .secondary {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 20px;
  font-weight: 950;
}
.primary { background: var(--ink); color: #fff; }
.secondary { border: 1px solid var(--line); background: #fff; color: var(--ink); }

.hero-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 14px;
  box-shadow: 0 30px 90px rgba(16,20,31,.08);
}
.panel-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 15px;
  border-bottom: 1px solid var(--line);
  color: #536071;
  font-weight: 800;
}
.panel-row:last-child { border-bottom: 0; }
.panel-row b { color: var(--ink); text-align: right; }
.panel-row.strong {
  border-radius: 8px;
  background: #edf4ff;
  color: #1d4ed8;
}
.panel-row.highlighted {
  border-radius: 8px;
  background: var(--green-soft);
}
.panel-row.highlighted b { color: var(--green); }

section { padding: 86px 0; }
.section-head {
  width: min(980px, calc(100% - 40px));
  margin: 0 auto 34px;
  text-align: center;
}
.section-head p:not(.eyebrow) {
  max-width: 820px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 19px;
}
.soft, .intro, .faq { background: var(--soft); }

.intent-grid, .tool-grid, .budget-grid, .mobile-list {
  width: min(1280px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  gap: 14px;
}
.intent-grid, .tool-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.budget-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mobile-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.intent-grid article, .tool-grid article, .budget-grid article, .mobile-list article {
  min-height: 220px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 22px;
  box-shadow: 0 16px 50px rgba(16,20,31,.04);
}
.tool-grid article.featured {
  background: var(--green-soft);
  border-color: #bfe9cc;
}
.intent-grid span, .tool-grid span, .budget-grid span {
  display: block;
  margin-bottom: 10px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.intent-grid p, .tool-grid p, .budget-grid p, .mobile-list p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 16px;
}
.tool-grid ul {
  margin: 14px 0 0;
  padding-left: 18px;
  color: #374151;
  font-weight: 750;
}
.tool-url {
  display: block;
  margin-top: 8px;
  color: #8a94a6;
  font-size: 13px;
  font-weight: 800;
  overflow-wrap: anywhere;
}
.tool-url:hover, .mobile-list a:hover { color: var(--blue); }
.mobile-list a {
  display: inline-flex;
  margin-top: 16px;
  color: var(--blue);
  font-weight: 900;
}

.comparison { background: #fff; }
.table-wrap {
  width: min(1480px, calc(100% - 40px));
  margin: 0 auto;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 60px rgba(16,20,31,.06);
}
table {
  width: 100%;
  min-width: 1180px;
  border-collapse: collapse;
}
th {
  padding: 18px 16px;
  background: #f8fafc;
  color: #4b5563;
  text-align: left;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
}
td {
  padding: 20px 16px;
  border-top: 1px solid var(--line);
  color: #253041;
  vertical-align: top;
  font-weight: 650;
}
td small {
  display: block;
  margin-top: 5px;
  color: #6b7280;
  font-weight: 650;
}
tr.winner td {
  background: var(--green-soft);
  border-top-color: #bfe9cc;
}

.references {
  background: #10141f;
  color: #fff;
}
.references .section-head p:not(.eyebrow) { color: #cbd5e1; }
.reference-list {
  width: min(980px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.reference-list a {
  display: block;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px;
  background: rgba(255,255,255,.06);
  padding: 16px 18px;
  color: #e5e7eb;
  font-weight: 800;
}
.reference-list a:hover { background: rgba(255,255,255,.1); }

.faq-list {
  width: min(980px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  gap: 10px;
}
details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
summary {
  cursor: pointer;
  padding: 18px 20px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 900;
}
details p {
  padding: 0 20px 20px;
  color: var(--muted);
  font-size: 17px;
}

.footer {
  padding: 34px 18px;
  border-top: 1px solid var(--line);
  color: #6b7280;
  text-align: center;
  font-size: 14px;
}
.footer p {
  max-width: 980px;
  margin: 0 auto;
}

@media (max-width: 1040px) {
  .topbar { position: static; flex-direction: column; justify-content: center; padding: 18px 0; }
  .nav { flex-wrap: wrap; justify-content: center; margin-left: 0; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 50px; }
  .hero-copy { text-align: center; margin: 0 auto; }
  .actions { justify-content: center; }
  .intent-grid, .tool-grid, .budget-grid, .mobile-list, .reference-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .brand { white-space: normal; }
  h1 { font-size: 46px; }
  h2 { font-size: 34px; }
  section { padding: 62px 0; }
  .intent-grid, .tool-grid, .budget-grid, .mobile-list, .reference-list { grid-template-columns: 1fr; }
  .panel-row { flex-direction: column; gap: 4px; }
  .panel-row b { text-align: left; }
  .primary, .secondary { width: 100%; }
}
