:root {
  --navy-950: #061522;
  --navy-900: #081d2d;
  --navy-800: #0d2d45;
  --blue: #16a7d5;
  --cyan: #59d6ed;
  --coral: #f36d47;
  --green: #168b67;
  --amber: #a15f0b;
  --ink: #101c29;
  --muted: #5d6d7e;
  --soft: #f4f8fb;
  --line: #d9e3eb;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--soft);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  margin: 0;
}

a {
  color: inherit;
}

code,
pre {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.skip-link {
  background: var(--white);
  color: var(--ink);
  left: 16px;
  padding: 10px 14px;
  position: fixed;
  top: -80px;
  z-index: 100;
}

.skip-link:focus {
  top: 16px;
}

.shell {
  margin: 0 auto;
  max-width: 1200px;
  padding: 0 24px;
  width: 100%;
}

.site-header {
  background: var(--navy-950);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  color: var(--white);
}

.header-inner {
  align-items: center;
  display: flex;
  gap: 32px;
  justify-content: space-between;
  min-height: 82px;
}

.brand {
  align-items: center;
  display: flex;
  gap: 20px;
  min-width: 0;
  text-decoration: none;
}

.brand img {
  display: block;
  height: 42px;
  object-fit: contain;
  width: 114px;
}

.brand span {
  border-left: 1px solid rgba(255, 255, 255, .24);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.2;
  padding-left: 20px;
}

.nav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-end;
}

.nav a {
  color: rgba(255, 255, 255, .76);
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--cyan);
}

.hero {
  background: var(--navy-950);
  color: var(--white);
  padding: 76px 0 72px;
}

.hero-grid {
  align-items: end;
  display: grid;
  gap: 70px;
  grid-template-columns: minmax(0, 1.15fr) minmax(310px, .65fr);
}

.eyebrow {
  align-items: center;
  color: var(--cyan);
  display: flex;
  font-size: 12px;
  font-weight: 600;
  gap: 10px;
  margin: 0 0 14px;
  text-transform: uppercase;
}

.eyebrow::before {
  background: var(--coral);
  content: "";
  height: 3px;
  width: 26px;
}

.eyebrow.dark {
  color: #137da1;
}

.hero h1 {
  font-size: clamp(42px, 6vw, 68px);
  font-weight: 500;
  line-height: 1.06;
  margin: 0;
}

.hero h1 span {
  color: var(--cyan);
}

.hero-copy {
  color: rgba(255, 255, 255, .72);
  font-size: 18px;
  font-weight: 300;
  line-height: 1.7;
  margin: 24px 0 0;
  max-width: 720px;
}

.hero-summary {
  border-left: 1px solid rgba(255, 255, 255, .18);
  display: grid;
  gap: 18px;
  padding-left: 34px;
}

.hero-summary div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-summary span {
  color: rgba(255, 255, 255, .52);
  font-size: 12px;
  text-transform: uppercase;
}

.hero-summary strong {
  font-size: 16px;
  font-weight: 500;
}

.notice-band {
  background: #e9f7fb;
  border-bottom: 1px solid #bfe5ee;
}

.notice {
  align-items: flex-start;
  display: flex;
  gap: 18px;
  padding-bottom: 24px;
  padding-top: 24px;
}

.notice-icon {
  align-items: center;
  background: var(--blue);
  border-radius: 50%;
  color: var(--white);
  display: inline-flex;
  flex: 0 0 28px;
  font-size: 15px;
  font-weight: 600;
  height: 28px;
  justify-content: center;
}

.notice strong {
  display: block;
  font-weight: 600;
}

.notice p {
  color: #425d6d;
  margin: 2px 0 0;
}

.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  padding-bottom: 20px;
  padding-top: 20px;
}

.quick-links a {
  color: #315568;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
}

.quick-links a:hover,
.quick-links a:focus-visible {
  color: #0b82a7;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.section {
  padding: 82px 0;
}

.section.alternate {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
}

.section-heading {
  max-width: 780px;
}

.section-heading.compact {
  max-width: 700px;
}

.section-heading.wide {
  max-width: 900px;
}

.section-heading h2,
.support-band h2 {
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 500;
  line-height: 1.18;
  margin: 0;
}

.section-heading > p:last-child {
  color: var(--muted);
  font-size: 17px;
  font-weight: 300;
  margin: 18px 0 0;
}

