/* invocourier.com - the one stylesheet for every page of the landing site.
   Source of truth since 2026-10-06 (merged from the inline <style> blocks; the guide-page look is the base).
   Edit here, then run: python3 tools/assets.py   (stamps the new version into every page; Cloudflare caches this file). */

/* 1. Base. Global rules (tokens, reset, body, .wrap, header, .brand, footer) apply everywhere; the document rules
   (sections, headings, lists, tables, notes, code, CTA) are scoped to :where(body.doc) = every guide, help and legal page.
   The home pages (body.home) and the 404 page (body.page-404) are app-like pages and get only the global rules. */
:root { --ink: #1a2332; --muted: #5a6577; --accent: #0b5fff; --accent-dark: #0847bd; --ok: #0e8a4d; --warn: #c7691c; --bg: #f6f8fb; --card: #ffffff; --line: #e3e8f0; --soft: #eef4ff; --bad: #c92f2f; }
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; color: var(--ink); background: var(--bg); line-height: 1.65; -webkit-font-smoothing: antialiased; }
.wrap { max-width: 760px; margin: 0 auto; padding-left: 16px; padding-right: 16px; }
header { padding: 44px 0 8px; }
.kicker { color: var(--accent); font-weight: 600; font-size: 0.85rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 8px; }
header h1 { font-size: clamp(1.6rem, 4.5vw, 2.3rem); line-height: 1.22; margin-bottom: 12px; }
.lead { font-size: 1.08rem; color: var(--muted); margin-bottom: 12px; }
.meta { color: var(--muted); font-size: 0.88rem; }
.meta a { color: var(--accent); }
:where(body.doc) main { padding: 8px 0; }
:where(body.doc) section { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 22px 24px; margin: 18px 0; }
:where(body.doc) h2 { font-size: 1.2rem; margin-bottom: 12px; line-height: 1.35; }
:where(body.doc) h3 { font-size: 1.02rem; margin: 18px 0 6px; }
:where(body.doc) p { margin-bottom: 12px; }
:where(body.doc) p:last-child, :where(body.doc) ul:last-child, :where(body.doc) ol:last-child, :where(body.doc) table:last-child, :where(body.doc) .table-scroll:last-child { margin-bottom: 0; }
:where(body.doc) ul, :where(body.doc) ol { margin: 0 0 12px 22px; }
:where(body.doc) li { margin-bottom: 6px; }
a { color: var(--accent); }
a:hover { color: var(--accent-dark); }
:where(body.doc) .table-scroll { overflow-x: auto; margin-bottom: 12px; }
:where(body.doc) table { width: 100%; border-collapse: collapse; font-size: 0.93rem; }
:where(body.doc) th, :where(body.doc) td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
:where(body.doc) th { background: var(--bg); font-size: 0.8rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
:where(body.doc) tr:last-child td { border-bottom: none; }
:where(body.doc) .note { background: var(--soft); border-left: 3px solid var(--accent); border-radius: 6px; padding: 12px 14px; margin-bottom: 12px; font-size: 0.95rem; }
:where(body.doc) .toc ol { margin-bottom: 0; }
:where(body.doc) .cta { background: var(--ink); color: #fff; border-color: var(--ink); }
:where(body.doc) .cta h2 { color: #fff; }
:where(body.doc) .cta p { color: #d5dbe6; }
:where(body.doc) .cta a.btn { display: inline-block; background: var(--accent); color: #fff; text-decoration: none; font-weight: 600; padding: 11px 20px; border-radius: 10px; margin: 4px 8px 4px 0; }
:where(body.doc) .cta a.btn:hover { background: var(--accent-dark); }
:where(body.doc) .cta a.ghost { color: #fff; }
:where(body.doc) .related ul { list-style: none; margin-left: 0; }
:where(body.doc) pre { background: #f0f3f8; border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; overflow-x: auto; font-size: 0.85rem; line-height: 1.5; margin-bottom: 12px; }
:where(body.doc) code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
:where(body.doc) td code { white-space: nowrap; }
:where(body.doc) p code, :where(body.doc) li code, :where(body.doc) td code { background: #f0f3f8; padding: 1px 5px; border-radius: 4px; font-size: 0.9em; }
.brand { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; font-weight: 700; font-size: 1.05rem; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand img { width: 28px; height: 28px; display: block; }
footer { text-align: center; color: var(--muted); font-size: 0.85rem; padding: 26px 0 72px; }
footer p { margin-bottom: 8px; }
footer a { color: var(--muted); }
@media (max-width: 600px) {
  header { padding-top: 26px; }
  :where(body.doc) section { padding: 18px 16px; }
  :where(body.doc) th, :where(body.doc) td { padding: 8px 8px; }
}
/* 2. Components used by the hand-written pages (home readiness checker, help pages, privacy/DPA, FAQ). */
header p.sub { color: var(--muted); font-size: 1.08rem; max-width: 560px; margin: 0; }
.deadline-strip { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 26px 0 8px; }
.deadline-strip span { background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 0.85rem; color: var(--muted); }
.deadline-strip b { color: var(--ink); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 28px; margin: 26px 0; box-shadow: 0 2px 10px rgba(20, 35, 70, 0.05); }
.step { display: none; }
.step.active { display: block; }
.q { font-weight: 600; font-size: 1.12rem; margin-bottom: 16px; }
.opts { display: grid; gap: 10px; }
.opts button { text-align: left; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 13px 16px; font-size: 1rem; cursor: pointer; font-family: inherit; color: var(--ink); transition: border-color .12s, background .12s; }
.opts button:hover { border-color: var(--accent); background: #eef4ff; }
.progress { font-size: 0.8rem; color: var(--muted); margin-bottom: 10px; letter-spacing: .03em; text-transform: uppercase; }
.verdict { text-align: center; }
.verdict .badge { display: inline-block; padding: 8px 20px; border-radius: 999px; font-weight: 700; margin-bottom: 14px; font-size: 1.05rem; }
.badge.bad { background: #fdecec; color: var(--bad); }
.badge.warn { background: #fdf3e7; color: var(--warn); }
.badge.ok { background: #e8f7ef; color: var(--ok); }
.verdict p.detail { color: var(--muted); margin-bottom: 22px; max-width: 520px; margin-left: auto; margin-right: auto; }
.signup { border-top: 1px solid var(--line); padding-top: 22px; margin-top: 8px; }
.signup h3 { font-size: 1.05rem; margin-bottom: 6px; }
.signup p { color: var(--muted); font-size: 0.94rem; margin-bottom: 14px; }
.signup form { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.signup input[type=email] { flex: 1 1 260px; padding: 12px 14px; font-size: 1rem; border: 1px solid var(--line); border-radius: 10px; font-family: inherit; }
.signup button { padding: 12px 22px; font-size: 1rem; font-weight: 600; color: #fff; background: var(--accent); border: none; border-radius: 10px; cursor: pointer; font-family: inherit; }
.signup button:hover { background: var(--accent-dark); }
.signup .hp { position: absolute; left: -5000px; opacity: 0; }
.msg { margin-top: 12px; font-size: 0.95rem; }
.msg.ok { color: var(--ok); }
.msg.err { color: var(--bad); }
.facts { margin: 40px 0 20px; }
.facts h2 { font-size: 1.25rem; margin-bottom: 14px; }
.facts table { width: 100%; border-collapse: collapse; font-size: 0.94rem; background: var(--card); border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.facts th, .facts td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); }
.facts th { background: var(--bg); font-size: 0.82rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.facts tr:last-child td { border-bottom: none; }
.consent { font-size: 0.8rem; color: var(--muted); margin-top: 10px; line-height: 1.5; }
.consent a { color: var(--muted); text-decoration: underline; }
.appstore { text-align: center; margin: 18px 0 6px; }
.appstore a.btn { display: inline-block; padding: 12px 22px; font-size: 1rem; font-weight: 600; color: #fff; background: var(--accent); border-radius: 10px; text-decoration: none; font-family: inherit; }
.appstore a.btn:hover { background: var(--accent-dark); }
.appstore .note { color: var(--muted); font-size: 0.9rem; margin-top: 8px; line-height: 1.5; }
.verdict .appstore { margin: 4px 0 18px; }
header .deadline-strip { justify-content: flex-start; }
header .appstore { text-align: left; }
header .appstore a.btn { display: block; width: fit-content; margin: 0 auto 14px; }
header .appstore br { display: none; }
.faq { margin: 30px 0 10px; }
.faq h2 { font-size: 1.25rem; margin-bottom: 14px; }
.faq h3 { font-size: 1.02rem; margin: 18px 0 6px; }
.faq p { color: var(--muted); font-size: 0.95rem; }
.summary { background: #eef4ff; border-color: #cfdefb; }
.summary h2 { color: var(--accent-dark); }
.callout { border-left: 3px solid var(--warn); background: #fff8f1; padding: 12px 16px; border-radius: 0 8px 8px 0; margin-bottom: 12px; }
.callout b { color: var(--warn); }

/* 3. Home pages (<body class="home">): the left-aligned hero header. */
body.home header { padding: 48px 0 32px; text-align: left; }
body.home select { width: 100%; padding: 12px 14px; font-size: 1rem; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); color: var(--ink); font-family: inherit; }
@media (max-width: 600px) {
  body.home header { padding-top: 28px; }
  body.home footer { padding-bottom: 56px; }
}

/* 4. The 404 page (<body class="page-404">). */
body.page-404 { display: flex; flex-direction: column; min-height: 100vh; }
body.page-404 .wrap { width: 100%; max-width: 720px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }
body.page-404 header { padding: 28px 0 0; }
body.page-404 .brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 1.05rem; }
body.page-404 .brand svg { width: 28px; height: 28px; border-radius: 7px; flex: none; }
body.page-404 main { flex: 1; display: flex; align-items: center; padding: 32px 0 24px; }
body.page-404 .card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 36px 32px; display: grid; grid-template-columns: 1fr auto; gap: 24px 32px; align-items: center; }
body.page-404 .code { color: var(--accent); font-weight: 800; font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 8px; }
body.page-404 h1 { font-size: clamp(1.7rem, 5vw, 2.4rem); line-height: 1.2; margin-bottom: 14px; }
body.page-404 .lead { color: var(--muted); font-size: 1.02rem; margin-bottom: 22px; }
body.page-404 .doc { width: 168px; height: 160px; justify-self: end; }
body.page-404 .actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 8px; }
body.page-404 .btn { display: inline-block; padding: 10px 18px; border-radius: 8px; font-weight: 600; text-decoration: none; border: 1px solid var(--accent); background: var(--accent); color: #fff; }
body.page-404 .btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
body.page-404 .btn.ghost { background: transparent; color: var(--accent); }
body.page-404 .btn.ghost:hover { background: #eef4ff; }
body.page-404 .links { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 20px; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px 24px; }
body.page-404 .links h2 { font-size: 0.8rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 6px; }
body.page-404 .links ul { list-style: none; }
body.page-404 .links li { margin-bottom: 4px; font-size: 0.95rem; }
body.page-404 a { color: var(--accent); }
body.page-404 a:hover { color: var(--accent-dark); }
body.page-404 footer { text-align: center; color: var(--muted); font-size: 0.85rem; padding: 16px 0 40px; }
body.page-404 footer a { color: var(--muted); }
@media (max-width: 600px) {
  body.page-404 .card { grid-template-columns: 1fr; padding: 28px 22px; }
  body.page-404 .doc { width: 112px; height: 106px; justify-self: start; order: -1; }
}
