:root {
  --green: #0f3d2e;
  --green-mid: #1f7a56;
  --green-soft: #e7f3ec;
  --ink: #1e1f22;
  --muted: #606873;
  --line: #dfe6e2;
  --panel: #ffffff;
  --paper: #f7f8f7;
  --grey: #f2f4f6;
  --info: #0f5d7a;
  --shadow: 0 18px 44px rgba(21, 34, 29, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "PP Neue Montreal", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
}

code {
  padding: 0.12rem 0.32rem;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fff;
  color: var(--green);
  font-size: 0.92em;
}

pre {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 18px 0 0;
  overflow-x: auto;
  border-radius: 8px;
  background: #101413;
  color: #f5fbf7;
  padding: 18px;
  font: 13px/1.55 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

pre code {
  display: block;
  min-width: max-content;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  white-space: pre;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 74px;
  padding: 12px clamp(18px, 4vw, 52px);
  border-bottom: 1px solid rgba(15, 61, 46, 0.12);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 210px;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 8px;
}

.brand span {
  display: grid;
  gap: 3px;
}

.brand strong {
  font-size: 22px;
  line-height: 1;
  font-weight: 650;
}

.brand small {
  color: var(--green-mid);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
  color: var(--muted);
  font-size: 14px;
}

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

.top-nav a:hover,
.toc-link:hover {
  color: var(--green-mid);
}

.copy-link,
.button,
.lightbox-close {
  border: 1px solid var(--green);
  border-radius: 6px;
  background: var(--green);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 650;
  line-height: 1;
}

.copy-link {
  padding: 11px 14px;
}

.layout {
  display: grid;
  grid-template-columns: minmax(190px, 240px) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 58px);
  width: min(1380px, 100%);
  margin: 0 auto;
  padding: 36px clamp(18px, 4vw, 52px) 72px;
}

.sidebar {
  position: sticky;
  top: 104px;
  align-self: start;
  display: grid;
  gap: 6px;
  padding: 10px 0;
}

.sidebar-label,
.section-kicker {
  margin: 0 0 10px;
  color: var(--green-mid);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.toc-link {
  border-left: 2px solid transparent;
  padding: 9px 0 9px 14px;
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}

.toc-link.is-active {
  border-color: var(--green-mid);
  color: var(--ink);
  font-weight: 650;
}

.doc {
  display: grid;
  gap: 28px;
  min-width: 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
  min-height: min(650px, calc(100vh - 130px));
  padding: clamp(28px, 5vw, 66px) 0 34px;
  border-bottom: 1px solid var(--line);
}

.hero h1,
.steps-heading h2,
.doc-section h2,
.troubleshooting h2 {
  margin: 0;
  color: var(--ink);
  font-weight: 650;
  line-height: 1.02;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(40px, 5.8vw, 78px);
}

.lead {
  max-width: 680px;
  margin: 24px 0 0;
  color: #3e4540;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  text-decoration: none;
}

.button.secondary {
  border-color: var(--line);
  background: #fff;
  color: var(--green);
}

.summary-panel {
  align-self: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.summary-panel dl {
  margin: 0;
}

.summary-panel div {
  display: grid;
  gap: 5px;
  padding: 22px;
  border-bottom: 1px solid var(--line);
}

.summary-panel div:last-child {
  border-bottom: 0;
}

.summary-panel dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.summary-panel dd {
  margin: 0;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.45;
}

.summary-panel code {
  display: block;
  max-width: 100%;
  overflow-wrap: anywhere;
  white-space: normal;
}

.intro-band,
.troubleshooting {
  padding: clamp(28px, 5vw, 48px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.intro-band h2 {
  margin: 0 0 24px;
  font-size: clamp(28px, 3vw, 42px);
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.check-grid div {
  min-width: 0;
  padding: 24px;
  background: #fff;
}

.check-grid h3,
.finish-panel h3 {
  margin: 0 0 10px;
  font-size: 18px;
}

.check-grid p,
.finish-panel p,
.doc-section p,
.troubleshooting p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.steps-heading {
  padding-top: 36px;
}

.steps-heading h2,
.doc-section h2,
.troubleshooting h2 {
  font-size: clamp(30px, 4vw, 54px);
}

.doc-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(24px, 4vw, 54px);
  align-items: start;
  padding: clamp(28px, 5vw, 58px) 0;
  border-top: 1px solid var(--line);
}

.doc-section.compact {
  grid-template-columns: minmax(260px, 0.88fr) minmax(260px, 0.72fr);
}

.section-body {
  min-width: 0;
}

.doc-section > *,
.principle-panel,
.finish-panel {
  min-width: 0;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  border: 1px solid rgba(31, 122, 86, 0.25);
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  font-size: 13px;
  font-weight: 750;
}

.doc-section p {
  margin-top: 18px;
}

.clean-list {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding-left: 20px;
  color: #3d4640;
  line-height: 1.6;
}

.note {
  margin-top: 22px;
  padding: 16px 18px;
  border-left: 3px solid var(--info);
  background: #eef6f7;
  color: #23444b;
  line-height: 1.55;
}

.screenshot {
  margin: 0;
}

.screenshot button {
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #121413;
  box-shadow: var(--shadow);
  cursor: zoom-in;
}

.screenshot img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.screenshot figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
}

.finish-panel {
  align-self: stretch;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(15, 61, 46, 0.92), rgba(31, 122, 86, 0.88)),
    var(--green);
  color: #fff;
}

.finish-panel p {
  color: rgba(255, 255, 255, 0.82);
}

.troubleshooting {
  margin-top: 10px;
}

.issue-list {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--grey);
}

summary {
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 650;
}

details p {
  padding: 0 20px 20px;
}

.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  transform: translateY(12px);
  opacity: 0;
  pointer-events: none;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  padding: 12px 14px;
  font-size: 14px;
  transition: opacity 160ms ease, transform 160ms ease;
}

.toast.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(18px, 4vw, 44px);
  background: rgba(8, 16, 13, 0.86);
}

