/* ==========================================================================
   贵州量能智科科技有限公司 · 品牌样式表 (Brand CSS)
   Prefix: ln   ·   Theme: light   ·   Single brand hue: 量能蓝
   Inlined into <style id="theme-vars"> by apply-html-head-contract.mjs.
   Free-explore mode: no secondary / accent brand hues are defined.
   ========================================================================== */

:root {
  /* ---------- Brand hue (single primary) · 科技蓝 ---------- */
  --ln-primary: #1257CE;
  --ln-primary-hover: #0E47AC;
  --ln-primary-active: #0B3A8C;
  --ln-primary-foreground: #FFFFFF;
  --ln-primary-soft: #EDF3FD;
  --ln-primary-soft-line: #D3E2F9;

  /* ---------- Surfaces & text (cool, blue-tinted neutrals) ---------- */
  --ln-background: #FFFFFF;
  --ln-foreground: #101720;
  --ln-card: #FFFFFF;
  --ln-card-foreground: #101720;
  --ln-popover: #FFFFFF;
  --ln-popover-foreground: #101720;
  --ln-muted: #F4F7FB;
  --ln-muted-foreground: #5B6774;
  --ln-border: #E2E8F1;
  --ln-input: #D3DBE6;
  --ln-ring: #1257CE;

  /* ---------- Deep brand panels (same hue, lower lightness) ---------- */
  --ln-deep: #0B1F3F;
  --ln-deep-2: #12294E;
  --ln-deep-line: #1E3C69;
  --ln-deep-grid: rgba(255, 255, 255, 0.055);
  --ln-deep-glow: rgba(18, 87, 206, 0.34);
  --ln-on-deep: #F2F6FF;
  --ln-on-deep-muted: #B6C6DF;

  /* ---------- State colors (real status only) ---------- */
  --ln-state-success: #1E7A4B;
  --ln-state-warning: #A96B12;
  --ln-state-error: #D93B30;
  --ln-state-info: #0E7490;

  /* ---------- Radius (restrained scale) ---------- */
  --ln-radius-sm: 4px;
  --ln-radius-md: 8px;
  --ln-radius-lg: 16px;

  /* ---------- Elevation ---------- */
  --ln-shadow-1: 0 1px 2px rgba(15, 23, 42, 0.05);
  --ln-shadow-popover: 0 10px 28px -10px rgba(15, 23, 42, 0.18);

  /* ---------- Typography ---------- */
  --ln-font-sans: "HarmonyOS Sans SC", "MiSans", "Noto Sans SC", "PingFang SC",
    "Microsoft YaHei", "Segoe UI", system-ui, -apple-system, sans-serif;
  --ln-font-mono: ui-monospace, "Cascadia Mono", Consolas, "SFMono-Regular", monospace;

  --ln-text-display: clamp(38px, 5.2vw, 76px);
  --ln-text-h1: clamp(28px, 3.2vw, 44px);
  --ln-text-h2: clamp(22px, 2.2vw, 32px);
  --ln-text-h3: 20px;
  --ln-text-lead: 18px;
  --ln-text-body: 16px;
  --ln-text-cap: 13px;

  --ln-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* ==========================================================================
   Base
   ========================================================================== */

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--ln-font-sans);
  font-size: var(--ln-text-body);
  line-height: 1.65;
  color: var(--ln-foreground);
  background: var(--ln-background);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5 {
  margin: 0;
  font-weight: 600;
  line-height: 1.24;
  letter-spacing: -0.01em;
  word-break: keep-all;
  overflow-wrap: break-word;
}

p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; }
table { border-collapse: collapse; }

:focus-visible { outline: 2px solid var(--ln-ring); outline-offset: 2px; }

::selection { background: var(--ln-primary-soft); color: var(--ln-foreground); }

/* ==========================================================================
   Layout primitives (static, responsive-safe — no Tailwind dependency)
   ========================================================================== */

.ln-page {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 100vh;
}

.ln-container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 32px;
}

@media (max-width: 767px) {
  .ln-container { padding-inline: 20px; }
}

.ln-section { padding-block: 96px; }

