:root {
  color-scheme: light;
  --bg: #f7f9fb;
  --surface: #ffffff;
  --surface-muted: #eef3f6;
  --text: #18212b;
  --muted: #596978;
  --border: #d8e1e8;
  --accent: #24746b;
  --accent-dark: #155a53;
  --warning-bg: #fff8e8;
  --warning-border: #f0d69a;
  --shadow: 0 16px 42px rgba(24, 33, 43, 0.08);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
}

body {
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(36, 116, 107, 0.08), transparent 320px),
    var(--bg);
  font-size: 16px;
  line-height: 1.65;
}

a {
  color: var(--accent-dark);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--accent);
}

.site-header,
.site-footer,
main {
  width: min(100%, 1120px);
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 760;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  color: #ffffff;
  background: var(--accent);
  font-size: 18px;
  font-weight: 800;
}

.site-nav,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.site-nav {
  justify-content: flex-end;
}

.site-nav a,
.footer-links a {
  color: var(--muted);
  font-size: 0.95rem;
  text-decoration: none;
}

.site-nav a[aria-current="page"],
.site-nav a:hover,
.footer-links a:hover {
  color: var(--text);
}

main {
  padding: 18px 20px 56px;
}

.hero {
  display: grid;
  gap: 20px;
  padding: 42px 0 28px;
}

.eyebrow {
  margin: 0;
  color: var(--accent-dark);
  font-size: 0.82rem;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.2;
  letter-spacing: 0;
}

h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(2.1rem, 7vw, 4.2rem);
}

h2 {
  margin: 0 0 14px;
  font-size: clamp(1.32rem, 3vw, 1.95rem);
}

h3 {
  margin: 22px 0 8px;
  font-size: 1.08rem;
}

p {
  margin: 0 0 14px;
}

ul {
  margin: 0 0 18px;
  padding-left: 1.25rem;
}

li {
  margin: 7px 0;
}

.lede {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.2rem);
}

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

.list {
  display: grid;
  gap: 16px;
  max-width: 820px;
}

.card,
.doc {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.card {
  padding: 22px;
}

.card h2,
.card h3 {
  margin-top: 0;
}

.card p:last-child,
.doc p:last-child,
.doc ul:last-child {
  margin-bottom: 0;
}

.doc {
  max-width: 880px;
  padding: clamp(22px, 5vw, 48px);
}

.doc-header {
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.doc-header h1 {
  font-size: clamp(2rem, 6vw, 3.35rem);
}

.meta {
  color: var(--muted);
  font-size: 0.95rem;
}

.notice {
  margin: 20px 0;
  padding: 16px 18px;
  border: 1px solid var(--warning-border);
  border-radius: 8px;
  background: var(--warning-bg);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 10px 15px;
  border: 1px solid var(--accent);
  color: #ffffff;
  background: var(--accent);
  font-weight: 700;
  text-decoration: none;
}

.button.secondary {
  color: var(--accent-dark);
  background: var(--surface);
}

.muted {
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.92rem;
  padding: 22px 20px;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}

code {
  padding: 0.12em 0.28em;
  border-radius: 5px;
  background: var(--surface-muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.92em;
}

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

  .site-nav {
    justify-content: flex-start;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 24px;
  }
}
