:root {
  color-scheme: dark;
  --bg: #061214;
  --bg-2: #071a1e;
  --panel: rgba(8, 24, 28, 0.86);
  --panel-2: rgba(14, 31, 36, 0.78);
  --line: rgba(113, 191, 190, 0.25);
  --line-strong: rgba(45, 224, 205, 0.62);
  --ink: #f8fffd;
  --muted: #a8c0bf;
  --muted-2: #6f8989;
  --teal: #2ee6cf;
  --green: #9beb59;
  --blue: #5ca8ff;
  --amber: #f2c63d;
  --paper: #f4f8f8;
  --paper-2: #ffffff;
  --paper-line: #d8e3e2;
  --paper-text: #101b1e;
  --paper-muted: #5e6d70;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.35);
  --paper-shadow: 0 16px 36px rgba(20, 44, 50, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 70% 18%, rgba(46, 230, 207, 0.14), transparent 30%),
    linear-gradient(180deg, #02080a 0%, #061214 100%);
  color: var(--ink);
  font: 14px/1.5 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.48;
}

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

button {
  font: inherit;
}

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

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

svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.network-canvas {
  position: fixed;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.62;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 100;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  opacity: 0;
  transform: translateY(-80px);
  padding: 0;
  border-radius: 6px;
  background: var(--paper-2);
  color: var(--paper-text);
  pointer-events: none;
}

.skip-link:focus-visible {
  width: auto;
  height: auto;
  overflow: visible;
  clip-path: none;
  opacity: 1;
  transform: translateY(0);
  padding: 8px 12px;
  pointer-events: auto;
}

.device-experience {
  display: none;
}

.desktop-experience {
  display: block;
}

.desktop-shell {
  width: min(1396px, calc(100% - 40px));
  min-height: 100vh;
  margin: 14px auto;
  overflow: hidden;
  border: 1px solid rgba(111, 205, 204, 0.28);
  border-radius: 8px;
  background: rgba(5, 16, 19, 0.86);
  box-shadow: var(--shadow);
}

.site-header,
.brand,
.nav-links,
.header-actions,
.language-toggle,
.trust-chips,
.trust-chips span,
.desktop-trust-cta,
.contact-line,
.footer-actions,
.how-flow,
.tablet-bottom-cta,
.mobile-chip-list span,
.mobile-quickstart summary {
  display: flex;
  align-items: center;
}

.site-header {
  justify-content: space-between;
  gap: 26px;
  height: 62px;
  padding: 0 44px;
  border-bottom: 1px solid rgba(142, 196, 195, 0.15);
}

.brand {
  gap: 13px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: rgba(46, 230, 207, 0.1);
  color: var(--teal);
  font-weight: 900;
  box-shadow: inset 0 0 18px rgba(46, 230, 207, 0.11);
}

.brand strong {
  color: var(--ink);
  font-size: 18px;
  line-height: 1;
}

.nav-links {
  justify-content: center;
  gap: 38px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.nav-links a {
  opacity: 0.9;
  transition: color 150ms ease, opacity 150ms ease;
}

.nav-links a:hover {
  color: var(--teal);
  opacity: 1;
}

.header-actions {
  gap: 13px;
}

.language-toggle {
  gap: 0;
  min-height: 34px;
  padding: 3px;
  border: 1px solid rgba(113, 191, 190, 0.28);
  border-radius: 8px;
  background: rgba(2, 10, 12, 0.5);
}

.language-toggle button {
  min-width: 40px;
  height: 28px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
}

.language-toggle button.active {
  border: 1px solid rgba(46, 230, 207, 0.48);
  background: rgba(46, 230, 207, 0.08);
  color: var(--ink);
}

.primary-button,
.outline-button,
.ghost-button,
.menu-button,
.deployment-grid a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 850;
}

.primary-button {
  padding: 0 24px;
  border: 0;
  background: linear-gradient(110deg, var(--teal), var(--green));
  color: #031211;
  box-shadow: 0 18px 34px rgba(46, 230, 207, 0.2);
}

.header-button {
  min-height: 38px;
  padding: 0 17px;
  font-size: 13px;
}

.outline-button,
.ghost-button {
  min-height: 42px;
  border: 1px solid var(--line-strong);
  background: rgba(46, 230, 207, 0.04);
  color: var(--teal);
}

.outline-button {
  padding: 0 26px;
}

.ghost-button {
  padding: 0 18px;
}

.desktop-hero {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 28px;
  min-height: 350px;
  padding: 38px 44px 0;
}

.hero-copy {
  padding-top: 8px;
  min-width: 0;
}

.eyebrow {
  margin-bottom: 16px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
}

h1 {
  color: var(--ink);
  font-size: 49px;
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 470px;
  margin-top: 18px;
  color: #d3e1e0;
  font-size: 15px;
  line-height: 1.55;
}

.trust-chips {
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.trust-chips span {
  gap: 9px;
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid rgba(113, 191, 190, 0.32);
  border-radius: 8px;
  background: rgba(6, 24, 28, 0.72);
  color: var(--ink);
}

.trust-chips svg {
  width: 20px;
  height: 20px;
  color: var(--teal);
}

.trust-chips em {
  font-size: 13px;
  font-style: normal;
}

.world-map {
  position: relative;
  min-height: 315px;
  margin-top: 0;
}

.map-core,
.map-node {
  position: absolute;
  z-index: 2;
  border: 1px solid rgba(113, 191, 190, 0.3);
  border-radius: 8px;
  background: rgba(12, 36, 40, 0.88);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.map-core {
  left: 44%;
  top: 88px;
  display: grid;
  width: 150px;
  min-height: 164px;
  place-items: center;
  padding: 16px;
  border-color: var(--line-strong);
  background: linear-gradient(180deg, rgba(13, 80, 82, 0.58), rgba(7, 40, 44, 0.9));
  color: var(--ink);
  text-align: center;
  box-shadow: 0 0 46px rgba(46, 230, 207, 0.14), inset 0 0 35px rgba(46, 230, 207, 0.1);
}

.core-mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  color: var(--teal);
  font-size: 22px;
  font-weight: 900;
}

.map-core strong {
  font-size: 21px;
  line-height: 1.05;
}

.map-core em,
.map-node em {
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
}

.map-node {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 10px;
  align-items: center;
  width: 164px;
  min-height: 62px;
  padding: 10px 12px;
}

.node-icon {
  display: grid;
  grid-row: 1 / span 2;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 999px;
  background: rgba(46, 230, 207, 0.08);
  color: var(--teal);
  font-size: 17px;
  font-weight: 900;
}

.node-icon.green {
  color: var(--green);
  background: rgba(155, 235, 89, 0.12);
}

.node-icon.blue {
  border-radius: 7px;
  color: var(--blue);
  font-size: 14px;
}

.node-icon.amber {
  color: var(--amber);
  border: 0;
  background: transparent;
}

.node-icon.folder {
  color: var(--amber);
  border: 0;
  background: transparent;
}

.node-icon svg {
  width: 30px;
  height: 30px;
  stroke-width: 1.6;
}

.map-node strong {
  min-width: 0;
  overflow: hidden;
  color: var(--ink);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.node-human { left: 210px; top: 10px; }
.node-agent { right: 42px; top: 10px; }
.node-api { left: 140px; top: 164px; }
.node-ticket { right: 12px; top: 164px; }
.node-snapshot { left: 285px; bottom: 4px; }

.map-line {
  position: absolute;
  z-index: 1;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--teal), transparent);
  opacity: 0.9;
}

.line-human {
  left: 310px;
  top: 75px;
  width: 170px;
  transform: rotate(34deg);
}

.line-agent {
  right: 172px;
  top: 75px;
  width: 170px;
  transform: rotate(-34deg);
  background: linear-gradient(90deg, transparent, var(--green), transparent);
}

.line-api {
  left: 292px;
  top: 196px;
  width: 160px;
}

.line-ticket {
  right: 142px;
  top: 196px;
  width: 140px;
  background: linear-gradient(90deg, transparent, var(--green), transparent);
}

.line-snapshot {
  left: 395px;
  top: 258px;
  width: 110px;
  transform: rotate(-40deg);
}

.desktop-content-panel {
  background: var(--paper);
  color: var(--paper-text);
}

.desktop-info-grid {
  display: grid;
  grid-template-columns: 0.95fr 0.85fr 0.9fr;
  border-top: 1px solid var(--paper-line);
  border-bottom: 1px solid var(--paper-line);
}

.why-panel,
.quickstart-panel,
.trust-panel,
.deployment-panel {
  padding: 24px 42px;
}

.quickstart-panel,
.trust-panel {
  border-left: 1px solid var(--paper-line);
}

.why-panel h2,
.quickstart-panel h2,
.trust-panel h2,
.deployment-panel h2 {
  color: var(--paper-text);
  font-size: 17px;
  line-height: 1.2;
}

.why-row {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 12px;
  min-height: 64px;
  margin-top: 10px;
  padding: 10px;
  border: 1px solid var(--paper-line);
  border-radius: 8px;
  background: var(--paper-2);
  box-shadow: var(--paper-shadow);
}

.why-row span,
.tablet-use-cases article > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  background: #d6efeb;
  color: #0b9186;
}

