/* pricegridapp.com: home, privacy, terms, support (served by app/server.py). */
:root {
  --bg: #ffffff;
  --bg-soft: #f6f7f9;
  --text: #1a1d21;
  --muted: #5c6470;
  --line: #e3e6ea;
  --accent: #0b6e4f;
  --accent-soft: #e6f4ef;
  --radius: 12px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121417;
    --bg-soft: #1b1e22;
    --text: #e8eaed;
    --muted: #a0a7b1;
    --line: #2c3036;
    --accent: #4cc39a;
    --accent-soft: #17302a;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--accent); }
.wrap { max-width: 920px; margin: 0 auto; padding: 0 20px; }
header.site { border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; color: var(--text); text-decoration: none; }
.brand svg { width: 28px; height: 28px; flex: none; }
nav.site a { color: var(--muted); text-decoration: none; margin-left: 18px; font-size: 15px; }
nav.site a:hover, nav.site a[aria-current="page"] { color: var(--text); }
main { padding: 40px 0 64px; }
h1 { font-size: clamp(28px, 5vw, 42px); line-height: 1.15; margin: 0 0 16px; letter-spacing: -0.02em; }
h2 { font-size: 22px; margin: 40px 0 12px; }
h3 { font-size: 17px; margin: 24px 0 8px; }
p, li { color: var(--text); }
.lead { font-size: 19px; color: var(--muted); max-width: 640px; }
.muted { color: var(--muted); }
.cta { display: inline-block; margin-top: 20px; padding: 12px 20px; border-radius: 10px; background: var(--accent); color: #fff; text-decoration: none; font-weight: 600; }
@media (prefers-color-scheme: dark) { .cta { color: #0d1f19; } }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 28px; }
.card { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.card h3 { margin-top: 0; }
.card p { margin: 0; color: var(--muted); }
.price { background: var(--accent-soft); border-radius: var(--radius); padding: 24px; margin-top: 40px; }
.price strong { font-size: 28px; }
.doc { max-width: 720px; }
.doc h2 { font-size: 20px; }
.doc table { border-collapse: collapse; width: 100%; margin: 12px 0; font-size: 15px; }
.doc th, .doc td { text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); padding: 8px 10px 8px 0; }
footer.site { border-top: 1px solid var(--line); padding: 24px 0 40px; color: var(--muted); font-size: 14px; }
footer.site a { color: var(--muted); margin-right: 16px; }
@media (max-width: 520px) {
  nav.site a { margin-left: 12px; font-size: 14px; }
  .brand span { display: none; }
}
