/* desk-skin — boxed 2000s app canvas; keeps original palette */
:root {
  --ink-void: #0F1115;
  --ink-panel: #161A22;
  --ink-lift: #1C2230;
  --ink-line: rgba(255, 255, 255, 0.14);
  --ink-mist: rgba(214, 224, 238, 0.72);
  --ink-snow: #F4F7FB;
  --ink-title: #F7FBFF;
  --ink-spark: #3B9EFF;
  --ink-spark-soft: rgba(59, 158, 255, 0.22);
  --ink-orange: #E87722;
  --shell-max: 1120px;
  --rail-w: 210px;
  --font-ui: Tahoma, Verdana, "Segoe UI", sans-serif;
  --font-display: Georgia, "Times New Roman", Times, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: auto; }
body.desk-root {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-ui);
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink-snow);
  background-color: #0b3d62;
  background-image:
    radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.55) 0 1px, transparent 2px),
    radial-gradient(circle at 72% 38%, rgba(255, 255, 255, 0.4) 0 1px, transparent 2px),
    radial-gradient(circle at 44% 68%, rgba(255, 255, 255, 0.35) 0 1px, transparent 2px),
    radial-gradient(circle at 88% 12%, rgba(255, 220, 120, 0.55) 0 1.5px, transparent 3px),
    linear-gradient(180deg, #1a6fa8 0%, #0e4d7a 42%, #083456 72%, #05263f 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: auto;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
code {
  font-family: "Courier New", Courier, monospace;
  font-size: 0.92em;
  color: #9ec9f0;
  background: #07090d;
  border: 1px solid #1a2433;
  padding: 0.08em 0.35em;
  text-shadow: none;
  box-shadow: none;
  filter: none;
}
:focus-visible { outline: 2px dotted var(--ink-spark); outline-offset: 2px; }

.jump-link {
  position: absolute;
  left: -9999px;
}
.jump-link:focus {
  left: 12px;
  top: 12px;
  z-index: 100;
  background: var(--ink-panel);
  border: 2px outset #4a5568;
  padding: 0.45rem 0.7rem;
}

/* Page gutters + centered constrained canvas */
.page-gutter {
  padding: 18px 14px 28px;
}
.app-shell {
  display: grid;
  grid-template-columns: var(--rail-w) 1fr;
  grid-template-rows: auto 1fr auto;
  max-width: var(--shell-max);
  margin: 0 auto;
  border: 3px outset #8eb8e8;
  background: var(--ink-panel);
  box-shadow:
    6px 6px 0 rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(0, 0, 0, 0.45),
    inset 1px 1px 0 rgba(255, 255, 255, 0.18);
  position: relative;
}
.app-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  opacity: 0.04;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(255, 255, 255, 0.35) 2px,
    rgba(255, 255, 255, 0.35) 3px
  );
}
.mast-banner {
  grid-column: 1 / -1;
  grid-row: 1;
}
.menu-rail {
  grid-column: 1;
  grid-row: 2;
}
.stage-col {
  grid-column: 2;
  grid-row: 2;
  min-width: 0;
}

