:root {
  --ink: #12343d;
  --deep: #0b303a;
  --deep-2: #09262f;
  --brand: #247f9d;
  --electric: #73d8f1;
  --paper: #edf2ef;
  --paper-2: #dfe8e4;
  --white: #f7faf7;
  --muted: #637b80;
  --line: rgba(18, 52, 61, .14);
  --dark-line: rgba(231, 244, 242, .15);
  --max: 1680px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; background: var(--paper); }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 16px/1.55 "Manrope", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: var(--ink);
  background: var(--white);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.sub-header {
  position: absolute;
  z-index: 100;
  top: 12px;
  left: 50%;
  width: min(calc(100% - 48px), var(--max));
  min-height: 80px;
  padding: 0 8px;
  display: grid;
  grid-template-columns: 220px 1fr 220px;
  align-items: center;
  color: var(--white);
  border-bottom: 1px solid rgba(235, 247, 245, .18);
  transform: translateX(-50%);
}
.brand { display: inline-flex; width: max-content; align-items: center; }
.sub-header .brand img { width: 166px; height: auto; }
.sub-nav { display: flex; justify-content: center; gap: 36px; }
.sub-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: rgba(247, 250, 247, .7);
  font-size: 14px;
  font-weight: 500;
  transition: color .2s ease;
}
.sub-nav a:hover,
.sub-nav a:focus-visible,
.sub-nav a[aria-current="page"] { color: var(--white); }
.header-cta {
  min-height: 44px;
  padding: 0 0 0 16px;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  border-bottom: 1px solid rgba(247, 250, 247, .48);
  font-size: 14px;
  font-weight: 600;
}
.header-cta span { transition: transform .2s ease; }
.header-cta:hover span { transform: translate(3px, -3px); }
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  place-content: center;
  gap: 5px;
  color: var(--white);
  border: 0;
  background: transparent;
}
.menu-toggle > span:not(.sr-only) { width: 20px; height: 1px; display: block; background: currentColor; }

.sub-hero {
  position: relative;
  min-height: 720px;
  padding: 184px max(6.2%, calc((100% - var(--max)) / 2)) 88px;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, .55fr);
  align-items: end;
  gap: 8vw;
  color: var(--white);
  background-color: var(--deep);
  background-image: linear-gradient(90deg, transparent calc(25% - .5px), var(--dark-line) 25%, transparent calc(25% + .5px)), linear-gradient(90deg, transparent calc(50% - .5px), var(--dark-line) 50%, transparent calc(50% + .5px)), linear-gradient(90deg, transparent calc(75% - .5px), var(--dark-line) 75%, transparent calc(75% + .5px));
}
.hero-copy { max-width: 1120px; }
.eyebrow {
  margin: 0 0 30px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--electric);
  font: 500 11px/1.4 "IBM Plex Mono", monospace;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 10px currentColor;
}
.sub-hero h1 {
  max-width: 1100px;
  margin: 0;
  font-size: clamp(64px, 7.7vw, 132px);
  font-weight: 500;
  line-height: .94;
  letter-spacing: -.042em;
}
.hero-lede {
  max-width: 660px;
  margin: 34px 0 0;
  color: rgba(235, 245, 243, .62);
  font-size: clamp(17px, 1.4vw, 22px);
  line-height: 1.55;
}
.hero-actions { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 12px; }
.button {
  min-height: 52px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border: 1px solid rgba(247, 250, 247, .22);
  font-size: 14px;
  font-weight: 600;
  transition: color .2s ease, background .2s ease, border-color .2s ease;
}
.button-light { color: var(--ink); background: var(--white); border-color: var(--white); }
.button-light:hover { background: var(--electric); border-color: var(--electric); }
.button-ghost:hover { border-color: rgba(247, 250, 247, .6); }
.hero-index {
  padding: 0 0 10px 28px;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-left: 1px solid var(--dark-line);
  color: rgba(235, 245, 243, .52);
}
.hero-index small { font: 10px "IBM Plex Mono", monospace; letter-spacing: .1em; }
.hero-index strong { margin-top: auto; color: var(--white); font-size: clamp(70px, 7vw, 118px); font-weight: 400; line-height: .8; letter-spacing: -.06em; }
.hero-index span { margin-top: 28px; font: 10px/1.6 "IBM Plex Mono", monospace; letter-spacing: .08em; }

