/* Deal Scanner website — shared styles. Tokens and rules from design/onboarding-redesign/final/WEBSITE-BUILD-SPEC.md.
   Restyled to the app's look on launch day (2026-10-08): navy, ink and grey from the app, Plus Jakarta Sans,
   the gold-marker headline highlight. Layout and copy unchanged. */
:root {
  --bg: #F6F7F9; --card: #FFFFFF; --line: #E3E6EC;
  --ink: #0f1c39; --grey: #46526f; --body: #374151;
  --blue: #213b80; --blue-soft: #e0e4ed;
  --gold: #A86D10; --green: #1E8449; --green-soft: #E3F4EA;
  --fb: #2F6FE4; --ou: #1A8A5A; --cl: #7A3FD6;
  --ease: cubic-bezier(.2, .8, .2, 1);
}
* { box-sizing: border-box; }
html, body { margin: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--ink); font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; -webkit-font-smoothing: antialiased; line-height: 1.45; overflow-x: hidden; font-feature-settings: "ss01", "cv11"; }
h1, h2, h3, .n2, .big, .amt { font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
a { color: inherit; }
img { display: block; }
.wrap { max-width: 1000px; margin: 0 auto; padding: 0 16px; }
.num { font-variant-numeric: tabular-nums; }
.fb { color: var(--fb); font-weight: 600; } .ou { color: var(--ou); font-weight: 600; } .cl { color: var(--cl); font-weight: 600; }

/* header */
header.top { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; gap: 12px; }
.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; letter-spacing: 1.8px; text-transform: uppercase; font-weight: 700; font-size: 12px; color: #4B5563; }
.brand img { width: 26px; height: 26px; border-radius: 7px; }
nav.links { display: none; gap: 24px; font-size: 14px; font-weight: 500; color: var(--grey); }
nav.links a { text-decoration: none; transition: color .3s; }
nav.links a:hover { color: var(--ink); }
header.top .right { display: flex; align-items: center; gap: 22px; }
header.top .get { background: var(--blue); color: #fff; text-decoration: none; font-weight: 700; font-size: 14px; border-radius: 10px; padding: 10px 14px; white-space: nowrap; }

/* sections */
section.band { padding: 72px 0; }
section.band.white { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.eyebrow { font-size: 12px; letter-spacing: 1.6px; text-transform: uppercase; font-weight: 700; color: var(--grey); margin: 0 0 12px; }
h1 { margin: 0; font-size: clamp(42px, 11vw, 62px); line-height: 1.0; font-weight: 800; letter-spacing: -1.6px; text-wrap: balance; }
h1 span, h2 span { color: var(--ink); background: linear-gradient(180deg, transparent 56%, rgba(245,181,68,.62) 56%, rgba(245,181,68,.62) 90%, transparent 90%); padding: 0 2px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
h2 br { display: none; }
h2 { margin: 0; font-size: clamp(32px, 7.5vw, 44px); line-height: 1.05; font-weight: 800; letter-spacing: -1px; text-wrap: balance; max-width: 18ch; }
.body { margin: 14px 0 0; font-size: 16px; color: var(--body); max-width: 46ch; }
.centered { text-align: center; } .centered h2, .centered .body { margin-left: auto; margin-right: auto; } .centered h2 { max-width: 30ch; }
.centered .cta { align-items: center; }

/* store buttons */
.cta { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.badges { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.badges a { display: inline-block; line-height: 0; border-radius: 8px; transition: transform .4s var(--ease); }
.badges a:hover { transform: translateY(-2px); }
.badges img.apple { height: 44px; width: auto; }
.badges img.google { height: 66px; width: auto; margin: -11px; }   /* the official PNG carries 10.7 px of padding per 44 px of badge */
.price-line { font-size: 14px; color: var(--grey); }
.price-line b { color: var(--ink); }

/* article pages: help, privacy, terms, search pages */
.page { padding: 28px 0 72px; }
.page h1 { font-size: clamp(34px, 8vw, 48px); letter-spacing: -1.2px; }
.page .lead { margin: 14px 0 0; font-size: 18px; color: var(--body); max-width: 56ch; }
.page .meta { margin: 12px 0 0; font-size: 14px; color: var(--grey); }
.prose { max-width: 68ch; margin-top: 28px; font-size: 17px; color: var(--body); }
.prose h2 { font-size: 24px; letter-spacing: -.5px; margin: 40px 0 10px; max-width: none; color: var(--ink); }
.prose h3 { font-size: 18px; margin: 26px 0 6px; color: var(--ink); }
.prose p { margin: 10px 0; }
.prose ul, .prose ol { padding-left: 22px; margin: 10px 0; }
.prose li { margin: 6px 0; }
.prose a { color: var(--blue); }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: var(--blue); text-decoration: underline; cursor: pointer; }
.linklike:disabled { color: var(--grey); text-decoration: none; cursor: default; }
.prose strong { color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 14px 0; }
.prose th, .prose td { text-align: left; padding: 10px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--grey); font-size: 12px; letter-spacing: 1.2px; text-transform: uppercase; }
.prose .src { font-size: 13px; color: var(--grey); }
.prose .box { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; margin: 22px 0; }
.prose .box h2 { margin-top: 0; }
.faq { margin-top: 28px; display: grid; gap: 10px; max-width: 760px; }
details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
summary { font-weight: 700; font-size: 16px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; width: 10px; height: 10px; border-right: 2px solid var(--grey); border-bottom: 2px solid var(--grey); transform: rotate(45deg); margin-right: 4px; transition: transform .4s var(--ease); flex: 0 0 10px; }
details[open] summary::after { transform: rotate(225deg) translate(-2px, -2px); }
details p { margin: 10px 0 0; color: var(--body); font-size: 16px; }
.plans-mini { display: grid; gap: 10px; margin: 18px 0; }
.plans-mini .plan { background: var(--card); border: 1.5px solid var(--line); border-radius: 16px; padding: 16px 18px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.plans-mini .plan b { font-size: 17px; }
.plans-mini .plan .s { color: var(--grey); font-size: 14px; }
.plans-mini .plan .pr { font-size: 22px; font-weight: 800; letter-spacing: -.5px; white-space: nowrap; }
.plans-mini .plan .pr small { font-size: 13px; font-weight: 500; color: var(--grey); }
.also { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 15px; color: var(--grey); }
.also a { color: var(--blue); margin-right: 14px; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal:nth-child(2) { transition-delay: .08s; } .reveal:nth-child(3) { transition-delay: .16s; }

/* footer */
footer { border-top: 1px solid var(--line); padding: 36px 0 120px; font-size: 14px; color: var(--grey); }
.fgrid { display: grid; gap: 22px; }
.fgrid h4 { margin: 0 0 8px; font-size: 12px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--ink); }
.fgrid a { display: block; text-decoration: none; margin: 5px 0; }
.fgrid a.brand { display: flex; }
.fgrid p { margin: 10px 0 0; max-width: 34ch; }
.copy { margin-top: 26px; font-size: 13px; }
.credit { margin-top: 8px; font-size: 11px; color: #9CA3AF; }

/* sticky bar, phones only */
.sticky { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; background: var(--ink); color: #fff; border-radius: 16px; padding: 10px 10px 10px 16px; display: flex; justify-content: space-between; align-items: center; gap: 10px; box-shadow: 0 12px 30px rgba(0,0,0,.25); transform: translateY(140%); transition: transform .3s ease; }
.sticky.show { transform: none; }
.sticky .t { font-size: 14px; font-weight: 700; line-height: 1.2; }
.sticky .t small { display: block; font-weight: 500; color: #C7CBD4; font-size: 12px; }
.sticky a { background: var(--blue); color: #fff; text-decoration: none; font-weight: 700; font-size: 14px; border-radius: 10px; padding: 11px 14px; white-space: nowrap; }

@media (min-width: 860px) {
  nav.links { display: flex; }
  section.band { padding: 96px 0; }
  .fgrid { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .sticky { display: none; }
  footer { padding-bottom: 48px; }
  .page { padding: 48px 0 96px; }
  .plans-mini { grid-template-columns: repeat(3, 1fr); }
  .plans-mini .plan { flex-direction: column; align-items: flex-start; }
  h2 br { display: inline; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .sticky, .badges a { transition: none; }
}
