:root {
  --wb-primary: #059669;
  --wb-primary-dark: #047857;
  --wb-primary-light: #10B981;
  --wb-secondary: #B87333;
  --wb-secondary-dark: #9A5F28;
  --wb-slate: #1E293B;
  --wb-slate-light: #334155;
  --wb-bg: #F9FAFB;
  --wb-surface: #FFFFFF;
  --wb-surface-alt: #F3F4F6;
  --wb-text: #111827;
  --wb-text-muted: #6B7280;
  --wb-border: #E5E7EB;
  --wb-border-mid: #D1D5DB;
  --wb-border-strong: #059669;
  --wb-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  --wb-shadow-hover: 0 4px 12px rgba(5, 150, 105, 0.12);
  --wb-radius: 8px;
  --wb-max: 1160px;
  --wb-ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* ── Type Scale (technical / instrument) ── */
  --wb-ts-5xl: clamp(2rem, 4.5vw, 3rem);
  --wb-ts-4xl: clamp(1.6rem, 3.5vw, 2.25rem);
  --wb-ts-3xl: clamp(1.3rem, 2.5vw, 1.75rem);
  --wb-ts-2xl: 1.25rem;
  --wb-ts-xl: 1.0625rem;
  --wb-ts-lg: 0.9375rem;
  --wb-ts-md: 0.8125rem;
  --wb-ts-sm: 0.75rem;
  --wb-ts-xs: 0.625rem;

  /* ── Spacing Scale ── */
  --wb-sp-2xs: 4px;
  --wb-sp-xs: 6px;
  --wb-sp-sm: 10px;
  --wb-sp-md: 14px;
  --wb-sp-lg: 20px;
  --wb-sp-xl: 28px;
  --wb-sp-2xl: 40px;
  --wb-sp-3xl: 56px;
  --wb-sp-4xl: 80px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.wb-body {
  margin: 0;
  color: var(--wb-text);
  background: var(--wb-bg);
  font-family: "Microsoft JhengHei", "PingFang TC", system-ui, sans-serif;
  line-height: 1.68;
  overflow-x: hidden;
  overflow-wrap: anywhere;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select { font: inherit; }
.wb-skip { position: absolute; left: -999px; top: 10px; background: var(--wb-slate); color: white; padding: 8px 12px; z-index: 100; }
.wb-skip:focus { left: 10px; }
.wb-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 2px solid var(--wb-primary);
}
.wb-nav {
  width: min(var(--wb-max), calc(100vw - 28px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.wb-brand, .wb-footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
}
.wb-brand img, .wb-footer-brand img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--wb-border);
  background: white;
}
.wb-navlinks { display: flex; align-items: center; gap: 18px; font-weight: 800; font-size: 15px; }
.wb-navlinks a { padding: 8px 0; border-bottom: 2px solid transparent; }
.wb-navlinks a:hover, .wb-navlinks a:focus-visible { border-color: var(--wb-primary); }
.wb-nav-cta, .wb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 900;
}
.wb-navlinks .wb-nav-cta { background: var(--wb-primary); color: white; padding-inline: 15px; border: 0; }
.wb-menu-btn { display: none; }
.wb-main { min-height: 70vh; }
.wb-kicker {
  margin: 0 0 12px;
  text-transform: uppercase;
  color: var(--wb-primary-dark);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.08em;
}
.wb-hero, .wb-section, .wb-page-hero, .wb-article, .wb-tool-panel {
  width: min(var(--wb-max), calc(100vw - 28px));
  margin: 0 auto;
}
.wb-hero {
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1.18fr);
  gap: 42px;
  align-items: center;
  padding: 62px 0 76px;
}
.wb-hero-copy, .wb-section-copy, .wb-page-hero > div { min-width: 0; }
.wb-hero-copy h1, .wb-section-head h2, .wb-section-copy h2, .wb-page-hero h1 {
  margin: 0 0 16px;
  font-size: clamp(38px, 6.8vw, 92px);
  line-height: 0.95;
  letter-spacing: 0;
  text-wrap: balance;
}
.wb-hero-lead, .wb-section p, .wb-page-hero p {
  color: var(--wb-text-muted);
  font-size: 18px;
  font-weight: 650;
  overflow-wrap: anywhere;
}
.wb-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0; }
.wb-btn { border: 1px solid var(--wb-primary); transition: transform 180ms var(--wb-ease), box-shadow 180ms var(--wb-ease), background 180ms var(--wb-ease); }
.wb-btn:hover, .wb-btn:focus-visible { transform: translateY(-2px); box-shadow: var(--wb-shadow-hover); }
.wb-btn-primary { background: var(--wb-primary); color: white; }
.wb-btn-primary:hover, .wb-btn-primary:focus-visible { background: var(--wb-primary-dark); }
.wb-btn-ghost { background: var(--wb-surface); color: var(--wb-slate); border-color: var(--wb-border-mid); }
.wb-btn-ghost:hover, .wb-btn-ghost:focus-visible { border-color: var(--wb-secondary); color: var(--wb-secondary); }
.wb-status-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.wb-status-strip span, .wb-proof-row span {
  border: 1px solid var(--wb-border);
  border-radius: 999px;
  padding: 7px 10px;
  background: rgba(255,255,255,0.88);
  color: var(--wb-text-muted);
  font-weight: 800;
}
.wb-hero-stage {
  position: relative;
  border-radius: 28px;
  isolation: isolate;
}
.wb-hero-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 28px;
  pointer-events: none;
  background: radial-gradient(circle at var(--wb-glow-x, 50%) var(--wb-glow-y, 50%), rgba(255, 255, 255, 0.34), transparent 28%);
}
.wb-hero-stage img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 28px;
  border: 1px solid var(--wb-border);
  box-shadow: var(--wb-shadow);
}
.wb-floating-note {
  position: absolute;
  max-width: 210px;
  padding: 13px 14px;
  border: 1px solid var(--wb-border);
  border-left: 3px solid var(--wb-primary);
  border-radius: var(--wb-radius);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: var(--wb-shadow-hover);
}
.wb-floating-note span { display: block; color: var(--wb-primary); font-size: 12px; font-weight: 900; }
.wb-floating-note strong { display: block; font-size: 18px; line-height: 1.2; }
.wb-note-a { right: 22px; top: 26px; }
.wb-note-b { left: 22px; bottom: 26px; }
.wb-side-rail {
  position: fixed;
  right: 18px;
  top: 96px;
  z-index: 40;
  display: grid;
  gap: 4px;
  width: 138px;
  padding: 12px;
  border: 1px solid var(--wb-border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  box-shadow: var(--wb-shadow-hover);
}
.wb-side-rail span { color: var(--wb-primary-dark); font-size: 12px; font-weight: 950; }
.wb-side-rail a { padding: 7px 9px; border-radius: 999px; color: var(--wb-text-muted); font-size: 13px; font-weight: 850; }
.wb-side-rail a.is-active, .wb-side-rail a:hover { background: var(--wb-primary); color: white; }
.wb-section { padding-top: 92px; }
.wb-section-split, .wb-page-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 36px;
  align-items: center;
}
.wb-section-reverse { grid-template-columns: minmax(360px, 1.08fr) minmax(0, 0.92fr); }
.wb-section-image img, .wb-page-hero img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 24px;
  border: 1px solid var(--wb-border);
  box-shadow: var(--wb-shadow);
}
.wb-section-head { max-width: 780px; margin-bottom: 24px; }
.wb-section-head h2, .wb-section-copy h2, .wb-page-hero h1 { font-size: clamp(32px, 4.2vw, 62px); line-height: 1.02; }
.wb-head-row { display: flex; justify-content: space-between; align-items: end; gap: 20px; max-width: none; }
.wb-text-link { color: var(--wb-primary); font-weight: 950; border-bottom: 3px solid var(--wb-secondary); }
.wb-mini-table, .wb-check-grid, .wb-map-grid, .wb-contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 22px;
}
.wb-mini-table div, .wb-check-grid div, .wb-map-grid a, .wb-map-grid span, .wb-contact-grid div, .wb-anchor-section {
  border: 1px solid var(--wb-border);
  border-left: 3px solid var(--wb-primary);
  border-radius: var(--wb-radius);
  background: var(--wb-surface);
  padding: 18px;
  box-shadow: var(--wb-shadow);
}
.wb-mini-table span, .wb-contact-grid span { display: block; color: var(--wb-primary-dark); font-size: 12px; font-weight: 950; }
.wb-mini-table strong, .wb-check-grid strong { display: block; font-size: 20px; line-height: 1.24; }
.wb-check-grid span, .wb-map-grid span { display: block; margin-top: 8px; color: var(--wb-text-muted); font-weight: 700; }
.wb-flow-deck {
  padding-bottom: 6px;
}
.wb-flow-rail {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  cursor: grab;
  padding: 8px 8px 24px;
}
.wb-flow-rail.is-dragging { cursor: grabbing; user-select: none; }
.wb-flow-rail article {
  flex: 0 0 min(320px, 78vw);
  min-height: 190px;
  scroll-snap-align: start;
  padding: 22px;
  border-radius: 22px;
  background: var(--wb-surface);
  border: 1px solid var(--wb-border);
  border-top: 3px solid var(--wb-primary);
  box-shadow: var(--wb-shadow);
}
.wb-flow-rail article:nth-child(2n) { border-top-color: var(--wb-secondary); }
.wb-flow-rail article:nth-child(3n) { border-top-color: var(--wb-primary-light); }
.wb-flow-rail strong { display: block; font-size: 28px; margin-bottom: 10px; }
.wb-flow-rail span { color: var(--wb-text-muted); font-weight: 700; }
.wb-account-band { background: linear-gradient(135deg, rgba(5,150,105,0.08), rgba(184,115,51,0.08)); border-radius: 28px; padding: 38px; margin-top: 92px; }
.wb-article-grid, .wb-tool-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.wb-article-card, .wb-tool-tile {
  border: 1px solid var(--wb-border);
  border-radius: var(--wb-radius);
  background: var(--wb-surface);
  overflow: hidden;
  box-shadow: var(--wb-shadow);
}
.wb-article-card img { width: 100%; height: 190px; object-fit: cover; }
.wb-article-card div { padding: 18px; }
.wb-article-card span { color: var(--wb-primary); font-weight: 950; font-size: 12px; }
.wb-article-card h3 { margin: 8px 0; line-height: 1.25; }
.wb-article-card p { color: var(--wb-text-muted); margin-bottom: 0; }
.wb-empty {
  grid-column: 1 / -1;
  padding: 28px;
  border: 1px dashed var(--wb-border-mid);
  border-radius: 18px;
  background: rgba(255,255,255,0.64);
  color: var(--wb-text-muted);
  font-weight: 850;
}
.wb-tool-tile {
  min-height: 190px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 180ms var(--wb-ease), background 180ms var(--wb-ease);
}
.wb-tool-tile:nth-child(2) { background: var(--wb-surface-alt); }
.wb-tool-tile:nth-child(3) { background: var(--wb-surface-alt); }
.wb-tool-tile:hover, .wb-tool-tile:focus-visible { transform: translateY(-5px); background: var(--wb-primary); color: white; box-shadow: var(--wb-shadow-hover); }
.wb-tool-tile strong { font-size: 24px; line-height: 1.15; }
.wb-tool-tile span { font-weight: 700; }
.wb-faq-list { display: grid; gap: 12px; max-width: 900px; }
.wb-faq-list details {
  border: 1px solid var(--wb-border);
  border-radius: var(--wb-radius);
  background: var(--wb-surface);
  padding: 16px 18px;
}
.wb-faq-list summary { font-weight: 950; cursor: pointer; }
.wb-faq-list p { color: var(--wb-text-muted); margin-bottom: 0; }
.wb-trust-panel {
  display: grid;
  grid-template-columns: minmax(260px, 0.76fr) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 30px;
  border-radius: 26px;
  background: var(--wb-slate);
  color: white;
}
.wb-trust-panel h2 { margin: 0; font-size: clamp(28px, 4vw, 54px); line-height: 1.04; }
.wb-trust-panel p { margin: 0; color: rgba(255,255,255,0.82); }
.wb-map-grid { grid-template-columns: repeat(2, 1fr); }
.wb-map-grid a { display: block; font-weight: 950; }
.wb-page-hero { padding-top: 72px; }
.wb-page { padding-bottom: 70px; }
.wb-anchor-section h2 { margin-top: 0; font-size: clamp(28px, 3vw, 42px); line-height: 1.08; }
.wb-author-block {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
  align-items: center;
  padding: 26px;
  border: 1px solid var(--wb-border);
  border-radius: 26px;
  background: var(--wb-surface);
  box-shadow: var(--wb-shadow);
}
.wb-author-block img { border-radius: 50%; aspect-ratio: 1; object-fit: cover; }
.wb-contact-grid div { min-height: 174px; }
.wb-tool-panel {
  margin-top: 30px;
  padding: 28px;
  border: 1px solid var(--wb-border);
  border-radius: 26px;
  background: var(--wb-surface);
  box-shadow: var(--wb-shadow);
}
.wb-tool-form, .wb-step-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.wb-tool-panel label {
  display: grid;
  gap: 7px;
  color: var(--wb-text);
  font-weight: 900;
}
.wb-tool-panel input, .wb-tool-panel select {
  min-height: 46px;
  border: 1px solid var(--wb-border-mid);
  border-radius: var(--wb-radius);
  padding: 9px 10px;
  background: white;
}
.wb-tool-panel input:focus, .wb-tool-panel select:focus {
  outline: none;
  border-color: var(--wb-primary);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}
