:root {
  --void: #050A11;
  --deep: #08111D;
  --navy: #0B1726;
  --raise: #102238;
  --lift: #16304A;
  --brand: #168CFF;
  --bright: #38A9FF;
  --cyan: #67D4FF;
  --ink: #F4F8FC;
  --soft: #9CAEC0;
  --mute: #66798C;
  --line: rgba(120, 180, 230, 0.14);
  --glow: rgba(22, 140, 255, 0.22);
  --display: "Manrope", "Noto Sans Arabic", "Noto Sans SC", sans-serif;
  --body: "IBM Plex Sans", "Noto Sans Arabic", "Noto Sans SC", sans-serif;
  --mast: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--void);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
h1, h2, h3, .type-display {
  font-family: var(--display);
  letter-spacing: -0.035em;
  line-height: 1.12;
  font-weight: 700;
  margin: 0;
}

.desk-root {
  min-height: 100vh;
  color: #fff;
  background: linear-gradient(180deg, #5b8cff 0%, #3b82f6 14%, #3b82f6 72%, #3476ea 100%);
}
.desk-root .drift,
.desk-root .grain-veil { display: none; }

.grain-veil {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 1;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.drift {
  pointer-events: none;
  position: fixed;
  z-index: 0;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.48;
}
.drift-a {
  width: 420px;
  height: 420px;
  left: -90px;
  top: 18%;
  background: #168CFF;
  animation: drift-left 22s ease-in-out infinite;
}
.drift-b {
  width: 360px;
  height: 360px;
  right: -80px;
  top: 42%;
  background: #67D4FF;
  opacity: 0.22;
  animation: drift-right 18s ease-in-out infinite;
}
.drift-c {
  width: 280px;
  height: 280px;
  left: 42%;
  bottom: 8%;
  background: #38A9FF;
  opacity: 0.16;
  animation: drift-soft 25s ease-in-out infinite;
}
@keyframes drift-left {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(40px, -30px); }
}
@keyframes drift-right {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-36px, 24px); }
}
@keyframes drift-soft {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(18px, -22px) scale(1.08); }
}

