:root {
  --ink: #21312d;
  --muted: #64736e;
  --line: #dce5e1;
  --brand: #236b5a;
  --brand-soft: #eaf3ef;
  --paper: #ffffff;
  --background: #f6f8f7;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--background);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", sans-serif;
  line-height: 1.75;
}

a { color: var(--brand); }

.topbar {
  position: sticky;
  top: 0;
  z-index: 3;
  border-bottom: 1px solid rgba(220, 229, 225, .9);
  background: rgba(246, 248, 247, .92);
  backdrop-filter: blur(14px);
}

.topbar-inner {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  color: var(--ink);
  font-size: 19px;
  font-weight: 760;
  text-decoration: none;
}

.brand::first-letter { color: var(--brand); }

.nav-links {
  display: flex;
  gap: 16px;
  font-size: 14px;
}

.nav-links a { text-decoration: none; }

main {
  width: min(920px, calc(100% - 32px));
  margin: 42px auto 72px;
}

.hero,
.document,
.support-card {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--paper);
  box-shadow: 0 14px 42px rgba(42, 59, 67, .06);
}

.hero { padding: clamp(28px, 6vw, 54px); }

.eyebrow {
  color: var(--brand);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
}

h1 {
  margin: 8px 0 10px;
  font-size: clamp(32px, 6vw, 48px);
  line-height: 1.2;
}

.lead {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.updated {
  display: inline-block;
  margin-top: 20px;
  padding: 6px 11px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 13px;
}

.document,
.support-card {
  margin-top: 20px;
  padding: clamp(24px, 5vw, 46px);
}

.document h2,
.support-card h2 {
  margin: 38px 0 10px;
  font-size: 22px;
  line-height: 1.35;
}

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

.document h3 { margin: 24px 0 8px; font-size: 17px; }

.document p,
.document li,
.support-card p { color: #394a45; }

.document ul,
.document ol { padding-left: 1.25em; }

.callout {
  margin: 20px 0;
  padding: 16px 18px;
  border-left: 4px solid var(--brand);
  border-radius: 12px;
  background: var(--brand-soft);
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.support-item {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fbfcfc;
}

.support-item strong { display: block; margin-bottom: 5px; }

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.field {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 650;
}

.field.full { grid-column: 1 / -1; }

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cdd9d4;
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 400;
  padding: 12px 13px;
}

textarea { min-height: 150px; resize: vertical; }

input:focus,
select:focus,
textarea:focus {
  border-color: var(--brand);
  outline: 3px solid rgba(35, 107, 90, .12);
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
}

button {
  border: 0;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  padding: 11px 20px;
}

button:disabled { cursor: wait; opacity: .6; }

.status { color: var(--muted); font-size: 14px; }
.status.error { color: #b42318; }

footer {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 680px) {
  .topbar-inner { align-items: flex-start; flex-direction: column; padding: 12px 0; }
  .nav-links { flex-wrap: wrap; gap: 8px 14px; }
  main { margin-top: 24px; }
  .support-grid,
  .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
}