.wb-step-options {
  margin: 18px 0;
}
.wb-step-options label {
  background: white;
  border: 1px solid var(--wb-border);
  border-radius: var(--wb-radius);
  padding: 12px;
}
.wb-tool-result {
  margin-top: 18px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(5, 150, 105, 0.06);
  border: 1px solid var(--wb-border-strong);
  font-weight: 800;
}
.wb-tool-result ul { margin: 10px 0 0; padding-left: 20px; }
.wb-progress-meter {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  align-items: center;
  margin-bottom: 18px;
  font-weight: 950;
}
.wb-progress-meter div { height: 14px; border-radius: 999px; background: var(--wb-surface-alt); overflow: hidden; }
.wb-progress-meter i { display: block; height: 100%; width: 0; background: var(--wb-primary); border-radius: inherit; transition: width 180ms var(--wb-ease); }
.wb-article { max-width: 920px; padding: 70px 0; }
.wb-article-hero h1 { font-size: clamp(34px, 5vw, 66px); line-height: 1.05; margin: 0 0 10px; }
.wb-prose { background: var(--wb-surface); border: 1px solid var(--wb-border); border-radius: 18px; padding: 30px; }
.wb-prose table { width: 100%; border-collapse: collapse; margin: 24px 0; }
.wb-prose th { background: var(--wb-primary); color: white; padding: 10px 14px; font-weight: 700; text-align: left; font-size: 0.875rem; }
.wb-prose td { padding: 10px 14px; border-bottom: 1px solid var(--wb-border); font-size: 0.875rem; color: var(--wb-text); }
.wb-prose tr:nth-child(even) td { background: rgba(5,150,105,.06); }
.wb-footer { margin-top: 70px; background: var(--wb-slate); color: white; }
.wb-footer-inner {
  width: min(var(--wb-max), calc(100vw - 28px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr 0.6fr;
  gap: 32px;
  padding: 44px 0;
}
.wb-footer p { color: rgba(255,255,255,0.72); }
.wb-footer-grid, .wb-footer-links { display: grid; gap: 9px; align-content: start; }
.wb-footer a:hover { color: var(--wb-primary-light); }
.wb-reveal { opacity: 1; transform: none; transition: opacity 600ms var(--wb-ease), transform 600ms var(--wb-ease); }
.wb-reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1280px) {
  .wb-side-rail { display: none; }
}
@media (max-width: 900px) {
  .wb-menu-btn {
    display: inline-flex;
    min-height: 40px;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid var(--wb-border);
    background: white;
    font-weight: 900;
  }
  .wb-navlinks {
    position: absolute;
    left: 14px;
    right: 14px;
    top: 72px;
    display: none;
    padding: 14px;
    border: 1px solid var(--wb-border);
    border-radius: 18px;
    background: var(--wb-surface);
    box-shadow: var(--wb-shadow-hover);
  }
  .wb-navlinks.is-open { display: grid; }
  .wb-hero, .wb-section-split, .wb-section-reverse, .wb-page-hero, .wb-author-block, .wb-trust-panel, .wb-footer-inner {
    grid-template-columns: 1fr;
  }
  .wb-hero { min-height: auto; padding-top: 42px; }
  .wb-mini-table, .wb-check-grid, .wb-article-grid, .wb-tool-grid, .wb-contact-grid { grid-template-columns: 1fr 1fr; }
  .wb-map-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .wb-nav { min-height: 64px; }
  .wb-navlinks { top: 64px; }
  .wb-brand span { max-width: 132px; line-height: 1.16; }
  .wb-hero-copy h1 { font-size: clamp(38px, 13vw, 58px); line-height: 1.04; }
  .wb-hero-lead, .wb-section p, .wb-page-hero p { font-size: 16px; word-break: break-all; line-break: anywhere; }
  .wb-hero-stage { display: none; }
  .wb-section { padding-top: 66px; }
  .wb-account-band, .wb-tool-panel, .wb-trust-panel { padding: 20px; }
  .wb-mini-table, .wb-check-grid, .wb-article-grid, .wb-tool-grid, .wb-contact-grid, .wb-tool-form, .wb-step-grid { grid-template-columns: 1fr; }
  .wb-head-row { display: block; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
  .wb-reveal { opacity: 1; transform: none; }
}

/* ═══════════════════════════════════════════════════════════════
   HOMEPAGE — Cockpit Control Panel
   ═══════════════════════════════════════════════════════════════ */

/* ── Status Bar Hero ── */
.wb-cp-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  min-height: auto;
  padding: var(--wb-sp-xl) 0 var(--wb-sp-lg);
  border-bottom: 2px solid var(--wb-primary);
}
.wb-cp-hero-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--wb-sp-md);
  flex-wrap: wrap;
  margin-bottom: var(--wb-sp-sm);
}
.wb-cp-hero-title {
  font-size: var(--wb-ts-4xl);
  font-weight: 900;
  line-height: 1.08;
  color: var(--wb-text);
  margin: 0;
}
.wb-cp-hero-sub {
  font-size: var(--wb-ts-md);
  color: var(--wb-text-muted);
  font-weight: 700;
  max-width: 520px;
  line-height: 1.55;
}
.wb-cp-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--wb-sp-sm);
  margin: var(--wb-sp-lg) 0 var(--wb-sp-md);
}
.wb-cp-metric {
  padding: var(--wb-sp-sm) var(--wb-sp-md);
  background: var(--wb-surface);
  border: 1px solid var(--wb-border);
  border-top: 3px solid var(--wb-primary);
  border-radius: var(--wb-radius);
}
.wb-cp-metric:nth-child(2) { border-top-color: var(--wb-secondary); }
.wb-cp-metric:nth-child(3) { border-top-color: var(--wb-primary-light); }
.wb-cp-metric:nth-child(4) { border-top-color: var(--wb-slate-light); }
.wb-cp-metric-label {
  font-size: var(--wb-ts-xs);
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--wb-text-muted);
  margin-bottom: var(--wb-sp-2xs);
}
.wb-cp-metric-value {
  font-size: var(--wb-ts-2xl);
  font-weight: 900;
  color: var(--wb-text);
  line-height: 1.15;
}
.wb-cp-hero-actions {
  display: flex;
  gap: var(--wb-sp-sm);
  flex-wrap: wrap;
}