.why-row svg,
.tablet-use-cases svg {
  width: 20px;
  height: 20px;
}

.why-row strong {
  display: block;
  color: var(--paper-text);
  font-size: 12px;
}

.why-row p,
.deployment-panel p,
.deployment-grid p,
.trust-panel td,
.tablet-use-cases p,
.tablet-use-cases li,
.role-body p,
.role-body li {
  color: var(--paper-muted);
  font-size: 11px;
}

.code-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 12px;
  overflow: hidden;
  border: 1px solid var(--paper-line);
  border-radius: 8px 8px 0 0;
  background: #dfe8e7;
}

.code-tabs button {
  min-height: 36px;
  border: 0;
  background: transparent;
  color: #405255;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
}

.code-tabs button.active {
  background: #061214;
  color: var(--ink);
}

.code-card {
  overflow: hidden;
  border-radius: 0 0 8px 8px;
  background: #061214;
  color: #d8efea;
  box-shadow: 0 18px 42px rgba(5, 24, 28, 0.2);
}

.code-card-top {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 12px 0;
  color: #8aa6a7;
  font-size: 11px;
  font-weight: 850;
}

.copy-code-button {
  flex: 0 0 auto;
  min-width: 72px;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(46, 230, 207, 0.34);
  border-radius: 6px;
  background: rgba(46, 230, 207, 0.08);
  color: var(--teal);
  cursor: pointer;
  font-size: 11px;
  font-weight: 900;
}