@media (max-width: 1023px) {
  .ln-section { padding-block: 68px; }
}

@media (max-width: 639px) {
  .ln-section { padding-block: 52px; }
}

.ln-section-muted { background: var(--ln-muted); }

.ln-section-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 760px;
}

.ln-section-head-center {
  align-items: center;
  text-align: center;
  margin-inline: auto;
}

.ln-section-desc {
  font-size: var(--ln-text-body);
  line-height: 1.75;
  color: var(--ln-muted-foreground);
  max-width: 62ch;
}

.ln-grid { display: grid; gap: 24px; }

.ln-grid-2 { grid-template-columns: 1fr; }
.ln-grid-3 { grid-template-columns: 1fr; }
.ln-grid-4 { grid-template-columns: 1fr; }

@media (min-width: 640px) {
  .ln-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 768px) {
  .ln-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ln-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .ln-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
}

.ln-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: start;
}

@media (min-width: 1024px) {
  .ln-split { grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); gap: 64px; }
}

.ln-divider {
  height: 1px;
  margin: 0;
  border: 0;
  background: var(--ln-border);
}

/* ==========================================================================
   Typography
   ========================================================================== */

.ln-display {
  font-size: var(--ln-text-display);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.02em;
  text-wrap: balance;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.ln-h1 {
  font-size: var(--ln-text-h1);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.015em;
  text-wrap: balance;
  word-break: keep-all;
}

.ln-h2 {
  font-size: var(--ln-text-h2);
  font-weight: 600;
  line-height: 1.24;
  letter-spacing: -0.01em;
  text-wrap: balance;
  word-break: keep-all;
}

.ln-h3 {
  font-size: var(--ln-text-h3);
  font-weight: 600;
  line-height: 1.32;
  word-break: keep-all;
}

.ln-lead {
  font-size: var(--ln-text-lead);
  line-height: 1.7;
  color: var(--ln-muted-foreground);
  max-width: 46ch;
}

.ln-body { font-size: var(--ln-text-body); line-height: 1.75; }

.ln-cap { font-size: var(--ln-text-cap); line-height: 1.6; color: var(--ln-muted-foreground); }

.ln-num { font-variant-numeric: tabular-nums; }

.ln-truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.ln-clamp-2,
.ln-clamp-3 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ln-clamp-2 { -webkit-line-clamp: 2; line-clamp: 2; }
.ln-clamp-3 { -webkit-line-clamp: 3; line-clamp: 3; }

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding-inline: 22px;
  border: 1px solid transparent;
  border-radius: var(--ln-radius-md);
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.16s var(--ln-ease), border-color 0.16s var(--ln-ease),
    color 0.16s var(--ln-ease), transform 0.16s var(--ln-ease);
}

.btn-primary {
  background: var(--ln-primary);
  color: var(--ln-primary-foreground);
}

.btn-primary:hover { background: var(--ln-primary-hover); }
.btn-primary:active { background: var(--ln-primary-active); transform: translateY(1px); }

.btn-outline {
  background: transparent;
  border-color: var(--ln-border);
  color: var(--ln-foreground);
}

.btn-outline:hover { border-color: var(--ln-primary); color: var(--ln-primary); }

.btn-on-deep {
  background: var(--ln-primary);
  color: var(--ln-primary-foreground);
}

.btn-on-deep:hover { background: var(--ln-primary-hover); }

.btn-outline-deep {
  background: transparent;
  border-color: var(--ln-on-deep-muted);
  color: var(--ln-on-deep);
}

.btn-outline-deep:hover { border-color: var(--ln-on-deep); background: rgba(255, 255, 255, 0.06); }

.btn-sm { height: 38px; padding-inline: 16px; font-size: 14px; }
.btn-lg { height: 50px; padding-inline: 28px; font-size: 16px; }
.btn-block { width: 100%; }

.btn:disabled,
.btn[aria-disabled="true"] {
  background: var(--ln-muted);
  color: var(--ln-muted-foreground);
  border-color: var(--ln-border);
  cursor: not-allowed;
  transform: none;
}

/* ==========================================================================
   Header / navigation
   ========================================================================== */