/* ── Three-Column Instrument Grid ── */
.wb-cp-3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--wb-sp-md);
}

/* ── Instrument Panel Card (gauge readout) ── */
.wb-cp-panel {
  background: var(--wb-surface);
  border: 1px solid var(--wb-border);
  border-radius: var(--wb-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.wb-cp-panel-header {
  padding: var(--wb-sp-sm) var(--wb-sp-md);
  background: var(--wb-slate);
  color: white;
  font-size: var(--wb-ts-xs);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wb-cp-panel-header-alt {
  background: var(--wb-primary-dark);
}
.wb-cp-panel-header-warn {
  background: var(--wb-secondary-dark);
}
.wb-cp-panel-status {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--wb-primary-light);
  flex-shrink: 0;
}
.wb-cp-panel-body {
  padding: var(--wb-sp-md);
  flex: 1;
  display: flex;
  flex-direction: column;
}
.wb-cp-panel-title {
  font-size: var(--wb-ts-xl);
  font-weight: 900;
  color: var(--wb-text);
  line-height: 1.2;
  margin-bottom: var(--wb-sp-xs);
}
.wb-cp-panel-desc {
  font-size: var(--wb-ts-md);
  color: var(--wb-text-muted);
  line-height: 1.55;
  font-weight: 650;
  flex: 1;
}
.wb-cp-panel-img {
  aspect-ratio: 16/10;
  overflow: hidden;
}
.wb-cp-panel-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.wb-cp-panel-footer {
  padding: var(--wb-sp-sm) var(--wb-sp-md);
  border-top: 1px solid var(--wb-border);
  font-size: var(--wb-ts-sm);
  font-weight: 800;
  color: var(--wb-primary);
}

/* ── Section: Cockpit ── */
.wb-cp-section {
  display: block;
  min-height: auto;
  grid-template-columns: none;
  gap: 0;
  align-items: stretch;
  padding: var(--wb-sp-3xl) 0;
}
.wb-cp-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--wb-sp-md);
  margin-bottom: var(--wb-sp-lg);
  padding-bottom: var(--wb-sp-sm);
  border-bottom: 1px solid var(--wb-border);
}
.wb-cp-section-head h2 {
  font-size: var(--wb-ts-3xl);
  font-weight: 900;
  line-height: 1.1;
  margin: 0;
}
.wb-cp-section-head .wb-kicker {
  margin: 0;
}

