/* DevDeck website (built by scripts/build-site.py into site/style.css) */
:root { --bg: #ffffff; --text: #16182a; --muted: #5d6178; --line: #e4e6ef; --accent: #5b5cf0; --accent-2: #8b7cff; --soft: #f5f5ff; --code: #f1f2f8; }
@media (prefers-color-scheme: dark) { :root { --bg: #0e1020; --text: #eceefa; --muted: #a3a8c3; --line: #262a44; --accent: #8b7cff; --accent-2: #b3a8ff; --soft: #171a33; --code: #1b1e38; } }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
a { color: var(--accent); }
code { background: var(--code); padding: 1px 5px; border-radius: 5px; font-size: .92em; }
pre { background: var(--code); padding: 12px 14px; border-radius: 10px; overflow-x: auto; }
pre code { background: none; padding: 0; }
.top { border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--bg); z-index: 1; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--text); text-decoration: none; }
.top nav { display: flex; gap: 18px; }
.top nav a { color: var(--muted); text-decoration: none; }
.top nav a.on, .top nav a:hover { color: var(--text); }
main { padding: 40px 20px 60px; }
h1 { font-size: 2.4rem; line-height: 1.15; margin: 0 0 12px; }
h2 { margin-top: 2.2em; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 680px; }
.small { font-size: .88rem; color: var(--muted); }
.hero { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }
.hero > div { flex: 1 1 420px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 18px 0 6px; }
.btn { display: inline-block; padding: 10px 18px; border-radius: 10px; border: 1px solid var(--line); color: var(--text); text-decoration: none; font-weight: 600; }
.btn.primary { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; border: 0; }
.shot { width: 100%; border-radius: 14px; border: 1px solid var(--line); margin: 36px 0; box-shadow: 0 20px 50px rgba(30, 20, 90, .15); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.grid > div { border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; background: var(--soft); }
.grid h3 { margin: 0 0 6px; }
.grid p { margin: 0; color: var(--muted); }
.shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 18px; margin: 36px 0; }
.shots img { width: 100%; border-radius: 12px; border: 1px solid var(--line); }
.card { border: 1px solid var(--line); border-radius: 12px; padding: 4px 20px 12px; background: var(--soft); }
.table { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: .95rem; }
th, td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid var(--line); }
footer { border-top: 1px solid var(--line); padding: 22px 0; color: var(--muted); font-size: .9rem; }
@media (max-width: 600px) { h1 { font-size: 1.9rem; } .top nav { gap: 12px; } main { padding-top: 24px; } }