.signal-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  color: var(--ink);
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
}
.signal-strip article {
  min-height: 184px;
  padding: 34px max(24px, 3.1vw);
  border-right: 1px solid var(--line);
}
.signal-strip article:last-child { border-right: 0; }
.signal-strip span { color: var(--brand); font: 10px "IBM Plex Mono", monospace; letter-spacing: .1em; }
.signal-strip h2 { margin: 48px 0 0; font-size: clamp(20px, 1.7vw, 28px); font-weight: 500; line-height: 1.15; letter-spacing: -.025em; }

.content-section {
  padding: 132px max(6.2%, calc((100% - var(--max)) / 2));
  background: var(--paper);
}
.content-section.alt { background: var(--paper-2); }
.content-section.dark { color: var(--white); background: var(--deep-2); }
.section-heading {
  max-width: var(--max);
  margin: 0 auto 88px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: end;
}
.section-heading .eyebrow { color: var(--brand); }
.dark .section-heading .eyebrow { color: var(--electric); }
.section-heading h2 {
  grid-column: 1 / -1;
  max-width: 1180px;
  margin: 0;
  font-size: clamp(48px, 5.5vw, 92px);
  font-weight: 500;
  line-height: .98;
  letter-spacing: -.035em;
}
.section-heading > p:last-child {
  grid-column: 2;
  max-width: 650px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}
.dark .section-heading > p:last-child { color: rgba(235, 245, 243, .58); }

.feature-ledger { max-width: var(--max); margin: 0 auto; border-top: 1px solid var(--line); }
.dark .feature-ledger { border-color: var(--dark-line); }
.feature-ledger article {
  min-height: 220px;
  padding: 32px 0;
  display: grid;
  grid-template-columns: 92px minmax(260px, .9fr) minmax(320px, 1.1fr);
  gap: 34px;
  align-items: start;
  border-bottom: 1px solid var(--line);
}
.dark .feature-ledger article { border-color: var(--dark-line); }
.feature-ledger .index { color: var(--brand); font: 11px "IBM Plex Mono", monospace; letter-spacing: .08em; }
.dark .feature-ledger .index { color: var(--electric); }
.feature-ledger h3 { margin: 0; font-size: clamp(30px, 3vw, 48px); font-weight: 500; line-height: 1.05; letter-spacing: -.03em; }
.feature-ledger article > div:last-child { max-width: 620px; }
.feature-ledger p { margin: 0; color: var(--muted); font-size: 17px; }
.dark .feature-ledger p { color: rgba(235, 245, 243, .58); }
.feature-ledger ul { margin: 22px 0 0; padding: 0; list-style: none; }
.feature-ledger li { padding: 9px 0; border-top: 1px solid var(--line); font-size: 14px; }
.dark .feature-ledger li { border-color: var(--dark-line); }

.process-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.process-grid article { min-height: 310px; padding: 28px; border-right: 1px solid var(--line); display: flex; flex-direction: column; }
.process-grid article:last-child { border-right: 0; }
.process-grid span { color: var(--brand); font: 10px "IBM Plex Mono", monospace; letter-spacing: .08em; }
.process-grid h3 { margin: auto 0 18px; font-size: 28px; font-weight: 500; line-height: 1.08; letter-spacing: -.025em; }
.process-grid p { margin: 0; color: var(--muted); font-size: 14px; }