.lightbox.is-open {
  display: flex;
}

.lightbox img {
  max-width: min(1180px, 100%);
  max-height: 86vh;
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 11px 14px;
}

.header-action {
  min-height: 38px;
  padding: 0 18px;
}

.home-page {
  background:
    linear-gradient(180deg, #ffffff 0, var(--paper) 480px),
    var(--paper);
}

.home-main {
  width: min(1240px, 100%);
  margin: 0 auto;
  padding: clamp(42px, 6vw, 84px) clamp(18px, 4vw, 52px) 78px;
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 420px);
  gap: clamp(30px, 6vw, 88px);
  align-items: center;
  min-height: min(520px, calc(100vh - 150px));
  padding-bottom: clamp(38px, 5vw, 62px);
  border-bottom: 1px solid var(--line);
}

.home-hero-copy {
  min-width: 0;
}

.home-hero h1 {
  max-width: 780px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(42px, 5.5vw, 76px);
  font-weight: 650;
  line-height: 1;
}

.home-feature {
  display: grid;
  gap: 18px;
  padding: 26px;
  border: 1px solid rgba(15, 61, 46, 0.12);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.feature-label {
  color: var(--green-mid);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.feature-link {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  color: inherit;
  text-decoration: none;
}

.feature-index,
.row-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(31, 122, 86, 0.25);
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  font-size: 13px;
  font-weight: 750;
}

.feature-link strong {
  display: block;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.15;
}

.feature-link small,
.home-feature p {
  display: block;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.docs-library,
.support-band {
  padding: clamp(40px, 6vw, 72px) 0;
}

.docs-library {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: clamp(26px, 5vw, 70px);
  align-items: start;
}

.library-side {
  position: sticky;
  top: 104px;
}

.library-side h2,
.support-band h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
}

.library-nav {
  display: grid;
  gap: 10px;
  margin-top: 26px;
}

.library-nav a,
.library-nav span {
  border-left: 2px solid var(--line);
  padding: 8px 0 8px 14px;
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}

.library-nav a.is-active {
  border-color: var(--green-mid);
  color: var(--ink);
  font-weight: 650;
}

.library-nav a:not(.is-active):hover {
  border-color: rgba(31, 122, 86, 0.45);
  color: var(--green);
}

.article-list {
  display: grid;
  gap: 10px;
}

.article-row {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  min-height: 118px;
  padding: 20px 22px;
  border: 1px solid rgba(15, 61, 46, 0.1);
  border-radius: 8px;
  background: #fff;
  color: inherit;
  text-decoration: none;
}

.article-row.is-ready {
  border-color: rgba(31, 122, 86, 0.36);
  box-shadow: 0 16px 36px rgba(21, 34, 29, 0.08);
}

.article-row:not(.is-ready) {
  background: rgba(255, 255, 255, 0.62);
}

.row-copy {
  display: grid;
  min-width: 0;
  gap: 5px;
}

.row-copy strong {
  margin: 0;
  color: var(--ink);
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.18;
}

.row-copy small,
.support-band p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.row-label {
  color: var(--green-mid);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.row-state {
  justify-self: end;
  white-space: nowrap;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--green);
  background: #fff;
  font-size: 13px;
  font-weight: 650;
}

.article-row:not(.is-ready) .row-state {
  color: var(--muted);
  background: var(--grey);
}

.support-band {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 72px);
  border-top: 1px solid var(--line);
}

