: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;
}

.section-body h3 {
  margin: 22px 0 0;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.25;
}

.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;
}

.phone-shot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
  align-items: start;
}

.phone-shot-grid.single {
  grid-template-columns: minmax(180px, 280px);
}

.phone-shot {
  margin: 0;
}

.phone-shot img {
  display: block;
  width: 100%;
  max-width: 280px;
  height: auto;
  overflow: hidden;
  border: 1px solid rgba(16, 24, 20, 0.1);
  border-radius: 24px;
  background: #f7faf8;
  box-shadow: 0 18px 44px rgba(16, 24, 20, 0.16);
}

.phone-shot figcaption {
  max-width: 280px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.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;
  }
}

/* RichPear Docs redesign, 2026-07. Keep this layer last while old pages migrate. */
:root {
  --bg: #f4f5f6;
  --panel: #ffffff;
  --panel-soft: #f2f4f6;
  --field-bg: #ffffff;
  --table-head: #f8fafb;
  --row-hover: #f5fbfa;
  --ink: #1e1f22;
  --muted: #596068;
  --line: #d8dde1;
  --line-soft: #e8ecef;
  --brand-green: #0f3d2e;
  --green: #0f3d2e;
  --green-mid: #1f7a56;
  --green-soft: #eef6f1;
  --accent: #1e1f22;
  --accent-soft: #eef0f2;
  --success-soft: #eef6f1;
  --paper: #f4f5f6;
  --grey: #f2f4f6;
  --warning: #ffc107;
  --danger: #dc3545;
  --info: #0f5d7a;
  --shadow: 0 18px 48px rgba(6, 13, 22, 0.08);
  --font-ui: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Space Grotesk", Inter, ui-sans-serif, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

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

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 16px;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::selection {
  background: rgba(31, 122, 86, 0.18);
}

h1,
h2,
h3,
.brand strong,
.hero h1,
.home-hero h1,
.integrations-hero h1,
.row-index,
.feature-index,
.integrations-stats strong {
  font-family: var(--font-display);
}

code,
pre,
.license-text {
  font-family: var(--font-mono);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

code {
  border-color: var(--line);
  border-radius: 5px;
  background: var(--panel);
  color: var(--brand-green);
}

pre,
.license-text {
  border-radius: 8px;
  background: #0f1419;
  color: #eef2f4;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 66px;
  padding: 0 clamp(16px, 4vw, 40px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
}

.brand {
  flex: 0 0 auto;
  min-width: 190px;
  gap: 11px;
}

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

.brand strong {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0;
}

.brand small {
  color: var(--green-mid);
  font-size: 10px;
  letter-spacing: 0.14em;
}

.top-nav {
  gap: 4px;
  margin-left: auto;
  font-size: 14px;
}

.top-nav a {
  border-radius: 8px;
  padding: 8px 11px;
  color: var(--muted);
  font-weight: 650;
  text-decoration: none;
}

.top-nav a:hover {
  background: var(--panel-soft);
  color: var(--ink);
}

.header-search {
  position: relative;
  display: flex;
  align-items: center;
  flex: 0 1 270px;
  min-width: 190px;
}

.header-search svg {
  position: absolute;
  left: 11px;
  width: 15px;
  height: 15px;
  stroke: var(--muted);
  stroke-width: 2;
  stroke-linecap: round;
  pointer-events: none;
}

.header-search input {
  width: 100%;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--field-bg);
  color: var(--ink);
  padding: 0 12px 0 34px;
  font: inherit;
  font-size: 13px;
  outline: none;
}

.header-search input:focus,
.integration-search input:focus,
.field input:focus,
.field select:focus,
.home-search input:focus {
  border-color: var(--green-mid);
  box-shadow: 0 0 0 3px rgba(31, 122, 86, 0.14);
}

.button,
.copy-link,
.lightbox-close {
  min-height: 38px;
  border-radius: 8px;
  border-color: var(--brand-green);
  background: var(--brand-green);
  color: #fff;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 750;
  line-height: 1;
}

.button.secondary,
.copy-link.secondary {
  border-color: var(--line);
  background: var(--panel);
  color: var(--brand-green);
}

.button:hover,
.copy-link:hover {
  transform: translateY(-1px);
}

.home-page {
  background: var(--bg);
}

.home-main {
  width: 100%;
  padding: 0 0 78px;
}

.home-hero {
  position: relative;
  width: 100%;
  min-height: min(560px, calc(100vh - 136px));
  grid-template-columns: minmax(0, 1fr) minmax(300px, 430px);
  gap: clamp(28px, 6vw, 88px);
  align-items: center;
  padding: clamp(48px, 7vw, 88px) clamp(16px, 4vw, 40px) clamp(52px, 7vw, 80px);
  border: 0;
  background:
    radial-gradient(120% 120% at 82% -10%, rgba(88, 201, 142, 0.3), transparent 55%),
    var(--brand-green);
  color: #fff;
}

.home-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.16);
}