.table-wrap {
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-top: 34px;
  max-width: 100%;
  overflow-x: auto;
}

.data-table {
  border-collapse: collapse;
  min-width: 760px;
  width: 100%;
}

.data-table th,
.data-table td {
  border-bottom: 1px solid var(--line);
  padding: 16px 18px;
  text-align: left;
  vertical-align: top;
}

.data-table th {
  background: #eaf2f7;
  color: #2f495b;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.data-table td {
  background: var(--white);
  color: #526373;
  font-size: 14px;
  font-weight: 300;
}

.data-table tbody tr:last-child td {
  border-bottom: 0;
}

.data-table td code {
  color: #0b6380;
  font-size: 12px;
  overflow-wrap: anywhere;
}

.endpoint-table {
  min-width: 1040px;
}

.endpoint-table td:first-child {
  width: 265px;
}

.endpoint-table td:first-child .method {
  margin-bottom: 8px;
}

.endpoint-table td:first-child code {
  display: block;
}

.callout {
  border-left: 4px solid;
  margin-top: 24px;
  padding: 18px 20px;
}

.callout strong {
  display: block;
  font-weight: 600;
}

.callout p {
  color: inherit;
  font-weight: 300;
  margin: 4px 0 0;
}

.callout code {
  background: rgba(255, 255, 255, .65);
  border-radius: 3px;
  padding: 2px 4px;
}

.warning-callout {
  background: #fff7e9;
  border-color: #d98b21;
  color: #604715;
}

.neutral-callout {
  background: #eaf6fa;
  border-color: var(--blue);
  color: #294e5e;
}

.access-layout {
  align-items: start;
  display: grid;
  gap: 70px;
  grid-template-columns: minmax(0, .78fr) minmax(500px, 1fr);
}

.step-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.step-list li {
  align-items: start;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 18px;
  grid-template-columns: 34px 1fr;
  padding: 18px 0;
}

.step-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.step-list > li > span {
  color: var(--coral);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 13px;
  font-weight: 600;
}

.step-list strong {
  color: #2c4253;
  font-weight: 600;
}

.step-list p {
  color: var(--muted);
  font-weight: 300;
  margin: 3px 0 0;
}

.step-list code {
  color: #0b6380;
  font-size: 13px;
}

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

.code-card,
.content-panel,
.collector-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  min-width: 0;
  padding: 26px;
}

.code-card.wide-card {
  grid-column: 1 / -1;
}

.code-card h3,
.content-panel h3,
.collector-panel h3,
.collector-notes h3 {
  font-size: 19px;
  font-weight: 500;
  line-height: 1.3;
  margin: 0 0 16px;
}

.code-card pre {
  margin-bottom: 0;
}

.split-layout,
.zabbix-grid,
.collector-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 38px;
}

.content-panel {
  background: var(--soft);
}

.content-panel pre {
  margin-bottom: 0;
}

.validation-panel ol {
  color: var(--muted);
  font-weight: 300;
  margin: 0;
  padding-left: 22px;
}

.validation-panel li + li {
  margin-top: 12px;
}

.validation-panel code {
  background: #e5edf2;
  border-radius: 3px;
  color: #17465d;
  font-size: 12px;
  padding: 2px 4px;
}

.compact-table td:first-child {
  color: #334b5d;
  font-weight: 500;
  width: 260px;
}

.definition-list {
  margin: 0;
}

.definition-list div {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(115px, .5fr) minmax(0, 1fr);
  padding: 13px 0;
}

.definition-list div:last-child {
  border-bottom: 1px solid var(--line);
}

.definition-list dt {
  color: #334b5d;
  font-weight: 500;
}

.definition-list dd {
  color: var(--muted);
  font-weight: 300;
  margin: 0;
}

.definition-list code {
  color: #0b6380;
  font-size: 12px;
  overflow-wrap: anywhere;
}

.table-intro {
  color: var(--muted);
  font-weight: 300;
  margin: 38px 0 0;
}

.table-intro code {
  color: #0b6380;
}

.zabbix-table {
  min-width: 980px;
}

.zabbix-table td:nth-child(2) {
  width: 58%;
}

.collector-panel {
  display: flex;
  flex-direction: column;
}

.collector-heading {
  align-items: flex-start;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
}

.collector-heading h3 {
  margin: 12px 0 0;
}

.collector-heading > code {
  background: #eef4f7;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: #0b6380;
  font-size: 11px;
  overflow-wrap: anywhere;
  padding: 8px 10px;
}

