@font-face {
  font-family: "Instrument Sans";
  src: url("fonts/instrument-sans.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
}

@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
}

:root {
  --paper: #f5f5f2;
  --white: #ffffff;
  --ink: #0a0a0a;
  --muted: #666661;
  --line: #d7d7d2;
  --line-strong: #171717;
  --soft: #e9e9e5;
  --teal: #0d8077;
  --blue: #2c64d4;
  --violet: #7b3fb5;
  --orange: #e0631a;
  --red: #d4182c;
  --yellow: #d9a400;
  --max: 1240px;
  --copy: 700px;
  --sans: "Instrument Sans", Inter, ui-sans-serif, system-ui, sans-serif;
  --display: "Archivo", "Arial Narrow", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
}
body::selection {
  background: var(--ink);
  color: var(--white);
}
a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
a:hover {
  text-decoration-thickness: 2px;
}
button,
input {
  font: inherit;
}
button {
  cursor: pointer;
}
img {
  max-width: 100%;
  display: block;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 28px;
  border-bottom: 1px solid var(--ink);
  background: rgba(245, 245, 242, 0.94);
  backdrop-filter: blur(16px);
}
.site-header.dark {
  border-bottom-color: #4c4c49;
  background: rgba(10, 10, 10, 0.94);
  color: var(--white);
}
.site-header.dark .brand img {
  filter: invert(1);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand img {
  width: 130px;
  height: auto;
}
.brand-mark {
  width: 30px;
  height: 30px;
  object-fit: contain;
}
.brand-divider {
  width: 1px;
  height: 26px;
  background: currentColor;
  opacity: 0.2;
}
.brand-context {
  color: var(--muted);
  font-size: 13px;
}
.dark .brand-context {
  color: #9a9a96;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 25px;
}
.main-nav a {
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}
.main-nav a:hover,
.main-nav a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 7px;
}
.nav-button {
  display: none;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  padding: 7px 10px;
}

.wrap {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
}
.narrow {
  width: min(calc(100% - 48px), var(--copy));
  margin: 0 auto;
}

.hero {
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
  border-bottom: 1px solid var(--ink);
}
.eyebrow,
.kicker {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.13em;
  line-height: 1.25;
  text-transform: uppercase;
}
.hero .eyebrow {
  color: #b6b6b1;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--display);
  font-weight: 780;
  letter-spacing: -0.045em;
  line-height: 0.96;
}
h1 {
  font-size: clamp(58px, 8.4vw, 124px);
  max-width: 890px;
}
h2 {
  font-size: clamp(40px, 5vw, 76px);
}
h3 {
  font-size: 28px;
  line-height: 1;
}
h4 {
  font-size: 20px;
  line-height: 1.1;
}

.hero-copy {
  max-width: 700px;
  margin-top: 30px;
  color: #d2d2ce;
  font-size: clamp(19px, 2vw, 25px);
  line-height: 1.32;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 38px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--white);
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}
.button:hover {
  background: #30302f;
  color: var(--white);
  text-decoration: none;
}
.button.light {
  border-color: var(--white);
  background: var(--white);
  color: var(--ink);
}
.button.light:hover {
  background: #dfdfdc;
}
.button.outline {
  background: transparent;
  color: inherit;
}
.button.outline:hover {
  background: var(--soft);
  color: var(--ink);
}
.button.small {
  min-height: 38px;
  padding: 0 13px;
  font-size: 13px;
}

.rule-strip {
  border-bottom: 1px solid var(--ink);
  background: var(--white);
}
.strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.strip-grid > div {
  min-height: 86px;
  padding: 22px 24px;
  border-left: 1px solid var(--line);
  font-size: 13px;
  font-weight: 700;
}
.strip-grid > div:first-child {
  border-left: 0;
}
.strip-grid span {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.section {
  padding: 96px 0;
}
.section.compact {
  padding: 68px 0;
}
.section.dark-section {
  background: var(--ink);
  color: var(--white);
}
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 36px;
}
.section-head > p {
  max-width: 390px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}