.support-band p {
  margin: 0;
}

.principle-panel {
  align-self: start;
  padding: 24px;
  border: 1px solid rgba(31, 122, 86, 0.24);
  border-radius: 8px;
  background: var(--green-soft);
}

.principle-panel h3 {
  margin: 0 0 10px;
  color: var(--green);
  font-size: 18px;
}

.principle-panel p,
.source-note p {
  margin: 0;
  color: #3d4640;
  font-size: 16px;
  line-height: 1.65;
}

.source-note {
  padding: 22px 0 0;
  border-top: 1px solid var(--line);
}

.source-note a {
  color: var(--green);
  font-weight: 650;
}

.my-links-main {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: clamp(42px, 6vw, 78px) clamp(18px, 4vw, 52px) 78px;
}

.my-links-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 430px);
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
  padding-bottom: clamp(34px, 5vw, 58px);
  border-bottom: 1px solid var(--line);
}

.my-links-hero.compact {
  display: block;
  max-width: 900px;
}

.my-links-hero h1,
.supported-section h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(40px, 5.4vw, 72px);
  font-weight: 650;
  line-height: 1;
}

.my-tool-panel {
  display: grid;
  gap: 18px;
  min-width: 0;
  padding: 24px;
  border: 1px solid rgba(15, 61, 46, 0.12);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.field {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.field span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.field input,
.field select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 13px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.field input[readonly] {
  background: var(--grey);
  color: #334039;
}

.preview-line,
.form-status,
.empty-note {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.preview-line code {
  overflow-wrap: anywhere;
}

.form-status.is-error {
  color: #9a3412;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.my-links-grid,
.faq-stack,
.supported-section,
.my-create-layout {
  padding-top: clamp(34px, 5vw, 58px);
}

.my-create-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(22px, 4vw, 48px);
  align-items: start;
}

.param-grid {
  display: grid;
  gap: 14px;
}

.faq-stack {
  display: grid;
  gap: 10px;
  max-width: 900px;
}

.supported-section {
  margin-top: clamp(34px, 5vw, 58px);
  border-top: 1px solid var(--line);
}

.supported-section h2 {
  max-width: 900px;
  font-size: clamp(32px, 4vw, 54px);
}

.supported-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.supported-card {
  display: grid;
  gap: 10px;
  min-width: 0;
  min-height: 190px;
  padding: 18px;
  border: 1px solid rgba(15, 61, 46, 0.12);
  border-radius: 8px;
  background: #fff;
}

.supported-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.2;
}

.supported-card p,
.supported-card small,
.supported-card a {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.supported-card a {
  color: var(--green);
  font-weight: 650;
}

.supported-card code {
  width: fit-content;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.integrations-page {
  background:
    linear-gradient(180deg, #ffffff 0, var(--paper) 420px),
    var(--paper);
}

.integrations-main {
  width: min(1280px, 100%);
  margin: 0 auto;
  padding: clamp(34px, 5vw, 70px) clamp(18px, 4vw, 52px) 72px;
}

.integrations-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: clamp(26px, 5vw, 72px);
  align-items: end;
  padding: clamp(24px, 5vw, 66px) 0 clamp(28px, 5vw, 54px);
  border-bottom: 1px solid var(--line);
}

.integrations-hero h1 {
  max-width: 760px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(42px, 6vw, 78px);
  font-weight: 650;
  line-height: 1;
}

.integrations-stats {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.integrations-stats div {
  display: grid;
  gap: 4px;
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
}

.integrations-stats div:last-child {
  border-bottom: 0;
}

.integrations-stats strong {
  color: var(--green);
  font-size: 34px;
  line-height: 1;
}

.integrations-stats span {
  color: var(--muted);
  font-size: 14px;
}

.integration-toolbar {
  position: sticky;
  top: 74px;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: 18px;
  align-items: center;
  padding: 18px 0;
  background: rgba(247, 248, 247, 0.94);
  backdrop-filter: blur(16px);
}

.integration-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.integration-tabs button,
.category-pills button {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 650;
}

.integration-tabs button {
  padding: 0 18px;
}

.integration-tabs button.is-active,
.category-pills button.is-active {
  border-color: var(--green-mid);
  background: var(--green);
  color: #fff;
}

.integration-search {
  display: grid;
  gap: 7px;
}

.integration-search span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.integration-search input {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.integrations-layout {
  display: grid;
  grid-template-columns: minmax(210px, 260px) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 54px);
  align-items: start;
  min-width: 0;
  padding-top: 22px;
}

.integration-filters {
  position: sticky;
  top: 164px;
  min-width: 0;
  max-height: calc(100vh - 190px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 6px;
  scrollbar-width: thin;
}

.category-pills {
  display: grid;
  gap: 8px;
  max-width: 100%;
}

.category-pills button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 0 14px;
  line-height: 1.15;
  text-align: left;
}

.category-pills span {
  opacity: 0.72;
}

.audit-main {
  width: min(1500px, calc(100% - 44px));
  margin: 0 auto;
  padding: 46px 0 70px;
}

.audit-toolbar {
  margin-top: 28px;
}

.audit-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0;
}

.audit-summary div {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: #fff;
}

.audit-summary strong {
  display: block;
  color: var(--green);
  font-size: 28px;
  line-height: 1;
}

.audit-summary span {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.audit-table-wrap {
  margin-top: 28px;
}

.audit-scroll {
  max-height: calc(100vh - 260px);
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.audit-table {
  width: 100%;
  min-width: 1120px;
  border-collapse: separate;
  border-spacing: 0;
  color: var(--ink);
  font-size: 14px;
}

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

.audit-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #f7faf8;
  color: var(--green);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.audit-table td:first-child {
  font-weight: 800;
}

.audit-table td:first-child small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

.audit-table tr.is-hidden {
  display: none;
}

.audit-badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  border-radius: 999px;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
}

.audit-badge.good {
  background: rgba(27, 94, 67, 0.1);
  color: var(--green);
}

.audit-badge.todo {
  background: rgba(198, 135, 15, 0.14);
  color: #8a5b05;
}

.audit-badge.missing {
  background: rgba(107, 114, 128, 0.13);
  color: var(--muted);
}

.integrations-results {
  min-width: 0;
}

.results-heading {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  margin-bottom: 18px;
}

.results-heading h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.05;
}

.results-heading p:last-child {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 14px;
  white-space: nowrap;
}

.integration-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 12px;
}

.integration-card {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  min-height: 178px;
  padding: 18px;
  border: 1px solid rgba(15, 61, 46, 0.12);
  border-radius: 8px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 10px 26px rgba(21, 34, 29, 0.05);
  transition: border-color 140ms ease, transform 140ms ease, box-shadow 140ms ease;
}

.integration-card:hover {
  transform: translateY(-2px);
  border-color: rgba(31, 122, 86, 0.45);
  box-shadow: 0 16px 32px rgba(21, 34, 29, 0.1);
}

.integration-card.is-hidden {
  display: none;
}

.integration-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  overflow: hidden;
  border: 1px solid rgba(15, 61, 46, 0.14);
  border-radius: 8px;
  background: #fff;
  color: var(--green);
  font-size: 14px;
  font-weight: 750;
}

.integration-logo {
  position: relative;
  z-index: 1;
  display: block;
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.integration-initials {
  position: absolute;
  inset: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--green-soft);
  opacity: 0;
}

.integration-icon.is-fallback .integration-logo {
  display: none;
}

.integration-icon.is-fallback .integration-initials {
  opacity: 1;
}

.integration-card-copy {
  display: grid;
  min-width: 0;
  gap: 6px;
}

.integration-kind {
  color: var(--green-mid);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.integration-card strong {
  color: var(--ink);
  font-size: 21px;
  line-height: 1.15;
}

.integration-card small {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.integration-badges {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-self: end;
  margin-top: 8px;
}

.integration-badges span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 8px;
  background: var(--paper);
  color: #445048;
  font-size: 12px;
  line-height: 1;
}

.integration-empty {
  margin: 18px 0 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
}

.license-text {
  width: 100%;
  max-width: 100%;
  max-height: 640px;
  margin: 24px 0 0;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #101413;
  color: #f5fbf7;
  padding: 22px;
  font: 13px/1.55 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  white-space: pre;
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 14px;
  }

  .top-nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .layout {
    display: block;
    padding-top: 22px;
  }

  .sidebar {
    position: static;
    display: flex;
    gap: 10px;
    overflow-x: auto;
    max-width: 100%;
    margin: 0 0 18px;
    padding: 0 0 14px;
  }

  .sidebar-label {
    display: none;
  }

  .toc-link {
    flex: 0 0 auto;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 9px 13px;
    background: #fff;
  }

  .toc-link.is-active {
    border-color: var(--green-mid);
  }

  .hero,
  .doc-section,
  .doc-section.compact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 34px;
  }

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

  .home-hero,
  .docs-library,
  .support-band,
  .my-links-hero,
  .my-create-layout,
  .integrations-hero,
  .integrations-layout,
  .integration-toolbar {
    grid-template-columns: 1fr;
  }

  .library-side,
  .integration-filters {
    position: static;
  }

  .integration-toolbar {
    top: 102px;
  }

  .category-pills {
    display: flex;
    overflow-x: auto;
    margin: 0 -18px;
    padding: 0 18px 8px;
  }

  .category-pills button {
    flex: 0 0 auto;
    width: auto;
  }

  .my-tool-panel {
    padding: 20px;
  }
}

@media (max-width: 620px) {
  .brand {
    min-width: 0;
  }

  .copy-link {
    margin-left: auto;
  }

  .hero h1 {
    font-size: 42px;
  }

  .intro-band,
  .troubleshooting {
    padding: 24px 18px;
  }

  .doc-section {
    padding: 34px 0;
  }

  .button,
  .hero-actions {
    width: 100%;
  }

  .home-hero h1 {
    font-size: 40px;
  }

  .article-row {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .row-state {
    grid-column: 2;
    justify-self: start;
  }

  .integrations-main {
    padding-top: 28px;
  }

  .integration-toolbar {
    position: static;
  }

  .results-heading {
    display: grid;
  }

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

  .license-text {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
  }
}
