:root {
  --ink: #0a0d0c;
  --ink-2: #151a18;
  --paper: #f4f6f3;
  --white: #ffffff;
  --muted: #5d6662;
  --line: rgba(10, 13, 12, 0.16);
  --line-light: rgba(255, 255, 255, 0.22);
  --acid: #d7ff4f;
  --coral: #ff6f52;
  --cobalt: #3157ff;
  --aqua: #70ddcd;
  --shell: 1240px;
  --header-height: 74px;
  color-scheme: light;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-synthesis: none;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

a {
  color: inherit;
  text-decoration: none;
}

p,
h1,
h2,
h3,
dl,
dd,
ol,
ul {
  margin: 0;
}

button {
  border: 0;
}

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

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 12px 16px;
  transform: translateY(-150%);
  background: var(--acid);
  color: var(--ink);
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: min(calc(100% - 80px), var(--shell));
  margin-inline: auto;
}

.section {
  position: relative;
  scroll-margin-top: var(--header-height);
}

.section-index,
.kicker,
.eyebrow,
.tool-head,
.map-head,
.output-head,
.system-title {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section-index {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.kicker,
.eyebrow {
  color: #187d70;
  font-size: 12px;
  font-weight: 800;
}

.kicker.coral {
  color: #d3482f;
}

.kicker.acid {
  color: var(--acid);
}

.kicker.dark {
  color: var(--ink);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 52px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-acid {
  background: var(--acid);
  color: var(--ink);
}

.button-acid:hover {
  background: var(--white);
}

.button-dark {
  background: var(--ink);
  color: var(--white);
}

.button-dark:hover {
  background: var(--cobalt);
}

.button-light {
  background: var(--white);
  color: var(--ink);
}

.button-light:hover {
  background: var(--acid);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-height: 48px;
  border-bottom: 1px solid currentColor;
  font-size: 14px;
  font-weight: 800;
}

.text-link span:last-child {
  transition: transform 180ms ease;
}

.text-link:hover span:last-child {
  transform: translate(3px, -3px);
}

.text-link.light {
  color: var(--white);
}

/* Header */

.site-header {
  position: fixed;
  z-index: 40;
  top: 0;
  right: 0;
  left: 0;
  display: grid;
  grid-template-columns: 220px 1fr auto;
  align-items: center;
  min-height: var(--header-height);
  padding: 0 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--white);
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-menu-open,
.legal-header {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(10, 13, 12, 0.94);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  width: max-content;
  min-height: 44px;
  font-weight: 800;
}

.brand-main {
  font-size: 20px;
}

.brand-divider {
  color: var(--acid);
}

.brand-sub {
  font-size: 12px;
  font-weight: 600;
}

.site-navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.site-navigation a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  font-weight: 700;
}

.site-navigation a::after {
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--acid);
  content: "";
  transition: transform 180ms ease;
}

.site-navigation a:hover,
.site-navigation a.is-current {
  color: var(--white);
}

.site-navigation a:hover::after,
.site-navigation a.is-current::after {
  transform: scaleX(1);
}

.nav-contact {
  display: none !important;
}

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

.language-control {
  display: flex;
  min-height: 40px;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 4px;
}

.language-control button {
  width: 40px;
  min-height: 34px;
  padding: 0;
  border-radius: 2px;
  background: transparent;
  color: rgba(255, 255, 255, 0.66);
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
}

.language-control button[aria-pressed="true"] {
  background: var(--white);
  color: var(--ink);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 800;
  transition: background-color 180ms ease, color 180ms ease;
}

.header-cta:hover {
  background: var(--white);
  color: var(--ink);
}

.menu-toggle,
.menu-scrim {
  display: none;
}

/* Hero */

.hero {
  position: relative;
  height: min(900px, calc(100svh - 42px));
  min-height: 720px;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}

.hero-media,
.hero-media img,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media img {
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(4, 8, 7, 0.96) 0%, rgba(4, 8, 7, 0.84) 34%, rgba(4, 8, 7, 0.16) 72%),
    linear-gradient(0deg, rgba(4, 8, 7, 0.86) 0%, transparent 45%);
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  height: 100%;
  padding-top: 122px;
  padding-bottom: 38px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 13px;
  color: var(--acid);
}

