
/* =========================
   DESIGN SYSTEM
========================= */
:root {
  --primary:#0b2545;
  --primary-soft:#102f5e;
  --accent:#ff7a18;

  --bg-page:#f4f6f9;
  --bg-card:#ffffff;

  --text-main:#222;
  --text-muted:#6b7280;

  --radius-sm:8px;
  --radius-md:12px;

  --shadow-sm:0 4px 10px rgba(15,23,42,.06);
  --shadow-md:0 8px 24px rgba(15,23,42,.12);

  --max-width:1150px;
}

/* =========================
   BASE
========================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main);
  background: var(--bg-page);
}

h1 { font-size: 2rem; line-height: 1.3; }
h2 { font-size: 1.4rem; margin-top: 1.6rem; }
h3 { font-size: 1.15rem; }

p, li {
  color: var(--text-muted);
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  color: var(--accent);
}

/* =========================
   LAYOUT
========================= */
section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 48px 24px;
}

/* =========================
   HEADER / NAV
========================= */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav a {
  padding: 6px 4px;
  margin-left: 18px;
  position: relative;
}

nav a::after {
  content:"";
  position:absolute;
  left:0;
  bottom:-4px;
  width:0;
  height:2px;
  background:var(--accent);
  transition:width .25s;
}

nav a:hover::after {
  width:100%;
}

/* =========================
   CARDS / KPI
========================= */
.card,
.kpi {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 24px;
  transition: transform .2s ease, box-shadow .2s ease;
}

.card:hover,
.kpi:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* =========================
   BUTTONS
========================= */
.button,
.cta-btn {
  display: inline-block;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  background: var(--primary);
  color: #fff;
  transition: background .2s, transform .2s;
}

.button:hover,
.cta-btn:hover {
  background: var(--primary-soft);
  transform: translateY(-2px);
}

/* =========================
   FORMS
========================= */
input,
textarea {
  width: 100%;
  padding: 10px;
  border-radius: var(--radius-sm);
  border: 1px solid #ccc;
  font-family: inherit;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(255,122,24,.25);
}

/* =========================
   ACCESSIBILITY
========================= */
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

/* =========================
   UTILITIES
========================= */
.centered { text-align: center; }
.mt-md { margin: 18px 0; }

/* =========================
   RESPONSIVE
========================= */
@media (max-width:900px) {
  section { padding: 32px 16px; }
  nav { flex-direction: column; align-items: flex-start; }
  nav a { margin: 6px 0; }
}
