:root {
  --blue: #0a66d6;
  --green: #1a9c5b;
  --gray: #5f6673;
  --bg: #ffffff;
  --card: #ffffff;
  --text: #111827;
  --border: #e5e7eb;
  --soft: #f4f5f7;
  --tint: #eef4fd;
}
@media (prefers-color-scheme: dark) {
  :root {
    --blue: #4c9bff;
    --bg: #0f1115;
    --card: #171a21;
    --text: #f3f4f6;
    --border: #2a2f3a;
    --soft: #1f232c;
    --gray: #a3acba;
    --tint: #16213a;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: var(--blue); }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible {
  outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 6px;
}
.skip { position: absolute; left: -999px; top: 8px; background: var(--bg); padding: 8px 12px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }
.wrap { max-width: 680px; margin: 0 auto; padding: 0 16px; }

/* Header */
header.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 0 8px; }
header.top img { height: 26px; width: auto; display: block; }
header.top nav { display: flex; gap: 18px; }
header.top nav a { font-size: 14px; color: var(--blue); text-decoration: none; font-weight: 600; white-space: nowrap; }
@media (max-width: 400px) {
  header.top img { height: 22px; }
  header.top nav { gap: 14px; }
  header.top nav a.wide-only { display: none; }
}

/* Type */
h1 { font-size: 36px; line-height: 1.12; letter-spacing: -0.02em; margin: 36px 0 14px; }
h2 { font-size: 24px; line-height: 1.25; letter-spacing: -0.01em; margin: 64px 0 12px; }
h3 { font-size: 17px; margin: 20px 0 6px; }
p { margin: 0 0 14px; }
.lead { font-size: 19px; color: var(--gray); }
.muted { color: var(--gray); font-size: 14px; }
.small { font-size: 14px; }
.tag { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--blue); background: var(--tint); padding: 4px 10px; border-radius: 999px; margin-top: 28px; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--gray); margin: 64px 0 0; }
.eyebrow + h2 { margin-top: 6px; }

/* App Store badge (official artwork, never redrawn) */
.store { display: inline-block; line-height: 0; border-radius: 9px; }
.store img { height: 50px; width: auto; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin: 22px 0 8px; }
.cta-row p { margin: 0; }

/* Cards */
.card { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 22px; margin: 16px 0; }
.card.tint { background: var(--tint); border-color: transparent; }
.card > :first-child { margin-top: 0; }
.card > :last-child { margin-bottom: 0; }
.big { font-size: 44px; font-weight: 700; letter-spacing: -0.03em; line-height: 1; color: var(--blue); }
input[type=range] { width: 100%; margin: 16px 0 4px; accent-color: var(--blue); height: 28px; }
.range-labels { display: flex; justify-content: space-between; font-size: 13px; color: var(--gray); }

/* Buttons */
.btn { display: inline-block; text-align: center; padding: 14px 22px; border-radius: 12px; border: none; background: #0a66d6; color: #fff; font-size: 17px; font-weight: 600; cursor: pointer; text-decoration: none; font-family: inherit; }
.btn.block { display: block; width: 100%; }
.btn.secondary { background: var(--soft); color: var(--text); }

/* Lists */
ul.points { padding-left: 0; list-style: none; margin: 0; }
ul.points li { padding: 12px 0; border-bottom: 1px solid var(--border); }
ul.points li:last-child { border-bottom: none; }
ul.points strong { display: block; }
ol.points { padding-left: 1.2em; margin: 0; }
ol.points li { padding: 12px 0 12px 4px; border-bottom: 1px solid var(--border); }
ol.points li:last-child { border-bottom: none; }
ol.points strong { display: block; }
ol.how { list-style: none; counter-reset: how; padding: 0; margin: 8px 0 0; }
ol.how li { counter-increment: how; position: relative; padding: 0 0 22px 52px; }
ol.how li::before { content: counter(how); position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--tint); color: var(--blue); font-weight: 700; display: grid; place-items: center; }
ol.how h3 { margin: 4px 0 4px; }
ol.how p { margin: 0; color: var(--gray); }
ul.check { list-style: none; padding: 0; margin: 8px 0 14px; }
ul.check li { padding-left: 26px; position: relative; margin: 6px 0; }
ul.check li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 10px; height: 5px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }
ul.cross li::before { border: none; width: 10px; height: 2px; background: var(--gray); transform: none; top: .75em; }

.two { display: grid; gap: 12px; }
@media (min-width: 580px) { .two { grid-template-columns: 1fr 1fr; } }

/* Pricing */
.plan { position: relative; }
.plan .price { font-size: 30px; font-weight: 700; letter-spacing: -0.02em; margin: 2px 0 2px; }
.plan .per { font-size: 15px; font-weight: 500; color: var(--gray); }
.plan .flag { position: absolute; top: 18px; right: 18px; font-size: 12px; font-weight: 600; color: var(--green); }
.terms { font-size: 14px; color: var(--gray); }
.terms strong { color: var(--text); }

/* Forms */
form.list { display: grid; gap: 10px; }
form.list input[type=email] {
  width: 100%; padding: 14px; font-size: 16px; border-radius: 12px; border: 1px solid var(--border);
  background: var(--bg); color: var(--text); font-family: inherit;
}
.hp { position: absolute; left: -9999px; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--border); padding: 14px 0; }
.faq summary { font-weight: 600; cursor: pointer; }
.faq details p { margin: 8px 0 0; color: var(--gray); }

/* Help */
.help { background: var(--soft); border-radius: 12px; padding: 16px; font-size: 15px; margin: 24px 0; }
.help p { margin: 0; }
.help p + p { margin-top: 6px; }

/* Footer */
footer.site { margin: 72px 0 40px; padding-top: 24px; border-top: 1px solid var(--border); font-size: 14px; color: var(--gray); }
footer.site nav { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 14px; }
footer.site a { color: var(--gray); }
footer.site p { margin: 0 0 8px; }

/* Articles */
article h1 { font-size: 32px; }
article h2 { margin-top: 44px; font-size: 22px; }
article p, article li { font-size: 17px; }
article li { margin-bottom: 6px; }
article .meta { color: var(--gray); font-size: 14px; }
article blockquote { margin: 16px 0; padding: 4px 0 4px 16px; border-left: 3px solid var(--tint); color: var(--gray); }
article .cta { background: var(--tint); border-radius: 16px; padding: 20px; margin: 28px 0; }
article .cta p { font-size: 16px; }
article .cta > :last-child { margin-bottom: 0; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 16px 0; }
table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--border); vertical-align: top; }
thead th { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--gray); }
.sources { font-size: 14px; color: var(--gray); word-break: break-word; }
.sources li { font-size: 14px; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media print {
  header.top nav, .skip, .noprint { display: none !important; }
  body { font-size: 12pt; color: #000; background: #fff; }
  .card, .help { border: 1px solid #ccc; break-inside: avoid; }
  h2 { margin-top: 24px; }
  a { color: #000; }
}
a[href^="tel:"], a[href^="sms:"] { white-space: nowrap; }
/* Comparison table: stacked cards on phones instead of sideways scrolling */
@media (max-width: 600px) {
  .stack table, .stack tbody, .stack tr, .stack th, .stack td { display: block; }
  .stack table { min-width: 0; }
  .stack thead { display: none; }
  .stack tr { border: 1px solid var(--border); border-radius: 12px; padding: 10px 14px; margin: 0 0 12px; }
  .stack th[scope=row] { border: none; padding: 2px 0 6px; font-size: 16px; }
  .stack td { border: none; padding: 3px 0; }
  .stack td::before { content: attr(data-label) ": "; font-weight: 600; }
}