.ln-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--ln-background);
  border-bottom: 1px solid var(--ln-border);
}

.ln-header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 72px;
}

.ln-brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.ln-brand-mark { width: 36px; height: 36px; flex-shrink: 0; }
.ln-brand-name { display: block; font-size: 18px; font-weight: 600; line-height: 1.15; letter-spacing: 0.01em; }
.ln-brand-sub { display: block; font-size: 10px; font-weight: 500; letter-spacing: 0.18em; color: var(--ln-muted-foreground); }

.ln-nav { display: none; align-items: center; gap: 2px; margin-left: auto; }

@media (min-width: 1024px) {
  .ln-nav { display: flex; }
}

.ln-nav-link {
  padding: 9px 14px;
  border-radius: var(--ln-radius-sm);
  font-size: 15px;
  font-weight: 500;
  color: var(--ln-muted-foreground);
  transition: color 0.16s var(--ln-ease), background-color 0.16s var(--ln-ease);
}

.ln-nav-link:hover { color: var(--ln-foreground); background: var(--ln-muted); }
.ln-nav-link.is-active { color: var(--ln-primary); }

.ln-header-actions { display: none; align-items: center; gap: 18px; flex-shrink: 0; }

@media (min-width: 1180px) {
  .ln-header-actions { display: flex; }
}

.ln-header-phone {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ln-foreground);
  white-space: nowrap;
}

.ln-icon-16 { width: 16px; height: 16px; flex-shrink: 0; }
.ln-icon-18 { width: 18px; height: 18px; flex-shrink: 0; }
.ln-icon-20 { width: 20px; height: 20px; flex-shrink: 0; }
.ln-icon-24 { width: 24px; height: 24px; flex-shrink: 0; }
.ln-icon-28 { width: 28px; height: 28px; flex-shrink: 0; }

.ln-mobile { position: relative; margin-left: auto; }

@media (min-width: 1024px) {
  .ln-mobile { display: none; }
}

.ln-mobile > summary {
  list-style: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--ln-border);
  border-radius: var(--ln-radius-md);
  color: var(--ln-foreground);
  cursor: pointer;
}

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

.ln-mobile-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: 236px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: var(--ln-popover);
  border: 1px solid var(--ln-border);
  border-radius: var(--ln-radius-lg);
  box-shadow: var(--ln-shadow-popover);
  z-index: 60;
}

.ln-mobile-link {
  padding: 11px 12px;
  border-radius: var(--ln-radius-sm);
  font-size: 15px;
  font-weight: 500;
  color: var(--ln-foreground);
}

.ln-mobile-link:hover { background: var(--ln-muted); }
.ln-mobile-link.is-active { color: var(--ln-primary); }

/* ==========================================================================
   Hero band
   ========================================================================== */

.ln-hero {
  position: relative;
  overflow: hidden;
  background: var(--ln-deep);
  color: var(--ln-on-deep);
}

.ln-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--ln-deep-grid) 1px, transparent 1px),
    linear-gradient(to bottom, var(--ln-deep-grid) 1px, transparent 1px);
  background-size: 72px 72px;
  pointer-events: none;
}

.ln-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(58% 62% at 78% 10%, var(--ln-deep-glow) 0%, transparent 68%);
  pointer-events: none;
}

.ln-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 52px;
  align-items: center;
  padding-block: 88px 84px;
}

@media (min-width: 1024px) {
  .ln-hero-inner {
    grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
    gap: 64px;
    padding-block: 124px 116px;
  }
}

.ln-hero-copy { display: flex; flex-direction: column; gap: 26px; }
.ln-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.ln-on-deep-muted { color: var(--ln-on-deep-muted); }
.ln-on-deep .ln-lead,
.ln-hero .ln-lead { color: var(--ln-on-deep-muted); }
.ln-on-deep .ln-cap,
.ln-hero .ln-cap { color: var(--ln-on-deep-muted); }

.ln-hero-cap-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  padding-top: 26px;
  margin-top: 4px;
  border-top: 1px solid var(--ln-deep-line);
}

.ln-hero-cap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ln-on-deep-muted);
  white-space: nowrap;
}