.eyebrow i {
  width: 42px;
  height: 1px;
  background: currentColor;
}

.hero-copy {
  align-self: center;
  width: min(780px, 65%);
  padding: 48px 0 28px;
}

.hero h1 {
  max-width: 780px;
  font-size: 76px;
  font-weight: 540;
  line-height: 0.98;
}

.hero h1 span,
.hero h1 em {
  display: block;
}

.hero h1 em {
  margin-top: 8px;
  color: var(--acid);
  font-style: normal;
  font-weight: 760;
}

.hero-lead {
  max-width: 650px;
  margin-top: 30px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 19px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 34px;
}

.hero-system {
  display: grid;
  grid-template-columns: 210px 1fr;
  align-items: stretch;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(8, 12, 11, 0.36);
  backdrop-filter: blur(8px);
}

.system-title {
  display: flex;
  align-items: center;
  padding: 18px 20px 18px 0;
  color: rgba(255, 255, 255, 0.52);
  font-size: 10px;
  font-weight: 700;
}

.system-lanes {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.system-lanes a {
  display: grid;
  grid-template-columns: 34px 1fr;
  grid-template-rows: auto auto;
  align-content: center;
  min-height: 94px;
  padding: 14px 24px;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  transition: background-color 180ms ease;
}

.system-lanes a:hover {
  background: rgba(255, 255, 255, 0.08);
}

.lane-number {
  grid-row: 1 / 3;
  color: var(--acid);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 11px;
  font-weight: 800;
}

.system-lanes strong {
  font-size: 15px;
}

.system-lanes small {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
}

/* Manifesto */

.manifesto {
  padding: 150px 0 126px;
  background: var(--paper);
}

.manifesto-grid {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) 310px;
  gap: 44px;
  align-items: start;
}

.manifesto h2 {
  max-width: 780px;
  margin-top: 20px;
  font-size: 66px;
  font-weight: 500;
  line-height: 1.02;
}

.manifesto-copy {
  align-self: end;
  padding-bottom: 6px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.signal-line {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  width: min(calc(100% - 80px), var(--shell));
  height: 3px;
  margin: 110px auto 0;
}

.signal-line i:nth-child(1) {
  background: var(--coral);
}

.signal-line i:nth-child(2) {
  background: var(--aqua);
}

.signal-line i:nth-child(3) {
  background: var(--cobalt);
}

/* Service stories */

.service-story {
  padding: 140px 0;
}

.payments-story {
  background: var(--white);
}

.ai-story {
  background: var(--ink);
  color: var(--white);
}

.service-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(520px, 1.18fr);
  gap: 88px;
  align-items: center;
}

.service-grid.reverse {
  grid-template-columns: minmax(520px, 1.18fr) minmax(0, 0.82fr);
}

.service-grid.reverse .service-copy {
  grid-column: 2;
}

.service-grid.reverse .ai-map {
  grid-column: 1;
  grid-row: 1;
}

.service-copy .section-index {
  margin-bottom: 64px;
}

.service-copy h2 {
  max-width: 540px;
  margin-top: 22px;
  font-size: 58px;
  font-weight: 520;
  line-height: 1.03;
}

.service-lead {
  max-width: 520px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.62;
}

.ai-story .service-lead {
  color: rgba(255, 255, 255, 0.68);
}

.plain-list {
  max-width: 520px;
  margin-top: 34px;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.plain-list li {
  position: relative;
  padding: 15px 0 15px 24px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  font-weight: 700;
}

.plain-list li::before {
  position: absolute;
  top: 22px;
  left: 2px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--coral);
  content: "";
}

.plain-list.light {
  border-color: var(--line-light);
}

.plain-list.light li {
  border-color: var(--line-light);
}

.plain-list.light li::before {
  background: var(--acid);
}

.service-copy .text-link {
  margin-top: 32px;
}

/* Payment tool */

.payment-tool {
  overflow: hidden;
  border: 1px solid rgba(10, 13, 12, 0.2);
  border-radius: 6px;
  background: var(--ink);
  color: var(--white);
  box-shadow: 24px 32px 80px rgba(10, 13, 12, 0.15);
}

