:root {
  color-scheme: dark;
  --bg: #091122;
  --panel: #101d33;
  --ink: #f5f8ff;
  --muted: #acbcd3;
  --cyan: #36d9ff;
  --violet: #8b8fff;
  --line: #283951;
  font-family: Inter, system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}
body {
  margin: 0;
  background:
    radial-gradient(ellipse at 50% 15%, #13274680, transparent 45%), var(--bg);
  line-height: 1.65;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  color: var(--cyan);
}
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 5px;
}
button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}
p {
  color: var(--muted);
}
h1,
h2,
h3,
.brand {
  font-family: "Space Grotesk", Inter, system-ui, sans-serif;
  line-height: 1.12;
  letter-spacing: -0.04em;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
img {
  max-width: 100%;
  height: auto;
}
.wrap {
  width: min(1200px, calc(100% - 64px));
  margin-inline: auto;
}
.skip {
  position: fixed;
  top: -100px;
  left: 16px;
  background: var(--ink);
  color: var(--bg);
  padding: 12px;
  z-index: 20;
}
.skip:focus {
  top: 10px;
}
.nav {
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid #ffffff0d;
}
.brand {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 1.45rem;
  font-weight: 700;
  white-space: nowrap;
}
.brand img {
  margin-right: 9px;
  border-radius: 10px;
}
.brand span {
  color: var(--cyan);
}
nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 0.9rem;
}
nav a {
  padding-block: 12px;
}
.button {
  display: inline-flex;
  gap: 22px;
  align-items: center;
  justify-content: center;
  background: var(--cyan);
  border: 1px solid var(--cyan);
  color: #071324;
  font-weight: 650;
  padding: 14px 24px;
  border-radius: 8px;
  box-shadow: 0 0 28px #36d9ff13;
  transition:
    background 0.2s,
    transform 0.2s;
}
.button:hover {
  color: #071324;
  background: #99eeff;
  transform: translateY(-2px);
}
.button.quiet {
  background: #101d3380;
  border-color: var(--line);
  color: var(--ink);
  box-shadow: none;
}
.button.quiet:hover {
  border-color: var(--cyan);
}
.button.small {
  padding: 10px 16px;
  font-size: 0.875rem;
}
.hero {
  text-align: center;
  padding-top: 80px;
}
.eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  font-weight: 650;
  color: var(--cyan);
  margin-bottom: 25px;
}
.signal {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 8px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--cyan);
}
h1 {
  font-size: clamp(2.7rem, 5.6vw, 4.6rem);
  font-weight: 600;
  margin-bottom: 25px;
  line-height: 1.09;
}
.gradient {
  color: var(--cyan);
  background: linear-gradient(95deg, #69e7ff 10%, #a3a1ff 85%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.lead {
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: 710px;
  margin: 0 auto 28px;
}
.actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.trustline {
  font-size: 0.8rem;
  margin: 24px 0 46px;
}
.trustline span {
  margin: 0 12px;
  color: #50647f;
}
.relay-stage {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1fr 0.8fr 1fr;
  align-items: center;
  gap: 28px;
  text-align: left;
  padding: 38px 40px 0;
  min-height: 405px;
}
.stage-grid {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(#36d9ff08 1px, transparent 1px),
    linear-gradient(90deg, #36d9ff08 1px, transparent 1px);
  background-size: 35px 35px;
  mask-image: radial-gradient(ellipse, #000 25%, transparent 72%);
}
.relay-stage:before {
  content: "";
  position: absolute;
  top: 46%;
  left: 20%;
  right: 20%;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  box-shadow: 0 0 18px #36d9ff;
  z-index: -1;
}
.node {
  background: linear-gradient(140deg, #14263c, #0b1628);
  border: 1px solid #375574;
  border-radius: 15px;
  box-shadow: 0 24px 70px #0006;
  overflow: hidden;
  padding: 23px 23px 0;
}
.source-node {
  transform: perspective(1000px) rotateY(6deg);
  border-top-color: #47bada;
}
.destination-node {
  transform: perspective(1000px) rotateY(-6deg);
  border-top-color: #999aff;
}
.node-top {
  display: flex;
  gap: 11px;
  align-items: center;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 16px;
}
.node-icon {
  color: var(--cyan);
  font-size: 1.25rem;
}
.node h2 {
  font-size: 1.75rem;
  margin-bottom: 20px;
}
.file-row {
  font-size: 0.85rem;
  display: flex;
  gap: 9px;
  margin-bottom: 13px;
}
.file-row > span {
  color: var(--cyan);
}
.file-row i {
  font-size: 0.75rem;
  color: var(--muted);
  font-style: normal;
  margin-left: auto;
}
.node-foot {
  border-top: 1px solid var(--line);
  margin-top: 24px;
  padding: 12px 0;
  font-size: 0.75rem;
  color: var(--muted);
}
.node p {
  font-size: 0.95rem;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.chips span {
  padding: 3px 9px;
  border: 1px solid #435571;
  border-radius: 5px;
  font-size: 0.75rem;
  color: #d2d4ff;
}
.relay-center {
  text-align: center;
  position: relative;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 7px;
}
.relay-center img {
  border-radius: 30px;
  box-shadow: 0 0 65px #665eff50;
  z-index: 1;
}
.relay-center strong {
  font-size: 1rem;
  margin-top: 10px;
}
.relay-center span {
  font-size: 0.75rem;
  color: var(--muted);
}
.relay-center small {
  font-size: 0.75rem;
  color: var(--cyan);
  margin-top: 8px;
}
.orbit {
  position: absolute;
  top: -17px;
  width: 156px;
  height: 156px;
  border: 1px solid #6966bd70;
  border-radius: 50%;
  box-shadow: 0 0 40px #36d9ff10;
}
.return-path {
  grid-column: 1/-1;
  text-align: center;
  font-size: 0.78rem;
  margin: 4px 0 0;
  padding: 17px;
  border-bottom: 1px solid var(--line);
}
.return-path span {
  color: var(--violet);
  font-size: 1.2rem;
  margin-right: 10px;
}
.section {
  padding-block: 100px;
}
.display {
  font-size: clamp(2.3rem, 4vw, 3.45rem);
  font-weight: 500;
  margin-bottom: 44px;
}
.display span {
  color: var(--muted);
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px;
}
.step-num {
  color: var(--cyan);
  font-size: 0.8rem;
  display: block;
  padding-bottom: 20px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}
.steps h3 {
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}
.steps p {
  font-size: 0.95rem;
}
.note {
  font-size: 0.85rem;
  margin-top: 30px;
}
.footer {
  display: flex;
  gap: 28px;
  justify-content: space-between;
  align-items: center;
  padding-block: 38px;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
}
.footer p {
  margin: 0;
}
.footer .brand {
  font-size: 1.2rem;
}
code,
pre {
  font-family: ui-monospace, monospace;
}
a.text-link {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 5px;
}
@media (max-width: 950px) {
  nav {
    gap: 15px;
  }
  nav > a:not(.button) {
    font-size: 0.875rem;
  }
  .relay-stage {
    padding-inline: 0;
    gap: 16px;
  }
  .node {
    padding: 17px 17px 0;
  }
  .file-row {
    font-size: 0.75rem;
  }
  .file-row i {
    display: none;
  }
}
@media (max-width: 700px) {
  .wrap {
    width: calc(100% - 36px);
  }
  .nav {
    align-items: flex-start;
    padding-block: 20px;
    flex-wrap: wrap;
    gap: 16px;
  }
  .nav nav {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
  }
  .nav nav a {
    font-size: 0.875rem;
  }
  .hero {
    padding-top: 48px;
  }
  .hero h1 {
    font-size: 2.65rem;
  }
  .eyebrow {
    font-size: 0.75rem;
    letter-spacing: 0.13em;
  }
  .lead {
    font-size: 1rem;
  }
  .desktop {
    display: none;
  }
  .relay-stage {
    grid-template-columns: 1fr;
    max-width: 410px;
    margin: auto;
    gap: 26px;
  }
  .relay-stage:before {
    top: 10%;
    bottom: 10%;
    left: 50%;
    height: auto;
    width: 2px;
  }
  .node {
    transform: none;
    width: 100%;
  }
  .relay-center {
    padding: 6px 0;
  }
  .relay-center small {
    background: var(--bg);
    padding: 3px;
  }
  .relay-center img {
    width: 85px;
    height: 85px;
  }
  .orbit {
    width: 115px;
    height: 115px;
    top: -9px;
  }
  .return-path {
    background: var(--bg);
  }
  .section {
    padding-block: 65px;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .display {
    margin-bottom: 30px;
  }
  .footer {
    flex-direction: column;
    align-items: flex-start;
  }
  .trustline {
    font-size: 0.75rem;
  }
  .trustline span {
    margin: 0 5px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
    animation: none !important;
  }
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
}
.section-heading > p {
  margin-bottom: 48px;
}
.use-band {
  border-block: 1px solid #28395170;
  background: linear-gradient(135deg, #101c3180, #091122);
}
.use-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 16px;
}
.use-card {
  border: 1px solid var(--line);
  padding: 28px;
  border-radius: 14px;
  background: linear-gradient(130deg, #14203970, #0c172b70);
}
.use-card h3 {
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: -0.025em;
}
.use-card p {
  font-size: 0.92rem;
}
.card-kicker {
  display: block;
  color: var(--cyan);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  margin-bottom: 26px;
}
.feature-card {
  grid-row: span 2;
  background:
    radial-gradient(ellipse at top left, #16374790, transparent 75%), #0d1b2f;
}
.feature-card h3 {
  font-size: 2.2rem;
}
.mini-diff {
  border: 1px solid #334865;
  border-radius: 8px;
  padding: 16px;
  margin-top: 36px;
  background: #07111f;
  overflow: auto;
}
.mini-diff > span {
  font-size: 0.75rem;
  color: var(--muted);
  display: block;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
  margin-bottom: 12px;
}
.mini-diff code {
  display: block;
  white-space: nowrap;
  font-size: 0.78rem;
  line-height: 2;
}
.removed {
  color: #f8b4c5;
}
.added {
  color: #81efc9;
}
.walkthrough,
.safety {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.walkthrough > .story {
  border-left: 1px solid var(--line);
  padding-left: 32px;
}
.story article {
  padding: 20px 24px;
  background: #101c30;
  border: 1px solid #283951;
  border-radius: 10px;
  margin-bottom: 12px;
}
.story-label {
  font-size: 0.75rem;
  letter-spacing: 0.13em;
  color: var(--muted);
}
blockquote {
  font-size: 1.2rem;
  margin: 16px 0 0;
}
.story pre {
  color: #ffc7d4;
  margin-bottom: 0;
  overflow: auto;
}
.story-result {
  border-color: #427d89 !important;
  background: linear-gradient(120deg, #16343b, #142039) !important;
}
.story-result p {
  color: var(--ink);
  margin: 12px 0 0;
}
.small-note {
  font-size: 0.8rem;
  line-height: 1.7;
  margin-top: 24px;
}
.safety-band {
  background: #0d192b;
  border-block: 1px solid var(--line);
}
.access-table {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.access-table > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 20px;
  border-bottom: 1px solid var(--line);
  font-size: 0.87rem;
}
.access-table strong {
  font-size: 0.75rem;
  white-space: nowrap;
  color: #c5cee0;
}
.access-table .allowed {
  color: #81efc9;
}
.access-table .approval {
  color: #c2baff;
}
.access-table > p {
  font-size: 0.75rem;
  margin: 20px;
}
.setup-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.setup-choice {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #101c30;
  transition: border-color 0.2s;
}
.setup-choice:hover {
  border-color: var(--cyan);
  color: var(--ink);
}
.setup-choice h3 {
  font-size: 1.6rem;
}
.setup-choice h3 span {
  color: var(--cyan);
}
.setup-choice .text-link {
  color: var(--cyan);
  font-size: 0.9rem;
}
.prerequisites {
  display: flex;
  gap: 24px;
  margin-top: 32px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 0.8rem;
}
.prerequisites p {
  margin: 0;
  max-width: 160px;
}
.prerequisites strong {
  color: var(--ink);
}
.faq {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 50px;
  border-top: 1px solid var(--line);
}
details {
  border-bottom: 1px solid var(--line);
}
summary {
  cursor: pointer;
  list-style: none;
  padding: 22px 30px 22px 0;
  position: relative;
  font-weight: 500;
}
summary:after {
  content: "+";
  position: absolute;
  right: 0;
  color: var(--cyan);
  font-size: 1.25rem;
}
details[open] summary:after {
  content: "−";
}
details p {
  font-size: 0.9rem;
  padding-right: 20px;
}
.closing {
  text-align: center;
  padding: 75px 20px 85px;
  background: radial-gradient(ellipse at center, #24356755, transparent 70%);
  border-top: 1px solid var(--line);
}
.closing h2 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 500;
  margin-bottom: 30px;
}
.closing > p:last-child {
  font-size: 0.8rem;
  margin-top: 20px;
}
@media (max-width: 950px) {
  .use-grid {
    grid-template-columns: 1fr 1fr;
  }
  .feature-card {
    grid-row: auto;
    grid-column: 1/-1;
  }
  .feature-card h3 br {
    display: none;
  }
  .mini-diff {
    max-width: 420px;
    margin-top: 20px;
  }
  .walkthrough,
  .safety {
    gap: 28px;
  }
  .section-heading {
    display: block;
  }
}
@media (max-width: 700px) {
  .use-grid,
  .walkthrough,
  .safety,
  .setup-grid,
  .faq {
    grid-template-columns: 1fr;
  }
  .feature-card {
    grid-column: auto;
  }
  .walkthrough > .story {
    padding: 0;
    border: 0;
  }
  .access-table > div {
    padding: 17px;
    font-size: 0.8rem;
  }
  .access-table strong {
    white-space: normal;
    text-align: right;
  }
  .section-heading > p {
    margin-bottom: 25px;
  }
  .use-card {
    padding: 24px;
  }
  .prerequisites {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }
  .prerequisites strong {
    grid-column: 1/-1;
  }
  .faq {
    gap: 10px;
  }
  .closing {
    padding-inline: 0;
  }
}
@font-face {
  font-family: Inter;
  src: url("/assets/inter-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url("/assets/inter-600.woff2") format("woff2");
  font-weight: 600 700;
  font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("/assets/space-grotesk-500.woff2") format("woff2");
  font-weight: 400 500;
  font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("/assets/space-grotesk-600.woff2") format("woff2");
  font-weight: 600 700;
  font-display: swap;
}
.guide-layout {
  display: grid;
  grid-template-columns: 225px minmax(0, 1fr);
  gap: 70px;
  padding-top: 45px;
  padding-bottom: 90px;
}
.guide-nav {
  align-self: start;
  position: sticky;
  top: 25px;
}
.guide-nav .eyebrow {
  margin-top: 12px;
  margin-bottom: 25px;
}
.guide-nav nav {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
}
.guide-nav nav a {
  padding: 10px 14px;
  border-left: 2px solid transparent;
  color: var(--muted);
  font-size: 0.85rem;
}
.guide-nav nav a[aria-current] {
  background: #16324270;
  border-color: var(--cyan);
  color: var(--cyan);
}
.source-link {
  display: block;
  margin: 30px 14px;
  font-size: 0.8rem;
  color: var(--muted);
}
.guide-main {
  min-width: 0;
}
.guide-main h1 {
  font-size: clamp(2.3rem, 4vw, 3.4rem);
  margin-bottom: 18px;
}
.breadcrumbs {
  font-size: 0.75rem;
  gap: 12px;
  color: var(--muted);
  margin-bottom: 35px;
  flex-wrap: wrap;
}
.guide-lead {
  font-size: 1.1rem;
}
.version-note {
  border-left: 2px solid var(--violet);
  padding: 12px 18px;
  background: #161f39;
  font-size: 0.8rem;
  margin: 25px 0;
}
.contents {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding-inline: 20px;
  margin-bottom: 40px;
}
.contents nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding-bottom: 20px;
  font-size: 0.8rem;
}
.contents nav a {
  padding: 4px 0;
  color: var(--muted);
}
.prose {
  font-size: 1rem;
  line-height: 1.85;
  overflow-wrap: anywhere;
}
.prose h2 {
  font-size: 1.9rem;
  margin-top: 50px;
  padding-top: 25px;
  border-top: 1px solid var(--line);
  font-weight: 500;
}
.prose h3 {
  font-size: 1.35rem;
  margin-top: 35px;
  line-height: 1.3;
}
.prose li {
  margin-bottom: 10px;
  color: var(--muted);
}
.prose strong {
  color: var(--ink);
}
.prose a {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.prose code {
  background: #1b2941;
  padding: 2px 5px;
  border-radius: 4px;
  font-size: 0.88em;
  color: #d6dfff;
}
.prose pre {
  padding: 23px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #07101f;
  overflow: auto;
  line-height: 1.7;
  position: relative;
  white-space: pre-wrap;
}
.prose pre code {
  padding: 0;
  background: none;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 0.85rem;
}
.prose table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.85rem;
  line-height: 1.7;
}
.prose th {
  text-align: left;
  background: #17243a;
  color: var(--ink);
}
.prose td,
.prose th {
  padding: 16px;
  vertical-align: top;
  border: 1px solid var(--line);
  min-width: 130px;
}
.prose td {
  color: var(--muted);
}
.table-scroll {
  overflow: auto;
  margin: 25px 0;
}
.prose blockquote {
  border-left: 3px solid var(--violet);
  margin: 24px 0;
  padding: 12px 22px;
  background: #151f37;
  font-size: 1rem;
}
.prose img {
  border-radius: 10px;
}
.copy-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin: -10px 0 25px;
}
.copy-button {
  cursor: pointer;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--ink);
  border-radius: 6px;
  padding: 10px 14px;
  font: inherit;
  font-size: 0.75rem;
  min-height: 44px;
}
.copy-status {
  font-size: 0.75rem;
  color: var(--muted);
}
.guide-next {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 60px;
  border-top: 1px solid var(--line);
  padding-top: 25px;
}
.guide-next a {
  font-size: 0.95rem;
}
.guide-next a:last-child {
  text-align: right;
}
.guide-next span {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.12em;
  margin-bottom: 8px;
}
@media (max-width: 950px) {
  .guide-layout {
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 30px;
  }
}
@media (max-width: 700px) {
  .guide-layout {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 24px;
  }
  .guide-nav {
    position: static;
  }
  .guide-nav nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
  }
  .guide-nav .source-link {
    display: none;
  }
  .guide-nav .eyebrow {
    margin-bottom: 12px;
  }
  .guide-nav nav a {
    font-size: 0.875rem;
    padding: 9px;
  }
  .guide-main .breadcrumbs {
    margin-bottom: 22px;
  }
  .prose h2 {
    font-size: 1.6rem;
  }
  .guide-main h1 {
    font-size: 2.4rem;
  }
  .guide-next {
    gap: 10px;
  }
}
@media (max-width: 700px) {
  .table-scroll table {
    min-width: 650px;
  }
  .table-scroll:before {
    content: "Scroll horizontally to read the full table →";
    display: block;
    position: sticky;
    left: 0;
    font-size: 0.75rem;
    color: var(--cyan);
    padding: 8px 0;
    max-width: 300px;
  }
  .node-top,
  .card-kicker,
  .story-label {
    font-size: 0.75rem;
  }
  .hero .trustline {
    line-height: 1.8;
  }
}
:where(.steps,.use-grid,.walkthrough,.safety,.setup-grid,.faq)>*{min-width:0}h1,h2,h3{overflow-wrap:anywhere}.use-card,.story,.setup-choice{overflow-wrap:anywhere}