.dark-section .section-head > p {
  color: #aaa;
}

.site-footer {
  padding: 34px 0 50px;
  border-top: 1px solid var(--ink);
}
.footer-row {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 28px;
}
.footer-note {
  max-width: 390px;
  color: var(--muted);
  font-size: 13px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  font-size: 13px;
  font-weight: 700;
}
.github-link { display: inline-flex; align-items: center; gap: 7px; }
.github-link svg { width: 14px; height: 14px; flex: 0 0 auto; }
.legal {
  margin-top: 58px;
  color: var(--muted);
  font-size: 12px;
}

/* Landing page direction: candid, editorial, and screenshot-led. */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 560ms ease,
    transform 560ms ease;
}
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}
.js .reveal-delay-1 {
  transition-delay: 90ms;
}
.js .reveal-delay-2 {
  transition-delay: 160ms;
}
.js .reveal-delay-3 {
  transition-delay: 230ms;
}
.hero-editorial {
  padding: 0;
}
.hero-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  gap: 80px;
  align-items: end;
  padding: 84px 0 52px;
}
.hero-statement h1 {
  max-width: 900px;
}
.hero-statement h1 span {
  color: #bfc0bb;
}
.hero-aside {
  align-self: end;
  padding: 20px 0 4px;
  border-top: 1px solid #5d5d58;
  color: #c4c4bf;
  font-size: 16px;
}
.hero-aside p {
  max-width: 310px;
  margin: 0;
}
.hero-aside .aside-label {
  margin-bottom: 16px;
  color: var(--white);
  font-family: var(--display);
  font-size: 24px;
  font-weight: 780;
  letter-spacing: -0.04em;
  line-height: 1;
}
.aside-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 14px;
  margin-top: 28px;
  color: #989894;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero-product {
  margin: 0;
  padding: 12px 12px 0;
  border: 1px solid #4f4f4a;
  border-bottom: 0;
  background: #161615;
}
.browser-bar {
  display: grid;
  grid-template-columns: repeat(3, 7px) 1fr;
  gap: 6px;
  align-items: center;
  min-height: 27px;
  color: #8b8b86;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.browser-bar span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #5a5a55;
}
.browser-bar b {
  justify-self: end;
  font-weight: 600;
}
.hero-product img {
  width: 100%;
  border: 1px solid #333330;
}
.hero-product figcaption {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 0 15px;
  color: #aaa9a4;
  font-size: 12px;
}
.hero-product figcaption span {
  color: var(--white);
  font-weight: 750;
  letter-spacing: 0.1em;
}
.honest-section {
  background: var(--white);
}
.honest-layout,
.how-layout,
.install-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 90px;
  align-items: start;
}
.honest-lead h2,
.how-layout h2,
.install-layout h2 {
  max-width: 630px;
}
.honest-lead .lede,
.how-layout .lede,
.install-layout .lede {
  margin-top: 26px;
}
.honest-list {
  border-top: 1px solid var(--ink);
}
.honest-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 8px;
  gap: 18px;
  align-items: start;
  padding: 22px 0 24px;
  border-bottom: 1px solid var(--line);
}
.honest-row > span,
.how-number {
  color: var(--muted);
  font-family: var(--display);
  font-size: 22px;
}
.honest-row h3 {
  margin-bottom: 8px;
  font-size: 24px;
}
.honest-row p {
  max-width: 450px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}
