@import url("tokens.css");

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("fonts/PlusJakartaSans-Variable.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Libre Caslon Display";
  src: url("fonts/LibreCaslonDisplay-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("fonts/JetBrainsMono-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
html {
  scroll-padding-top: 2rem;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font:
    450 1rem/1.75 "Plus Jakarta Sans",
    system-ui,
    sans-serif;
  -webkit-font-smoothing: antialiased;
}
::selection {
  background: var(--selection);
}
a {
  color: inherit;
  text-underline-offset: 0.3em;
}
a:hover {
  color: var(--progress);
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
summary {
  cursor: pointer;
}
button,
.button {
  touch-action: manipulation;
}
button:disabled {
  cursor: wait;
  opacity: 0.6;
}
:focus-visible {
  outline: 2px solid var(--progress);
  outline-offset: 5px;
}
.skip {
  opacity: 0;
  position: fixed;
  left: 1rem;
  top: -6rem;
  padding: 0.75rem 1.5rem;
  background: var(--btn-bg);
  color: var(--btn-text);
  z-index: 10;
}
.skip:focus {
  opacity: 1;
  top: 1rem;
}
.header {
  max-width: 1440px;
  margin: auto;
  min-height: 104px;
  flex-wrap: wrap;
  padding: 1.25rem 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  font:
    400 2rem/1 "Libre Caslon Display",
    Georgia,
    serif;
  white-space: nowrap;
}
.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 7px;
  background: var(--logo-square);
  display: grid;
  place-items: center;
}
.brand-mark img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  font-size: 0.875rem;
  color: var(--text-soft);
}
nav a {
  text-decoration: none;
}
nav a[aria-current="page"] {
  color: var(--text);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.theme-toggle {
  border: 0;
  background: transparent;
  color: var(--text-soft);
  font-size: 1.5rem;
  padding: 0.35rem 0.65rem;
  min-height: 44px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.75rem;
  min-height: 48px;
  padding: 0.85rem 1.4rem;
  background: var(--btn-bg);
  border: 1px solid var(--btn-bg);
  color: var(--btn-text);
  text-decoration: none;
  border-radius: 4px;
  font-size: 0.875rem;
  font-weight: 600;
}
.button:hover {
  color: var(--btn-text);
  opacity: 0.87;
}
.button.secondary {
  background: transparent;
  border-color: var(--border-active);
  color: var(--text);
}
.button.compact {
  padding: 0.55rem 1rem;
  min-height: 42px;
}
.mobile-nav {
  display: none;
}
@media (min-width: 901px) {
  .hero .hero-scene {
    position: absolute;
    top: 0;
    left: 50%;
    width: min(100%, 225svh);
    height: auto;
    aspect-ratio: 1881 / 836;
    transform: translateX(-50%);
    mask-image: linear-gradient(#000 88%, transparent);
  }
  body:has(.hero) > .header {
    position: absolute;
    inset: 0 0 auto;
    z-index: 3;
    max-width: none;
    background: linear-gradient(rgb(11 20 30 / 55%), transparent);
    color: #f8fafc;
    --text: #f8fafc;
    --text-soft: #e2e8f0;
    --btn-bg: #f8fafc;
    --btn-text: #0b141e;
    --bg: #0b141e;
    --ink-6: rgb(255 255 255 / 12%);
  }
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: min(100svh, max(44rem, 44.444vw));
  padding: 6rem 4rem 5rem;
  background: #0b141e;
  color: #f8fafc;
  --btn-bg: #f8fafc;
  --btn-text: #0b141e;
}
.hero-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
  width: min(35vw, 510px);
}
.hero h1 {
  max-width: 14ch;
  margin: 0 0 1.5rem;
  font-size: clamp(2.75rem, min(4.6vw, 8svh), 5.3rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-transform: uppercase;
  font:
    400 0.75rem/1.6 "JetBrains Mono",
    monospace;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin: 0 0 1.6rem;
}
h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}
h1 {
  font:
    400 clamp(3rem, 5.4vw, 5.4rem)/1.06 "Libre Caslon Display",
    Georgia,
    serif;
  letter-spacing: -0.035em;
  margin: 0 0 1.5rem;
}
.hero-description {
  color: #e2e8f0;
  max-width: 450px;
  font-size: 1.0625rem;
  line-height: 1.85;
  margin: 0;
}
.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin: 2rem 0 0;
}
.text-link {
  font-size: 0.875rem;
  text-decoration: none;
  display: inline-flex;
  gap: 0.75rem;
}
.hero-note {
  color: var(--muted);
  font-size: 0.8125rem;
}
.hero-art {
  position: absolute;
  z-index: -1;
  inset: 0;
  margin: 0;
}
.hero-art picture {
  display: block;
  width: 100%;
  height: 100%;
}
.hero-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.hero-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgb(11 20 30 / 35%) 34%, transparent 45%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 4rem;
  background: linear-gradient(transparent, var(--bg));
  pointer-events: none;
}
.hero-art figcaption {
  position: absolute;
  z-index: 1;
  bottom: 1.8rem;
  left: 1.8rem;
  right: 1.8rem;
  color: #f8fafc;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font:
    400 0.75rem/1.5 "JetBrains Mono",
    monospace;
}
.home-content {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 4rem;
}
.home-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: 7rem;
  padding: 7rem 0;
}
.home-content .home-section > h2 {
  grid-row: span 3;
  margin: 0;
  max-width: 11ch;
  font-size: clamp(3rem, 4.2vw, 4.5rem);
  line-height: 1.1;
  text-wrap: balance;
}
.home-section > p {
  grid-column: 2;
  margin-top: 0;
}
.transfer-diagram {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}
.transfer-step {
  display: grid;
  align-content: start;
  gap: 1rem;
  padding: 2rem 0;
  background: transparent;
}
.transfer-diagram .transfer-step h3 {
  margin: 0;
  font-size: 1.125rem;
}
.transfer-diagram .transfer-step p {
  margin: 0;
  font-size: 0.9375rem;
}
.home-section:last-child {
  border: 0;
}
.page {
  max-width: 860px;
  margin: 5rem auto 7rem;
  padding: 0 2rem;
}
.page h1 {
  max-width: 760px;
}
.lede {
  color: var(--text-soft);
  font-size: 1.125rem;
  line-height: 1.85;
  margin-bottom: 3rem;
}
.prose {
  color: var(--text-soft);
}
.prose h2 {
  color: var(--text);
  font:
    400 2.5rem/1.15 "Libre Caslon Display",
    Georgia,
    serif;
  margin: 3rem 0 1.25rem;
  letter-spacing: -0.015em;
}
.prose h3 {
  font-size: 1.125rem;
  color: var(--text);
  margin-top: 2rem;
  font-weight: 600;
}
.prose p,
.prose ul,
.prose ol {
  margin: 1.2rem 0;
}
.prose li {
  padding-left: 0.4rem;
  margin: 0.6rem 0;
}
.prose strong {
  color: var(--text);
  font-weight: 600;
}
.prose a {
  color: var(--progress);
}
.prose hr {
  border: 0;
  margin: 3rem 0;
}
.prose blockquote {
  border-left: 2px solid var(--progress);
  margin: 2rem 0;
  padding: 0.1rem 0 0.1rem 1.5rem;
}
code,
pre {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.8125rem;
}
:not(pre) > code {
  background: var(--ink-5);
  padding: 0.15em 0.4em;
  border-radius: 3px;
  color: var(--text);
}
pre {
  position: relative;
  background: var(--bg-deep);
  border: 1px solid var(--border);
  padding: 1.5rem;
  padding-right: 5rem;
  overflow-x: auto;
  line-height: 1.8;
  border-radius: 5px;
}
.copy-code {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  padding: 0.3rem 0.6rem;
  color: var(--muted);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 3px;
  font-size: 0.75rem;
}
.hljs-keyword,
.hljs-literal,
.hljs-number {
  color: var(--progress);
}
.hljs-string,
.hljs-attr {
  color: var(--ok);
}
.hljs-comment {
  color: var(--muted);
}
.prose table {
  display: block;
  width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
  font-size: 0.875rem;
}
.prose th,
.prose td {
  padding: 0.85rem 1rem 0.85rem 0;
  text-align: left;
  vertical-align: top;
  min-width: 140px;
}
.prose th {
  color: var(--text);
}
.prose figure {
  margin: 2rem 0;
}
.prose img {
  max-width: 100%;
  height: auto;
}
.prose figcaption {
  font-size: 0.8125rem;
  color: var(--muted);
  margin-top: 0.6rem;
}
mark {
  color: var(--text);
  background: var(--selection);
}
.docs-layout {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) 170px;
  gap: 3rem;
  padding: 3rem 4rem 6rem;
}
.docs-nav {
  border-right: 1px solid var(--border);
  padding-right: 1.5rem;
}
.docs-nav nav,
.toc nav {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  font-size: 0.875rem;
  color: var(--muted);
}
.docs-nav nav a[aria-current] {
  border-left: 2px solid var(--progress);
  padding-left: 0.75rem;
  margin-left: -0.875rem;
  color: var(--text);
}
.docs-help {
  display: block;
  margin-top: 3rem;
  font-size: 0.8125rem;
  color: var(--text-soft);
}
.document {
  min-width: 0;
}
.document h1 {
  font-size: clamp(2.6rem, 4vw, 3.75rem);
}
.document .prose h2 {
  font-size: 2rem;
}
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  color: var(--muted);
  font-size: 0.75rem;
  margin: 0 0 2rem;
}
.toc {
  padding-top: 3.25rem;
}
.toc nav {
  gap: 0.7rem;
  font-size: 0.8125rem;
}
.toc .eyebrow {
  font-size: 0.6875rem;
}
.page-navigation {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  font-size: 0.875rem;
}
.page-navigation > a {
  flex: 1 1 12rem;
  min-width: 0;
  overflow-wrap: anywhere;
}
.page-navigation a span {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
}
.page-navigation a:last-child {
  text-align: right;
}
.source-link {
  display: inline-block;
  margin-top: 2rem;
  color: var(--muted);
  font-size: 0.75rem;
}
.footer {
  max-width: 1440px;
  margin: 0 auto;
  padding: 3rem 4rem 4rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  column-gap: 4rem;
  row-gap: 0.75rem;
  color: var(--muted);
  font-size: 0.8125rem;
}
.wordmark {
  font:
    400 2rem/1.2 "Libre Caslon Display",
    Georgia,
    serif;
  text-decoration: none;
  color: var(--text);
}
.footer p {
  grid-column: 1;
  grid-row: 2;
  margin: 0;
  max-width: 34ch;
}
.footer nav {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  max-width: 600px;
}
.footer-note {
  grid-column: 2;
  grid-row: 2;
}
label {
  display: grid;
  gap: 0.45rem;
  font-size: 0.875rem;
  margin: 1rem 0;
}
input,
textarea,
select {
  border: 1px solid var(--border-active);
  background: var(--bg-deep);
  color: var(--text);
  border-radius: 4px;
  width: 100%;
  padding: 0.8rem 1rem;
}
textarea {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.875rem;
  min-height: 420px;
  resize: vertical;
  tab-size: 2;
}
.error {
  color: var(--danger);
}

