@font-face {
  font-family: "Instrument Sans";
  src: url("assets/instrument-sans-regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("assets/instrument-sans-medium.ttf") format("truetype");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("assets/instrument-sans-semibold.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("assets/instrument-serif-italic.ttf") format("truetype");
  font-style: italic;
  font-display: swap;
}

/* Blings 2026 palette. Pink is an accent for surfaces and marks, never for
   small text: #ff5879 on white does not reach AA contrast. */
:root {
  color-scheme: light;
  --ink: #111111;
  --ink-soft: #3b3739;
  --muted: #625c60;
  --pink: #ff5879;
  --pink-soft: #fdb1d7;
  --blush: #f7e3ec;
  --lilac: #d7c3f3;
  --lime: #f2ffc9;
  --surface: #ffffff;
  --surface-tint: #fff8fb;
  --surface-muted: #f8f5f6;
  --line: rgba(17, 17, 17, 0.1);
  --line-strong: rgba(17, 17, 17, 0.18);
  --radius-card: 2rem;
  --radius-panel: 1.5rem;
  --radius-small: 1rem;
  --radius-tight: 0.65rem;
  --shell: min(1200px, calc(100% - 48px));
  --shadow-soft: 0 30px 80px -40px rgba(118, 38, 70, 0.32);
  --shadow-card:
    0 1px 0 rgba(17, 17, 17, 0.03), 0 24px 60px -36px rgba(118, 38, 70, 0.3);
  --wash-pink: radial-gradient(
    120% 90% at 85% 0%,
    rgba(253, 177, 215, 0.55),
    transparent 60%
  );
  --wash-lilac: radial-gradient(
    90% 80% at 0% 100%,
    rgba(215, 195, 243, 0.5),
    transparent 60%
  );
  --font-sans: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}
body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: -0.012em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}
button,
input,
select {
  font: inherit;
  letter-spacing: inherit;
}
button {
  color: inherit;
}
code,
pre {
  font-family: var(--font-mono);
  letter-spacing: 0;
}
:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}
/* Sections focused after an in-page link move keyboard focus, not a ring. */
main [tabindex="-1"]:focus {
  outline: none;
}
.shell {
  width: var(--shell);
  margin-inline: auto;
}
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  transform: translateY(-150%);
  border-radius: 999px;
  background: var(--ink);
  color: white;
  padding: 0.75rem 1rem;
}
.skip-link:focus {
  transform: translateY(0);
}

/* Header ---------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.78);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease;
}
.site-header-inner {
  width: var(--shell);
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.brand {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-right: auto;
  text-decoration: none;
}
.brand img {
  width: 112px;
  height: auto;
}
.brand-product {
  padding: 0.2rem 0.5rem;
  border-radius: 0.45rem;
  background: var(--blush);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.92rem;
}
.site-nav a {
  white-space: nowrap;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink-soft);
}
.site-nav a:hover {
  background: var(--blush);
  color: var(--ink);
}
.site-nav a[aria-current="page"] {
  background: var(--blush);
  color: var(--ink);
}

/* Buttons --------------------------------------------------------------- */
.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 46px;
  padding: 0.75rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 500;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 0.18s ease,
    color 0.18s ease,
    border-color 0.18s ease,
    transform 0.18s ease;
}
.nav-cta {
  flex: 0 0 auto;
  white-space: nowrap;
  min-height: 40px;
  padding: 0.55rem 1.1rem;
  font-size: 0.92rem;
}
.nav-cta,
.button-dark {
  background: var(--ink);
  color: white;
}
.nav-cta:hover,
.button-dark:hover {
  background: var(--pink);
  color: var(--ink);
}
.button-light {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
}
.button-light:hover {
  border-color: var(--ink);
  background: white;
}
.button-large {
  min-height: 54px;
  padding: 0.9rem 1.6rem;
  font-size: 1.04rem;
}
.button .arrow {
  transition: transform 0.18s ease;
}
.button:hover .arrow {
  transform: translateX(3px);
}
.text-link {
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: var(--pink);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.3em;
}
.text-link:hover {
  text-decoration-color: var(--ink);
}

/* Type ------------------------------------------------------------------ */
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  font-weight: 500;
  text-wrap: balance;
}
h1 {
  margin-bottom: 1.5rem;
  font-size: clamp(2.8rem, 6.4vw, 5.5rem);
  line-height: 0.98;
  letter-spacing: -0.042em;
}
h2 {
  letter-spacing: -0.035em;
}
/* Brand rule: the serif accent is optically enlarged (125 / 110) and used for
   at most one word per line. */
