:root {
  color-scheme: dark;
  --bg: #080a0a;
  --bg-soft: #0d1010;
  --surface: #121616;
  --surface-strong: #171b1a;
  --surface-light: #ecefea;
  --ink: #f4f6f3;
  --ink-dark: #171a19;
  --muted: #9ca6a1;
  --muted-dark: #606864;
  --line: rgba(255, 255, 255, 0.11);
  --line-strong: rgba(255, 255, 255, 0.2);
  --mint: #73e7cb;
  --mint-dark: #153f37;
  --amber: #e5bd70;
  --coral: #e78263;
  --danger: #f08c78;
  --shadow: 0 32px 90px rgba(0, 0, 0, 0.38);
  --page: 1400px;
  --radius: 6px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
  font-size: 17px;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--ink);
  background:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    var(--bg);
  background-size: 64px 64px;
  font-family:
    Inter, "SF Pro Display", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(8, 10, 10, 0.99) 0%, rgba(8, 10, 10, 0.78) 42%, rgba(8, 10, 10, 0.96) 100%),
    url("./assets/macbook-pro-16-real-teardown.jpg") center 18% / min(1500px, 110vw) auto no-repeat;
  opacity: 0.22;
  filter: grayscale(0.25) contrast(1.12);
}

body.modal-open {
  overflow: hidden;
}

[hidden] {
  display: none !important;
}

button,
input,
select,
textarea {
  font: inherit;
  letter-spacing: 0;
}

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

button {
  color: inherit;
}

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

img,
video {
  display: block;
  max-width: 100%;
}

svg {
  width: 1em;
  height: 1em;
  flex: 0 0 auto;
  stroke-width: 1.8;
}

p,
h1,
h2,
h3,
figure,
dl,
dd {
  margin: 0;
}

p {
  color: var(--muted);
  line-height: 1.78;
}

h1,
h2,
h3,
strong,
summary {
  overflow-wrap: anywhere;
}

::selection {
  color: #07100d;
  background: var(--mint);
}

:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 4px;
}

#gridCanvas {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: 0.45;
}

.page-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--mint), var(--amber));
  transform-origin: left center;
}

.pointer-reticle {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 120;
  width: 18px;
  height: 18px;
  border: 1px solid rgba(115, 231, 203, 0.8);
  border-radius: 50%;
  pointer-events: none;
  transform: translate3d(-100px, -100px, 0);
  transition:
    width 160ms ease,
    height 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.pointer-reticle::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--amber);
  transform: translate(-50%, -50%);
}

.pointer-reticle.is-interactive {
  width: 34px;
  height: 34px;
  border-color: rgba(229, 189, 112, 0.9);
  background: rgba(229, 189, 112, 0.08);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 80;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  width: 100%;
  min-height: 72px;
  padding: 10px max(24px, calc((100vw - var(--page)) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(8, 10, 10, 0.84);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 215px;
}

.brand img {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  object-fit: cover;
  background: #fff;
}

.brand span {
  display: grid;
  gap: 3px;
}

.brand strong {
  color: var(--ink);
  font-size: 0.96rem;
  line-height: 1.2;
}

.brand small {
  color: var(--muted);
  font-size: 0.72rem;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 0;
}

.nav a {
  position: relative;
  padding: 9px 11px;
  color: #c8cecb;
  font-size: 0.79rem;
  white-space: nowrap;
  transition: color 180ms ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 11px;
  right: 11px;
  bottom: 4px;
  height: 1px;
  background: var(--mint);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 220ms ease;
}

.nav a:hover {
  color: #fff;
}

.nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left center;
}

.icon-cta,
.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  transition:
    color 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.icon-cta,
.primary-action {
  color: #07100d;
  background: var(--mint);
}

.icon-cta:hover,
.primary-action:hover {
  background: #9af0dc;
  transform: translateY(-2px);
}

.secondary-action {
  color: var(--ink);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.035);
}

.secondary-action:hover {
  border-color: rgba(229, 189, 112, 0.52);
  background: rgba(229, 189, 112, 0.08);
  transform: translateY(-2px);
}

.wide {
  width: 100%;
}

.compact-action {
  min-height: 38px;
  padding: 0 13px;
  font-size: 0.78rem;
}

.hero {
  width: min(var(--page), 100%);
  margin: 0 auto;
  padding: 72px 28px 34px;
}

.hero-copy {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 22px 28px;
  align-items: end;
  margin-bottom: 42px;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--mint);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.4;
  text-transform: uppercase;
}

.kicker span {
  width: 28px;
  height: 1px;
  background: currentColor;
}

.hero-copy > .kicker {
  grid-column: 1 / 7;
}

.hero h1 {
  grid-column: 1 / 8;
  color: var(--ink);
  font-size: 76px;
  font-weight: 650;
  line-height: 1.02;
}

.mobile-break {
  display: none;
}

.hero-subtitle {
  grid-column: 8 / -1;
  grid-row: 2;
  max-width: 560px;
  font-size: 1.04rem;
}

.proof-board {
  grid-column: 8 / -1;
  grid-row: 3;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line);
}

.proof-board div {
  min-width: 0;
  padding: 16px 14px 16px 0;
}

.proof-board div + div {
  padding-left: 18px;
  border-left: 1px solid var(--line);
}

.proof-board strong {
  display: block;
  color: var(--amber);
  font-size: 1.45rem;
  line-height: 1.1;
}

.proof-board span {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.72rem;
}

.hero-actions {
  grid-column: 1 / 8;
  grid-row: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.live-strip {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 48px;
  padding: 10px 14px;
  border-left: 2px solid var(--amber);
  background: rgba(255, 255, 255, 0.028);
  color: #cfd5d2;
  font-size: 0.86rem;
  line-height: 1.55;
}

.live-strip svg {
  color: var(--amber);
}

.workbench {
  position: relative;
  scroll-margin-top: 86px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #080a0a;
  box-shadow: var(--shadow);
  isolation: isolate;
}

.workbench::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(115, 231, 203, 0.045) 1px, transparent 1px),
    linear-gradient(rgba(229, 189, 112, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
}

.workbench-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 70px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.026);
}

.workbench-top > div:first-child {
  display: grid;
  gap: 4px;
}

.workbench-top p {
  color: var(--mint);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
}

.workbench-top strong {
  font-size: 1.02rem;
}

.device-switch {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(90px, 1fr));
  gap: 3px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #090b0b;
}

.device-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 38px;
  padding: 0 14px;
  border: 0;
  border-radius: 3px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  transition:
    color 180ms ease,
    background 180ms ease;
}

.device-tab.is-active {
  color: #07100d;
  background: var(--mint);
}

.scanner-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 370px;
  min-height: 650px;
}