.country-ledger { max-width: var(--max); margin: 0 auto; border-top: 1px solid var(--line); }
.country-ledger article {
  min-height: 84px;
  padding: 18px 0;
  display: grid;
  grid-template-columns: 72px 1fr 1fr 1fr;
  gap: 24px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.country-ledger span { color: var(--brand); font: 10px "IBM Plex Mono", monospace; }
.country-ledger h3 { margin: 0; font-size: 22px; font-weight: 500; letter-spacing: -.02em; }
.country-ledger p { margin: 0; color: var(--muted); font-size: 14px; }

.split-copy { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 8vw; }
.split-copy h2 { margin: 0; font-size: clamp(48px, 5vw, 84px); font-weight: 500; line-height: .98; letter-spacing: -.035em; }
.split-copy .copy-column { max-width: 650px; padding-top: 10px; }
.split-copy .copy-column p { color: var(--muted); font-size: 18px; }
.split-copy .copy-column p:last-child { margin-bottom: 0; }

.contact-layout { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: .75fr 1.25fr; gap: 8vw; }
.contact-details { padding-right: 40px; }
.contact-details h2 { margin: 0 0 38px; font-size: clamp(42px, 4.5vw, 72px); font-weight: 500; line-height: 1; letter-spacing: -.035em; }
.contact-details address { color: var(--muted); font-style: normal; }
.contact-details a { margin-top: 28px; display: inline-flex; color: var(--brand); border-bottom: 1px solid currentColor; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 24px; }
.field { display: flex; flex-direction: column; gap: 10px; }
.field.full { grid-column: 1 / -1; }
.field label { color: var(--muted); font: 10px "IBM Plex Mono", monospace; letter-spacing: .08em; text-transform: uppercase; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 52px;
  padding: 10px 0;
  color: var(--ink);
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  outline: 0;
  background: transparent;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand); }
.contact-form .submit { grid-column: 1 / -1; justify-self: start; color: var(--white); background: var(--ink); border-color: var(--ink); cursor: pointer; }
.form-status { grid-column: 1 / -1; margin: 0; color: var(--brand); font-size: 14px; }

.developer-band {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  border: 1px solid var(--dark-line);
}
.developer-band > div { min-height: 420px; padding: 44px; }
.developer-band > div:first-child { border-right: 1px solid var(--dark-line); }
.developer-band small { color: var(--electric); font: 10px "IBM Plex Mono", monospace; letter-spacing: .08em; }
.developer-band h3 { max-width: 560px; margin: 120px 0 0; font-size: clamp(38px, 4vw, 64px); font-weight: 500; line-height: 1; letter-spacing: -.035em; }
.integration-lines { display: flex; flex-direction: column; }
.integration-lines p { margin: 0; padding: 24px 0; display: flex; justify-content: space-between; border-bottom: 1px solid var(--dark-line); color: rgba(235, 245, 243, .62); }
.integration-lines p:first-child { border-top: 1px solid var(--dark-line); }
.integration-lines strong { color: var(--white); font-weight: 500; }