/* ── Compact Control Modules (tools) ── */
.wb-cp-controls {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--wb-sp-sm);
}
.wb-cp-control {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: var(--wb-sp-md);
  background: var(--wb-surface);
  border: 1px solid var(--wb-border);
  border-left: 3px solid var(--wb-primary);
  border-radius: var(--wb-radius);
  min-height: 140px;
  transition: transform 180ms var(--wb-ease), box-shadow 180ms var(--wb-ease), background 180ms var(--wb-ease);
}
.wb-cp-control:nth-child(2) { border-left-color: var(--wb-secondary); }
.wb-cp-control:nth-child(3) { border-left-color: var(--wb-primary-light); }
.wb-cp-control:hover {
  transform: translateY(-3px);
  box-shadow: var(--wb-shadow-hover);
  background: var(--wb-primary);
  color: white;
  border-color: var(--wb-primary);
}
.wb-cp-control:hover .wb-cp-control-desc { color: rgba(255,255,255,0.82); }
.wb-cp-control-title {
  font-size: var(--wb-ts-xl);
  font-weight: 900;
  line-height: 1.18;
  margin-bottom: var(--wb-sp-xs);
}
.wb-cp-control-desc {
  font-size: var(--wb-ts-md);
  color: var(--wb-text-muted);
  font-weight: 700;
  line-height: 1.5;
  transition: color 180ms var(--wb-ease);
}