/* Document-flow rail (scrolls with page — not viewport-fixed) */
.menu-rail {
  position: static;
  height: auto;
  padding: 0.85rem 0.7rem 1.1rem;
  border-right: 2px groove rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(180deg, #1e2838 0%, #151b26 100%);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.rail-brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.5rem;
  border: 2px inset rgba(0, 0, 0, 0.35);
  background: #10151d;
}
.rail-brand img {
  width: 34px;
  height: 34px;
  border: none;
  background: transparent;
}
.rail-brand strong {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0;
}
.rail-brand span {
  display: block;
  margin-top: 0.1rem;
  font-size: 0.68rem;
  color: var(--ink-mist);
}
.rail-links {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  flex: 1;
}
.rail-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.48rem 0.55rem;
  border: 1px solid transparent;
  color: var(--ink-mist);
  font-size: 0.86rem;
  font-weight: 600;
}
.rail-item svg { width: 15px; height: 15px; opacity: 0.9; flex-shrink: 0; }
.rail-item:hover {
  color: var(--ink-snow);
  background: rgba(59, 158, 255, 0.12);
  border-color: rgba(59, 158, 255, 0.35);
}
.rail-item.is-active {
  color: #fff;
  background: linear-gradient(180deg, #3B9EFF, #2a7fd4);
  border: 1px solid #1d5f9e;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.stage-col {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: #12171f;
}

/* Classic title-bar style masthead with logo + product name */
.mast-banner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.45rem 0.65rem 0.45rem 0.75rem;
  border-bottom: 2px groove rgba(255, 255, 255, 0.18);
  background:
    linear-gradient(180deg, #3B9EFF 0%, #2f7fd0 48%, #2466ad 100%);
  color: #fff;
  overflow: visible;
  z-index: 25;
}
.mast-identity,
.mast-tools {
  position: relative;
  z-index: 1;
}
.mast-identity {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
  flex: 1;
}
.mast-identity > div {
  min-width: 0;
}
.mast-identity img {
  width: 42px;
  height: 42px;
  border: none;
  background: transparent;
  flex-shrink: 0;
}
.mast-identity h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.45);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mast-identity p {
  margin: 0.15rem 0 0;
  font-size: 0.72rem;
  opacity: 0.92;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mast-tools {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
}
.mast-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0.75rem;
  border: 2px outset #d7e9ff;
  background: linear-gradient(180deg, #ffffff, #d7e8ff);
  color: #12375c;
  font-weight: 700;
  font-size: 0.78rem;
  white-space: nowrap;
}
.mast-cta:hover {
  filter: brightness(1.05);
}
.drawer-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 30px;
  border: 2px outset #d7e9ff;
  background: #e8f3ff;
  color: #12375c;
  cursor: pointer;
}
.locale-box {
  position: relative;
  z-index: 40;
}
.locale-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-width: 4.6rem;
  padding: 0.35rem 0.5rem;
  border: 2px outset #d7e9ff;
  background: linear-gradient(180deg, #ffffff, #d0e4ff);
  color: #12375c;
  font: inherit;
  font-weight: 700;
  font-size: 0.75rem;
  cursor: pointer;
  box-shadow: inset 0 1px 0 #fff;
}
.locale-toggle svg {
  margin-left: auto;
  flex-shrink: 0;
}
.locale-toggle[aria-expanded="true"] {
  border-style: inset;
  background: linear-gradient(180deg, #cfe4ff, #eaf4ff);
}
.locale-list {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 3px);
  min-width: 168px;
  margin: 0;
  padding: 0.2rem;
  list-style: none;
  border: 2px outset #4a5568;
  background: #1a2230;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.35);
  z-index: 80;
}
.locale-list.open { display: block; }
.locale-list li + li {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.locale-list a {
  display: block;
  padding: 0.45rem 0.6rem;
  color: var(--ink-mist);
  font-size: 0.8rem;
  font-weight: 600;
}
.locale-list a:hover,
.locale-list a[aria-current="true"] {
  background: linear-gradient(180deg, #3B9EFF, #2a7fd4);
  color: #fff;
}

.page-flow {
  padding: 1.1rem 1rem 2rem;
}
.flow-inner {
  max-width: none;
}

.lead-block {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1.15rem;
  padding: 0.95rem;
  border: 2px inset rgba(0, 0, 0, 0.45);
  background: linear-gradient(180deg, #1a2230, #121820);
}
.lead-block:not(:has(.lead-art)) {
  grid-template-columns: 1fr;
  text-align: center;
}
.lead-block:not(:has(.lead-art)) .lead-copy {
  margin-inline: auto;
  max-width: 46rem;
}
.lead-block:not(:has(.lead-art)) .blurb {
  margin-inline: auto;
}
.lead-block:not(:has(.lead-art)) .action-row,
.lead-block:not(:has(.lead-art)) .fact-chips {
  justify-content: center;
}
.lead-block:not(:has(.lead-art)) .eyebrow {
  justify-content: center;
}
.eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-spark);
}
.lead-copy h2,
.block-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 700;
  color: var(--ink-title);
  letter-spacing: 0;
}
.blurb,
.lead-copy .blurb {
  margin: 0.55rem 0 0;
  color: var(--ink-mist);
  max-width: 38rem;
  font-size: 0.95rem;
}
.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.9rem;
}
.ctl {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.55rem 0.9rem;
  font-weight: 700;
  font-size: 0.86rem;
  border-radius: 0;
}
.ctl-primary {
  border: 2px outset #7cbcff;
  background: linear-gradient(180deg, #5bb0ff, #2f7fd0);
  color: #fff;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
}
.ctl-primary:hover { filter: brightness(1.06); }
.ctl-primary:active,
.ctl-quiet:active,
.mast-cta:active,
.quick-tile:active {
  border-style: inset;
  transform: translate(1px, 1px);
  filter: brightness(0.96);
}
.ctl-quiet {
  border: 2px outset #4a5568;
  background: linear-gradient(180deg, #2a3344, #1a2230);
  color: var(--ink-snow);
}
.ctl-quiet:hover {
  border-color: #3B9EFF;
  background: linear-gradient(180deg, #314057, #1e2838);
}
.fact-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.85rem;
}
.fact-chip {
  border: 1px inset rgba(255, 255, 255, 0.12);
  background: #0d1219;
  padding: 0.28rem 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: #cfe6ff;
}
.lead-art {
  justify-self: end;
  position: relative;
  display: grid;
  place-items: center;
}
.lead-art::before {
  content: "";
  position: absolute;
  width: min(210px, 92%);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 158, 255, 0.45) 0%, transparent 68%);
  animation: orb-aura 2.4s ease-in-out infinite;
  pointer-events: none;
}
.lead-art img {
  width: min(180px, 100%);
  height: auto;
  display: block;
  background: transparent;
  border: none;
  position: relative;
  z-index: 1;
  animation: orb-bob 3.2s ease-in-out infinite;
  filter: drop-shadow(0 6px 0 rgba(0, 0, 0, 0.35));
}