.tool-head,
.map-head,
.output-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  padding: 0 22px;
  border-bottom: 1px solid var(--line-light);
  color: rgba(255, 255, 255, 0.52);
  font-size: 10px;
  font-weight: 700;
}

.tool-head div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 0 5px rgba(215, 255, 79, 0.12);
}

.payment-question {
  padding: 34px 28px 28px;
  border-bottom: 1px solid var(--line-light);
}

.payment-question p {
  color: var(--acid);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.payment-question strong {
  display: block;
  margin-top: 13px;
  font-size: 33px;
  font-weight: 600;
  line-height: 1.1;
}

.decision-list > div {
  display: grid;
  grid-template-columns: 58px 1fr;
  min-height: 92px;
  border-bottom: 1px solid var(--line-light);
}

.decision-list dt {
  display: grid;
  place-items: center;
  border-right: 1px solid var(--line-light);
  color: var(--coral);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 11px;
  font-weight: 800;
}

.decision-list dd {
  display: grid;
  grid-template-columns: 180px 1fr;
  align-items: center;
  gap: 20px;
  padding: 18px 22px;
}

.decision-list strong {
  font-size: 15px;
}

.decision-list span {
  color: rgba(255, 255, 255, 0.56);
  font-size: 13px;
}

.tool-note {
  padding: 18px 22px;
  background: var(--coral);
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
}

/* AI system map */

.ai-map {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line-light);
  border-radius: 6px;
  background: #0f1513;
}

.map-status {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  border: 1px solid rgba(215, 255, 79, 0.4);
  border-radius: 3px;
  color: var(--acid);
}

.map-stage {
  position: relative;
  height: 410px;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 42px 42px;
}

.map-node {
  position: absolute;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 180px;
  min-height: 90px;
  padding: 13px 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 4px;
  background: #141c19;
  color: var(--white);
  cursor: pointer;
  text-align: left;
  transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.map-node:hover,
.map-node.is-active {
  transform: translateY(-3px);
  border-color: var(--acid);
  background: #1a241f;
}

.map-node span {
  color: var(--acid);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 10px;
}

.map-node strong {
  margin-top: 9px;
  font-size: 14px;
}

.map-node small {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 11px;
}

.source-node {
  top: 68px;
  left: 34px;
}

.rules-node {
  bottom: 50px;
  left: 34px;
}

.workflow-node {
  top: 68px;
  right: 34px;
}

.human-node {
  right: 34px;
  bottom: 50px;
}

.map-lines {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
}

.map-lines path {
  fill: none;
  stroke: rgba(215, 255, 79, 0.46);
  stroke-dasharray: 5 6;
  stroke-width: 1.5;
}

.map-detail {
  display: grid;
  grid-template-columns: 56px 1fr;
  min-height: 136px;
  padding: 24px 26px;
  border-top: 1px solid var(--line-light);
  background: var(--acid);
  color: var(--ink);
}

.map-detail-number {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 11px;
  font-weight: 800;
}

.map-detail strong {
  font-size: 19px;
}

.map-detail p {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.55;
}

/* Project builder */

.builder {
  padding: 142px 0;
  background: var(--paper);
}

.builder-heading {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) 340px;
  gap: 34px;
  align-items: end;
}

.builder-heading .kicker {
  grid-column: 2;
}

.builder-heading h2 {
  grid-column: 2;
  max-width: 740px;
  margin-top: 18px;
  font-size: 64px;
  font-weight: 520;
  line-height: 1;
}

.builder-heading > p:last-child {
  grid-column: 3;
  grid-row: 1 / 4;
  align-self: end;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.project-builder {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  margin-top: 76px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  box-shadow: 0 24px 70px rgba(10, 13, 12, 0.08);
}

.builder-controls {
  padding: 34px;
  border-right: 1px solid var(--line);
}

.builder-controls fieldset,
.contact-form fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.builder-controls fieldset + fieldset {
  margin-top: 36px;
}

.builder-controls legend,
.contact-form legend {
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 800;
}

.segmented-control {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 4px;
}

.segmented-control button {
  min-height: 44px;
  border-radius: 2px;
  background: transparent;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
}

.segmented-control button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--white);
}