/* ==========================================================================
   Dashboard-style panel (hero visual, built from real UI structure)
   ========================================================================== */

.ln-panel {
  background: var(--ln-deep-2);
  border: 1px solid var(--ln-deep-line);
  border-radius: var(--ln-radius-lg);
  padding: 24px;
}

.ln-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--ln-deep-line);
}

.ln-panel-title { font-size: 14px; font-weight: 600; color: var(--ln-on-deep); }
.ln-panel-sub { font-size: 12.5px; color: var(--ln-on-deep-muted); }

.ln-panel-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding-block: 20px;
}

.ln-panel-stat-label { font-size: 12.5px; color: var(--ln-on-deep-muted); }
.ln-panel-stat-value {
  margin-top: 4px;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.15;
  color: var(--ln-on-deep);
  font-variant-numeric: tabular-nums;
}
.ln-panel-stat-unit { font-size: 13px; font-weight: 500; color: var(--ln-on-deep-muted); margin-left: 3px; }

.ln-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 88px;
  padding-top: 4px;
  border-top: 1px solid var(--ln-deep-line);
}

.ln-bars > span {
  flex: 1 1 0;
  min-width: 0;
  border-radius: var(--ln-radius-sm) var(--ln-radius-sm) 0 0;
  background: var(--ln-primary);
  opacity: 0.82;
}

.ln-panel-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
  font-size: 12.5px;
  color: var(--ln-on-deep-muted);
}

.ln-status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--ln-state-success);
  margin-right: 7px;
  vertical-align: middle;
}

/* ==========================================================================
   Cards, tags, rows
   ========================================================================== */

.ln-card {
  display: flex;
  flex-direction: column;
  background: var(--ln-card);
  border: 1px solid var(--ln-border);
  border-radius: var(--ln-radius-lg);
}

.ln-card-pad { padding: 28px; }

@media (max-width: 639px) {
  .ln-card-pad { padding: 20px; }
}

.ln-card-hover {
  transition: border-color 0.16s var(--ln-ease), transform 0.16s var(--ln-ease);
}

.ln-card-hover:hover { border-color: var(--ln-primary-soft-line); transform: translateY(-2px); }

.ln-tag {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding-inline: 10px;
  border-radius: var(--ln-radius-sm);
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  background: var(--ln-primary-soft);
  color: var(--ln-primary);
}

.ln-tag-neutral {
  background: var(--ln-muted);
  color: var(--ln-muted-foreground);
}

.ln-rows { border-top: 1px solid var(--ln-border); }

.ln-row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-block: 18px;
  border-bottom: 1px solid var(--ln-border);
  transition: background-color 0.16s var(--ln-ease);
}

.ln-row:hover { background: var(--ln-muted); }

.ln-link-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ln-primary);
  white-space: nowrap;
}

.ln-link-more:hover { color: var(--ln-primary-hover); }

/* ==========================================================================
   Tables
   ========================================================================== */

.ln-table-wrap { width: 100%; overflow-x: auto; }

.ln-table { width: 100%; min-width: 760px; }

.ln-table th {
  padding: 12px 16px;
  text-align: left;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--ln-muted-foreground);
  border-bottom: 1px solid var(--ln-border);
  white-space: nowrap;
}

.ln-table td {
  padding: 16px;
  font-size: 15px;
  color: var(--ln-foreground);
  border-bottom: 1px solid var(--ln-border);
  vertical-align: middle;
}

.ln-table tbody tr:hover { background: var(--ln-muted); }

/* ==========================================================================
   Forms
   ========================================================================== */

.ln-field { display: flex; flex-direction: column; gap: 8px; }
.ln-label { font-size: 14px; font-weight: 500; color: var(--ln-foreground); }
.ln-req { color: var(--ln-primary); margin-left: 2px; }

.ln-input,
.ln-select,
.ln-textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 14px;
  font-family: inherit;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ln-foreground);
  background: var(--ln-background);
  border: 1px solid var(--ln-input);
  border-radius: var(--ln-radius-md);
  transition: border-color 0.16s var(--ln-ease), box-shadow 0.16s var(--ln-ease);
}

