:root {
  --bg: #f7f7f5;
  --card: #ffffff;
  --ink: #1f1f1f;
  --muted: #5c5c5c;
  --line: #e4e4e0;
  --accent: #1f4d3a;
  --accent-soft: #e8f1ec;
  --danger: #8a2b2b;
  --radius: 12px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
}

a {
  color: inherit;
}

.wrap {
  width: min(960px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header,
.site-footer {
  padding: 18px 0;
}

.site-header {
  border-bottom: 1px solid var(--line);
}

.site-header .wrap,
.site-footer .wrap,
.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.nav {
  display: flex;
  gap: 12px;
  align-items: center;
}

.site-footer {
  color: var(--muted);
  border-top: 1px solid var(--line);
  margin-top: 48px;
}

.hero,
.card,
.notice {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}

.hero {
  margin: 40px 0 24px;
}

.lede,
.muted,
.card p,
.notice {
  color: var(--muted);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin: 24px 0;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: var(--radius);
  padding: 10px 14px;
  text-decoration: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.btn-danger {
  color: var(--danger);
  border-color: #e3c4c4;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.field input {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  background: #fff;
}

.error {
  color: var(--danger);
}

.pill {
  display: inline-block;
  border-radius: 999px;
  padding: 4px 10px;
  background: var(--accent-soft);
  font-size: 0.85em;
}

.pill-warn {
  background: #f4ece3;
}

.provider-card h2 {
  margin-top: 0;
}