.quick-grid,
.quick-grid-4 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  margin: 0 0 1.15rem;
}
.quick-grid-4 { grid-template-columns: repeat(4, 1fr); }
.quick-tile {
  display: block;
  padding: 0.75rem 0.8rem;
  border: 2px outset #3a4558;
  background: linear-gradient(180deg, #1e2838, #151b26);
}
.quick-tile strong {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.9rem;
}
.quick-tile span {
  display: block;
  color: var(--ink-mist);
  font-size: 0.8rem;
  line-height: 1.4;
}
.quick-tile:hover {
  border-color: #3B9EFF;
  background: linear-gradient(180deg, #243247, #182030);
}

.block { margin: 1.35rem 0; }
.block-head {
  margin-bottom: 0.85rem;
  text-align: center;
}
.block-head .blurb,
.block-head p {
  margin: 0.45rem auto 0;
  max-width: 42rem;
  color: var(--ink-mist);
}

.inset-panel,
.inset-still {
  position: relative;
  border: 2px outset #3a4558;
  background: linear-gradient(180deg, #1c2432, #141a24);
  box-shadow: inset 1px 1px 0 rgba(255, 255, 255, 0.06);
}
.inset-still:hover { transform: none; }
.panel-pad { padding: 0.95rem 1rem; }
.panel-pad h3 {
  margin: 0 0 0.5rem;
  padding-left: 0.55rem;
  border-left: 3px solid var(--ink-spark);
  font-family: var(--font-display);
  font-size: 1.02rem;
  color: var(--ink-title);
}
.panel-pad p {
  margin: 0;
  color: var(--ink-mist);
  font-size: 0.9rem;
  line-height: 1.55;
}
.accent-panel {
  padding: 1.1rem 1.05rem;
  background:
    linear-gradient(180deg, rgba(59, 158, 255, 0.18), transparent 55%),
    linear-gradient(180deg, #1c2432, #141a24);
}
.cols-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}
.cols-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}
.split-row {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 0.85rem;
  align-items: center;
}
.aside-card {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  justify-content: center;
  padding: 1rem;
}
.howto-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  height: 100%;
}
.step-row,
.step-row-4 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  margin: 0 0 1rem;
}
.step-row-4 { grid-template-columns: repeat(4, 1fr); }
.step-tile { padding: 0.85rem; }
.path-num,
.step-tile .path-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.55rem;
  height: 1.55rem;
  margin-bottom: 0.45rem;
  border: 1px solid rgba(59, 158, 255, 0.45);
  background: rgba(59, 158, 255, 0.15);
  color: var(--ink-spark);
  font-size: 0.72rem;
  font-weight: 700;
}
.ordered-path {
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}
.ordered-path li {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  color: var(--ink-mist);
  font-size: 0.9rem;
}
.ordered-path a:not(.ctl) {
  color: var(--ink-spark);
  text-decoration: underline;
}

