/* Deal Scanner product site. */
:root {
  --navy: #1d3a52;
  --navy-2: #2b5578;
  --accent: #33607f;
  --accent-light: #eaf1f7;
  --green: #1d7a3e;
  --green-bg: #e4f3ea;
  --ink: #1c2530;
  --muted: #687685;
  --line: #e1e9f1;
  --bg: #eef2f6;
  --card: #ffffff;
  --radius: 8px;
  --maxw: 1080px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font: 16px/1.6 -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

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

.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--navy);
  font-size: 17px;
  font-weight: 800;
}

.brand svg { width: 26px; height: 26px; flex: 0 0 auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-links a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav-links a:hover { color: var(--ink); text-decoration: none; }

.btn {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: var(--radius);
  padding: 10px 18px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .1s, filter .12s, background .12s, border-color .12s;
}

.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: linear-gradient(120deg, var(--navy), var(--navy-2)); color: #fff; }
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost { background: #fff; color: var(--accent); border: 1px solid #b9cede; }
.btn-ghost:hover { background: var(--accent-light); }
.btn-lg { min-height: 50px; padding: 12px 22px; font-size: 16px; }
.btn-disabled { cursor: default; opacity: .86; }
.btn-disabled:hover { filter: none; transform: none; }

.hero {
  position: relative;
  overflow: hidden;
  min-height: 680px;
  padding: 86px 0 92px;
  background:
    linear-gradient(180deg, #dfe8f1 0%, #eef2f6 74%, #eef2f6 100%);
}

.hero-grid {
  position: relative;
  min-height: 500px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 560px;
  padding-top: 38px;
}

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

.hero h1 {
  max-width: 11em;
  margin: 12px 0 18px;
  color: var(--navy);
  font-size: 48px;
  line-height: 1.08;
  letter-spacing: 0;
}

.hero .lead {
  max-width: 32em;
  color: var(--muted);
  font-size: 18px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-note {
  margin-top: 16px;
  color: var(--muted);
  font-size: 13px;
}

.hero-note b { color: var(--ink); }

.mock-browser {
  position: absolute;
  right: 0;
  top: 18px;
  z-index: 1;
  width: min(520px, 48vw);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(20, 40, 60, .18);
  overflow: hidden;
}

.mock-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  background: #f3f6f9;
  border-bottom: 1px solid var(--line);
}

.mock-dot { width: 10px; height: 10px; border-radius: 50%; background: #cbd5de; }

.mock-url {
  min-width: 0;
  flex: 1;
  margin-left: 10px;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mock-body { display: flex; gap: 14px; padding: 16px; }

.mock-photo {
  width: 44%;
  aspect-ratio: 4 / 3;
  flex: 0 0 auto;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #cfd8e0, #aab8c4);
}

.mock-photo svg {
  position: absolute;
  inset: 0;
  width: 60%;
  margin: auto;
  opacity: .55;
}

.mock-info { min-width: 0; flex: 1; }
.mock-title { color: var(--navy); font-size: 18px; font-weight: 800; }
.mock-sub { margin: 2px 0 8px; color: var(--muted); font-size: 13px; }
.mock-price { margin-bottom: 4px; color: var(--ink); font-size: 24px; font-weight: 800; }

.panel {
  margin-top: 10px;
  padding: 9px 11px;
  border: 1px solid #cfdfeb;
  border-radius: var(--radius);
  background: #f4f8fb;
  color: var(--ink);
  font-size: 12.5px;
}

.panel .p-title { margin-bottom: 6px; color: var(--accent); font-size: 11px; font-weight: 800; }
.panel .p-row { display: flex; align-items: center; gap: 6px; margin: 4px 0; }
.panel .p-row.pos { color: var(--green); font-weight: 700; }
.panel .ico { width: 13px; height: 13px; flex: 0 0 auto; color: var(--accent); }
.pill { padding: 1px 7px; border-radius: 8px; font-size: 10.5px; font-weight: 800; }
.pill.neg { background: var(--green-bg); color: var(--green); }
.hist { margin: 3px 0 3px 19px; font-size: 12px; }
.hist .old { color: #9aa5ad; text-decoration: line-through; }
.hist .cur { font-weight: 800; }
.hist .d { margin-right: 8px; color: #8a97a0; font-variant-numeric: tabular-nums; }

.track {
  position: relative;
  max-width: 240px;
  height: 6px;
  margin: 6px 0 3px 19px;
  border-radius: 4px;
  background: linear-gradient(90deg, #2e9c55, #e8c94b, #c05555);
}

.track .dot {
  position: absolute;
  top: 50%;
  left: 22%;
  width: 12px;
  height: 12px;
  transform: translate(-50%, -50%);
  border: 2.5px solid var(--accent);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,.3);
}

.track-labels {
  max-width: 240px;
  display: flex;
  justify-content: space-between;
  margin-left: 19px;
  color: #8a97a0;
  font-size: 10.5px;
}

section { padding: 72px 0; }
.band { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section-head {
  max-width: 42em;
  margin: 0 auto 48px;
  text-align: center;
}

.section-head h2 {
  margin: 8px 0 12px;
  color: var(--navy);
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: 0;
}

.section-head p { color: var(--muted); font-size: 17px; }

.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 64px;
}

.feature:last-child { margin-bottom: 0; }
.feature.flip .feature-text { order: 2; }
.feature-text h3 { margin-bottom: 12px; color: var(--navy); font-size: 24px; letter-spacing: 0; }
.feature-text p { margin-bottom: 10px; color: var(--muted); font-size: 16px; }

.tag {
  display: inline-block;
  margin-top: 4px;
  padding: 3px 10px;
  border-radius: 8px;
  background: var(--green-bg);
  color: var(--green);
  font-size: 12.5px;
  font-weight: 800;
}

.feature-visual {
  overflow: hidden;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 14px 38px rgba(20, 40, 60, .1);
}

.cmp-mock {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 13px;
}

.cmp-mock th,
.cmp-mock td {
  padding: 8px 10px;
  border-bottom: 1px solid #eef2f5;
  text-align: left;
}

.cmp-mock thead td { padding-bottom: 12px; text-align: center; }
.cmp-mock .ph {
  width: 100%;
  aspect-ratio: 16 / 10;
  margin-bottom: 6px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #cfd8e0, #aab8c4);
}
.cmp-mock .cname { color: var(--navy); font-size: 13px; font-weight: 800; }
.cmp-mock .cprice { font-weight: 800; }
.cmp-mock tbody th {
  color: var(--muted);
  background: #f8fafc;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .03em;
  text-transform: uppercase;
  white-space: nowrap;
}
.cmp-mock td { border-left: 1px solid #eef2f5; }
.cmp-mock td.best { box-shadow: inset 3px 0 0 var(--green); font-weight: 800; }

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

.step {
  padding: 26px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  text-align: center;
}

.step-num {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: linear-gradient(120deg, var(--navy), var(--navy-2));
  color: #fff;
  font-size: 18px;
  font-weight: 800;
}

.step h3 { margin-bottom: 8px; color: var(--navy); font-size: 18px; }
.step p { color: var(--muted); font-size: 15px; }

.trust {
  background: linear-gradient(120deg, var(--navy), var(--navy-2));
  color: #fff;
}

.trust .wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  text-align: center;
}

.trust-icon { width: 34px; height: 34px; margin: 0 auto 12px; color: #9ec3e0; }
.trust-item h3 { margin-bottom: 6px; font-size: 18px; }
.trust-item p { color: rgba(255,255,255,.74); font-size: 14px; }

.cta-final { text-align: center; }
.cta-final h2 { margin-bottom: 12px; color: var(--navy); font-size: 32px; letter-spacing: 0; }
.cta-final p { margin-bottom: 26px; color: var(--muted); font-size: 17px; }
.disclaimer {
  max-width: 46em;
  margin: 18px auto 0;
  color: var(--muted) !important;
  font-size: 13px !important;
}

footer {
  padding: 34px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.foot-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.foot-links { display: flex; gap: 20px; }
.foot-links a { color: var(--muted); font-weight: 700; }

.legal { background: #fff; }
.legal .wrap { max-width: 840px; padding-top: 54px; padding-bottom: 78px; }
.legal-kicker {
  margin-bottom: 6px !important;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.legal h1 { margin-bottom: 6px; color: var(--navy); font-size: 34px; line-height: 1.15; }
.legal h2 { margin: 36px 0 10px; color: var(--navy); font-size: 20px; }
.legal p,
.legal li { margin-bottom: 8px; color: #334; }
.legal ul { padding-left: 22px; }
.legal .updated { margin-bottom: 16px; color: var(--muted); font-size: 14px; }
.legal-lede {
  margin-bottom: 24px !important;
  color: #405160 !important;
  font-size: 18px;
  line-height: 1.65;
}
.policy-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin: 28px 0 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}
.policy-summary div { min-width: 0; padding: 18px; background: #f8fafc; }
.policy-summary strong {
  display: block;
  margin-bottom: 4px;
  color: var(--navy);
  font-size: 14px;
}
.policy-summary span {
  display: block;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}
.legal hr { margin: 56px 0; border: 0; border-top: 1px solid var(--line); }

@media (max-width: 900px) {
  .hero {
    min-height: auto;
    padding: 56px 0 64px;
  }

  .hero-grid { min-height: 0; }
  .hero-copy { padding-top: 0; }
  .mock-browser {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    max-width: 620px;
    margin-top: 34px;
  }

  .feature,
  .feature.flip .feature-text { grid-template-columns: 1fr; order: 0; }
  .feature-visual { order: 2; }
  .steps,
  .trust .wrap { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}

@media (max-width: 560px) {
  .hero h1 { font-size: 36px; }
  .hero .lead { font-size: 17px; }
  .mock-body { display: block; }
  .mock-photo { width: 100%; margin-bottom: 14px; }
  .policy-summary { grid-template-columns: 1fr; }
  .legal h1 { font-size: 30px; }
}
