* { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  padding: 2rem;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.5 system-ui, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}

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

/* Card */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem 1.1rem;
  box-shadow: var(--shadow);
}

/* Muted text */
.muted { color: var(--muted); }

/* Button */
.btn {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: .65rem 1rem;
  border-radius: 12px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 600;
  transition: transform .04s ease, box-shadow .2s ease, background .2s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,.08);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px var(--ring);
}

/* Input + select */
input, select, textarea {
  width: 100%;
  padding: .6rem .7rem;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  outline: none;
  transition: box-shadow .15s ease, border-color .15s ease;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--ring);
}

/* Badge */
.badge {
  display: inline-block;
  background: color-mix(in oklab, var(--accent) 22%, transparent);
  color: var(--text);
  border: 1px solid var(--accent);
  padding: .25rem .5rem;
  border-radius: 999px;
  font-size: .85rem;
}

/* Contact button */
.contact-btn {
  display: inline-block;
  width: fit-content;
  margin: 5px auto;
  padding: 0.8rem 1.6rem;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.08s ease, box-shadow 0.2s ease, background 0.2s ease;
  box-shadow: var(--shadow);
}
.contact-btn:hover {
  background: color-mix(in oklab, var(--primary) 85%, black);
  transform: translateY(-2px);
}
.contact-btn:active {
  transform: translateY(0);
}

/* Footer */
footer {
  margin-top: 60px;
  padding: 24px 16px;
  text-align: center;
  background: var(--surface);
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9rem;
}