/* Savvio Chargeback Response Kit: shared styles for index, guides, terms, privacy.
   Hand-written source file (not generated). System fonts only; no external assets. */
:root {
  --bg: #f7f8fa;
  --surface: #ffffff;
  --surface-2: #f1f4f8;
  --paper: #ffffff;
  --fg: #111827;
  --muted: #4b5563;
  --line: #dfe3ea;
  --line-strong: #c5ccd6;
  --accent: #0b5cad;
  --accent-hover: #094c90;
  --accent-soft: #e8f1fb;
  --on-accent: #ffffff;
  --ok: #18794e;
  --ok-soft: #e6f4ec;
  --warn-soft: #fff6e0;
  --warn-line: #f0d48a;
  --focus: #0b5cad;
  --shadow: 0 1px 2px rgba(17, 24, 39, .06), 0 8px 24px rgba(17, 24, 39, .06);
  --radius: 12px;
  --radius-sm: 8px;
  --gutter: 16px;
  --max: 1120px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e1116;
    --surface: #161a21;
    --surface-2: #1c222b;
    --paper: #11151b;
    --fg: #e8ecf1;
    --muted: #a6b0bd;
    --line: #2a313c;
    --line-strong: #3a4350;
    --accent: #6aaef5;
    --accent-hover: #8cc0f7;
    --accent-soft: #15263a;
    --on-accent: #08121f;
    --ok: #5fcf95;
    --ok-soft: #12291e;
    --warn-soft: #2a2312;
    --warn-line: #5c4a1c;
    --focus: #8cc0f7;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px rgba(0, 0, 0, .3);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font: 17px/1.6 var(--font); overflow-wrap: break-word;
}
img, svg { max-width: 100%; }
a { color: var(--accent); text-underline-offset: 2px; }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -.01em; }
h1 { font-size: clamp(30px, 6vw, 48px); margin: 0 0 16px; }
h2 { font-size: clamp(24px, 4vw, 32px); margin: 0 0 12px; }
h3 { font-size: 19px; margin: 0 0 6px; }
p { margin: 0 0 14px; }
[id] { scroll-margin-top: 16px; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; background: var(--surface); color: var(--fg); padding: 8px 12px; border-radius: var(--radius-sm); z-index: 10; }
.skip:focus { top: 8px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; }
.small { font-size: 14px; color: var(--muted); }
.muted { color: var(--muted); }
.icon { width: 22px; height: 22px; flex: none; }