.copy-code-button:hover,
.copy-code-button:focus-visible {
  border-color: rgba(46, 230, 207, 0.72);
  background: rgba(46, 230, 207, 0.16);
}

.copy-code-button.copied {
  border-color: rgba(155, 235, 89, 0.55);
  color: var(--green);
}

pre {
  overflow: auto;
  padding: 13px;
  font-size: 11px;
  line-height: 1.55;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

.response-box {
  margin: 0 12px 12px;
  border: 1px solid rgba(46, 230, 207, 0.25);
  border-radius: 8px;
  background: rgba(46, 230, 207, 0.05);
}

.response-box strong {
  display: block;
  padding: 10px 12px 0;
  color: var(--ink);
  font-size: 12px;
}

.docs-button {
  float: right;
  margin-top: 10px;
  border-color: var(--paper-line);
  background: var(--paper-2);
  color: #143034;
  min-height: 34px;
  font-size: 12px;
}

.trust-panel table {
  width: 100%;
  margin-top: 12px;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--paper-line);
  border-radius: 8px;
  background: var(--paper-2);
}

.trust-panel th,
.trust-panel td {
  padding: 10px 12px;
  border: 1px solid var(--paper-line);
  text-align: left;
  vertical-align: top;
}

.trust-panel th {
  color: var(--paper-text);
  font-size: 12px;
}

.deployment-panel {
  padding-top: 20px;
}

.deployment-panel > p {
  margin-top: 3px;
}

.deployment-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 16px;
}

.deployment-grid article {
  min-height: 205px;
  padding: 16px;
  border: 1px solid var(--paper-line);
  border-radius: 8px;
  background: var(--paper-2);
  box-shadow: var(--paper-shadow);
}

.deploy-icon {
  display: block;
  width: 42px;
  height: 42px;
  margin-bottom: 12px;
  border-radius: 8px;
  background: #edf4f3;
  position: relative;
}

.deploy-icon.server::before {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  top: 11px;
  height: 6px;
  border: 2px solid #1e3940;
  border-radius: 2px;
  box-shadow: 0 11px 0 -2px #edf4f3, 0 11px 0 0 #1e3940, 0 22px 0 -2px #edf4f3, 0 22px 0 0 #1e3940;
}

.deploy-icon.cloud::before {
  content: "☁";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #213d44;
  font-size: 26px;
}

.deploy-icon.k8s {
  background: #315aa7;
}

.deploy-icon.k8s::before {
  content: "✺";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 25px;
}

.deploy-icon.edge::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 13px;
  width: 28px;
  height: 18px;
  border: 2px solid #8c9a9c;
  border-radius: 2px;
}

.deployment-grid h3 {
  color: var(--paper-text);
  font-size: 14px;
}

.deployment-grid ul {
  display: grid;
  gap: 4px;
  margin-top: 10px;
  padding: 0;
  list-style: none;
}

.deployment-grid li {
  color: #3d6b67;
  font-size: 11px;
}

.deployment-grid li::before {
  content: "✓";
  margin-right: 7px;
  color: #0d9e8c;
  font-weight: 900;
}

.deployment-grid a {
  width: 100%;
  min-height: 32px;
  margin-top: 12px;
  border: 1px solid #b8c8c7;
  background: var(--paper-2);
  color: #183033;
  font-size: 12px;
}

