/* Readiva — shared styles. No external fonts, scripts or requests. */
:root {
  --bg: #f5f9fc;
  --surface: #ffffff;
  --soft-blue: #e3effa;
  --soft-green: #e1f3ea;
  --ink: #13283a;
  --muted: #3f5568;
  --blue: #1b5ea6;
  --blue-ink: #ffffff;
  --green: #1d7556;
  --border: #c4d5e2;
  --warn: #b3261e;
  --focus: #0b4a8f;
  --shadow: 0 1px 2px rgba(19, 40, 58, .06), 0 8px 24px rgba(19, 40, 58, .06);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 16px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0e1a25; --surface: #15252f; --soft-blue: #172f45; --soft-green: #14352b;
    --ink: #eaf2f8; --muted: #b5c6d4; --blue: #86bdf2; --blue-ink: #0b2236;
    --green: #74d3a9; --border: #2e4456; --warn: #ff8a80; --focus: #9fd0ff;
    --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; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 1.125rem/1.65 var(--font);
  overflow-wrap: break-word;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--blue); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

.skip {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--blue); color: var(--blue-ink); padding: 12px 18px; border-radius: 8px; font-weight: 600;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }

h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 6vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.lead { font-size: 1.25rem; color: var(--muted); max-width: 40em; }
.muted { color: var(--muted); }
.eyebrow { font-weight: 700; color: var(--green); letter-spacing: .06em; text-transform: uppercase; font-size: .9rem; margin-bottom: .5rem; }

/* Header */
.site-header { background: var(--surface); border-bottom: 1px solid var(--border); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding-top: 10px; padding-bottom: 10px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; font-weight: 800; font-size: 1.5rem; color: var(--ink); text-decoration: none; letter-spacing: -.02em; }
.brand svg { width: 34px; height: 34px; flex: none; }
.nav { display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 0; list-style: none; }
.nav a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 14px; color: var(--ink); text-decoration: none; border-radius: 10px; font-weight: 500; }
.nav a:hover { background: var(--soft-blue); }
.nav a[aria-current="page"] { background: var(--soft-blue); font-weight: 700; }

/* Hero */
.hero { padding: 48px 0 40px; }
.hero .wrap { display: grid; gap: 40px; align-items: center; }
.hero h1 { color: var(--ink); }
.store-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.store {
  display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 22px;
  border: 2px dashed var(--border); border-radius: 14px; background: var(--surface); color: var(--ink); font-weight: 600; font-size: 1rem;
}
.hero-note { margin-top: 14px; font-size: 1rem; color: var(--muted); }
.hero-art { display: flex; justify-content: center; }
.hero-art svg { width: min(280px, 70%); }

@media (min-width: 860px) {
  .hero .wrap { grid-template-columns: 1.3fr 1fr; }
}

/* Sections */
section { padding: 48px 0; }
.band { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { margin-bottom: 28px; }

.cards { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .cards.three { grid-template-columns: repeat(3, 1fr); } .cards.two { grid-template-columns: repeat(2, 1fr); } }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.band .card { box-shadow: none; background: var(--bg); }
.card .num { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--soft-blue); color: var(--blue); font-weight: 800; margin-bottom: 12px; }
.card.green .num { background: var(--soft-green); color: var(--green); }
.badge { display: inline-block; padding: 2px 12px; border-radius: 999px; background: var(--soft-green); color: var(--green); font-weight: 700; font-size: .9rem; vertical-align: middle; margin-left: 6px; border: 1px solid var(--green); }

.ticks { list-style: none; padding: 0; margin: 0 0 1em; }
.ticks li { position: relative; padding-left: 34px; margin-bottom: .6em; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .45em; width: 20px; height: 20px; border-radius: 50%; background: var(--soft-green); border: 2px solid var(--green); }
.ticks li::after { content: ""; position: absolute; left: 7px; top: .62em; width: 5px; height: 9px; border: solid var(--green); border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* Privacy block */
.privacy-block { display: grid; gap: 28px; align-items: center; }
@media (min-width: 860px) { .privacy-block { grid-template-columns: 1fr 1fr; } }
.privacy-block .panel { background: var(--soft-green); border-radius: var(--radius); padding: 28px; }

/* Plans */
.plan h3 { margin-bottom: .2em; }
.price { font-size: 2rem; font-weight: 800; line-height: 1.2; }
.price small { font-size: 1rem; font-weight: 500; color: var(--muted); }
.price-alt { color: var(--muted); margin-bottom: 1em; }
.tag { display: inline-block; font-size: .9rem; font-weight: 700; color: var(--green); background: var(--soft-green); padding: 2px 10px; border-radius: 999px; }
.plan.featured { border: 2px solid var(--blue); }
.fineprint { font-size: 1rem; color: var(--muted); margin-top: 20px; }

/* FAQ */
details { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; margin-bottom: 12px; }
summary { cursor: pointer; padding: 16px 20px; min-height: 56px; font-weight: 700; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.6rem; line-height: 1; color: var(--blue); flex: none; }
details[open] summary::after { content: "\2212"; }
details p { padding: 0 20px; margin: 0 0 1em; color: var(--muted); }

/* Legal / long text */
.doc { padding: 40px 0 56px; }
.doc .meta { color: var(--muted); font-weight: 600; }
.toc { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 24px; margin: 24px 0 32px; }
.toc h2 { font-size: 1.1rem; margin-bottom: .4em; }
.toc ol { margin: 0; padding-left: 1.4em; }
.toc a { display: inline-block; padding: 4px 0; }
.doc h2 { margin-top: 1.8em; scroll-margin-top: 16px; }
.placeholder { border: 2px dashed var(--border); border-radius: var(--radius); padding: 18px 22px; background: var(--surface); margin: 1.2em 0; color: var(--muted); }
.callout { border-radius: var(--radius); padding: 18px 22px; background: var(--soft-blue); margin: 1.2em 0; }
.callout.warn { background: transparent; border: 2px solid var(--warn); }
.callout.warn strong { color: var(--warn); }

/* Support */
.contact { word-break: break-word; font-weight: 700; }
.btn { display: inline-flex; align-items: center; min-height: 52px; padding: 0 24px; border-radius: 12px; background: var(--blue); color: var(--blue-ink); font-weight: 700; text-decoration: none; }
.btn:hover { filter: brightness(1.08); }

/* Footer */
.site-footer { background: var(--surface); border-top: 1px solid var(--border); padding: 36px 0 44px; font-size: 1rem; }
.site-footer p { color: var(--muted); max-width: 52em; }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 8px; list-style: none; padding: 0; margin: 16px 0 0; }
.footer-links a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 12px 0 0; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