@media (max-width: 1200px) {
  .header {
    padding-inline: 2rem;
    gap: 1rem;
  }
  .desktop-nav {
    gap: 1rem;
  }
  .hero {
    padding: 6rem 2rem 5rem;
  }
  .docs-layout {
    padding-inline: 2rem;
    grid-template-columns: 190px minmax(0, 1fr);
  }
  .toc {
    display: none;
  }
  .footer {
    padding-inline: 2rem;
    column-gap: 2rem;
  }
}
@media (max-width: 900px) {
  .desktop-nav,
  .desktop-cta {
    display: none;
  }
  .mobile-nav {
    display: block;
  }
  .mobile-nav summary {
    list-style: none;
    padding: 0.5rem;
  }
  .mobile-nav nav {
    position: absolute;
    z-index: 5;
    top: 86px;
    left: 1rem;
    right: 1rem;
    background: var(--bg);
    border: 1px solid var(--border-active);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    box-shadow: 0 20px 50px var(--shadow);
  }
  .hero {
    display: flex;
    flex-direction: column;
    min-height: 0;
    gap: 1.5rem;
    padding: 6rem 2rem 4rem;
    background: var(--bg);
    color: var(--text);
    --btn-bg: var(--text);
    --btn-text: var(--bg);
  }
  .hero {
    padding-top: 0;
  }
  .hero-art {
    position: relative;
    order: -1;
    inset: auto;
    width: 100%;
  }
  .hero-art img {
    height: auto;
    aspect-ratio: 1448 / 1086;
    mask-image: linear-gradient(to bottom, #000 84%, transparent);
  }
  .hero-art::after {
    display: none;
  }
  .hero-copy {
    width: 100%;
    max-width: 620px;
  }
  .hero h1 {
    max-width: 16ch;
    font-size: clamp(2.75rem, 7vw, 4.5rem);
  }
  .hero-description {
    color: var(--text-soft);
  }
  .home-content {
    padding-inline: 2rem;
  }
  .home-section {
    column-gap: 3rem;
    padding-block: 4rem;
  }
  .transfer-diagram {
    gap: 1rem;
  }
  .hero-description {
    max-width: 600px;
  }
}
@media (max-width: 640px) {
  .header {
    min-height: 84px;
    padding: 1rem 1.25rem;
  }
  .header-actions {
    gap: 0.5rem;
  }
  .hero {
    padding: 0 1.25rem 2rem;
  }
  .hero h1 {
    font-size: clamp(2.5rem, 10vw, 3.25rem);
  }

  .hero-art figcaption {
    left: 1rem;
    right: 1rem;
    font-size: 0.6875rem;
  }
  .hero-actions {
    gap: 1.25rem;
  }
  .hero-description,
  .lede {
    font-size: 1rem;
  }
  .home-content {
    margin-inline: 0;
    padding-inline: 1.25rem;
  }
  .home-section {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding-block: 3.5rem;
  }
  .home-content .home-section > h2 {
    grid-row: auto;
    max-width: 15ch;
    margin-bottom: 1rem;
    font-size: 2.75rem;
  }
  .home-section > p {
    grid-column: 1;
  }
  .transfer-diagram {
    grid-template-columns: 1fr;
    margin-top: 1rem;
  }
  .page {
    margin-block: 3rem;
    padding-inline: 1.25rem;
  }
  .docs-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 1.5rem 1.25rem 4rem;
  }
  .docs-nav {
    border: 0;
    padding: 0 0 1.5rem;
  }
  .docs-nav .eyebrow {
    margin-bottom: 0.75rem;
  }
  .docs-nav nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.6rem 1.2rem;
  }
  .docs-nav nav a[aria-current] {
    border: 0;
    padding: 0;
    margin: 0;
    text-decoration: underline;
    text-underline-offset: 0.3em;
  }
  .docs-help {
    display: none;
  }
  .footer {
    grid-template-columns: 1fr;
    padding: 2rem 1.25rem 3rem;
    gap: 0.75rem;
  }
  .footer .wordmark,
  .footer p,
  .footer nav,
  .footer .footer-note {
    grid-column: 1;
    grid-row: auto;
  }
  .footer nav {
    margin-top: 1rem;
  }
  .footer nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}

