*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text-1);
  min-height: 100vh;
  line-height: 1.6;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 10px 20px; border-radius: var(--radius-full);
  font-size: 14px; font-weight: 500; cursor: pointer;
  border: none; transition: transform 0.18s, background 0.18s, box-shadow 0.18s;
  text-decoration: none;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--primary-dark); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--primary); border: 1.5px solid var(--primary); }
.btn-outline:hover { background: var(--primary-light); }
.btn-ghost  { background: rgba(255,255,255,0.12); color: #fff; border: 1px solid rgba(255,255,255,0.25); }
.btn-ghost:hover { background: rgba(255,255,255,0.22); }

/* Cards */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.card-hover { transition: box-shadow 0.22s, transform 0.22s; }
.card-hover:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

/* Badges */
.badge {
  display: inline-flex; align-items: center;
  padding: 3px 10px; border-radius: var(--radius-full);
  font-size: 11px; font-weight: 500;
}
.badge-blue   { background: #dbeeff; color: #0c447c; }
.badge-green  { background: #d4f4eb; color: #0f6e56; }
.badge-amber  { background: #fdf2dc; color: #854f0b; }
.badge-gray   { background: var(--surface-2); color: var(--text-2); border: 1px solid var(--border); }

/* Form elements */
.input-group { display: flex; flex-direction: column; gap: 5px; }
.input-label { font-size: 11px; font-weight: 500; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.06em; }
.input {
  width: 100%; padding: 10px 13px;
  background: var(--surface); border: 1px solid var(--border-strong);
  border-radius: var(--radius-md); font-size: 14px; color: var(--text-1);
  font-family: var(--font); transition: border-color 0.18s, box-shadow 0.18s;
}
.input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(24,95,165,0.12); }
.input::placeholder { color: var(--text-3); }

/* Tags */
.tag {
  display: inline-flex; align-items: center;
  padding: 4px 11px; border-radius: var(--radius-full);
  font-size: 12px; font-weight: 500;
  background: var(--surface-2); color: var(--text-2);
  border: 1px solid var(--border);
}

/* Section label */
.section-label {
  font-size: 11px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.07em;
  color: var(--text-3); margin-bottom: 10px;
}

/* Divider */
.divider { height: 1px; background: var(--border); margin: 1.5rem 0; }

/* Responsive container */
.container { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* Responsive grid */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
@media (max-width: 768px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
}