.anatomy-stage {
  --scan-x: 50;
  --scan-y: 50;
  --reveal-x: 50;
  --reveal-y: 50;
  --focus-x: 45;
  --focus-y: 50;
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --reveal-size: 178px;
  position: relative;
  height: 650px;
  min-width: 0;
  overflow: hidden;
  cursor: crosshair;
  background:
    linear-gradient(90deg, rgba(115, 231, 203, 0.055) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    #050707;
  background-size: 54px 54px;
  perspective: 1100px;
}

.anatomy-stage::before {
  content: "";
  position: absolute;
  inset: 24px;
  z-index: 1;
  border: 1px solid rgba(115, 231, 203, 0.13);
  pointer-events: none;
}

.anatomy-stage::after {
  content: "";
  position: absolute;
  left: calc(var(--scan-x) * 1%);
  top: calc(var(--scan-y) * 1%);
  z-index: 9;
  width: calc(var(--reveal-size) * 2);
  height: calc(var(--reveal-size) * 2);
  border: 0;
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  background:
    radial-gradient(
      circle,
      transparent 46%,
      rgba(115, 231, 203, 0.035) 56%,
      rgba(115, 231, 203, 0.13) 68%,
      rgba(115, 231, 203, 0.28) 79%,
      rgba(229, 189, 112, 0.16) 88%,
      transparent 100%
    );
  box-shadow: 0 0 34px rgba(115, 231, 203, 0.12);
  transform: translate(-50%, -50%) scale(0.82);
  transition:
    opacity 180ms ease,
    transform 220ms ease;
}

.anatomy-stage.is-revealing::after {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.stage-readout {
  position: absolute;
  left: 38px;
  top: 36px;
  z-index: 12;
  display: grid;
  gap: 4px;
  max-width: 260px;
  padding: 11px 13px;
  border-left: 2px solid var(--mint);
  background: rgba(5, 8, 8, 0.74);
  backdrop-filter: blur(12px);
  pointer-events: none;
}

.stage-readout span {
  color: var(--mint);
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
}

.stage-readout strong {
  font-size: 0.9rem;
  line-height: 1.35;
}

.signal-column {
  position: absolute;
  right: 42px;
  top: 38px;
  z-index: 12;
  display: flex;
  align-items: end;
  gap: 4px;
  height: 32px;
  pointer-events: none;
}

.signal-column span {
  width: 3px;
  background: var(--amber);
}

.signal-column span:nth-child(1) {
  height: 24%;
}

.signal-column span:nth-child(2) {
  height: 46%;
}

.signal-column span:nth-child(3) {
  height: 70%;
}

.signal-column span:nth-child(4) {
  height: 100%;
}

.scan-plane,
.beam,
.axis {
  position: absolute;
  z-index: 8;
  pointer-events: none;
}

.scan-plane {
  inset: 25px;
  border: 0;
}

.beam {
  left: 24px;
  right: 24px;
  top: calc(var(--scan-y) * 1%);
  height: 1px;
  opacity: 0.45;
  background: linear-gradient(90deg, transparent, var(--mint), var(--amber), transparent);
}

.axis-x {
  left: 24px;
  right: 24px;
  top: calc(var(--focus-y) * 1%);
  border-top: 1px dashed rgba(229, 189, 112, 0.16);
}

.axis-y {
  top: 24px;
  bottom: 24px;
  left: calc(var(--focus-x) * 1%);
  border-left: 1px dashed rgba(229, 189, 112, 0.16);
}

.focus-lock {
  position: absolute;
  left: calc(var(--focus-x) * 1%);
  top: calc(var(--focus-y) * 1%);
  z-index: 10;
  width: 56px;
  height: 56px;
  border: 1px solid rgba(229, 189, 112, 0.72);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.focus-lock::before,
.focus-lock::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: rgba(229, 189, 112, 0.68);
  transform: translate(-50%, -50%);
}

.focus-lock::before {
  width: 72px;
  height: 1px;
}

.focus-lock::after {
  width: 1px;
  height: 72px;
}

.focus-lock span {
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(115, 231, 203, 0.45);
  border-radius: 50%;
}

.device-shell {
  position: absolute;
  inset: 0;
  z-index: 4;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 320ms ease,
    visibility 0s linear 320ms;
}

.device-shell.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}

.mac-real-rig,
.phone-real-rig {
  position: absolute;
  transform:
    rotateX(var(--tilt-y))
    rotateY(var(--tilt-x));
  transform-style: preserve-3d;
  transition: transform 180ms ease-out;
}

.mac-real-rig {
  inset: 88px 34px 34px;
}

.phone-real-rig {
  left: 50%;
  top: 52%;
  width: min(470px, 62%);
  height: 570px;
  transform:
    translate(-50%, -50%)
    rotateX(var(--tilt-y))
    rotateY(var(--tilt-x));
}

.device-exterior,
.teardown-reveal,
.teardown-reveal img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.device-exterior,
.teardown-reveal img {
  object-fit: contain;
}

.device-exterior {
  z-index: 1;
  filter:
    saturate(0.94)
    contrast(1.08)
    drop-shadow(0 28px 70px rgba(0, 0, 0, 0.72));
}

.mac-exterior-photo {
  object-position: center;
}

.phone-exterior-photo {
  object-position: center;
}

.teardown-reveal {
  z-index: 2;
  overflow: hidden;
  opacity: 0;
  clip-path: circle(var(--reveal-size) at calc(var(--reveal-x) * 1%) calc(var(--reveal-y) * 1%));
  filter: drop-shadow(0 28px 70px rgba(0, 0, 0, 0.66));
  -webkit-mask-image:
    radial-gradient(
      circle var(--reveal-size) at calc(var(--reveal-x) * 1%) calc(var(--reveal-y) * 1%),
      #000 0%,
      #000 48%,
      rgba(0, 0, 0, 0.92) 58%,
      rgba(0, 0, 0, 0.62) 70%,
      rgba(0, 0, 0, 0.28) 84%,
      transparent 100%
    );
  mask-image:
    radial-gradient(
      circle var(--reveal-size) at calc(var(--reveal-x) * 1%) calc(var(--reveal-y) * 1%),
      #000 0%,
      #000 48%,
      rgba(0, 0, 0, 0.92) 58%,
      rgba(0, 0, 0, 0.62) 70%,
      rgba(0, 0, 0, 0.28) 84%,
      transparent 100%
    );
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  pointer-events: none;
  transition: opacity 180ms ease;
  will-change: clip-path, opacity;
}

.anatomy-stage.is-revealing .teardown-reveal {
  opacity: 1;
}

.teardown-reveal::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(115, 231, 203, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(115, 231, 203, 0.07) 1px, transparent 1px);
  background-size: 26px 26px;
  mix-blend-mode: screen;
  opacity: 0.38;
}

