@charset "UTF-8";

/* ==========================================================================
   BattleStack — retail API showcase
   Shared visual system for the homepage, retailer page, docs and legal pages.
   Local Roboto Condensed headings; system sans for text. No external assets.
   ========================================================================== */

@font-face {
  font-family: "Roboto Condensed";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/battlestack-assets/fonts/roboto-condensed-latin.woff2') format('woff2');
}

:root {
  color-scheme: light;
  --ink: #0c1a27;
  --ink-2: #12283a;
  --ink-3: #1b354a;
  --paper: #f6f3eb;
  --paper-deep: #ebe7dc;
  --surface: #ffffff;
  --surface-soft: #f1eee5;
  --line: #d8d3c6;
  --line-soft: #e7e2d7;
  --text: #1b2a33;
  --muted: #5a666b;
  --muted-2: #5f6968;
  --amber: #e7ad3c;
  --amber-deep: #835a08;
  --amber-soft: #fbf1d8;
  --blue: #0f3d7c;
  --blue-soft: #e8eef6;
  --green: #2c5c45;
  --red: #8e352f;
  --radius: 5px;
  --radius-sm: 3px;
  --shadow: 0 18px 45px rgba(16, 30, 41, 0.12);
  --shadow-dark: 0 26px 70px rgba(0, 0, 0, 0.34);
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Roboto Condensed", "Arial Narrow", ui-sans-serif, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-family: var(--font-body);
  font-synthesis: none;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}

a:hover { color: var(--amber-deep); }

.hero a:hover,
.api-section a:hover,
.final-cta a:hover,
.premium-cta a:hover,
.independence a:hover,
.site-footer a:hover { color: #fff; }

button,
input,
select,
textarea { font: inherit; }

button { cursor: pointer; }

button,
a { -webkit-tap-highlight-color: transparent; }

:focus-visible {
  outline: 3px solid #2d6fa8;
  outline-offset: 4px;
}

img,
svg { max-width: 100%; }

img {
  display: block;
  height: auto;
}

h1,
h2,
h3,
p,
figure,
dl,
dd { margin-top: 0; }

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 750;
  line-height: 1.03;
  letter-spacing: -0.035em;
}

h1 {
  font-size: clamp(3rem, 5.3vw, 5.25rem);
  margin-bottom: 26px;
}

h2 {
  font-size: clamp(2.35rem, 4vw, 3.75rem);
  margin-bottom: 22px;
}

h3 {
  font-size: 1.55rem;
  letter-spacing: -0.02em;
  line-height: 1.12;
}

p { margin-bottom: 20px; }

.wrap {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 44px;
}

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

.skip {
  position: fixed;
  top: -100px;
  left: 18px;
  z-index: 100;
  background: var(--amber);
  color: var(--ink);
  padding: 11px 16px;
  font-weight: 700;
  text-decoration: none;
}

.skip:focus { top: 12px; }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  white-space: nowrap;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 750;
  letter-spacing: -0.035em;
}

.brand:hover { color: var(--ink); }

.mark {
  display: grid;
  place-items: center;
  width: 29px;
  height: 33px;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 800;
  line-height: 1;
  border-radius: 2px;
  box-shadow: 3px 3px 0 var(--amber);
}

.nav {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-left: auto;
}

.nav a {
  color: #344650;
  font-size: 0.81rem;
  font-weight: 600;
  text-decoration: none;
  padding: 10px 0;
}

.nav a:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--amber); text-underline-offset: 7px; }

.nav a[aria-current="page"] {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--amber);
  text-decoration-thickness: 2px;
  text-underline-offset: 8px;
}

.nav-contact { display: none; }

.nav-toggle {
  display: none;
  margin-left: auto;
  min-height: 44px;
  padding: 7px 15px;
  background: #fff;
  color: var(--ink);
  border: 1px solid #b8c0c2;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 650;
}

.header-cta {
  min-height: 42px;
  padding: 10px 17px;
  font-size: 0.78rem;
  gap: 16px;
}

/* --------------------------------------------------------------------------
   Buttons and links
   -------------------------------------------------------------------------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 50px;
  padding: 13px 21px;
  border: 1px solid var(--ink);
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: #fff;
  font-size: 0.87rem;
  font-weight: 650;
  line-height: 1.2;
  text-decoration: none;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.button:hover {
  background: var(--ink-2);
  border-color: var(--ink-2);
  color: #fff;
  transform: translateY(-1px);
}

.button span[aria-hidden="true"] { font-size: 1rem; }

.button--secondary {
  background: transparent;
  color: var(--ink);
  border-color: #b8b4a8;
}

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

.hero .button:not(.button--secondary),
.final-cta .button:not(.button--secondary),
.premium-cta .button:not(.button--secondary) {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--ink);
}

.hero .button:not(.button--secondary):hover,
.final-cta .button:not(.button--secondary):hover,
.premium-cta .button:not(.button--secondary):hover {
  background: #f0be5e;
  border-color: #f0be5e;
  color: var(--ink);
}

.hero .button--secondary,
.final-cta .button--secondary {
  background: transparent;
  color: #f3efe6;
  border-color: rgba(255, 255, 255, 0.38);
}

.hero .button--secondary:hover,
.final-cta .button--secondary:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.72);
  color: #fff;
}

.actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid var(--amber);
  padding-bottom: 2px;
}

.text-link:hover { color: var(--amber-deep); }

.eyebrow {
  margin-bottom: 17px;
  color: var(--amber-deep);
  font-family: var(--font-mono);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow--light { color: #ecc36d; }

.eyebrow__dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 9px;
  background: var(--amber);
  border-radius: 50%;
  vertical-align: 1px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 4px 8px;
  border: 1px solid #d9c99e;
  border-radius: 2px;
  background: var(--amber-soft);
  color: #76530b;
  font-family: var(--font-mono);
  font-size: 0.59rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  line-height: 1.3;
  white-space: nowrap;
}

.tag--soft {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: #cbd2d3;
}

.tag--planned {
  border-color: #dfc884;
  background: var(--amber-soft);
  color: #75530c;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 8%, rgba(26, 74, 117, 0.55), transparent 38%),
    radial-gradient(circle at 22% 100%, rgba(113, 57, 34, 0.2), transparent 42%),
    linear-gradient(135deg, #0a1723 0%, #102635 58%, #162f42 100%);
  color: #f4f0e6;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent 82%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.03fr 0.97fr;
  gap: 54px;
  align-items: center;
  padding-top: 78px;
  padding-bottom: 82px;
}

.hero__copy { min-width: 0; }

.hero h1 {
  max-width: 760px;
  color: #fff;
  font-size: clamp(3rem, 5.2vw, 5.15rem);
  line-height: 0.98;
  margin-bottom: 25px;
}

.hero h1 em {
  color: var(--amber);
  font-style: normal;
}

.hero__lede {
  max-width: 600px;
  margin-bottom: 27px;
  color: #c3ced3;
  font-size: 1.02rem;
  line-height: 1.72;
}

.hero__contact {
  margin: 18px 0 0;
  color: #9eb0ba;
  font-size: 0.79rem;
}

.hero__contact .text-link {
  color: #e8c06b;
  border-bottom-color: rgba(232, 192, 107, 0.5);
  font-size: inherit;
}

.hero__contact .text-link:hover { color: #fff; }

.hero__footnote {
  max-width: 480px;
  margin: 28px 0 0;
  padding-left: 13px;
  border-left: 2px solid var(--amber);
  color: #99acb7;
  font-size: 0.73rem;
  line-height: 1.7;
}

.hero__price-line {
  margin: 21px 0 0;
  color: #b8c5cc;
  font-size: 0.8rem;
}

.hero__price-line strong { color: #fff; }

.hero__price-line a { color: #e8c06b; }

.hero--retailer .hero__inner { padding-top: 42px; padding-bottom: 76px; }

.breadcrumb-wrap {
  background: var(--ink);
  padding-top: 18px;
  color: #8fa4b0;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 0.63rem;
  letter-spacing: 0.03em;
}

.breadcrumb a { color: #b9c6cc; text-decoration: none; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span[aria-hidden="true"] { color: #4c6675; }

/* --------------------------------------------------------------------------
   Hero integration panel
   -------------------------------------------------------------------------- */

.integration-panel,
.blueprint-panel {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid #cfc8b7;
  border-radius: 6px;
  background: #fbf8f0;
  color: var(--text);
  box-shadow: var(--shadow-dark);
}

.integration-panel__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 42px;
  padding: 10px 14px;
  background: #0a1723;
  color: #c2d0d6;
  font-family: var(--font-mono);
  font-size: 0.59rem;
  letter-spacing: 0.035em;
}

.integration-panel__store {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #eff3f0;
  text-transform: uppercase;
}

.live-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #77b47e;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(119, 180, 126, 0.13);
}

.integration-panel__mode {
  margin-left: auto;
  color: #8298a4;
  text-transform: uppercase;
}

.integration-panel__bar .tag { margin-left: 3px; }

.store-search {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 16px 0;
  padding: 13px 14px;
  border: 1px solid #d7d0c0;
  border-radius: 3px;
  background: #fff;
  box-shadow: 0 2px 7px rgba(16, 30, 41, 0.04);
}