/* ── Checklist / Procedure Format ── */
.wb-cp-procedure {
  display: grid;
  gap: var(--wb-sp-xs);
  counter-reset: proc;
}
.wb-cp-procedure-step {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: var(--wb-sp-sm);
  padding: var(--wb-sp-sm) var(--wb-sp-md);
  background: var(--wb-surface);
  border: 1px solid var(--wb-border);
  border-radius: var(--wb-radius);
  align-items: start;
  counter-increment: proc;
}
.wb-cp-procedure-num {
  width: 28px;
  height: 28px;
  background: var(--wb-slate);
  color: white;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--wb-ts-xs);
  font-weight: 900;
  flex-shrink: 0;
}
.wb-cp-procedure-text {
  font-size: var(--wb-ts-md);
  font-weight: 700;
  color: var(--wb-text);
  line-height: 1.5;
}
.wb-cp-procedure-text strong {
  display: block;
  font-size: var(--wb-ts-lg);
  margin-bottom: 2px;
}

/* ── Gauge / Meter ── */
.wb-cp-gauges {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--wb-sp-sm);
}
.wb-cp-gauge {
  padding: var(--wb-sp-md);
  background: var(--wb-surface);
  border: 1px solid var(--wb-border);
  border-radius: var(--wb-radius);
  text-align: center;
}
.wb-cp-gauge-ring {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--wb-sp-xs);
}
.wb-cp-gauge-ring circle {
  fill: none;
  stroke-width: 4;
}
.wb-cp-gauge-ring .wb-cp-gauge-track {
  stroke: var(--wb-surface-alt);
}
.wb-cp-gauge-ring .wb-cp-gauge-fill {
  stroke: var(--wb-primary);
  stroke-linecap: round;
  transform: rotate(-90deg);
  transform-origin: center;
  transition: stroke-dashoffset 1s var(--wb-ease);
}
.wb-cp-gauge-label {
  font-size: var(--wb-ts-xs);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--wb-text-muted);
}
.wb-cp-gauge-value {
  font-size: var(--wb-ts-2xl);
  font-weight: 900;
  color: var(--wb-text);
  line-height: 1.2;
}

