:root {
  --bg: oklch(1 0 0);
  --surface: oklch(0.975 0.012 255);
  --surface-strong: oklch(0.925 0.045 238);
  --ink: oklch(0.22 0.035 277);
  --muted: oklch(0.43 0.035 270);
  --primary: oklch(0.56 0.16 270);
  --primary-dark: oklch(0.36 0.15 270);
  --primary-soft: oklch(0.91 0.055 270);
  --accent: oklch(0.68 0.18 20);
  --accent-dark: oklch(0.43 0.16 20);
  --accent-soft: oklch(0.93 0.055 20);
  --rule: oklch(0.88 0.022 270);
  --success: oklch(0.48 0.09 205);
  --white: oklch(1 0 0);
  --focus: oklch(0.62 0.19 250);
  --display: "Anybody", "Arial Narrow", system-ui, sans-serif;
  --body: "Public Sans", "Segoe UI", system-ui, sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --z-header: 30;
  --z-menu: 40;
}

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

html {
  color-scheme: light;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body::selection {
  background: var(--primary-soft);
  color: var(--primary-dark);
}

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

a {
  color: inherit;
}

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

button,
select {
  cursor: pointer;
}

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

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: calc(var(--z-menu) + 1);
  translate: 0 -160%;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--white);
  text-decoration: none;
  transition: translate 160ms var(--ease-out);
}

.skip-link:focus {
  translate: 0;
}

.site-shell {
  width: min(1280px, calc(100% - 40px));
  margin-inline: auto;
}

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

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  color: var(--primary-dark);
  text-decoration: none;
}

.brand-mark {
  position: relative;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 11px;
  background: var(--primary);
}

.brand-mark::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 12px;
  width: 19px;
  height: 4px;
  border-radius: 99px;
  background: var(--white);
  box-shadow: 0 7px 0 var(--white), 0 14px 0 var(--white);
}

.brand-mark::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 17px;
  width: 9px;
  height: 12px;
  background: var(--accent);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.brand-text {
  display: grid;
  line-height: 1;
}

.brand-text strong {
  font-family: var(--display);
  font-size: 22px;
  font-stretch: 110%;
  font-weight: 760;
  letter-spacing: -0.02em;
}

.brand-text span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.03em;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.primary-nav > a:not(.button) {
  position: relative;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.primary-nav > a:not(.button)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 5px;
  height: 2px;
  background: var(--accent);
  transition: right 180ms var(--ease-out);
}

.primary-nav > a[aria-current="page"],
.primary-nav > a:not(.button):hover {
  color: var(--primary-dark);
}

.primary-nav > a[aria-current="page"]::after,
.primary-nav > a:not(.button):hover::after {
  right: 0;
}

.menu-button {
  display: none;
  min-width: 44px;
  min-height: 44px;
  padding: 8px 11px;
  border: 1px solid var(--rule);
  border-radius: 10px;
  background: var(--bg);
  color: var(--primary-dark);
  font-weight: 700;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 18px;
  border-radius: 10px;
  font-weight: 720;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  transition:
    background-color 180ms var(--ease-out),
    border-color 180ms var(--ease-out),
    color 180ms var(--ease-out),
    translate 180ms var(--ease-out);
}

.button:hover {
  translate: 0 -2px;
}

.button:active {
  translate: 0;
}

.button-primary {
  border: 1px solid var(--primary);
  background: var(--primary);
  color: var(--white);
}

.button-primary:hover {
  border-color: var(--primary-dark);
  background: var(--primary-dark);
}

.button-secondary {
  border: 1px solid var(--primary);
  background: var(--bg);
  color: var(--primary-dark);
}

.button-secondary:hover {
  background: var(--primary-soft);
}

.button-light {
  border: 1px solid var(--white);
  background: var(--white);
  color: var(--primary-dark);
}

.button-light:hover {
  border-color: var(--accent-soft);
  background: var(--accent-soft);
}

.button-quiet {
  border: 1px solid var(--rule);
  background: var(--surface);
  color: var(--primary-dark);
}