.collector-panel > ul {
  color: var(--muted);
  font-weight: 300;
  margin: 24px 0;
  padding-left: 20px;
}

.collector-panel > ul li + li {
  margin-top: 7px;
}

.collector-panel > ul code {
  color: #0b6380;
  font-size: 12px;
}

.collector-panel pre {
  flex: 1;
  margin: 0;
}

.restricted-zabbix {
  border-top: 1px solid var(--line);
  margin-top: 42px;
  padding-top: 38px;
}

.restricted-zabbix .section-heading h3 {
  font-size: 26px;
  font-weight: 500;
  line-height: 1.25;
  margin: 0;
}

.restricted-zabbix .section-heading > p:last-child {
  color: var(--muted);
  font-weight: 300;
  margin: 12px 0 0;
}

.dependent-title {
  color: #334b5d;
  font-size: 14px;
  font-weight: 600;
  margin: 20px 0 8px;
}

.dependent-list {
  color: var(--muted);
  font-size: 14px;
  font-weight: 300;
  margin: 0;
  padding-left: 20px;
}

.dependent-list li + li {
  margin-top: 7px;
}

.dependent-list code {
  color: #0b6380;
  font-size: 12px;
}

.collector-notes {
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 26px;
}

.collector-notes article {
  padding: 24px;
}

.collector-notes article + article {
  border-left: 1px solid var(--line);
}

.collector-notes h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.collector-notes p {
  color: var(--muted);
  font-size: 14px;
  font-weight: 300;
  margin: 0;
}

.response-layout {
  align-items: start;
  display: grid;
  gap: 70px;
  grid-template-columns: minmax(0, .75fr) minmax(500px, 1fr);
}

.status-list {
  border-bottom: 1px solid var(--line);
}

.status-list > div {
  align-items: start;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 20px;
  grid-template-columns: 56px 1fr;
  padding: 16px 0;
}

.status-list > div > code {
  color: var(--coral);
  font-size: 15px;
  font-weight: 600;
}

.status-list p {
  color: var(--muted);
  font-weight: 300;
  margin: 0;
}

.status-list p code {
  color: #0b6380;
  font-size: 12px;
}

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

.endpoint-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 30px;
}

.endpoint-card.restricted-card {
  border-color: #e6bd83;
}

.endpoint-meta {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  margin-bottom: 20px;
}

.method,
.availability {
  border-radius: 999px;
  display: inline-flex;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  padding: 8px 10px;
  text-transform: uppercase;
}

.method {
  background: #dff5fa;
  color: #087b9c;
}

.availability.available {
  background: #e2f5ed;
  color: #0a6e51;
}

.availability.sensitive {
  background: #eef1f4;
  color: #52606c;
}

.availability.control,
.availability.restricted {
  background: #fff0dc;
  color: #8a5007;
}

.endpoint-card h3,
.integration-card h3 {
  font-size: 22px;
  font-weight: 500;
  line-height: 1.25;
  margin: 0 0 16px;
}

.endpoint-card > code {
  background: #f0f5f8;
  border: 1px solid #dbe6ec;
  border-radius: 4px;
  color: #0b6380;
  display: block;
  font-size: 13px;
  margin: 0 0 8px;
  overflow-wrap: anywhere;
  padding: 9px 11px;
}

.endpoint-card p,
.endpoint-card li,
.integration-card p,
.integration-card li {
  color: var(--muted);
  font-weight: 300;
}

.endpoint-card p {
  margin: 18px 0 8px;
}

.endpoint-card ul,
.integration-card ol,
.integration-card ul {
  margin: 8px 0 22px;
  padding-left: 20px;
}

.endpoint-card li + li,
.integration-card li + li {
  margin-top: 8px;
}

.endpoint-card li strong {
  color: #33475a;
  font-weight: 500;
}

.key-label {
  border-top: 1px solid var(--line);
  color: #3c5364;
  font-size: 13px;
  font-weight: 500;
  margin-top: auto;
  padding-top: 18px;
}

.inline-alert {
  background: #fff8ed;
  border-left: 3px solid #e5962c;
  color: #684711;
  display: flex;
  flex-direction: column;
  font-size: 14px;
  gap: 2px;
  margin: 18px 0 22px;
  padding: 14px 16px;
}

.inline-alert strong {
  font-weight: 600;
}

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

