/* DeskReady marketing site — mirrors the app's tokens (webapp/frontend/src/styles/tokens.css) */
:root {
  --font-serif: 'Newsreader', Georgia, serif;
  --font-sans: 'Instrument Sans', -apple-system, system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;
  --bg: #faf8f4; --surface: #ffffff; --surface-alt: #f3f0e8;
  --text: #1a1916; --text-2: #4a4840; --muted: #8a8780; --rule: #ddd8cc;
  --critical: #cc4444; --warning: #a67c00; --warning-bg: rgba(166,124,0,.07); --critical-bg: rgba(204,68,68,.08);
  --info: #5a7d9a; --info-bg: rgba(90,125,154,.07); --verified: #2a7d4f; --verified-bg: rgba(42,125,79,.07);
  --primary: #1a1916; --primary-text: #faf8f4;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e0e10; --surface: #1a1a1e; --surface-alt: #222228;
    --text: #e8e6e3; --text-2: #a8a6a0; --muted: #6a6860; --rule: #2e2e34;
    --critical: #ef5555; --warning: #d4a017; --warning-bg: rgba(212,160,23,.10); --critical-bg: rgba(239,85,85,.12);
    --info: #6a9dbb; --info-bg: rgba(106,157,187,.10); --verified: #3dbd6e; --verified-bg: rgba(61,189,110,.10);
    --primary: #e8e6e3; --primary-text: #0e0e10;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-sans); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; }

nav.top { max-width: 1040px; margin: 0 auto; padding: 22px 24px; display: flex; justify-content: space-between; align-items: center; }
.logo { font-family: var(--font-serif); font-weight: 700; font-size: 20px; letter-spacing: -.5px; text-decoration: none; }
.top .links { display: flex; gap: 20px; align-items: center; font-size: 14px; }
.top .links a { color: var(--muted); text-decoration: none; }
.top .links a:hover { color: var(--text); }
.btn { display: inline-block; background: var(--primary); color: var(--primary-text); padding: 12px 22px; border-radius: 8px; text-decoration: none; font-weight: 600; font-size: 15px; }
.btn:hover { opacity: .9; }
.btn.small { padding: 8px 14px; font-size: 13px; color: var(--primary-text) !important; }

.page { max-width: 1040px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; margin: 0 auto; }
.hero .foot { margin: 14px auto 0; max-width: 62ch; font-size: 12px; line-height: 1.5; color: var(--muted); }
.hero sup { font-size: 0.7em; }
section { padding: 64px 0; border-bottom: 1px solid var(--rule); }
section:last-of-type { border-bottom: none; }
.label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; color: var(--muted); margin: 0 0 12px; text-align: center; }
h2 { font-family: var(--font-serif); font-size: clamp(26px, 4vw, 32px); font-weight: 700; letter-spacing: -.5px; margin: 0 0 8px; text-align: center; text-wrap: balance; }
.sub { color: var(--text-2); font-size: 16px; margin: 0 auto 40px; text-align: center; max-width: 52ch; }

.hero { text-align: center; padding-top: 80px; }
.hero h1 { font-family: var(--font-serif); font-size: clamp(36px, 6vw, 56px); font-weight: 700; line-height: 1.1; letter-spacing: -1px; margin: 0 0 20px; text-wrap: balance; }
.hero h1 em { font-style: italic; color: var(--critical); }
.hero .lede { font-family: var(--font-serif); font-size: 19px; color: var(--text-2); max-width: 60ch; margin: 0 auto 32px; line-height: 1.6; }
.hero .btn { font-size: 17px; padding: 16px 30px; }
.notes { display: flex; justify-content: center; gap: 20px; margin-top: 18px; font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.notes span::before { content: ""; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--verified); margin-right: 6px; vertical-align: middle; }