.mac-teardown-photo {
  object-position: center;
  filter: contrast(1.13) saturate(0.82) brightness(0.88);
}

.phone-official-photo {
  object-position: center;
  filter: contrast(1.08) saturate(0.8) brightness(0.9);
}

.layer-label,
.photo-source {
  position: absolute;
  z-index: 7;
  bottom: 8px;
  padding: 6px 8px;
  border: 1px solid var(--line);
  background: rgba(4, 7, 7, 0.8);
  color: var(--muted);
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
  pointer-events: none;
}

.layer-label {
  left: 8px;
}

.photo-source {
  right: 8px;
  color: var(--mint);
  opacity: 0;
  transform: translateY(4px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.anatomy-stage.is-revealing .photo-source {
  opacity: 1;
  transform: translateY(0);
}

.anatomy-hotspot {
  position: absolute;
  z-index: 11;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid rgba(115, 231, 203, 0.68);
  border-radius: 50%;
  background: rgba(5, 9, 8, 0.82);
  cursor: pointer;
  box-shadow: 0 0 0 7px rgba(115, 231, 203, 0.055);
  transform: translate(-50%, -50%);
  transition:
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.anatomy-hotspot::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--mint);
}

.anatomy-hotspot span {
  position: absolute;
  left: 50%;
  top: calc(100% + 8px);
  min-width: max-content;
  padding: 5px 7px;
  border: 1px solid var(--line);
  border-radius: 2px;
  color: #dfe6e2;
  background: rgba(5, 8, 8, 0.9);
  font-size: 0.61rem;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -3px);
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.anatomy-hotspot:hover,
.anatomy-hotspot:focus-visible,
.anatomy-hotspot.is-active {
  border-color: var(--amber);
  background: rgba(229, 189, 112, 0.15);
  box-shadow:
    0 0 0 9px rgba(229, 189, 112, 0.07),
    0 0 28px rgba(229, 189, 112, 0.2);
}

.anatomy-hotspot:hover span,
.anatomy-hotspot:focus-visible span,
.anatomy-hotspot.is-active span {
  opacity: 1;
  transform: translate(-50%, 0);
}

.anatomy-hotspot.is-active::before {
  background: var(--amber);
}

.mac-storage {
  left: 43%;
  top: 52%;
}

.mac-display {
  left: 52%;
  top: 18%;
}

.mac-board {
  left: 57%;
  top: 49%;
}

.mac-pad {
  left: 30%;
  top: 54%;
}

.mac-touchbar {
  left: 51%;
  top: 80%;
}

.mac-power {
  left: 80%;
  top: 53%;
}

.phone-nand {
  left: 70%;
  top: 48%;
}

.phone-board {
  left: 71%;
  top: 32%;
}

.phone-battery {
  left: 42%;
  top: 56%;
}

.phone-camera {
  left: 69%;
  top: 16%;
}

.phone-display {
  left: 49%;
  top: 86%;
}

.diagnosis-panel {
  display: flex;
  flex-direction: column;
  gap: 13px;
  min-width: 0;
  height: 650px;
  padding: 20px;
  overflow: auto;
  border-left: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent 34%),
    #0c0f0f;
  scrollbar-width: thin;
  scrollbar-color: rgba(115, 231, 203, 0.4) transparent;
}

.panel-header {
  display: grid;
  gap: 8px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.panel-header span {
  width: fit-content;
  padding: 5px 8px;
  border-radius: 2px;
  color: #12100a;
  background: var(--amber);
  font-size: 0.66rem;
  font-weight: 700;
}

.panel-header small {
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.5;
}

.diagnosis-panel h2 {
  font-size: 1.55rem;
  line-height: 1.18;
}

.diagnosis-panel > p {
  min-height: 76px;
  font-size: 0.88rem;
  line-height: 1.65;
}

.detail-render {
  position: relative;
  min-height: 168px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: #050707;
}

.detail-zoom-trigger {
  position: relative;
  display: block;
  width: 100%;
  height: 144px;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: #050707;
  cursor: zoom-in;
}

.detail-render img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
}

.detail-render.is-cropped img {
  object-position: var(--detail-x) var(--detail-y);
  transform: scale(var(--detail-scale));
}

.detail-zoom-trigger:hover img {
  filter: brightness(1.08);
}

.detail-zoom-trigger > span {
  position: absolute;
  right: 8px;
  bottom: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 7px;
  border: 1px solid var(--line);
  border-radius: 2px;
  color: #fff;
  background: rgba(4, 6, 6, 0.78);
  font-size: 0.64rem;
}

.detail-render figcaption {
  padding: 7px 9px;
  color: var(--muted);
  font-size: 0.65rem;
}

.issue-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.issue-grid span {
  padding: 5px 7px;
  border: 1px solid var(--line);
  border-radius: 2px;
  color: #dce2df;
  background: rgba(255, 255, 255, 0.035);
  font-size: 0.66rem;
}

.route-console {
  padding: 13px;
  border: 1px solid rgba(115, 231, 203, 0.2);
  background: rgba(115, 231, 203, 0.035);
}

.console-top {
  display: grid;
  grid-template-columns: 7px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
}

.console-top > span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber);
}

.console-top strong {
  font-size: 0.76rem;
}

.console-top small {
  color: var(--mint);
  font-size: 0.66rem;
}

.route-console ol {
  display: grid;
  gap: 7px;
  margin: 11px 0 0;
  padding-left: 22px;
}

.route-console li {
  color: #cbd3cf;
  font-size: 0.78rem;
  line-height: 1.5;
}

.explode-control {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  margin-top: auto;
  color: var(--muted);
  font-size: 0.7rem;
}

.explode-control input {
  width: 100%;
  accent-color: var(--mint);
}

.authority-source,
.capability,
.service-index,
.diagnostic-process,
.case-lab,
.content-lab,
.faq-section,
.contact-band {
  width: min(var(--page), 100%);
  margin: 0 auto;
  padding: 96px 28px;
  scroll-margin-top: 86px;
}

.section-title {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 15px 28px;
  align-items: end;
  margin-bottom: 42px;
}

.section-title .kicker {
  grid-column: 1 / 7;
}

.section-title h2 {
  grid-column: 1 / 8;
  color: var(--ink);
  font-size: 45px;
  font-weight: 620;
  line-height: 1.12;
}

.section-title > p:last-child {
  grid-column: 8 / -1;
  grid-row: 2;
  max-width: 520px;
  font-size: 0.96rem;
}

.authority-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.entity-card {
  padding: 36px 42px 36px 0;
  border-right: 1px solid var(--line);
}

.entity-card > span,
.content-panel-head span {
  color: var(--mint);
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
}

