/* Ancilair landing — values follow the design reference (dark #0b0f16, accent #ffb020). */

:root {
  --bg: #f4f0e6;
  --text: #1c1915;
  --muted: #3f3a33;
  --faint: #5e574c;
  --mid: #2c2823;
  --line: #e3d9c6;
  --line-2: #d3c6ae;
  --line-3: #c9bba0;
  --line-soft: #efe6d6;
  --arrow: #8d8374;
  --card: #fffdf8;
  --elev: #fffaf2;
  --accent: #a86b08;
  --accent-hover: #8a5604;
  --ok: #157a45;
  --ink: #0b0f16;
  --on-dark: #f4f0e6;
  --btn-dark-hover: #2a241c;
  --grid-line: rgba(28, 25, 21, 0.06);
  --cta-sub: #3b3a2a;
  --shadow: 0 24px 48px rgba(60, 40, 10, 0.08);
  --pad: 80px;
  --sans: "IBM Plex Sans", ui-sans-serif, system-ui, sans-serif;
  --display: "Bricolage Grotesque", "IBM Plex Sans", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --header-h: 80px;
  color-scheme: light;
  accent-color: var(--accent);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
  color: var(--text);
}

body {
  margin: 0;
  min-width: 0;
  max-width: 100%;
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

h1,
h2,
h3,
p,
li,
td,
th,
a,
code,
pre {
  overflow-wrap: break-word;
}

img,
svg {
  display: block;
}

h1,
h2,
h3 {
  font-family: var(--display);
  letter-spacing: -0.02em;
  font-weight: 600;
  margin: 0;
}

p {
  margin: 0;
}

ul,
ol,
dl {
  margin: 0;
  padding: 0;
}

button,
input {
  font: inherit;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: var(--accent-hover);
}

code,
pre,
.mono {
  font-family: var(--mono);
  overflow-wrap: anywhere;
  word-break: break-word;
}

::selection {
  background: var(--accent);
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.btn-primary:focus-visible,
.cta-band .btn:focus-visible {
  outline-color: var(--text);
}

main:focus {
  outline: none;
}

main:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

[id] {
  scroll-margin-top: calc(var(--header-h) + 16px);
}

.visually-hidden:where(:not(:focus-within, :active)) {
  position: absolute !important;
  clip-path: inset(50%) !important;
  overflow: hidden !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  border: 0 !important;
  white-space: nowrap !important;
}

.skip-link {
  position: fixed;
  left: 12px;
  top: 12px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--accent);
  color: var(--ink);
  font-weight: 600;
  border-radius: 8px;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: none;
  color: var(--ink);
}

.grid-bg {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9) 0px, rgba(0, 0, 0, 0) 900px);
  pointer-events: none;
  z-index: 0;
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
  min-width: 0;
  max-width: 100%;
}

.wrap {
  width: min(1440px, 100%);
  max-width: 100%;
  min-width: 0;
  margin-inline: auto;
  padding-inline: var(--pad);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  height: var(--header-h);
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.header-bar {
  height: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  justify-self: start;
}

.logo:hover {
  color: var(--text);
}

.mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--ink);
}

.mark svg {
  width: 18px;
  height: 18px;
}

.logo-word {
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
  font-size: 15px;
  font-weight: 500;
}

.nav-links a {
  color: var(--mid);
}

.nav-links a:hover {
  color: var(--accent-hover);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  justify-self: end;
  min-width: 0;
}

.mobile-actions {
  display: none;
}

.menu-toggle {
  display: none;
  flex: 0 0 44px;
  width: 44px;
  min-width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  background: transparent;
  color: var(--text);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.burger,
.burger::before,
.burger::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  position: relative;
  border-radius: 1px;
}

.burger::before,
.burger::after {
  content: "";
  position: absolute;
  left: 0;
}

.burger::before {
  top: -6px;
}

.burger::after {
  top: 6px;
}

.nav-open .burger {
  background: transparent;
}