.legal-hero { min-height: 520px; }
.legal-hero h1 { font-size: clamp(58px, 6.5vw, 108px); }
.legal-layout {
  max-width: 1380px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 260px minmax(0, 820px);
  gap: 8vw;
  align-items: start;
}
.legal-nav { position: sticky; top: 28px; max-height: calc(100vh - 56px); overflow: auto; }
.legal-nav p { margin: 0 0 20px; color: var(--brand); font: 10px "IBM Plex Mono", monospace; letter-spacing: .1em; }
.legal-nav a { padding: 9px 0; display: block; color: var(--muted); font-size: 13px; border-top: 1px solid var(--line); }
.legal-nav a:hover { color: var(--ink); }
.legal-document { min-width: 0; color: var(--ink); }
.legal-document .tp-tnc__display { display: none; }
.legal-document .tp-tnc__subdisplay { margin-bottom: 80px; color: var(--muted); font-size: 18px; line-height: 1.7; }
.legal-document .tp-tnc__section { margin-bottom: 72px; scroll-margin-top: 28px; }
.legal-document .tp-tnc__title { margin: 0 0 36px; color: var(--brand); font: 11px "IBM Plex Mono", monospace; letter-spacing: .1em; text-transform: uppercase; }
.legal-document .tp-tnc__heading { margin: 0 0 24px; font-size: clamp(30px, 3vw, 46px); font-weight: 500; line-height: 1.08; letter-spacing: -.03em; }
.legal-document ol, .legal-document ul { margin: 0; padding-left: 24px; }
.legal-document li { margin: 0 0 13px; padding-left: 7px; color: #405d63; line-height: 1.7; }
.legal-document li::marker { color: var(--brand); font-family: "IBM Plex Mono", monospace; font-size: 11px; }
.legal-document a { color: var(--brand); border-bottom: 1px solid rgba(36, 127, 157, .35); }
.legal-document address { margin: 20px 0 0; padding: 24px; color: #405d63; border-left: 3px solid var(--brand); background: rgba(36, 127, 157, .06); font-style: normal; line-height: 1.75; }
.legal-document address strong { color: var(--ink); }
.legal-loading { color: var(--muted); }

.docs-masthead {
  min-height: 390px;
  padding: 146px max(4%, calc((100% - 1480px) / 2)) 54px;
  display: grid;
  grid-template-columns: minmax(0, 760px) 260px;
  justify-content: space-between;
  align-items: end;
  gap: 64px;
  color: var(--white);
  background-color: var(--deep);
  background-image: linear-gradient(90deg, transparent calc(25% - .5px), var(--dark-line) 25%, transparent calc(25% + .5px)), linear-gradient(90deg, transparent calc(50% - .5px), var(--dark-line) 50%, transparent calc(50% + .5px)), linear-gradient(90deg, transparent calc(75% - .5px), var(--dark-line) 75%, transparent calc(75% + .5px));
}
.docs-breadcrumb { margin: 0 0 22px; color: var(--electric); font: 500 11px/1.4 "IBM Plex Mono", monospace; letter-spacing: .09em; }
.docs-breadcrumb span { padding: 0 7px; color: rgba(247, 250, 247, .32); }
.docs-masthead h1 { margin: 0; font-size: clamp(46px, 4.5vw, 64px); font-weight: 500; line-height: 1; letter-spacing: -.035em; }
.docs-masthead-copy > p:last-child { max-width: 680px; margin: 22px 0 0; color: rgba(235, 245, 243, .68); font-size: 18px; line-height: 1.55; }
.docs-masthead-meta { padding-left: 28px; border-left: 1px solid var(--dark-line); }
.docs-masthead-meta dl { margin: 0; }
.docs-masthead-meta dl > div { padding: 9px 0; display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--dark-line); }
.docs-masthead-meta dt, .docs-masthead-meta dd { margin: 0; font: 11px/1.45 "IBM Plex Mono", monospace; }
.docs-masthead-meta dt { color: rgba(235, 245, 243, .48); }
.docs-masthead-meta dd { color: var(--white); }
.docs-masthead-meta > a { margin-top: 18px; min-height: 42px; display: inline-flex; align-items: center; gap: 12px; color: var(--electric); font-size: 13px; font-weight: 600; }
.docs-masthead-meta > a span { transition: transform .2s ease; }
.docs-masthead-meta > a:hover span { transform: translate(3px, -3px); }
.api-docs-section { padding: 58px max(3%, calc((100% - 1480px) / 2)) 120px; }
.api-search-shell {
  max-width: 1480px;
  margin: 0 auto 46px;
  display: grid;
  grid-template-columns: 200px minmax(520px, 680px) 190px;
  justify-content: space-between;
  gap: clamp(28px, 3.5vw, 60px);
}
.api-search { position: relative; z-index: 20; grid-column: 2; }
.api-search > svg { position: absolute; z-index: 2; top: 17px; left: 18px; width: 19px; height: 19px; fill: none; stroke: var(--brand); stroke-width: 1.7; pointer-events: none; }
.api-search input {
  width: 100%;
  height: 54px;
  padding: 0 96px 0 50px;
  color: var(--ink);
  border: 1px solid rgba(18, 52, 61, .2);
  border-radius: 0;
  outline: 0;
  background: #f6f8f6;
  font-size: 15px;
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}
.api-search input::placeholder { color: #7b9094; opacity: 1; }
.api-search input:focus { border-color: var(--brand); background: var(--white); box-shadow: 0 0 0 3px rgba(36, 127, 157, .12); }
.api-search input::-webkit-search-cancel-button { cursor: pointer; }
.api-search > kbd { position: absolute; z-index: 2; top: 13px; right: 12px; min-width: 48px; height: 28px; padding: 0 8px; display: inline-flex; align-items: center; justify-content: center; gap: 3px; color: #6f8589; border: 1px solid var(--line); background: var(--paper); font: 11px "IBM Plex Mono", monospace; pointer-events: none; }
.api-search-panel { position: absolute; z-index: 30; top: 62px; left: 0; right: 0; max-height: 430px; overflow-y: auto; border: 1px solid rgba(18, 52, 61, .2); background: var(--white); box-shadow: 0 18px 42px rgba(9, 38, 47, .16); }
.api-search-panel[hidden] { display: none; }
.api-search-panel > p { margin: 0; padding: 13px 16px; color: var(--muted); border-bottom: 1px solid var(--line); font: 11px "IBM Plex Mono", monospace; letter-spacing: .04em; }
.api-search-panel [role="listbox"] { padding: 6px; }
.api-search-panel button { width: 100%; padding: 13px 12px; display: block; color: var(--ink); border: 0; text-align: left; background: transparent; cursor: pointer; }
.api-search-panel button + button { border-top: 1px solid rgba(18, 52, 61, .08); }
.api-search-panel button:hover, .api-search-panel button:focus-visible, .api-search-panel button.is-active { outline: 0; background: #e8f1ef; }
.api-search-panel button > span { display: block; font-size: 14px; font-weight: 600; line-height: 1.4; }
.api-search-panel button small { margin-top: 5px; display: block; color: var(--muted); font-size: 12.5px; line-height: 1.45; }
.api-search-panel mark { padding: 0 1px; color: inherit; background: rgba(115, 216, 241, .48); }
.api-docs-layout {
  max-width: 1480px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 200px minmax(520px, 680px) 190px;
  justify-content: space-between;
  gap: clamp(28px, 3.5vw, 60px);
  align-items: start;
}
.api-guide-nav, .api-page-nav { position: sticky; top: 28px; max-height: calc(100vh - 56px); overflow: auto; }
.api-guide-nav > p, .api-page-nav > p { margin: 0 0 16px; color: var(--brand); font: 500 11px/1.4 "IBM Plex Mono", monospace; letter-spacing: .08em; }
.api-guide-nav nav { border-top: 1px solid var(--line); }
.api-guide-nav nav a { min-height: 47px; display: grid; grid-template-columns: 30px 1fr; align-items: center; color: #49656b; font-size: 13.5px; border-bottom: 1px solid var(--line); }
.api-guide-nav nav a span { color: #8ba0a3; font: 10px "IBM Plex Mono", monospace; }
.api-guide-nav nav a:hover, .api-guide-nav nav a:focus-visible { color: var(--brand); }
.api-archive-link { margin-top: 20px; min-height: 40px; display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 12.5px; }
.api-archive-link:hover { color: var(--brand); }
.api-page-nav { padding-left: 18px; border-left: 1px solid var(--line); }
.api-page-nav a { padding: 5px 0; display: block; color: #71878b; font-size: 12.5px; line-height: 1.4; }
.api-page-nav a.h1 { margin: 10px 0 3px; color: var(--ink); font-weight: 600; }
.api-page-nav a.h3 { padding-left: 12px; font-size: 12px; }
.api-page-nav a:hover, .api-page-nav a.is-active { color: var(--brand); }
.api-reader { min-width: 0; }
.api-reader-intro { margin-bottom: 54px; padding-bottom: 42px; border-bottom: 1px solid var(--line); }
.api-reader-intro > p { margin: 0 0 14px; color: var(--brand); font: 500 11px/1.4 "IBM Plex Mono", monospace; letter-spacing: .08em; }
.api-reader-intro h2 { margin: 0; font-size: 32px; font-weight: 600; line-height: 1.25; letter-spacing: -.025em; }
.api-reader-intro > span { max-width: 590px; margin-top: 12px; display: block; color: var(--muted); font-size: 17px; line-height: 1.6; }
.api-document { min-width: 0; color: #35535a; }
.api-document > .grid-container-fluid { width: 100%; }
.api-document h1, .api-document h2, .api-document h3 { scroll-margin-top: 32px; color: var(--ink); font-family: Manrope, sans-serif; }
.api-document .api-search-target { background: rgba(115, 216, 241, .2); box-shadow: 0 0 0 8px rgba(115, 216, 241, .2); }
.api-document h1 { margin: 76px 0 28px; padding-top: 28px; font-size: 30px; font-weight: 600; line-height: 1.25; letter-spacing: -.025em; border-top: 1px solid var(--line); }
.api-document h1:first-child { margin-top: 0; }
.api-document h2 { margin: 62px 0 18px; font-size: 24px; font-weight: 600; line-height: 1.35; letter-spacing: -.015em; }
.api-document h3 { margin: 44px 0 16px; color: var(--ink); font-size: 18px; font-weight: 600; line-height: 1.45; }
.api-document p { margin: 0 0 18px; font-size: 16px; line-height: 1.65; }
.api-document a { color: var(--brand); overflow-wrap: anywhere; }
.api-document h1 a, .api-document h2 a, .api-document h3 a { color: inherit; }
.api-document b, .api-document strong { color: var(--ink); font-weight: 600; }
.api-document .api-table-wrap { width: 100%; margin: 24px 0 38px; overflow-x: auto; border: 1px solid var(--line); background: #f4f7f5; }
.api-document table { width: 100%; min-width: 640px; border: 0; border-collapse: collapse; background: transparent; }
.api-document tr { border-bottom: 1px solid var(--line); }
.api-document tr:last-child { border-bottom: 0; }
.api-document td, .api-document th { min-width: 110px; padding: 14px 15px; vertical-align: top; border: 0 !important; border-right: 1px solid var(--line) !important; background: transparent !important; }
.api-document td:last-child, .api-document th:last-child { border-right: 0 !important; }
.api-document .api-table-head > td, .api-document .api-table-head > th { color: var(--ink); font: 600 12px/1.5 "IBM Plex Mono", monospace; letter-spacing: .02em; text-transform: uppercase; background: #dfeceb !important; }
.api-document td p { margin: 0; font-size: 14px; line-height: 1.55; }
.api-code-block { margin: 24px 0 36px; padding: 22px 24px; overflow-x: auto; color: #d9eef0; background: var(--deep-2); border-left: 3px solid var(--electric); }
.api-code-block code { font: 13.5px/1.7 "IBM Plex Mono", monospace; white-space: pre; }
.api-document img { width: auto; max-width: 100%; height: auto; margin: 24px 0; }
.api-document br + br { display: none; }

.sub-cta {
  min-height: 580px;
  padding: 110px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  background: var(--deep);
}
.sub-cta .eyebrow { margin-bottom: 34px; }
.sub-cta h2 { margin: 0; font-size: clamp(56px, 7vw, 112px); font-weight: 500; line-height: .92; letter-spacing: -.04em; }
.sub-cta > p:not(.eyebrow) { max-width: 600px; margin: 30px 0 0; color: rgba(235, 245, 243, .56); font-size: 17px; }
.sub-cta .button { margin-top: 34px; }

.site-footer { padding: 72px max(6.2%, calc((100% - var(--max)) / 2)) 32px; color: var(--ink); background: var(--paper); }
.footer-primary { min-height: 132px; display: flex; align-items: flex-start; }
.site-footer .brand img { width: 168px; }
.footer-meta { min-height: 64px; padding-top: 22px; display: flex; align-items: flex-start; justify-content: space-between; gap: 32px; border-top: 1px solid var(--line); }
.site-footer small { color: var(--muted); font: 10px/1.5 "IBM Plex Mono", monospace; letter-spacing: .02em; }
.site-footer nav { display: flex; gap: 30px; font-size: 13px; }
.site-footer nav a:hover, .site-footer nav a:focus-visible { color: var(--brand); }

@media (max-width: 980px) {
  .sub-header { grid-template-columns: 180px 1fr 160px; }
  .sub-nav { gap: 18px; }
  .sub-hero { grid-template-columns: 1fr; min-height: 680px; }
  .hero-index { min-height: 130px; padding-left: 0; padding-top: 28px; display: grid; grid-template-columns: 1fr auto; border-left: 0; border-top: 1px solid var(--dark-line); }
  .hero-index strong { margin: 0; }
  .hero-index span { grid-column: 1; grid-row: 2; margin: 10px 0 0; }
  .signal-strip { grid-template-columns: repeat(2, 1fr); }
  .signal-strip article:nth-child(2) { border-right: 0; }
  .signal-strip article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid article:nth-child(2) { border-right: 0; }
  .process-grid article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .legal-layout { grid-template-columns: 210px minmax(0, 1fr); gap: 5vw; }
  .api-search-shell { grid-template-columns: 190px minmax(0, 680px); justify-content: center; }
  .api-docs-layout { grid-template-columns: 190px minmax(0, 680px); justify-content: center; }
  .api-page-nav { display: none; }
}

@media (max-width: 780px) {
  body { font-size: 16px; }
  .sub-header {
    top: 4px;
    width: calc(100% - 24px);
    min-height: 66px;
    padding: 0 8px;
    grid-template-columns: 1fr auto;
  }
  .sub-header .brand img { width: 136px; }
  .menu-toggle { display: grid; }
  .sub-nav {
    position: absolute;
    top: 65px;
    left: 0;
    right: 0;
    padding: 18px;
    display: none;
    flex-direction: column;
    gap: 0;
    color: var(--white);
    background: rgba(9, 38, 47, .98);
    border: 1px solid rgba(235, 245, 243, .14);
  }
  .sub-nav.open { display: flex; }
  .sub-nav a { min-height: 48px; border-bottom: 1px solid var(--dark-line); }
  .header-cta { display: none; }

  .sub-hero {
    min-height: 0;
    padding: 132px 20px 52px;
    gap: 64px;
    background-image: linear-gradient(90deg, transparent calc(25% - .5px), var(--dark-line) 25%, transparent calc(25% + .5px)), linear-gradient(90deg, transparent calc(50% - .5px), var(--dark-line) 50%, transparent calc(50% + .5px)), linear-gradient(90deg, transparent calc(75% - .5px), var(--dark-line) 75%, transparent calc(75% + .5px));
  }
  .sub-hero h1 { font-size: clamp(52px, 14vw, 70px); line-height: .96; letter-spacing: -.035em; }
  .hero-lede { margin-top: 28px; font-size: 16px; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .button { width: 100%; min-height: 54px; }
  .hero-index { min-height: 110px; }
  .hero-index strong { font-size: 68px; }

  .signal-strip { grid-template-columns: 1fr; }
  .signal-strip article { min-height: 144px; padding: 26px 20px; border-right: 0; border-bottom: 1px solid var(--line); }
  .signal-strip article:last-child { border-bottom: 0; }
  .signal-strip h2 { margin-top: 34px; font-size: 24px; }

  .content-section { padding: 88px 20px; }
  .section-heading { margin-bottom: 56px; display: block; }
  .section-heading h2 { font-size: clamp(46px, 13vw, 64px); }
  .section-heading > p:last-child { margin-top: 30px; font-size: 16px; }
  .feature-ledger article { min-height: 0; padding: 28px 0 34px; grid-template-columns: 42px 1fr; gap: 20px 14px; }
  .feature-ledger h3 { font-size: 31px; }
  .feature-ledger article > div:last-child { grid-column: 2; }
  .feature-ledger p { font-size: 16px; }

  .process-grid { grid-template-columns: 1fr; }
  .process-grid article { min-height: 250px; padding: 24px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .process-grid article:last-child { border-bottom: 0; }
  .process-grid h3 { font-size: 30px; }
  .country-ledger article { grid-template-columns: 42px 1fr; gap: 10px 12px; }
  .country-ledger h3 { font-size: 20px; }
  .country-ledger p { grid-column: 2; }

  .split-copy, .contact-layout, .developer-band { grid-template-columns: 1fr; }
  .split-copy { gap: 42px; }
  .split-copy h2, .contact-details h2 { font-size: clamp(46px, 13vw, 64px); }
  .split-copy .copy-column p { font-size: 16px; }
  .contact-layout { gap: 70px; }
  .contact-details { padding-right: 0; }
  .contact-form { grid-template-columns: 1fr; }
  .field.full, .contact-form .submit, .form-status { grid-column: 1; }
  .developer-band > div { min-height: 360px; padding: 28px 20px; }
  .developer-band > div:first-child { border-right: 0; border-bottom: 1px solid var(--dark-line); }
  .developer-band h3 { margin-top: 100px; font-size: 42px; }

  .legal-hero { min-height: 470px; }
  .legal-layout { display: block; }
  .legal-nav { position: static; max-height: none; margin-bottom: 64px; }
  .legal-document .tp-tnc__subdisplay { margin-bottom: 58px; font-size: 16px; }
  .legal-document .tp-tnc__section { margin-bottom: 58px; }
  .legal-document .tp-tnc__heading { font-size: 32px; }
  .legal-document ol, .legal-document ul { padding-left: 19px; }

  .docs-masthead { min-height: 0; padding: 126px 20px 44px; display: block; }
  .docs-masthead h1 { font-size: 46px; }
  .docs-masthead-copy > p:last-child { margin-top: 18px; font-size: 16px; }
  .docs-masthead-meta { margin-top: 34px; padding: 22px 0 0; border-left: 0; border-top: 1px solid var(--dark-line); }
  .api-docs-section { padding: 42px 20px 88px; }
  .api-search-shell { margin-bottom: 38px; display: block; }
  .api-search input { height: 54px; padding-right: 50px; font-size: 16px; }
  .api-search > kbd { display: none; }
  .api-search-panel { max-height: min(430px, 62vh); }
  .api-docs-layout { display: block; }
  .api-guide-nav { position: static; max-height: none; margin-bottom: 58px; }
  .api-guide-nav nav { display: grid; grid-template-columns: 1fr 1fr; }
  .api-guide-nav nav a:nth-child(odd) { border-right: 1px solid var(--line); }
  .api-guide-nav nav a { padding: 0 12px; }
  .api-reader-intro { margin-bottom: 46px; padding-bottom: 34px; }
  .api-reader-intro h2 { font-size: 30px; }
  .api-reader-intro > span { font-size: 16px; }
  .api-document h1 { margin-top: 68px; font-size: 28px; }
  .api-document h2 { margin-top: 54px; font-size: 23px; }
  .api-document h3 { margin-top: 40px; font-size: 18px; }
  .api-document p { font-size: 16px; line-height: 1.65; }
  .api-document .api-table-wrap { margin-right: -20px; width: calc(100% + 20px); }

  .sub-cta { min-height: 520px; padding: 90px 20px; }
  .sub-cta h2 { font-size: clamp(54px, 15vw, 78px); }
  .sub-cta .button { width: auto; }
  .site-footer { padding: 56px 20px 26px; }
  .footer-primary { min-height: 116px; }
  .site-footer .brand img { width: 148px; }
  .footer-meta { min-height: 0; padding-top: 18px; flex-direction: column-reverse; align-items: flex-start; gap: 24px; }
  .site-footer nav { width: 100%; justify-content: space-between; gap: 18px; }
  .site-footer nav a { min-height: 36px; display: inline-flex; align-items: flex-start; }
}

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