.priority-control {
  border-top: 1px solid var(--line);
}

.priority-control button {
  display: grid;
  grid-template-columns: 34px 1fr 18px;
  align-items: center;
  width: 100%;
  min-height: 66px;
  padding: 0 4px;
  border-bottom: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.priority-control button::after {
  color: var(--muted);
  content: "○";
  font-size: 18px;
}

.priority-control button[aria-pressed="true"]::after {
  color: var(--cobalt);
  content: "●";
}

.priority-control button > span {
  color: var(--cobalt);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 10px;
}

.priority-control strong {
  font-size: 15px;
}

.builder-output {
  background: var(--ink);
  color: var(--white);
}

.output-head {
  color: rgba(255, 255, 255, 0.48);
}

.output-head span {
  color: var(--acid);
}

.output-summary {
  padding: 40px 38px 30px;
  border-bottom: 1px solid var(--line-light);
}

.output-summary > p:first-child {
  color: var(--aqua);
  font-size: 12px;
  font-weight: 800;
}

.output-summary h3 {
  max-width: 650px;
  margin-top: 16px;
  font-size: 38px;
  font-weight: 580;
  line-height: 1.06;
}

.output-summary > p:last-child {
  max-width: 690px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 15px;
  line-height: 1.6;
}

.output-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 0;
  list-style: none;
}

.output-steps li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 8px;
  min-height: 158px;
  padding: 26px 22px;
  border-right: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}

.output-steps li:last-child {
  border-right: 0;
}

.output-steps li > span {
  color: var(--acid);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 10px;
  font-weight: 800;
}

.output-steps strong {
  font-size: 14px;
}

.output-steps p {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 12px;
  line-height: 1.5;
}

.output-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 28px;
}

.output-action > p {
  max-width: 390px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
}

.output-action .button-dark {
  border-color: var(--line-light);
}

/* Method */

.method {
  padding: 140px 0 112px;
  background: var(--cobalt);
  color: var(--white);
}

.method .section-index {
  color: rgba(255, 255, 255, 0.54);
}

.method-heading {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
}

.method-heading h2 {
  max-width: 860px;
  font-size: 62px;
  font-weight: 520;
  line-height: 1.02;
}

.method-heading .kicker {
  margin-top: 28px;
}

.method-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 90px;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.42);
  list-style: none;
}

.method-steps li {
  min-height: 340px;
  padding: 26px 30px 34px 0;
  border-right: 1px solid rgba(255, 255, 255, 0.28);
}

.method-steps li + li {
  padding-left: 30px;
}

.method-steps li:last-child {
  border-right: 0;
}

.method-number {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 11px;
  font-weight: 800;
}

.method-verb {
  margin-top: 70px;
  color: var(--acid);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.method-steps h3 {
  max-width: 320px;
  margin-top: 16px;
  font-size: 28px;
  line-height: 1.1;
}

.method-steps li > p:last-child {
  max-width: 330px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 14px;
  line-height: 1.6;
}

.trust-strip {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.42);
}

.trust-strip > p {
  color: var(--acid);
  font-size: 13px;
  font-weight: 800;
}

.trust-strip ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 30px;
  padding: 0;
  list-style: none;
}

.trust-strip li {
  position: relative;
  padding: 12px 0 12px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 13px;
  font-weight: 700;
}

.trust-strip li::before {
  position: absolute;
  top: 18px;
  left: 2px;
  width: 7px;
  height: 7px;
  background: var(--acid);
  content: "";
}

/* Contact */

.contact {
  padding: 132px 0;
  background: var(--acid);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 90px;
  align-items: start;
}

.contact-copy .section-index {
  color: rgba(10, 13, 12, 0.56);
}

.contact-copy .kicker {
  margin-top: 62px;
}

.contact-copy h2 {
  max-width: 520px;
  margin-top: 20px;
  font-size: 60px;
  font-weight: 540;
  line-height: 1.02;
}

.contact-copy > p:not(.section-index, .kicker) {
  max-width: 460px;
  margin-top: 24px;
  font-size: 17px;
  line-height: 1.6;
}

