/* Deal Check — shared styles */
:root {
  --ink: #12233a;
  --muted: #5b6574;
  --line: #e4e0d6;
  --paper: #f7f5f0;
  --card: #fff;
  --navy: #1a365d;
  --teal: #0f766e;
  --teal-dark: #0b5c56;
  --red: #b42318;
  --red-bg: #fef3f2;
  --amber: #b54708;
  --amber-bg: #fffaeb;
  --green: #067647;
  --green-bg: #ecfdf3;
  --shadow: 0 1px 2px rgba(18, 35, 58, .06), 0 8px 24px rgba(18, 35, 58, .06);
  --radius: 14px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}
body, button, input, textarea, select {
  font-synthesis: none;
}
code, .sans, nav, button, .btn, .tag, .badge, .faq-q, footer, label, th, td, input, textarea, .kicker, .price, .step-num {
  font-family: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
}
a { color: var(--teal-dark); }
.wrap { max-width: 960px; margin: 0 auto; padding: 0 20px; }
nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 0; gap: 12px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--ink); font-weight: 700;
  letter-spacing: -.02em; font-size: 1.05rem;
}
.logo-mark {
  width: 32px; height: 32px; border-radius: 8px; background: var(--navy);
  color: #fff; display: grid; place-items: center; font-weight: 800; font-size: .85rem;
}
.nav-links { display: flex; gap: 16px; align-items: center; font-size: .95rem; }
.nav-links a { color: var(--muted); text-decoration: none; }
.nav-links a:hover { color: var(--ink); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--navy); color: #fff; text-decoration: none;
  padding: 12px 18px; border-radius: 10px; border: 0; font-weight: 650;
  font-size: 1rem; cursor: pointer; line-height: 1.2;
}
.btn:hover { background: #122846; }
.btn:disabled { opacity: .65; cursor: wait; }
.btn-teal { background: var(--teal); }
.btn-teal:hover { background: var(--teal-dark); }
.btn-ghost {
  background: transparent; color: var(--navy);
  border: 1px solid var(--line);
}
.btn-ghost:hover { background: #fff; }
.btn-wide { width: 100%; }
h1, h2, h3 { font-family: "Source Serif 4", Georgia, serif; letter-spacing: -.02em; line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3rem); margin: .2em 0 .4em; }
h2 { font-size: 1.6rem; margin: 0 0 .6em; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 40rem; }
.kicker {
  color: var(--teal-dark); font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; font-size: .75rem; margin: 0 0 8px;
}
header.hero { padding: 28px 0 10px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 10px; }
.note { color: var(--muted); font-size: .92rem; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px 18px 16px; box-shadow: var(--shadow);
}
.card p { margin: .4em 0 0; color: var(--muted); }
section { padding: 36px 0; }
.price { font-size: 1.8rem; font-weight: 750; letter-spacing: -.03em; }
.price span { font-size: 1rem; font-weight: 550; color: var(--muted); }
ol.steps { padding-left: 1.2em; }
ol.steps li { margin: 0 0 .6em; }
.faq details {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 12px; padding: 0 16px; margin: 0 0 8px;
}
.faq summary {
  cursor: pointer; font-weight: 650; padding: 14px 0;
  list-style: none; display: flex; justify-content: space-between; gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 14px; color: var(--muted); }
.disclaimer, .store-note {
  font-size: .9rem; color: var(--muted); background: #efece4;
  border-radius: 12px; padding: 14px 16px;
}
footer.site {
  text-align: center; color: #8a90a0; padding: 28px 16px 40px; font-size: .85rem;
}
.badge {
  display: inline-block; font-size: .72rem; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 999px; vertical-align: middle;
}
.badge-verified { background: var(--green-bg); color: var(--green); }
.badge-unverified { background: #f2f4f7; color: #344054; }
.badge-suspicious { background: var(--red-bg); color: var(--red); }
.badge-high { background: var(--red-bg); color: var(--red); }
.badge-medium { background: var(--amber-bg); color: var(--amber); }
.badge-low { background: #f2f4f7; color: #344054; }
.sample-banner {
  background: var(--amber-bg); color: #7a2e0e; border: 1px solid #f5d0a9;
  border-radius: 12px; padding: 12px 14px; margin: 0 0 16px; font-weight: 650;
}
.field { margin: 0 0 14px; }
.field label { display: block; font-weight: 700; margin: 0 0 6px; }
.field .hint { font-weight: 450; color: var(--muted); font-size: .88rem; }
textarea {
  width: 100%; min-height: 200px; resize: vertical;
  border: 1px solid var(--line); border-radius: 12px;
  padding: 12px 14px; font-size: 1rem; background: #fff; color: var(--ink);
}
textarea:focus, input[type="file"]:focus-visible, button:focus-visible {
  outline: 2px solid var(--teal); outline-offset: 2px;
}
input[type="file"] { font-size: .9rem; max-width: 100%; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.toolbar { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 24px; }
table.nums { width: 100%; border-collapse: collapse; font-size: .95rem; }
table.nums th, table.nums td {
  text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line);
  vertical-align: top;
}
table.nums th { color: var(--muted); font-weight: 600; font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; }
table.nums td.reason { color: var(--muted); font-size: .9rem; }
.flag { border-left: 4px solid #d0d5dd; padding: 10px 12px; margin: 0 0 10px; background: #fff; border-radius: 0 10px 10px 0; }
.flag.high { border-left-color: var(--red); background: var(--red-bg); }
.flag.medium { border-left-color: var(--amber); background: var(--amber-bg); }
.flag.low { border-left-color: #667085; }
.flag h3 { margin: 0 0 4px; font-size: 1.05rem; font-family: "Source Sans 3", system-ui, sans-serif; }
.flag p { margin: 0; color: var(--ink); }
.math { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; }
.math .cell { background: #f8f6f1; border-radius: 10px; padding: 12px; }
.math .cell .lbl { font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); font-weight: 700; }
.math .cell .val { font-size: 1.25rem; font-weight: 750; }
.questions { counter-reset: q; list-style: none; padding: 0; margin: 0; }
.questions li {
  counter-increment: q; padding: 10px 0 10px 2.2em; position: relative;
  border-bottom: 1px solid var(--line);
}
.questions li::before {
  content: counter(q); position: absolute; left: 0; top: 10px;
  width: 1.6em; height: 1.6em; border-radius: 50%;
  background: var(--navy); color: #fff; font-size: .8rem;
  display: grid; place-items: center; font-weight: 700;
}
.lock-wrap { position: relative; }
.lock-wrap.is-locked .lock-body {
  max-height: 220px; overflow: hidden; filter: blur(5px);
  user-select: none; pointer-events: none;
}
.lock-cta {
  position: absolute; inset: auto 0 0 0;
  background: linear-gradient(to top, var(--paper) 45%, rgba(247,245,240,0));
  padding: 80px 16px 12px; text-align: center;
}
.error {
  background: var(--red-bg); color: var(--red); padding: 12px 14px;
  border-radius: 10px; margin: 0 0 16px;
}
@media (max-width: 720px) {
  .pair { grid-template-columns: 1fr; }
  textarea { min-height: 160px; }
  .nav-links .hide-sm { display: none; }
  table.nums, table.nums thead, table.nums tbody, table.nums th, table.nums td, table.nums tr {
    display: block;
  }
  table.nums thead { display: none; }
  table.nums tr { padding: 12px 0; border-bottom: 1px solid var(--line); }
  table.nums td { padding: 2px 0; }
}
@media print {
  nav, .toolbar, .no-print, .lock-cta, footer.site, input, textarea, .btn { display: none !important; }
  .lock-wrap.is-locked .lock-body { max-height: none; filter: none; }
  body { background: #fff; }
  .card, .flag { box-shadow: none; }
}
input[type="text"], input[type="number"], select {
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-size: 1rem; width: 100%;
  border: 1px solid var(--line); border-radius: 10px;
  padding: 10px 12px; background: #fff; color: var(--ink);
}
.crumb { font-size: .9rem; color: var(--muted); margin: 8px 0 0; font-family: "Source Sans 3", system-ui, sans-serif; }
.crumb a { color: var(--muted); text-decoration: none; }
.crumb a:hover { color: var(--ink); }
.calc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.calc-actions { margin: 16px 0; display: flex; flex-wrap: wrap; gap: 10px; }
.results { margin: 8px 0 24px; }
.cta-box {
  background: var(--navy); color: #fff; border-radius: var(--radius);
  padding: 22px 20px; margin: 28px 0 10px;
}
.cta-box p { margin: 0 0 12px; color: #e8eef7; }
.cta-box .btn { background: #fff; color: var(--navy); }
.cta-box .btn:hover { background: #e8eef7; }
.related { margin: 28px 0; }
.related ul { padding-left: 1.2em; }
.prose { max-width: 42rem; }
.prose h2 { margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin: 0 0 .45em; }
footer.site a { color: #6b7385; text-decoration: none; margin: 0 8px; }
footer.site a:hover { color: var(--ink); }
.add-row { display: grid; grid-template-columns: 1.4fr .7fr .9fr auto; gap: 8px; margin: 0 0 8px; align-items: center; }
@media (max-width: 720px) {
  .add-row { grid-template-columns: 1fr 1fr; }
  .add-row .span2 { grid-column: 1 / -1; }
}
.tag-legit { color: var(--green); font-weight: 700; }
.tag-proof { color: var(--amber); font-weight: 700; }
.tag-red { color: var(--red); font-weight: 700; }
.index-list { columns: 2; column-gap: 28px; padding-left: 1.1em; }
@media (max-width: 640px) { .index-list { columns: 1; } }
.index-list li { break-inside: avoid; margin: 0 0 .4em; }
.group-label { font-family: "Source Sans 3", system-ui, sans-serif; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; font-size: .78rem; color: var(--muted); margin: 1.4em 0 .4em; }