h1 em,
h2 em,
h3 em,
.accent {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.14em;
  line-height: 0.85;
  letter-spacing: -0.012em;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1.25rem;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--ink-soft);
}
.eyebrow img {
  width: 22px;
  height: 22px;
}
.signal-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 0 4px rgba(255, 88, 121, 0.18);
}
.hero-lede {
  max-width: 62ch;
  color: var(--ink-soft);
  font-size: 1.15rem;
  line-height: 1.55;
}
.section-heading {
  max-width: 760px;
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
}
.section-heading h2 {
  margin-bottom: 1rem;
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  line-height: 1.02;
}
.section-heading > p:not(.eyebrow) {
  max-width: 60ch;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.1rem;
}

/* Page band used by the guide and catalog -------------------------------- */
.page-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(2rem, 4vw, 3rem);
}
.page-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0) 50%, #fff 100%),
    url("assets/gradients/horizontal-4.webp") center -170px / max(1700px, 100%)
      auto no-repeat;
}
.page-band h1 {
  max-width: 16ch;
  margin-bottom: 1rem;
  font-size: clamp(2.6rem, 5.4vw, 4.4rem);
}

/* Setup overview --------------------------------------------------------- */
.setup-overview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0 0 2rem;
  padding: 0;
  list-style: none;
  counter-reset: overview;
}
.setup-overview li {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 0.25rem 0.85rem;
  padding: 1.1rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  background: rgba(255, 255, 255, 0.82);
}
.setup-overview li::before {
  counter-increment: overview;
  content: counter(overview);
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.65rem;
  background: linear-gradient(135deg, var(--pink-soft), var(--pink));
  color: white;
  font-size: 0.85rem;
  font-weight: 600;
}
.setup-overview strong {
  font-weight: 600;
}
.setup-overview p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