.entity-card h3 {
  margin-top: 15px;
  font-size: 2rem;
  line-height: 1.2;
}

.entity-card > p {
  max-width: 680px;
  margin-top: 16px;
}

.entity-card dl {
  display: grid;
  gap: 0;
  margin-top: 30px;
}

.entity-card dl div {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 18px;
  padding: 13px 0;
  border-top: 1px solid var(--line);
}

.entity-card dt {
  color: var(--muted);
  font-size: 0.76rem;
}

.entity-card dd {
  color: #dde2df;
  font-size: 0.86rem;
  line-height: 1.6;
}

.source-stack {
  display: grid;
}

.source-stack article {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 6px 14px;
  padding: 20px 0 20px 34px;
  border-bottom: 1px solid var(--line);
}

.source-stack article:last-child {
  border-bottom: 0;
}

.source-stack svg {
  grid-row: 1 / 3;
  color: var(--amber);
  font-size: 1.25rem;
}

.source-stack strong {
  font-size: 0.92rem;
}

.source-stack p {
  font-size: 0.8rem;
  line-height: 1.6;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line);
}

.capability-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 250px;
  padding: 24px;
  overflow: hidden;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.018);
  transition:
    background 200ms ease,
    transform 240ms ease;
}

.capability-card:hover {
  z-index: 1;
  background: rgba(115, 231, 203, 0.055);
  transform: translateY(-4px);
}

.capability-card svg {
  color: var(--mint);
  font-size: 1.6rem;
}

.capability-card strong {
  margin-top: 54px;
  font-size: 1.08rem;
}

.capability-card p {
  margin-top: 10px;
  font-size: 0.82rem;
  line-height: 1.65;
}

.capability-card > span {
  margin-top: auto;
  padding-top: 20px;
  color: var(--amber);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
}

.service-list {
  counter-reset: service;
  border-top: 1px solid var(--line-strong);
}

.service-list article {
  counter-increment: service;
  display: grid;
  grid-template-columns: 72px minmax(220px, 0.65fr) minmax(0, 1.35fr);
  gap: 24px;
  align-items: start;
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
  transition:
    padding 180ms ease,
    background 180ms ease;
}

.service-list article::before {
  content: "0" counter(service);
  color: var(--mint);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.72rem;
}

.service-list article:hover {
  padding-left: 14px;
  background: rgba(255, 255, 255, 0.022);
}

.service-list strong {
  font-size: 1.08rem;
}

.service-list p {
  font-size: 0.86rem;
  line-height: 1.65;
}

.boundary-note {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 13px;
  align-items: start;
  margin-top: 26px;
  padding: 16px 18px;
  border-left: 2px solid var(--amber);
  background: rgba(229, 189, 112, 0.05);
}

.boundary-note svg {
  margin-top: 4px;
  color: var(--amber);
}

.boundary-note p {
  font-size: 0.78rem;
  line-height: 1.65;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-strong);
}

.process-grid li {
  position: relative;
  min-height: 220px;
  padding: 24px 20px 22px 0;
  border-bottom: 1px solid var(--line);
}

.process-grid li + li {
  padding-left: 20px;
  border-left: 1px solid var(--line);
}

.process-grid li::before {
  content: "";
  position: absolute;
  left: 0;
  top: -4px;
  width: 7px;
  height: 7px;
  border: 1px solid var(--mint);
  background: var(--bg);
  transform: rotate(45deg);
}

.process-grid li + li::before {
  left: 20px;
}

.process-grid strong {
  display: block;
  color: var(--amber);
  font-size: 0.82rem;
}

.process-grid p {
  margin-top: 54px;
  font-size: 0.8rem;
  line-height: 1.68;
}

.case-console {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  min-height: 440px;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.case-tabs {
  display: grid;
  align-content: start;
  border-right: 1px solid var(--line);
}

.case-tab {
  min-height: 66px;
  padding: 0 18px;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition:
    color 180ms ease,
    background 180ms ease,
    padding 180ms ease;
}

.case-tab:hover,
.case-tab.is-active {
  padding-left: 26px;
  color: var(--ink);
  background: rgba(115, 231, 203, 0.055);
}

.case-tab.is-active {
  box-shadow: inset 2px 0 var(--mint);
}

.case-detail {
  padding: 42px;
}

.case-detail .tag {
  display: inline-block;
  padding: 5px 8px;
  border: 1px solid rgba(229, 189, 112, 0.42);
  border-radius: 2px;
  color: var(--amber);
  font-size: 0.66rem;
}

.case-detail h3 {
  margin-top: 18px;
  font-size: 2rem;
}

.case-detail > p {
  max-width: 700px;
  margin-top: 12px;
}

.case-timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 54px;
  border-top: 1px solid var(--line);
}

.case-timeline > div {
  min-height: 142px;
  padding: 18px 18px 0 0;
}

.case-timeline > div + div {
  padding-left: 18px;
  border-left: 1px solid var(--line);
}

.case-timeline strong,
.case-timeline span {
  display: block;
}

.case-timeline strong {
  color: var(--mint);
  font-size: 0.74rem;
}

.case-timeline span {
  margin-top: 28px;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.6;
}

.content-console {
  display: grid;
  gap: 70px;
}

.media-zone,
.article-zone,
.article-admin {
  min-width: 0;
}

.content-panel-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  min-height: 54px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-strong);
}

.content-panel-head h3 {
  margin-top: 5px;
  font-size: 1.35rem;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.media-card {
  display: grid;
  grid-template-rows: 252px minmax(96px, auto);
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #0b0e0e;
  transition:
    border-color 200ms ease,
    transform 240ms ease,
    box-shadow 240ms ease;
}

.media-card:hover {
  z-index: 1;
  border-color: rgba(115, 231, 203, 0.4);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.24);
  transform: translateY(-3px);
}

.media-card img,
.media-card video {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center;
  transition:
    transform 500ms cubic-bezier(0.2, 0.75, 0.25, 1),
    filter 300ms ease;
}

.media-card--portrait img {
  padding: 12px 16px;
  background: #050707;
  object-fit: contain;
}

.media-card video {
  background: #050707;
  object-fit: contain;
}

.media-card:hover img,
.media-card:hover video {
  filter: brightness(1.08);
  transform: scale(1.025);
}

.media-card figcaption {
  display: grid;
  align-content: start;
  gap: 5px;
  min-height: 96px;
  padding: 15px 16px;
  border-top: 1px solid var(--line);
  background: rgba(7, 10, 10, 0.96);
}

.media-card figcaption strong {
  font-size: 0.9rem;
  line-height: 1.35;
}