.snap-gap { margin-top: 0.85rem; }
.snap-frame {
  position: relative;
  display: flex;
  flex-direction: column;
  width: fit-content;
  max-width: min(100%, 520px);
  margin-inline: auto;
  border: 2px outset #4a5568;
  background: #0a0c10;
  overflow: hidden;
}
.split-row > .snap-frame {
  max-width: min(100%, 460px);
  justify-self: center;
}
.snap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 0.85rem;
}
.snap-grid .snap-frame {
  width: 100%;
  max-width: none;
  margin: 0;
}
.snap-chrome {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  width: 100%;
  padding: 0.4rem 0.55rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, #2a3344, #1a2230);
  color: var(--ink-mist);
  font-size: 0.72rem;
}
.snap-hint {
  margin-inline-start: auto;
  color: #9ecfff;
  font-weight: 700;
}
.snap-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3B9EFF;
  border: 1px solid #fff;
}
.snap-frame img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: min(34vh, 340px);
  cursor: zoom-in;
}
.snap-grid .snap-frame img {
  width: 100%;
  max-height: min(26vh, 240px);
  object-fit: cover;
  object-position: top center;
}

.get-panel {
  text-align: center;
  padding: 1.15rem 1rem;
  border: 2px outset #3a4558;
  background: linear-gradient(180deg, #1c2432, #141a24);
}
.get-panel h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.45rem;
}
.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.55rem;
  margin: 0.95rem 0;
}
.spec-card {
  border: 1px inset rgba(255, 255, 255, 0.12);
  background: #0d1219;
  padding: 0.7rem 0.8rem;
}
.spec-card span {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-spark);
}
.spec-card strong {
  display: block;
  font-size: 0.9rem;
}
.digest {
  font-family: "Courier New", Courier, monospace;
  font-size: 0.78rem;
  word-break: break-all;
  color: var(--ink-snow);
  margin: 0;
}
.digest-row {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  justify-content: space-between;
}
.clip-btn {
  appearance: none;
  flex-shrink: 0;
  border: 2px outset #4a5568;
  background: linear-gradient(180deg, #2a3344, #1a2230);
  color: var(--ink-snow);
  padding: 0.35rem 0.6rem;
  font: inherit;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
}
.callout {
  margin: 0.85rem 0 0;
  padding: 0.7rem 0.8rem;
  border: 1px solid rgba(59, 158, 255, 0.35);
  background: rgba(59, 158, 255, 0.1);
  color: var(--ink-mist);
  font-size: 0.86rem;
}
.callout a {
  color: var(--ink-spark);
  text-decoration: underline;
}

.invite-band {
  text-align: center;
  padding: 1.25rem 1rem;
  border: 2px outset #3a4558;
  background: linear-gradient(180deg, #1e2a3c, #141a24);
  overflow: visible;
}
.invite-band h2 {
  margin: 0 auto;
  max-width: 34rem;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
  color: var(--ink-title);
}
.invite-band p {
  margin: 0.65rem auto 0;
  max-width: 34rem;
  color: var(--ink-mist);
}
.invite-band .action-row {
  justify-content: center;
  margin-top: 1rem;
}

.scene-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.4fr;
  gap: 1.15rem;
  align-items: start;
}
.scene-list {
  margin: 0;
  border-top: 2px groove rgba(255, 255, 255, 0.12);
}
.scene-list > div {
  display: grid;
  grid-template-columns: 0.85fr 1.35fr;
  gap: 0.7rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.scene-list dt {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink-snow);
}
.scene-list dd {
  margin: 0;
  color: var(--ink-mist);
  font-size: 0.9rem;
}

.chart-wrap {
  overflow-x: auto;
  border: 2px outset #3a4558;
  background: #10151d;
  box-shadow: inset 0 0 0 1px rgba(59, 158, 255, 0.15);
}
.chart-wrap table,
table.data-chart {
  width: 100%;
  min-width: 700px;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.86rem;
}
.chart-wrap table th,
.chart-wrap table td,
table.data-chart th,
table.data-chart td {
  padding: 0.75rem 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  vertical-align: middle;
  color: var(--ink-mist);
}
.chart-wrap thead th {
  background: linear-gradient(180deg, #2a3344, #1a2230);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.8rem;
  border-bottom: 2px solid rgba(59, 158, 255, 0.45);
}
.chart-wrap thead th.focus-col {
  background: linear-gradient(180deg, #3B9EFF, #2a7fd4);
  box-shadow: inset 0 -2px 0 #fff;
}
.chart-wrap tbody th {
  color: #fff;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.03);
}
.chart-wrap tbody td:nth-child(2) {
  background: rgba(59, 158, 255, 0.08);
  color: #fff;
  font-weight: 600;
}
.chart-wrap tbody tr:nth-child(even) td:nth-child(2) {
  background: rgba(59, 158, 255, 0.14);
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin: 0 0.3rem 0.15rem 0;
  padding: 0.15rem 0.45rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.tag-yes {
  color: #d7ecff;
  background: rgba(59, 158, 255, 0.22);
  border-color: rgba(59, 158, 255, 0.5);
}
.tag-yes::before {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: #3B9EFF;
}
.tag-no {
  color: rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.05);
}
.tag-mid {
  color: #ffe2c4;
  background: rgba(232, 119, 34, 0.16);
  border-color: rgba(232, 119, 34, 0.4);
}
.cell-note {
  color: var(--ink-mist);
  font-size: 0.86rem;
}

.ticker-wrap { overflow: hidden; margin-top: 0.75rem; }
.ticker-track {
  display: flex;
  width: max-content;
  gap: 0.65rem;
  animation: desk-ticker 48s linear infinite;
}
.ticker-wrap:hover .ticker-track { animation-play-state: paused; }
@keyframes desk-ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.voice-card {
  width: min(280px, 78vw);
  flex-shrink: 0;
  margin: 0;
  padding: 0.85rem;
  border: 2px outset #3a4558;
  background: #151b26;
}
.voice-card p {
  margin: 0;
  color: var(--ink-snow);
  font-size: 0.86rem;
  line-height: 1.5;
}
.voice-card footer {
  margin-top: 0.55rem;
  color: var(--ink-mist);
  font-size: 0.7rem;
}

.ask-list { display: grid; gap: 0.55rem; }
.ask-item {
  border: 2px outset #3a4558;
  background: #151b26;
  overflow: hidden;
  transition: border-color 0.15s ease, transform 0.15s ease;
  animation: ask-rise 0.45s ease both;
}
.ask-item:nth-child(1) { animation-delay: 0.02s; }
.ask-item:nth-child(2) { animation-delay: 0.05s; }
.ask-item:nth-child(3) { animation-delay: 0.08s; }
.ask-item:nth-child(4) { animation-delay: 0.11s; }
.ask-item:nth-child(5) { animation-delay: 0.14s; }
.ask-item:nth-child(6) { animation-delay: 0.17s; }
.ask-item:nth-child(7) { animation-delay: 0.2s; }
.ask-item:nth-child(8) { animation-delay: 0.23s; }
.ask-item:nth-child(9) { animation-delay: 0.26s; }
.ask-item:nth-child(10) { animation-delay: 0.29s; }
.ask-item:nth-child(11) { animation-delay: 0.32s; }
.ask-item:nth-child(12) { animation-delay: 0.35s; }
.ask-item:hover {
  border-color: #3B9EFF;
}
.ask-item.is-open {
  border-style: inset;
  background: #121820;
}
.ask-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0.9rem;
  border: 0;
  background: linear-gradient(180deg, #1e2838, #151b26);
  color: #fff;
  font: inherit;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}
.ask-item.is-open .ask-btn {
  background: linear-gradient(180deg, #243247, #182030);
  color: #cfe6ff;
}
.ask-btn .ask-mark {
  flex-shrink: 0;
  width: 1.35rem;
  height: 1.35rem;
  display: grid;
  place-items: center;
  border: 2px outset #4a5568;
  background: linear-gradient(180deg, #2a3344, #1a2230);
  font-size: 0.85rem;
  line-height: 1;
  color: #7cbcff;
}
.ask-item.is-open .ask-btn .ask-mark {
  border-style: inset;
  color: #E87722;
}
.ask-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.28s ease;
}
.ask-item.is-open .ask-panel { grid-template-rows: 1fr; }
.ask-body { overflow: hidden; }
.ask-body p,
.ask-panel p {
  margin: 0;
  padding: 0 0.9rem 0.85rem;
  color: var(--ink-mist);
  line-height: 1.55;
}
.ask-body p + p { padding-top: 0; margin-top: -0.35rem; }
.ask-body ul {
  margin: 0;
  padding: 0 0.9rem 0.85rem 1.85rem;
  color: var(--ink-mist);
  line-height: 1.5;
}
.ask-body a {
  color: var(--ink-spark);
  text-decoration: underline;
}

.faq-topics {
  margin: 0 0 1.15rem;
}
.faq-group {
  margin: 1.15rem 0;
  padding: 0.75rem;
  border: 2px groove rgba(255, 255, 255, 0.14);
  background: #10151d;
}
.faq-group > legend {
  padding: 0 0.45rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: #cfe6ff;
}
.faq-pulse {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 0.35rem;
  border: 1px solid #083018;
  background: radial-gradient(circle at 30% 30%, #b6ff9a, #2bd45a);
  vertical-align: middle;
  animation: led-blink 1.4s steps(2, end) infinite;
}

@keyframes ask-rise {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.site-foot {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 2px groove rgba(255, 255, 255, 0.12);
}
.foot-cols {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 1rem;
}
.foot-cols h4 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 0.92rem;
}
.foot-cols p,
.foot-cols li {
  color: var(--ink-mist);
  font-size: 0.8rem;
  line-height: 1.45;
}
.foot-cols ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.foot-cols a:hover { color: #fff; text-decoration: underline; }
.foot-locales {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.55rem;
}
.foot-locales a {
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 0.15rem 0.4rem;
  font-size: 0.72rem;
}
.foot-base {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.9rem;
  padding-top: 0.7rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--ink-mist);
  font-size: 0.72rem;
}

.float-dl {
  position: fixed;
  right: 14px;
  bottom: 14px;
  z-index: 50;
  padding: 0.55rem 0.85rem;
  border: 2px outset #7cbcff;
  background: linear-gradient(180deg, #5bb0ff, #2f7fd0);
  color: #fff;
  font-weight: 700;
  font-size: 0.8rem;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.4);
}

.zoom-layer {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(6, 8, 12, 0.88);
}
.zoom-layer.is-open { display: flex; }
.zoom-card {
  width: min(1000px, 100%);
  max-height: min(90vh, 880px);
  display: flex;
  flex-direction: column;
  border: 2px outset #4a5568;
  background: #10151d;
  overflow: hidden;
}
.zoom-chrome {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, #2a3344, #1a2230);
  color: var(--ink-mist);
  font-size: 0.8rem;
}
.zoom-chrome strong { color: #fff; }
.zoom-dismiss {
  border: 2px outset #4a5568;
  background: linear-gradient(180deg, #2a3344, #1a2230);
  color: #fff;
  padding: 0.25rem 0.55rem;
  font: inherit;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
}
.zoom-stage {
  overflow: auto;
  display: grid;
  place-items: center;
  padding: 0.65rem;
  min-height: 180px;
}
.zoom-stage img {
  max-width: 100%;
  max-height: min(76vh, 780px);
  width: auto;
  height: auto;
}

.panel-pad a:not(.ctl),
.step-tile a:not(.ctl),
.accent-panel a:not(.ctl) {
  color: var(--ink-spark);
  text-decoration: underline;
}
.panel-pad a.ctl,
.howto-card a.ctl,
.accent-panel a.ctl,
.action-row a.ctl {
  text-decoration: none;
  -webkit-text-fill-color: currentColor;
}
.panel-pad a.ctl-primary,
.action-row a.ctl-primary {
  color: #fff;
  -webkit-text-fill-color: #fff;
}
.panel-pad a.ctl-quiet,
.action-row a.ctl-quiet {
  color: var(--ink-snow);
}

[dir="rtl"] .locale-list {
  right: auto;
  left: 0;
}
[dir="rtl"] .app-shell {
  grid-template-columns: 1fr var(--rail-w);
}
[dir="rtl"] .menu-rail {
  grid-column: 2;
  border-right: 0;
  border-left: 2px groove rgba(255, 255, 255, 0.12);
}
[dir="rtl"] .stage-col {
  grid-column: 1;
}
[dir="rtl"] .panel-pad h3 {
  padding-left: 0;
  padding-right: 0.55rem;
  border-left: 0;
  border-right: 3px solid var(--ink-spark);
}

@media (max-width: 980px) {
  .page-gutter { padding: 10px 8px 20px; }
  .app-shell {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr auto;
  }
  .mast-banner {
    grid-column: 1;
    grid-row: 1;
  }
  .stage-col {
    grid-column: 1;
    grid-row: 2;
  }
  .win-status {
    grid-column: 1;
    grid-row: 3;
  }
  .menu-rail {
    display: none;
    grid-column: unset;
    grid-row: unset;
  }
  .menu-rail.is-open {
    display: flex;
    position: absolute;
    left: 8px;
    top: 64px;
    width: min(84vw, 260px);
    z-index: 40;
    border: 2px outset #4a5568;
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.45);
  }
  [dir="rtl"] .menu-rail.is-open {
    left: auto;
    right: 8px;
  }
  .drawer-toggle { display: inline-flex; }
  .quick-grid,
  .quick-grid-4,
  .cols-2,
  .cols-3,
  .lead-block,
  .split-row,
  .step-row,
  .step-row-4,
  .spec-grid,
  .snap-grid,
  .scene-grid,
  .scene-list > div,
  .foot-cols {
    grid-template-columns: 1fr;
  }
  .mast-identity h1 { font-size: 1.05rem; }
  .mast-identity p { display: none; }
  .float-dl { right: 10px; bottom: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track,
  .lead-art img,
  .lead-art::before,
  .sys-marquee span,
  .chunk-fill,
  .led-dot,
  .ctl-primary.glow-btn,
  .desk-root .ctl-primary,
  .desk-root .float-dl,
  .ask-item,
  .faq-pulse {
    animation: none !important;
  }
}

/* —— Extra 2000s desktop chrome —— */
.sys-strip {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.55rem;
  align-items: center;
  padding: 0.35rem 0.65rem;
  border-bottom: 2px groove rgba(255, 255, 255, 0.1);
  background:
    repeating-linear-gradient(
      90deg,
      #1a2433 0 2px,
      #162030 2px 4px
    );
  font-size: 0.72rem;
  color: #cfe6ff;
}
.sys-led {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 700;
  white-space: nowrap;
}
.led-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1px solid #083018;
  background: radial-gradient(circle at 30% 30%, #b6ff9a, #2bd45a 55%, #0a7a28);
  box-shadow: 0 0 6px rgba(43, 212, 90, 0.75);
  animation: led-blink 1.6s steps(2, end) infinite;
}
.sys-marquee {
  overflow: hidden;
  border: 1px inset rgba(0, 0, 0, 0.45);
  background: #0a1018;
  padding: 0.15rem 0;
  min-width: 0;
}
.sys-marquee span {
  display: inline-block;
  padding-left: 100%;
  white-space: nowrap;
  animation: marquee-run 22s linear infinite;
  font-family: "Courier New", Courier, monospace;
  font-size: 0.7rem;
  color: #7dff9a;
  text-shadow: 0 0 4px rgba(125, 255, 154, 0.35);
}
.chunk-meter {
  width: min(140px, 28vw);
  height: 14px;
  border: 2px inset #0a1018;
  background: #0a1018;
  padding: 1px;
  overflow: hidden;
}
.chunk-fill {
  height: 100%;
  width: 72%;
  background:
    repeating-linear-gradient(
      90deg,
      #3B9EFF 0 8px,
      #1e5f9e 8px 10px
    );
  animation: chunk-pulse 2.8s steps(8, end) infinite;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.win-status {
  grid-column: 1 / -1;
  grid-row: 3;
  display: grid;
  grid-template-columns: 1.4fr 1fr auto;
  gap: 0.35rem;
  align-items: stretch;
  padding: 0.2rem;
  border-top: 2px groove rgba(255, 255, 255, 0.14);
  background: linear-gradient(180deg, #1e2838, #151b26);
  font-size: 0.68rem;
  color: var(--ink-mist);
  z-index: 4;
}
.win-status > span {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.45rem;
  border: 1px inset rgba(0, 0, 0, 0.35);
  background: #10151d;
  min-width: 0;
}
.win-status strong {
  color: #cfe6ff;
  font-weight: 700;
}

.desk-root .lead-block {
  border-width: 2px;
  box-shadow: inset 1px 1px 0 rgba(0, 0, 0, 0.35);
  background: linear-gradient(180deg, #1a2230, #121820);
}
.desk-root .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.desk-root .eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border: 1px solid #7a3a00;
  background: radial-gradient(circle at 30% 30%, #ffd28a, #E87722);
  box-shadow: none;
  animation: none;
}
.desk-root .fact-chip {
  border: 2px outset #2a3344;
  background: linear-gradient(180deg, #182130, #0d1219);
  box-shadow: none;
}
.desk-root .fact-chip::before {
  content: none;
}
.desk-root .quick-tile {
  position: relative;
  padding-top: 1.15rem;
  box-shadow: none;
}
.desk-root .quick-tile::before {
  content: attr(data-glyph);
  position: absolute;
  top: 0.35rem;
  right: 0.45rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #7cbcff;
  opacity: 0.85;
}
.desk-root .block-head h2 {
  text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.55);
}
.desk-root .block-head h2::after {
  content: "";
  display: block;
  width: min(220px, 55%);
  height: 6px;
  margin: 0.55rem auto 0;
  border: 1px inset rgba(0, 0, 0, 0.4);
  background:
    repeating-linear-gradient(
      90deg,
      #3B9EFF 0 10px,
      #1a2230 10px 14px
    );
}
.desk-root .ctl-primary {
  animation: none;
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.35);
}
.desk-root .invite-band {
  border-width: 3px;
  background:
    linear-gradient(180deg, rgba(59, 158, 255, 0.22), transparent 50%),
    linear-gradient(180deg, #1c2432, #141a24);
  text-align: center;
  padding: 1.25rem 1rem;
}
.desk-root .invite-band h2 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.45);
}
.desk-root .float-dl {
  animation: float-bounce 2.6s ease-in-out infinite;
}

@keyframes orb-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}
@keyframes orb-aura {
  0%, 100% { transform: scale(0.92); opacity: 0.55; }
  50% { transform: scale(1.08); opacity: 0.95; }
}
@keyframes led-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}
@keyframes marquee-run {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}
@keyframes chunk-pulse {
  0% { width: 28%; }
  50% { width: 86%; }
  100% { width: 62%; }
}
@keyframes btn-glow {
  0%, 100% { box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.35); }
  50% { box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.35), 0 0 12px rgba(59, 158, 255, 0.55); }
}
@keyframes float-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@media (max-width: 900px) {
  .mast-cta { display: none; }
}
@media (max-width: 720px) {
  .sys-strip { grid-template-columns: 1fr; }
  .chunk-meter { width: 100%; }
  .win-status { grid-template-columns: 1fr; }
}