.button-quiet:hover {
  border-color: var(--primary-soft);
  background: var(--primary-soft);
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--primary-dark);
  font-weight: 750;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
  text-decoration-color: var(--accent);
}

.text-link:hover {
  color: var(--accent-dark);
}

main {
  overflow: clip;
}

.hero {
  position: relative;
  min-height: min(700px, calc(100svh - 78px));
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(460px, 1.04fr);
  align-items: center;
  gap: clamp(36px, 4vw, 64px);
  padding-block: clamp(52px, 6vw, 84px);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
}

.hero::before {
  width: 280px;
  aspect-ratio: 1;
  right: -125px;
  top: 54px;
  background: var(--primary-soft);
}

.hero::after {
  width: 120px;
  aspect-ratio: 1;
  left: 42%;
  bottom: 42px;
  background: var(--accent-soft);
}

.hero-copy {
  max-width: 600px;
  animation: hero-copy-in 700ms var(--ease-out) both;
}

.hero-badge {
  width: fit-content;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  padding: 8px 13px;
  border: 1px solid var(--primary-soft);
  border-radius: 999px;
  background: var(--surface);
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.2;
}

.hero-badge::before {
  content: "";
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  border-radius: 50%;
  background: var(--accent);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 760;
  letter-spacing: -0.035em;
  line-height: 1;
  text-wrap: balance;
}

h1 {
  max-width: 14ch;
  font-size: clamp(3rem, 4.5vw, 4.25rem);
  line-height: 0.98;
}

h2 {
  max-width: 18ch;
  font-size: clamp(2.3rem, 4.6vw, 4.75rem);
}

h3 {
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.lede {
  max-width: 62ch;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.4vw, 1.18rem);
  line-height: 1.62;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-note {
  max-width: 56ch;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.hero-visual {
  position: relative;
  width: 100%;
  max-width: 720px;
  margin: 0;
  justify-self: end;
  animation: hero-visual-in 800ms 80ms var(--ease-out) both;
}

.hero-visual::before {
  content: "";
  position: absolute;
  left: -20px;
  right: 11%;
  top: -20px;
  bottom: 20px;
  z-index: -1;
  border-radius: 16px;
  background: var(--surface-strong);
}

.hero-visual img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border: 1px solid var(--rule);
  border-radius: 16px;
  background: var(--surface);
}

.hero-visual figcaption {
  max-width: 54ch;
  margin: 14px 0 0 4px;
  color: var(--muted);
  font-size: 13px;
}

@keyframes hero-copy-in {
  from {
    opacity: 0.01;
    translate: 0 24px;
  }
  to {
    opacity: 1;
    translate: 0;
  }
}

@keyframes hero-visual-in {
  from {
    opacity: 0.01;
    translate: 34px 0;
  }
  to {
    opacity: 1;
    translate: 0;
  }
}

.decision-rail {
  border-block: 1px solid var(--rule);
  background: var(--surface);
}

.decision-rail-inner {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) repeat(4, minmax(150px, 1fr));
  align-items: stretch;
}

.decision-intro,
.decision-item {
  padding: 25px 24px;
}

.decision-intro {
  display: flex;
  align-items: center;
  color: var(--primary-dark);
  font-family: var(--display);
  font-size: 21px;
  font-weight: 760;
  letter-spacing: -0.02em;
}

.decision-item {
  position: relative;
  border-left: 1px solid var(--rule);
}

.decision-item span {
  display: block;
  margin-bottom: 5px;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 780;
}

.decision-item strong {
  display: block;
  font-size: 15px;
  line-height: 1.35;
}

.section {
  padding-block: clamp(78px, 9vw, 144px);
}

.section-compact {
  padding-block: clamp(58px, 7vw, 98px);
}

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

.section-primary {
  background: var(--primary-dark);
  color: var(--white);
}

.section-accent {
  background: var(--accent-soft);
}

.section-header {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(280px, 0.55fr);
  gap: clamp(40px, 7vw, 110px);
  align-items: end;
  margin-bottom: clamp(48px, 7vw, 90px);
}