/* Assistant selector + setup panel (shared by / and /help) ---------------- */
.connect-section {
  padding-bottom: clamp(3rem, 6vw, 5rem);
}
.connect-intro {
  margin-bottom: 0;
}
.connect-intro p {
  margin-bottom: 0;
}
.setup-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.client-tabs {
  display: flex;
  gap: 0.4rem;
  padding: 0.65rem;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
  background: var(--surface-muted);
  scrollbar-width: none;
}
.client-tabs::-webkit-scrollbar {
  display: none;
}
.client-tabs button {
  flex: 1 0 auto;
  display: grid;
  justify-items: start;
  gap: 0.05rem;
  min-width: 8.5rem;
  padding: 0.7rem 1rem;
  border: 1px solid transparent;
  border-radius: 1rem;
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition:
    background-color 0.18s ease,
    border-color 0.18s ease;
}
.client-tabs button:hover {
  background: rgba(255, 255, 255, 0.7);
}
.client-tabs button span {
  font-weight: 600;
  font-size: 0.98rem;
}
.client-tabs button small {
  color: var(--muted);
  font-size: 0.78rem;
}
.client-tabs button[aria-selected="true"] {
  border-color: var(--line);
  background: white;
  box-shadow: 0 6px 20px -12px rgba(118, 38, 70, 0.45);
}
.client-tabs button[aria-selected="true"] small {
  color: var(--ink-soft);
}
.client-panel {
  padding: clamp(1.4rem, 3.5vw, 2.5rem);
}
.client-panel:focus-visible {
  outline-offset: -6px;
}
.client-intro {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 0.5rem 1.5rem;
  margin-bottom: 1.75rem;
}
.client-intro > :not(.official-link) {
  grid-column: 1;
}
.client-intro h2 {
  margin-bottom: 0.25rem;
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  line-height: 1;
}
.client-intro p {
  max-width: 60ch;
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}
.client-intro .official-link {
  grid-column: 2;
  grid-row: 1 / span 3;
  align-self: end;
}
.setup-method {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.65rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: var(--lime);
  font-size: 0.74rem;
  font-weight: 600;
}
.client-body {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 3vw, 2.75rem);
  align-items: start;
}
.client-aside {
  display: grid;
  gap: 1rem;
  min-width: 0;
}
.install-action {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  margin-bottom: 1.75rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-small);
  background: var(--wash-pink), linear-gradient(135deg, var(--blush), #fff);
}
.install-link {
  flex: 0 0 auto;
}
.install-note {
  flex: 1 1 18rem;
  max-width: 60ch;
  margin: 0;
  font-size: 0.88rem;
  color: var(--ink-soft);
}
.setup-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
}
.setup-steps li {
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 1fr);
  gap: 1rem;
  padding: 1.1rem 0;
  border-top: 1px solid var(--line);
}
.setup-steps li:first-child {
  border-top: 0;
  padding-top: 0;
}
.setup-steps > li > span {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.65rem;
  background: var(--blush);
  font-size: 0.8rem;
  font-weight: 600;
}
.setup-steps strong {
  display: block;
  margin-bottom: 0.2rem;
  font-weight: 600;
}
.setup-steps p {
  max-width: 68ch;
  margin: 0;
  color: var(--muted);
}
.copy-stack {
  display: grid;
  gap: 0.5rem;
  margin: 0.9rem 0 0;
}
.step-copy-stack {
  max-width: 720px;
}
.copy-item {
  padding: 0.7rem 0.75rem 0.7rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-tight);
  background: var(--surface-muted);
}
.copy-label {
  margin: 0 0 0.3rem;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 600;
}
.copy-value {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.copy-value pre {
  min-width: 0;
  flex: 1;
  margin: 0;
  overflow-x: auto;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.copy-value code {
  font-size: 0.82rem;
  color: var(--ink);
}
.copy-button {
  flex: 0 0 auto;
  min-width: 64px;
  padding: 0.45rem 0.8rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: white;
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 600;
}
.copy-button:hover {
  border-color: var(--pink);
  background: var(--pink);
  color: var(--ink);
}
.official-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
}
.connection-check {
  padding: 1.25rem;
  border-radius: var(--radius-panel);
  background: var(--wash-lilac), linear-gradient(160deg, #fff, var(--blush));
  border: 1px solid rgba(255, 88, 121, 0.14);
}
.connection-check h3 {
  margin-bottom: 0.35rem;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.connection-check > p {
  margin: 0.75rem 0 0;
  font-size: 0.86rem;
  color: var(--ink-soft);
}
.connection-check .copy-item {
  background: rgba(255, 255, 255, 0.85);
}
.connection-check pre {
  white-space: pre-wrap;
}
.connection-check code {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  letter-spacing: -0.01em;
}
.setup-reference {
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  background: white;
}
.setup-reference summary {
  padding: 0.85rem 1rem;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
}
.setup-reference .setup-screenshots {
  padding: 0 1rem 1rem;
}
.setup-screenshots {
  display: grid;
  gap: 0.85rem;
}
.setup-screenshot {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  background: white;
}
.screenshot-link {
  display: block;
  background: var(--surface-muted);
}
.screenshot-link img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
.screenshot-caption {
  padding: 0.65rem 0.85rem;
  color: var(--muted);
  font-size: 0.78rem;
}
.screenshot-source {
  color: var(--ink);
  font-weight: 600;
  white-space: nowrap;
}
.setup-visuals {
  display: grid;
  gap: 1rem;
}
.setup-visual {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  background: white;
}
.visual-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 40px;
  padding: 0.6rem 0.85rem;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.74rem;
}
.window-dots {
  flex: 0 0 auto;
  width: 40px;
  height: 10px;
  background:
    radial-gradient(circle at 5px 5px, #ffb3c4 0 4px, transparent 4.5px),
    radial-gradient(circle at 20px 5px, #e9d9f5 0 4px, transparent 4.5px),
    radial-gradient(circle at 35px 5px, #eef6cf 0 4px, transparent 4.5px);
}
.visual-lines {
  display: grid;
  align-content: center;
  gap: 0.55rem;
  padding: 1.1rem 1.15rem 1.3rem;
}
.visual-line {
  color: var(--muted);
}
.setup-visual-terminal {
  border-color: #1e1c1d;
  background: #141213;
  color: white;
}
.setup-visual-terminal .visual-bar {
  border-bottom-color: rgba(255, 255, 255, 0.1);
  background: #1e1c1d;
  color: rgba(255, 255, 255, 0.7);
}
.setup-visual-terminal .visual-line {
  color: rgba(255, 255, 255, 0.66);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  overflow-wrap: anywhere;
}
.setup-visual-terminal .visual-line.is-emphasized {
  color: var(--lime);
}
.noscript-note {
  margin-top: 1.5rem;
  padding: 1rem 1.15rem;
  border-radius: var(--radius-small);
  background: var(--blush);
}

/* Setup guide page ------------------------------------------------------- */
.guide-lede {
  max-width: 58ch;
  margin-bottom: 0.9rem;
  color: var(--ink-soft);
  font-size: 1.12rem;
}
.guide-release {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.guide-release a {
  color: var(--ink);
  font-weight: 500;
}
.guide-help {
  padding-top: clamp(3rem, 6vw, 5rem);
}
.guide-next {
  padding: clamp(3rem, 6vw, 5rem) 0;
}
.next-card {
  padding: clamp(2rem, 5vw, 3.5rem);
  border-radius: var(--radius-card);
  background: url("assets/gradients/horizontal-7.webp") center / cover;
}
.next-card h2 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  line-height: 1.05;
}
.next-card p {
  max-width: 56ch;
  margin-bottom: 1.5rem;
  color: var(--ink);
}
.next-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Help topics ------------------------------------------------------------ */
/* Each question sizes to its own content: opening one must not stretch the
   question beside it in the same row. */
.help-topics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 0.75rem;
}
.help-topic {
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  background: white;
  transition:
    border-color 0.18s ease,
    background-color 0.18s ease;
}
.help-topic:hover {
  border-color: var(--line-strong);
}
.help-topic[open] {
  border-color: var(--line-strong);
  background: var(--surface-tint);
}
.help-topic summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.15rem;
  border-radius: var(--radius-small);
  cursor: pointer;
  font-weight: 500;
  list-style: none;
}
.help-topic summary:focus-visible {
  outline-offset: -3px;
}
.help-topic summary::-webkit-details-marker {
  display: none;
}
.help-topic summary::after {
  content: "+";
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--blush);
  font-weight: 600;
  line-height: 1;
}
.help-topic[open] summary::after {
  content: "−";
}
.help-topic p {
  margin: 0;
  padding: 0 1.15rem 1.1rem;
  color: var(--muted);
}

/* Footer ----------------------------------------------------------------- */
.site-footer {
  width: var(--shell);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.5rem 2.5rem;
  padding: 3rem 0 2.25rem;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
}
.footer-brand img {
  width: 108px;
}
.footer-brand p {
  max-width: 34ch;
  margin: 0.75rem 0 0;
  color: var(--muted);
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.75rem;
}
.footer-links a:not(.button) {
  font-weight: 500;
  text-decoration: none;
}
.footer-links a:not(.button):hover {
  text-decoration: underline;
}
.footer-meta {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
  color: var(--muted);
}

/* Contact dialog (HubSpot form) ------------------------------------------ */
.icon-button {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: white;
  cursor: pointer;
}
.icon-button:hover {
  border-color: var(--ink);
}
.icon-button[hidden] {
  display: none;
}
.icon-button svg {
  width: 16px;
  height: 16px;
  fill: var(--ink);
}
.contact-dialog {
  width: min(560px, calc(100% - 32px));
  max-height: calc(100dvh - 48px);
  padding: 0.75rem 0.75rem 1.25rem;
  overflow: auto;
  border: 0;
  border-radius: var(--radius-panel);
  background: white;
  color: var(--ink);
  box-shadow: 0 40px 100px -40px rgba(78, 18, 42, 0.55);
}
.contact-dialog[open] {
  animation: dialog-in 0.25s ease both;
}
.contact-dialog::backdrop {
  background: rgba(17, 17, 17, 0.38);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.contact-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 1.35rem 1.35rem 1.5rem;
  border-radius: 1.1rem;
  background: url("assets/gradients/horizontal-8.webp") center / cover;
}
.contact-head h2 {
  margin-bottom: 0.4rem;
  font-size: clamp(1.7rem, 4vw, 2.1rem);
  line-height: 1.05;
}
.contact-head p {
  margin: 0;
  color: var(--ink);
}
.contact-head form {
  margin: 0;
}
.contact-head svg path {
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.8;
  stroke-linecap: round;
}
.contact-dialog.is-scheduling {
  width: min(1040px, calc(100% - 32px));
}
.contact-form,
.contact-scheduler,
.contact-booked {
  padding-inline: 0.75rem;
}
.contact-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}
.contact-field {
  display: grid;
  gap: 0.35rem;
  min-width: 0;
  font-size: 0.8rem;
  font-weight: 600;
}
.contact-field-wide {
  grid-column: 1 / -1;
}
.contact-field input {
  width: 100%;
  min-height: 48px;
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--line-strong);
  border-radius: 0.85rem;
  background: white;
  font-size: 1rem;
  font-weight: 400;
}
.contact-field input:focus-visible {
  outline-offset: 1px;
}
.contact-form.was-checked .contact-field input:invalid {
  border-color: #c8325a;
}
.contact-trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.contact-error {
  margin: 0.85rem 0 0;
  color: #b0234d;
  font-size: 0.88rem;
  font-weight: 500;
}
.contact-submit {
  width: 100%;
  margin-top: 1.1rem;
}
.contact-note {
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 0.8rem;
}
.contact-note a {
  color: var(--ink);
}
.contact-step {
  margin: 0 0 0.85rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-small);
  background: var(--lime);
  font-weight: 500;
}
.contact-step:focus {
  outline: none;
}
.meetings-iframe-container {
  min-height: 620px;
}
.meetings-iframe-container:empty::before {
  content: "Loading the calendar…";
  display: block;
  padding: 4rem 0;
  color: var(--muted);
  text-align: center;
}
.meetings-iframe-container iframe {
  display: block;
  width: 100%;
  border: 0;
}
.contact-fallback {
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}
.contact-fallback a {
  color: var(--ink);
  font-weight: 500;
}
.contact-dialog.is-unavailable .meetings-iframe-container {
  display: none;
}
.contact-dialog.is-unavailable .contact-fallback {
  padding-block: 1rem;
  color: var(--ink);
  font-size: 1rem;
}
.contact-booked {
  display: grid;
  justify-items: center;
  padding-block: 2rem 1.5rem;
  text-align: center;
}
.contact-booked[hidden] {
  display: none;
}
.contact-booked-icon {
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  margin-bottom: 1rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, var(--pink-soft), var(--pink));
}
.contact-booked-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: white;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.contact-booked h3 {
  margin-bottom: 0.4rem;
  font-size: 1.5rem;
}
.contact-booked p {
  max-width: 40ch;
  margin: 0;
  color: var(--muted);
}
.help-more {
  margin: 1.25rem 0 0;
  color: var(--muted);
}
.help-more .text-link {
  color: var(--ink);
}
@keyframes dialog-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Tool catalog ----------------------------------------------------------- */
.catalog-hero {
  padding-bottom: 2.5rem;
}
.catalog-hero h1 {
  max-width: 14ch;
}
.catalog-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.6fr);
  gap: 3rem;
  align-items: end;
}
.catalog-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
}
.catalog-stats p {
  margin: 0;
  padding: 1.35rem 1rem 1.1rem;
  border-radius: 1.35rem;
  background: url("assets/gradients/square-5.webp") center / cover;
}
.catalog-stats p:nth-child(2) {
  background-image: url("assets/gradients/square-8.webp");
}
.catalog-stats p:nth-child(3) {
  background-image: url("assets/gradients/square-2.webp");
}
.catalog-stats strong {
  display: block;
  font-size: 2.1rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
}
.catalog-stats span {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.catalog-note {
  max-width: none;
  margin: 2rem 0 0;
  padding: 1.15rem 1.3rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  background: rgba(255, 255, 255, 0.86);
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.catalog-note code {
  padding: 0.1rem 0.35rem;
  border-radius: 0.35rem;
  background: var(--blush);
  font-size: 0.82em;
}
.catalog-shell {
  width: var(--shell);
  margin: 0 auto;
  padding-bottom: 7rem;
}
.filter-surface {
  position: relative;
  z-index: 10;
  padding: 1.1rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-soft);
}
.filter-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(180px, 0.35fr) auto;
  gap: 0.75rem;
  align-items: end;
}
.field {
  display: grid;
  gap: 0.35rem;
}
.field label,
.filter-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.field input,
.field select {
  width: 100%;
  min-height: 46px;
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: white;
}
.filter-group {
  display: flex;
  gap: 0.25rem;
  padding: 0.2rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: white;
}
.filter-group button {
  min-height: 40px;
  padding: 0.5rem 0.95rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
}
.impact-toggle,
.reset-button {
  min-height: 46px;
  padding: 0.6rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: white;
  cursor: pointer;
}
.filter-group [aria-pressed="true"],
.impact-toggle[aria-pressed="true"] {
  background: var(--ink);
  color: white;
}
.category-index {
  display: flex;
  gap: 0.4rem;
  overflow-x: auto;
  padding: 0.9rem 0 0.1rem;
  scrollbar-width: thin;
}
.category-index button {
  flex: 0 0 auto;
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  cursor: pointer;
  font-size: 0.78rem;
}
.category-index button:hover {
  border-color: var(--ink);
}
.category-index button[aria-pressed="true"] {
  border-color: var(--ink);
  background: var(--ink);
  color: white;
}
.results-meta {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: center;
  margin: 2rem 0 1rem;
}
.results-meta p {
  margin: 0;
  color: var(--muted);
}
.tool-results {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  align-items: stretch;
}
.tool-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 1.35rem 1.4rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  background: white;
  content-visibility: auto;
  contain-intrinsic-size: 260px;
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}
.tool-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-card);
}
.tool-card-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
}
.tool-card-header code {
  flex: 1 1 auto;
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 0.9rem;
  font-weight: 600;
}
.tool-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.75rem;
}
.badge {
  display: inline-flex;
  align-items: center;
  min-height: 1.6rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: var(--surface-muted);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.badge-write {
  background: var(--blush);
}
.badge-route {
  background: #f3effa;
}
.badge-impact {
  background: var(--lime);
}
.tool-card .copy-button {
  min-width: 0;
  min-height: 1.9rem;
  padding: 0.25rem 0.75rem;
  border-color: var(--line-strong);
  background: white;
  color: var(--ink);
  font-size: 0.74rem;
}
.tool-card .copy-button:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: white;
}
.tool-card h2 {
  margin: 1rem 0 0.5rem;
  font-size: 1.12rem;
  font-weight: 500;
  line-height: 1.32;
  letter-spacing: -0.02em;
}
.tool-card > p {
  color: var(--muted);
}
.tool-example {
  margin: 0 0 auto;
  font-size: 0.92rem;
}
.tool-example strong {
  color: var(--ink);
  font-weight: 600;
}
.tool-card details {
  margin-top: 1rem;
  font-size: 0.84rem;
}
.tool-card summary {
  cursor: pointer;
  font-weight: 600;
}
.tool-card ul {
  padding-left: 1.2rem;
  color: var(--muted);
}
.tool-card[hidden] {
  display: none;
}
.tool-constraints {
  padding-top: 0.8rem;
  border-top: 1px solid var(--line);
}
.tool-constraints ul {
  margin-bottom: 0;
}
.empty-state {
  padding: 4rem 1rem;
  text-align: center;
  border-radius: var(--radius-card);
  background: url("assets/gradients/horizontal-8.webp") center / cover;
}
.empty-state[hidden] {
  display: none;
}

