:root{
  --bg:#ffffff;
  --text:#102a43;
  --muted:#486581;
  --primary:#0da5a5;      /* teal */
  --primary-dark:#0a7c7c;
  --accent:#2f80ed;       /* clinical blue */
  --border:#e6eff5;
  --surface:#f8fbfd;
  --danger:#d64545;       /* for alerts */
  --success:#2d9d6b;
  --focus:#ffbf47;        /* accessible focus */
  --radius:8px;
  --shadow:0 6px 18px rgba(16,42,67,0.08);
  --container:1100px;
  --line-height:1.6;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Helvetica Neue, Arial, sans-serif;
  color:var(--text);
  background:var(--bg);
  line-height:var(--line-height);
}

img{max-width:100%;height:auto}
a{color:var(--accent);text-decoration:none}
a:hover{text-decoration:underline}
.container{max-width:var(--container);margin:0 auto;padding:0 24px}

/* Header */
.site-header{
  background:linear-gradient(180deg, var(--surface), var(--bg));
  border-bottom:1px solid var(--border);
}
.header-inner{
  display:flex;align-items:center;justify-content:space-between;gap:24px;padding:16px 0;
}
.branding .site-title{font-weight:700;font-size:20px;color:var(--text)}
.site-description{margin:4px 0 0;color:var(--muted);font-size:14px}

/* Navigation */
.menu{list-style:none;padding:0;margin:0;display:flex;gap:18px;flex-wrap:wrap}
.menu a{padding:8px 12px;border-radius:6px}
.menu a:hover{background:var(--surface)}

/* Hero */
.hero{border-top:1px solid var(--border);background:var(--surface)}
.hero-inner{display:grid;grid-template-columns:1.1fr 0.9fr;gap:24px;padding:28px 0}
.hero-copy h1{font-size:32px;margin:0 0 8px}
.hero-copy p{color:var(--muted);margin:0 0 16px}

/* Buttons */
.btn{display:inline-block;padding:10px 16px;border-radius:6px;border:1px solid transparent;font-weight:600}
.btn-primary{background:var(--primary);color:white;box-shadow:var(--shadow)}
.btn-primary:hover{background:var(--primary-dark)}
.btn-secondary{border-color:var(--accent);color:var(--accent)}
.btn-secondary:hover{background:rgba(47,128,237,0.08)}

/* Layout */
.content-area{padding:28px 0}
.with-sidebar{display:grid;grid-template-columns:1fr 300px;gap:28px}
.primary{min-width:0}

/* Cards & article */
.card{background:var(--bg);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);margin:0 0 20px}
.card-header{padding:16px;border-bottom:1px solid var(--border)}
.card-body{padding:16px}
.card-footer{padding:12px;border-top:1px solid var(--border);display:flex;justify-content:flex-end}

/* Page/post */
.page-title,.post-title{margin:0 0 6px}
.entry-meta{color:var(--muted);font-size:14px}

/* Sidebar */
.site-sidebar .widget{background:var(--bg);border:1px solid var(--border);border-radius:var(--radius);margin:0 0 20px;padding:16px;box-shadow:var(--shadow)}
.widget-title{margin:0 0 12px}

/* Footer */
.site-footer{border-top:1px solid var(--border);background:var(--surface);margin-top:32px}
.footer-widgets{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;padding:24px 0}
.footer-inner{display:flex;align-items:center;justify-content:space-between;padding:12px 0}
.footer-copy{color:var(--muted);font-size:14px}

/* Forms */
input,select,textarea{
  width:100%;padding:10px;border:1px solid var(--border);border-radius:6px;background:#fff
}
input:focus,select:focus,textarea:focus{outline:3px solid var(--focus);border-color:var(--accent)}

/* Accessibility */
.skip-link{position:absolute;left:-999px;top:auto;width:1px;height:1px;overflow:hidden}
.skip-link:focus{left:8px;top:8px;width:auto;height:auto;padding:8px;background:#000;color:#fff;border-radius:6px}

/* Responsive */
@media (max-width:900px){
  .hero-inner{grid-template-columns:1fr}
  .with-sidebar{grid-template-columns:1fr}
  .footer-widgets{grid-template-columns:1fr 1fr}
}
@media (max-width:560px){
  .menu{gap:8px}
  .footer-widgets{grid-template-columns:1fr}
}