.section-header p {
  max-width: 58ch;
  margin: 0 0 5px;
  color: var(--muted);
  text-wrap: pretty;
}

.section-primary .section-header p {
  color: oklch(0.88 0.035 270);
}

.section-label {
  display: block;
  margin-bottom: 18px;
  color: var(--accent-dark);
  font-size: 14px;
  font-weight: 780;
}

.section-primary .section-label {
  color: var(--accent-soft);
}

.route-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.route-steps::before {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  top: 15px;
  height: 3px;
  background: var(--rule);
}

.route-steps::after {
  content: "";
  position: absolute;
  left: 10px;
  top: 15px;
  width: calc(100% - 20px);
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1100ms var(--ease-out);
}

.route-steps[data-active="true"]::after {
  transform: scaleX(1);
}

.route-step {
  position: relative;
  z-index: 1;
  padding-right: clamp(20px, 4vw, 58px);
}

.route-step::before {
  content: "";
  width: 30px;
  height: 30px;
  display: block;
  margin-bottom: 24px;
  border: 6px solid var(--bg);
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 2px var(--primary);
}

.route-step:nth-child(2)::before {
  background: var(--accent);
  box-shadow: 0 0 0 2px var(--accent);
}

.route-step:nth-child(3)::before {
  background: var(--surface-strong);
  box-shadow: 0 0 0 2px var(--primary);
}

.route-step:nth-child(4)::before {
  background: var(--primary-dark);
  box-shadow: 0 0 0 2px var(--primary-dark);
}

.route-step span {
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 780;
}

.route-step h3 {
  margin-top: 6px;
}

.route-step p {
  max-width: 30ch;
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.feature-split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(400px, 1.1fr);
  gap: clamp(48px, 8vw, 126px);
  align-items: center;
}

.feature-copy > p {
  max-width: 60ch;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 18px;
  text-wrap: pretty;
}

.feature-copy .text-link {
  margin-top: 22px;
}

.state-panel {
  border: 1px solid var(--rule);
  border-radius: 16px;
  background: var(--bg);
  overflow: clip;
}

.state-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--rule);
  background: var(--surface);
}

.state-panel-head strong {
  font-size: 14px;
}

.state-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 30px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 780;
}

.state-pill::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
}

.state-list {
  margin: 0;
}

.state-row {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr auto;
  gap: 16px;
  align-items: center;
  min-height: 70px;
  padding: 15px 18px;
  border-bottom: 1px solid var(--rule);
}

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

.state-row dt {
  color: var(--muted);
  font-size: 13px;
}

.state-row dd {
  margin: 0;
  font-weight: 700;
}

.state-code {
  color: var(--primary-dark);
  font-variant-numeric: tabular-nums;
  font-weight: 780;
}

.diagram-frame {
  margin: clamp(46px, 7vw, 86px) 0 0;
  border: 1px solid var(--rule);
  border-radius: 16px;
  background: var(--bg);
  overflow: clip;
}

.diagram-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}

.diagram-frame figcaption {
  padding: 15px 18px;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 13px;
}

.integration-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(430px, 1.18fr);
  gap: clamp(48px, 8vw, 124px);
  align-items: start;
}

.integration-copy p {
  max-width: 60ch;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.integration-modes {
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--rule);
}

.integration-modes li {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--rule);
}

.integration-modes strong {
  color: var(--primary-dark);
}

.integration-modes span {
  color: var(--muted);
}

.code-surface {
  position: relative;
  border-radius: 16px;
  background: var(--ink);
  color: var(--white);
  overflow: clip;
}

.code-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 58px;
  padding: 13px 18px;
  border-bottom: 1px solid oklch(0.34 0.035 277);
}

.code-toolbar span {
  color: oklch(0.78 0.035 270);
  font-size: 13px;
}

.code-toolbar strong {
  color: var(--accent-soft);
  font-size: 13px;
}

