/* 苏盘 landing — 苏醒的城市. Tokens from app/css/tokens.css. */

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, ol, ul, figure, dl, dt, dd { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
strong, b { font-weight: 700; }

.mono { font-family: var(--font-mono); }
.num { font-variant-numeric: tabular-nums; }

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--wake);
  outline-offset: 3px;
}

.ln-skip {
  position: absolute;
  left: 16px;
  top: -40px;
  z-index: 60;
  padding: 8px 12px;
  background: var(--surface);
  border-radius: var(--r-s);
  font-size: 13px;
  font-weight: 600;
}
.ln-skip:focus { top: 16px; }

.ln-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 48px;
}

/* ── Nav ───────────────────────────────────── */
.ln-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  color: #F5F3F0;
  transition: background 240ms ease, color 240ms ease, border-color 240ms ease;
  border-bottom: 1px solid transparent;
}

.ln-nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 48px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.ln-nav a { color: #F5F3F0; }

.ln-nav.is-scrolled {
  background: rgba(245, 243, 240, 0.92);
  backdrop-filter: blur(10px);
  color: var(--ink);
  border-bottom-color: var(--border);
}

.ln-nav.is-scrolled a { color: var(--ink); }

.ln-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  font-size: 18px;
}

.ln-brand img { width: 32px; height: 32px; border-radius: 8px; }
.ln-brand small {
  display: block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.72;
}

.ln-links {
  display: flex;
  gap: 22px;
  margin-left: 12px;
  font-size: 14px;
  font-weight: 500;
}

.ln-links a { opacity: 0.92; }
.ln-links a:hover { opacity: 1; }

.ln-nav .ln-enter,
.ln-nav.is-scrolled .ln-enter {
  margin-left: auto;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--brand-grad);
  color: #1F2733;
  font-size: 13px;
  font-weight: 700;
}

/* ── Hero ──────────────────────────────────── */
.ln-hero {
  position: relative;
  min-height: 100svh;
  color: #F5F3F0;
  overflow: hidden;
  background:
    radial-gradient(ellipse 85% 42% at 50% 100%, rgba(217, 150, 46, 0.42) 0%, transparent 70%),
    linear-gradient(180deg, #141B29 0%, #1D2739 48%, #2A3149 68%, #B96F3D 88%, #D9962E 100%);
}

.ln-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  width: 100%;
  min-height: 100svh;
  margin: 0 auto;
  padding: 108px 48px 10vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto 1fr auto;
  gap: 0 32px;
}

.ln-hero-copy {
  grid-column: 1;
  grid-row: 1;
  max-width: 640px;
}

.ln-kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: #F5C56B;
  margin-bottom: 14px;
}

.ln-kicker.ink { color: var(--wake); }

.ln-hero h1 {
  font-size: clamp(64px, 9vw, 112px);
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 0.92;
}

.ln-lede {
  margin-top: 18px;
  font-size: 20px;
  font-weight: 500;
  color: #E8E4DE;
  max-width: 28em;
}

.ln-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-top: 28px;
}

.btn-dawn {
  display: inline-flex;
  align-items: center;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--brand-grad);
  color: #1F2733;
  font-weight: 700;
  font-size: 15px;
  transition: filter 160ms ease-out;
}

.btn-dawn:hover { filter: brightness(1.06); }

.btn-ghost {
  color: #F5C56B;
  font-size: 14px;
  font-weight: 600;
}

.ln-hero-caption {
  grid-column: 2;
  grid-row: 3;
  align-self: end;
  text-align: right;
  text-shadow: 0 8px 28px rgba(20, 27, 41, 0.55);
}

.ln-hero-caption small {
  display: block;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: #D8D2C9;
}

.ln-hero-caption strong {
  display: block;
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 800;
  line-height: 1;
  color: #F5C56B;
}

.ln-hero-caption em {
  display: block;
  margin-top: 6px;
  font-style: normal;
  font-size: 13px;
  letter-spacing: 0.16em;
  color: #F5F3F0;
}

.ln-hero-sky {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 56vh;
  z-index: 1;
  pointer-events: none;
}

.ln-hero-sky svg { width: 100%; height: 100%; display: block; }

/* ── Shared section ────────────────────────── */
.ln-sec-head { max-width: 720px; margin-bottom: 36px; }