.integration-card {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  min-width: 0;
  padding: 28px;
}

.integration-title {
  align-items: center;
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
}

.integration-title h3 {
  margin: 0;
}

.number {
  color: var(--coral);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 14px;
  font-weight: 600;
}

pre {
  background: var(--navy-950);
  border: 1px solid #17364d;
  border-radius: 6px;
  color: #dff7fc;
  font-size: 12px;
  line-height: 1.65;
  margin: 0 0 20px;
  max-width: 100%;
  overflow-x: auto;
  padding: 18px;
  white-space: pre;
}

.integration-card p {
  margin: 0;
}

.integration-card p strong {
  color: #344b5d;
  font-weight: 500;
}

.integration-card li code {
  background: #e7eef3;
  border-radius: 3px;
  color: #17465d;
  padding: 2px 4px;
}

.security-layout {
  align-items: start;
  display: grid;
  gap: 70px;
  grid-template-columns: minmax(0, .85fr) minmax(420px, 1fr);
}

.security-panel {
  border-bottom: 1px solid var(--line);
}

.security-item {
  align-items: flex-start;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 20px;
  grid-template-columns: 34px 1fr;
  padding: 20px 0;
}

.security-item span {
  color: var(--blue);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 13px;
  font-weight: 600;
}

.security-item p {
  color: #425466;
  font-weight: 300;
  margin: 0;
}

.support-band {
  background: var(--coral);
  color: var(--white);
  padding: 56px 0;
}

.support-inner {
  align-items: center;
  display: flex;
  gap: 36px;
  justify-content: space-between;
}

.support-band .eyebrow {
  color: var(--navy-950);
}

.support-band .eyebrow::before {
  background: var(--white);
}

.support-band h2 {
  font-size: clamp(28px, 4vw, 40px);
}

.support-band p:last-child {
  color: rgba(255, 255, 255, .85);
  font-weight: 300;
  margin: 10px 0 0;
}

.support-link {
  background: var(--white);
  border: 1px solid var(--white);
  border-radius: 6px;
  color: var(--navy-950);
  flex: 0 0 auto;
  font-weight: 500;
  padding: 13px 22px;
  text-decoration: none;
}

.support-link:hover,
.support-link:focus-visible {
  background: transparent;
  color: var(--white);
}

.footer {
  background: var(--navy-950);
  color: rgba(255, 255, 255, .7);
  font-size: 13px;
  padding: 28px 0;
}

.footer-inner {
  align-items: center;
  display: flex;
  gap: 24px;
  justify-content: space-between;
}

.footer p {
  margin: 0;
}

.footer-inner div {
  display: flex;
  gap: 22px;
}

.footer a {
  text-decoration: none;
}

.footer a:hover,
.footer a:focus-visible {
  color: var(--white);
}

@media (max-width: 920px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
    padding-bottom: 18px;
    padding-top: 18px;
  }

  .nav {
    gap: 16px;
    justify-content: flex-start;
  }

  .hero-grid,
  .security-layout,
  .access-layout,
  .response-layout {
    grid-template-columns: 1fr;
  }

  .hero-summary {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, .18);
    grid-template-columns: repeat(3, 1fr);
    padding-left: 0;
    padding-top: 24px;
  }
}

@media (max-width: 720px) {
  .shell {
    padding-left: 18px;
    padding-right: 18px;
  }

  .brand {
    gap: 14px;
  }

  .brand img {
    height: 36px;
    width: 98px;
  }

  .brand span {
    font-size: 15px;
    padding-left: 14px;
  }

  .nav {
    display: grid;
    grid-template-columns: repeat(2, auto);
  }

  .hero {
    padding: 56px 0;
  }

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

  .section {
    padding: 64px 0;
  }

  .endpoint-list,
  .integration-grid,
  .code-grid,
  .split-layout,
  .zabbix-grid,
  .collector-grid {
    grid-template-columns: 1fr;
  }

  .endpoint-card,
  .integration-card,
  .code-card,
  .content-panel,
  .collector-panel {
    padding: 22px;
  }

  .code-card.wide-card {
    grid-column: auto;
  }

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

  .collector-notes article + article {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .definition-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .quick-links {
    flex-wrap: nowrap;
    overflow-x: auto;
  }

  .quick-links a {
    flex: 0 0 auto;
  }

  .support-inner,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-inner div {
    flex-direction: column;
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