.prose {
  overflow-wrap: anywhere;
}
[hidden] {
  display: none !important;
}
.image-theme-dark {
  display: none;
}
[data-theme="dark"] .image-theme-dark {
  display: block;
}
[data-theme="dark"] .image-theme-light {
  display: none;
}
@media (prefers-color-scheme: dark) {
  html:not([data-theme="light"]) .image-theme-dark {
    display: block;
  }
  html:not([data-theme="light"]) .image-theme-light {
    display: none;
  }
}
.lightbox {
  max-width: 96vw;
  max-height: 96vh;
  padding: 1rem;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
}
.lightbox::backdrop {
  background: rgb(0 0 0 / 0.85);
}
.lightbox img {
  display: block;
  max-width: none;
  max-height: none;
  object-fit: contain;
  user-select: none;
}
.lightbox-stage {
  width: min(90vw, 1600px);
  height: 78dvh;
  overflow: auto;
  touch-action: none;
  overscroll-behavior: contain;
  margin-top: 1rem;
}
.prose input[type="checkbox"] {
  width: auto;
  margin-right: 0.5rem;
}
.katex-display {
  overflow-x: auto;
  overflow-y: hidden;
}

.docs-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.docs-nav li {
  margin: 0 0 0.9rem;
}
.docs-nav li > ul {
  padding-left: 1rem;
  margin-top: 0.9rem;
  border-left: 1px solid var(--border);
}
.docs-nav a {
  display: block;
  padding-block: 0.25rem;
}
@media (max-width: 640px) {
  .docs-nav nav > ul {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 2rem;
  }
  .docs-nav nav > ul > li {
    flex: 1 1 140px;
  }
  .docs-nav a {
    min-height: 32px;
  }
}