/* ── Split Panel (image + copy) ── */
.wb-cp-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 1.1fr);
  gap: var(--wb-sp-xl);
  align-items: center;
}
.wb-cp-split-reverse {
  grid-template-columns: minmax(300px, 1.1fr) minmax(0, 1fr);
}
.wb-cp-split-img img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--wb-radius);
  border: 1px solid var(--wb-border);
}
.wb-cp-split-copy h2 {
  font-size: var(--wb-ts-3xl);
  font-weight: 900;
  line-height: 1.1;
  margin: 0 0 var(--wb-sp-sm);
}
.wb-cp-split-copy p {
  font-size: var(--wb-ts-md);
  color: var(--wb-text-muted);
  font-weight: 650;
  line-height: 1.6;
}

/* ── Trust / Responsible Panel ── */
.wb-cp-trust {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--wb-sp-lg);
  align-items: center;
  padding: var(--wb-sp-lg);
  border-radius: var(--wb-radius);
  background: var(--wb-slate);
  color: white;
}
.wb-cp-trust h2 {
  font-size: var(--wb-ts-3xl);
  font-weight: 900;
  line-height: 1.1;
  margin: 0;
}
.wb-cp-trust p {
  margin: 0;
  color: rgba(255,255,255,0.78);
  font-size: var(--wb-ts-md);
  font-weight: 650;
}