.mast-banner {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 40;
  height: var(--mast);
  display: flex;
  align-items: center;
  background: rgba(59, 130, 246, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}
.mast-banner.is-stuck {
  background: rgba(59, 130, 246, 0.94);
  border-bottom-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 10px 28px rgba(37, 99, 235, 0.16);
}
.mast-inner {
  width: min(1240px, calc(100% - 28px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.sigil-row {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  gap: 10px;
  font-family: var(--display);
  font-weight: 750;
  letter-spacing: -0.03em;
}
.sigil-row img { width: 36px; height: 36px; }
.sigil-name { font-size: 1.12rem; }
.mast-tools { display: flex; align-items: center; flex-shrink: 0; gap: 10px; }

.dock-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: 4px;
}
.dock-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 600;
  font-size: 0.92rem;
  white-space: nowrap;
}
.dock-link::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 4px;
  height: 2px;
  border-radius: 99px;
  background: #fff;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}
.dock-link:hover { color: #fff; }
.dock-link:hover::after,
.dock-link.is-on::after { transform: scaleX(1); }
.dock-link.is-on { color: #fff; }

.work-pane { position: relative; z-index: 2; padding-top: var(--mast); }
.inner {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
}

.btn-main,
.btn-line,
.mast-get,
.pin-get {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}
.btn-main {
  background: var(--brand);
  color: #fff;
  padding: 0.78rem 1.25rem;
}
.btn-main:hover {
  background: #2a98ff;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(22, 140, 255, 0.28);
}
.btn-line {
  padding: 0.74rem 1.18rem;
  border: 1px solid rgba(120, 180, 230, 0.28);
  background: rgba(16, 34, 56, 0.45);
  color: var(--ink);
}
.btn-line:hover { border-color: var(--bright); }
.mast-get {
  background: var(--brand);
  color: #fff;
  padding: 0.48rem 0.95rem;
  font-size: 0.9rem;
}
.mast-get:hover { background: #2a98ff; }
.dock-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  background: var(--raise);
  border-radius: 10px;
  align-items: center;
  justify-content: center;
}

.lang-switch { position: relative; }
.lang-btn {
  border: 1px solid var(--line);
  background: rgba(16, 34, 56, 0.55);
  border-radius: 999px;
  padding: 0.38rem 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  color: var(--ink);
}
.lang-list {
  position: absolute;
  inset-inline-end: 0;
  top: calc(100% + 8px);
  min-width: 148px;
  padding: 8px;
  background: #102238;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 16px 36px rgba(0, 8, 18, 0.4);
  z-index: 80;
  color: var(--ink);
}
.lang-list a {
  display: block;
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--ink);
}
.lang-list a:hover,
.lang-list a[aria-current="page"] { background: rgba(22, 140, 255, 0.12); color: var(--bright); }
.lang-list[hidden] { display: none; }

.eyebrow {
  margin: 0;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
}
.lane-title { margin: 10px 0 0; font-size: clamp(1.7rem, 3vw, 2.5rem); }
.faint { color: var(--soft); }
.trail { margin-top: 16px; font-size: 0.86rem; color: var(--mute); }
.trail a { color: var(--bright); font-weight: 650; }

.lane { position: relative; padding: 84px 0; }
.lane-a { background: var(--void); }
.lane-b { background: var(--deep); }
.lane-c { background: #0A1624; }
.lane-d { background: #06101B; }
.work-pane > section + section::before {
  content: "";
  position: absolute;
  z-index: 3;
  top: 0;
  left: 50%;
  width: min(920px, 82%);
  height: 20px;
  transform: translateX(-50%);
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 1px, #fff 0 3px, #bbf7d0 4px, transparent 9px),
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.16) 12%, rgba(255, 255, 255, 0.92) 50%, rgba(255, 255, 255, 0.16) 88%, transparent) 0 0.5px / 100% 1px no-repeat;
}
.lane-grid {
  background-image:
    linear-gradient(rgba(103, 212, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(103, 212, 255, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
}

.open-bay {
  position: relative;
  min-height: calc(100vh - var(--mast));
  display: flex;
  align-items: center;
  padding: 56px 0 72px;
  overflow: hidden;
  background: #3b82f6;
}
.open-bay::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("media/sheet-verify.jpg") center / cover no-repeat;
}
.open-bay::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #3b82f6 0%, #3b82f6 36%, rgba(59, 130, 246, 0.82) 46%, rgba(59, 130, 246, 0.22) 58%, transparent 72%);
}
html[dir="rtl"] .open-bay::before { transform: scaleX(-1); }
html[dir="rtl"] .open-bay::after {
  background: linear-gradient(270deg, #3b82f6 0%, #3b82f6 36%, rgba(59, 130, 246, 0.82) 46%, rgba(59, 130, 246, 0.22) 58%, transparent 72%);
}
.is-home .work-pane { padding-top: 0; }
.is-home .open-bay {
  min-height: 100vh;
  padding-top: calc(var(--mast) + 28px);
}
.is-home .mast-banner {
  background: rgba(37, 99, 235, 0.08);
  border-bottom-color: transparent;
}
.is-home .mast-banner.is-stuck {
  background: rgba(59, 130, 246, 0.94);
  border-bottom-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 10px 28px rgba(37, 99, 235, 0.16);
}
.bay-stage {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(260px, 440px) 1fr;
  align-items: center;
  gap: 24px;
}
.bay-copy {
  position: relative;
  z-index: 2;
  max-width: 36rem;
  text-align: start;
  padding: 12px 0 20px;
}
.bay-sigil {
  width: 52px;
  height: 52px;
  margin: 0 0 14px;
  filter: drop-shadow(0 8px 18px rgba(15, 23, 42, 0.2));
}
.bay-label {
  margin: 0;
  font-size: 0.92rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #d1fae5;
  font-weight: 650;
}
.bay-title {
  margin: 14px 0 0;
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  max-width: 14ch;
  color: #fff;
  text-shadow: 0 8px 28px rgba(15, 23, 42, 0.18);
}
.bay-lead {
  margin: 18px 0 0;
  max-width: 38rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
}
.bay-acts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-start;
  margin-top: 28px;
}
.open-bay .btn-main {
  background: #fff;
  color: #2563eb;
}
.open-bay .btn-main:hover {
  background: #eff6ff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.16);
}
.open-bay .btn-line {
  border-color: rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
.bay-meta { margin-top: 18px; color: rgba(255, 255, 255, 0.72); font-size: 0.92rem; }
@media (max-width: 979px) {
  .bay-stage { grid-template-columns: 1fr; }
  .open-bay { min-height: 78vh; padding-bottom: 34vh; }
  .open-bay::before { background-position: 78% center; }
}

.fact-row { display: grid; gap: 14px; margin-top: 28px; }
.fact-tile {
  padding: 18px 18px 16px;
  background: var(--navy);
  border: 1px solid var(--line);
  border-top: 2px solid var(--brand);
  border-radius: 14px;
}
.fact-tile p { margin: 6px 0 0; }

.check-stage .check-canvas {
  margin-top: 28px;
  min-height: 240px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(16, 34, 56, 0.7), #0B1726),
    repeating-linear-gradient(90deg, transparent, transparent 86px, rgba(22, 140, 255, 0.06) 87px);
}
.port-stack {
  display: grid;
  gap: 10px;
  width: min(720px, 88%);
  margin: 48px auto;
}
.port-pill {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  border-radius: 12px;
  background: rgba(16, 34, 56, 0.7);
  border: 1px solid var(--line);
  font-size: 0.92rem;
}
.port-pill.is-hot {
  background: #102238;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(22, 140, 255, 0.12);
}
.twin-notes { display: grid; gap: 24px; margin-top: 28px; }
.twin-notes p { margin: 6px 0 0; }
.twin-notes > div {
  padding-inline-start: 14px;
  border-inline-start: 2px solid rgba(22, 140, 255, 0.45);
}

.split-row { display: grid; gap: 36px; align-items: center; }

.zoom-hit { border: 0; background: none; padding: 0; cursor: zoom-in; }
.frame-win,
.frame-float,
.frame-edge,
.frame-panel,
.frame-glow {
  display: block;
}
.frame-win img,
.frame-float img,
.frame-edge img,
.frame-panel img,
.frame-glow img,
.zoom-hit img {
  width: 100%;
  border-radius: 14px;
}
.frame-win {
  padding: 10px 10px 14px;
  background: #0B1726;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}
.frame-win::before {
  content: "";
  display: block;
  height: 8px;
  margin-bottom: 8px;
  border-radius: 99px;
  background: linear-gradient(90deg, #ff5f57 8px, transparent 8px, transparent 14px, #febc2e 14px, #febc2e 22px, transparent 22px, transparent 28px, #28c840 28px, #28c840 36px, transparent 36px);
  opacity: 0.45;
}
.frame-float img {
  box-shadow: 0 22px 50px rgba(22, 140, 255, 0.18);
  animation: float-soft 8s ease-in-out infinite;
}
.frame-edge img {
  box-shadow: 0 0 0 1px rgba(103, 212, 255, 0.35), 0 16px 36px rgba(0, 8, 18, 0.35);
}
.frame-glow {
  filter: drop-shadow(0 0 28px rgba(22, 140, 255, 0.28));
}
.frame-panel {
  padding: 12px;
  background: #102238;
  border: 1px solid var(--line);
  border-radius: 16px;
}
.frame-panel::after {
  content: "USB · trusted";
  display: block;
  margin-top: 8px;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
}
@keyframes float-soft {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.tool-mosaic {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 32px;
}
.tool-tile {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--navy);
  border-radius: 16px;
  border-top: 2px solid var(--brand);
  transition: transform 280ms ease, box-shadow 280ms ease, border-color 280ms ease;
}
.tool-mosaic[data-reveal] .tool-tile {
  opacity: 0;
  transform: translateY(22px);
}
.tool-mosaic[data-reveal] .tool-tile.is-in {
  opacity: 1;
  transform: none;
  transition-delay: var(--tile-delay, 0ms);
}
.tool-tile:hover {
  transform: translateY(-6px);
  border-color: rgba(56, 169, 255, 0.4);
  box-shadow: 0 18px 40px rgba(22, 140, 255, 0.14);
}
.tile-head {
  display: flex;
  align-items: center;
  gap: 10px;
}
.tile-head h3,
.tool-tile h3 { margin: 0; font-size: 1.15rem; }
.tool-tile > svg + h3 { margin-top: 12px; }
.tool-tile p { margin: 8px 0 0; color: var(--soft); }
.tile-marks { display: flex; gap: 10px; margin-top: 16px; align-items: center; }
.tile-marks img { width: 36px; height: 36px; }

.show-bay {
  position: relative;
  padding: 88px 0 40px;
  background: #06101B;
  text-align: center;
  overflow: hidden;
}
.show-glow {
  position: absolute;
  inset: 10% 20% auto;
  height: 180px;
  background: radial-gradient(ellipse, rgba(56, 169, 255, 0.2), transparent 70%);
  filter: blur(20px);
}
.show-shot {
  width: min(440px, 78%);
  margin: 28px auto 0;
  filter: drop-shadow(0 24px 40px rgba(22, 140, 255, 0.16));
}

.use-grid { display: grid; gap: 16px; margin-top: 28px; }
.use-card {
  display: grid;
  gap: 16px;
  padding: 20px 20px 16px;
  background: var(--navy);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.use-copy h3 { margin: 0; }
.use-copy p { margin: 8px 0 0; }
.use-card .zoom-hit {
  display: block;
  width: 100%;
  background: linear-gradient(180deg, #f8fbff, #eef3ff);
  border-radius: 12px;
}
.use-card img {
  width: 100%;
  height: 188px;
  object-fit: contain;
  object-position: center;
  background: transparent;
  border-radius: 12px;
}

.table-shell { overflow-x: auto; margin-top: 24px; }
.cmp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}
.cmp-table th,
.cmp-table td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
  text-align: start;
}
.cmp-table th { color: var(--ink); font-weight: 700; }
.cmp-table td { color: var(--soft); }
.cmp-table tbody tr:hover { background: rgba(22, 140, 255, 0.06); }
.col-self { color: var(--bright) !important; font-weight: 650; }

.quote-rail { overflow: hidden; margin-top: 28px; }
.quote-run {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: quote-move 48s linear infinite;
}
.quote-rail:hover .quote-run { animation-play-state: paused; }
.quote-card {
  flex: 0 0 auto;
  padding: 20px 20px 16px;
  background: var(--navy);
  border: 1px solid var(--line);
  border-radius: 16px;
  border-inline-start: 3px solid var(--brand);
}
.quote-card q { display: block; font-style: normal; }
.quote-src { margin: 12px 0 0; color: var(--mute); font-size: 0.82rem; }
@keyframes quote-move {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.ask-wide { width: min(840px, calc(100% - 40px)); margin: 0 auto; }
.ask-stack {
  background: #fff;
  border-radius: 20px;
  padding: 6px 28px 10px;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12);
}
.ask-stack .ask-row { border-bottom-color: rgba(59, 130, 246, 0.12); }
.ask-stack .ask-row:last-child { border-bottom: 0; }
.ask-stack .ask-row button { color: #16325c; }
.ask-stack .ask-row .mark { color: #2563eb; }
.ask-stack .ask-body { color: #4b6584; }
.ask-row { border-bottom: 1px solid var(--line); }
.ask-row button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  border: 0;
  background: none;
  text-align: start;
  cursor: pointer;
  color: var(--ink);
  font-weight: 650;
}
.ask-row .mark { color: var(--cyan); font-size: 1.2rem; }
.ask-body {
  padding: 0 0 18px;
  color: var(--soft);
}

.close-bay {
  position: relative;
  overflow: hidden;
  padding: 96px 0;
  text-align: center;
  background:
    radial-gradient(640px 240px at 50% 20%, rgba(22, 140, 255, 0.22), transparent 62%),
    #06101B;
}
.close-bay h2 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  max-width: 16ch;
  margin-inline: auto;
}
.close-bay p { max-width: 36rem; margin: 16px auto 28px; color: var(--soft); }

.foot-bar {
  position: relative;
  z-index: 2;
  padding: 48px 0 36px;
  border-top: 1px solid var(--line);
  background: #050A11;
}
.foot-grid { display: grid; gap: 28px; }
.foot-note { color: var(--mute); font-size: 0.9rem; }
.foot-note a:hover { color: var(--bright); }
.social-row { display: flex; gap: 10px; margin-top: 14px; }
.social-row img { width: 28px; height: 28px; opacity: 0.7; }

.pin-get {
  position: fixed;
  inset-inline-end: 20px;
  bottom: 20px;
  z-index: 35;
  background: var(--brand);
  color: #fff;
  padding: 0.7rem 1rem;
  box-shadow: 0 10px 24px rgba(22, 140, 255, 0.28);
}

.page-bay,
.page-bay.dark {
  position: relative;
  overflow: hidden;
  padding: 56px 0 44px;
  text-align: center;
  background: transparent;
}
.page-bay .inner { position: relative; max-width: 760px; }
.page-bay .lane-title {
  font-size: clamp(2rem, 4.6vw, 3.25rem);
  max-width: 16ch;
  margin-inline: auto;
}
.page-bay .faint { margin: 16px auto 0; max-width: 42rem; }

.note-bar {
  margin-top: 16px;
  padding: 14px 16px;
  border-inline-start: 3px solid var(--brand);
  background: rgba(16, 34, 56, 0.7);
  border-radius: 0 12px 12px 0;
  font-size: 0.92rem;
}
.warn-bar {
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px solid rgba(56, 169, 255, 0.28);
  background: rgba(16, 34, 56, 0.55);
  border-radius: 12px;
  font-size: 0.92rem;
}
.step-ol {
  margin: 18px 0 0;
  padding-inline-start: 0;
  list-style: none;
  counter-reset: steps;
}
.step-ol li {
  position: relative;
  margin: 14px 0;
  padding-inline-start: 44px;
  counter-increment: steps;
}
.step-ol li::before {
  content: counter(steps);
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--raise);
  color: var(--bright);
  border: 1px solid var(--line);
  font-size: 0.78rem;
  font-weight: 700;
}
.guide-split > div > article {
  background: var(--navy);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px 30px 32px;
}
.guide-split > div > article + article { margin-top: 18px !important; }
.guide-dock {
  position: sticky;
  top: 88px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px;
  background: var(--navy);
  border: 1px solid var(--line);
  border-radius: 16px;
  font-size: 0.9rem;
  font-weight: 600;
}
.guide-dock a { color: var(--soft); padding: 8px 10px; border-radius: 10px; }
.guide-dock a:hover,
.guide-dock a.is-on { color: var(--bright); background: rgba(22, 140, 255, 0.08); }
.plat-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  padding: 6px;
  background: var(--navy);
  border: 1px solid var(--line);
  border-radius: 999px;
}
.plat-tabs button {
  border: 0;
  background: transparent;
  border-radius: 999px;
  padding: 0.46rem 0.95rem;
  font-weight: 650;
  cursor: pointer;
  color: var(--soft);
}
.plat-tabs button[aria-selected="true"] {
  background: var(--brand);
  color: #fff;
}
.release-card {
  width: min(760px, calc(100% - 32px));
  margin: 28px auto 0;
  background: var(--navy);
  border: 1px solid var(--line);
  border-top: 3px solid var(--brand);
  border-radius: 20px;
  padding: 30px;
}
.spec-list { display: grid; gap: 10px; margin-top: 8px; }
.spec-list div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(8, 17, 29, 0.7);
  font-size: 0.94rem;
}
.inner[style*="max-width"] {
  background: var(--navy);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px 34px;
}
.name-cols {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 10px;
  columns: unset !important;
}
.name-cols p {
  margin: 0;
  padding: 11px 12px;
  background: var(--raise);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 0.86rem;
  font-weight: 650;
}
.hash-row { overflow-x: auto; font-size: 0.84rem; word-break: break-all; color: var(--soft); }

.split-row .zoom-hit { max-width: 460px; margin-inline: auto; }
.split-row img {
  width: 100%;
  max-height: 260px;
  object-fit: contain;
}
.shot-mid { max-width: 560px; margin: 24px auto 0; }

.zoom-layer {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(5, 10, 17, 0.82);
  padding: 20px;
}
.zoom-layer[hidden] { display: none; }
.zoom-x {
  position: absolute;
  top: 18px;
  inset-inline-end: 18px;
  border: 0;
  background: #102238;
  color: var(--ink);
  border-radius: 999px;
  width: 40px;
  height: 40px;
  font-weight: 800;
}
.zoom-body { max-width: 960px; max-height: 90vh; overflow: auto; }
.zoom-body img { width: 100%; }

html[lang="zh-CN"] body,
html[lang="zh-CN"] h1,
html[lang="zh-CN"] h2,
html[lang="zh-CN"] h3 { font-family: "Noto Sans SC", var(--body); }
html[lang="ar"] body { font-family: "Noto Sans Arabic", var(--body); }
html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="ar"] h3 {
  font-family: "Noto Sans Arabic", var(--display);
  letter-spacing: 0;
}
html[lang="ar"] .eyebrow { letter-spacing: 0.04em; text-transform: none; }
html[dir="rtl"] { direction: rtl; }
html[dir="rtl"] body { text-align: right; }
html[dir="rtl"] .ask-row button,
html[dir="rtl"] table { text-align: right; }
html[dir="rtl"] .cmp-table th,
html[dir="rtl"] .cmp-table td {
  unicode-bidi: isolate;
  text-align: start;
}
html[dir="rtl"] .quote-card {
  min-width: 320px;
  max-width: 420px;
  width: auto !important;
  text-align: right;
}

@media (min-width: 980px) {
  .mast-inner { padding-inline: 8px; }
  .split-row,
  .twin-notes { grid-template-columns: 1fr 1fr; }
  .tool-mosaic { grid-template-columns: 1.4fr 1fr; }
  .tile-span { grid-column: 1 / -1; }
  .use-grid { grid-template-columns: 1fr 1fr 1fr; }
  .foot-grid { grid-template-columns: 1.2fr 0.8fr 1fr; }
  .guide-split { display: grid; grid-template-columns: 220px 1fr; gap: 48px; }
  .fact-row { grid-template-columns: 1fr 1fr 1fr; }
}

@media (max-width: 979px) {
  .dock-nav {
    display: none;
    position: absolute;
    top: var(--mast);
    inset-inline: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    background: rgba(47, 111, 232, 0.96);
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    gap: 4px;
  }
  .dock-nav.is-open { display: flex; z-index: 41; }
  .dock-toggle { display: inline-flex; }
  body.dock-open::after {
    content: "";
    position: fixed;
    inset: var(--mast) 0 0;
    background: rgba(5, 10, 17, 0.55);
    z-index: 25;
  }
}

.eyebrow { color: #bbf7d0; }
.lane-title,
.close-bay h2,
.page-bay .lane-title { color: #fff; }
.faint,
.close-bay p,
.ask-body,
.page-bay .faint,
.trail { color: rgba(255, 255, 255, 0.88); }
.trail a { color: #fff; font-weight: 650; }
.lane-a,
.lane-c,
.lane-d { background: transparent; }
.lane-b { background: rgba(255, 255, 255, 0.08); }
.lane-grid {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
}
.foot-bar::before {
  content: "";
  position: absolute;
  z-index: 3;
  top: 0;
  left: 50%;
  width: min(920px, 82%);
  height: 20px;
  transform: translateX(-50%);
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 1px, #fff 0 3px, #bbf7d0 4px, transparent 9px),
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.16) 12%, rgba(255, 255, 255, 0.92) 50%, rgba(255, 255, 255, 0.16) 88%, transparent) 0 0.5px / 100% 1px no-repeat;
}
.fact-tile,
.tool-tile,
.use-card,
.quote-card,
.port-pill,
.check-canvas,
.table-shell,
.release-card,
.guide-split > div > article,
.guide-dock,
.inner[style*="max-width"],
.frame-win,
.frame-panel {
  background: #fff;
  border-color: transparent;
  color: #16325c;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12);
}
.check-canvas {
  background:
    linear-gradient(180deg, #f8fbff, #eef4ff),
    repeating-linear-gradient(90deg, transparent, transparent 86px, rgba(59, 130, 246, 0.08) 87px);
}
.fact-tile { border-top: 2px solid #3b82f6; }
.tool-tile { border-top: 2px solid #3b82f6; }
.release-card { border-top: 3px solid #3b82f6; }
.quote-card { border-inline-start: 3px solid #3b82f6; }
.fact-tile strong,
.tool-tile h3,
.use-copy h3,
.twin-notes h3,
.cmp-table th,
.release-card .lane-title,
.guide-split .lane-title,
.inner[style*="max-width"] .lane-title { color: #16325c; }
.fact-tile p,
.tool-tile p,
.use-copy p,
.quote-src,
.cmp-table td,
.port-pill,
.release-card .faint,
.guide-split .faint,
.inner[style*="max-width"] .faint,
.hash-row { color: #4b6584; }
.tool-tile > svg { color: #2563eb; }
.tool-tile:hover {
  border-color: rgba(37, 99, 235, 0.18);
  box-shadow: 0 20px 44px rgba(15, 23, 42, 0.16);
}
.port-pill {
  background: #fff;
  border-color: rgba(59, 130, 246, 0.12);
}
.port-pill.is-hot {
  background: #eff6ff;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
  color: #16325c;
}
.twin-notes > div { border-inline-start-color: rgba(255, 255, 255, 0.7); }
.show-bay,
.close-bay { background: transparent; }
.show-glow {
  background: radial-gradient(ellipse, rgba(255, 255, 255, 0.28), transparent 70%);
}
.table-shell {
  border-radius: 16px;
  padding: 8px 12px;
}
.cmp-table th,
.cmp-table td { border-bottom-color: rgba(59, 130, 246, 0.12); }
.cmp-table tbody tr:hover { background: #eff6ff; }
.col-self { color: #2563eb !important; }
.ask-row { border-bottom-color: rgba(255, 255, 255, 0.22); }
.ask-row button { color: #fff; }
.ask-row .mark { color: #bbf7d0; }
.btn-main {
  background: #fff;
  color: #2563eb;
}
.btn-main:hover {
  background: #eff6ff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.16);
}
.btn-line {
  border-color: rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}
.release-card .btn-main {
  background: #3b82f6;
  color: #fff;
}
.release-card .btn-main:hover { background: #2563eb; }
.release-card .btn-line {
  border-color: rgba(59, 130, 246, 0.22);
  background: #eff6ff;
  color: #2563eb;
}
.mast-get,
.pin-get {
  background: #fff;
  color: #2563eb;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
}
.mast-get:hover,
.pin-get:hover { background: #eff6ff; }
.lang-btn,
.dock-toggle {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}
.lang-list {
  background: #fff;
  border-color: rgba(37, 99, 235, 0.12);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.16);
}
.lang-list a { color: #16325c; }
.lang-list a:hover,
.lang-list a[aria-current="page"] {
  background: #eff6ff;
  color: #2563eb;
}
.foot-bar {
  background: #2f6fe8;
  border-top-color: transparent;
}
.foot-note,
.foot-note a { color: rgba(255, 255, 255, 0.78); }
.foot-note a:hover { color: #fff; }
.sigil-name { color: #fff; }
.note-bar,
.warn-bar {
  background: #eff6ff;
  border-color: rgba(59, 130, 246, 0.18);
  color: #16325c;
}
.note-bar { border-inline-start-color: #3b82f6; }
.step-ol li { color: rgba(255, 255, 255, 0.9); }
.inner[style*="max-width"] .step-ol li,
.guide-split .step-ol li { color: #4b6584; }
.step-ol li::before {
  background: #fff;
  color: #2563eb;
  border-color: transparent;
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.1);
}
.inner[style*="max-width"] .step-ol li::before,
.guide-split .step-ol li::before {
  background: #3b82f6;
  color: #fff;
}
.plat-tabs {
  background: #fff;
  border-color: transparent;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1);
}
.plat-tabs button { color: #4b6584; }
.plat-tabs button[aria-selected="true"] {
  background: #3b82f6;
  color: #fff;
}
.spec-list div {
  background: #f8fbff;
  border-color: rgba(59, 130, 246, 0.12);
  color: #16325c;
}
.spec-list .faint { color: #4b6584; }
.name-cols p {
  background: #fff;
  border-color: transparent;
  color: #16325c;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}
.guide-dock a { color: #4b6584; }
.guide-dock a:hover,
.guide-dock a.is-on {
  color: #2563eb;
  background: #eff6ff;
}
.frame-panel::after { color: #4b6584; }
.ask-wide .plat-tabs { margin-bottom: 28px; }

@media (prefers-reduced-motion: reduce) {
  .drift, .frame-float img, .quote-run { animation: none !important; }
  html { scroll-behavior: auto; }
}