.panel-heading {
  max-width: 760px;
}

.panel-kicker {
  margin-bottom: 7px;
  color: #009a8c;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.panel-heading h2 {
  color: var(--paper-text);
  font-size: 24px;
  line-height: 1.18;
}

.panel-heading p:not(.panel-kicker) {
  margin-top: 8px;
  color: var(--paper-muted);
  font-size: 13px;
}

.use-depth-panel,
.guide-panel,
.docs-panel,
.faq-panel {
  padding: 28px 42px;
  border-top: 1px solid var(--paper-line);
  background: var(--paper);
}

.use-depth-grid,
.guide-grid,
.docs-grid,
.faq-grid {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.use-depth-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.docs-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.guide-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.faq-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.use-depth-grid article,
.guide-card,
.docs-grid article,
.faq-grid details {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--paper-line);
  border-radius: 8px;
  background: var(--paper-2);
  box-shadow: var(--paper-shadow);
}

.doc-resource-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  gap: 5px 12px;
  min-height: 188px;
  align-content: start;
}

.doc-resource-card.featured {
  border-color: rgba(0, 154, 140, 0.34);
  background:
    linear-gradient(180deg, rgba(0, 154, 140, 0.08), rgba(255, 255, 255, 0)),
    var(--paper-2);
}

.doc-resource-icon {
  display: grid;
  grid-row: 1 / span 3;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid #b8cfcc;
  border-radius: 8px;
  background: #edf5f3;
  color: #087b72;
  font-size: 12px;
  font-weight: 900;
}

.doc-resource-card em {
  min-width: 0;
  overflow: hidden;
  color: #087b72;
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.9px;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.doc-resource-card .doc-resource-actions {
  display: flex;
  flex-wrap: wrap;
  grid-column: 1 / -1;
  gap: 7px;
  margin-top: 7px;
}

.doc-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 31px;
  padding: 5px 10px;
  border: 1px solid #b8cfcc;
  border-radius: 999px;
  background: #ffffff;
  color: #183033;
  font-size: 12px;
  font-weight: 850;
  text-decoration: none;
}

.doc-link.primary {
  border-color: #0aa394;
  background: #0f9f93;
  color: #ffffff;
}

.doc-link:hover,
.doc-link:focus-visible {
  border-color: #087b72;
  color: #087b72;
}

.doc-link.primary:hover,
.doc-link.primary:focus-visible {
  border-color: #066c65;
  color: #ffffff;
  filter: brightness(0.96);
}

.use-depth-grid span {
  color: #009a8c;
  font-size: 12px;
  font-weight: 900;
}

.use-depth-grid h3,
.docs-grid strong,
.faq-grid summary {
  display: block;
  margin-top: 26px;
  color: var(--paper-text);
  font-size: 15px;
  font-weight: 850;
}

.docs-grid strong,
.faq-grid summary {
  margin-top: 0;
}

.use-depth-grid p,
.guide-card li span,
.docs-grid p,
.faq-grid p {
  margin-top: 9px;
  color: var(--paper-muted);
  font-size: 12px;
}

.guide-card {
  display: grid;
  gap: 14px;
}

.guide-visual {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 112px;
  padding: 12px;
  border: 1px solid #d2e0df;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(46, 230, 207, 0.08), rgba(155, 235, 89, 0.08)),
    #f9fcfb;
}

.guide-device {
  display: grid;
  flex: 1 1 0;
  min-width: 0;
  min-height: 82px;
  align-content: center;
  gap: 5px;
  padding: 12px;
  border: 1px solid #c6d8d6;
  border-radius: 8px;
  background: #ffffff;
}

.guide-device i {
  width: 32px;
  height: 4px;
  border-radius: 999px;
  background: #13a99b;
}

.guide-device.chat i {
  width: 46px;
  background: #87bf36;
}

.guide-device b,
.guide-device em {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.guide-device b {
  color: var(--paper-text);
  font-size: 13px;
}

.guide-device em {
  color: var(--paper-muted);
  font-size: 11px;
  font-style: normal;
}

.guide-arrow {
  flex: none;
  color: #0c968c;
  font-size: 24px;
  font-weight: 900;
}

.guide-agent-node {
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: #ffffff;
  color: #0c968c;
  font-weight: 900;
}

.guide-agent-node.ticket {
  color: #bd8200;
}

.guide-agent-node.agent {
  color: #4c9800;
}

.guide-line {
  flex: 1 1 42px;
  height: 2px;
  min-width: 36px;
  background: linear-gradient(90deg, rgba(12, 150, 140, 0.08), rgba(12, 150, 140, 0.62), rgba(12, 150, 140, 0.08));
}

.guide-label {
  color: #009a8c;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.guide-card h3 {
  color: var(--paper-text);
  font-size: 19px;
  line-height: 1.2;
}

.guide-card ol {
  display: grid;
  gap: 10px;
  counter-reset: guide-step;
  padding: 0;
  list-style: none;
}

.guide-card li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  counter-increment: guide-step;
}