/* Responsive ------------------------------------------------------------- */
@media (min-height: 860px) and (min-width: 981px) {
  .filter-surface {
    position: sticky;
    top: 88px;
  }
}
@media (max-width: 980px) {
  .client-body {
    grid-template-columns: 1fr;
  }
  .catalog-hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .filter-surface {
    position: static;
  }
  .filter-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 900px) {
  .setup-overview {
    grid-template-columns: 1fr;
  }
  .client-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.3rem;
    padding: 0.45rem;
  }
  .client-tabs button {
    min-width: 0;
    padding: 0.55rem 0.7rem;
  }
}
@media (max-width: 760px) {
  .tool-results,
  .help-topics {
    grid-template-columns: 1fr;
  }
  .site-nav a:not(.nav-keep) {
    display: none;
  }
}
@media (max-width: 640px) {
  :root {
    --shell: calc(100% - 32px);
    --radius-card: 1.5rem;
  }
  .site-header-inner {
    min-height: 64px;
    gap: 0.75rem;
  }
  .brand img {
    width: 96px;
  }
  .client-intro {
    grid-template-columns: 1fr;
  }
  .client-intro .official-link {
    grid-column: 1;
    grid-row: auto;
    justify-self: start;
    margin-top: 0.5rem;
  }
  .client-tabs button {
    padding: 0.55rem 0.6rem;
  }
  .client-tabs button span {
    font-size: 0.86rem;
  }
  .client-tabs button small {
    font-size: 0.72rem;
  }
  .copy-value {
    flex-direction: column;
    align-items: stretch;
  }
  .copy-button {
    align-self: flex-start;
  }
  .site-footer {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .contact-fields {
    grid-template-columns: 1fr;
  }
  .catalog-stats {
    gap: 0.35rem;
  }
  .catalog-stats p {
    padding: 1rem 0.75rem 0.85rem;
  }
  .catalog-stats strong {
    font-size: 1.6rem;
  }
  .filter-grid {
    grid-template-columns: 1fr;
  }
  .filter-group {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
  .results-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.75rem;
  }
}
@media (max-width: 480px) {
  .brand-product {
    display: none;
  }
}
@media (max-width: 380px) {
  .nav-extra {
    display: none;
  }
  .site-header-inner {
    gap: 0.4rem;
  }
  .site-nav a {
    padding-inline: 0.6rem;
  }
  .nav-cta {
    padding-inline: 0.9rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
