/* FactDen — design system. Static, zero-build. Brand: navy #0E1A2B · amber #E8A33D · cream #F4F1EA. */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');
:root {
  --ink: #0E1A2B;
  --ink-2: #20303f;
  --muted: #5c6b7a;
  --line: #e4e7ec;
  --bg: #ffffff;
  --soft: #faf8f3;
  --soft-2: #F4F1EA;
  --brand: #E8A33D;
  --brand-dark: #cf8a23;
  --link: #9a5e0a;          /* darkened for WCAG AA on white */
  --link-hover: #7a4908;
  --ok: #16a34a;
  --no: #dc2626;
  --radius: 12px;
  --radius-sm: 8px;
  --maxw: 1080px;
  --prose: 720px;
  --shadow: 0 1px 2px rgba(14,26,43,.05), 0 10px 28px rgba(14,26,43,.07);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; color: var(--ink); background: var(--bg);
  font: 17px/1.65 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--link); text-decoration: none; }
a:hover { color: var(--link-hover); text-decoration: underline; }
a:focus-visible, .btn:focus-visible, button:focus-visible, label:focus-visible {
  outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 4px;
}
img { max-width: 100%; height: auto; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

/* ---------- header + mobile nav (no JS) ---------- */
header.site {
  border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20;
  background: rgba(255,255,255,.92); backdrop-filter: saturate(180%) blur(10px);
}
header.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 34px; width: auto; display: block; }
.nav-toggle { display: none; }
.nav-burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.nav-burger span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }
nav.main { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
nav.main a { color: var(--muted); padding: 8px 12px; font-size: 15px; font-weight: 500; border-radius: var(--radius-sm); }
nav.main a:hover { color: var(--ink); background: var(--soft-2); text-decoration: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; background: var(--ink); color: #fff; font-weight: 600;
  padding: 13px 24px; border-radius: var(--radius-sm); line-height: 1.2; transition: background .15s, transform .15s;
}
.btn:hover { background: #20303f; color: #fff; text-decoration: none; transform: translateY(-1px); }
.btn.ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn.ghost:hover { background: var(--soft-2); }
.btn.amber { background: var(--brand); color: var(--ink); }
.btn.amber:hover { background: var(--brand-dark); color: var(--ink); }
.btn.sm { padding: 9px 16px; font-size: 14px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0; }

/* ---------- hero ---------- */
.hero { padding: 72px 0 36px; text-align: center; background: linear-gradient(180deg, var(--soft-2), #fff); }
.hero .wrap { max-width: 880px; }
.eyebrow { text-transform: uppercase; letter-spacing: .1em; font-size: 12.5px; font-weight: 700; color: var(--link); margin: 0 0 16px; }
h1 { font-size: clamp(2rem, 4.4vw, 3rem); line-height: 1.1; letter-spacing: -.03em; margin: 0 0 .4em; font-weight: 800; }
.lede { font-size: 1.22rem; color: var(--muted); max-width: 680px; margin-inline: auto; }
.hero .btn-row { justify-content: center; }
.trust-line { color: var(--muted); font-size: 14px; margin-top: 10px; }
.trust-line strong { color: var(--ink); }

/* ---------- trust bar ---------- */
.trustbar { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg); }
.trustbar .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 22px; }
.stat { text-align: center; }
.stat strong { display: block; font-size: 1.6rem; letter-spacing: -.02em; color: var(--ink); font-weight: 800; }
.stat span { font-size: 13px; color: var(--muted); }

/* ---------- sections ---------- */
section.section { padding: 56px 0; }
section.section.alt { background: var(--soft); }
.section-head { max-width: 660px; margin: 0 auto 36px; text-align: center; }
h2 { font-size: 1.7rem; letter-spacing: -.02em; margin: 0 0 .4em; font-weight: 800; }
.section-head p { color: var(--muted); margin: 0; font-size: 1.05rem; }
h3 { font-size: 1.16rem; margin: 0 0 .4em; letter-spacing: -.01em; font-weight: 700; }

/* ---------- grids / cards ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; background: #fff; box-shadow: var(--shadow); }
.card .tag { display: inline-block; font-size: 12px; font-weight: 600; color: var(--link); background: var(--soft-2); padding: 3px 10px; border-radius: 999px; margin-bottom: 12px; }
.ticks { list-style: none; padding: 0; margin: 14px 0; }
.ticks li { padding: 4px 0 4px 26px; position: relative; }
.ticks li::before { content: "\2713"; position: absolute; left: 0; color: var(--ok); font-weight: 700; }

/* ---------- figures / screenshots ---------- */
figure.shot { margin: 22px 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #0E1A2B; }
figure.shot img { display: block; width: 100%; }
figure.shot figcaption { font-size: 13px; color: var(--muted); padding: 10px 14px; background: #fff; border-top: 1px solid var(--line); }
.figrow { display: grid; grid-template-columns: 1fr; gap: 18px; margin: 24px 0; }
.figrow figure.shot { margin: 0; }

/* ---------- testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.quote { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: #fff; box-shadow: var(--shadow); }
.quote .stars { color: var(--brand); font-size: 15px; letter-spacing: 2px; margin-bottom: 8px; }
.quote p { margin: 0 0 12px; color: var(--ink-2); }
.quote .who { font-size: 13px; color: var(--muted); font-weight: 600; }

/* ---------- steps ---------- */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { position: relative; padding-top: 8px; }
.step::before { counter-increment: s; content: counter(s); display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: var(--ink); font-weight: 800; margin-bottom: 12px; }

/* ---------- cta band ---------- */
.cta-band { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 46px; text-align: center; margin: 8px 0; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #c5d0db; max-width: 560px; margin: 0 auto 22px; }
.cta-band .btn { background: var(--brand); color: var(--ink); }
.cta-band .btn:hover { background: var(--brand-dark); }

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 24px 0; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table-wrap table { margin: 0; min-width: 560px; }
th, td { text-align: left; padding: 11px 13px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--soft-2); font-weight: 600; color: var(--ink); }
.tick { color: var(--ok); font-weight: 700; }
.cross { color: var(--no); font-weight: 700; }

/* ---------- prose / article ---------- */
main.wrap { padding-top: 8px; }
article { max-width: var(--prose); margin: 0 auto; padding: 8px 0 0; }
article h1 { font-size: clamp(1.8rem, 3.6vw, 2.3rem); text-align: left; }
article h2 { font-size: 1.42rem; margin-top: 1.8em; }
article h3 { font-size: 1.12rem; margin-top: 1.5em; }
article p, article li { color: var(--ink-2); }
.breadcrumb { font-size: 13px; color: var(--muted); margin: 18px 0 6px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--ink); }
article .meta { color: var(--muted); font-size: 14px; margin-bottom: 26px; }
.callout { border: 1px solid var(--line); background: var(--soft-2); border-radius: var(--radius); padding: 20px 22px; margin: 28px 0; border-left: 3px solid var(--brand); }
.callout p:last-child { margin-bottom: 0; }
.cta-inline { text-align: center; margin: 30px 0; }
code { background: var(--soft-2); padding: 1px 6px; border-radius: 5px; font-size: .9em; }
pre { background: #0E1A2B; color: #e8eaed; padding: 16px 18px; border-radius: var(--radius); overflow-x: auto; font-size: 14px; }
pre code { background: none; color: inherit; padding: 0; }
.faq dt { font-weight: 700; margin-top: 18px; color: var(--ink); }
.faq dd { margin: 4px 0 0; color: var(--ink-2); }
hr { border: none; border-top: 1px solid var(--line); margin: 36px 0; }

/* ---------- related posts ---------- */
.related { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 26px 0; }
.related a { display: block; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px 18px; color: var(--ink); }
.related a:hover { background: var(--soft); text-decoration: none; }
.related h3 { margin: 6px 0 4px; }
.related p { margin: 0; color: var(--muted); font-size: 14px; }
.related .k { font-size: 12px; color: var(--link); font-weight: 600; }

/* ---------- footer ---------- */
footer.site { border-top: 1px solid var(--line); background: var(--soft); margin-top: 64px; padding: 40px 0 28px; color: var(--muted); font-size: 14px; }
.foot-cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 28px; margin-bottom: 24px; }
.foot-col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink); margin: 0 0 10px; }
.foot-col a { display: block; color: var(--muted); padding: 3px 0; }
.foot-col a:hover { color: var(--ink); }
.foot-fine { border-top: 1px solid var(--line); padding-top: 18px; }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .grid-3, .steps, .quotes { grid-template-columns: 1fr 1fr; }
  .trustbar .wrap { grid-template-columns: 1fr 1fr; gap: 18px; }
  /* mobile nav: collapse to burger */
  .nav-burger { display: flex; }
  nav.main {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px 14px 14px;
    box-shadow: var(--shadow);
  }
  nav.main a { padding: 12px 8px; font-size: 16px; border-bottom: 1px solid var(--line); }
  nav.main a.btn { margin-top: 10px; border-bottom: none; text-align: center; }
  .nav-toggle:checked ~ nav.main { display: flex; }
}
@media (max-width: 560px) {
  .grid-2, .grid-3, .steps, .quotes, .related, .foot-cols, .figrow { grid-template-columns: 1fr; }
  .hero { padding: 52px 0 28px; }
}

/* ---------- forms ---------- */
.form { display: grid; gap: 14px; max-width: 480px; margin: 26px 0; }
.form label { font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 4px; display: block; }
.form input, .form select, .form textarea { width: 100%; padding: 11px 13px; border: 1px solid var(--line); border-radius: var(--radius-sm); font: inherit; font-size: 15px; background: #fff; }
.form textarea { resize: vertical; }
.form input:focus-visible, .form select:focus-visible, .form textarea:focus-visible { outline: 2px solid var(--brand); outline-offset: 1px; border-color: var(--brand); }
.form .btn { border: none; cursor: pointer; font: inherit; }
.form .fine { font-size: 12.5px; color: var(--muted); margin: 0; }