.hue {
  width: 8px;
  height: 8px;
  margin-top: 8px;
  background: var(--teal);
}
.hue.blue {
  background: var(--blue);
}
.hue.violet {
  background: var(--violet);
}
.hue.orange {
  background: var(--orange);
}
.quote-band {
  padding: 60px 0 64px;
  background: var(--red);
  color: var(--white);
}
.quote-band p {
  max-width: 940px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(38px, 5.5vw, 78px);
  font-weight: 780;
  letter-spacing: -0.05em;
  line-height: 0.95;
}
.quote-band span {
  display: block;
  margin-top: 24px;
  color: #ffd7d7;
  font-size: 16px;
}
.gallery-section {
  background: var(--ink);
  color: var(--white);
}
.gallery-section .kicker {
  color: #a7a7a2;
}
.gallery-section .section-head > p {
  color: #aaa9a4;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 14px;
}
.gallery-item {
  min-width: 0;
  margin: 0;
  padding: 12px;
  border: 1px solid #50504c;
  background: #e8e8e4;
  color: var(--ink);
  transition:
    transform 220ms ease,
    background-color 220ms ease;
}
.gallery-item:hover {
  transform: translateY(-4px);
  background: var(--white);
}
.gallery-wide {
  grid-column: span 12;
}
.gallery-board,
.gallery-list {
  grid-column: span 7;
}
.gallery-canvas,
.gallery-home {
  grid-column: span 5;
}
.gallery-image {
  overflow: hidden;
  border: 1px solid #c5c5bf;
  background: #d4d4d0;
}
.gallery-image img {
  width: 100%;
  height: auto;
}
.gallery-item figcaption {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 2px 2px;
  color: var(--muted);
  font-size: 12px;
}
.gallery-item figcaption span {
  color: var(--ink);
  white-space: nowrap;
}
.gallery-item figcaption b {
  font-weight: 750;
}
.how-section {
  background: var(--paper);
}
.how-list {
  border-top: 1px solid var(--ink);
}
.how-row {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 20px;
  padding: 24px 0 27px;
  border-bottom: 1px solid var(--line);
}
.how-row h3 {
  margin-bottom: 8px;
  font-size: 26px;
}
.how-row p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}
.install-section {
  border-top: 1px solid var(--ink);
  background: var(--white);
}
.install-code {
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--white);
}
.install-code-head {
  display: flex;
  justify-content: space-between;
  padding: 13px 16px;
  border-bottom: 1px solid #4c4c48;
  color: #a8a8a3;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.1em;
}
.install-code pre {
  margin: 0;
  border: 0;
  padding: 22px 16px 12px;
}
.install-code > p {
  margin: 0;
  padding: 0 16px 20px;
  color: #aaa9a4;
  font-size: 13px;
}
.text-link {
  display: inline-block;
  margin-top: 28px;
  font-weight: 750;
  text-decoration-thickness: 1px;
}

/* Revised landing structure: explain the product first, then the optional agent layer. */
.capabilities-section {
  background: var(--white);
}
.capability-layout,
.agent-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 90px;
  align-items: start;
}
.capability-lead h2,
.agent-lead h2 {
  max-width: 630px;
}
.capability-lead .lede,
.agent-lead .lede {
  margin-top: 26px;
}
.capability-list {
  border-top: 1px solid var(--ink);
}
.capability-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 8px;
  gap: 18px;
  align-items: start;
  padding: 22px 0 24px;
  border-bottom: 1px solid var(--line);
}
.capability-row > span {
  color: var(--muted);
  font-family: var(--display);
  font-size: 22px;
}
.capability-row h3 {
  margin-bottom: 8px;
  font-size: 24px;
}
.capability-row p {
  max-width: 470px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}
.gallery-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 14px;
  color: #a7a7a2;
  font-size: 12px;
}
.gallery-controls {
  display: flex;
  gap: 7px;
}
.gallery-controls button {
  width: 38px;
  height: 34px;
  border: 1px solid #686863;
  background: transparent;
  color: var(--white);
  font-size: 18px;
  line-height: 1;
}
.gallery-controls button:hover {
  border-color: var(--white);
  background: var(--white);
  color: var(--ink);
}
.gallery-rail {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 4px 2px 18px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-color: #656560 #1b1b1a;
  scrollbar-width: thin;
}
.gallery-rail .gallery-item {
  flex: 0 0 min(78vw, 760px);
  scroll-snap-align: start;
}
.gallery-rail .gallery-image {
  display: flex;
  align-items: center;
  aspect-ratio: 2 / 1;
}
.gallery-rail .gallery-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.gallery-rail .gallery-item figcaption {
  min-height: 42px;
}
.agent-section {
  background: var(--ink);
  color: var(--white);
}
.agent-section .kicker {
  color: #a7a7a2;
}
.agent-section .lede {
  color: #c2c2bd;
}
.agent-steps {
  border-top: 1px solid #4b4b47;
}
.agent-step {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 20px;
  padding: 24px 0 27px;
  border-bottom: 1px solid #4b4b47;
}
.agent-step > span {
  color: #a7a7a2;
  font-family: var(--display);
  font-size: 22px;
}
.agent-step h3 {
  margin-bottom: 8px;
  color: var(--white);
  font-size: 26px;
}
.agent-step p {
  margin: 0;
  color: #b9b9b4;
  font-size: 15px;
}