.code-surface pre {
  margin: 0;
  padding: clamp(24px, 4vw, 44px);
  overflow-x: auto;
  color: oklch(0.9 0.025 270);
  font-family: ui-monospace, "Cascadia Code", monospace;
  font-size: 14px;
  line-height: 1.8;
  tab-size: 2;
}

.code-key {
  color: oklch(0.82 0.11 260);
}

.code-value {
  color: oklch(0.83 0.12 20);
}

.commercial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid var(--rule);
}

.commercial-item {
  padding: clamp(26px, 4vw, 48px);
}

.commercial-item + .commercial-item {
  border-left: 1px solid var(--rule);
}

.commercial-item span {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 780;
}

.commercial-item p {
  margin: 15px 0 0;
  color: var(--muted);
}

.commercial-item .text-link {
  margin-top: 18px;
}

.security-band {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(460px, 1.14fr);
  gap: clamp(44px, 8vw, 120px);
  align-items: center;
}

.security-copy p {
  max-width: 60ch;
  margin: 24px 0 0;
  color: oklch(0.87 0.035 270);
}

.security-copy .text-link {
  margin-top: 22px;
  color: var(--white);
}

.security-copy .text-link:hover {
  color: var(--accent-soft);
}

.control-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid oklch(0.45 0.11 270);
}

.control-list li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid oklch(0.45 0.11 270);
}

.control-list span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  font-weight: 800;
}

.control-list strong {
  display: block;
  margin-bottom: 5px;
  color: var(--white);
}

.control-list p {
  margin: 0;
  color: oklch(0.86 0.035 270);
  font-size: 14px;
}

.faq-conversation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 clamp(44px, 7vw, 94px);
  border-top: 1px solid var(--rule);
}

.qa-item {
  padding: 30px 0 34px;
  border-bottom: 1px solid var(--rule);
}

.qa-role {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 780;
}

.qa-role::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.qa-item h3 {
  font-size: clamp(1.25rem, 2vw, 1.65rem);
}

.qa-answer {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 16px;
  margin-top: 20px;
}

.qa-answer strong {
  color: var(--primary-dark);
  font-size: 12px;
}

.qa-answer p {
  max-width: 56ch;
  margin: 0;
  color: var(--muted);
  text-wrap: pretty;
}

.cta-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  align-items: center;
  min-height: 290px;
  padding: clamp(38px, 6vw, 76px);
  border-radius: 16px;
  background: var(--primary);
  color: var(--white);
  overflow: clip;
}

.cta-panel::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -100px;
  width: 250px;
  aspect-ratio: 1;
  border: 40px solid var(--accent);
  border-radius: 50%;
}

.cta-panel h2 {
  position: relative;
  z-index: 1;
  max-width: 15ch;
}

.cta-panel p {
  position: relative;
  z-index: 1;
  max-width: 58ch;
  margin: 20px 0 0;
  color: oklch(0.92 0.03 270);
}

.cta-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(330px, 0.65fr);
  gap: clamp(48px, 8vw, 126px);
  align-items: end;
  padding-block: clamp(76px, 10vw, 150px);
}

.page-hero::after {
  content: "";
  position: absolute;
  right: 3%;
  top: 18%;
  z-index: -1;
  width: clamp(120px, 20vw, 280px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--primary-soft);
}

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

.page-hero-copy .lede {
  max-width: 56ch;
}

.page-hero-aside {
  align-self: end;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 28px;
  border: 1px solid var(--rule);
  border-radius: 16px;
  background: var(--surface);
}

.page-hero-aside strong {
  color: var(--primary-dark);
  font-family: var(--display);
  font-size: 24px;
  line-height: 1.1;
}

.page-hero-aside p {
  margin: 14px 0 0;
  color: var(--muted);
}

.pricing-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--rule);
  border-radius: 16px;
  background: var(--bg);
}

.pricing-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.pricing-table th,
.pricing-table td {
  padding: 19px 22px;
  border-bottom: 1px solid var(--rule);
  text-align: left;
  vertical-align: top;
}

.pricing-table thead th {
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-size: 13px;
}