.guide-card li::before {
  content: counter(guide-step);
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  background: #e0f3f0;
  color: #068c80;
  font-size: 11px;
  font-weight: 900;
}

.guide-card li strong,
.guide-card li span {
  grid-column: 2;
}

.guide-card li strong {
  color: var(--paper-text);
  font-size: 13px;
}

.guide-card li span {
  margin-top: -5px;
}

.faq-grid summary {
  cursor: pointer;
  list-style: none;
}

.faq-grid summary::-webkit-details-marker {
  display: none;
}

.faq-grid summary::after {
  content: "+";
  float: right;
  color: #009a8c;
}

.faq-grid details[open] summary::after {
  content: "-";
}

.desktop-trust-cta {
  gap: 20px;
  min-height: 90px;
  padding: 16px 44px;
  border-top: 1px solid rgba(113, 191, 190, 0.22);
  background: #061214;
}

.desktop-trust-cta > span {
  display: grid;
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  color: var(--teal);
}

.desktop-trust-cta svg {
  width: 28px;
  height: 28px;
}

.desktop-trust-cta div {
  min-width: 0;
}

.desktop-trust-cta strong {
  display: block;
  color: var(--ink);
  font-size: 18px;
}

.desktop-trust-cta p {
  color: var(--muted);
  font-size: 13px;
}

.contact-line {
  flex-wrap: wrap;
  gap: 6px 10px;
  max-width: 320px;
  padding: 10px 12px;
  border: 1px solid rgba(46, 230, 207, 0.18);
  border-radius: 8px;
  background: rgba(4, 19, 24, 0.62);
  color: var(--muted);
  font-style: normal;
  font-size: 12px;
  line-height: 1.35;
}

.contact-line em {
  color: var(--teal);
  font-style: normal;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0;
}

.contact-line a,
.mobile-contact a {
  color: var(--ink);
  font-weight: 850;
  text-decoration: none;
}

.contact-line a:hover,
.mobile-contact a:hover {
  color: var(--teal);
}

.footer-actions {
  gap: 20px;
  margin-left: auto;
}

.menu-button {
  display: grid;
  width: 42px;
  min-height: 42px;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--ink);
}

.menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 3px 0;
  border-radius: 999px;
  background: currentColor;
}

.compact-nav {
  display: none;
}

body.is-entering {
  cursor: progress;
}