.media-card figcaption span {
  display: -webkit-box;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.media-card button,
.article-card button {
  width: fit-content;
  margin-top: 6px;
  padding: 5px 8px;
  border: 1px solid rgba(240, 140, 120, 0.38);
  border-radius: 2px;
  color: var(--danger);
  background: transparent;
  cursor: pointer;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.article-card {
  display: grid;
  grid-template-rows: 226px minmax(0, 1fr);
  min-width: 0;
  min-height: 500px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #0b0e0e;
  transition:
    border-color 200ms ease,
    transform 240ms ease;
}

.article-card:hover {
  border-color: rgba(115, 231, 203, 0.38);
  transform: translateY(-4px);
}

.article-card > img {
  display: block;
  width: 100%;
  height: 226px;
  min-height: 0;
  object-fit: cover;
  object-position: center;
}

.article-card > div {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 18px;
}

.article-card span {
  color: var(--mint);
  font-size: 0.66rem;
}

.article-card strong {
  display: -webkit-box;
  min-height: 2.84em;
  overflow: hidden;
  margin-top: 12px;
  font-size: 1rem;
  line-height: 1.42;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.article-card p {
  display: -webkit-box;
  overflow: hidden;
  margin-top: 10px;
  font-size: 0.76rem;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.article-card p + p {
  color: #7f8a85;
  -webkit-line-clamp: 4;
}

.article-body {
  white-space: pre-line;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line-strong);
}

.faq-grid details {
  border-bottom: 1px solid var(--line);
}

.faq-grid details:nth-child(odd) {
  padding-right: 28px;
  border-right: 1px solid var(--line);
}

.faq-grid details:nth-child(even) {
  padding-left: 28px;
}

.faq-grid summary {
  position: relative;
  padding: 22px 34px 22px 0;
  cursor: pointer;
  list-style: none;
  font-size: 0.9rem;
}

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

.faq-grid summary::after {
  content: "+";
  position: absolute;
  right: 2px;
  top: 21px;
  color: var(--mint);
  font-size: 1.2rem;
  font-weight: 300;
}

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

.faq-grid details > div {
  padding: 0 22px 22px 0;
}

.faq-grid p {
  font-size: 0.8rem;
  line-height: 1.7;
}

.contact-band {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-top: 54px;
  margin-bottom: 70px;
  padding-top: 66px;
  padding-bottom: 66px;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  background:
    linear-gradient(90deg, rgba(8, 10, 10, 0.97), rgba(8, 10, 10, 0.7)),
    url("./assets/macbook-pro-16-real-teardown.jpg") right center / 60% auto no-repeat;
}

.contact-band h2 {
  margin-top: 14px;
  font-size: 45px;
}

.contact-band p:not(.kicker) {
  margin-top: 14px;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 18px max(28px, calc((100vw - var(--page)) / 2));
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: #060808;
  font-size: 0.72rem;
}

.footer a {
  color: var(--mint);
}

.footer-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.ticket-modal,
.detail-lightbox {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 200ms ease,
    visibility 0s linear 200ms;
}

.ticket-modal.is-open,
.detail-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}

.modal-shade,
.detail-lightbox-shade {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(12px);
}

.ticket-panel,
.detail-lightbox-panel {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: #101313;
  box-shadow: var(--shadow);
}

.ticket-panel {
  padding: 32px;
}

.ticket-panel h2,
.detail-lightbox-copy h2 {
  margin-top: 12px;
  font-size: 2rem;
}

.close-button {
  position: absolute;
  right: 14px;
  top: 14px;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 3px;
  color: var(--ink);
  background: rgba(8, 10, 10, 0.82);
  cursor: pointer;
}

#ticketForm,
.login-form,
.article-form {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

#ticketForm label,
.login-form label,
.article-form label {
  display: grid;
  gap: 7px;
  color: #dbe0dd;
  font-size: 0.76rem;
}

#ticketForm input,
#ticketForm textarea,
.login-form input,
.article-form input,
.article-form select,
.article-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 3px;
  color: var(--ink);
  background: #090c0c;
}

#ticketForm input,
.login-form input,
.article-form input,
.article-form select {
  min-height: 44px;
  padding: 0 12px;
}

#ticketForm textarea,
.article-form textarea {
  min-height: 120px;
  padding: 12px;
  resize: vertical;
}

.detail-lightbox-panel {
  display: grid;
  grid-template-columns: minmax(250px, 0.5fr) minmax(0, 1.5fr);
  width: min(1180px, 100%);
}

.detail-lightbox-copy {
  padding: 36px;
  border-right: 1px solid var(--line);
}

.detail-lightbox-copy p:last-child {
  margin-top: 16px;
}

.detail-lightbox-media {
  display: grid;
  align-content: center;
  min-height: 600px;
  padding: 30px;
  background: #050707;
}

.detail-lightbox-media img {
  width: 100%;
  max-height: calc(100vh - 170px);
  object-fit: contain;
}

.detail-lightbox-media figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.72rem;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 200;
  max-width: min(520px, calc(100vw - 32px));
  padding: 11px 14px;
  border: 1px solid rgba(115, 231, 203, 0.38);
  border-radius: 3px;
  color: #dffff6;
  background: rgba(8, 13, 12, 0.94);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.38);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.empty-state {
  grid-column: 1 / -1;
  padding: 28px;
  border: 1px dashed var(--line-strong);
  color: var(--muted);
  text-align: center;
}

/* Admin */
.admin-page {
  min-height: 100vh;
}

.admin-shell {
  min-height: 100vh;
}

.login-panel {
  width: min(460px, calc(100% - 32px));
  margin: 0 auto;
  padding: 10vh 0 60px;
}

.admin-brand {
  display: flex;
  width: fit-content;
  margin-bottom: 70px;
}

.login-panel h1 {
  margin-top: 14px;
  font-size: 45px;
}

.admin-dashboard {
  min-height: 100vh;
}

.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 10px max(24px, calc((100vw - var(--page)) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(8, 10, 10, 0.9);
}

.admin-actions {
  display: flex;
  gap: 8px;
}

.admin-content-lab {
  padding-top: 70px;
}

.admin-upload-drop {
  display: grid;
  place-items: center;
  min-height: 210px;
  padding: 30px;
  border: 1px dashed rgba(115, 231, 203, 0.34);
  border-radius: 4px;
  color: var(--muted);
  background: rgba(115, 231, 203, 0.025);
  text-align: center;
  cursor: pointer;
}

.admin-upload-drop svg {
  color: var(--mint);
  font-size: 1.8rem;
}

.admin-upload-drop strong {
  margin-top: 14px;
  color: var(--ink);
}

.admin-upload-drop span {
  margin-top: 7px;
  font-size: 0.76rem;
}

.admin-upload-drop input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.admin-upload-drop.is-dragging {
  border-color: var(--amber);
  background: rgba(229, 189, 112, 0.07);
}

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

.wide-field {
  grid-column: 1 / -1;
}

.admin-list-zone {
  margin-top: 70px;
}

/* Knowledge */
.knowledge-page {
  color-scheme: light;
  color: var(--ink-dark);
  background: #e9ece7;
}

.knowledge-page::before {
  display: none;
}

.knowledge-page .topbar {
  color-scheme: dark;
}

.knowledge-index,
.knowledge-detail {
  width: min(1240px, 100%);
  margin: 0 auto;
  padding: 72px 28px 100px;
}

.knowledge-index-hero,
.knowledge-hero {
  padding-bottom: 42px;
  border-bottom: 1px solid rgba(20, 24, 22, 0.2);
}

.knowledge-index-hero .kicker,
.knowledge-hero .kicker {
  color: #176b5b;
}

.knowledge-index-hero h1,
.knowledge-hero h1 {
  max-width: 930px;
  margin-top: 18px;
  color: var(--ink-dark);
  font-size: 57px;
  line-height: 1.08;
}

.knowledge-mobile-break {
  display: none;
}

.knowledge-index-hero > p:last-child,
.knowledge-hero > p[itemprop="description"] {
  max-width: 800px;
  margin-top: 18px;
  color: var(--muted-dark);
  line-height: 1.75;
}

.knowledge-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.knowledge-list-section {
  margin-top: 48px;
}

.knowledge-list-heading {
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(20, 24, 22, 0.18);
  color: var(--ink-dark);
  font-size: 1.55rem;
}

.knowledge-list-section .knowledge-grid {
  margin-top: 20px;
}

.knowledge-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(20, 24, 22, 0.16);
  border-radius: 4px;
  background: #f7f8f5;
  transition:
    border-color 200ms ease,
    transform 240ms ease,
    box-shadow 240ms ease;
}

.knowledge-card:hover {
  border-color: rgba(23, 107, 91, 0.42);
  box-shadow: 0 24px 60px rgba(30, 42, 37, 0.12);
  transform: translateY(-4px);
}

.knowledge-card a {
  display: block;
  height: 100%;
}

.knowledge-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.knowledge-card span,
.knowledge-card strong,
.knowledge-card p {
  display: block;
  margin-left: 17px;
  margin-right: 17px;
}

.knowledge-card span {
  margin-top: 16px;
  color: #176b5b;
  font-size: 0.68rem;
  font-weight: 700;
}

.knowledge-card strong {
  margin-top: 10px;
  color: var(--ink-dark);
  font-size: 1rem;
  line-height: 1.45;
}

.knowledge-card p {
  margin-top: 10px;
  margin-bottom: 18px;
  color: var(--muted-dark);
  font-size: 0.76rem;
  line-height: 1.65;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
  color: var(--muted-dark);
  font-size: 0.72rem;
}

.breadcrumb a {
  color: #176b5b;
}

.knowledge-article {
  margin-top: 34px;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(20, 24, 22, 0.16);
  border-radius: 4px;
  background: #f8f9f6;
  box-shadow: 0 32px 80px rgba(30, 42, 37, 0.1);
}

.knowledge-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  padding: 20px 28px;
  border-bottom: 1px solid rgba(20, 24, 22, 0.13);
  color: var(--muted-dark);
  font-size: 0.72rem;
}