.nav-open .burger::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-open .burger::after {
  top: 0;
  transform: rotate(-45deg);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn-ghost {
  color: var(--text);
  border-color: var(--line-2);
  background: transparent;
}

.btn-ghost:hover {
  color: var(--text);
  border-color: var(--mid);
}

.btn-primary {
  padding: 0 20px;
  background: var(--accent);
  color: var(--ink);
  font-weight: 600;
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: var(--ink);
}

.btn-lg {
  height: 52px;
  padding: 0 24px;
  border-radius: 10px;
  font-size: 16px;
}

.btn-dark {
  height: 56px;
  padding: 0 28px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--on-dark);
  font-size: 16px;
  font-weight: 600;
}

.btn-dark:hover {
  color: var(--on-dark);
  background: var(--btn-dark-hover);
}

.icon {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero {
  padding: 96px var(--pad) 80px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 64px;
  align-items: center;
  width: min(1440px, 100%);
  max-width: 100%;
  min-width: 0;
  margin-inline: auto;
}

.hero-copy,
.stack {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.hero-copy > * {
  min-width: 0;
  max-width: 100%;
}

.kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.kicker .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.hero h1 {
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1.02;
  text-wrap: balance;
}

.lede {
  font-size: 20px;
  line-height: 1.5;
  color: var(--muted);
  max-width: 560px;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 8px;
}

.checks {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  list-style: none;
  font-size: 14px;
  color: var(--faint);
  margin-top: 4px;
}

.checks li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.checks svg {
  width: 16px;
  height: 16px;
  stroke-width: 2;
  flex-shrink: 0;
}

.terminal {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line-3);
  border-radius: 16px;
  background: var(--card);
  box-shadow: var(--shadow);
  overflow: hidden;
  min-width: 0;
  margin: 0;
}

.terminal-bar,
.terminal-foot {
  height: 44px;
  box-sizing: border-box;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  color: var(--faint);
}

.terminal-foot {
  height: 40px;
  border-bottom: 0;
  border-top: 1px solid var(--line);
  justify-content: flex-start;
  gap: 16px;
}

.live {
  display: flex;
  align-items: center;
  gap: 8px;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ok);
}

.transcript {
  list-style: none;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-size: 14px;
  line-height: 1.55;
}

.transcript li {
  display: flex;
  gap: 12px;
  min-width: 0;
}

.who {
  flex: 0 0 64px;
  color: var(--faint);
}

.who-tool {
  color: var(--accent);
}

.transcript p {
  min-width: 0;
}

.transcript pre {
  margin: 0;
  white-space: pre-wrap;
  min-width: 0;
}

.call {
  color: var(--mid);
}

.out {
  color: var(--faint);
}