.docs-mobile {
  display: none;
}
@media (max-width: 640px) {
  .docs-nav .docs-desktop,
  .docs-nav .eyebrow,
  .docs-nav .docs-help {
    display: none;
  }
  .docs-mobile {
    display: block;
  }
  .docs-mobile summary {
    min-height: 44px;
    padding-block: 0.5rem;
  }
  .docs-mobile nav {
    margin-top: 1rem;
  }
}

.contact-sheet {
  width: min(92vw, 40rem);
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: var(--bg);
  color: var(--text);
  padding: 1.5rem;
}
.contact-sheet pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.contact-sheet::backdrop {
  background: rgb(0 0 0 / 0.7);
}

.hero .text-link {
  text-decoration: underline;
  text-decoration-color: currentColor;
  text-underline-offset: 0.45em;
}

body:has(.hero) .footer {
  border: 0;
}
.button {
  transition:
    background-color 180ms,
    color 180ms,
    box-shadow 180ms;
}

.prose a {
  transition:
    text-decoration-color 180ms,
    color 180ms;
}
@media (max-width: 900px) {
  .home-section:nth-child(even) {
    padding-left: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .button,
  .prose a {
    transition: none;
  }
  .button:hover {
    transform: none;
  }
}

.desktop-nav {
  gap: 0.25rem;
  font-weight: 550;
}
.desktop-nav a {
  position: relative;
  padding: 0.65rem 0.9rem;
  border-radius: 8px;
  transition:
    color 180ms,
    background-color 180ms;
}
.desktop-nav a:hover,
.desktop-nav a:focus-visible {
  color: var(--text);
  background: var(--ink-6);
}
.desktop-nav a[aria-current="page"] {
  background: var(--ink-6);
}
.mobile-nav nav a {
  padding: 0.65rem 0.75rem;
  border-radius: 8px;
  font-weight: 550;
}
.mobile-nav nav a:hover {
  background: var(--ink-6);
}
.button,
.text-link {
  font-weight: 550;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("fonts/SourceSans3-Variable.woff2") format("woff2");
  font-weight: 200 900;
  font-display: swap;
}
.prose,
.lede,
.hero-description {
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-optical-sizing: auto;
  font-size: 1.1875rem;
  font-weight: 400;
  line-height: 1.65;
}
.prose h3,
.prose .text-link,
.prose .button,
.prose table,
.prose label {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
}
.home-section > p:has(> a:only-child) {
  font:
    550 0.875rem/1.7 "Plus Jakarta Sans",
    system-ui,
    sans-serif;
}
.home-content .transfer-step p {
  font-size: 1.125rem;
}
.home-content .home-section.managed {
  grid-template-columns: 1fr 1fr;
  column-gap: 4rem;
  padding-block: 7rem 5rem;
}
.home-content .managed > h2 {
  grid-column: 1 / -1;
  grid-row: auto;
  max-width: 16ch;
  font-size: clamp(3.5rem, 6.8vw, 7rem);
  margin-bottom: 3rem;
}
.home-content .managed > p {
  grid-column: auto;
}
.home-content .managed > p:last-child {
  grid-column: 1 / -1;
}
.home-content .home-section.support {
  padding-block: 3rem 5rem;
}
@media (max-width: 900px) {
  .home-content .home-section.connection {
    margin-inline: -2rem;
    padding: 3.5rem 2rem;
  }
  .home-content .home-section.managed {
    grid-template-columns: 1fr;
    padding-block: 4rem 2rem;
  }
  .home-content .managed > h2 {
    font-size: clamp(3rem, 8vw, 5rem);
    margin-bottom: 2rem;
  }
}
@media (max-width: 640px) {
  .home-content .home-section.connection {
    margin-inline: -1.25rem;
    padding-inline: 1.25rem;
  }
}

body:has(.hero) {
  --bg: #0b141e;
  --text: #f8f5ee;
  --text-soft: #d5dedf;
  --muted: #a7b6bc;
  --progress: #f8f5ee;
  --btn-bg: #f8f5ee;
  --btn-text: #0b141e;
  --ink-6: rgb(255 255 255 / 10%);
  color-scheme: dark;
}
body:has(.hero) main {
  overflow: clip;
}
.home-content {
  position: relative;
  isolation: isolate;
}
.home-content::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -6rem;
  left: 50%;
  height: calc(100% + 6rem);
  width: 100vw;
  transform: translateX(-50%);
  background: url("ocean-wide.webp") center / cover no-repeat;
  opacity: 0.65;
  mask-image: linear-gradient(transparent, #000 12%, #000 90%, transparent);
  pointer-events: none;
}
.home-section {
  padding-block: 8rem;
}
.transfer-diagram {
  gap: 3rem;
  margin-top: 2rem;
}
.transfer-step {
  padding: 1.5rem 0;
}
.transfer-diagram .transfer-step h3 {
  color: #ddc49c;
}
.home-content .home-section.connection {
  background: none;
}
@media (min-width: 901px) {
  .hero {
    padding-left: 8vw;
  }
  .hero-copy {
    width: 35vw;
  }
}
@media (max-width: 900px) {
  .hero-art {
    width: calc(100% + 4rem);
    margin-inline: -2rem;
  }
  .home-content::before {
    background-position: 55% center;
    opacity: 0.45;
  }
  .home-section {
    padding-block: 4rem;
  }
}
@media (max-width: 640px) {
  .hero-art {
    width: calc(100% + 2.5rem);
    margin-inline: -1.25rem;
  }
}

.hero-scene {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.hero-layers {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}
.hero-scene.is-ready .hero-layers {
  opacity: 1;
}
.hero-scene.is-ready picture {
  opacity: 0;
}
.hero-art .hero-layer,
.hero-art .hero-layer img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  mask-image: none;
}
.hero-art .hero-backdrop {
  animation: sky-drift 36s ease-in-out -8s infinite alternate paused;
}
.hero-art .hero-sea {
  animation: sea-drift 9s ease-in-out -2s infinite alternate paused;
}
.hero-art .hero-sea img {
  mask-image: linear-gradient(
    transparent 68%,
    #000 73%,
    #000 82%,
    transparent 88%
  );
}
.hero-art .hero-ship {
  transform-origin: 72% 75%;
  animation: ship-swell 8s ease-in-out -2s infinite alternate paused;
}
.hero-art .hero-ship img {
  mask-mode: luminance;
  mask-size: 100% 100%;
  mask-repeat: no-repeat;
}
.hero-art .hero-waves {
  animation: wave-drift 7.5s ease-in-out -1s infinite alternate paused;
}
.hero-art .hero-waves img {
  mask-image: linear-gradient(transparent 78%, #000 83%);
}
.hero-scene.is-running .hero-layer {
  animation-play-state: running;
  will-change: transform;
}
/* A fractional rotation prevents Firefox from snapping slow pans to whole pixels. */
@keyframes sky-drift {
  from {
    transform: translate3d(-0.2%, 0, 0) scale(1.012) rotate(0.01deg);
  }
  to {
    transform: translate3d(0.2%, 0, 0) scale(1.012) rotate(0.01deg);
  }
}
@keyframes sea-drift {
  from {
    transform: translate3d(0.2%, -0.75px, 0) scaleX(1.015) rotate(0.01deg);
  }
  to {
    transform: translate3d(-0.2%, 0.75px, 0) scaleX(1.015) rotate(0.01deg);
  }
}
@keyframes ship-swell {
  from {
    transform: translate3d(-0.04%, -2.5px, 0) rotate(-0.12deg);
  }
  to {
    transform: translate3d(0.04%, 2.5px, 0) rotate(0.12deg);
  }
}
@keyframes wave-drift {
  from {
    transform: translate3d(-0.35%, 1px, 0) scaleX(1.025) rotate(0.01deg);
  }
  to {
    transform: translate3d(0.35%, -1px, 0) scaleX(1.025) rotate(0.01deg);
  }
}
@media (max-width: 900px) {
  .hero-layers {
    left: -68.75%;
    width: 168.75%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-scene.is-ready picture {
    opacity: 1;
  }
  .hero-scene .hero-layers {
    display: none;
  }
  .hero-art .hero-layer {
    animation: none;
  }
}

.transfer-diagram .transfer-step h3 {
  font:
    400 clamp(1.8rem, 2.4vw, 2.5rem)/1.12 "Libre Caslon Display",
    Georgia,
    serif;
  max-width: none;
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hero-scene:not(.is-ready) .hero-canvas {
  display: none;
}
@media (prefers-reduced-motion: reduce) {
  .hero-canvas {
    display: none;
  }
}

.transfer-step {
  grid-template-rows: auto 1fr;
}
.transfer-diagram .transfer-step h3 {
  min-height: 2.24em;
}
@media (max-width: 640px) {
  .transfer-diagram .transfer-step h3 {
    min-height: 0;
  }
}

.home-content .benefits > h2 {
  grid-row: 1;
  align-self: center;
}
.home-content .benefits > p:first-of-type {
  grid-row: 1;
  align-self: center;
  margin: 0;
}
.home-content .benefits > p:last-child {
  grid-column: 1 / -1;
  justify-self: center;
  margin: 2rem 0 0;
  text-align: center;
}
.transfer-icon {
  width: 2.24em;
  height: 2.24em;
  flex: 0 0 2.24em;
  align-self: flex-start;
  margin-top: 0;
}
.home-content .home-section.connection > h2,
.home-content .home-section.support > h2 {
  align-self: center;
}
.support-links {
  grid-column: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  align-items: baseline;
  font:
    550 0.875rem/1.9 "Plus Jakarta Sans",
    system-ui,
    sans-serif;
}
@media (max-width: 640px) {
  .home-content .benefits > h2,
  .home-content .benefits > p:first-of-type {
    grid-row: auto;
  }
  .home-content .benefits > h2 {
    margin-bottom: 1.5rem;
  }
  .home-content .benefits > p:last-child {
    margin-top: 1rem;
  }
}

@media (max-width: 640px) {
  .support-links {
    grid-column: 1;
  }
}

@media (max-width: 900px) {
  body:has(.hero) main {
    position: relative;
    isolation: isolate;
  }
  body:has(.hero) main::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 60vw;
    right: 0;
    bottom: 0;
    left: 0;
    background: url("ocean-expanded.webp") center top / cover no-repeat;
    mask-image: linear-gradient(
      transparent,
      #000 15vw,
      #000 calc(100% - 6rem),
      transparent
    );
    opacity: 0.65;
    pointer-events: none;
  }
  .hero {
    background: transparent;
  }
  .hero-scene {
    mask-image: linear-gradient(#000 80%, transparent);
  }
  .hero-art picture img {
    mask-image: none;
  }
  .hero::after,
  .home-content::before {
    display: none;
  }
}

.film-grain {
  position: fixed;
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.5;
  pointer-events: none;
}

.interior {
  position: relative;
  isolation: isolate;
  max-width: none;
  --page-gutter: max(2rem, calc((100vw - 1200px) / 2));
  margin-block: 4rem 6rem;
  padding-inline: var(--page-gutter);
}
.interior::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -5rem 0 auto;
  width: 100%;
  aspect-ratio: 2 / 3;
  background: url("ocean-wide.webp") center top / 100% auto no-repeat;
  mask-image: linear-gradient(transparent, #000 15%, #000 60%, transparent);
  opacity: 0.32;
  pointer-events: none;
}
html[data-theme="light"] .interior::before {
  opacity: 0.08;
}
.page-intro {
  margin-bottom: clamp(3rem, 7vw, 6rem);
}
.interior .page-intro h1 {
  max-width: 21ch;
  font-size: clamp(3.5rem, 8.3vw, 8rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.interior .page-intro .lede {
  max-width: 43ch;
  margin: 2.5rem 0 0 auto;
  font-size: clamp(1.25rem, 2vw, 1.625rem);
  line-height: 1.5;
}
.interior > .prose > p {
  max-width: 65ch;
}
.editorial-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 8vw, 8rem);
  padding-block: clamp(3rem, 6vw, 6rem);
}
.editorial-section > h2 {
  margin: 0;
  max-width: 22ch;
  font:
    650 clamp(1.6rem, 2.4vw, 2.25rem)/1.25 "Plus Jakarta Sans",
    system-ui,
    sans-serif;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.editorial-section > div {
  min-width: 0;
}
.editorial-section > div > :first-child {
  margin-top: 0;
}
.editorial-section > div > :last-child {
  margin-bottom: 0;
}
.interior .button {
  margin-top: 0.75rem;
  color: var(--btn-text);
}
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.3fr);
  gap: clamp(2rem, 6vw, 6rem);
}
.contact-layout h2 {
  margin-top: 0;
}
.contact-layout form {
  padding: clamp(1.25rem, 3vw, 2.5rem);
  border-radius: 12px;
  background: var(--ink-3);
}
.contact-layout label {
  font-size: 0.875rem;
}
.contact-layout textarea {
  min-height: 12rem;
  font:
    400 1.125rem/1.5 "Source Sans 3",
    system-ui,
    sans-serif;
}
.contact-layout .form-note {
  font-size: 1rem;
}
.docs-layout {
  grid-template-columns: 220px minmax(0, 1fr) 170px;
  gap: 2.5rem;
}
.docs-nav {
  border: 0;
  padding-right: 0;
  position: sticky;
  align-self: start;
  top: 1.5rem;
  max-height: calc(100dvh - 3rem);
  overflow-y: auto;
  scrollbar-width: thin;
}
.docs-nav li {
  margin-bottom: 0.35rem;
}
.docs-nav li > ul {
  border: 0;
  margin-top: 0.25rem;
  padding-left: 0.75rem;
}
.docs-nav a {
  padding: 0.45rem 0.65rem;
  border-radius: 6px;
  line-height: 1.5;
}
.docs-nav nav a[aria-current] {
  border: 0;
  margin: 0;
  padding: 0.45rem 0.65rem;
  background: var(--ink-6);
  color: var(--text);
}
.docs-nav a:hover,
.toc a:hover {
  background: var(--ink-5);
  color: var(--text);
}
.docs-search {
  display: block;
  margin-bottom: 1.5rem;
  background: var(--ink-5);
  font-size: 0.8125rem;
  text-decoration: none;
}
.document-intro h1 {
  line-height: 1.1;
  text-wrap: balance;
}
.document-intro .lede {
  font-size: 1.3rem;
  margin-bottom: 2.5rem;
}
.document .prose h2 {
  margin-top: 3rem;
  font-size: 2.25rem;
  scroll-margin-top: 2rem;
}
.document .prose > :first-child {
  margin-top: 0;
}
.document .prose pre {
  border: 0;
}
.document .prose table {
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-size: 1rem;
}
.document .prose tbody tr:nth-child(odd) {
  background: var(--ink-2);
}
.document .prose th,
.document .prose td {
  padding: 0.8rem;
}
.toc {
  position: sticky;
  align-self: start;
  top: 1.5rem;
  padding-top: 0;
  max-height: calc(100dvh - 3rem);
  overflow-y: auto;
}
.toc a {
  padding: 0.35rem 0.5rem;
  border-radius: 5px;
}
.docs-contents {
  display: none;
}
.guide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.guide-grid > section {
  padding: 1.5rem;
  border-radius: 10px;
  background: var(--ink-3);
}
.document .guide-grid h2 {
  margin-top: 0;
  font-size: 1.85rem;
}
.guide-grid p:last-child {
  margin-bottom: 0;
}
@media (max-width: 1100px) {
  .docs-layout {
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 2rem;
    padding-inline: 2rem;
  }
  .toc {
    display: none;
  }
  .docs-contents {
    display: block;
    margin: 0 0 2rem;
    padding: 0.65rem 1rem;
    background: var(--ink-3);
    border-radius: 6px;
    font-size: 0.875rem;
  }
  .docs-contents nav {
    display: grid;
    gap: 0.6rem;
    padding-block: 1rem 0.5rem;
  }
}
@media (max-width: 760px) {
  .interior {
    --page-gutter: 1.25rem;
    padding-inline: var(--page-gutter);
    margin-block: 2.5rem 4rem;
  }
  .editorial-section,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .contact-layout form {
    order: -1;
  }
  .editorial-section {
    padding-block: 2rem;
  }
  .editorial-section > h2 {
    max-width: 22ch;
  }
  .docs-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.5rem 1.25rem 4rem;
  }
  .docs-nav {
    position: static;
    max-height: none;
    overflow: visible;
    padding: 0;
  }
  .docs-nav .docs-desktop,
  .docs-nav .eyebrow,
  .docs-nav .docs-help {
    display: none;
  }
  .docs-mobile {
    display: block;
  }
  .docs-mobile summary {
    min-height: 44px;
    padding-block: 0.5rem;
  }
  .docs-nav nav {
    display: block;
  }
  .docs-search {
    margin-bottom: 0.5rem;
    padding: 0.65rem;
  }
  .docs-nav a {
    min-height: 44px;
  }
  .guide-grid {
    grid-template-columns: 1fr;
  }
}

body:has(.interior) {
  --progress: var(--text);
}
html[data-theme="light"] body:has(.interior) {
  --bg: #f4f1e9;
  --bg-deep: #eae6dc;
}
@media (prefers-color-scheme: light) {
  html:not([data-theme="dark"]) body:has(.interior) {
    --bg: #f4f1e9;
    --bg-deep: #eae6dc;
  }
  html:not([data-theme="dark"]) .interior::before {
    opacity: 0.08;
  }
}
.interior .page-intro {
  padding-block: 1rem 0;
  margin-bottom: clamp(4rem, 8vw, 8rem);
}
.interior > .prose {
  font-size: 1.25rem;
  line-height: 1.6;
}
.interior .editorial-section > h2 {
  color: var(--text);
}
.interior .prose a:not(.button) {
  color: var(--text);
  text-decoration-color: color-mix(in srgb, currentColor 40%, transparent);
  text-decoration-thickness: 1px;
}
.interior .prose a:not(.button):hover {
  text-decoration-color: currentColor;
  text-decoration-thickness: 2px;
}
.license-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  margin: 0 0 3rem;
  padding-block: 1.5rem;
}
.license-strip span {
  display: block;
  color: var(--text);
  font:
    650 clamp(1.25rem, 2.2vw, 2rem)/1.25 "Plus Jakarta Sans",
    system-ui,
    sans-serif;
  letter-spacing: -0.04em;
}
.license-strip p {
  max-width: 26ch;
  margin: 0.75rem 0 0;
  font-size: 1.0625rem;
  color: var(--muted);
}
.feature-scene,
.assurance-section {
  --text: #17252c;
  --text-soft: #35434a;
  --progress: #17252c;
  --btn-bg: #17252c;
  --btn-text: #f6f4ed;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: clamp(2rem, 7vw, 7rem);
  margin-block: clamp(3rem, 7vw, 7rem);
  margin-inline: calc(-1 * var(--page-gutter));
  padding: clamp(3rem, 7vw, 7rem) var(--page-gutter);
  background: #e9e8e0;
  color: var(--text-soft);
}
.feature-scene h2,
.interior .assurance-section > h2 {
  grid-column: 1;
  max-width: 16ch;
  margin: 0;
  font:
    400 clamp(3rem, 4.8vw, 4.75rem)/1.04 "Libre Caslon Display",
    Georgia,
    serif;
  letter-spacing: -0.035em;
  color: var(--text);
  text-wrap: balance;
}
.feature-scene h2 {
  grid-row: 1 / span 4;
}
.feature-scene p {
  grid-column: 2;
  margin: 0 0 1.25rem;
}
.feature-scene p:last-child {
  margin-bottom: 0;
}
.feature-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 7vw, 7rem);
  margin-block: 3rem 5rem;
}
.feature-pair h3 {
  max-width: 23ch;
  font:
    650 clamp(1.5rem, 2.4vw, 2.25rem)/1.25 "Plus Jakarta Sans",
    system-ui,
    sans-serif;
  color: var(--text);
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.comparison-intro {
  max-width: 65ch;
  margin-block: 5rem 2.5rem;
}
.comparison-scroll {
  overflow-x: auto;
  --text: #17252c;
  --text-soft: #35434a;
  --muted: #526069;
  --progress: #17252c;
  background: #e9e8e0;
  color: var(--text-soft);
  scrollbar-width: thin;
}
.prose .comparison-table {
  display: table;
  min-width: 760px;
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-size: 1.0625rem;
}
.comparison-table caption {
  text-align: left;
  padding: 1.5rem;
  font-size: 1rem;
  color: var(--muted);
}
.prose .comparison-table th,
.prose .comparison-table td {
  padding: 1.5rem;
  min-width: 0;
  width: 27%;
}
.prose .comparison-table th:first-child {
  width: 19%;
  font-size: 0.9375rem;
}
.comparison-table thead th {
  font-weight: 600;
}
.comparison-table td:nth-child(2),
.comparison-table thead th:nth-child(2) {
  background: #faf9f4;
  color: var(--text);
}
.comparison-table thead th:nth-child(2) {
  color: var(--progress);
  font:
    400 2rem/1 "Libre Caslon Display",
    Georgia,
    serif;
}
.comparison-table tbody tr:nth-child(even) {
  background: rgb(23 37 44 / 3%);
}
.comparison-note,
.comparison-sources {
  color: var(--muted);
  font-size: 1rem;
}
.comparison-sources {
  margin-top: 3rem;
}
.comparison-sources summary {
  padding-block: 0.75rem;
}
@media (max-width: 760px) {
  .interior::before {
    aspect-ratio: 724 / 10347;
    max-height: calc(100% + 5rem);
    background-image: url("ocean-expanded.webp");
    opacity: 0.28;
  }
  .license-strip {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding-block: 0;
  }
  .license-strip span {
    font-size: 1.5rem;
  }
  .license-strip p {
    max-width: none;
    margin-top: 0.35rem;
  }
  .interior .page-intro .lede {
    margin-top: 1.5rem;
  }
  .interior > .prose {
    font-size: 1.1875rem;
  }
  .feature-scene,
  .assurance-section {
    grid-template-columns: minmax(0, 1fr);
    padding-block: 3rem;
    margin-block: 3rem;
    gap: 1.5rem;
  }
  .feature-scene h2,
  .interior .assurance-section > h2 {
    grid-row: auto;
    max-width: 20ch;
  }
  .feature-scene p {
    grid-column: 1;
    margin-bottom: 0;
  }
  .feature-pair {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-block: 2rem;
  }
}