.ln-sec-head h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.ln-sec-lede {
  margin-top: 12px;
  color: var(--ink-2);
  font-size: 17px;
  max-width: 40em;
}

/* ── KPI band ──────────────────────────────── */
.ln-kpis {
  padding: 28px 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.ln-kpis .ln-wrap {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.ln-kpi {
  padding: 14px 16px 12px;
  border-radius: var(--r-m);
  background: var(--surface-warm);
  border: 1px solid var(--border);
}

.ln-kpi-dot {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  margin-bottom: 10px;
}

.ln-kpi-dot.idle { background: var(--idle); }
.ln-kpi-dot.wake { background: var(--wake); }
.ln-kpi-dot.alive { background: var(--alive); }

.ln-kpi small {
  display: block;
  font-size: 12px;
  color: var(--ink-3);
  letter-spacing: 0.04em;
}

.ln-kpi strong {
  display: block;
  margin-top: 4px;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.ln-kpi strong small {
  display: inline;
  margin-left: 4px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  letter-spacing: 0;
}

.ln-kpi em {
  display: block;
  margin-top: 6px;
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.delta-up { color: var(--alive); }
.delta-flat { color: var(--ink-3); font-weight: 500; }

/* ── Brief / missed match ──────────────────── */
.ln-brief { padding: 88px 0 24px; }

.ln-brief-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 48px;
  align-items: start;
}

.ln-brief .ln-sec-head { margin-bottom: 0; }

.ln-miss {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 10px;
  align-items: stretch;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-l);
  padding: 16px;
  box-shadow: var(--shadow-rest);
}

.ln-miss-card {
  padding: 14px 14px 12px;
  border-radius: var(--r-m);
  min-width: 0;
}

.ln-miss-card.demand {
  background: var(--wake-bg);
  border-left: 3px solid var(--wake);
}

.ln-miss-card.supply {
  background: var(--idle-bg);
  border: 1px dashed var(--idle);
}

.ln-miss-tag {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.ln-miss-tag.wake { color: #9A6613; }
.ln-miss-tag.idle { color: #5F6B79; }

.ln-miss-card h3 { font-size: 15px; margin-bottom: 4px; }
.ln-miss-card p { font-size: 13px; color: var(--ink-2); }

.ln-miss-card dl {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 12px;
  font-size: 12px;
}

.ln-miss-card dl div { display: flex; justify-content: space-between; gap: 8px; }
.ln-miss-card dt { color: var(--ink-3); }
.ln-miss-card dd { font-weight: 600; }

.ln-miss-mid {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-width: 108px;
  position: relative;
}

.ln-miss-mid::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 18px;
  bottom: 18px;
  width: 0;
  border-left: 1.5px dashed var(--wake);
  opacity: 0.7;
}

.ln-miss-gap,
.ln-miss-fix {
  position: relative;
  z-index: 1;
  font-size: 10.5px;
  font-weight: 700;
  text-align: center;
  padding: 5px 8px;
  border-radius: 999px;
  max-width: 108px;
  line-height: 1.35;
}

.ln-miss-gap {
  background: var(--surface);
  color: var(--ink-3);
  border: 1px solid var(--border);
}

.ln-miss-fix {
  background: var(--brand-grad);
  color: #1F2733;
}

.ln-miss-save {
  grid-column: 1 / -1;
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--ink-2);
}

.ln-miss-save strong { color: var(--alive); }

/* ── Spectrum ──────────────────────────────── */
.ln-spectrum { padding: 64px 0 24px; }

.ln-spec-row {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.ln-spec-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-m);
  padding: 18px 18px 16px;
  box-shadow: var(--shadow-rest);
}

.ln-spec-card.idle { border-style: dashed; border-color: var(--idle); }
.ln-spec-card.wake { border-left: 3px solid var(--wake); }
.ln-spec-card.alive {
  border-left: 3px solid var(--alive);
  background: linear-gradient(180deg, var(--alive-bg), var(--surface) 42%);
}

.ln-mini-bldg {
  display: grid;
  grid-template-columns: repeat(6, 10px);
  gap: 4px;
  width: max-content;
  padding: 10px 10px 8px;
  margin-bottom: 14px;
  background: var(--night-2);
  border-radius: 4px 4px 0 0;
}

.ln-mini-bldg i {
  display: block;
  width: 10px;
  height: 12px;
  border-radius: 1px;
  background: #2E3A55;
}

.ln-spec-card.idle .ln-mini-bldg { filter: saturate(0.35) brightness(0.92); }
.ln-spec-card.wake .ln-mini-bldg { filter: saturate(0.7); }
.ln-mini-bldg i.on { background: #F5C56B; }
.ln-spec-card.alive .ln-mini-bldg i.on { background: #7FC79B; }

.ln-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 999px;
  padding: 2px 9px;
  font-size: 11.5px;
  font-weight: 600;
}

.ln-pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.ln-pill.idle { background: var(--idle-bg); color: #5F6B79; }
.ln-pill.wake { background: var(--wake-bg); color: #9A6613; }
.ln-pill.alive { background: var(--alive-bg); color: #2E6B44; }

.ln-spec-card strong {
  display: block;
  margin: 10px 0 6px;
  font-size: 16px;
}

.ln-spec-card p {
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.5;
}

/* ── Loop ──────────────────────────────────── */
.ln-loop { padding: 72px 0; }

.ln-principles {
  list-style: none;
  padding: 0;
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ln-principles li {
  font-size: 12.5px;
  font-weight: 600;
  color: #9A6613;
  background: var(--wake-bg);
  border: 1px solid #E8D4A8;
  border-radius: 999px;
  padding: 4px 12px;
}

.ln-stations {
  list-style: none;
  padding: 0;
  margin: 0 0 0 22px;
  display: flex;
  flex-direction: column;
  border-left: 2px solid var(--border);
}

.ln-stations > li {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) minmax(240px, 360px);
  gap: 20px 28px;
  padding: 0 0 44px 28px;
  position: relative;
  align-items: start;
}

.ln-stations > li:last-child { padding-bottom: 0; }

.ln-station-copy { min-width: 0; }

.ln-step {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  position: relative;
}

.ln-step::before {
  content: "";
  position: absolute;
  left: -40px;
  top: 4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 4px var(--bg);
}

.ln-step.idle { color: var(--idle); }
.ln-step.wake { color: var(--wake); }
.ln-step.danger { color: var(--danger); }
.ln-step.alive { color: var(--alive); }

.ln-stations h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 6px;
}

.ln-stations p {
  color: var(--ink-2);
  font-size: 15.5px;
  max-width: 44em;
}

.ln-stations a {
  display: inline-block;
  margin-top: 10px;
  color: #9A6613;
  font-size: 13.5px;
  font-weight: 700;
}

.ln-stations a:hover { text-decoration: underline; }

/* ── In-product UI fragments ───────────────── */
.ln-ui {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-m);
  padding: 14px 16px;
  box-shadow: var(--shadow-rest);
}

.ui-ledger {
  width: 100%;
  border-collapse: collapse;
  font-size: 11.5px;
}

.ui-ledger th {
  text-align: left;
  font-weight: 600;
  color: var(--ink-3);
  font-size: 10.5px;
  padding: 0 6px 8px;
  border-bottom: 1px solid var(--border);
}

.ui-ledger td {
  padding: 8px 6px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.ui-ledger tr:last-child td { border-bottom: 0; }
.ui-ledger .mono { font-size: 10.5px; color: var(--ink-2); }

.ui-ledger .row-idle td:first-child { box-shadow: inset 3px 0 0 var(--idle); }
.ui-ledger .row-wake td:first-child { box-shadow: inset 3px 0 0 var(--wake); }
.ui-ledger .row-alive td:first-child { box-shadow: inset 3px 0 0 var(--alive); background: var(--alive-bg); }
.ui-ledger .row-idle { filter: saturate(0.45); }

.ui-radar {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ui-arc { width: 64px; height: 64px; flex-shrink: 0; }

.ui-radar b {
  display: block;
  font-size: 22px;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  color: var(--idle);
}

.ui-radar small, .ui-score small { color: var(--ink-3); font-size: 11px; }

.ui-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.ui-chips span {
  font-size: 11px;
  color: var(--ink-2);
  background: var(--surface-warm);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px 8px;
}

.ui-match {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto;
  gap: 8px;
  align-items: center;
}

.ui-match small { display: block; font-size: 10px; color: var(--ink-3); }
.ui-match strong { font-size: 13px; }
.ui-arrow { color: var(--wake); font-weight: 700; }
.ui-score { text-align: center; min-width: 56px; }
.ui-score b {
  display: block;
  font-size: 20px;
  color: var(--alive);
  font-variant-numeric: tabular-nums;
}

.ui-doors {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 5px;
  align-items: stretch;
}

.ui-doors li {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 8px 4px;
  border-radius: var(--r-s);
  background: var(--idle-bg);
  color: var(--ink-3);
  font-size: 10.5px;
  font-weight: 600;
  text-align: center;
}

.ui-doors li b { font-size: 12px; line-height: 1; }
.ui-doors li small { font-size: 9px; font-weight: 500; }
.ui-doors li i { font-style: normal; font-size: 9px; }

.ui-doors li.done { background: var(--alive-bg); color: var(--alive); }
.ui-doors li.now {
  flex: 1.45;
  background: var(--wake-bg);
  color: #9A6613;
  animation: doorSlide 450ms cubic-bezier(0.65, 0, 0.35, 1) both;
}
.ui-doors li.block { background: var(--danger-bg); color: var(--danger); }
.ui-doors li.todo { opacity: 0.78; }

.ui-block { border-left: 3px solid var(--danger); padding-left: 10px; }
.ui-block strong { font-size: 13px; color: var(--danger); }
.ui-block .mono {
  margin: 6px 0 4px;
  font-size: 11px;
  color: var(--ink-2);
  line-height: 1.45;
}
.ui-block small { color: var(--ink-3); font-size: 12px; }

.ui-dawn {
  background: var(--night);
  border-color: #2A3149;
  color: #F5F3F0;
}

.ui-dawn small {
  display: block;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: #98A0AB;
}

.ui-dawn b {
  display: block;
  font-size: 32px;
  font-variant-numeric: tabular-nums;
  color: #F5C56B;
  line-height: 1.15;
}

.ui-dawn em {
  display: block;
  margin-top: 4px;
  font-style: normal;
  font-size: 11.5px;
  color: #D8D2C9;
}

/* ── Sankey ────────────────────────────────── */
.ln-flow { padding: 24px 0 80px; }

.ln-sankey {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-l);
  padding: 20px 12px 8px;
  box-shadow: var(--shadow-rest);
}

.ln-sankey svg {
  width: 100%;
  height: auto;
  font-family: var(--font-ui);
}

/* ── Modules ledger ────────────────────────── */
.ln-modules { padding: 24px 0 80px; }

.ln-toc {
  list-style: none;
  padding: 0;
  border-top: 1px solid var(--border);
}

.ln-toc a {
  display: grid;
  grid-template-columns: 48px 160px 1fr auto;
  gap: 16px;
  align-items: baseline;
  padding: 16px 4px;
  border-bottom: 1px solid var(--border);
  transition: background 160ms ease-out;
}

.ln-toc a:hover { background: var(--wake-bg); }

.ln-toc em {
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 12px;
  color: var(--ink-3);
}

.ln-toc strong { font-size: 16px; }
.ln-toc span { color: var(--ink-2); font-size: 14px; }

.ln-toc b {
  font-variant-numeric: tabular-nums;
  font-size: 13px;
  color: var(--wake);
  font-weight: 700;
}

.ln-roles {
  list-style: none;
  padding: 0;
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.ln-roles li {
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-m);
}

.ln-roles strong {
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
}

.ln-roles span {
  font-size: 12.5px;
  color: var(--ink-2);
  line-height: 1.45;
}

/* ── Close ─────────────────────────────────── */
.ln-close {
  position: relative;
  min-height: 72vh;
  background: var(--dawn-grad);
  color: #F5F3F0;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 80px 48px 28vh;
}

.ln-close-sky {
  position: absolute;
  inset: auto 0 0;
  height: 28vh;
}

.ln-close-sky svg { width: 100%; height: 100%; display: block; }

.ln-close::after {
  content: "";
  position: absolute;
  inset: 0 40% 32% 0;
  background: linear-gradient(90deg, rgba(20, 27, 41, 0.45), transparent);
  pointer-events: none;
}

.ln-close-copy { position: relative; z-index: 1; max-width: 640px; }

.ln-close-copy h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  margin: 8px 0 14px;
}

.ln-close-copy p {
  color: #D8D2C9;
  margin-bottom: 22px;
  font-size: 16px;
}

/* ── Footer ────────────────────────────────── */
.ln-foot {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 48px;
  background: var(--night);
  color: #98A0AB;
  font-size: 13px;
}

.ln-foot strong {
  color: #F5F3F0;
  margin-right: 10px;
  letter-spacing: 0.1em;
}

/* ── Motion ────────────────────────────────── */
@keyframes lightOn {
  0% { opacity: 0; transform: scale(0.6); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes wakeBloom {
  0% { opacity: 0; transform: translateY(10px); filter: brightness(0.72); }
  55% { filter: brightness(1.06); }
  100% { opacity: 1; transform: translateY(0); filter: brightness(1); }
}

@keyframes doorSlide {
  0% { transform: translateX(-10px); opacity: 0.4; }
  100% { transform: translateX(0); opacity: 1; }
}

.reveal {
  opacity: 0;
  transform: translateY(10px);
}

.reveal.is-in {
  animation: wakeBloom 700ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.ln-kpis .ln-kpi:nth-child(2).is-in { animation-delay: 40ms; }
.ln-kpis .ln-kpi:nth-child(3).is-in { animation-delay: 80ms; }
.ln-kpis .ln-kpi:nth-child(4).is-in { animation-delay: 120ms; }
.ln-kpis .ln-kpi:nth-child(5).is-in { animation-delay: 160ms; }

.ln-spec-row li:nth-child(2).is-in { animation-delay: 80ms; }
.ln-spec-row li:nth-child(3).is-in { animation-delay: 160ms; }

.ln-toc li:nth-child(2).is-in { animation-delay: 30ms; }
.ln-toc li:nth-child(3).is-in { animation-delay: 60ms; }
.ln-toc li:nth-child(4).is-in { animation-delay: 90ms; }
.ln-toc li:nth-child(5).is-in { animation-delay: 120ms; }
.ln-toc li:nth-child(6).is-in { animation-delay: 150ms; }
.ln-toc li:nth-child(7).is-in { animation-delay: 180ms; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .reveal.is-in,
  .ui-doors li.now { animation: none; }
  * { transition-duration: 0.01ms !important; }
}

/* ── Responsive ────────────────────────────── */
@media (max-width: 1100px) {
  .ln-brief-grid { grid-template-columns: 1fr; gap: 28px; }
  .ln-kpis .ln-wrap { grid-template-columns: repeat(3, 1fr); }
  .ln-roles { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 980px) {
  .ln-links { display: none; }
  .ln-nav-inner { padding: 12px 20px; }
  .ln-wrap { padding: 0 20px; }
  .ln-hero-inner {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr auto;
    padding: 88px 20px 38vh;
  }
  .ln-hero-caption {
    grid-column: 1;
    grid-row: 3;
    text-align: left;
  }
  .ln-hero-sky { height: 44vh; }
  .ln-lede { font-size: 17px; }
  .ln-spec-row { grid-template-columns: 1fr; }
  .ln-stations { margin-left: 10px; }
  .ln-stations > li {
    grid-template-columns: 48px 1fr;
    padding-left: 18px;
  }
  .ln-stations .ln-ui { grid-column: 2; }
  .ln-step::before { left: -28px; }
  .ui-match { grid-template-columns: 1fr 1fr; }
  .ui-arrow, .ui-score { grid-column: 1 / -1; }
  .ln-toc a { grid-template-columns: 36px 1fr; }
  .ln-toc span, .ln-toc b { display: none; }
  .ln-close { padding: 64px 20px 26vh; }
  .ln-foot { flex-direction: column; padding: 18px 20px; }
  .ln-sankey { overflow-x: auto; }
  .ln-sankey svg { min-width: 640px; }
  .ln-miss { grid-template-columns: 1fr; }
  .ln-miss-mid {
    flex-direction: row;
    min-width: 0;
    justify-content: center;
  }
  .ln-miss-mid::before {
    left: 24px;
    right: 24px;
    top: 50%;
    bottom: auto;
    width: auto;
    height: 0;
    border-left: 0;
    border-top: 1.5px dashed var(--wake);
  }
  .ui-doors { flex-wrap: wrap; }
  .ui-doors li { flex: 1 1 28%; }
}

@media (max-width: 640px) {
  .ln-kpis .ln-wrap,
  .ln-roles { grid-template-columns: 1fr; }
}