/* ── FAQ (compact technical) ── */
.wb-cp-faq-list {
  display: grid;
  gap: var(--wb-sp-xs);
  max-width: 800px;
}
.wb-cp-faq-list details {
  border: 1px solid var(--wb-border);
  border-left: 3px solid var(--wb-primary);
  border-radius: var(--wb-radius);
  background: var(--wb-surface);
  padding: var(--wb-sp-sm) var(--wb-sp-md);
}
.wb-cp-faq-list summary {
  font-weight: 900;
  font-size: var(--wb-ts-lg);
  cursor: pointer;
}
.wb-cp-faq-list p {
  color: var(--wb-text-muted);
  margin: var(--wb-sp-xs) 0 0;
  font-size: var(--wb-ts-md);
  line-height: 1.6;
}

/* ── Site Map (instrument directory) ── */
.wb-cp-map {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--wb-sp-sm);
}
.wb-cp-map a {
  display: block;
  padding: var(--wb-sp-md);
  background: var(--wb-surface);
  border: 1px solid var(--wb-border);
  border-left: 3px solid var(--wb-primary);
  border-radius: var(--wb-radius);
  font-weight: 900;
  font-size: var(--wb-ts-lg);
  transition: border-color 180ms var(--wb-ease), background 180ms var(--wb-ease);
}
.wb-cp-map a:hover {
  border-color: var(--wb-primary);
  background: rgba(5,150,105,0.04);
}
.wb-cp-map a span {
  display: block;
  font-size: var(--wb-ts-md);
  font-weight: 700;
  color: var(--wb-text-muted);
  margin-top: var(--wb-sp-2xs);
}