.ln-textarea { min-height: 132px; resize: vertical; }

.ln-input::placeholder,
.ln-textarea::placeholder { color: var(--ln-muted-foreground); }

.ln-input:focus,
.ln-select:focus,
.ln-textarea:focus {
  outline: none;
  border-color: var(--ln-primary);
  box-shadow: 0 0 0 3px var(--ln-primary-soft);
}

.ln-input:disabled,
.ln-select:disabled,
.ln-textarea:disabled { background: var(--ln-muted); color: var(--ln-muted-foreground); cursor: not-allowed; }

.ln-help { font-size: 13px; line-height: 1.55; color: var(--ln-muted-foreground); }
.ln-error-text { font-size: 13px; line-height: 1.55; color: var(--ln-state-error); }

.ln-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ln-muted-foreground);
}

.ln-check input {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: var(--ln-primary);
}

/* ==========================================================================
   Misc blocks
   ========================================================================== */

.ln-band-deep { background: var(--ln-deep); color: var(--ln-on-deep); }

.ln-band-deep .ln-h1,
.ln-band-deep .ln-h2,
.ln-band-deep .ln-h3 { color: var(--ln-on-deep); }

.ln-band-deep .ln-section-desc,
.ln-band-deep .ln-lead,
.ln-band-deep .ln-cap { color: var(--ln-on-deep-muted); }

.ln-page-header {
  background: var(--ln-muted);
  border-bottom: 1px solid var(--ln-border);
}

.ln-page-header-inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 820px;
  padding-block: 72px;
}

@media (max-width: 767px) {
  .ln-page-header-inner { padding-block: 46px; }
}

/* ==========================================================================
   App window mock (real product surfaces, built from DOM — not placeholder art)
   ========================================================================== */

.ln-window {
  display: flex;
  flex-direction: column;
  background: var(--ln-card);
  border: 1px solid var(--ln-border);
  border-radius: var(--ln-radius-lg);
  overflow: hidden;
}

.ln-window-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--ln-muted);
  border-bottom: 1px solid var(--ln-border);
}

.ln-window-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  flex-shrink: 0;
  background: var(--ln-border);
}

.ln-window-title {
  margin-left: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ln-foreground);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ln-window-body { padding: 16px; }

.ln-app-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border-radius: var(--ln-radius-md);
  transition: background-color 0.16s var(--ln-ease);
}

.ln-app-row + .ln-app-row { border-top: 1px solid var(--ln-border); border-radius: 0; }
.ln-app-row:hover { background: var(--ln-muted); }

.ln-app-time {
  flex-shrink: 0;
  font-family: var(--ln-font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--ln-primary);
  font-variant-numeric: tabular-nums;
  min-width: 44px;
}

.ln-app-main { min-width: 0; flex: 1 1 auto; }
.ln-app-name { font-size: 14px; font-weight: 500; color: var(--ln-foreground); }
.ln-app-meta { font-size: 12.5px; color: var(--ln-muted-foreground); }

.ln-switch {
  flex-shrink: 0;
  width: 38px;
  height: 22px;
  border-radius: 999px;
  background: var(--ln-primary);
  position: relative;
  display: inline-block;
}

.ln-switch::after {
  content: "";
  position: absolute;
  top: 3px;
  right: 3px;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: var(--ln-primary-foreground);
}

.ln-switch-off { background: var(--ln-input); }
.ln-switch-off::after { right: auto; left: 3px; }

.ln-meter {
  height: 8px;
  border-radius: 999px;
  background: var(--ln-muted);
  overflow: hidden;
}

.ln-meter > span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--ln-primary);
}

.ln-ledger-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-block: 11px;
  border-bottom: 1px solid var(--ln-border);
}

.ln-ledger-row:last-child { border-bottom: 0; }
.ln-ledger-cat { flex: 1 1 auto; min-width: 0; font-size: 14px; color: var(--ln-foreground); }
.ln-ledger-amt {
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--ln-foreground);
  font-variant-numeric: tabular-nums;
}

.ln-ledger-amt-out { color: var(--ln-primary); }

