/* Minimalist responsive styles with light/dark theme support */
:root{
  --bg:#ffffff;
  --surface:#f7f7f8;
  --surface-strong:#eef1f5;
  --text:#0b0b0d;
  --muted:#6b7280;
  --accent:#0b66ff;
  --border:#d7dde6;
  --radius:10px;
  --container:1100px;
}
@media (prefers-color-scheme: dark){
  :root{
    --bg:#0b0b0d;
    --surface:#0f1113;
    --surface-strong:#171b20;
    --text:#e6e6e9;
    --muted:#9aa3b2;
    --accent:#58a6ff;
    --border:#272e38;
  }
}
html,body{height:100%;}
body{margin:0;font-family:Inter,Segoe UI,Roboto,Helvetica,Arial,sans-serif;background:var(--bg);color:var(--text);-webkit-font-smoothing:antialiased;line-height:1.6}
.container{max-width:var(--container);margin:0 auto;padding:24px}
.site-header{padding:20px 0}
.header-row{display:flex;justify-content:space-between;align-items:flex-start;gap:20px}
.site-header .logo{margin:0;font-size:1.5rem;line-height:1.2}
.meta{display:flex;gap:12px;align-items:center}
.hero{padding:56px 0 24px}
.hero h2{margin:0 0 16px;font-size:clamp(2rem,5vw,3.6rem);line-height:1.05;max-width:12ch}
.hero p{margin:0 0 18px;color:var(--muted);max-width:760px}
.eyebrow{margin:0 0 10px;font-size:.82rem;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.cta{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px}
.btn{display:inline-block;padding:12px 16px;border-radius:999px;background:var(--accent);color:#fff;text-decoration:none;border:1px solid var(--accent);font-weight:600}
.btn-secondary{background:transparent;color:var(--text);border-color:var(--border)}
.hero-points,.plain-list{margin:24px 0 0;padding-left:20px;color:var(--muted)}
.section{padding:36px 0}
.section-heading{margin-bottom:18px}
.section h3{margin:0 0 8px;font-size:1.75rem;line-height:1.15}
.card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.card{padding:20px;border:1px solid var(--border);border-radius:20px;background:var(--surface)}
.card h4{margin:0 0 10px;font-size:1.1rem;line-height:1.3}
.card p{margin:0;color:var(--muted)}
.case-card{background:linear-gradient(180deg,var(--surface),var(--surface-strong))}
.case-label{margin-bottom:12px;font-size:.82rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--accent)!important}
.case-meta{margin-top:12px}
.stack{margin-top:12px;font-size:.95rem;color:var(--text)!important}
.case-result{margin-top:14px;color:var(--text)!important}
.split{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.foot{margin-top:24px;padding:28px 0 20px;color:var(--muted);border-top:1px solid var(--border)}
/* theme override via data-theme */
:root[data-theme='dark']{
  --bg:#0b0b0d;
  --surface:#0f1113;
  --surface-strong:#171b20;
  --text:#e6e6e9;
  --muted:#9aa3b2;
  --border:#272e38;
}
:root[data-theme='light']{
  --bg:#ffffff;
  --surface:#f7f7f8;
  --surface-strong:#eef1f5;
  --text:#0b0b0d;
  --muted:#6b7280;
  --border:#d7dde6;
}
@media (max-width:900px){
  .card-grid,.split{grid-template-columns:1fr}
}
@media (max-width:600px){
  .container{padding:16px}
  .hero{padding-top:36px}
  .hero h2{font-size:2rem}
  .header-row{flex-direction:column;align-items:flex-start}
}
/* small utilities */
.meta a{color:var(--muted);text-decoration:none}
#theme-toggle{background:transparent;border:1px solid var(--border);padding:8px 12px;border-radius:999px;cursor:pointer;color:var(--text)}