.demo-meta { font-family: var(--font-mono); font-size: 12px; color: var(--muted); text-align: center; margin: 0 0 24px; }
.card { display: grid; gap: 12px; padding: 20px 0 24px 22px; border-top: 1px solid var(--rule); position: relative; }
.card::before { content: ""; position: absolute; left: 0; top: 20px; bottom: 24px; width: 3px; border-radius: 2px; background: var(--info); }
.card.should::before { background: var(--warning); }
.card.must::before { background: var(--critical, #b3261e); }
.card .meta { display: flex; gap: 12px; font-size: 12px; }
.card .sev { padding: 2px 8px; border-radius: 3px; font-weight: 600; background: var(--info-bg); color: var(--info); }
.card.should .sev { background: var(--warning-bg); color: var(--warning); }
.card.must .sev { background: var(--critical-bg, #fbe9e7); color: var(--critical, #b3261e); }
.card .paper { margin: 0; font-family: var(--font-mono); font-size: 11px; color: var(--muted); }
.card .paper a { color: inherit; }
.card .pg { font-family: var(--font-mono); color: var(--muted); }
.card .claim { margin: 0; font-family: var(--font-serif); font-size: 19px; line-height: 1.45; max-width: 64ch; }
.card figure { margin: 0; display: grid; gap: 4px; }
.card img { max-width: 100%; height: auto; display: block; border: 1px solid var(--rule); border-radius: 3px; background: #fff; }
.card figcaption { font-family: var(--font-mono); font-size: 11px; color: var(--muted); }
.card .fix { margin: 0; font-size: 14px; color: var(--text-2); }
.card .fix span { color: var(--muted); font-size: 11px; letter-spacing: .5px; text-transform: uppercase; margin-right: 8px; }

.checks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 32px; }
.checks h3 { font-family: var(--font-serif); font-size: 18px; margin: 0 0 4px; }
.checks p { margin: 0; color: var(--text-2); font-size: 14px; }

.price { max-width: 640px; margin: 0 auto; border: 1px solid var(--rule); border-radius: 8px; overflow: hidden; background: var(--surface); }
.row { display: flex; justify-content: space-between; align-items: center; padding: 16px 24px; border-bottom: 1px solid var(--rule); gap: 16px; }
.row:last-child { border-bottom: none; }
.row .name { font-weight: 600; }
.row .desc { font-size: 13px; color: var(--muted); }
.row .amount { font-family: var(--font-serif); font-size: 24px; font-weight: 700; text-align: right; white-space: nowrap; }
.row .per { display: block; font-family: var(--font-sans); font-size: 12px; font-weight: 400; color: var(--muted); }
.badge { font-size: 10px; font-weight: 600; background: var(--verified-bg); color: var(--verified); padding: 2px 7px; border-radius: 3px; margin-left: 8px; vertical-align: middle; }
.price-foot { text-align: center; font-size: 13px; color: var(--muted); margin: 16px 0 0; }
.cost { max-width: 60ch; margin: 32px auto 0; color: var(--text-2); font-size: 14px; padding-left: 20px; }
.cost li + li { margin-top: 4px; }

.faq { display: grid; gap: 20px; max-width: 60ch; margin: 0 auto; }
.faq h3 { font-family: var(--font-serif); font-size: 18px; margin: 0 0 4px; }
.faq p { margin: 0; color: var(--text-2); font-size: 14px; }

.cta { text-align: center; }
.cta p { font-family: var(--font-serif); color: var(--text-2); max-width: 44ch; margin: 0 auto 28px; }

footer { border-top: 1px solid var(--rule); max-width: 1040px; margin: 0 auto; padding: 28px 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; color: var(--muted); }
footer a { color: var(--muted); text-decoration: none; margin-right: 16px; }
footer a:hover { color: var(--text); }
@media (max-width: 900px) { .checks { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  section { padding: 44px 0; }
  .hero { padding-top: 40px; }
  .hero h1 { font-size: 34px; letter-spacing: -.5px; }
  .hero .lede { font-size: 17px; }
  .hero .btn { display: block; width: 100%; }
  .notes { flex-direction: column; gap: 8px; align-items: center; }
  .top .links { gap: 12px; } .top .links a:not(.btn) { display: none; }
  .checks { grid-template-columns: 1fr; gap: 20px; }
  .card { padding-left: 14px; }
  .row { padding: 14px 16px; } .row .amount { font-size: 20px; }
  footer { flex-direction: column; align-items: center; text-align: center; }
  footer a { margin: 0 8px; }
}
