:root {
  --bg: #f4f6f4;
  --card: #ffffff;
  --ink: #1c241f;
  --muted: #5a6560;
  --line: #dce3de;
  --accent: #1b4d3e;
  --accent-soft: #e6f1ec;
  --danger: #8a2b2b;
  --radius: 14px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    radial-gradient(1200px 400px at 10% -10%, #e7f0ea 0%, transparent 55%),
    var(--bg);
  color: var(--ink);
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
}

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

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

.site-header {
  background: rgba(255, 255, 255, 0.86);
  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 {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(160deg, #2d7a5f 0%, var(--accent) 100%);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text em {
  font-style: normal;
  color: var(--muted);
}

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

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

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

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

.hero h1,
.hero h2 {
  max-width: 20ch;
  margin: 12px 0 12px;
  line-height: 1.2;
}

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

.lede {
  max-width: 62ch;
}

.card h2 {
  margin-top: 1.4em;
}

.card h2:first-child {
  margin-top: 0;
}

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

.ask-list {
  margin: 0;
  padding-left: 1.2em;
}

.ask-list li {
  margin: 0.35em 0;
}

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

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

.btn:hover {
  border-color: #c5d0ca;
}

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

.btn-primary:hover {
  border-color: var(--accent);
}

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

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

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

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.hp-field {
  position: absolute;
  left: -9999px;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

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

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

.pill-warn {
  background: #f4ece3;
}

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

@media (max-width: 700px) {
  .site-header .wrap,
  .site-footer .wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero h1 {
    max-width: none;
  }
}