.store-search__icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: none;
  border-radius: 50%;
  background: var(--surface-soft);
  color: #4e5c63;
  font-size: 1.25rem;
  line-height: 1;
}

.store-search__copy { min-width: 0; line-height: 1.25; }

.store-search__copy small {
  display: block;
  color: var(--muted);
  font-size: 0.58rem;
  font-family: var(--font-mono);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.store-search__copy strong {
  display: block;
  margin-top: 3px;
  font-family: var(--font-display);
  font-size: 1.18rem;
  letter-spacing: -0.01em;
}

.chip {
  display: inline-flex;
  align-items: center;
  margin-left: auto;
  padding: 4px 7px;
  border: 1px solid #d9d3c6;
  border-radius: 2px;
  background: #f8f5ee;
  color: #5a6467;
  font-size: 0.62rem;
  white-space: nowrap;
}

.integration-panel__body { padding: 16px 16px 0; }

.result-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 5px;
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 0.57rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.result-list,
.compact-results,
.feature-list,
.check-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.result-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line-soft);
}

.result-row:last-child { border-bottom: 0; }

.swatch {
  display: block;
  width: 37px;
  height: 40px;
  flex: none;
  border: 1px solid rgba(12, 26, 39, 0.2);
  border-radius: 3px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.swatch--macragge { background: #0f3d7c; }
.swatch--ocean { background: #1a3880; }
.swatch--deep { background: #1d4167; }
.swatch--oxford { background: #283870; }

.result-row__copy { min-width: 0; line-height: 1.25; }

.result-row__copy strong {
  display: block;
  overflow: hidden;
  font-family: var(--font-display);
  font-size: 1.08rem;
  letter-spacing: -0.01em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.result-row__copy small {
  display: block;
  overflow: hidden;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.65rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.result-row__catalogue {
  margin-left: auto;
  color: #4c6b58;
  font-family: var(--font-mono);
  font-size: 0.52rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.result-row__catalogue span { color: #64866e; }

.result-row__delta {
  display: flex;
  align-items: baseline;
  gap: 3px;
  min-width: 52px;
  margin-left: auto;
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 750;
  line-height: 1;
  text-align: right;
  justify-content: flex-end;
}

.result-row__delta small {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.48rem;
  font-weight: 500;
}

.result-row__catalogue + .result-row__delta { margin-left: 0; }

.integration-panel__mapping {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 13px 16px 0;
  padding: 13px 14px;
  border: 1px solid #e3d5ad;
  border-radius: 3px;
  background: #fbf4df;
}

.mapping-mark {
  color: var(--amber-deep);
  font-family: var(--font-mono);
  font-size: 1rem;
  line-height: 1.4;
}

.integration-panel__mapping p {
  margin: 0;
  color: #5e563f;
  font-size: 0.7rem;
  line-height: 1.55;
}

.integration-panel__mapping strong { color: var(--ink); }

.integration-panel figcaption,
.blueprint-panel figcaption {
  padding: 13px 16px 15px;
  color: var(--muted-2);
  font-size: 0.59rem;
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   Catalogue band
   -------------------------------------------------------------------------- */

.catalogue-band {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.catalogue-band__inner {
  display: grid;
  grid-template-columns: 1.05fr 1.35fr auto;
  gap: 38px;
  align-items: center;
  padding-top: 38px;
  padding-bottom: 38px;
}

.catalogue-band__intro h2 {
  max-width: 450px;
  margin-bottom: 10px;
  font-size: clamp(1.8rem, 2.4vw, 2.5rem);
}

.catalogue-band__intro p:last-child {
  max-width: 500px;
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.7;
}

.catalogue-band .eyebrow { margin-bottom: 12px; }

.catalogue-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px 28px;
  margin: 0;
}

.catalogue-stats div {
  padding-left: 16px;
  border-left: 1px solid var(--line);
}

.catalogue-stats dt {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 750;
  line-height: 1;
  letter-spacing: -0.03em;
}

.catalogue-stats dd {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.67rem;
  line-height: 1.35;
}

.catalogue-band__link { align-self: end; padding-bottom: 4px; }

.catalogue-band__link .text-link { font-size: 0.75rem; white-space: nowrap; }

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

.section { padding-top: 94px; padding-bottom: 94px; }

.section-heading { margin-bottom: 48px; }

.section-heading--split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.74fr);
  gap: 56px;
  align-items: end;
}

.section-heading h2 { margin-bottom: 0; }

.section-heading h2 em {
  color: var(--blue);
  font-style: normal;
}

.section-heading > p,
.section-heading--split > p {
  max-width: 430px;
  margin: 0 0 3px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.8;
}

.section-heading--light h2 { color: #fff; }
.section-heading--light h2 em { color: var(--amber); }
.section-heading--light > p { color: #aebec6; }

.section-close-link { margin: 28px 0 0; }

.api-section .section-close-link .text-link {
  color: #f1eee5;
  border-bottom-color: rgba(255, 255, 255, 0.45);
}

.api-section .section-close-link .text-link:hover { color: var(--amber); }

/* --------------------------------------------------------------------------
   Demo
   -------------------------------------------------------------------------- */

.demo-section { background: var(--surface); }

.demo-rail {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.demo-step {
  min-width: 0;
  padding: 25px 25px 27px;
}

.demo-step + .demo-step { border-left: 1px solid var(--line); }

.demo-step__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 23px;
}

.step-number {
  color: var(--amber-deep);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.09em;
}

.step-role {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.demo-step h3 { margin-bottom: 16px; font-size: 1.5rem; }

.demo-step > p {
  margin: 19px 0 0;
  color: var(--muted);
  font-size: 0.79rem;
  line-height: 1.78;
}

.query-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px;
  border: 1px solid #d7d2c5;
  border-radius: 3px;
  background: #fbf9f3;
}

.query-card__icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: 50%;
  background: #eeeae0;
  color: #4d5a60;
  font-size: 1.3rem;
}

.query-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.13rem;
  line-height: 1.2;
}

.query-card small { display: block; margin-top: 3px; color: var(--muted); font-size: 0.65rem; }

.api-mini {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  padding: 10px;
  border-radius: 3px;
  background: var(--ink);
  color: #dce6e9;
  font-family: var(--font-mono);
  font-size: 0.55rem;
}

.api-mini__method { color: #8fc79c; font-weight: 700; }
.api-mini code { font-size: inherit; color: #dce6e9; overflow-wrap: anywhere; }
.api-mini__status { margin-left: auto; color: #e9bd62; }

.compact-results {
  margin-top: 4px;
  border-bottom: 1px solid var(--line-soft);
}

.compact-results .result-row {
  gap: 9px;
  padding: 9px 0;
}

.compact-results .swatch { width: 26px; height: 29px; }
.compact-results .result-row__copy strong { font-size: 0.94rem; }
.compact-results .result-row__copy small { font-size: 0.58rem; }
.compact-results .result-row__delta { min-width: 39px; font-size: 1.06rem; }
.compact-results .result-row__delta small { font-size: 0.44rem; }

.catalogue-board {
  overflow: hidden;
  border: 1px solid #d7d2c5;
  border-radius: 3px;
  background: #fbf9f3;
}

.catalogue-board__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
  border-bottom: 1px solid #e2ded4;
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 0.52rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.catalogue-line {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 10px;
  border-bottom: 1px solid #e7e3d9;
}

.catalogue-line .swatch { width: 24px; height: 27px; }
.catalogue-line > span:nth-child(2) { min-width: 0; line-height: 1.25; }
.catalogue-line strong { display: block; overflow: hidden; font-family: var(--font-display); font-size: 0.94rem; text-overflow: ellipsis; white-space: nowrap; }
.catalogue-line small { display: block; overflow: hidden; margin-top: 2px; color: var(--muted); font-size: 0.57rem; text-overflow: ellipsis; white-space: nowrap; }

.catalogue-line__check {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  margin-left: auto;
  flex: none;
  border-radius: 50%;
  background: #e2ede4;
  color: #3f6d4f;
  font-size: 0.62rem;
}

.catalogue-board > p {
  margin: 0;
  padding: 8px 10px;
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 0.5rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.limit-note {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-top: 20px;
  padding: 18px 20px;
  border: 1px solid #e4d5ac;
  border-radius: var(--radius-sm);
  background: var(--amber-soft);
}

.limit-note__mark {
  flex: none;
  color: var(--amber-deep);
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 750;
  line-height: 1.4;
}

.limit-note strong { display: block; font-size: 0.8rem; }
.limit-note p { margin: 4px 0 0; color: #655b45; font-size: 0.76rem; line-height: 1.7; }

.demo-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 22px;
}

.demo-footer p {
  max-width: 610px;
  margin: 0;
  color: var(--muted-2);
  font-size: 0.66rem;
  line-height: 1.65;
}

.demo-footer .text-link { flex: none; font-size: 0.74rem; }

.product-disclosure {
  margin-top: 26px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.product-disclosure summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 17px 0;
  color: var(--ink);
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 650;
  list-style: none;
}

.product-disclosure summary::-webkit-details-marker { display: none; }
.product-disclosure summary:hover { color: var(--amber-deep); }
.product-disclosure summary:focus-visible { outline-offset: 2px; }
.product-disclosure[open] .faq-item__icon { transform: rotate(45deg); background: var(--amber); border-color: var(--amber); color: var(--ink); }
.product-disclosure .product-screen { max-width: 900px; margin: 0 0 22px; }

/* --------------------------------------------------------------------------
   Benefits
   -------------------------------------------------------------------------- */

.benefits-section { background: var(--paper-deep); }

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

.benefit {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 260px;
  padding: 29px 28px 26px;
  background: var(--surface);
}

.benefit--planned { background: #fdf8eb; }

.benefit__number {
  margin-bottom: 22px;
  color: var(--amber-deep);
  font-family: var(--font-mono);
  font-size: 0.61rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.benefit .tag { align-self: flex-start; margin: -5px 0 12px; }

.benefit h3 { max-width: 310px; margin-bottom: 14px; font-size: 1.62rem; }

.benefit > p {
  margin-bottom: 15px;
  color: var(--muted);
  font-size: 0.81rem;
  line-height: 1.78;
}

.benefit__detail {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
  color: #485860 !important;
  font-size: 0.74rem !important;
  line-height: 1.7 !important;
}

.independence {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 55px;
  align-items: start;
  margin-top: 25px;
  padding: 35px 38px;
  border-radius: var(--radius);
  background: var(--ink);
  color: #dce4e7;
}

.independence .eyebrow { color: #e4bb64; margin-bottom: 12px; }
.independence h3 { margin: 0; color: #fff; font-size: clamp(1.8rem, 2.4vw, 2.5rem); }
.independence p { margin: 0 0 12px; color: #b4c2c9; font-size: 0.84rem; line-height: 1.8; }
.independence p:last-child { margin-bottom: 0; }
.independence__note { color: #8196a1 !important; font-size: 0.69rem !important; }

/* --------------------------------------------------------------------------
   API section
   -------------------------------------------------------------------------- */

.api-section {
  background:
    linear-gradient(120deg, rgba(17, 46, 66, 0.45), transparent 48%),
    var(--ink);
  color: #e9eef0;
}

.api-section__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 45px;
  align-items: start;
}

.api-section .button:not(.button--secondary) {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--ink);
}

.api-section .button:not(.button--secondary):hover {
  background: #f0be5e;
  border-color: #f0be5e;
  color: var(--ink);
}

.api-section .button--secondary {
  background: transparent;
  color: #f1eee5;
  border-color: rgba(255, 255, 255, 0.36);
}

.api-section .button--secondary:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
}

.api-section__copy { min-width: 0; }

.api-section h2 { color: #fff; }
.api-section h2 em { color: var(--amber); font-style: normal; }

.api-section__lede {
  max-width: 590px;
  color: #b6c3c9;
  font-size: 0.9rem;
  line-height: 1.8;
}

.mode-list { margin-top: 31px; }

.mode {
  padding: 21px 0 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.mode:last-child { padding-bottom: 0; }

.mode__label {
  display: block;
  margin-bottom: 9px;
  color: #e5bb62;
  font-family: var(--font-mono);
  font-size: 0.57rem;
  font-weight: 650;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.mode h3 { margin-bottom: 9px; color: #fff; font-size: 1.7rem; }
.mode p { max-width: 520px; margin-bottom: 11px; color: #aebcc3; font-size: 0.8rem; line-height: 1.8; }
.mode code { color: #e5bb62; font-family: var(--font-mono); font-size: 0.64rem; overflow-wrap: anywhere; }

.actions--api { margin-top: 28px; }

.api-console {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: #07131d;
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.28);
}

.api-console__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #95a9b4;
  font-family: var(--font-mono);
  font-size: 0.59rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.api-console__bar .tag { text-transform: none; }

.api-console pre {
  overflow: auto;
  max-width: 100%;
  margin: 0;
  padding: 22px 18px;
  background: transparent;
  color: #dce6e9;
  font-size: 0.67rem;
  line-height: 1.75;
  tab-size: 2;
}

.api-console code {
  white-space: pre;
  overflow-wrap: normal;
  color: inherit;
  font-family: var(--font-mono);
  font-size: inherit;
}

.api-console__foot {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 15px;
  padding: 13px 15px 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.api-console__foot p { margin: 0; color: #8fa0a9; font-size: 0.62rem; line-height: 1.6; }
.api-console__foot span { flex: none; color: #e4bb64; font-family: var(--font-mono); font-size: 0.53rem; }

.api-capabilities {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.api-capabilities div { padding: 20px 22px 0 0; }
.api-capabilities div + div { padding-left: 22px; border-left: 1px solid rgba(255, 255, 255, 0.16); }
.api-capabilities span { display: block; margin-bottom: 5px; color: #8499a5; font-family: var(--font-mono); font-size: 0.54rem; letter-spacing: 0.06em; text-transform: uppercase; }
.api-capabilities strong { display: block; color: #dbe4e7; font-size: 0.77rem; font-weight: 600; line-height: 1.55; }

/* Retailer API detail */

.api-section--retailer .section-heading { margin-bottom: 38px; }

.api-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.api-detail {
  min-width: 0;
  padding: 25px 25px 23px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
}

.api-detail h3 { margin-bottom: 10px; color: #fff; font-size: 1.9rem; }
.api-detail p { color: #b5c2c8; font-size: 0.79rem; line-height: 1.8; }
.api-detail ul { margin: 17px 0 21px; padding: 0; list-style: none; }
.api-detail li { position: relative; padding: 5px 0 5px 16px; color: #c5d0d5; font-size: 0.75rem; }
.api-detail li::before { content: "→"; position: absolute; left: 0; color: #d5a94e; }
.api-detail code { display: inline-block; padding-top: 10px; color: #e3b95e; font-family: var(--font-mono); font-size: 0.61rem; overflow-wrap: anywhere; }

.api-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.api-facts div { padding: 21px 22px 21px 0; }
.api-facts div + div { padding-left: 22px; border-left: 1px solid rgba(255, 255, 255, 0.16); }
.api-facts span { display: block; margin-bottom: 5px; color: #8499a5; font-family: var(--font-mono); font-size: 0.54rem; letter-spacing: 0.06em; text-transform: uppercase; }
.api-facts strong { display: block; color: #e5ebed; font-size: 0.78rem; line-height: 1.5; }
.api-facts p { margin: 5px 0 0; color: #93a7b1; font-size: 0.66rem; line-height: 1.6; }

.api-doc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 28px;
}

.api-doc-row p { max-width: 680px; margin: 0; color: #a4b4bc; font-size: 0.74rem; line-height: 1.7; }

/* --------------------------------------------------------------------------
   Pricing
   -------------------------------------------------------------------------- */

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

.plan-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: stretch;
}

.plan-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #cfc9ba;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.plan-card__head { padding: 27px 28px 22px; }

.plan-card__topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 28px;
}

.plan-card__labels {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}

.plan-card__code {
  color: var(--amber-deep);
  font-family: var(--font-mono);
  font-size: 0.59rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.plan-card__labels .tag {
  min-height: 21px;
  padding: 3px 6px;
  font-size: 0.52rem;
}

.plan-card__index { color: #6b6f6a; font-family: var(--font-mono); font-size: 0.61rem; }

.plan-card h3 { max-width: 470px; margin-bottom: 11px; font-size: clamp(1.8rem, 2.5vw, 2.55rem); }
.plan-card__positioning { min-height: 2.7em; margin-bottom: 22px; color: var(--muted); font-size: 0.74rem; line-height: 1.7; }

.plan-price {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  margin: 0 0 18px;
  padding-bottom: 19px;
  border-bottom: 1px solid var(--line);
}

.plan-price__amount {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(3.15rem, 5vw, 4.5rem);
  font-weight: 750;
  letter-spacing: -0.055em;
  line-height: 0.9;
}

.plan-price__period {
  padding-bottom: 3px;
  color: var(--muted);
  font-size: 0.73rem;
  line-height: 1.35;
}

.plan-price__period small { display: block; margin-top: 2px; color: var(--muted-2); font-size: 0.62rem; }

.plan-price__when {
  color: var(--amber-deep) !important;
  font-family: var(--font-mono);
  font-size: 0.54rem !important;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.plan-card--premium .plan-price__when { color: #e9bd60 !important; }

.plan-card__description { margin: 0; color: var(--muted); font-size: 0.81rem; line-height: 1.75; }

.plan-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 0 28px 27px;
}

.plan-use-case {
  margin: 0 0 23px;
  padding: 13px 14px;
  border-left: 2px solid var(--amber);
  background: #fbf8f0;
  color: #4e5a5f;
  font-size: 0.75rem;
  line-height: 1.65;
}

.plan-use-case span {
  display: block;
  margin-bottom: 5px;
  color: var(--amber-deep);
  font-family: var(--font-mono);
  font-size: 0.53rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.feature-label {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.feature-list { margin-bottom: 20px; }

.feature {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 9px;
  padding: 8px 0;
  color: #34464f;
  font-size: 0.78rem;
  line-height: 1.5;
}

.feature__mark {
  display: grid;
  place-items: center;
  width: 17px;
  height: 17px;
  flex: none;
  margin-top: 1px;
  border-radius: 50%;
  background: #e5eee6;
  color: #3d6b4e;
  font-size: 0.62rem;
  font-weight: 700;
}

.feature--planned .feature__mark { background: var(--amber-soft); color: var(--amber-deep); }
.feature__copy { flex: 1 1 160px; min-width: 0; }
.feature__copy small { display: block; margin-top: 3px; color: var(--muted-2); font-size: 0.65rem; line-height: 1.55; }
.feature .tag { margin-left: 26px; }

.plan-card__note { margin: auto 0 20px; padding-top: 16px; border-top: 1px solid var(--line-soft); color: var(--muted); font-size: 0.69rem; line-height: 1.7; }

.button--plan { width: 100%; margin-top: 0; }
.plan-card__cta-note { margin: 10px 0 0; color: var(--muted-2); font-size: 0.61rem; line-height: 1.5; text-align: center; }
.plan-card__demo { margin: 15px 0 0; padding-top: 14px; border-top: 1px solid var(--line-soft); text-align: center; }
.plan-card__demo .text-link { font-size: 0.7rem; }
.plan-card__demo small { display: block; margin-top: 6px; color: var(--muted-2); font-size: 0.59rem; line-height: 1.5; }

.plan-card--premium {
  border-color: #263b4a;
  background: var(--ink);
  color: #eef0e9;
  box-shadow: 0 24px 55px rgba(12, 26, 39, 0.28);
}

.plan-card--premium .plan-card__head { background: linear-gradient(160deg, #102a3d, #0b1b29); }
.plan-card--premium h3 { color: #fff; }
.plan-card--premium .plan-card__code { color: #e9bd60; }
.plan-card--premium .plan-card__index { color: #8ea0a9; }
.plan-card--premium .plan-card__positioning,
.plan-card--premium .plan-card__description { color: #aebdc5; }
.plan-card--premium .plan-price { border-bottom-color: rgba(255, 255, 255, 0.16); }
.plan-card--premium .plan-price__amount { color: var(--amber); }
.plan-card--premium .plan-price__period,
.plan-card--premium .plan-price__period small { color: #aabac2; }
.plan-card--premium .plan-card__body { background: #0a1723; }
.plan-card--premium .plan-use-case { border-left-color: var(--amber); background: rgba(255, 255, 255, 0.055); color: #c3cfd4; }
.plan-card--premium .plan-use-case span { color: #e7bd67; }
.plan-card--premium .feature-label { color: #f3f0e7; }
.plan-card--premium .feature { color: #d5dfe2; }
.plan-card--premium .feature__copy small { color: #91a3ad; }
.plan-card--premium .feature--planned .feature__mark { background: #3a321f; color: #e9bd60; }
.plan-card--premium .feature__mark { background: #1e3a2e; color: #8dc69b; }
.plan-card--premium .plan-card__note { border-top-color: rgba(255, 255, 255, 0.14); color: #9eafb8; }
.plan-card--premium .plan-card__demo { border-top-color: rgba(255, 255, 255, 0.14); }
.plan-card--premium .plan-card__demo .text-link { color: #e9bd60; border-bottom-color: rgba(233, 189, 96, 0.5); }
.plan-card--premium .plan-card__demo small { color: #81949e; }
.plan-card--premium .button--plan { background: var(--amber); border-color: var(--amber); color: var(--ink); }
.plan-card--premium .button--plan:hover { background: #f0be5e; border-color: #f0be5e; color: var(--ink); }
.plan-card--premium .plan-card__cta-note { color: #81949e; }

.pricing-choice {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 28px 0 42px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.pricing-choice p { margin: 0; padding: 17px 20px 17px 0; color: var(--muted); font-size: 0.73rem; line-height: 1.65; }
.pricing-choice p + p { padding-left: 20px; border-left: 1px solid var(--line); }
.pricing-choice strong { color: var(--ink); }

.comparison-block { margin-top: 0; }

.comparison-block__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 35px;
  margin-bottom: 15px;
}

.comparison-block__head h3 { margin: 0; font-size: 1.7rem; }
.comparison-block__head p { max-width: 470px; margin: 0; color: var(--muted); font-size: 0.72rem; line-height: 1.65; }
.comparison-block__head a { color: var(--ink); text-decoration-color: var(--amber); }

.table-scroll {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
}

.table-scroll:focus-visible { outline-offset: 2px; }

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.78rem;
}

.compare-table th,
.compare-table td {
  padding: 13px 17px;
  border-bottom: 1px solid var(--line-soft);
  text-align: left;
  vertical-align: middle;
}

.compare-table thead th {
  background: var(--ink);
  color: #eef0e9;
  font-family: var(--font-display);
  font-size: 0.94rem;
  letter-spacing: -0.01em;
}

.compare-table thead th:first-child { width: 43%; font-family: var(--font-body); font-size: 0.64rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }
.compare-table thead th span { display: block; }
.compare-table thead th small { display: block; margin-top: 2px; color: #9babb4; font-family: var(--font-mono); font-size: 0.57rem; font-weight: 400; }
.compare-table thead th.compare-table__featured { background: #c88f25; color: var(--ink); }
.compare-table thead th.compare-table__featured small { color: #2b1f04; }

.compare-table__badge {
  display: inline-block;
  margin-left: 7px;
  padding: 2px 5px;
  border: 1px solid rgba(12, 26, 39, 0.32);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.25);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.46rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  vertical-align: 2px;
}

.compare-table__when { color: #3b2a06 !important; font-size: 0.55rem !important; font-weight: 650; }

.compare-table tbody th { color: #24353f; font-weight: 600; }
.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td { border-bottom: 0; }

.status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.73rem;
  font-weight: 600;
  line-height: 1.4;
}

.status__mark {
  display: grid;
  place-items: center;
  width: 17px;
  height: 17px;
  flex: none;
  border-radius: 50%;
  font-size: 0.58rem;
  line-height: 1;
}

.status--included { color: #3b614b; }
.status--included .status__mark { background: #e3eee5; color: #3f6d4f; }
.status--planned { color: #7b5a13; }
.status--planned .status__mark { background: var(--amber-soft); color: var(--amber-deep); }
.status--not-included { color: #626a6a; }
.status--not-included .status__mark { background: #f1efea; color: #6f7574; }
.status--neutral { color: #5d6668; }
.status--neutral .status__mark { background: #eef0ee; color: #6f7c80; }

.pricing-notes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 34px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.pricing-notes li { position: relative; padding-left: 14px; color: var(--muted-2); font-size: 0.68rem; line-height: 1.65; }
.pricing-notes li::before { content: "·"; position: absolute; left: 0; color: var(--amber-deep); font-weight: 700; }

/* --------------------------------------------------------------------------
   Product proof
   -------------------------------------------------------------------------- */

.product-section { background: var(--surface); }

.product-proof {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 62px;
  align-items: center;
}

.product-proof__copy h2 { max-width: 500px; }
.product-proof__copy > p { max-width: 465px; color: var(--muted); font-size: 0.86rem; line-height: 1.8; }

.check-list { margin: 22px 0 26px; }

.check-list li {
  position: relative;
  padding: 7px 0 7px 25px;
  color: #344c59;
  font-size: 0.79rem;
  line-height: 1.6;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 7px;
  color: #6e7d49;
  font-weight: 700;
}

.micro { margin: 16px 0 0; color: var(--muted-2); font-size: 0.66rem; line-height: 1.65; }

.product-screen {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #cbd1d0;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.screen-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 35px;
  padding: 8px 13px;
  border-bottom: 1px solid #dbe0df;
  background: #eff2f0;
  color: #5a686d;
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.06em;
}

.screen-dots { color: #a2abad; font-size: 0.42rem; letter-spacing: 1.5px; }
.screen-note { margin-left: auto; color: #46614f; font-size: 0.51rem; letter-spacing: 0; }
.product-screen img { width: 100%; aspect-ratio: 1348 / 926; }

.product-screen figcaption {
  padding: 12px 15px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.65rem;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Integration steps
   -------------------------------------------------------------------------- */

.integration-section {
  background: #e9ece8;
  border-top: 1px solid #d8ddd8;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 12px;
}

.step { padding-top: 20px; border-top: 2px solid var(--ink); }
.step .step-number { display: block; margin-bottom: 23px; }
.step h3 { margin-bottom: 10px; font-size: 1.42rem; }
.step p { margin: 0; color: var(--muted); font-size: 0.77rem; line-height: 1.75; }

.integration-callout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px;
  margin-top: 40px;
  padding: 21px 24px;
  border: 1px solid #d3d8d2;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.58);
}

.integration-callout p { margin: 0; color: var(--muted); font-size: 0.75rem; line-height: 1.7; }
.integration-callout strong { color: var(--ink); }

/* Technical integration variant */

.integration-section--technical { background: var(--surface); border-top: 1px solid var(--line); }

.technical-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.technical-step { padding: 25px 26px; background: #fbfaf6; }
.technical-step .step-number { display: block; margin-bottom: 18px; }
.technical-step h3 { margin-bottom: 9px; font-size: 1.38rem; }
.technical-step p { margin-bottom: 15px; color: var(--muted); font-size: 0.77rem; line-height: 1.75; }
.technical-step code { color: #6e5311; font-family: var(--font-mono); font-size: 0.61rem; overflow-wrap: anywhere; }

.technical-note {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 30px;
  border-top: 1px solid var(--line);
}

.technical-note div { padding: 20px 25px 0 0; }
.technical-note div + div { padding-left: 25px; border-left: 1px solid var(--line); }
.technical-note strong { display: block; margin-bottom: 7px; font-size: 0.76rem; }
.technical-note p { margin: 0; color: var(--muted); font-size: 0.72rem; line-height: 1.7; }
.technical-note a { text-decoration-color: var(--amber); }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

.faq-section { background: var(--paper); }

.faq-layout {
  display: grid;
  grid-template-columns: 0.74fr 1.26fr;
  gap: 72px;
  align-items: start;
}

.faq-intro { position: sticky; top: 110px; }
.faq-intro h2 { max-width: 390px; }
.faq-intro > p { max-width: 365px; color: var(--muted); font-size: 0.82rem; line-height: 1.8; }
.faq-intro .text-link { font-size: 0.76rem; }

.faq-list { border-top: 1px solid var(--line); }

.faq-item { border-bottom: 1px solid var(--line); }

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 19px 0;
  color: var(--ink);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.55;
  list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--amber-deep); }
.faq-item summary:focus-visible { outline-offset: 2px; }

.faq-item__icon {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  flex: none;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  transition: transform 160ms ease;
}

.faq-item[open] .faq-item__icon { transform: rotate(45deg); background: var(--amber); border-color: var(--amber); color: var(--ink); }
.faq-item__answer { padding: 0 40px 20px 0; }
.faq-item__answer p { margin: 0; color: var(--muted); font-size: 0.82rem; line-height: 1.8; }
.faq-item__answer a { color: var(--ink); text-decoration-color: var(--amber); }

/* --------------------------------------------------------------------------
   Retailer page
   -------------------------------------------------------------------------- */

.blueprint-panel { align-self: stretch; }

.blueprint { padding: 15px 16px 8px; }

.blueprint__step {
  display: grid;
  grid-template-columns: 25px minmax(0, 1fr) auto;
  gap: 11px;
  align-items: start;
  padding: 12px 13px;
  border: 1px solid #dfd9cb;
  border-radius: 3px;
  background: #fff;
}

.blueprint__step--accent { border-color: #dfc679; background: #fbf3de; }

.blueprint__number { color: var(--amber-deep); font-family: var(--font-mono); font-size: 0.56rem; font-weight: 700; line-height: 1.8; }
.blueprint__step small { display: block; margin-bottom: 2px; color: var(--muted); font-family: var(--font-mono); font-size: 0.52rem; letter-spacing: 0.04em; text-transform: uppercase; }
.blueprint__step strong { display: block; color: var(--ink); font-size: 0.78rem; line-height: 1.4; }
.blueprint__step code { display: block; margin-top: 3px; color: #6c6f69; font-family: var(--font-mono); font-size: 0.54rem; line-height: 1.4; overflow-wrap: anywhere; }
.blueprint__state { align-self: center; padding: 3px 5px; border: 1px solid #ddd8cd; border-radius: 2px; color: #778185; font-family: var(--font-mono); font-size: 0.46rem; text-align: right; white-space: nowrap; }
.blueprint__connector { padding: 3px 0 3px 24px; color: #b2a77d; font-family: var(--font-mono); font-size: 0.7rem; line-height: 1; }

.retailer-lab {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  overflow: hidden;
  border: 1px solid #cfcabd;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.retailer-lab__steps {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px;
  background: var(--ink);
  color: #dbe4e7;
}

.retailer-lab__steps article { display: grid; grid-template-columns: 25px 1fr; gap: 13px; padding: 20px 0; border-top: 1px solid rgba(255, 255, 255, 0.15); }
.retailer-lab__steps article:first-child { padding-top: 0; border-top: 0; }
.retailer-lab__steps article:last-child { padding-bottom: 0; }
.retailer-lab__steps .step-number { color: #e5bb62; padding-top: 4px; }
.retailer-lab__steps h3 { margin-bottom: 7px; color: #fff; font-size: 1.35rem; }
.retailer-lab__steps p { margin: 0; color: #a9bac2; font-size: 0.73rem; line-height: 1.7; }

.storefront-mock { min-width: 0; padding: 18px; background: #fbf8f0; }
.storefront-mock__top { display: flex; align-items: center; gap: 13px; padding: 0 1px 13px; border-bottom: 1px solid #e4dfd2; color: #60696b; font-family: var(--font-mono); font-size: 0.55rem; letter-spacing: 0.03em; text-transform: uppercase; }
.storefront-mock__top span:first-child { color: var(--ink); font-weight: 700; }
.storefront-mock__top span:nth-child(2) { margin-left: auto; color: var(--muted); }
.storefront-mock__search { display: flex; align-items: center; gap: 10px; margin-top: 15px; padding: 13px 14px; border: 1px solid #d8d2c5; border-radius: 3px; background: #fff; }
.storefront-mock__search > span:first-child { color: #657277; font-size: 1.15rem; }
.storefront-mock__search strong { font-family: var(--font-display); font-size: 1.3rem; }
.storefront-mock__search .chip { margin-left: auto; }
.storefront-mock__search .fake-button { flex: none; padding: 7px 9px; border-radius: 2px; background: var(--ink); color: #fff; font-size: 0.58rem; font-weight: 600; }
.storefront-mock__source { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin: 15px 0 0; padding: 0 2px; color: var(--muted); font-size: 0.63rem; }
.storefront-mock__source .paint-identity { margin-left: auto; }
.storefront-mock__source .paint-identity strong { font-size: 1.08rem; }
.storefront-mock__source .paint-identity small { font-size: 0.58rem; }
.storefront-mock__results { margin-top: 12px; padding: 12px 14px 2px; border: 1px solid #e1dccf; border-radius: 3px; background: #fff; }
.storefront-mock__results .result-row { padding: 10px 0; }
.storefront-mock__results .result-row__copy strong { font-size: 1.04rem; }
.storefront-mock__results .result-row__copy small { font-size: 0.6rem; }
.storefront-mock__results .result-row__delta { font-size: 1.2rem; }
.storefront-mock__foot { display: flex; justify-content: space-between; gap: 15px; padding: 11px 2px 0; color: var(--muted-2); font-family: var(--font-mono); font-size: 0.5rem; letter-spacing: 0.03em; text-transform: uppercase; }

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

.demo-details div { padding: 21px 24px 20px 0; }
.demo-details div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.demo-details h3 { margin-bottom: 7px; font-size: 1.2rem; }
.demo-details p { margin: 0; color: var(--muted); font-size: 0.73rem; line-height: 1.7; }

.paint-identity { display: flex; align-items: center; gap: 12px; min-width: 0; }
.paint-identity__copy { min-width: 0; line-height: 1.25; }
.paint-identity strong { display: block; font-family: var(--font-display); font-size: 1.25rem; letter-spacing: -0.01em; }
.paint-identity small { display: block; margin-top: 3px; color: var(--muted); font-size: 0.65rem; }

/* --------------------------------------------------------------------------
   Premium focus
   -------------------------------------------------------------------------- */

.premium-section { background: var(--paper-deep); border-top: 1px solid var(--line); }

.premium-layout {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 52px;
  align-items: start;
}

.premium-feature { padding: 0 0 24px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.premium-feature__head { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 15px; }
.premium-feature__index { color: #5f6968; font-family: var(--font-mono); font-size: 0.61rem; }
.premium-feature h3 { margin-bottom: 10px; font-size: 1.9rem; }
.premium-feature p { margin-bottom: 11px; color: var(--muted); font-size: 0.8rem; line-height: 1.8; }
.fine-print { color: var(--muted-2) !important; font-size: 0.66rem !important; }

.premium-boundaries { padding: 21px 22px; border: 1px solid #d5cdb8; border-radius: var(--radius-sm); background: rgba(255, 255, 255, 0.55); }
.premium-boundaries h3 { margin-bottom: 7px; font-size: 1.28rem; }
.premium-boundaries .check-list { margin: 0; }
.premium-boundaries .check-list li { font-size: 0.73rem; padding-top: 5px; padding-bottom: 5px; }

.premium-screen { align-self: start; }
.premium-screen img { aspect-ratio: 1348 / 926; object-fit: cover; object-position: top; }

.premium-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 35px;
  margin-top: 45px;
  padding: 31px 33px;
  border-radius: var(--radius);
  background: var(--ink);
  color: #e8edef;
}

.premium-cta h3 { margin-bottom: 8px; color: #fff; font-size: 1.85rem; }
.premium-cta p { max-width: 620px; margin: 0; color: #aebdc5; font-size: 0.77rem; line-height: 1.7; }
.premium-cta > div:last-child { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.premium-cta .text-link { color: #e5bb62; border-bottom-color: rgba(229, 187, 98, 0.5); font-size: 0.68rem; }

/* --------------------------------------------------------------------------
   Final CTA
   -------------------------------------------------------------------------- */

.final-cta {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 15%, rgba(40, 93, 133, 0.5), transparent 44%),
    linear-gradient(135deg, #0b1722, #132c3f);
  color: #f5f1e7;
}

.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(120deg, transparent 0 55%, rgba(231, 173, 60, 0.07) 55% 55.2%, transparent 55.2% 100%);
  pointer-events: none;
}

.final-cta__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: end;
  padding-top: 70px;
  padding-bottom: 70px;
}

.final-cta h2 { max-width: 660px; margin-bottom: 17px; color: #fff; font-size: clamp(2.4rem, 3.8vw, 3.8rem); }
.final-cta p { max-width: 640px; margin: 0; color: #b8c5cb; font-size: 0.88rem; line-height: 1.8; }
.final-cta__actions { display: flex; flex-direction: column; align-items: stretch; gap: 11px; }
.final-cta__actions .button { width: 100%; }
.final-cta__actions p { margin: 3px 0 0; color: #91a4ae; font-size: 0.68rem; text-align: center; }
.final-cta__actions p a { color: #e6bd67; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer { background: #08131d; color: #9fb0b8; padding-top: 46px; padding-bottom: 25px; }

.footer__top {
  display: grid;
  grid-template-columns: 1.1fr 1.5fr;
  gap: 65px;
  padding-bottom: 37px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer .brand { color: #f2efe6; }
.site-footer .brand:hover { color: #fff; }
.footer__brand p { max-width: 400px; margin: 16px 0 12px; color: #8fa2ad; font-size: 0.73rem; line-height: 1.7; }
.footer__mail { color: #e4bb64; font-size: 0.76rem; text-decoration-color: rgba(228, 187, 100, 0.45); }

.footer__columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.footer__columns h3 { margin-bottom: 13px; color: #d5dde0; font-family: var(--font-body); font-size: 0.62rem; font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase; }
.footer__columns a { display: block; padding: 4px 0; color: #92a4ae; font-size: 0.72rem; text-decoration: none; }
.footer__columns a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--amber); text-underline-offset: 5px; }

.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-top: 21px; color: #70848f; font-size: 0.61rem; }
.footer__social { display: flex; flex-wrap: wrap; gap: 16px; }
.footer__social a { color: #91a3ad; text-decoration: none; }
.footer__social a:hover { color: #fff; }


/* --------------------------------------------------------------------------
   Documentation, Swagger and legal pages
   -------------------------------------------------------------------------- */

.page-hero { padding-top: 66px; padding-bottom: 66px; }
.page-hero > p { max-width: 650px; color: var(--muted); }

.docs-heading { padding-top: 52px; padding-bottom: 26px; }
.docs-heading h1 { font-size: clamp(2.8rem, 4.5vw, 4.1rem); margin-bottom: 15px; }
.docs-heading > p { margin: 0; color: var(--muted); }

.docs-layout {
  display: grid;
  grid-template-columns: 205px minmax(0, 1fr);
  gap: 58px;
  padding-bottom: 75px;
}

.docs-nav {
  position: sticky;
  top: 107px;
  align-self: start;
  display: grid;
  gap: 4px;
  border-top: 1px solid var(--line);
  padding-top: 13px;
}

.docs-nav a { color: #526b7e; font-size: 0.77rem; text-decoration: none; padding: 7px 0; }
.docs-nav a:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--amber); }

.docs-content { min-width: 0; max-width: 890px; }
.docs-content section { padding-top: 30px; margin-bottom: 22px; }
.docs-content h2 { font-size: 2.3rem; }
.docs-content h3 { margin-top: 25px; font-size: 1.4rem; }
.docs-content p,
.docs-content li { color: var(--muted); font-size: 0.89rem; }

code { font-family: var(--font-mono); font-size: 0.83em; color: #244e75; overflow-wrap: anywhere; }

pre {
  overflow: auto;
  max-width: 100%;
  margin: 17px 0;
  padding: 21px;
  border: 1px solid #253f55;
  border-radius: var(--radius-sm);
  background: #0d1c29;
  color: #e4eaed;
  font-size: 0.76rem;
  line-height: 1.7;
  tab-size: 2;
}

pre code { white-space: pre; overflow-wrap: normal; color: #e4eaed; font-size: inherit; }

.code-wrap { position: relative; }
.copy { display: none; position: absolute; right: 9px; top: 9px; min-height: 35px; padding: 5px 10px; border: 1px solid #60778b; border-radius: 3px; background: #223e55; color: #fff; font-size: 0.66rem; }
.js .copy { display: block; }
.code-wrap pre { padding-top: 53px; }

.notice { padding: 15px 17px; border-left: 2px solid var(--amber); background: var(--amber-soft); color: #655b45 !important; }

.table-wrap { overflow: auto; margin: 19px 0; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; }
.table-wrap table { width: 100%; min-width: 540px; border-collapse: collapse; font-size: 0.78rem; }
.table-wrap th,
.table-wrap td { padding: 13px 15px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.table-wrap th { background: #edf0ed; color: #244158; font-weight: 650; }
.table-wrap td { color: var(--muted); }
.table-wrap tr:last-child td { border-bottom: 0; }

.badge { display: inline-block; margin-right: 9px; padding: 4px 7px; border-radius: 3px; background: #e5f1e9; color: #2c6642; font-family: var(--font-mono); font-size: 0.62rem; font-weight: 650; }
.contract { padding: 22px 0; border-top: 1px solid var(--line); }
.contract h3 { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.contract h3 code { font-size: 0.78rem; }

.swagger-shell { padding-top: 38px; padding-bottom: 55px; }
.swagger-shell h1 { font-size: clamp(2.4rem, 3.6vw, 3.2rem); }
.swagger-surface { margin-top: 28px; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: #222; }
.swagger-surface .swagger-ui .scheme-container { box-shadow: none; }
.swagger-surface .auth-wrapper { display: none !important; }
.swagger-surface .swagger-ui .info hgroup.main a { display: none; }

.legal { max-width: 850px; padding-top: 62px; padding-bottom: 68px; }
.legal h1 { font-size: clamp(2.7rem, 4.5vw, 3.5rem); }
.legal h2 { margin-top: 34px; font-size: 2rem; }
.legal p { color: var(--muted); font-size: 0.88rem; }

/* Legal documents: shared docs layout with document metadata and draft gate. */

.legal-heading {
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 58px;
  padding-bottom: 6px;
}

.legal-heading h1 {
  max-width: 900px;
  margin-bottom: 17px;
  font-size: clamp(2.5rem, 4.2vw, 3.5rem);
}

.legal-lead {
  max-width: 760px;
  margin-bottom: 25px;
  color: var(--muted);
  font-size: 0.96rem;
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 30px;
  margin: 0 0 20px;
  padding: 15px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.legal-meta div { min-width: 112px; }
.legal-meta dt {
  margin-bottom: 3px;
  color: #526b7e;
  font-size: 0.62rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.legal-meta dd { margin: 0; color: var(--text); font-size: 0.78rem; }
.legal-meta code { font-size: 0.72rem; }
.legal-hash { color: #244e75; }

.legal-hash-details {
  max-width: 760px;
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 0.76rem;
}
.legal-hash-details summary {
  width: fit-content;
  cursor: pointer;
  color: #405c6e;
  text-decoration: underline;
  text-decoration-color: var(--amber);
  text-underline-offset: 4px;
}
.legal-hash-details p { margin: 10px 0 0; color: var(--muted); font-size: 0.76rem; }
.legal-hash-details code { overflow-wrap: anywhere; }

.legal-layout { padding-top: 24px; }

.legal-content section { scroll-margin-top: 105px; }
.legal-content h2 { font-size: clamp(1.8rem, 2.8vw, 2.3rem); }
.legal-content h3 { margin-top: 24px; font-size: 1.32rem; }
.legal-content p,
.legal-content li { color: var(--muted); font-size: 0.89rem; }
.legal-content ul { margin: 0 0 22px; padding-left: 22px; }
.legal-content li { margin-bottom: 7px; }
.legal-content li strong,
.legal-content p strong { color: var(--text); }
.legal-content a { text-decoration-color: rgba(131, 90, 8, 0.45); }
.legal-content a:hover { color: var(--amber-deep); }
.legal-content address { margin: 0 0 22px; color: var(--muted); font-size: 0.89rem; font-style: normal; line-height: 1.8; }

.legal-status {
  margin: 0 0 28px;
  padding: 20px 22px;
  border: 1px solid #e2c98d;
  border-left: 3px solid var(--amber);
  border-radius: var(--radius-sm);
  background: var(--amber-soft);
}
.legal-status h2 {
  margin: 0 0 10px;
  color: #5e4518;
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.legal-status p,
.legal-status li { color: #655b45; font-size: 0.8rem; }
.legal-status p { margin-bottom: 10px; }
.legal-status ul { margin: 0; padding-left: 20px; }
.legal-status li { margin-bottom: 3px; }

.legal-callout {
  margin: 0 0 25px;
  padding: 18px 20px;
  border-left: 3px solid var(--amber);
  background: #f8f4e8;
}
.legal-callout--warning { border-left-color: var(--red); background: #f8efec; }
.legal-callout h3 { margin: 0 0 10px; font-family: var(--font-body); font-size: 0.76rem; font-weight: 750; letter-spacing: 0.06em; text-transform: uppercase; }
.legal-callout p,
.legal-callout li { color: var(--muted); font-size: 0.84rem; }
.legal-callout p:last-child { margin-bottom: 0; }

.legal-facts {
  display: grid;
  gap: 0;
  margin: 0 0 22px;
  border-top: 1px solid var(--line);
}
.legal-facts div {
  display: grid;
  grid-template-columns: minmax(150px, 0.38fr) minmax(0, 1fr);
  gap: 20px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line-soft);
}
.legal-facts dt { color: #405c6e; font-size: 0.72rem; font-weight: 650; }
.legal-facts dd { margin: 0; color: var(--muted); font-size: 0.8rem; overflow-wrap: anywhere; }

.legal-table table { min-width: 720px; }
.legal-table td { font-size: 0.76rem; }

.legal-related {
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.legal-related h2 {
  margin-bottom: 10px;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.legal-related ul { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; padding: 0; list-style: none; }
.legal-related li { margin: 0; }
.legal-related a { color: #405c6e; font-size: 0.8rem; }
.legal-archive-note { margin: 0 0 22px; font-size: 0.76rem; color: var(--muted); }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1180px) {
  .wrap { padding-left: 32px; padding-right: 32px; }
  .header-inner { gap: 21px; }
  .nav { gap: 19px; }
  .header-cta { display: none; }
  .nav-contact { display: inline-flex; color: var(--ink) !important; font-weight: 700; }
  .hero__inner { gap: 38px; }
  .hero h1 { font-size: clamp(3rem, 5.4vw, 4.5rem); }
  .catalogue-band__inner { grid-template-columns: 1.05fr 1.3fr; gap: 30px; }
  .catalogue-band__link { grid-column: 1 / -1; align-self: auto; padding: 0; }
  .plan-card__head { padding-left: 24px; padding-right: 24px; }
  .plan-card__body { padding-left: 24px; padding-right: 24px; }
  .faq-layout { gap: 48px; }
  .api-capabilities div { padding-right: 16px; }
  .api-capabilities div + div { padding-left: 16px; }
}

@media (min-width: 761px) and (max-width: 1180px) {
  .nav-contact {
    align-items: center;
    min-height: 38px;
    padding: 8px 13px;
    border: 1px solid var(--amber);
    border-radius: var(--radius-sm);
    background: var(--amber);
    color: var(--ink) !important;
  }
  .nav-contact:hover { background: #f0be5e; border-color: #f0be5e; text-decoration: none; }
}

@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; gap: 38px; padding-top: 55px; padding-bottom: 60px; }
  .hero__copy { max-width: 720px; }
  .integration-panel,
  .blueprint-panel { width: 100%; max-width: 700px; }
  .section-heading--split { grid-template-columns: 1fr; gap: 18px; align-items: start; }
  .section-heading > p,
  .section-heading--split > p { max-width: 680px; margin-top: 0; }
  .demo-rail { grid-template-columns: 1fr; }
  .demo-step + .demo-step { border-left: 0; border-top: 1px solid var(--line); }
  .demo-step { padding: 25px; }
  .benefit-grid { grid-template-columns: 1fr 1fr; }
  .independence { grid-template-columns: 0.8fr 1.2fr; gap: 35px; }
  .api-section__inner { grid-template-columns: 1fr; gap: 27px; }
  .api-console { max-width: 760px; }
  .api-capabilities { grid-template-columns: 1fr 1fr; }
  .api-capabilities div { padding: 18px 20px 0 0; }
  .api-capabilities div + div { padding-left: 0; border-left: 0; }
  .api-capabilities div:nth-child(2n) { padding-left: 20px; border-left: 1px solid rgba(255, 255, 255, 0.16); }
  .api-detail-grid { grid-template-columns: 1fr; }
  .api-facts { grid-template-columns: 1fr 1fr; }
  .api-facts div:nth-child(3) { padding-left: 0; border-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.16); }
  .api-facts div:nth-child(4) { border-top: 1px solid rgba(255, 255, 255, 0.16); }
  .product-proof { grid-template-columns: 1fr; gap: 35px; }
  .product-proof__copy { max-width: 680px; }
  .product-screen--proof { max-width: 760px; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .plan-grid { gap: 16px; }
  .retailer-lab { grid-template-columns: 1fr; }
  .retailer-lab__steps { display: grid; grid-template-columns: 1fr 1fr; gap: 0 27px; }
  .retailer-lab__steps article { padding: 0 0 22px; }
  .retailer-lab__steps article:nth-child(2) { padding-top: 0; border-top: 0; }
  .retailer-lab__steps article:last-child { padding-bottom: 0; }
  .premium-layout { grid-template-columns: 1fr; gap: 35px; }
  .premium-copy { max-width: 760px; }
  .premium-screen { max-width: 760px; }
  .faq-layout { grid-template-columns: 1fr; gap: 28px; }
  .faq-intro { position: static; }
  .faq-intro h2 { max-width: 600px; }
  .final-cta__inner { grid-template-columns: 1fr; gap: 29px; align-items: start; }
  .final-cta__actions { max-width: 500px; }
  .footer__top { grid-template-columns: 1fr; gap: 32px; }
  .docs-layout { grid-template-columns: 1fr; gap: 17px; }
  .docs-nav { position: static; display: flex; flex-wrap: wrap; gap: 2px 18px; }
  .legal-heading { padding-top: 45px; }
  .legal-layout { padding-top: 20px; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 84px; }
  .wrap { padding-left: 22px; padding-right: 22px; }
  .desktop-only-break { display: none; }
  .header-inner { min-height: 74px; flex-wrap: wrap; padding-top: 13px; padding-bottom: 13px; gap: 12px; }
  .brand { font-size: 1.15rem; }
  .mark { width: 26px; height: 30px; font-size: 21px; }
  .nav-toggle { display: block; }
  .nav { width: 100%; flex-direction: column; align-items: stretch; gap: 0; margin: 0; border-top: 1px solid var(--line); padding-top: 4px; }
  .nav a { width: 100%; padding: 12px 0; border-bottom: 1px solid var(--line-soft); font-size: 0.84rem; }
  .nav a:last-child { border-bottom: 0; }
  .nav a[aria-current="page"] { text-underline-offset: 6px; }
  .nav-contact { display: block; color: var(--ink) !important; font-weight: 700; }
  .js .nav[hidden] { display: none; }
  .hero__inner { padding-top: 41px; padding-bottom: 45px; gap: 32px; }
  .hero h1 { font-size: clamp(2.8rem, 11.5vw, 4.05rem); }
  .hero__lede { font-size: 0.93rem; }
  .hero__contact { font-size: 0.73rem; }
  .hero__footnote { margin-top: 23px; }
  .hero--retailer .hero__inner { padding-top: 34px; padding-bottom: 45px; }
  .breadcrumb-wrap { padding-top: 14px; }
  .integration-panel__bar { flex-wrap: wrap; gap: 6px 10px; }
  .integration-panel__mode { margin-left: 0; }
  .integration-panel__bar .tag { margin-left: auto; }
  .integration-panel__body { padding-left: 13px; padding-right: 13px; }
  .store-search { margin-left: 13px; margin-right: 13px; }
  .integration-panel__mapping { margin-left: 13px; margin-right: 13px; }
  .integration-panel figcaption,
  .blueprint-panel figcaption { padding-left: 13px; padding-right: 13px; }
  .result-row__catalogue { display: none; }
  .result-row__copy strong { font-size: 1rem; }
  .result-row__copy small { font-size: 0.61rem; }
  .result-row__delta { font-size: 1.16rem; min-width: 45px; }
  .catalogue-band__inner { grid-template-columns: 1fr; gap: 24px; padding-top: 30px; padding-bottom: 31px; }
  .catalogue-band__intro h2 { max-width: none; }
  .catalogue-stats { gap: 18px 20px; }
  .catalogue-stats dt { font-size: 1.9rem; }
  .catalogue-stats div { padding-left: 12px; }
  .catalogue-band__link { grid-column: auto; }
  .section { padding-top: 60px; padding-bottom: 60px; }
  .section-heading { margin-bottom: 30px; }
  .section-heading h2 { max-width: 620px; }
  .section-heading--split > p { font-size: 0.85rem; }
  .demo-step { padding: 23px 21px; }
  .demo-step h3 { font-size: 1.45rem; }
  .demo-step__top { margin-bottom: 18px; }
  .limit-note { padding: 15px 16px; }
  .demo-footer { display: block; margin-top: 18px; }
  .demo-footer .text-link { margin-top: 13px; }
  .benefit-grid { grid-template-columns: 1fr; }
  .benefit { min-height: 0; padding: 24px 22px; }
  .benefit h3 { font-size: 1.55rem; }
  .independence { grid-template-columns: 1fr; gap: 20px; padding: 26px 23px; }
  .independence h3 { font-size: 2.15rem; }
  .api-section__inner { gap: 22px; }
  .api-console pre { font-size: 0.62rem; padding: 20px 14px; }
  .api-capabilities { grid-template-columns: 1fr; }
  .api-capabilities div,
  .api-capabilities div:nth-child(2n) { padding: 16px 0; border-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.16); }
  .api-capabilities div:first-child { border-top: 0; }
  .api-detail { padding: 22px 20px; }
  .api-facts { grid-template-columns: 1fr; }
  .api-facts div,
  .api-facts div + div,
  .api-facts div:nth-child(3),
  .api-facts div:nth-child(4) { padding: 16px 0; border-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.16); }
  .api-facts div:first-child { border-top: 0; }
  .api-doc-row { display: block; }
  .api-doc-row .button { margin-top: 17px; }
  .plan-grid { grid-template-columns: 1fr; }
  .plan-card__head { padding: 24px 21px 20px; }
  .plan-card__body { padding: 0 21px 23px; }
  .plan-card h3 { font-size: 2rem; }
  .plan-card__positioning { min-height: 0; }
  .plan-price__amount { font-size: 4rem; }
  .pricing-choice { grid-template-columns: 1fr; margin-bottom: 30px; }
  .pricing-choice p { padding: 14px 0; }
  .pricing-choice p + p { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .pricing-notes { grid-template-columns: 1fr; gap: 6px; }
  .comparison-block__head { display: block; }
  .comparison-block__head p { margin-top: 9px; }
  .table-scroll { overflow: visible; border: 0; background: transparent; }
  .compare-table { min-width: 0; font-size: 0.75rem; }
  .compare-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
  .compare-table tbody { display: block; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; background: #fff; }
  .compare-table tbody tr { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); }
  .compare-table tbody tr:last-child { border-bottom: 0; }
  .compare-table tbody th { grid-column: 1 / -1; padding: 13px 14px 10px; background: #f3f0e8; border-bottom: 1px solid var(--line-soft); font-size: 0.74rem; }
  .compare-table tbody td { display: block; padding: 11px 14px 13px; border-bottom: 0; }
  .compare-table tbody td:first-of-type { border-right: 1px solid var(--line-soft); }
  .compare-table tbody td::before { content: attr(data-label); display: block; margin-bottom: 4px; color: var(--amber-deep); font-family: var(--font-mono); font-size: 0.54rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
  .status { font-size: 0.69rem; }
  .product-proof { gap: 28px; }
  .product-screen figcaption { font-size: 0.63rem; }
  .steps-grid { grid-template-columns: 1fr 1fr; gap: 22px 25px; }
  .integration-callout { grid-template-columns: 1fr; gap: 13px; }
  .technical-grid { grid-template-columns: 1fr; }
  .technical-note { grid-template-columns: 1fr; }
  .technical-note div,
  .technical-note div + div { padding: 16px 0; border-left: 0; border-top: 1px solid var(--line); }
  .technical-note div:first-child { border-top: 0; padding-top: 18px; }
  .retailer-lab__steps { display: block; padding: 24px 21px; }
  .retailer-lab__steps article { padding: 18px 0; border-top: 1px solid rgba(255, 255, 255, 0.15); }
  .retailer-lab__steps article:first-child { padding-top: 0; }
  .retailer-lab__steps article:last-child { padding-bottom: 0; border-bottom: 0; }
  .retailer-lab__steps article:nth-child(2) { padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.15); }
  .storefront-mock { padding: 14px; }
  .storefront-mock__top { flex-wrap: wrap; gap: 5px 10px; }
  .storefront-mock__top span:nth-child(2) { margin-left: 0; }
  .storefront-mock__search { flex-wrap: wrap; gap: 8px; }
  .storefront-mock__search .chip { margin-left: 0; }
  .storefront-mock__search .fake-button { margin-left: auto; }
  .storefront-mock__source { display: block; }
  .storefront-mock__source .paint-identity { margin: 8px 0 0; }
  .storefront-mock__foot { display: block; line-height: 1.7; }
  .demo-details { grid-template-columns: 1fr; }
  .demo-details div,
  .demo-details div + div { padding: 17px 0; border-left: 0; border-top: 1px solid var(--line); }
  .demo-details div:first-child { border-top: 0; }
  .premium-feature h3 { font-size: 1.72rem; }
  .premium-cta { grid-template-columns: 1fr; gap: 22px; padding: 25px 22px; }
  .premium-cta > div:last-child { align-items: stretch; }
  .premium-cta .text-link { align-self: center; }
  .faq-item summary { padding: 16px 0; font-size: 0.85rem; }
  .faq-item__answer { padding-right: 0; }
  .final-cta__inner { padding-top: 48px; padding-bottom: 48px; gap: 24px; }
  .final-cta__actions { max-width: none; }
  .footer__top { gap: 27px; }
  .footer__columns { grid-template-columns: 1fr 1fr; gap: 22px; }
  .footer__columns > div:last-child { grid-column: 1 / -1; }
  .footer__bottom { display: block; }
  .footer__social { margin-top: 10px; }
  .docs-heading { padding-top: 38px; }
  .docs-heading h1 { font-size: 2.65rem; }
  .docs-nav { gap: 2px 14px; }
  .docs-nav a { font-size: 0.75rem; }
  .docs-content h2 { font-size: 2rem; }
  .docs-content h3 { font-size: 1.32rem; }
  .docs-content p,
  .docs-content li { font-size: 0.84rem; }
  .swagger-shell h1 { font-size: 2.35rem; }
  .page-hero { padding-top: 42px; padding-bottom: 45px; }
  .legal { padding-top: 40px; }
  .legal h1 { font-size: 2.7rem; }
  .legal-heading { padding-top: 38px; }
  .legal-heading h1 { font-size: 2.5rem; }
  .legal-lead { font-size: 0.9rem; }
  .legal-meta { gap: 10px 20px; }
  .legal-meta div { min-width: 96px; }
  .legal-facts div { grid-template-columns: 1fr; gap: 3px; }
  .legal-status { padding: 17px 18px; }
  .legal-status h2 { font-size: 0.74rem; }
  .legal-callout h3 { font-size: 0.76rem; }
  .legal-related h2 { font-size: 0.68rem; }
  .legal-table table { min-width: 640px; }
}

@media (max-width: 500px) {
  .actions { flex-direction: column; align-items: stretch; }
  .actions .button { width: 100%; }
  .hero__contact { margin-top: 15px; }
  .hero__footnote { font-size: 0.69rem; }
  .store-search { gap: 9px; }
  .store-search .chip { font-size: 0.56rem; }
  .store-search__copy strong { font-size: 1.05rem; }
  .result-row { gap: 9px; }
  .result-row .swatch { width: 31px; height: 34px; }
  .result-row__copy strong { font-size: 0.94rem; }
  .result-row__copy small { font-size: 0.58rem; }
  .result-row__delta { font-size: 1.05rem; }
  .catalogue-stats { grid-template-columns: 1fr 1fr; }
  .catalogue-stats dt { font-size: 1.7rem; }
  .steps-grid { grid-template-columns: 1fr; }
  .step { padding-top: 17px; }
  .step h3 { font-size: 1.4rem; }
  .footer__columns { grid-template-columns: 1fr; }
  .footer__columns > div:last-child { grid-column: auto; }
  .footer__bottom { font-size: 0.59rem; }
  .plan-price__amount { font-size: 3.45rem; }
  .plan-card h3 { font-size: 1.8rem; }
  .premium-feature__head { align-items: flex-start; }
  .blueprint-panel { width: 100%; }
  .blueprint__step { grid-template-columns: 20px minmax(0, 1fr); }
  .blueprint__state { display: none; }
  .blueprint__step strong { font-size: 0.73rem; }
  .integration-panel__mapping p { font-size: 0.66rem; }
  .integration-panel__bar { font-size: 0.54rem; }
  .tag { font-size: 0.55rem; }
  .docs-content h2 { font-size: 1.8rem; }
  .copy { font-size: 0.6rem; }
  .legal-heading h1 { font-size: 2.2rem; }
  .legal-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .legal-meta div { min-width: 0; }
  .legal-content h2 { font-size: 1.75rem; }
  .legal-status h2 { font-size: 0.74rem; }
  .legal-callout h3 { font-size: 0.76rem; }
  .legal-related h2 { font-size: 0.68rem; }
  .legal-facts dt { font-size: 0.68rem; }
}

@media print {
  .site-header,
  .site-footer,
  .skip,
  .legal-toc,
  .legal-related,
  .legal-hash-details { display: none !important; }
  body { background: #fff; }
  .wrap { max-width: none; padding-left: 0; padding-right: 0; }
  .legal-heading { padding-top: 0; }
  .docs-layout { display: block; padding-bottom: 0; }
  .legal-content { max-width: none; }
  .legal-content a { color: inherit; text-decoration: none; }
  .legal-table table { min-width: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