.stats {
  width: min(1440px, 100%);
  max-width: 100%;
  min-width: 0;
  margin-inline: auto;
  padding: 28px var(--pad);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat strong {
  font-family: var(--display);
  font-size: clamp(28px, 2.5vw, 36px);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.stat span {
  font-size: 14px;
  color: var(--faint);
}

.band {
  width: min(1440px, 100%);
  max-width: 100%;
  min-width: 0;
  margin-inline: auto;
  padding: 0 var(--pad) 112px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.band-how {
  padding-top: 112px;
  padding-bottom: 96px;
  gap: 56px;
}

.band-platform {
  gap: 48px;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
}

.section-head h2,
.h-lg,
.h-md {
  max-width: 720px;
  text-wrap: balance;
}

.h-lg {
  font-size: clamp(32px, 3.4vw, 48px);
  line-height: 1.08;
}

.section-head .narrow {
  max-width: 640px;
}

.section-copy,
.prose-lede {
  font-size: 17px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 480px;
  text-wrap: pretty;
}

.section-head .section-copy {
  margin: 0;
}

.h-md {
  font-size: clamp(28px, 2.8vw, 40px);
  line-height: 1.1;
  text-wrap: balance;
}

.subhead {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.subhead p {
  font-size: 16px;
  color: var(--faint);
}

.path {
  color: var(--mid);
}

.more-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
  flex-shrink: 0;
}

.more-link svg {
  width: 16px;
  height: 16px;
  stroke-width: 2.2;
}

.grid-3,
.grid-4,
.grid-2 {
  display: grid;
  gap: 24px;
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 64px;
  align-items: start;
}

.grid-2.tight {
  gap: 24px;
}

.stack.compact {
  gap: 16px;
}

figure {
  margin: 0;
}

pre code {
  font: inherit;
  color: inherit;
}

.grid-2.center {
  align-items: center;
}

.card,
.step-card,
.tool-card,
.feature-card,
.price-card,
.duo-card {
  box-sizing: border-box;
  border: 1px solid var(--line);
  background: var(--card);
}

.step-card {
  padding: 32px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 300px;
}

.step-kicker {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--accent);
}

.step-card h3,
.duo-card h3 {
  font-size: 26px;
  line-height: 1.15;
}

.step-card p,
.body {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

.tool-card {
  padding: 22px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 188px;
  color: var(--text);
}

.tool-top,
.tool-meta,
.tool-perf {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.tool-cat {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
}

.pill {
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  color: var(--muted);
}

.tool-name {
  font-size: 17px;
  font-weight: 500;
  color: var(--accent);
}

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

.tool-meta,
.tool-perf {
  font-size: 13px;
  color: var(--faint);
}

.tool-perf {
  font-size: 12px;
}

.tool-meta {
  margin-top: auto;
}

.feature-card {
  padding: 24px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 236px;
}

.tag {
  align-self: flex-start;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 6px;
  background: var(--elev);
  color: var(--accent);
}

.feature-card h3 {
  margin-top: 4px;
  font-size: 19px;
  line-height: 1.2;
}

.feature-card p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}

.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.copy-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.copy-stack .body-lg {
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
  text-wrap: pretty;
}

.em {
  color: var(--text);
}

.route-flags,
.commands {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.route-flags div,
.commands div {
  display: flex;
  gap: 12px;
  font-size: 15px;
  color: var(--mid);
}

.route-flags dt,
.commands dt {
  flex-shrink: 0;
  color: var(--accent);
  font-weight: 400;
}

.route-flags dd,
.commands dd {
  margin: 0;
}

.ladder {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ladder-step {
  box-sizing: border-box;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
  display: flex;
  align-items: center;
  gap: 16px;
}

.ladder-step.metered {
  border-color: var(--line-3);
  background: var(--elev);
}

.step-num {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--line-3);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
  flex-shrink: 0;
}

.step-num.first {
  background: var(--accent);
  color: var(--ink);
}

.ladder-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.ladder-copy strong {
  font-weight: 600;
}

.ladder-copy span,
.ladder-note {
  font-size: 13px;
  line-height: 1.55;
  color: var(--faint);
}

.ladder-price {
  margin-left: auto;
  font-size: 13px;
  color: var(--ok);
  flex-shrink: 0;
}

.ladder-price.rate {
  color: var(--accent);
}

.ladder-arrow {
  height: 20px;
  display: flex;
  justify-content: center;
  color: var(--arrow);
}

.ladder-arrow svg {
  width: 16px;
  height: 20px;
  stroke-width: 2;
}

.ladder-note {
  margin-top: 12px;
}

.fine {
  font-size: 15px;
  line-height: 1.6;
  color: var(--faint);
}

.billing-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: 64px;
  align-items: start;
}

.sheet-wrap,
.compare-scroll {
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: auto;
  background: var(--card);
  max-width: 100%;
  min-width: 0;
}

.sheet,
.compare,
.headers {
  width: 100%;
  border-collapse: collapse;
}

.sheet th,
.sheet td,
.compare th,
.compare td {
  padding: 16px 28px;
  text-align: left;
  vertical-align: middle;
  font-weight: 400;
}

.sheet thead th {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
  border-bottom: 1px solid var(--line);
}

.sheet tbody td {
  border-bottom: 1px solid var(--line-soft);
  font-size: 15px;
}

.sheet tbody tr:last-child td {
  border-bottom: 0;
}

.sheet th:last-child,
.sheet td:last-child {
  text-align: right;
  width: 180px;
}

.event {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.event small {
  font-size: 13px;
  color: var(--faint);
}

.charge-accent {
  color: var(--accent);
}

.charge-ok {
  color: var(--ok);
}

.charge-ink {
  color: var(--text);
}

.code-panel {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line-3);
  border-radius: 16px;
  background: var(--card);
  overflow: hidden;
  min-width: 0;
  margin: 0;
}

.code-bar {
  height: 44px;
  box-sizing: border-box;
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--faint);
}

.code-tab.active {
  color: var(--accent);
  box-shadow: inset 0 -2px 0 var(--accent);
  height: 44px;
  display: flex;
  align-items: center;
}

.code-panel pre,
.inline-code {
  margin: 0;
  padding: 24px;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--mid);
  overflow-x: auto;
  max-width: 100%;
  min-width: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.inline-code {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
  font-size: 13px;
  line-height: 1.6;
}

.cmt {
  color: var(--faint);
}

.checks-lg {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 15px;
  color: var(--mid);
}

.checks-lg li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.checks-lg svg {
  width: 18px;
  height: 18px;
  stroke: var(--accent);
  stroke-width: 2.2;
  flex-shrink: 0;
  margin-top: 2px;
}

.duo-card {
  padding: 40px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.duo-card h3 {
  font-size: 28px;
  line-height: 1.15;
}

.duo-card .more-link {
  margin-top: auto;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  font-size: 12px;
}

.chips li,
.pills li {
  padding: 6px 10px;
  border-radius: 6px;
  background: var(--elev);
  color: var(--mid);
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  font-size: 14px;
}

.pills-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
}

.compare {
  min-width: 760px;
}

.compare thead th {
  padding: 18px 28px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
  border-bottom: 1px solid var(--line);
}

.compare thead th.us,
.compare td.us {
  color: var(--accent);
}

.compare td.us {
  color: var(--text);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  font-size: 15px;
}

.compare tbody th,
.compare tbody td {
  padding: 18px 28px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.5;
  vertical-align: top;
}

.compare tbody tr:last-child th,
.compare tbody tr:last-child td {
  border-bottom: 0;
}

.compare tbody th {
  font-weight: 600;
  color: var(--text);
  width: 260px;
}

.compare td {
  color: var(--faint);
  border-left: 1px solid var(--line);
}

.compare thead th + th {
  border-left: 1px solid var(--line);
}

.dev-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.headers-card {
  box-sizing: border-box;
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.headers {
  font-size: 13px;
}

.headers th {
  text-align: left;
  font-weight: 400;
  color: var(--mid);
  padding: 4px 24px 4px 0;
  width: 42%;
}

.headers td {
  color: var(--faint);
  padding: 4px 0;
}

.price-card {
  padding: 28px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.price-card.featured {
  border-color: var(--accent);
}

.price-card h3 {
  font-size: 20px;
}

.price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
}

.price {
  font-family: var(--display);
  font-size: clamp(28px, 2.2vw, 36px);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.price-unit {
  font-size: 13px;
  color: var(--faint);
}

.price-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

.closing {
  width: min(1440px, 100%);
  max-width: 100%;
  min-width: 0;
  margin-inline: auto;
  padding: 0 var(--pad) 112px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 24px;
}

.bench {
  padding: 40px;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.bench h3 {
  font-size: 24px;
  line-height: 1.15;
}

.bench-scores {
  display: flex;
  gap: 32px;
  margin-top: 8px;
}

.bench-scores strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(32px, 2.8vw, 40px);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.bench-scores span strong {
  color: var(--faint);
}

.bench-scores .with strong {
  color: var(--accent);
}

.bench-scores span {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
  color: var(--faint);
}

.bench .more-link {
  margin-top: auto;
  font-size: 14px;
}

.cta-band {
  box-sizing: border-box;
  padding: 64px;
  border-radius: 24px;
  background: var(--accent);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.cta-band h2 {
  font-size: clamp(32px, 2.8vw, 40px);
  line-height: 1.08;
  color: var(--ink);
}

.cta-band p {
  margin-top: 12px;
  font-size: 17px;
  color: var(--cta-sub);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 48px 0 40px;
  font-size: 14px;
  color: var(--faint);
}

.footer-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 320px;
}

.footer-brand strong {
  font-family: var(--display);
  font-weight: 700;
  font-size: 20px;
  color: var(--text);
  letter-spacing: -0.02em;
}

.footer-brand p {
  line-height: 1.5;
}

.footer-cols {
  display: flex;
  gap: 56px;
}

.footer-cols div {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-label {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--text);
  margin: 0;
}

.footer-cols a {
  color: var(--faint);
}

.footer-cols a:hover {
  color: var(--accent-hover);
}

.page {
  width: min(880px, 100%);
  margin-inline: auto;
  padding: 72px var(--pad) 112px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.page h1 {
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.05;
}

.page h2 {
  font-size: 28px;
  margin-top: 12px;
}

#mentions {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

#mentions h3 {
  font-size: 20px;
  line-height: 1.2;
}

.page p,
.page li {
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
}

.page ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-left: 1.2em;
}

@media (max-width: 1200px) {
  :root {
    --pad: 40px;
  }
}

@media (max-width: 1120px) {
  :root {
    --header-h: 72px;
  }

  .header-bar {
    display: flex;
    justify-content: space-between;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .header-actions .btn {
    display: none;
  }

  body.nav-open {
    overflow: hidden;
  }

  .primary-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 8px var(--pad) 20px;
    z-index: 40;
    max-height: calc(100dvh - var(--header-h));
    overflow: auto;
  }

  body.nav-open .primary-nav {
    display: block;
  }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-links a {
    display: flex;
    align-items: center;
    min-height: 44px;
  }

  .mobile-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 12px;
  }

  .mobile-actions .btn {
    width: 100%;
  }

  .hero,
  .grid-2,
  .billing-layout,
  .closing {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .section-head,
  .footer-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }

  .cta-band {
    flex-direction: column;
    align-items: flex-start;
    padding: 32px;
  }
}

@media (max-width: 720px) {
  :root {
    --pad: 20px;
  }

  .grid-4,
  .footer-cols {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-cols {
    display: grid;
    gap: 28px;
  }

  .step-card,
  .feature-card,
  .tool-card {
    min-height: 0;
  }

  .duo-card,
  .bench {
    padding: 24px;
  }

  .terminal-foot {
    flex-wrap: wrap;
    height: auto;
    padding: 10px 16px;
    row-gap: 4px;
  }

  .sheet th,
  .sheet td,
  .compare th,
  .compare td {
    padding: 14px 16px;
  }

  .route-flags div,
  .commands div {
    flex-direction: column;
    gap: 4px;
  }
}

.mark svg,
.checks svg,
.more-link svg,
.btn svg,
.ladder-arrow svg,
.checks-lg svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.checks-lg svg {
  stroke: var(--accent);
}

.btn svg {
  stroke-width: 2.2;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .burger::before,
  .burger::after,
  .skip-link {
    transition: none;
  }
}

html[data-theme="dark"] {
  --bg: #0b0f16;
  --text: #eef1f5;
  --muted: #b3bcc9;
  --faint: #8f99a8;
  --mid: #c6cdd8;
  --line: #1c2230;
  --line-2: #2a3242;
  --line-3: #263044;
  --line-soft: #161c27;
  --arrow: #3b4557;
  --card: #0f141d;
  --elev: #121a26;
  --accent: #ffb020;
  --accent-hover: #ffc65c;
  --ok: #3ddc84;
  --on-dark: #eef1f5;
  --btn-dark-hover: #161c27;
  --grid-line: rgba(255, 255, 255, 0.035);
  --shadow: 0 40px 80px rgba(0, 0, 0, 0.45);
  color-scheme: dark;
}

.theme-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  width: 44px;
  min-width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 10px;
  border: 2px solid var(--text);
  background: var(--accent);
  color: var(--ink);
  cursor: pointer;
}

.theme-toggle:hover {
  background: var(--accent-hover);
}

.theme-icon {
  display: block;
  width: 22px;
  height: 22px;
  flex: none;
}

.theme-icon-moon {
  display: none;
}

html[data-theme="dark"] .theme-icon-sun {
  display: none;
}

html[data-theme="dark"] .theme-icon-moon {
  display: block;
}

.guide-inner {
  width: min(1440px, 100%);
  max-width: 100%;
  min-width: 0;
  margin-inline: auto;
  padding-top: 64px;
  padding-bottom: 160px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.guide-inner > * {
  min-width: 0;
  max-width: 100%;
}

.guide h1 {
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.05;
}

.guide h2 {
  font-size: clamp(26px, 2.4vw, 34px);
  margin-top: 12px;
}

.guide h3 {
  font-size: 20px;
}

.guide p,
.guide li {
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
}

.guide .lede {
  color: var(--muted);
  max-width: 68ch;
}

.guide a {
  color: var(--accent);
}

.guide code,
.guide .mono {
  overflow-wrap: anywhere;
}

.guide-inner section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.guide ul:not(.link-list):not(.inline-suppliers):not(.steps),
.guide ol:not(.steps) {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-left: 1.2em;
}

.guide .crumbs ol {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  list-style: none;
  padding: 0;
  margin: 0;
}

.guide .crumbs li {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  line-height: 1.4;
  color: var(--faint);
}

.guide .crumbs li:not(:last-child)::after {
  content: "/";
  margin: 0 8px;
  color: var(--arrow);
}

.prompt-block {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  border: 1px solid var(--line-3);
  border-radius: 12px;
  background: var(--card);
  overflow: hidden;
}

.prompt-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 24px;
  row-gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--faint);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.prompt-bar span {
  min-width: 0;
}

.prompt-bar button {
  justify-self: end;
  border: 1px solid var(--faint);
  background: var(--elev);
  color: var(--text);
  border-radius: 6px;
  min-height: 32px;
  padding: 0 12px;
  cursor: pointer;
}

.prompt-block pre,
.prompt-block pre code {
  margin: 0;
  max-width: 100%;
  padding: 14px 16px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.5;
  color: var(--text);
}

.prompt-block pre code {
  padding: 0;
}

.steps {
  list-style: none;
  padding-left: 0;
}

.steps li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.steps li > span {
  flex: 0 0 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: var(--ink);
  font-weight: 600;
}

.card-grid,
.link-list,
.inline-suppliers {
  list-style: none;
  padding-left: 0;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.card-grid a,
.link-list a {
  color: var(--text);
}

.card-grid a {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
  min-height: 100%;
}

.card-grid a:hover,
.link-list a:hover {
  color: var(--accent-hover);
}

.card-grid span,
.link-list p {
  color: var(--faint);
}

.guide .link-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
  list-style: none;
  padding: 0;
}

.guide .link-list li {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.guide .link-list a {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.25;
}

.guide .inline-suppliers {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px 28px;
  list-style: none;
  padding: 0;
}

.more-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.sheet-wrap {
  overflow-x: auto;
}

.sheet {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.sheet th,
.sheet td {
  border-bottom: 1px solid var(--line);
  text-align: left;
  padding: 10px 12px;
  vertical-align: top;
  color: var(--muted);
}

.sheet th {
  color: var(--faint);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.sheet a {
  color: var(--text);
}

.catalog-job {
  display: grid;
  grid-template-columns: minmax(180px, 280px) 1fr;
  gap: 16px 32px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.catalog-job h3 {
  font-size: 20px;
}

.catalog-job ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  list-style: none;
}

.catalog-job a {
  color: var(--text);
}

a.supplier-link.has-supplier-mark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
}

a.supplier-link.has-supplier-mark > span:last-child {
  min-width: 0;
}

.supplier-mark {
  background: #fbfaf7;
  border-radius: 7px;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  overflow: hidden;
  box-shadow: 0 0 0 1px #0000000f;
}

.supplier-mark img {
  width: 15px;
  height: 15px;
  object-fit: contain;
}

.catalog-job a:hover,
.inline-suppliers a:hover {
  color: var(--accent-hover);
}

.inline-suppliers {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.list-note {
  color: var(--faint);
  font-size: 15px;
}

.try-line {
  font-size: 15px;
}

@media (max-width: 720px) {
  .card-grid,
  .catalog-job {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    padding-top: 48px;
    padding-bottom: 56px;
    gap: 28px;
  }

  .guide-inner {
    padding-top: 36px;
    padding-bottom: 120px;
    gap: 24px;
  }

  .band {
    padding-bottom: 88px;
  }

  .site-footer {
    padding-top: 40px;
    padding-bottom: 48px;
  }

  .sheet {
    table-layout: fixed;
  }

  .sheet th,
  .sheet td {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .guide .inline-suppliers {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
}