.knowledge-meta a {
  color: #176b5b;
}

.knowledge-cover img {
  width: 100%;
  max-height: 720px;
  object-fit: cover;
}

.knowledge-cover figcaption {
  padding: 10px 28px;
  border-bottom: 1px solid rgba(20, 24, 22, 0.13);
  color: var(--muted-dark);
  font-size: 0.68rem;
}

.knowledge-body {
  max-width: 820px;
  margin: 0 auto;
  padding: 54px 34px 70px;
}

.knowledge-body p,
.knowledge-body li {
  color: #353b38;
  font-size: 0.96rem;
  line-height: 1.9;
}

.knowledge-body p + p,
.knowledge-body ul + p,
.knowledge-body table + p {
  margin-top: 18px;
}

.knowledge-body h2,
.knowledge-body h3,
.knowledge-body h4 {
  margin-top: 44px;
  margin-bottom: 16px;
  color: var(--ink-dark);
  line-height: 1.3;
}

.knowledge-body h2 {
  font-size: 1.7rem;
}

.knowledge-body h3 {
  font-size: 1.28rem;
}

.knowledge-body ul {
  display: grid;
  gap: 8px;
  padding-left: 22px;
}

.knowledge-body table {
  width: 100%;
  margin: 24px 0;
  border-collapse: collapse;
  font-size: 0.82rem;
}

.knowledge-body th,
.knowledge-body td {
  padding: 12px;
  border: 1px solid rgba(20, 24, 22, 0.16);
  color: #353b38;
  text-align: left;
  vertical-align: top;
}

.knowledge-body th {
  background: #e7ebe6;
}

.related-knowledge {
  max-width: 820px;
  margin: 0 auto 42px;
  padding: 0 34px 34px;
}

.related-knowledge h2 {
  padding-top: 28px;
  border-top: 1px solid rgba(20, 24, 22, 0.16);
  color: var(--ink-dark);
  font-size: 1.24rem;
}

.related-knowledge ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
  padding: 0;
  list-style: none;
}

.related-knowledge a {
  display: block;
  height: 100%;
  padding: 14px 15px;
  border: 1px solid rgba(20, 24, 22, 0.14);
  color: #176b5b;
  background: #f1f4f0;
  font-size: 0.78rem;
  line-height: 1.55;
}

.related-knowledge a:hover {
  border-color: rgba(23, 107, 91, 0.42);
  background: #e8efea;
}

.knowledge-facts {
  margin: 0 34px 34px;
  padding: 22px 24px;
  border-left: 3px solid #176b5b;
  background: #e9eeea;
}

.knowledge-facts strong {
  color: var(--ink-dark);
}

.knowledge-facts p {
  margin-top: 8px;
  color: var(--muted-dark);
}