/* Documentation */
.docs-intro {
  min-height: calc(100vh - 72px);
  min-height: calc(100dvh - 72px);
  display: flex;
  align-items: center;
  padding: clamp(72px, 8vw, 112px) 0;
  border-bottom: 1px solid #4c4c49;
  background: #000;
  color: var(--white);
}
.docs-intro .eyebrow { color: #b6b6b1; }
.docs-intro h1 {
  max-width: 900px;
  font-size: clamp(54px, 7vw, 104px);
}
.docs-intro p {
  max-width: 690px;
  margin: 25px 0 0;
  color: #c4c4bf;
  font-size: 20px;
}
.docs-intro .tag { border-color: #5d5d58; background: transparent; color: var(--white); }
.docs-intro-map { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: clamp(58px, 8vw, 94px); }
.docs-intro-map-item { min-height: 112px; padding: 15px 18px 0 0; border-top: 3px solid var(--map-color); }
.docs-intro-map-item:not(:last-child) { margin-right: 18px; border-right: 1px solid #444; }
.docs-intro-map-item > span { display: block; color: #9d9d98; font: 600 10px/1.4 var(--sans); letter-spacing: .1em; }
.docs-intro-map-item strong { display: block; margin-top: 10px; color: var(--white); font: 730 20px/.98 var(--display); letter-spacing: -.04em; }
.docs-intro-map-item p { max-width: 220px; margin-top: 10px; color: #aeada8; font-size: 12px; line-height: 1.5; }
.intro-map-teal { --map-color: var(--teal); }
.intro-map-blue { --map-color: var(--blue); }
.intro-map-violet { --map-color: var(--violet); }
.intro-map-orange { --map-color: var(--orange); }
.docs-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 70px;
  align-items: start;
  padding: 58px 0 100px;
}
.docs-sidebar {
  position: sticky;
  top: 98px;
}
.docs-sidebar .sidebar-title {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.docs-sidebar a {
  display: block;
  padding: 7px 0;
  color: var(--muted);
  font-size: 13px;
  text-decoration: none;
}
.docs-sidebar a:hover {
  color: var(--ink);
  text-decoration: underline;
}
.docs-sidebar .sidebar-group {
  margin-top: 24px;
}
.docs-sidebar .sidebar-group:first-of-type {
  margin-top: 0;
}
.docs-content {
  min-width: 0;
}
.docs-content section {
  padding: 0 0 70px;
  margin-bottom: 70px;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 105px;
}
.docs-content section:last-child {
  border-bottom: 0;
}
.docs-content h2 {
  margin-bottom: 18px;
  font-size: clamp(38px, 4vw, 58px);
}
.docs-content h3 {
  margin: 42px 0 14px;
  font-size: 28px;
}
.docs-content h4 {
  margin: 28px 0 9px;
  font-size: 20px;
}
.docs-content p {
  max-width: var(--copy);
  margin: 0 0 15px;
  color: #3e3e3b;
}
.docs-content ul,
.docs-content ol {
  max-width: var(--copy);
  margin: 0 0 20px;
  padding-left: 23px;
  color: #3e3e3b;
}
.docs-content li {
  padding: 3px 0;
}
.docs-content strong {
  color: var(--ink);
}
.lede {
  max-width: var(--copy);
  color: var(--muted);
  font-size: 19px;
}
.doc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 28px 0;
}
.doc-card {
  padding: 20px;
  border: 1px solid var(--line);
  background: var(--white);
}
.doc-card h4 {
  margin: 0 0 8px;
  font-size: 19px;
}
.doc-card p {
  margin: 0;
  font-size: 14px;
}
.callout {
  max-width: var(--copy);
  margin: 24px 0;
  padding: 18px 20px;
  border-left: 5px solid var(--blue);
  background: var(--white);
}
.callout.warning {
  border-left-color: var(--orange);
}
.callout p {
  margin: 0;
}
.callout strong {
  display: block;
  margin-bottom: 5px;
}
pre {
  position: relative;
  max-width: var(--copy);
  overflow: auto;
  margin: 20px 0 25px;
  padding: 20px;
  border: 1px solid #30302d;
  background: #151514;
  color: #f5f5f2;
  font:
    13px/1.6 ui-monospace,
    SFMono-Regular,
    Menlo,
    Consolas,
    monospace;
}
code {
  padding: 2px 5px;
  background: var(--soft);
  font:
    13px ui-monospace,
    SFMono-Regular,
    Menlo,
    Consolas,
    monospace;
}
pre code {
  padding: 0;
  background: transparent;
  font: inherit;
}
.copy-code {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 5px 8px;
  border: 1px solid #666;
  background: transparent;
  color: #fff;
  font-size: 11px;
}
.copy-code:hover {
  background: #fff;
  color: #111;
}
.table-wrap {
  max-width: 100%;
  overflow-x: auto;
  margin: 24px 0;
}
table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  font-size: 14px;
}
th,
td {
  padding: 12px 14px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
th {
  background: var(--soft);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
td code {
  white-space: nowrap;
}
.api-table td:first-child {
  white-space: nowrap;
  font-family: ui-monospace, monospace;
  font-size: 12px;
}
.source-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 28px;
  max-width: var(--copy);
  margin: 18px 0;
  padding: 0;
  list-style: none;
}
.source-list li {
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}
.source-list a {
  font-weight: 700;
}
.muted {
  color: var(--muted);
  font-size: 13px;
}
.meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 23px 0;
}
.tag {
  display: inline-block;
  padding: 5px 8px;
  border: 1px solid var(--line-strong);
  background: var(--white);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .docs-layout {
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 38px;
  }
}

@media (max-width: 680px) {
  .site-header {
    min-height: 64px;
    padding: 0 18px;
  }
  .brand img {
    width: 106px;
  }
  .brand-context,
  .brand-divider {
    display: none;
  }
  .nav-button {
    display: inline-flex;
  }
  .main-nav {
    position: absolute;
    top: 63px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 18px 14px;
    border-bottom: 1px solid var(--ink);
    background: var(--paper);
    color: var(--ink);
  }
  .dark .main-nav {
    border-bottom-color: #4c4c49;
    background: var(--ink);
    color: var(--white);
  }
  .main-nav.is-open {
    display: flex;
  }
  .main-nav a {
    padding: 11px 0;
  }
  .wrap,
  .narrow {
    width: min(calc(100% - 36px), var(--max));
  }
  h1 {
    font-size: clamp(48px, 15vw, 80px);
  }
  .hero-copy {
    font-size: 18px;
  }
  .strip-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .strip-grid > div {
    min-height: 74px;
    padding: 17px 12px;
    border-top: 1px solid var(--line);
  }
  .strip-grid > div:nth-child(odd) {
    border-left: 0;
  }
  .section {
    padding: 68px 0;
  }
  .section-head {
    display: block;
    margin-bottom: 30px;
  }
  .section-head > p {
    margin-top: 17px;
    font-size: 15px;
  }
  .doc-grid,
  .source-list {
    grid-template-columns: 1fr;
  }
  .footer-row {
    display: block;
  }
  .footer-links {
    margin-top: 24px;
  }
  .docs-intro {
    min-height: calc(100svh - 64px);
    padding: 45px 0 22px;
  }
  .docs-intro h1 {
    font-size: clamp(49px, 14vw, 78px);
  }
  .docs-intro p {
    font-size: 17px;
  }
  .docs-intro-map { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px 14px; margin-top: 44px; }
  .docs-intro-map-item { min-height: 0; padding-right: 4px; }
  .docs-intro-map-item:not(:last-child) { margin-right: 0; border-right: 0; }
  .docs-intro-map-item strong { font-size: 18px; }
  .docs-intro-map-item p { margin-top: 8px; font-size: 12px; }
  .docs-layout {
    display: block;
    padding-top: 28px;
  }
  .docs-content {
    overflow-x: hidden;
  }
  .docs-sidebar {
    position: static;
    margin-bottom: 45px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--ink);
  }
  .docs-sidebar a {
    display: inline-block;
    margin-right: 15px;
  }
  .docs-content section {
    padding-bottom: 50px;
    margin-bottom: 50px;
  }
  .docs-content h2 {
    font-size: 42px;
  }
  .docs-content h3 {
    font-size: 25px;
  }
  .table-wrap {
    margin-right: -18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .gallery-item {
    transition: none;
  }
}

@media (max-width: 900px) {
  .hero-intro {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .honest-layout,
  .how-layout,
  .install-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media (max-width: 680px) {
  .hero-intro {
    gap: 38px;
    padding: 56px 0 38px;
  }
  .hero-aside {
    padding-top: 17px;
  }
  .hero-aside .aside-label {
    font-size: 22px;
  }
  .hero-product {
    padding: 8px 8px 0;
  }
  .browser-bar {
    min-height: 24px;
  }
  .browser-bar b {
    font-size: 9px;
  }
  .hero-product figcaption {
    display: block;
    padding: 11px 0 13px;
  }
  .hero-product figcaption span {
    display: block;
    margin-bottom: 4px;
  }
  .honest-row {
    grid-template-columns: 32px minmax(0, 1fr) 8px;
    gap: 11px;
    padding: 19px 0 21px;
  }
  .honest-row h3 {
    font-size: 21px;
  }
  .honest-row p {
    font-size: 14px;
  }
  .quote-band {
    padding: 50px 0 54px;
  }
  .quote-band span {
    font-size: 14px;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .gallery-wide,
  .gallery-board,
  .gallery-canvas,
  .gallery-home,
  .gallery-list {
    grid-column: span 1;
  }
  .gallery-item figcaption {
    display: block;
  }
  .gallery-item figcaption span {
    display: block;
    margin-bottom: 5px;
    white-space: normal;
  }
  .how-row {
    grid-template-columns: 47px minmax(0, 1fr);
    gap: 13px;
  }
  .install-code-head {
    font-size: 10px;
  }
}

@media (max-width: 900px) {
  .capability-layout,
  .agent-layout,
  .install-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media (max-width: 680px) {
  .hero-aside .aside-label {
    font-size: 22px;
  }
  .capability-row {
    grid-template-columns: 32px minmax(0, 1fr) 8px;
    gap: 11px;
    padding: 19px 0 21px;
  }
  .capability-row h3 {
    font-size: 21px;
  }
  .capability-row p {
    font-size: 14px;
  }
  .gallery-toolbar {
    display: block;
  }
  .gallery-controls {
    margin-top: 12px;
  }
  .gallery-rail {
    margin-right: -18px;
    padding-right: 18px;
  }
  .gallery-rail .gallery-item {
    flex-basis: calc(100vw - 54px);
  }
  .gallery-rail .gallery-item figcaption {
    display: block;
    min-height: 0;
  }
  .gallery-rail .gallery-item figcaption span {
    display: block;
    margin-bottom: 5px;
    white-space: normal;
  }
  .agent-step {
    grid-template-columns: 47px minmax(0, 1fr);
    gap: 13px;
  }
}
