:root {
  --bg: #0b0d12; --panel: #141821; --text: #eef1f6; --muted: #a3acbb; --line: #262c38;
  --accent: #4f8cff; --accent-2: #36d399;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, sans-serif; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 1040px; 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; gap: 16px; padding-top: 14px; padding-bottom: 14px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; }
.brand img { width: 34px; height: 34px; border-radius: 8px; }
nav a { color: var(--muted); margin-left: 18px; font-size: 15px; }
nav a:first-child { margin-left: 0; }
.hero { padding: 56px 0 28px; }
.hero h1 { font-size: clamp(32px, 5vw, 50px); line-height: 1.1; margin: 0 0 16px; letter-spacing: -0.02em; }
.hero p.lead { font-size: 20px; color: var(--muted); max-width: 720px; margin: 0 0 26px; }
.btn { display: inline-block; background: var(--accent); color: #fff; padding: 13px 22px; border-radius: 12px; font-weight: 600; }
.btn:hover { text-decoration: none; filter: brightness(1.08); }
.btn.ghost { background: transparent; border: 1px solid var(--line); color: var(--text); margin-left: 10px; }
.meta { color: var(--muted); font-size: 14px; margin-top: 12px; }
.shot { width: 100%; height: auto; border-radius: 16px; border: 1px solid var(--line); display: block; }
.shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; margin: 28px 0; }
figure { margin: 0; } figcaption { color: var(--muted); font-size: 14px; margin-top: 6px; }
section { padding: 30px 0; border-top: 1px solid var(--line); }
h2 { font-size: 28px; margin: 0 0 14px; letter-spacing: -0.01em; }
h3 { font-size: 20px; margin: 22px 0 6px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.card h3 { margin-top: 0; }
.card p, .card ul { color: var(--muted); margin: 0; }
ul.tight { padding-left: 20px; } ul.tight li { margin: 4px 0; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 600; }
.table-wrap { overflow-x: auto; }
details { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; margin: 10px 0; }
summary { cursor: pointer; font-weight: 600; }
details p { color: var(--muted); margin: 10px 0 0; }
.article { max-width: 760px; }
.article p, .article li { color: #d6dbe4; }
.note { background: #13213b; border: 1px solid #22406f; border-radius: 12px; padding: 14px 18px; color: #cfe0ff; }
footer.site { border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; padding: 28px 0 40px; margin-top: 30px; }
footer.site a { color: var(--muted); }
@media (max-width: 560px) { .btn.ghost { margin: 10px 0 0; } nav a { margin-left: 12px; } }
@media (max-width: 640px) {
  table.stack, table.stack tbody, table.stack tr, table.stack td { display: block; width: 100%; }
  table.stack tr:first-child { display: none; }
  table.stack tr { border: 1px solid var(--line); border-radius: 12px; padding: 6px 4px; margin-bottom: 12px; background: var(--panel); }
  table.stack td { border: 0; padding: 6px 12px; }
  table.stack td::before { display: block; color: var(--muted); font-size: 13px; font-weight: 600; }
  table.options td:nth-child(2)::before { content: "Typical cost"; }
  table.options td:nth-child(3)::before { content: "Good"; }
  table.options td:nth-child(4)::before { content: "Not so good"; }
  table.checklist td:nth-child(2)::before { content: "Why it matters"; }
  table.checklist td:nth-child(3)::before { content: "Next Car Dashboard"; }
}