.home-hero-copy,
.home-feature {
  position: relative;
  z-index: 1;
}

.home-hero .section-kicker {
  color: rgba(255, 255, 255, 0.74);
}

.home-hero h1 {
  max-width: 16ch;
  color: #fff;
  font-size: clamp(38px, 6.2vw, 74px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.02;
}

.home-hero .lead {
  max-width: 60ch;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(16px, 1.6vw, 19px);
}

.home-search {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 640px;
  margin-top: 28px;
  border-radius: 8px;
  background: #fff;
  padding: 8px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22);
}

.home-search input {
  flex: 1 1 auto;
  min-width: 0;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--ink);
  padding: 0 8px;
  font: inherit;
  font-size: 16px;
  outline: none;
}

.home-search button {
  flex: 0 0 auto;
  height: 44px;
  border: 0;
  border-radius: 8px;
  background: var(--brand-green);
  color: #fff;
  padding: 0 20px;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.home-hero .hero-actions {
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}

.home-hero .button.primary {
  border-color: #fff;
  background: #fff;
  color: var(--brand-green);
}

.home-hero .button.secondary {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.home-feature {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  box-shadow: none;
}

.home-feature code {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.home-feature p {
  color: rgba(255, 255, 255, 0.82);
}

.not-found-hero {
  min-height: min(620px, calc(100vh - 118px));
}

.feature-label {
  color: rgba(255, 255, 255, 0.7);
}

.feature-link {
  border-color: rgba(255, 255, 255, 0.24);
  background: #fff;
}

.feature-link strong {
  color: var(--ink);
}

.feature-link small {
  color: var(--muted);
}

.feature-index,
.row-index {
  color: color-mix(in srgb, var(--brand-green) 44%, var(--line));
  letter-spacing: 0;
}

.docs-library,
.catalog-promo,
.support-band {
  width: min(1240px, calc(100% - 32px));
  margin-inline: auto;
}

.docs-library {
  grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 58px);
  padding-top: clamp(34px, 5vw, 60px);
}

.library-side {
  top: 94px;
}

.library-side h2,
.support-band h2,
.catalog-promo h2,
.intro-band h2,
.doc-section h2,
.troubleshooting h2,
.results-heading h2 {
  font-family: var(--font-display);
  font-weight: 650;
  letter-spacing: 0;
}

.library-nav a,
.library-nav span {
  min-height: 38px;
  border-radius: 8px;
  padding: 0 13px;
}

.article-row,
.feature-link {
  border-color: var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 1px 2px rgba(17, 24, 39, 0.03);
}

.article-row:hover,
.feature-link:hover,
.supported-card:hover,
.integration-card:hover {
  border-color: rgba(31, 122, 86, 0.45);
}

.row-label,
.section-kicker,
.sidebar-label,
.integration-kind {
  color: var(--green-mid);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.row-copy strong {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 650;
}

.row-state {
  border-color: var(--line);
  border-radius: 8px;
  color: var(--brand-green);
}

.catalog-promo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: clamp(32px, 5vw, 64px);
  padding: clamp(28px, 4vw, 44px);
  border-radius: 8px;
  background:
    linear-gradient(135deg, var(--brand-green), color-mix(in srgb, var(--brand-green) 70%, #000));
  color: #fff;
}

.catalog-promo .section-kicker,
.catalog-promo p {
  color: rgba(255, 255, 255, 0.76);
}

.catalog-promo h2 {
  max-width: 14ch;
  margin: 0;
  color: #fff;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 0.98;
}

.catalog-promo p {
  max-width: 64ch;
  margin: 14px 0 0;
  line-height: 1.6;
}

.catalog-promo .button {
  flex: 0 0 auto;
  border-color: #fff;
  background: #fff;
  color: var(--brand-green);
}

.support-band {
  margin-top: clamp(34px, 5vw, 64px);
  border-radius: 8px;
}

.layout {
  width: min(1280px, 100%);
  grid-template-columns: minmax(190px, 245px) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 68px);
  padding: 40px clamp(18px, 4vw, 52px) 78px;
}

.sidebar {
  top: 96px;
}

.toc-link {
  border-left-color: transparent;
  border-radius: 0 8px 8px 0;
  color: var(--muted);
}

.toc-link:hover {
  background: var(--panel-soft);
}

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

.hero {
  min-height: min(560px, calc(100vh - 120px));
  border-bottom-color: var(--line);
}

.hero h1 {
  color: var(--ink);
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.04;
}

.lead {
  color: #3f4640;
  font-size: clamp(17px, 1.8vw, 22px);
}

.summary-panel,
.intro-band,
.troubleshooting,
.principle-panel,
.finish-panel,
.my-tool-panel,
.supported-card,
.audit-summary div,
.audit-scroll,
.integration-empty {
  border-radius: 8px;
  border-color: var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.doc-section {
  border-top-color: var(--line);
}

.step-number {
  border-radius: 8px;
  background: var(--success-soft, #eef6f1);
  color: var(--brand-green);
}

.check-grid,
.screenshot button,
.phone-shot img,
details,
.lightbox img {
  border-radius: 8px;
}

.note {
  border-left-color: var(--green-mid);
  background: var(--success-soft, #eef6f1);
  color: #244c38;
}

.finish-panel {
  background:
    linear-gradient(135deg, rgba(15, 61, 46, 0.96), rgba(31, 122, 86, 0.9)),
    var(--brand-green);
}

.my-links-main,
.integrations-main,
.audit-main {
  width: min(1280px, 100%);
  padding-inline: clamp(18px, 4vw, 52px);
}

.my-links-hero,
.integrations-hero {
  border-bottom-color: var(--line);
}

.my-links-hero h1,
.integrations-hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.04;
}

.field span,
.integration-search span {
  letter-spacing: 0.1em;
}

.field input,
.field select,
.integration-search input {
  border-radius: 8px;
  background: var(--field-bg);
}

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

.integrations-main {
  padding-top: clamp(24px, 3vw, 42px);
}

.integrations-hero {
  padding-top: clamp(18px, 3vw, 42px);
}

.integrations-hero h1 {
  font-size: clamp(34px, 5vw, 58px);
}

.integrations-stats {
  border-radius: 8px;
  background: var(--panel);
}

.integrations-stats strong {
  color: var(--brand-green);
}

.integration-toolbar {
  top: 66px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  border-bottom: 1px solid var(--line-soft);
  background: rgba(244, 245, 246, 0.92);
}

.integration-tabs button,
.category-pills button {
  min-height: 40px;
  border-radius: 8px;
  background: var(--panel);
  color: var(--muted);
  line-height: 1;
}

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

.integrations-layout {
  grid-template-columns: minmax(220px, 285px) minmax(0, 1fr);
}

.integration-filters {
  top: 156px;
  max-height: calc(100vh - 180px);
  padding: 0 8px 8px 0;
}

.category-pills {
  gap: 10px;
}

.category-pills button {
  align-items: center;
  min-height: 42px;
  padding: 0 13px;
  font-size: 14px;
}

.category-pills span {
  font-variant-numeric: tabular-nums;
}

.results-heading {
  align-items: center;
}

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

.integration-card {
  min-height: 176px;
  border-color: var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 1px 2px rgba(17, 24, 39, 0.03);
}

.integration-icon {
  border-radius: 8px;
  background: var(--panel-soft);
}

.integration-card strong {
  font-family: var(--font-display);
  font-weight: 650;
}

.integration-badges span {
  border-radius: 8px;
  background: var(--panel-soft);
}

.audit-scroll {
  box-shadow: none;
}

.audit-table {
  font-variant-numeric: tabular-nums;
}

.audit-table th {
  background: var(--table-head);
  color: var(--brand-green);
}

.my-tool-panel {
  box-shadow: var(--shadow);
}

.supported-card {
  box-shadow: 0 1px 2px rgba(17, 24, 39, 0.03);
}

.toast {
  border-radius: 8px;
}

@media (max-width: 1120px) {
  .header-search {
    display: none;
  }

  .brand {
    min-width: 170px;
  }
}

@media (max-width: 980px) {
  .site-header {
    align-items: center;
    min-height: auto;
    padding-block: 12px;
  }

  .top-nav {
    order: 3;
    margin-left: 0;
  }

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

  .home-hero {
    min-height: auto;
  }

  .layout {
    display: block;
  }

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

  .toc-link {
    flex: 0 0 auto;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel);
  }

  .integration-toolbar {
    position: static;
  }

  .integration-filters {
    position: static;
    max-height: none;
    padding: 0;
  }

  .category-pills {
    display: flex;
    overflow-x: auto;
    margin: 0 calc(clamp(18px, 4vw, 52px) * -1);
    padding: 0 clamp(18px, 4vw, 52px) 8px;
  }

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

@media (max-width: 620px) {
  .site-header {
    gap: 10px;
  }

  .brand img {
    width: 34px;
    height: 34px;
  }

  .brand strong {
    font-size: 18px;
  }

  .top-nav {
    font-size: 13px;
  }

  .top-nav a {
    white-space: nowrap;
  }

  .header-action {
    margin-left: auto;
    width: auto;
    min-width: 84px;
  }

  .home-hero {
    padding: 42px 18px 52px;
  }

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

  .home-search {
    display: grid;
    padding: 8px;
  }

  .home-search button,
  .home-search input {
    width: 100%;
  }

  .docs-library,
  .catalog-promo,
  .support-band {
    width: calc(100% - 32px);
  }

  .catalog-promo {
    display: grid;
  }

  .catalog-promo h2 {
    font-size: 38px;
  }

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

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

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

/* Reference-aligned docs shell from the supplied RichPear design. */
:root {
  --font-ui: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Space Grotesk", "Instrument Sans", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.site-header {
  height: 66px;
  min-height: 66px;
  gap: 20px;
  padding: 0 clamp(16px, 4vw, 40px);
  background: color-mix(in srgb, #ffffff 92%, transparent);
}

.brand {
  min-width: auto;
  gap: 11px;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: transparent;
  color: #fff;
  overflow: hidden;
}
.brand-mark img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: inherit;
}

.brand strong {
  font-size: 17px;
  letter-spacing: -0.01em;
  line-height: 1;
}

.brand small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1;
}

.top-nav {
  gap: 4px;
  margin-left: 8px;
}

.top-nav a {
  padding: 8px 11px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
}

.header-search {
  flex: 0 0 min(260px, 28vw);
  min-width: 190px;
  margin-left: auto;
}

.header-search input {
  border-radius: 9px;
}

.theme-toggle {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--field-bg);
  color: var(--ink);
  cursor: pointer;
}

.theme-toggle:hover {
  border-color: color-mix(in srgb, var(--brand-green) 50%, var(--line));
  color: var(--brand-green);
}

.header-action {
  height: 38px;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 700;
}

.home-main {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 0 78px;
}

.home-hero {
  display: block;
  min-height: auto;
  overflow: hidden;
  padding: clamp(48px, 7vw, 88px) clamp(16px, 4vw, 40px) clamp(56px, 7vw, 85px);
  background: var(--brand-green);
  color: #fff;
}

.home-hero::after {
  content: none;
}

.home-hero-copy {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.home-hero .section-kicker {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.home-hero h1 {
  max-width: 16ch;
  margin: 18px 0 0;
  color: #fff;
  font-size: clamp(38px, 6.2vw, 74px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.02;
}

.home-hero .lead {
  max-width: 60ch;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.55;
}

.home-search {
  max-width: 640px;
  margin-top: 30px;
  border-radius: 14px;
  padding: 8px 8px 8px 16px;
}

.home-search svg {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  stroke: var(--muted);
  stroke-width: 2;
  stroke-linecap: round;
}

.home-search input {
  padding: 0;
}

.home-search button {
  border-radius: 10px;
  font-weight: 700;
}

.home-hero .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
}

.home-hero .button {
  height: 44px;
  min-height: 44px;
  border-radius: 10px;
  padding: 0 20px;
  font-size: 14px;
  font-weight: 700;
}

.hero-local-url {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  border: 1px dashed rgba(255, 255, 255, 0.32);
  border-radius: 8px;
  padding: 0 12px;
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--font-mono);
  font-size: 13px;
}

.hero-local-url svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.hero-local-url code {
  border: 0;
  background: transparent;
  color: inherit;
  padding: 0;
  font: inherit;
}

.home-start-card,
.docs-library,
.catalog-promo,
.support-band {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

.home-start-card {
  margin-top: clamp(40px, 5vw, 64px);
}

.home-featured-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  padding: clamp(22px, 3vw, 32px);
  color: inherit;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.home-featured-card:hover,
.guide-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--brand-green) 45%, var(--line));
  box-shadow: var(--shadow);
}

.featured-index {
  color: color-mix(in srgb, var(--brand-green) 40%, var(--line));
  font-family: var(--font-display);
  font-size: clamp(46px, 7vw, 74px);
  font-weight: 700;
  line-height: 0.9;
}

.featured-copy {
  display: grid;
  min-width: 0;
  gap: 7px;
}

.featured-kicker {
  color: var(--brand-green);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.featured-copy strong {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.featured-copy small {
  max-width: 70ch;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.featured-arrow {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--success-soft);
  color: var(--brand-green);
}

.featured-arrow svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.docs-library {
  display: block;
  padding-top: clamp(34px, 4vw, 52px);
}

.library-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.library-heading h2,
.guide-heading h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.12;
}

.library-heading a {
  color: var(--brand-green);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.topic-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.topic-chips a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  color: var(--ink);
  padding: 0 15px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 150ms ease, color 150ms ease;
}

.topic-chips a:hover,
.topic-chips a.is-active {
  border-color: color-mix(in srgb, var(--brand-green) 55%, var(--line));
  color: var(--brand-green);
}

.guide-heading {
  margin-top: clamp(40px, 5vw, 60px);
}

.guide-heading p {
  margin: 6px 0 22px;
  color: var(--muted);
  font-size: 15px;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(288px, 1fr));
  gap: 14px;
}

.guide-card {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  color: inherit;
  padding: 22px;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.guide-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.guide-index {
  color: color-mix(in srgb, var(--brand-green) 42%, var(--line));
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
}

.guide-label {
  border-radius: 999px;
  background: var(--success-soft);
  color: var(--brand-green);
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.guide-card strong {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

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

@media (max-width: 900px) {
  .site-header {
    flex-wrap: nowrap;
  }

  .top-nav,
  .header-search {
    display: none;
  }

  .theme-toggle {
    margin-left: auto;
  }

  .header-action {
    margin-left: 0;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding-inline: 16px;
  }

  .brand strong {
    font-size: 17px;
  }

  .home-search {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    padding: 10px 12px;
  }

  .home-search button {
    grid-column: 1 / -1;
    width: 100%;
    padding: 0 14px;
  }

  .home-search input {
    width: 100%;
    min-width: 0;
    height: 38px;
  }

  .home-featured-card {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .featured-arrow {
    display: none;
  }

  .topic-chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    margin-inline: -16px;
    padding: 0 16px 6px;
  }

  .topic-chips a {
    flex: 0 0 auto;
  }

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

/* Reference-aligned inner pages and documentation catalog. */
body:not(.home-page),
body.integrations-page,
body.my-links-page {
  background: var(--bg);
}

body:not(.home-page) .layout,
.my-links-main,
.integrations-main {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: clamp(28px, 4vw, 44px) clamp(16px, 4vw, 40px) 76px;
}

body:not(.home-page) .layout {
  grid-template-columns: minmax(184px, 226px) minmax(0, 1fr);
  gap: clamp(30px, 5vw, 64px);
}

body:not(.home-page) .sidebar {
  top: 90px;
  gap: 2px;
  padding-top: 4px;
}

body:not(.home-page) .sidebar-label {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

body:not(.home-page) .toc-link {
  min-height: 32px;
  border-left: 2px solid var(--line);
  border-radius: 0;
  padding: 7px 0 7px 14px;
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

body:not(.home-page) .toc-link:hover,
body:not(.home-page) .toc-link.is-active {
  border-color: var(--brand-green);
  background: transparent;
  color: var(--brand-green);
}

body:not(.home-page) .toc-link.is-active {
  font-weight: 700;
}

body:not(.home-page) .doc {
  gap: 0;
}

/* Permanent legal pages rendered from the Astro source. */
.legal-layout {
  align-items: start;
}

.legal-document {
  min-width: 0;
}

.legal-document > *,
.legal-hero > *,
.legal-markdown > *,
.legal-content {
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.legal-hero {
  margin-bottom: 24px;
}

.legal-markdown {
  display: block;
}

.legal-content {
  max-width: 880px;
}

.legal-content > :first-child {
  margin-top: 0;
}

.legal-content h2 {
  margin: 42px 0 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border, #dce4e0);
}

.legal-content h3 {
  margin: 28px 0 10px;
}

.legal-content p,
.legal-content li {
  line-height: 1.72;
}

.legal-content ul,
.legal-content ol {
  padding-left: 1.35rem;
}

.legal-content li + li {
  margin-top: 0.45rem;
}

.legal-content table {
  width: 100%;
  max-width: 100%;
  margin: 22px 0;
  border-collapse: collapse;
  font-size: 0.94rem;
}

.legal-content th,
.legal-content td {
  padding: 12px 14px;
  border: 1px solid var(--border, #dce4e0);
  text-align: left;
  vertical-align: top;
}

.legal-content th {
  background: var(--table-head, #f5f8f6);
  font-weight: 700;
}

.legal-content blockquote {
  margin: 22px 0;
  padding: 16px 18px;
  border-left: 4px solid var(--accent, #79ad36);
  border-radius: 0 12px 12px 0;
  background: color-mix(in srgb, var(--accent, #79ad36) 8%, white);
}

@media (max-width: 760px) {
  .legal-content table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .legal-content h2 {
    margin-top: 32px;
  }
}

body:not(.home-page) .hero,
.my-links-hero,
.integrations-hero {
  min-height: auto;
  border-bottom: 0;
  padding: clamp(22px, 4vw, 38px) 0 clamp(30px, 4vw, 44px);
}

body:not(.home-page) .hero {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: clamp(22px, 4vw, 42px);
  align-items: center;
}

body:not(.home-page) .hero h1,
.my-links-hero h1,
.integrations-hero h1 {
  max-width: 12.5em;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(32px, 4.8vw, 54px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.04;
}

body:not(.home-page) .hero .lead,
.my-links-hero .lead,
.integrations-hero .lead {
  max-width: 66ch;
  margin-top: 16px;
  color: var(--muted);
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.58;
}

body:not(.home-page) .section-kicker,
.my-links-page .section-kicker,
.integrations-page .section-kicker {
  color: var(--brand-green);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

body:not(.home-page) .summary-panel,
body:not(.home-page) .intro-band,
body:not(.home-page) .troubleshooting,
body:not(.home-page) .principle-panel,
body:not(.home-page) .finish-panel,
.my-tool-panel,
.supported-card,
.integration-card,
.integrations-stats,
.integration-empty {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  box-shadow: none;
}

body:not(.home-page) .summary-panel {
  align-self: center;
}

body:not(.home-page) .summary-panel div {
  padding: 18px 20px;
}

body:not(.home-page) .summary-panel dt {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.08em;
}

body:not(.home-page) .summary-panel dd {
  font-size: 15px;
}

body:not(.home-page) .intro-band,
body:not(.home-page) .troubleshooting {
  padding: clamp(24px, 4vw, 36px);
}

body:not(.home-page) .doc-section {
  grid-template-columns: minmax(210px, 0.72fr) minmax(0, 1.18fr);
  gap: clamp(24px, 4vw, 50px);
  padding: clamp(30px, 4vw, 46px) 0;
  border-top: 1px solid var(--line);
}

body:not(.home-page) .doc-section.compact {
  grid-template-columns: minmax(210px, 0.78fr) minmax(0, 1fr);
}

@media (min-width: 1280px) {
  body:not(.home-page) .layout:has(.sidebar) {
    width: min(1680px, 100%);
    grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
    gap: clamp(36px, 4vw, 78px);
    padding-inline: clamp(24px, 3vw, 56px);
  }

  body:not(.home-page) .layout:has(.sidebar) .doc-section {
    grid-template-columns: minmax(460px, 0.9fr) minmax(320px, 0.72fr);
    gap: clamp(32px, 4vw, 62px);
  }

  body:not(.home-page) .layout:has(.sidebar) .section-body {
    width: 100%;
    max-width: 72ch;
    justify-self: start;
  }
}

body:not(.home-page) .doc-section h2,
body:not(.home-page) .intro-band h2,
body:not(.home-page) .troubleshooting h2,
.supported-section h2,
.results-heading h2 {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.8vw, 30px);
  font-weight: 650;
  letter-spacing: -0.01em;
  line-height: 1.14;
}

body:not(.home-page) .doc-section p,
body:not(.home-page) .troubleshooting p,
body:not(.home-page) .principle-panel p,
body:not(.home-page) .finish-panel p,
.supported-card p,
.supported-card small,
.supported-card a {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.62;
}

body:not(.home-page) .section-body h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 650;
}

body:not(.home-page) .step-number {
  width: 32px;
  height: 32px;
  margin-bottom: 14px;
  border-color: color-mix(in srgb, var(--brand-green) 24%, var(--line));
  border-radius: 50%;
  background: var(--success-soft);
  color: var(--brand-green);
  font-size: 12px;
}

body:not(.home-page) .clean-list {
  color: var(--muted);
  font-size: 15px;
}

body:not(.home-page) .note {
  border-left: 0;
  border-radius: 12px;
  background: var(--success-soft);
  color: #244c38;
}

body:not(.home-page) details,
body:not(.home-page) .screenshot button,
body:not(.home-page) .lightbox img,
body:not(.home-page) pre,
body:not(.home-page) .license-text,
.field input,
.field select,
.integration-search input {
  border-radius: 12px;
}

.button,
.copy-link,
.lightbox-close {
  border-radius: 10px;
}

.integrations-page {
  background: var(--bg);
}

.integrations-main {
  width: min(1240px, 100%);
}

.integrations-hero {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
  gap: clamp(22px, 4vw, 42px);
  align-items: end;
}

.integrations-hero h1 {
  max-width: 14ch;
}

.integrations-stats {
  display: grid;
  grid-template-columns: 1fr;
  overflow: hidden;
}

.integrations-stats div {
  padding: 18px 20px;
}

.integrations-stats strong {
  color: var(--brand-green);
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
}

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

.integration-toolbar {
  top: 66px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 18px;
  margin-inline: -2px;
  padding: 16px 2px;
  border-bottom: 1px solid var(--line-soft);
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(14px);
}

.integration-tabs {
  gap: 8px;
}

.integration-tabs button,
.category-pills button {
  border-radius: 10px;
  font-weight: 650;
}

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

.integrations-layout {
  grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 42px);
  padding-top: 22px;
}

.integration-filters {
  top: 150px;
  max-height: calc(100vh - 176px);
  padding-right: 8px;
}

.category-pills {
  gap: 9px;
}

.category-pills button {
  min-height: 44px;
  padding: 0 14px;
  background: var(--panel);
  color: var(--muted);
  line-height: 1;
}

.category-pills button > :first-child {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.category-pills span {
  color: inherit;
  font-variant-numeric: tabular-nums;
}

.results-heading {
  align-items: center;
  margin-bottom: 16px;
}

.results-heading h2 {
  font-size: clamp(24px, 3vw, 34px);
}

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

.integration-card {
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  min-height: 156px;
  padding: 16px;
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.integration-card:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--brand-green) 42%, var(--line));
  box-shadow: 0 16px 34px rgba(6, 13, 22, 0.08);
}

.integration-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--success-soft);
}

.integration-logo {
  width: 30px;
  height: 30px;
}

.integration-kind {
  color: var(--brand-green);
  font-size: 10px;
  letter-spacing: 0.1em;
}

.integration-card strong {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 650;
  line-height: 1.18;
}

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

.integration-badges span {
  border-radius: 999px;
  background: var(--panel-soft);
  color: var(--muted);
}

.my-links-page {
  background: var(--bg);
}

.my-links-main {
  width: min(1180px, 100%);
}

.my-links-hero {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 410px);
  gap: clamp(24px, 4vw, 46px);
  align-items: center;
}

.my-links-hero.compact {
  max-width: 780px;
}

.my-tool-panel {
  gap: 16px;
  padding: clamp(20px, 3vw, 26px);
}

.field span,
.integration-search span {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.09em;
}

.field input,
.field select,
.integration-search input {
  min-height: 44px;
}

.preview-line code {
  display: inline-block;
  max-width: 100%;
  overflow-wrap: anywhere;
  white-space: normal;
  vertical-align: bottom;
}

.supported-grid {
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.supported-card {
  min-height: 176px;
  padding: 18px;
}

.supported-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 650;
}

.not-found-page .home-main {
  padding-bottom: 0;
}

.not-found-page .home-hero {
  min-height: calc(100vh - 66px);
  display: block;
}

.not-found-page .home-hero h1 {
  max-width: 14ch;
}

@media (max-width: 980px) {
  body:not(.home-page) .layout,
  .my-links-main,
  .integrations-main {
    padding-top: 24px;
  }

  body:not(.home-page) .layout {
    display: block;
  }

  body:not(.home-page) .sidebar {
    position: static;
    display: flex;
    gap: 10px;
    overflow-x: auto;
    margin: 0 0 18px;
    padding: 0 0 12px;
  }

  body:not(.home-page) .sidebar-label {
    display: none;
  }

  body:not(.home-page) .toc-link {
    flex: 0 0 auto;
    min-height: 38px;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0 14px;
    background: var(--panel);
  }

  body:not(.home-page) .toc-link.is-active {
    background: var(--brand-green);
    color: #fff;
  }

  body:not(.home-page) .hero,
  body:not(.home-page) .doc-section,
  body:not(.home-page) .doc-section.compact,
  .my-links-hero,
  .my-create-layout,
  .integrations-hero,
  .integrations-layout,
  .integration-toolbar {
    grid-template-columns: 1fr;
  }

  .integration-toolbar,
  .integration-filters {
    position: static;
  }

  .integration-filters {
    max-height: none;
    padding-right: 0;
  }

  .category-pills {
    display: flex;
    overflow-x: auto;
    margin-inline: calc(clamp(16px, 4vw, 40px) * -1);
    padding: 0 clamp(16px, 4vw, 40px) 8px;
  }

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

@media (max-width: 620px) {
  body:not(.home-page) .hero h1,
  .my-links-hero h1,
  .integrations-hero h1 {
    font-size: 38px;
  }

  body:not(.home-page) .doc-section {
    padding: 32px 0;
  }

  body:not(.home-page) .intro-band,
  body:not(.home-page) .troubleshooting,
  .my-tool-panel {
    padding: 20px;
  }

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

  .my-links-hero {
    padding-bottom: 24px;
  }
}