.direct-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  margin-top: 36px;
}

.direct-contact a {
  min-height: 44px;
  font-size: 17px;
  font-weight: 800;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  padding: 38px;
  border-radius: 6px;
  background: var(--ink);
  color: var(--white);
  box-shadow: 24px 28px 70px rgba(10, 13, 12, 0.2);
}

.contact-form > fieldset,
.contact-form > label:has(textarea),
.contact-form > .consent-field,
.contact-form > .submit-button,
.contact-form > .form-status,
.contact-form > .prepared-message,
.contact-form > .form-error-summary {
  grid-column: 1 / -1;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-form label > span:first-child,
.contact-form legend {
  color: rgba(255, 255, 255, 0.76);
  font-size: 12px;
  font-weight: 800;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 3px;
  background: #171d1b;
  color: var(--white);
  outline: 0;
}

.contact-form input[type="text"],
.contact-form input[type="email"] {
  min-height: 50px;
  padding: 0 13px;
}

.contact-form textarea {
  min-height: 122px;
  padding: 13px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--acid);
  box-shadow: 0 0 0 2px rgba(215, 255, 79, 0.18);
}

.form-service-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}

.form-service-options label {
  position: relative;
  display: block;
  min-height: 48px;
  cursor: pointer;
}

.form-service-options input {
  position: absolute;
  opacity: 0;
}

.form-service-options span {
  display: grid;
  place-items: center;
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 3px;
  color: var(--white) !important;
  font-size: 12px !important;
}

.form-service-options input:checked + span {
  border-color: var(--acid);
  background: var(--acid);
  color: var(--ink) !important;
}

.consent-field {
  display: grid !important;
  grid-template-columns: 22px 1fr;
  align-items: start;
  gap: 10px !important;
  cursor: pointer;
}

.consent-field input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--acid);
}

.consent-field > span {
  color: rgba(255, 255, 255, 0.62) !important;
  font-size: 11px !important;
  line-height: 1.5;
}

.consent-field a {
  margin-left: 5px;
  color: var(--white);
  text-decoration: underline;
}

.submit-button {
  width: 100%;
  border-color: var(--acid);
  background: var(--acid);
  color: var(--ink);
  cursor: pointer;
}

.submit-button:hover {
  background: var(--white);
}

.submit-button.is-loading {
  cursor: wait;
  opacity: 0.7;
}

.form-error-summary {
  padding: 13px 14px;
  border-left: 3px solid var(--coral);
  background: rgba(255, 111, 82, 0.13);
  color: var(--white);
  font-size: 13px;
}

.contact-form .is-invalid {
  border-color: var(--coral) !important;
}

.form-status {
  min-height: 1px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
}

.prepared-message {
  padding: 22px;
  border: 1px solid rgba(215, 255, 79, 0.46);
  border-radius: 4px;
  background: rgba(215, 255, 79, 0.08);
}

.prepared-message strong {
  font-size: 18px;
}

.prepared-message p {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 13px;
}

.prepared-message .button {
  margin-top: 18px;
}

/* Footer */

.site-footer {
  padding: 64px 0 28px;
  background: var(--ink);
  color: var(--white);
}

.footer-main {
  display: grid;
  grid-template-columns: 220px 1fr auto;
  gap: 40px;
  align-items: start;
}

.footer-main > p {
  max-width: 360px;
  color: rgba(255, 255, 255, 0.54);
  font-size: 13px;
}

.footer-links {
  display: grid;
  grid-template-columns: auto auto;
  gap: 0 34px;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 700;
}

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

.footer-legal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 62px;
  padding-top: 22px;
  border-top: 1px solid var(--line-light);
}

.footer-legal p,
.footer-legal a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
}

/* Legal pages */

.legal-header {
  position: fixed;
}

.legal-main {
  min-height: 70svh;
  padding: 160px 0 100px;
  background: var(--paper);
}

.legal-heading {
  max-width: 820px;
}

.legal-heading .kicker {
  margin-bottom: 20px;
}

.legal-heading h1 {
  font-size: 68px;
  font-weight: 540;
  line-height: 1;
}