/* ── Compact Article Grid ── */
.wb-cp-article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--wb-sp-sm);
}
.wb-cp-article-card {
  border: 1px solid var(--wb-border);
  border-radius: var(--wb-radius);
  background: var(--wb-surface);
  overflow: hidden;
}
.wb-cp-article-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}
.wb-cp-article-card > div {
  padding: var(--wb-sp-md);
}
.wb-cp-article-card span {
  color: var(--wb-primary);
  font-weight: 900;
  font-size: var(--wb-ts-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.wb-cp-article-card h3 {
  margin: var(--wb-sp-xs) 0;
  font-size: var(--wb-ts-lg);
  line-height: 1.25;
}
.wb-cp-article-card p {
  color: var(--wb-text-muted);
  font-size: var(--wb-ts-md);
  margin: 0;
}

/* ── Responsive for cockpit homepage ── */
@media (max-width: 900px) {
  .wb-cp-3col,
  .wb-cp-controls,
  .wb-cp-article-grid {
    grid-template-columns: 1fr 1fr;
  }
  .wb-cp-metrics,
  .wb-cp-gauges {
    grid-template-columns: repeat(2, 1fr);
  }
  .wb-cp-split,
  .wb-cp-split-reverse,
  .wb-cp-trust {
    grid-template-columns: 1fr;
  }
  .wb-cp-map {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 620px) {
  .wb-cp-3col,
  .wb-cp-controls,
  .wb-cp-article-grid,
  .wb-cp-map {
    grid-template-columns: 1fr;
  }
  .wb-cp-metrics {
    grid-template-columns: 1fr 1fr;
  }
  .wb-cp-gauges {
    grid-template-columns: 1fr 1fr;
  }
  .wb-cp-hero-top {
    flex-direction: column;
  }
}

/* ═══════════════════════════════════════════════════════════════
   COCKPIT / HUD MOTION SYSTEM
   ═══════════════════════════════════════════════════════════════ */

/* ── HUD Grid Overlay ──────────────────────────────────────────── */
.wb-hud-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background:
    linear-gradient(rgba(5,150,105,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(5,150,105,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 20%, transparent 70%);
}

/* ── Radar Sweep ───────────────────────────────────────────────── */
@keyframes wb-radar-sweep {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.wb-radar {
  position: absolute;
  right: -30px;
  bottom: -30px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 1px solid rgba(5,150,105,0.10);
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(circle, rgba(5,150,105,0.03) 0%, transparent 70%);
}
.wb-radar::before {
  content: '';
  position: absolute;
  inset: 30%;
  border-radius: 50%;
  border: 1px solid rgba(5,150,105,0.07);
}
.wb-radar-arm {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 50%;
  height: 2px;
  transform-origin: left center;
  animation: wb-radar-sweep 6s linear infinite;
  background: linear-gradient(90deg, rgba(5,150,105,0.35), transparent);
}

/* ── Instrument Gauge Circle ───────────────────────────────────── */
.wb-gauge-circle {
  width: 64px;
  height: 64px;
  transform: rotate(-90deg);
  flex-shrink: 0;
}
.wb-gauge-arc {
  transition: stroke-dashoffset 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ── Split-Text HUD Reveal ─────────────────────────────────────── */
.wb-char {
  display: inline-block;
  opacity: 0;
  transition: opacity 60ms ease;
}
[data-wb-split].wb-split-visible .wb-char {
  opacity: 1;
}

/* ── Flight Path Lines ─────────────────────────────────────────── */
.wb-flight-line {
  position: relative;
  height: 48px;
  pointer-events: none;
  margin: 0 auto;
  width: 2px;
  background: linear-gradient(to bottom, rgba(5,150,105,0.14), rgba(5,150,105,0.03));
}
.wb-flight-line::before,
.wb-flight-line::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(5,150,105,0.18);
}
.wb-flight-line::before { top: -3px; }
.wb-flight-line::after  { bottom: -3px; }

/* ── 3D Card Tilt ──────────────────────────────────────────────── */
.wb-tilt-card,
.wb-article-card,
.wb-tool-tile {
  transition: transform 260ms var(--wb-ease), box-shadow 260ms var(--wb-ease), background 180ms var(--wb-ease);
  will-change: transform;
}

/* ── Staggered Reveals ─────────────────────────────────────────── */
.wb-stagger-item {
  opacity: 0;
  transform: translateX(-18px);
  transition: opacity 500ms var(--wb-ease), transform 500ms var(--wb-ease);
}
.wb-stagger-item.wb-stagger-visible {
  opacity: 1;
  transform: translateX(0);
}

/* ── Custom Scrollbar ──────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--wb-primary); border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: var(--wb-primary-dark); }
html { scrollbar-width: thin; scrollbar-color: var(--wb-primary) transparent; }

/* ── Selection ─────────────────────────────────────────────────── */
::selection { background: var(--wb-primary); color: #fff; }
::-moz-selection { background: var(--wb-primary); color: #fff; }

/* ── Body Noise Grain ──────────────────────────────────────────── */
body.wb-body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.02;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

/* ── Reduced Motion Override for Cockpit System ────────────────── */
@media (prefers-reduced-motion: reduce) {
  .wb-radar-arm { animation: none; }
  .wb-char { opacity: 1; transition: none; }
  .wb-stagger-item { opacity: 1; transform: none; transition: none; }
  .wb-gauge-arc { transition: none; }
  .wb-hud-grid { display: none; }
  .wb-radar { display: none; }
  .wb-flight-line { display: none; }
  body.wb-body::before { display: none; }
}