/* Header and footer */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--fg); text-decoration: none; font-weight: 700; line-height: 1.15; }
.brand:hover { color: var(--fg); }
.brand .mark { width: 32px; height: 32px; color: var(--accent); }
.brand small { display: block; font-weight: 500; font-size: 13px; color: var(--muted); }
.nav { display: flex; align-items: center; gap: 20px; }
.nav a { color: var(--fg); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav a:hover { color: var(--accent); }
.nav .nav-link { display: none; }
.nav .btn { white-space: nowrap; }
@media (max-width: 479px) { .brand { font-size: 15px; gap: 8px; } .brand .mark { width: 28px; height: 28px; } .nav .btn-sm { padding: 8px 12px; font-size: 14px; } }
@media (min-width: 760px) { .nav .nav-link { display: inline; } }

.site-footer { background: var(--surface); border-top: 1px solid var(--line); margin-top: 64px; padding: 40px 0 32px; font-size: 15px; }
.footer-grid { display: grid; gap: 24px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer h2 { font-size: 15px; margin: 0 0 8px; letter-spacing: 0; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 4px 0; }
.site-footer .legal { border-top: 1px solid var(--line); margin-top: 28px; padding-top: 16px; }

/* Buttons */
.btn, button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 11px 20px; border: 1px solid transparent; border-radius: var(--radius-sm);
  background: var(--accent); color: var(--on-accent); font: inherit; font-weight: 650; font-size: 16px;
  line-height: 1.2; text-decoration: none; cursor: pointer; transition: background .15s;
}
.btn:hover, button:hover { background: var(--accent-hover); color: var(--on-accent); }
.btn-sm { min-height: 38px; padding: 8px 14px; font-size: 15px; }
.btn-lg { min-height: 52px; padding: 14px 24px; font-size: 17px; }
.btn.secondary, button.secondary { background: transparent; color: var(--accent); border-color: var(--line-strong); }
.btn.secondary:hover, button.secondary:hover { background: var(--accent-soft); color: var(--accent); }
.btn-block { width: 100%; }

/* Sections */
section { padding: 56px 0; }
.section-head { max-width: 680px; margin-bottom: 28px; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.grid { display: grid; gap: 16px; }
@media (min-width: 700px) { .grid-2 { grid-template-columns: 1fr 1fr; } .grid-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 640px) and (max-width: 959px) { .grid-4 { grid-template-columns: 1fr 1fr; } }
.band { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* Hero */
.hero { padding: 48px 0 40px; }
.hero-grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.15fr .85fr; } .hero { padding: 72px 0 56px; } }
.hero .lead { font-size: clamp(18px, 2.4vw, 21px); color: var(--muted); max-width: 640px; margin-bottom: 24px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.hero-points { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 15px; }
.hero-points li { display: inline-flex; align-items: center; gap: 6px; }
.hero-points .icon { width: 18px; height: 18px; color: var(--ok); }
.processors { font-size: 14px; color: var(--muted); }
.preview { display: none; }
@media (min-width: 960px) { .preview { display: block; } }
.preview .card { padding: 18px; }
.preview-tag { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.preview ul { list-style: none; padding: 0; margin: 10px 0 16px; font-size: 15px; }
.preview li { display: flex; gap: 8px; align-items: flex-start; padding: 7px 0; border-bottom: 1px solid var(--line); }
.preview li .icon { width: 18px; height: 18px; margin-top: 3px; color: var(--ok); }
.preview li.todo .icon { color: var(--line-strong); }
.preview .paper { font-family: var(--serif); font-size: 14px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; color: var(--muted); }
.preview .paper strong { color: var(--fg); }

/* Steps */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: step; position: relative; padding-left: 52px; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-weight: 700; display: grid; place-items: center; }
.steps p { color: var(--muted); margin: 0; }

/* Tool */
.tool { padding-top: 48px; }
.tool-card { padding: 20px; border-top: 4px solid var(--accent); }
@media (min-width: 700px) { .tool-card { padding: 28px; } }
fieldset { border: 0; margin: 0 0 8px; padding: 0; min-width: 0; }
legend { font-weight: 700; font-size: 17px; padding: 0; margin: 16px 0 2px; display: flex; align-items: center; gap: 8px; }
legend .num { width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-size: 14px; display: inline-grid; place-items: center; }
fieldset:first-of-type legend { margin-top: 0; }
label { display: block; font-weight: 600; font-size: 15px; margin: 14px 0 6px; }
.hint { font-weight: 400; color: var(--muted); font-size: 14px; }
input, select, textarea {
  width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  background: var(--paper); color: var(--fg); font: inherit; font-size: 16px;
}
input::placeholder, textarea::placeholder { color: var(--muted); opacity: .8; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 0; border-color: var(--focus); border-radius: var(--radius-sm); }
textarea { min-height: 84px; resize: vertical; }
.row { display: grid; grid-template-columns: 1fr; gap: 0 14px; }
@media (min-width: 600px) { .row { grid-template-columns: 1fr 1fr; } }
.privacy-note { display: flex; gap: 10px; align-items: flex-start; background: var(--surface-2); border-radius: var(--radius-sm); padding: 12px 14px; font-size: 14px; color: var(--muted); margin: 18px 0 0; }
.privacy-note .icon { color: var(--ok); width: 20px; height: 20px; margin-top: 1px; }
.build-row { margin: 20px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.build-row button { width: 100%; }
@media (min-width: 600px) { .build-row button { width: auto; } }

#out { margin-top: 32px; }
#out h2 { font-size: 24px; margin-top: 28px; }
ul.check { list-style: none; padding: 0; margin: 0 0 8px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
ul.check li { padding: 12px 14px 12px 48px; position: relative; border-bottom: 1px solid var(--line); }
ul.check li:last-child { border-bottom: 0; }
ul.check li::before { content: ""; position: absolute; left: 14px; top: 14px; width: 20px; height: 20px; border: 2px solid var(--line-strong); border-radius: 5px; background: var(--paper); }
ul.check li.have::before { border-color: var(--ok); background: var(--ok); }
ul.check li.have::after { content: ""; position: absolute; left: 21px; top: 17px; width: 6px; height: 11px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.legend-have { display: inline-block; width: 14px; height: 14px; border-radius: 3px; background: var(--ok); vertical-align: -2px; }
#letterwrap { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
#letter { white-space: pre-wrap; font-family: var(--serif); font-size: 16px; line-height: 1.6; padding: 20px; }
@media (min-width: 700px) { #letter { padding: 28px 32px; } }
.locked { position: relative; max-height: 240px; overflow: hidden; }
.locked::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 150px; background: linear-gradient(rgba(0,0,0,0), var(--paper)); }
#paywall { margin-top: 16px; border: 2px solid var(--accent); }
.price { display: flex; align-items: baseline; gap: 8px; margin: 4px 0 10px; }
.price strong { font-size: 36px; line-height: 1; }
.ticks { list-style: none; padding: 0; margin: 0 0 16px; }
.ticks li { position: relative; padding: 4px 0 4px 28px; }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 9px; width: 7px; height: 12px; border: solid var(--ok); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.disclaimer { border-left: 3px solid var(--line-strong); padding-left: 12px; }
#actions { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 12px; }

/* What you get / compare */
.feature .icon { width: 28px; height: 28px; color: var(--accent); margin-bottom: 10px; }
.feature p { color: var(--muted); margin: 0; font-size: 16px; }
.not-list { margin-top: 20px; background: var(--warn-soft); border: 1px solid var(--warn-line); border-radius: var(--radius); padding: 16px 18px; font-size: 15px; }
.not-list ul { margin: 6px 0 0; padding-left: 20px; }
.compare .card { display: flex; flex-direction: column; }
.compare .card.featured { border: 2px solid var(--accent); }
.compare .tag { align-self: flex-start; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; background: var(--accent-soft); color: var(--accent); border-radius: 999px; padding: 3px 10px; margin-bottom: 8px; }
.compare dl { margin: 8px 0 0; }
.compare dt { font-size: 13px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; margin-top: 12px; }
.compare dd { margin: 2px 0 0; }
.compare .card .btn { margin-top: 18px; }

/* Reason links */
.reason-list { list-style: none; padding: 0; margin: 0; }
.reason-list a { display: block; height: 100%; padding: 16px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--fg); transition: border-color .15s; }
.reason-list a:hover { border-color: var(--accent); color: var(--fg); }
.reason-list strong { display: block; color: var(--accent); margin-bottom: 4px; }
.reason-list span { display: block; font-size: 15px; color: var(--muted); }

/* FAQ */
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 16px 48px 16px 18px; font-weight: 650; position: relative; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 12px; font-size: 24px; color: var(--accent); font-weight: 400; }
.faq details[open] summary::after { content: "\2212"; }
.faq details > div { padding: 0 18px 16px; color: var(--muted); }
.faq details > div p:last-child { margin: 0; }

.cta-band { text-align: center; }
.cta-band .card { padding: 32px 20px; background: var(--accent-soft); border-color: transparent; box-shadow: none; }
.cta-band p { max-width: 560px; margin-left: auto; margin-right: auto; }

/* Guides and simple pages */
.mobile-cta { margin: 4px 0 14px; }
@media (min-width: 960px) { .mobile-cta { display: none; } }
.breadcrumb { font-size: 14px; color: var(--muted); padding: 20px 0 0; }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.breadcrumb li + li::before { content: "/"; margin-right: 4px; color: var(--line-strong); }
.breadcrumb a { color: var(--muted); }
.article-head { padding: 20px 0 8px; }
.article-head .lead { font-size: 19px; color: var(--muted); max-width: 720px; }
.updated { font-size: 14px; color: var(--muted); }
.layout { display: grid; gap: 32px; padding-top: 16px; }
@media (min-width: 960px) { .layout { grid-template-columns: minmax(0, 1fr) 320px; align-items: start; } }
.prose { max-width: 720px; }
.prose h2 { font-size: 26px; margin: 40px 0 12px; }
.prose ol, .prose ul { padding-left: 22px; }
.prose li { margin: 8px 0; }
.glance { display: grid; gap: 12px; grid-template-columns: 1fr; margin: 8px 0 0; }
@media (min-width: 600px) { .glance { grid-template-columns: repeat(3, 1fr); } }
.glance div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.glance dt { font-size: 13px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.glance dd { margin: 4px 0 0; font-weight: 650; }
.toc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; margin: 24px 0 0; }
.toc h2 { font-size: 15px; margin: 0 0 6px; letter-spacing: 0; }
.toc ol { margin: 0; padding-left: 20px; }
.toc li { margin: 4px 0; }
.evidence-list { counter-reset: ev; list-style: none; padding: 0 !important; }
.evidence-list li { counter-increment: ev; position: relative; padding: 12px 14px 12px 52px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); margin: 8px 0; }
.evidence-list li::before { content: counter(ev); position: absolute; left: 14px; top: 11px; width: 26px; height: 26px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: 14px; display: grid; place-items: center; }
.mistake-list li::marker { color: #c2410c; }
.cta-box { background: var(--surface); border: 2px solid var(--accent); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.cta-box h2 { font-size: 22px; margin: 0 0 8px; }
.cta-box .btn { width: 100%; margin: 6px 0 12px; }
@media (min-width: 960px) { .sidebar { position: sticky; top: 16px; } }
.related { margin-top: 48px; }
.related h2 { font-size: 24px; }
.page { padding-top: 32px; }
.page h2 { font-size: 22px; margin-top: 32px; }

@media print {
  body * { visibility: hidden; }
  #printable, #printable * { visibility: visible; }
  #printable { position: absolute; left: 0; top: 0; width: 100%; color: #000; background: #fff; }
  .noprint { display: none; }
}

/* Launch week */
.launch-badge { display: inline-block; margin: 0 0 12px; padding: 6px 12px; border-radius: 999px; background: var(--accent-soft, rgba(11, 92, 173, .1)); color: var(--fg); font-size: 15px; }
#launch { border-color: var(--accent); }