.legal-heading > p:last-child {
  margin-top: 22px;
  color: var(--muted);
  font-size: 17px;
}

.legal-content {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 70px;
  margin-top: 80px;
  padding-top: 44px;
  border-top: 1px solid var(--line);
}

.legal-content > p {
  color: var(--muted);
  font-size: 13px;
}

.legal-sections {
  max-width: 760px;
}

.legal-sections section + section {
  margin-top: 48px;
}

.legal-sections h2 {
  font-size: 28px;
}

.legal-sections p {
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.7;
}

.legal-sections a {
  font-weight: 800;
  text-decoration: underline;
}

/* Motion enhancement */

[data-reveal] {
  opacity: 1;
  transform: none;
}

.motion-ready [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 620ms cubic-bezier(0.22, 1, 0.36, 1), transform 620ms cubic-bezier(0.22, 1, 0.36, 1);
}

.motion-ready [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* Responsive */

@media (max-width: 1160px) {
  .site-header {
    grid-template-columns: 180px 1fr auto;
  }

  .site-navigation {
    gap: 20px;
  }

  .service-grid,
  .service-grid.reverse {
    grid-template-columns: minmax(0, 0.84fr) minmax(480px, 1.16fr);
    gap: 52px;
  }

  .service-copy h2 {
    font-size: 50px;
  }

  .builder-heading h2 {
    font-size: 56px;
  }

  .map-node {
    width: 160px;
  }

  .decision-list dd {
    grid-template-columns: 145px 1fr;
  }
}

@media (max-width: 980px) {
  :root {
    --header-height: 70px;
  }

  .shell {
    width: min(calc(100% - 48px), var(--shell));
  }

  .site-header {
    grid-template-columns: 1fr auto auto;
    min-height: var(--header-height);
    padding: 0 20px;
  }

  .menu-toggle {
    position: relative;
    display: none;
    grid-column: 2;
    width: 44px;
    min-height: 44px;
    padding: 0;
    background: transparent;
    color: var(--white);
    cursor: pointer;
  }

  .js-ready .menu-toggle {
    display: block;
  }

  .menu-lines {
    position: absolute;
    inset: 0;
    display: grid;
    place-content: center;
    gap: 6px;
  }

  .menu-lines i {
    display: block;
    width: 20px;
    height: 2px;
    background: currentColor;
    transition: transform 180ms ease;
  }

  .menu-toggle[aria-expanded="true"] .menu-lines i:first-child {
    transform: translateY(4px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] .menu-lines i:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }

  .site-navigation {
    position: absolute;
    top: 70px;
    right: 0;
    left: 0;
    display: flex;
    gap: 24px;
    min-height: 54px;
    padding: 4px 20px;
    overflow-x: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    background: var(--ink);
    white-space: nowrap;
  }

  .js-ready .site-navigation {
    position: fixed;
    z-index: 42;
    top: 70px;
    right: 0;
    bottom: 0;
    left: auto;
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    flex-direction: column;
    gap: 0;
    width: min(390px, 90vw);
    padding: 24px;
    overflow-y: auto;
    transform: translateX(102%);
    border: 0;
    border-left: 1px solid var(--line-light);
    background: var(--ink);
    box-shadow: -24px 30px 80px rgba(0, 0, 0, 0.28);
    transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1);
  }

  .js-ready .site-navigation.is-open {
    transform: translateX(0);
  }

  .js-ready .site-navigation a {
    min-height: 64px;
    border-bottom: 1px solid var(--line-light);
    color: var(--white);
    font-size: 17px;
  }

  .js-ready .site-navigation a::after {
    display: none;
  }

  .nav-contact {
    display: inline-flex !important;
    color: var(--acid) !important;
  }

  .menu-scrim {
    position: fixed;
    z-index: 39;
    inset: 0;
    display: block;
    visibility: hidden;
    border: 0;
    background: rgba(0, 0, 0, 0.48);
    cursor: pointer;
    opacity: 0;
    transition: opacity 180ms ease, visibility 180ms ease;
  }

  .menu-scrim.is-visible {
    visibility: visible;
    opacity: 1;
  }

  .header-cta {
    display: none;
  }

  .hero-copy {
    width: min(760px, 78%);
  }

  .hero h1 {
    font-size: 64px;
  }

  .manifesto-grid {
    grid-template-columns: 84px 1fr;
  }

  .manifesto-copy {
    grid-column: 2;
    max-width: 620px;
    margin-top: 14px;
  }

  .service-grid,
  .service-grid.reverse {
    grid-template-columns: 1fr;
    gap: 64px;
  }

  .service-grid.reverse .service-copy,
  .service-grid.reverse .ai-map {
    grid-column: auto;
    grid-row: auto;
  }

  .service-grid.reverse .service-copy {
    order: 1;
  }

  .service-grid.reverse .ai-map {
    order: 2;
  }

  .service-copy {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 0 34px;
  }

  .service-copy .section-index {
    grid-row: 1 / 7;
    margin: 0;
  }

  .service-copy h2,
  .service-copy .kicker,
  .service-copy .service-lead,
  .service-copy .plain-list,
  .service-copy .text-link {
    grid-column: 2;
  }

  .payment-tool,
  .ai-map {
    width: min(100%, 760px);
    margin-left: auto;
  }

  .builder-heading {
    grid-template-columns: 84px 1fr;
  }

  .builder-heading > p:last-child {
    grid-column: 2;
    grid-row: auto;
    max-width: 620px;
    margin-top: 14px;
  }

  .project-builder {
    grid-template-columns: 1fr;
  }

  .builder-controls {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 34px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .builder-controls fieldset + fieldset {
    margin-top: 0;
  }

  .method-heading,
  .trust-strip {
    grid-template-columns: 170px 1fr;
  }

  .contact-grid {
    grid-template-columns: 0.72fr 1.28fr;
    gap: 48px;
  }

  .contact-copy h2 {
    font-size: 50px;
  }

  .footer-main {
    grid-template-columns: 180px 1fr;
  }

  .footer-links {
    grid-column: 2;
  }
}

@media (max-width: 760px) {
  .shell {
    width: min(calc(100% - 32px), var(--shell));
  }

  .site-header {
    padding: 0 12px;
  }

  .brand-sub {
    display: none;
  }

  .header-actions {
    gap: 6px;
  }

  .language-control button {
    width: 36px;
  }

  .hero {
    height: calc(100svh - 40px);
    min-height: 700px;
  }

  .hero-media img {
    object-position: center top;
  }

  .hero-shade {
    background:
      linear-gradient(0deg, rgba(4, 8, 7, 0.98) 0%, rgba(4, 8, 7, 0.82) 46%, rgba(4, 8, 7, 0.12) 80%),
      linear-gradient(90deg, rgba(4, 8, 7, 0.42), rgba(4, 8, 7, 0.08));
  }

  .hero-inner {
    padding-top: 96px;
    padding-bottom: 20px;
  }

  .eyebrow {
    align-self: start;
    font-size: 10px;
  }

  .hero-copy {
    align-self: end;
    width: 100%;
    padding: 80px 0 24px;
  }

  .hero h1 {
    font-size: 46px;
    line-height: 1;
  }

  .hero-lead {
    max-width: 520px;
    margin-top: 20px;
    font-size: 15px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 8px;
    margin-top: 22px;
  }

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

  .hero-actions .text-link {
    justify-content: space-between;
    padding: 0 4px;
  }

  .hero-system {
    display: none;
  }

  .manifesto,
  .service-story,
  .builder,
  .method,
  .contact {
    padding: 92px 0;
  }

  .manifesto-grid,
  .builder-heading {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .manifesto-grid .section-index,
  .builder-heading .section-index {
    margin-bottom: 40px;
  }

  .manifesto-grid > div,
  .manifesto-copy,
  .builder-heading .kicker,
  .builder-heading h2,
  .builder-heading > p:last-child {
    grid-column: 1;
  }

  .manifesto h2,
  .builder-heading h2 {
    font-size: 43px;
  }

  .manifesto-copy,
  .builder-heading > p:last-child {
    margin-top: 24px;
    font-size: 16px;
  }

  .signal-line {
    width: calc(100% - 32px);
    margin-top: 70px;
  }

  .service-copy {
    display: block;
  }

  .service-copy .section-index {
    margin-bottom: 40px;
  }

  .service-copy h2 {
    margin-top: 18px;
    font-size: 43px;
  }

  .service-lead {
    margin-top: 22px;
    font-size: 16px;
  }

  .plain-list {
    margin-top: 28px;
  }

  .payment-question strong {
    font-size: 27px;
  }

  .decision-list dd {
    display: block;
    padding: 16px;
  }

  .decision-list span {
    display: block;
    margin-top: 5px;
  }

  .map-stage {
    height: 520px;
  }

  .map-node {
    width: calc(50% - 28px);
  }

  .source-node {
    top: 48px;
    left: 14px;
  }

  .rules-node {
    bottom: 52px;
    left: 14px;
  }

  .workflow-node {
    top: 48px;
    right: 14px;
  }

  .human-node {
    right: 14px;
    bottom: 52px;
  }

  .map-lines {
    display: none;
  }

  .map-detail {
    grid-template-columns: 38px 1fr;
    padding: 20px;
  }

  .project-builder {
    margin-top: 54px;
  }

  .builder-controls {
    display: block;
    padding: 24px;
  }

  .builder-controls fieldset + fieldset {
    margin-top: 30px;
  }

  .segmented-control {
    grid-template-columns: 1fr;
  }

  .segmented-control button + button {
    border-top: 1px solid var(--line);
  }

  .output-summary {
    padding: 30px 24px 24px;
  }

  .output-summary h3 {
    font-size: 31px;
  }

  .output-steps {
    grid-template-columns: 1fr;
  }

  .output-steps li {
    min-height: auto;
    border-right: 0;
  }

  .output-action {
    align-items: stretch;
    flex-direction: column;
  }

  .output-action .button {
    width: 100%;
  }

  .method-heading,
  .trust-strip {
    grid-template-columns: 1fr;
  }

  .method-heading h2 {
    margin-top: 42px;
    font-size: 43px;
  }

  .method-steps {
    grid-template-columns: 1fr;
    margin-top: 60px;
  }

  .method-steps li,
  .method-steps li + li {
    min-height: auto;
    padding: 24px 0 42px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  }

  .method-verb {
    margin-top: 36px;
  }

  .trust-strip {
    gap: 18px;
    margin-top: 54px;
  }

  .trust-strip ul {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .contact-copy .kicker {
    margin-top: 42px;
  }

  .contact-copy h2 {
    font-size: 43px;
  }

  .contact-form {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .contact-form > * {
    grid-column: 1 !important;
  }

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

  .footer-main {
    grid-template-columns: 1fr;
    gap: 24px;
  }

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

  .footer-legal {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .legal-main {
    padding: 132px 0 80px;
  }

  .legal-heading h1 {
    font-size: 48px;
  }

  .legal-content {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 54px;
  }
}

@media (max-width: 370px) {
  .site-header {
    grid-template-columns: 1fr auto auto;
  }

  .brand-divider {
    display: none;
  }

  .hero h1 {
    font-size: 39px;
  }

  .hero-lead {
    font-size: 14px;
  }

  .manifesto h2,
  .builder-heading h2,
  .service-copy h2,
  .method-heading h2,
  .contact-copy h2 {
    font-size: 37px;
  }

  .map-node {
    min-height: 96px;
    padding: 11px;
  }

  .map-node strong {
    font-size: 13px;
  }

  .map-node small {
    font-size: 10px;
  }
}

@media (max-width: 370px) and (max-height: 650px) {
  .hero {
    height: calc(100svh - 40px);
    min-height: 528px;
  }

  .hero-inner {
    padding-top: 80px;
    padding-bottom: 16px;
  }

  .hero-copy {
    padding: 30px 0 0;
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero-lead {
    margin-top: 13px;
    font-size: 12px;
    line-height: 1.42;
  }

  .hero-actions {
    flex-direction: row;
    margin-top: 14px;
  }

  .hero-actions .button,
  .hero-actions .text-link {
    min-height: 44px;
    padding: 0 10px;
    font-size: 10px;
  }
}

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

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

  .motion-ready [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