.ln-kpi-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--ln-border);
}

.ln-kpi-label { font-size: 12.5px; color: var(--ln-muted-foreground); }
.ln-kpi-value {
  margin-top: 3px;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--ln-foreground);
  font-variant-numeric: tabular-nums;
}

.ln-kpi-value-brand { color: var(--ln-primary); }

/* ==========================================================================
   Content helpers
   ========================================================================== */

.ln-check-list { display: flex; flex-direction: column; gap: 12px; }

.ln-check-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--ln-foreground);
}

.ln-check-item > i { margin-top: 3px; color: var(--ln-primary); }

.ln-price-note {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  padding-top: 18px;
  border-top: 1px solid var(--ln-border);
}

.ln-meta-list { display: flex; flex-direction: column; gap: 12px; }

.ln-meta-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--ln-foreground);
}

.ln-meta-item > i { flex-shrink: 0; color: var(--ln-primary); }

.ln-cta-band-inner {
  display: flex;
  flex-direction: column;
  gap: 26px;
  align-items: flex-start;
}

@media (min-width: 900px) {
  .ln-cta-band-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
  }
}

.ln-cta-band-copy { display: flex; flex-direction: column; gap: 12px; }
.ln-cta-band-actions { display: flex; flex-wrap: wrap; gap: 12px; flex-shrink: 0; }

.ln-info-card { display: flex; flex-direction: column; gap: 10px; }

.ln-info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--ln-radius-md);
  background: var(--ln-primary-soft);
  color: var(--ln-primary);
  flex-shrink: 0;
}

.ln-step {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.ln-step-index {
  flex-shrink: 0;
  font-family: var(--ln-font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ln-primary);
  padding-top: 3px;
  min-width: 28px;
}

.ln-quote {
  padding-left: 20px;
  border-left: 2px solid var(--ln-primary);
  font-size: var(--ln-text-lead);
  line-height: 1.7;
  color: var(--ln-foreground);
}

.ln-arch-layer {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: stretch;
}

@media (min-width: 900px) {
  .ln-arch-layer { grid-template-columns: 168px minmax(0, 1fr); align-items: center; }
}

.ln-arch-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ln-muted-foreground);
}

.ln-arch-nodes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

@media (min-width: 700px) {
  .ln-arch-nodes { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.ln-arch-node {
  padding: 14px 16px;
  border: 1px solid var(--ln-border);
  border-radius: var(--ln-radius-md);
  background: var(--ln-card);
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  color: var(--ln-foreground);
}

.ln-arch-node-accent {
  border-color: var(--ln-primary-soft-line);
  background: var(--ln-primary-soft);
  color: var(--ln-primary);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.ln-footer {
  background: var(--ln-deep);
  color: var(--ln-on-deep);
  padding-top: 64px;
}

.ln-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}

@media (min-width: 700px) {
  .ln-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .ln-footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.25fr; gap: 48px; }
}

.ln-footer-brand { display: flex; flex-direction: column; gap: 14px; }
.ln-footer-brand-row { display: flex; align-items: center; gap: 10px; }
.ln-footer-mark { width: 34px; height: 34px; flex-shrink: 0; }
.ln-footer-company { font-size: 16px; font-weight: 600; color: var(--ln-on-deep); line-height: 1.3; }
.ln-footer-desc { font-size: 14px; line-height: 1.75; color: var(--ln-on-deep-muted); max-width: 34ch; }

.ln-footer-title {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--ln-on-deep);
  margin-bottom: 14px;
}

.ln-footer-link {
  display: block;
  padding-block: 6px;
  font-size: 14px;
  color: var(--ln-on-deep-muted);
  transition: color 0.16s var(--ln-ease);
}

.ln-footer-link:hover { color: var(--ln-on-deep); }

.ln-footer-contact {
  display: block;
  padding-block: 6px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ln-on-deep-muted);
}

.ln-footer-bottom {
  margin-top: 56px;
  padding-block: 22px;
  border-top: 1px solid var(--ln-deep-line);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--ln-on-deep-muted);
}

/* ==========================================================================
   Motion preferences
   ========================================================================== */

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