.pricing-table tbody th {
  width: 26%;
  color: var(--primary-dark);
}

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

.pricing-table td {
  color: var(--muted);
}

.pricing-callout {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(40px, 7vw, 100px);
  padding: clamp(34px, 6vw, 70px);
  border-radius: 16px;
  background: var(--accent-soft);
}

.pricing-callout p {
  margin: 0;
  color: var(--muted);
}

.pricing-callout ul {
  margin: 0;
  padding-left: 1.25rem;
}

.pricing-callout li + li {
  margin-top: 9px;
}

.page-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--rule);
}

.page-list li {
  display: grid;
  grid-template-columns: minmax(170px, 0.7fr) minmax(0, 1.3fr);
  gap: 28px;
  padding: 27px 0;
  border-bottom: 1px solid var(--rule);
}

.page-list strong {
  color: var(--primary-dark);
}

.page-list p {
  max-width: 70ch;
  margin: 0;
  color: var(--muted);
}

.industry-rows {
  border-top: 1px solid var(--rule);
}

.industry-row {
  display: grid;
  grid-template-columns: minmax(210px, 0.65fr) minmax(0, 1fr) minmax(220px, 0.65fr);
  gap: clamp(24px, 5vw, 72px);
  padding: clamp(30px, 5vw, 58px) 0;
  border-bottom: 1px solid var(--rule);
}

.industry-row p {
  margin: 0;
  color: var(--muted);
}

.industry-row ul {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--muted);
}

.industry-row li + li {
  margin-top: 7px;
}

.legal-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 760px);
  gap: clamp(44px, 8vw, 110px);
  align-items: start;
}

.legal-nav {
  position: sticky;
  top: 112px;
  display: grid;
  gap: 4px;
  padding: 16px;
  border: 1px solid var(--rule);
  border-radius: 12px;
  background: var(--surface);
}

.legal-nav a {
  min-height: 40px;
  display: flex;
  align-items: center;
  padding: 5px 8px;
  color: var(--muted);
  font-size: 13px;
  text-decoration: none;
}

.legal-nav a:hover {
  color: var(--primary-dark);
}

.prose {
  max-width: 760px;
}

.prose h2 {
  margin-top: 70px;
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  margin-top: 40px;
}

.prose p,
.prose li {
  color: var(--muted);
}

.prose p,
.prose ul,
.prose ol {
  max-width: 70ch;
}

.prose a {
  color: var(--primary-dark);
  text-underline-offset: 4px;
}

.prose table {
  width: 100%;
  margin-block: 32px;
  border-collapse: collapse;
}

.prose th,
.prose td {
  padding: 14px;
  border: 1px solid var(--rule);
  text-align: left;
  vertical-align: top;
}

.prose th {
  background: var(--primary-soft);
  color: var(--primary-dark);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 26px;
  color: var(--muted);
  font-size: 13px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(500px, 1.28fr);
  gap: clamp(52px, 9vw, 140px);
  align-items: start;
}

.contact-aside h2 {
  max-width: 12ch;
}

.contact-aside p {
  max-width: 48ch;
  margin: 24px 0 0;
  color: var(--muted);
}

.contact-route {
  margin-top: 36px;
  border-top: 1px solid var(--rule);
}

.contact-route div {
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
}

.contact-route dt {
  color: var(--muted);
  font-size: 12px;
}

.contact-route dd {
  margin: 4px 0 0;
  font-weight: 700;
}