@media (max-width: 1080px) and (min-width: 721px) {
  body {
    background: #02080a;
  }

  .desktop-experience,
  .mobile-experience {
    display: none;
  }

  .tablet-experience {
    display: block;
  }

  .tablet-shell {
    width: min(820px, calc(100% - 28px));
    min-height: calc(100vh - 28px);
    margin: 14px auto;
    overflow: hidden;
    border: 1px solid rgba(113, 191, 190, 0.32);
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(6, 22, 26, 0.96), rgba(6, 18, 21, 0.98));
    box-shadow: var(--shadow);
  }

  .compact-header {
    height: 76px;
    padding: 0 18px;
    border-bottom: 0;
  }

  .tablet-shell.menu-open .compact-nav {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin: 0 18px 16px;
    padding: 8px;
    border: 1px solid rgba(113, 191, 190, 0.25);
    border-radius: 8px;
    background: rgba(3, 12, 14, 0.85);
  }

  .compact-nav a,
  .compact-nav button {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(113, 191, 190, 0.22);
    border-radius: 7px;
    background: rgba(46, 230, 207, 0.05);
    color: var(--ink);
    cursor: pointer;
    font-weight: 800;
  }

  .compact-header .brand strong {
    font-size: 17px;
  }

  .tablet-hero {
    padding: 26px 18px 20px;
  }

  .tablet-hero h1 {
    max-width: 690px;
    font-size: 46px;
    line-height: 1.08;
  }

  .tablet-hero p:not(.eyebrow) {
    max-width: 720px;
    margin-top: 12px;
    color: #d4e2e0;
    font-size: 15px;
  }

  .tablet-chips {
    margin-top: 22px;
  }

  .tablet-card {
    margin: 0 18px 16px;
    border: 1px solid var(--paper-line);
    border-radius: 8px;
    background: var(--paper);
    color: var(--paper-text);
    box-shadow: var(--paper-shadow);
  }

  .how-card {
    padding: 18px;
  }

  .how-card h2,
  .tablet-use-cases h2 {
    color: var(--paper-text);
    font-size: 18px;
  }

  .how-flow {
    gap: 16px;
    margin-top: 16px;
    overflow-x: auto;
  }

  .how-flow article {
    display: grid;
    min-width: 150px;
    min-height: 118px;
    place-items: center;
    padding: 12px;
    border: 1px solid var(--paper-line);
    border-radius: 8px;
    background: var(--paper-2);
    text-align: center;
  }

  .how-flow b {
    color: #7b9293;
    font-size: 24px;
  }

  .how-flow strong {
    margin-top: 8px;
    color: var(--paper-text);
    font-size: 13px;
  }

  .how-flow em {
    color: var(--paper-muted);
    font-size: 11px;
    font-style: normal;
  }

  .pager-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
  }

  .pager-dots span {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #cfdbda;
  }

  .pager-dots span:first-child {
    background: #077c83;
  }

  .role-card {
    overflow: hidden;
  }

  .role-tabs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #061214;
  }

  .role-tabs button {
    height: 62px;
    border: 0;
    border-bottom: 1px solid rgba(46, 230, 207, 0.2);
    background: transparent;
    color: #aac0bf;
    cursor: pointer;
    font-weight: 800;
  }

  .role-tabs button.active {
    border: 1px solid var(--line-strong);
    background: rgba(46, 230, 207, 0.12);
    color: var(--ink);
  }

  .role-body {
    padding: 18px;
  }

  .role-body article {
    display: none;
  }

  .role-body article.active {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 20px;
    align-items: center;
  }

  .role-body h3 {
    color: var(--paper-text);
    font-size: 18px;
  }

  .role-body ul {
    display: grid;
    gap: 8px;
    margin-top: 14px;
    padding-left: 18px;
  }

  .tablet-event-list {
    display: grid;
    gap: 7px;
    padding: 12px;
    border-radius: 8px;
    background: #061214;
  }

  .tablet-event-list span {
    display: block;
    padding: 7px 10px;
    border: 1px solid rgba(113, 191, 190, 0.18);
    border-radius: 7px;
    color: #b7ccca;
    font-size: 11px;
  }

  .tablet-use-cases {
    padding: 18px;
  }

  .tablet-guides {
    padding: 18px;
  }

  .tablet-guides h2 {
    color: var(--paper-text);
    font-size: 20px;
    line-height: 1.2;
  }

  .tablet-guides > div {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 14px;
  }

  .tablet-guides article {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 9px 12px;
    min-width: 0;
    padding: 15px;
    border: 1px solid var(--paper-line);
    border-radius: 8px;
    background: var(--paper-2);
  }

  .tablet-guides .node-icon {
    grid-row: span 2;
  }

  .tablet-guides strong {
    color: var(--paper-text);
    font-size: 14px;
  }

  .tablet-guides p {
    color: var(--paper-muted);
    font-size: 12px;
  }

  .tablet-docs,
  .tablet-faq {
    padding: 18px;
  }

  .tablet-docs h2 {
    color: var(--paper-text);
    font-size: 19px;
    line-height: 1.22;
  }

  .tablet-docs > div,
  .tablet-doc-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 14px;
  }

  .tablet-docs article,
  .tablet-faq details {
    padding: 15px;
    border: 1px solid var(--paper-line);
    border-radius: 8px;
    background: var(--paper-2);
  }

  .tablet-docs strong,
  .tablet-faq summary {
    color: var(--paper-text);
    font-weight: 850;
  }

  .tablet-docs p,
  .tablet-faq p {
    margin-top: 8px;
    color: var(--paper-muted);
    font-size: 12px;
  }

  .tablet-docs .doc-resource-card {
    min-height: 198px;
    margin-top: 0;
  }

  .tablet-docs .doc-resource-card.featured {
    grid-column: 1 / -1;
    min-height: 168px;
  }

  .tablet-docs .doc-resource-card p {
    margin-top: 0;
  }

  .tablet-faq {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .tablet-faq summary {
    cursor: pointer;
    list-style: none;
  }

  .tablet-faq summary::-webkit-details-marker {
    display: none;
  }

  .tablet-use-cases > div {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 16px;
  }

  .tablet-use-cases article {
    min-width: 0;
    padding: 18px;
    border: 1px solid var(--paper-line);
    border-radius: 8px;
    background: var(--paper-2);
  }

  .tablet-use-cases h3 {
    margin-top: 12px;
    color: var(--paper-text);
    font-size: 15px;
  }

  .tablet-use-cases ul {
    display: grid;
    gap: 5px;
    margin: 12px 0 0;
    padding-left: 16px;
  }

  .tablet-use-cases a {
    display: inline-block;
    margin-top: 18px;
    color: #008a86;
    font-weight: 850;
  }

  .tablet-bottom-cta {
    justify-content: space-between;
    gap: 20px;
    min-height: 96px;
    padding: 20px 30px;
  }

  .tablet-bottom-cta strong {
    color: var(--ink);
    font-size: 20px;
  }

  .tablet-bottom-cta p {
    color: var(--muted);
  }

  .tablet-bottom-cta .compact-contact {
    max-width: 100%;
    margin-top: 10px;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .tablet-bottom-cta .primary-button {
    min-width: 330px;
  }
}

@media (max-width: 720px) {
  body {
    background: #02080a;
  }

  body::before {
    background-size: 44px 44px;
  }

  .network-canvas {
    opacity: 0.38;
  }

  .desktop-experience,
  .tablet-experience {
    display: none;
  }

  .mobile-experience {
    display: block;
  }

  .mobile-shell {
    width: min(390px, calc(100% - 20px));
    min-height: calc(100vh - 20px);
    margin: 10px auto;
    overflow: hidden;
    border: 1px solid rgba(113, 191, 190, 0.32);
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(6, 22, 26, 0.96), rgba(4, 14, 17, 0.98));
    box-shadow: var(--shadow);
  }

  .mobile-header {
    height: 70px;
    padding: 0 13px;
    border-bottom: 0;
  }

  .mobile-shell.menu-open .compact-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin: 0 14px 14px;
    padding: 8px;
    border: 1px solid rgba(113, 191, 190, 0.24);
    border-radius: 8px;
    background: rgba(3, 12, 14, 0.86);
  }

  .compact-nav a,
  .compact-nav button {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(113, 191, 190, 0.22);
    border-radius: 7px;
    background: rgba(46, 230, 207, 0.05);
    color: var(--ink);
    cursor: pointer;
    font-weight: 800;
  }

  .mobile-header .brand-mark {
    width: 32px;
    height: 32px;
  }

  .mobile-header .brand strong {
    font-size: 16px;
  }

  .mobile-header .language-toggle button {
    min-width: 36px;
  }

  .mobile-hero {
    padding: 18px 14px 0;
  }

  .mobile-hero .eyebrow {
    margin-bottom: 14px;
    font-size: 10px;
    letter-spacing: 1.8px;
  }

  .mobile-hero h1 {
    font-size: 35px;
    line-height: 1.12;
  }

  .mobile-hero p:not(.eyebrow) {
    margin-top: 16px;
    color: #d1e0df;
    font-size: 14px;
  }

  .mobile-chip-list {
    display: grid;
    gap: 8px;
    margin-top: 20px;
  }

  .mobile-chip-list span {
    gap: 11px;
    min-height: 49px;
    padding: 0 13px;
    border: 1px solid rgba(113, 191, 190, 0.32);
    border-radius: 8px;
    background: rgba(6, 24, 28, 0.76);
  }

  .mobile-chip-list svg {
    width: 23px;
    height: 23px;
    color: var(--teal);
  }

  .mobile-chip-list em {
    font-style: normal;
  }

  .mobile-main-cta,
  .mobile-api-link,
  .mobile-sticky-button {
    width: 100%;
    min-height: 48px;
    margin-top: 14px;
  }

  .mobile-api-link {
    border-color: rgba(46, 230, 207, 0.5);
    color: var(--teal);
  }

  .mobile-timeline {
    margin: 20px 14px 0;
    padding: 14px;
    border: 1px solid rgba(113, 191, 190, 0.2);
    border-radius: 8px;
    background: rgba(9, 25, 29, 0.72);
  }

  .mobile-timeline h2 {
    color: var(--ink);
    font-size: 18px;
  }

  .mobile-timeline ol {
    display: grid;
    gap: 8px;
    margin-top: 15px;
    padding: 0;
    list-style: none;
  }

  .mobile-timeline li {
    position: relative;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 10px;
    min-height: 64px;
    align-items: center;
  }

  .mobile-timeline li + li::before {
    content: "";
    position: absolute;
    left: 20px;
    top: -11px;
    width: 1px;
    height: 20px;
    background: rgba(46, 230, 207, 0.5);
  }

  .mobile-timeline li > span {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: rgba(46, 230, 207, 0.14);
    color: var(--teal);
    font-weight: 900;
  }

  .mobile-timeline li > div {
    min-width: 0;
    padding: 10px 12px;
    border: 1px solid rgba(113, 191, 190, 0.24);
    border-radius: 8px;
    background: rgba(8, 24, 28, 0.76);
  }

  .mobile-timeline strong {
    color: var(--ink);
  }

  .mobile-timeline p {
    color: var(--muted);
    font-size: 12px;
  }

  .mobile-quickstart {
    margin: 14px;
    border: 1px solid rgba(113, 191, 190, 0.24);
    border-radius: 8px;
    background: rgba(8, 24, 28, 0.76);
  }

  .mobile-quickstart summary {
    gap: 12px;
    min-height: 62px;
    padding: 10px 13px;
    cursor: pointer;
    list-style: none;
  }

  .mobile-quickstart summary::-webkit-details-marker {
    display: none;
  }

  .mobile-quickstart summary > span {
    color: var(--teal);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    font-size: 18px;
    font-weight: 900;
  }

  .mobile-quickstart strong {
    color: var(--ink);
  }

  .mobile-quickstart p {
    color: var(--muted);
    font-size: 12px;
  }

  .mobile-quickstart pre {
    border-top: 1px solid rgba(113, 191, 190, 0.18);
    color: #cce6e1;
  }

  .mobile-guides {
    display: grid;
    gap: 10px;
    margin: 14px;
  }

  .mobile-guides details {
    border: 1px solid rgba(113, 191, 190, 0.24);
    border-radius: 8px;
    background: rgba(8, 24, 28, 0.76);
  }

  .mobile-guides summary {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 54px;
    padding: 12px 14px;
    color: var(--ink);
    cursor: pointer;
    list-style: none;
  }

  .mobile-guides summary::-webkit-details-marker {
    display: none;
  }

  .mobile-guides summary span {
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border: 1px solid rgba(46, 230, 207, 0.46);
    border-radius: 50%;
    color: var(--teal);
    font-weight: 900;
  }

  .mobile-guides strong {
    font-size: 14px;
  }

  .mobile-guides p {
    padding: 0 14px 14px 52px;
    color: var(--muted);
    font-size: 12px;
  }

  .mobile-docs {
    display: grid;
    gap: 10px;
    margin: 14px;
  }

  .mobile-docs .doc-resource-card {
    min-height: 0;
    padding: 14px;
    border: 1px solid rgba(113, 191, 190, 0.24);
    border-radius: 8px;
    background: rgba(8, 24, 28, 0.76);
    box-shadow: none;
  }

  .mobile-docs .doc-resource-card.featured {
    border-color: rgba(46, 230, 207, 0.42);
    background:
      linear-gradient(180deg, rgba(46, 230, 207, 0.1), rgba(8, 24, 28, 0.76)),
      rgba(8, 24, 28, 0.76);
  }

  .mobile-docs .doc-resource-icon {
    border-color: rgba(46, 230, 207, 0.3);
    background: rgba(46, 230, 207, 0.08);
    color: var(--teal);
  }

  .mobile-docs .doc-resource-card em {
    color: var(--teal);
  }

  .mobile-docs .doc-resource-card strong {
    min-width: 0;
    color: var(--ink);
    font-size: 15px;
    font-weight: 900;
  }

  .mobile-docs .doc-resource-card p {
    grid-column: 2;
    margin-top: 0;
    padding: 0;
    color: var(--muted);
    font-size: 12px;
  }

  .mobile-docs .doc-resource-actions {
    margin-top: 9px;
  }

  .mobile-docs .doc-link {
    border-color: rgba(113, 191, 190, 0.28);
    background: rgba(46, 230, 207, 0.06);
    color: var(--ink);
  }

  .mobile-docs .doc-link.primary {
    border-color: rgba(46, 230, 207, 0.62);
    background: rgba(46, 230, 207, 0.18);
    color: var(--teal);
  }

  .mobile-docs details {
    border: 1px solid rgba(113, 191, 190, 0.24);
    border-radius: 8px;
    background: rgba(8, 24, 28, 0.76);
  }

  .mobile-docs summary {
    min-height: 52px;
    padding: 14px;
    color: var(--ink);
    cursor: pointer;
    font-weight: 850;
    list-style: none;
  }

  .mobile-docs summary::-webkit-details-marker {
    display: none;
  }

  .mobile-docs p {
    padding: 0 14px 14px;
    color: var(--muted);
    font-size: 12px;
  }

  .mobile-contact {
    display: grid;
    gap: 7px;
    margin: 18px 14px 0;
    padding: 14px;
    border: 1px solid rgba(46, 230, 207, 0.24);
    border-radius: 8px;
    background: rgba(9, 25, 29, 0.72);
    color: var(--muted);
    font-style: normal;
    font-size: 12px;
  }

  .mobile-contact em {
    color: var(--teal);
    font-style: normal;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: 0;
  }

  .mobile-sticky-button {
    margin: 22px 14px 14px;
    width: calc(100% - 28px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}