@media (max-width: 1180px) {
  .topbar {
    gap: 16px;
    padding-left: 22px;
    padding-right: 22px;
  }

  .nav a {
    padding-left: 7px;
    padding-right: 7px;
    font-size: 0.72rem;
  }

  .hero h1 {
    font-size: 66px;
  }

  .scanner-layout {
    grid-template-columns: minmax(0, 1fr) 340px;
  }

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

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

@media (max-width: 940px) {
  .topbar {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .nav {
    display: none;
  }

  .hero {
    padding-top: 50px;
  }

  .hero-copy {
    grid-template-columns: 1fr;
  }

  .hero-copy > .kicker,
  .hero h1,
  .hero-subtitle,
  .proof-board,
  .hero-actions,
  .live-strip {
    grid-column: 1;
    grid-row: auto;
  }

  .hero h1 {
    max-width: 760px;
    font-size: 60px;
  }

  .hero-subtitle {
    max-width: 760px;
  }

  .proof-board {
    width: min(620px, 100%);
  }

  .scanner-layout {
    grid-template-columns: 1fr;
  }

  .anatomy-stage {
    height: 620px;
  }

  .diagnosis-panel {
    height: auto;
    min-height: 690px;
    overflow: visible;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .diagnosis-panel > p {
    min-height: 0;
  }

  .explode-control {
    margin-top: 6px;
  }

  .section-title {
    grid-template-columns: 1fr;
  }

  .section-title .kicker,
  .section-title h2,
  .section-title > p:last-child {
    grid-column: 1;
    grid-row: auto;
  }

  .section-title > p:last-child {
    max-width: 760px;
  }

  .authority-grid {
    grid-template-columns: 1fr;
  }

  .entity-card {
    padding-right: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .source-stack article {
    padding-left: 0;
  }

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

  .process-grid li,
  .process-grid li + li {
    padding-left: 0;
    border-left: 0;
  }

  .process-grid li:nth-child(even) {
    padding-left: 20px;
    border-left: 1px solid var(--line);
  }

  .process-grid li + li::before {
    left: 0;
  }

  .process-grid li:nth-child(even)::before {
    left: 20px;
  }

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

  .case-console {
    grid-template-columns: 1fr;
  }

  .case-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

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

  .detail-lightbox-panel {
    grid-template-columns: 1fr;
  }

  .detail-lightbox-copy {
    padding: 28px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .detail-lightbox-media {
    min-height: 360px;
  }
}

@media (max-width: 640px) {
  .topbar {
    min-height: 64px;
    padding: 8px 14px;
  }

  .brand {
    min-width: 0;
  }

  .brand img {
    width: 40px;
    height: 40px;
  }

  .brand strong {
    font-size: 0.82rem;
  }

  .brand small {
    font-size: 0.64rem;
  }

  .icon-cta {
    min-height: 40px;
    padding: 0 12px;
    font-size: 0.76rem;
  }

  .hero,
  .authority-source,
  .capability,
  .service-index,
  .diagnostic-process,
  .case-lab,
  .content-lab,
  .faq-section,
  .contact-band {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero {
    padding-top: 36px;
  }

  .hero h1 {
    font-size: 43px;
  }

  .mobile-break {
    display: block;
  }

  .hero-subtitle {
    font-size: 0.92rem;
  }

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

  .proof-board div {
    padding: 12px 8px 12px 0;
  }

  .proof-board div + div {
    padding-left: 10px;
    border-top: 0;
    border-left: 1px solid var(--line);
  }

  .proof-board strong {
    font-size: 1.3rem;
  }

  .proof-board span {
    font-size: 0.64rem;
  }

  .hero-actions {
    display: grid;
  }

  .hero-actions > * {
    width: 100%;
  }

  .workbench-top {
    align-items: stretch;
    flex-direction: column;
  }

  .device-switch {
    width: 100%;
  }

  .anatomy-stage {
    --reveal-size: clamp(120px, 36vw, 144px);
    height: 530px;
  }

  .anatomy-stage::before {
    inset: 12px;
  }

  .anatomy-stage::after {
    width: calc(var(--reveal-size) * 2);
    height: calc(var(--reveal-size) * 2);
  }

  .stage-readout {
    left: 20px;
    top: 20px;
    max-width: 190px;
  }

  .signal-column {
    right: 22px;
    top: 22px;
  }

  .mac-real-rig {
    inset: 92px 12px 38px;
  }

  .phone-real-rig {
    width: min(370px, 86%);
    height: 430px;
  }

  .anatomy-hotspot {
    width: 34px;
    height: 34px;
  }

  .anatomy-hotspot span {
    font-size: 0.56rem;
  }

  .diagnosis-panel {
    min-height: 745px;
    padding: 16px;
  }

  .section-title h2,
  .contact-band h2 {
    font-size: 34px;
  }

  .authority-source,
  .capability,
  .service-index,
  .diagnostic-process,
  .case-lab,
  .content-lab,
  .faq-section {
    padding-top: 74px;
    padding-bottom: 74px;
  }

  .entity-card {
    padding-top: 26px;
    padding-bottom: 26px;
  }

  .entity-card h3 {
    font-size: 1.5rem;
  }

  .capability-grid,
  .media-grid,
  .article-grid,
  .faq-grid,
  .knowledge-grid {
    grid-template-columns: 1fr;
  }

  .media-grid {
    gap: 14px;
  }

  .media-card {
    grid-template-rows: minmax(238px, 62vw) auto;
  }

  .media-card figcaption {
    min-height: 88px;
  }

  .article-card {
    grid-template-rows: clamp(194px, 52vw, 226px) minmax(0, 1fr);
    min-height: 468px;
  }

  .article-card > img {
    height: 100%;
  }

  .capability-card {
    min-height: 210px;
  }

  .service-list article {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 12px;
  }

  .service-list p {
    grid-column: 2;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .process-grid li,
  .process-grid li + li,
  .process-grid li:nth-child(even) {
    min-height: 170px;
    padding: 22px 0;
    border-left: 0;
  }

  .process-grid li::before,
  .process-grid li + li::before,
  .process-grid li:nth-child(even)::before {
    left: 0;
  }

  .process-grid p {
    margin-top: 28px;
  }

  .case-tabs {
    grid-template-columns: 1fr;
  }

  .case-detail {
    padding: 28px 18px;
  }

  .case-detail h3 {
    font-size: 1.5rem;
  }

  .case-timeline {
    grid-template-columns: 1fr;
  }

  .case-timeline > div,
  .case-timeline > div + div {
    min-height: 116px;
    padding: 16px 0;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }

  .case-timeline span {
    margin-top: 14px;
  }

  .faq-grid details:nth-child(odd),
  .faq-grid details:nth-child(even) {
    padding-left: 0;
    padding-right: 0;
    border-right: 0;
  }

  .contact-band {
    align-items: stretch;
    flex-direction: column;
    margin-top: 20px;
    margin-bottom: 30px;
    background:
      linear-gradient(rgba(8, 10, 10, 0.84), rgba(8, 10, 10, 0.96)),
      url("./assets/macbook-pro-16-real-teardown.jpg") center / cover no-repeat;
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
    padding-left: 16px;
    padding-right: 16px;
  }

  .ticket-modal,
  .detail-lightbox {
    padding: 10px;
  }

  .ticket-panel {
    padding: 24px 18px;
  }

  .detail-lightbox-media {
    min-height: 280px;
    padding: 16px;
  }

  .admin-topbar {
    align-items: stretch;
    flex-direction: column;
    padding: 12px 16px;
  }

  .admin-actions > * {
    flex: 1;
  }

  .admin-article-form {
    grid-template-columns: 1fr;
  }

  .wide-field {
    grid-column: 1;
  }

  .knowledge-index,
  .knowledge-detail {
    padding: 44px 16px 70px;
  }

  .knowledge-index-hero h1,
  .knowledge-hero h1 {
    font-size: 40px;
  }

  .knowledge-mobile-break {
    display: block;
  }

  .knowledge-body {
    padding: 36px 18px 50px;
  }

  .related-knowledge {
    margin-bottom: 28px;
    padding: 0 18px 24px;
  }

  .related-knowledge ul {
    grid-template-columns: 1fr;
  }

  .knowledge-meta,
  .knowledge-cover figcaption {
    padding-left: 18px;
    padding-right: 18px;
  }

  .knowledge-facts {
    margin: 0 18px 18px;
  }

  .knowledge-body table {
    display: block;
    overflow-x: auto;
  }
}

@media (hover: none), (pointer: coarse) {
  .pointer-reticle {
    display: none;
  }

  .anatomy-stage {
    cursor: default;
    touch-action: pan-y pinch-zoom;
  }

  .mac-real-rig {
    transform: none;
    transition: none;
  }

  .phone-real-rig {
    transform: translate(-50%, -50%);
    transition: none;
  }

  .teardown-reveal {
    clip-path: circle(var(--reveal-size) at calc(var(--reveal-x) * 1%) calc(var(--reveal-y) * 1%));
    will-change: auto;
  }

  .anatomy-hotspot span {
    opacity: 0;
  }

  .anatomy-hotspot.is-active span {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .mac-real-rig {
    transform: none;
  }

  .phone-real-rig {
    transform: translate(-50%, -50%);
  }
}


/* GEO r11 */
.hero h1 > span {
  display: block;
}

.hero h1 .hero-topic {
  margin-bottom: 12px;
  color: var(--mint);
  font-size: 0.36em;
  font-weight: 750;
  line-height: 1.3;
}

.service-detail-link {
  display: grid;
  gap: 8px;
  align-content: start;
}

.service-detail-link span {
  color: var(--mint);
  font-size: 0.7rem;
  font-weight: 700;
}

.service-detail-link:hover strong,
.service-detail-link:focus-visible strong {
  color: var(--mint);
}

.service-directory {
  margin-top: 48px;
}

.service-directory-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.service-directory-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(20, 24, 22, 0.16);
  border-radius: 4px;
  background: #f7f8f5;
  transition:
    border-color 200ms ease,
    transform 240ms ease,
    box-shadow 240ms ease;
}

.service-directory-card:hover {
  border-color: rgba(23, 107, 91, 0.42);
  box-shadow: 0 24px 60px rgba(30, 42, 37, 0.12);
  transform: translateY(-4px);
}

.service-directory-card a {
  display: block;
  height: 100%;
}

.service-directory-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.service-directory-card span,
.service-directory-card strong,
.service-directory-card p,
.service-directory-card b {
  display: block;
  margin-left: 17px;
  margin-right: 17px;
}

.service-directory-card span {
  margin-top: 16px;
  color: #176b5b;
  font-size: 0.68rem;
  font-weight: 700;
}

.service-directory-card strong {
  margin-top: 10px;
  color: var(--ink-dark);
  font-size: 1.08rem;
  line-height: 1.45;
}

.service-directory-card p {
  margin-top: 10px;
  color: var(--muted-dark);
  font-size: 0.78rem;
  line-height: 1.65;
}

.service-directory-card b {
  margin-top: 18px;
  margin-bottom: 19px;
  color: #176b5b;
  font-size: 0.72rem;
}

.service-index-facts {
  margin-top: 34px;
}

.answer-block {
  padding-left: 18px;
  border-left: 3px solid #176b5b;
  color: #202724 !important;
  font-size: 1.02rem !important;
}

.knowledge-body ol {
  padding-left: 1.35rem;
}

.knowledge-body ol li + li {
  margin-top: 9px;
}

.service-faq details {
  padding: 16px 0;
  border-top: 1px solid rgba(20, 24, 22, 0.14);
}

.service-faq details:last-child {
  border-bottom: 1px solid rgba(20, 24, 22, 0.14);
}

.service-faq summary {
  color: var(--ink-dark);
  font-weight: 750;
  cursor: pointer;
}

.service-faq details p {
  margin-top: 10px;
}

.reference-list {
  margin-top: 48px;
  padding-top: 4px;
}

.reference-list > p {
  color: var(--muted-dark);
}

.reference-list ul {
  margin-top: 18px;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(20, 24, 22, 0.14);
}

.reference-list li {
  display: grid;
  grid-template-columns: minmax(210px, 0.8fr) minmax(0, 1.2fr);
  gap: 18px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(20, 24, 22, 0.14);
}

.reference-list a {
  color: #176b5b;
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.reference-list span {
  color: var(--muted-dark);
  font-size: 0.82rem;
  line-height: 1.65;
}

.content-review {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin: 0 34px 30px;
  padding: 20px 22px;
  border-left: 3px solid #176b5b;
  background: rgba(23, 107, 91, 0.07);
}

.content-review strong {
  color: var(--ink-dark);
}

.content-review p {
  margin-top: 6px;
  color: var(--muted-dark);
  font-size: 0.8rem;
  line-height: 1.65;
}

.content-review > a {
  color: #176b5b;
  font-size: 0.78rem;
  font-weight: 750;
}

.profile-facts {
  margin-top: 20px;
  border-top: 1px solid rgba(20, 24, 22, 0.14);
}

.profile-facts div {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(20, 24, 22, 0.14);
}

.profile-facts dt {
  color: var(--muted-dark);
  font-size: 0.78rem;
}

.profile-facts dd {
  color: var(--ink-dark);
}

.profile-facts a,
.external-profile-list a {
  color: #176b5b;
  font-weight: 750;
}

.external-profile-list {
  padding: 0;
  list-style: none;
}

.external-profile-list li {
  display: grid;
  grid-template-columns: minmax(180px, 0.7fr) minmax(0, 1.3fr);
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(20, 24, 22, 0.14);
}

.external-profile-list span {
  color: var(--muted-dark);
  font-size: 0.82rem;
}

@media (max-width: 940px) {
  .service-directory-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .content-review {
    grid-template-columns: 1fr;
    margin-left: 18px;
    margin-right: 18px;
  }
}

@media (max-width: 620px) {
  .hero h1 .hero-topic {
    font-size: 0.42em;
  }

  .service-directory-grid {
    grid-template-columns: 1fr;
  }

  .reference-list li,
  .profile-facts div,
  .external-profile-list li {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}
/* /GEO r11 */
