:root{
  --bg: #f7fafc;
  --text: #0f172a;
  --muted: #6b7280;
  --card: #ffffff;
  --accent: #2563eb;
  --accent-2: #0ea5e9;
  --glass: rgba(255,255,255,0.6);
}
/* Dark theme variables */
.dark{
  --bg: #0b1220;
  --text: #e6eef8;
  --muted: #94a3b8;
  --card: #0f1724;
  --glass: rgba(255,255,255,0.04);
}
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
  background:var(--bg);
  color:var(--text);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  line-height:1.6;
  transition:background .25s ease,color .25s ease;
}
header.site{
  position:sticky; top:0; z-index:40;
  display:flex; align-items:center; justify-content:space-between;
  padding:12px 20px; gap:16px;
  backdrop-filter: blur(6px);
  background: linear-gradient(180deg, rgba(255,255,255,0.6), rgba(255,255,255,0.35));
  border-bottom:1px solid rgba(15,23,42,0.04);
}
.dark header.site{
  background: linear-gradient(180deg, rgba(11,18,32,0.6), rgba(11,18,32,0.45));
  border-bottom:1px solid rgba(255,255,255,0.03);
}
.brand{display:flex; gap:12px; align-items:center; text-decoration:none; color:inherit}
.logo{
  width:44px; height:44px; display:grid; place-items:center; border-radius:10px;
  background:linear-gradient(135deg,var(--accent),var(--accent-2)); color:white; font-weight:700;
  font-family:monospace;
}
nav.primary{display:flex; gap:12px; align-items:center}
nav.primary a{color:var(--muted); text-decoration:none; font-weight:600; padding:6px 8px; border-radius:8px}
nav.primary a:hover{color:var(--text); background:var(--glass)}
.btn{background:var(--accent); color:white; border:none; padding:8px 12px; border-radius:8px; font-weight:700; cursor:pointer}
main{max-width:1000px; margin:28px auto; padding:0 20px;}
.hero{display:grid; gap:12px; align-items:center; padding:56px 20px; border-radius:14px; color:white;
      background: linear-gradient(135deg,var(--accent), #60a5fa); text-align:center}
.hero h1{font-size:2rem; margin-bottom:6px}
.hero p{max-width:780px; margin:0 auto; opacity:.95}
.grid{display:grid; gap:18px; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); margin-top:22px}
.card{background:var(--card); border-radius:12px; padding:18px; box-shadow:0 10px 30px rgba(2,6,23,0.06); transition:transform .18s ease}
.card:hover{transform:translateY(-6px)}
h2.section{font-size:1.5rem; margin-bottom:12px; text-align:center}
footer.site{padding:28px 20px; text-align:center; color:var(--muted); margin-top:40px}
form.contact{max-width:620px; margin:0 auto; display:grid; gap:10px}
input[type=text], input[type=email], textarea{
  width:100%; padding:10px 12px; border-radius:8px; border:1px solid rgba(15,23,42,0.06); background:transparent; color:inherit;
}
small.muted{color:var(--muted); display:block; margin-top:6px}
.meta{display:flex; gap:8px; align-items:center; justify-content:center; margin-top:6px; color:var(--muted)}
.breadcrumb{font-size:0.9rem; color:var(--muted); margin-bottom:10px}
/* Responsive */
@media (max-width:640px){
  .hero h1{font-size:1.6rem}
  header.site{padding:12px}
  nav.primary{display:none}
}
/* Utility */
.muted{color:var(--muted)}
.kicker{font-weight:700; color:var(--accent); display:inline-block; margin-bottom:6px}
.small{font-size:0.95rem}
details summary{cursor:pointer; font-weight:600; margin-bottom:8px}