.contact-form {
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid var(--rule);
  border-radius: 16px;
  background: var(--surface);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.field {
  display: grid;
  gap: 7px;
}

.field-full {
  grid-column: 1 / -1;
}

.field label {
  color: var(--primary-dark);
  font-size: 14px;
  font-weight: 720;
}

.field small {
  color: var(--muted);
  font-size: 12px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid oklch(0.77 0.035 270);
  border-radius: 9px;
  background: var(--bg);
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: oklch(0.48 0.025 270);
  opacity: 1;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: var(--primary);
}

.field-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-consent {
  margin: 20px 0;
  color: var(--muted);
  font-size: 13px;
}

.form-consent a {
  color: var(--primary-dark);
}

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

.form-actions button:disabled {
  cursor: wait;
  opacity: 0.66;
}

.form-status {
  min-height: 26px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.form-status[data-state="success"] {
  color: var(--success);
  font-weight: 700;
}

.form-status[data-state="error"] {
  color: var(--accent-dark);
  font-weight: 700;
}

.site-footer {
  padding-top: 80px;
  border-top: 1px solid var(--rule);
  background: var(--surface);
}

.footer-bento {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr 0.75fr;
  grid-template-areas:
    "brand platform company"
    "brand contact contact";
  gap: 14px;
}

.footer-block {
  padding: clamp(26px, 4vw, 46px);
  border: 1px solid var(--rule);
  border-radius: 14px;
  background: var(--bg);
}

.footer-brand {
  grid-area: brand;
  min-height: 330px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.footer-brand .brand {
  width: fit-content;
}

.footer-brand p {
  max-width: 42ch;
  margin: 24px 0 0;
  color: var(--muted);
}

.footer-company {
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 700;
}

.footer-platform {
  grid-area: platform;
}

.footer-company-links {
  grid-area: company;
}

.footer-contact {
  grid-area: contact;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  background: var(--primary-dark);
  color: var(--white);
}

.footer-contact h2 {
  max-width: 13ch;
  font-size: clamp(2rem, 4vw, 3.65rem);
}

.footer-title {
  display: block;
  margin-bottom: 18px;
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 780;
}

.footer-links {
  display: grid;
  gap: 6px;
}

.footer-links a {
  min-height: 38px;
  display: flex;
  align-items: center;
  width: fit-content;
  color: var(--muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--primary-dark);
}

.footer-bottom {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding-block: 28px;
}

.copyright {
  display: grid;
  gap: 2px;
  color: var(--muted);
  font-size: 12px;
}

.legal-inline {
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
  gap: 12px 22px;
}

.legal-inline a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  font-size: 12px;
  text-decoration: none;
}

.legal-inline a:hover {
  color: var(--primary-dark);
}

.not-found {
  min-height: 68svh;
  display: grid;
  place-items: center;
  text-align: center;
  padding-block: 80px;
}

.not-found-inner {
  max-width: 720px;
}

.not-found-code {
  display: block;
  color: var(--accent);
  font-family: var(--display);
  font-size: clamp(5rem, 18vw, 12rem);
  font-weight: 800;
  line-height: 0.8;
}

.not-found h1 {
  max-width: none;
  margin-top: 30px;
}

.not-found p {
  max-width: 52ch;
  margin: 22px auto 0;
  color: var(--muted);
}

.not-found .button {
  margin-top: 28px;
}

@media (hover: none) {
  .button:hover {
    translate: 0;
  }

  .primary-nav > a:not(.button)::after {
    display: none;
  }
}

@media (max-width: 1080px) {
  .primary-nav {
    gap: 18px;
  }

  .primary-nav > a:not(.button) {
    font-size: 13px;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(420px, 1fr);
  }

  .decision-rail-inner {
    grid-template-columns: repeat(4, 1fr);
  }

  .decision-intro {
    grid-column: 1 / -1;
    border-bottom: 1px solid var(--rule);
  }

  .decision-item:first-of-type {
    border-left: 0;
  }
}

@media (max-width: 900px) {
  .site-shell {
    width: min(100% - 32px, 1280px);
  }

  .menu-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .primary-nav {
    position: fixed;
    inset: 79px 16px auto;
    z-index: var(--z-menu);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 16px;
    border: 1px solid var(--rule);
    border-radius: 12px;
    background: var(--bg);
  }

  .primary-nav[data-open="true"] {
    display: flex;
  }

  .primary-nav > a:not(.button) {
    padding: 4px 8px;
    font-size: 15px;
  }

  .primary-nav > a:not(.button)::after {
    display: none;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-block: 60px 80px;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero-visual {
    width: 100%;
    max-width: 720px;
    margin: 0;
    justify-self: start;
  }

  .section-header,
  .feature-split,
  .integration-layout,
  .security-band,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .route-steps {
    grid-template-columns: 1fr 1fr;
    gap: 42px 24px;
  }

  .route-steps::before,
  .route-steps::after {
    display: none;
  }

  .route-step {
    padding-right: 20px;
  }

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

  .commercial-item + .commercial-item {
    border-top: 1px solid var(--rule);
    border-left: 0;
  }

  .faq-conversation {
    grid-template-columns: 1fr;
  }

  .page-hero {
    grid-template-columns: 1fr;
  }

  .pricing-callout {
    grid-template-columns: 1fr;
  }

  .industry-row {
    grid-template-columns: minmax(170px, 0.55fr) minmax(0, 1fr);
  }

  .industry-row ul {
    grid-column: 2;
  }

  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-nav {
    position: static;
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-bento {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "brand brand"
      "platform company"
      "contact contact";
  }
}

@media (max-width: 640px) {
  .site-shell {
    width: min(100% - 24px, 1280px);
  }

  .header-inner {
    min-height: 70px;
  }

  .primary-nav {
    inset: 71px 12px auto;
  }

  .brand-text span {
    display: none;
  }

  .hero {
    padding-block: 44px 64px;
  }

  .hero::before {
    width: 170px;
    right: -90px;
  }

  .hero::after {
    width: 70px;
    left: 74%;
    bottom: 10px;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.45rem, 12vw, 3.25rem);
    overflow-wrap: anywhere;
  }

  h2 {
    max-width: 100%;
    font-size: clamp(2.15rem, 11vw, 3.6rem);
  }

  .hero-actions,
  .cta-actions {
    flex-direction: column;
  }

  .hero-actions .button,
  .cta-actions .button {
    width: 100%;
  }

  .hero-visual::before {
    left: -9px;
    top: -9px;
    bottom: 9px;
  }

  .decision-rail-inner {
    grid-template-columns: 1fr 1fr;
  }

  .decision-intro {
    grid-column: 1 / -1;
  }

  .decision-item:nth-of-type(odd) {
    border-left: 0;
  }

  .decision-item:nth-of-type(n + 3) {
    border-top: 1px solid var(--rule);
  }

  .section {
    padding-block: 72px;
  }

  .section-header {
    gap: 24px;
    margin-bottom: 44px;
  }

  .route-steps {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .route-step {
    display: grid;
    grid-template-columns: 42px 1fr;
    column-gap: 16px;
  }

  .route-step::before {
    grid-row: 1 / span 3;
    margin-bottom: 0;
  }

  .route-step span,
  .route-step h3,
  .route-step p {
    grid-column: 2;
  }

  .state-row {
    grid-template-columns: 1fr auto;
  }

  .state-row dd {
    grid-column: 1;
  }

  .state-code {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  .integration-layout {
    gap: 42px;
  }

  .integration-modes li {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .code-surface pre {
    font-size: 12px;
  }

  .qa-answer {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .cta-panel {
    grid-template-columns: 1fr;
    padding: 34px 24px;
  }

  .cta-panel::after {
    opacity: 0.35;
  }

  .page-hero {
    padding-block: 58px 76px;
  }

  .page-list li,
  .industry-row {
    grid-template-columns: 1fr;
  }

  .industry-row ul {
    grid-column: 1;
  }

  .legal-nav {
    grid-template-columns: 1fr;
  }

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

  .field-full {
    grid-column: 1;
  }

  .contact-form {
    padding: 24px 18px;
  }

  .footer-bento {
    grid-template-columns: 1fr;
    grid-template-areas:
      "brand"
      "platform"
      "company"
      "contact";
  }

  .footer-brand {
    min-height: 280px;
  }

  .footer-contact {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    grid-template-columns: 1fr;
  }

  .legal-inline {
    justify-content: start;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .hero-copy,
  .hero-visual {
    opacity: 1;
    translate: 0;
  }

  .route-steps::after {
    transform: scaleX(1);
  }
}
