:root {
  color-scheme: light;
  --ink: #17201d;
  --muted: #5d6965;
  --line: #d7ddd9;
  --surface: #ffffff;
  --page: #f7f8f5;
  --green: #146c5b;
  --green-dark: #0f4e44;
  --blue: #245c9a;
  --amber: #9b5d12;
  --red: #8d2e2e;
  --code: #101820;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--page);
  line-height: 1.55;
}

a {
  color: var(--green-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

img {
  display: block;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 32px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
}

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

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: flex-end;
  font-size: 15px;
}

main {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 56px;
}

.band {
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 40px;
  align-items: end;
  min-height: 420px;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--amber);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 14px;
  font-size: 48px;
  line-height: 1.05;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: 28px;
  line-height: 1.18;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 14px;
  font-size: 18px;
  line-height: 1.25;
  letter-spacing: 0;
}

.lead {
  max-width: 680px;
  color: var(--muted);
  font-size: 20px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.actions.compact {
  margin-top: 18px;
}

.button,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid var(--green);
  border-radius: 8px;
  padding: 10px 16px;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button.primary,
button {
  color: #ffffff;
  background: var(--green);
}

.button.secondary {
  color: var(--green-dark);
  background: #ffffff;
}

.signal-panel {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.signal-panel div {
  padding-left: 12px;
  border-left: 4px solid var(--blue);
}

.signal-panel div:nth-child(2) {
  border-left-color: var(--red);
}

.signal-panel div:nth-child(3) {
  border-left-color: var(--green);
}

.metric {
  display: block;
  font-weight: 900;
}

.signal-panel p {
  margin-bottom: 0;
  color: var(--muted);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 18px;
}

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

.tool,
.capability-card {
  display: grid;
  align-content: start;
  gap: 12px;
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

label {
  display: grid;
  gap: 6px;
  color: #26322e;
  font-size: 14px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid #bfc9c4;
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--ink);
  background: #ffffff;
  font: inherit;
  font-weight: 500;
}

textarea {
  resize: vertical;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 36px;
  align-items: start;
}

.endpoint-list,
.plain-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.endpoint-list li,
.plain-list li {
  min-width: 0;
  padding: 12px 14px;
  border-left: 4px solid var(--green);
  background: #ffffff;
}

.endpoint-list a {
  overflow-wrap: anywhere;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 14px;
}

.link-grid,
.city-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.link-grid a,
.city-grid a,
.city-grid span {
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  overflow-wrap: anywhere;
}

pre {
  overflow: auto;
  margin: 0;
  padding: 16px;
  border-radius: 8px;
  color: #d7f7ef;
  background: var(--code);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 14px;
}

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

footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 32px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: #ffffff;
}

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

  .hero,
  .split,
  .tool-grid,
  .capability-grid,
  .link-grid,
  .city-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
  }
}

@media (max-width: 560px) {
  .site-header,
  footer {
    padding: 16px 20px;
  }

  main {
    width: min(100% - 28px, 1120px);
    padding-top: 18px;
  }

  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 24px;
  }

  .lead {
    font-size: 18px;
  }
}
