/* SYNDICATE SELLER — ECLIPSE / VOID / The Don design system.
   Pure SVG vectors + compositor-only GPU animations (transform & opacity). */

:root {
  --void-art: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201200%20700%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22o%22%20x1%3D%220%22%20x2%3D%221%22%20y1%3D%221%22%20y2%3D%220%22%3E%3Cstop%20stop-color%3D%22%23a7adca%22%20stop-opacity%3D%22.04%22%2F%3E%3Cstop%20offset%3D%22.52%22%20stop-color%3D%22%23e6e9fa%22%20stop-opacity%3D%22.6%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%238188ac%22%20stop-opacity%3D%22.08%22%2F%3E%3C%2FlinearGradient%3E%3Cpattern%20id%3D%22grid%22%20width%3D%2248%22%20height%3D%2248%22%20patternUnits%3D%22userSpaceOnUse%22%3E%3Cpath%20d%3D%22M48%200H0V48%22%20fill%3D%22none%22%20stroke%3D%22%23b6c0e5%22%20stroke-opacity%3D%22.08%22%2F%3E%3C%2Fpattern%3E%3C%2Fdefs%3E%3Cg%20fill%3D%22%23e6e9fa%22%3E%3Ccircle%20cx%3D%221070%22%20cy%3D%22126%22%20r%3D%221.2%22%20opacity%3D%220.25%22%2F%3E%3Ccircle%20cx%3D%22648%22%20cy%3D%22196%22%20r%3D%220.8%22%20opacity%3D%220.5%22%2F%3E%3Ccircle%20cx%3D%22260%22%20cy%3D%22462%22%20r%3D%221.4%22%20opacity%3D%220.5%22%2F%3E%3Ccircle%20cx%3D%22928%22%20cy%3D%22184%22%20r%3D%221.1%22%20opacity%3D%220.55%22%2F%3E%3Ccircle%20cx%3D%22825%22%20cy%3D%22590%22%20r%3D%221.4%22%20opacity%3D%220.7%22%2F%3E%3Ccircle%20cx%3D%22313%22%20cy%3D%22184%22%20r%3D%220.8%22%20opacity%3D%220.7%22%2F%3E%3Ccircle%20cx%3D%221036%22%20cy%3D%22139%22%20r%3D%221.4%22%20opacity%3D%220.35%22%2F%3E%3Ccircle%20cx%3D%221176%22%20cy%3D%22187%22%20r%3D%221.1%22%20opacity%3D%220.75%22%2F%3E%3Ccircle%20cx%3D%22832%22%20cy%3D%2249%22%20r%3D%220.8%22%20opacity%3D%220.35%22%2F%3E%3Ccircle%20cx%3D%22995%22%20cy%3D%22647%22%20r%3D%221.5%22%20opacity%3D%220.75%22%2F%3E%3Ccircle%20cx%3D%22493%22%20cy%3D%22284%22%20r%3D%221.4%22%20opacity%3D%220.7%22%2F%3E%3Ccircle%20cx%3D%221033%22%20cy%3D%22228%22%20r%3D%221.4%22%20opacity%3D%220.7%22%2F%3E%3C%2Fg%3E%3Cpath%20d%3D%22M460%200H1200V700H460Z%22%20fill%3D%22url%28%23grid%29%22%20opacity%3D%22.45%22%2F%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22url%28%23o%29%22%3E%3Ccircle%20cx%3D%22883%22%20cy%3D%22319%22%20r%3D%22295%22%2F%3E%3Ccircle%20cx%3D%22883%22%20cy%3D%22319%22%20r%3D%22253%22%20stroke-dasharray%3D%222%208%22%2F%3E%3Cellipse%20cx%3D%22875%22%20cy%3D%22334%22%20rx%3D%22350%22%20ry%3D%22140%22%20transform%3D%22rotate%28-26%20875%20334%29%22%2F%3E%3Cellipse%20cx%3D%22875%22%20cy%3D%22334%22%20rx%3D%22330%22%20ry%3D%22167%22%20transform%3D%22rotate%2832%20875%20334%29%22%2F%3E%3C%2Fg%3E%3Cg%20fill%3D%22%23e8ebff%22%3E%3Ccircle%20cx%3D%22588%22%20cy%3D%22319%22%20r%3D%223%22%2F%3E%3Ccircle%20cx%3D%22883%22%20cy%3D%2224%22%20r%3D%223%22%2F%3E%3Ccircle%20cx%3D%221074%22%20cy%3D%22545%22%20r%3D%222.2%22%2F%3E%3Cpath%20d%3D%22M883%2064Q888%2088%20912%2093Q888%2098%20883%20122Q878%2098%20854%2093Q878%2088%20883%2064Z%22%20opacity%3D%22.9%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
  --prism-cells: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22560%22%20height%3D%22336%22%20viewBox%3D%220%200%20560%20336%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23c5cada%22%20stroke-opacity%3D%22.14%22%3E%3Cpath%20d%3D%22M0%200H560V336H0Z%20M112%200V336%20M224%200V336%20M336%200V336%20M448%200V336%20M0%20112H560%20M0%20224H560%22%2F%3E%3C%2Fg%3E%3Cg%20fill%3D%22%23b5b9c8%22%20fill-opacity%3D%22.09%22%3E%3Cpath%20d%3D%22M112%20112h112v112H112z%20M336%20224h112v112H336z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
  --bg: #040507;
  --side: #080b12;
  --panel: #0f1420;
  --surface: #111623;
  --surface-2: #171f31;
  --field-bg: #090d16;
  --line: rgba(147, 168, 207, 0.22);
  --border: rgba(147, 168, 207, 0.22);
  --white: #f0f3fb;
  --muted: #9da8bf;
  --accent: #dce4f7;
  --accent-ink: #0a0f1c;
  --accent-soft: rgba(210, 222, 248, 0.12);
  --red: var(--accent);
  --green: #69d19b;
  --brand-word: #bfcbe3;
  --header-bg: rgba(8, 11, 18, 0.88);
  --card-bg: radial-gradient(ellipse at 100% 0%, rgba(120, 142, 183, 0.16), transparent 68%), linear-gradient(138deg, #161e2e, #0c101a 65%, #111928);
  --card-hover-border: rgba(212, 223, 255, 0.44);
  --grid-line: rgba(196, 216, 255, 0.045);
}

html[data-accent="eclipse"] {
  --accent: #dce4f7;
  --accent-ink: #0a0f1c;
  --accent-soft: rgba(210, 222, 248, 0.12);
  --red: var(--accent);
}
html[data-accent="red"] {
  --accent: #ff4c58;
  --accent-ink: #ffffff;
  --accent-soft: rgba(255, 76, 88, 0.14);
  --red: var(--accent);
}
html[data-accent="blue"] {
  --accent: #5ba4ff;
  --accent-ink: #ffffff;
  --accent-soft: rgba(91, 164, 255, 0.14);
  --red: var(--accent);
}
html[data-accent="violet"] {
  --accent: #a68eff;
  --accent-ink: #ffffff;
  --accent-soft: rgba(166, 142, 255, 0.14);
  --red: var(--accent);
}

/* DAYLIGHT (matching light architecture, not naive color inversion) */
html[data-theme="light"] {
  color-scheme: light;
  --bg: #e9eef6;
  --side: #edf2fa;
  --panel: #ffffff;
  --surface: #f8faff;
  --surface-2: #eaf0fa;
  --field-bg: #f3f6fc;
  --line: rgba(132, 154, 192, 0.34);
  --border: rgba(159, 178, 211, 0.36);
  --white: #172338;
  --muted: #536581;
  --accent: #3d547c;
  --accent-ink: #ffffff;
  --accent-soft: rgba(61, 84, 124, 0.11);
  --red: var(--accent);
  --green: #257d54;
  --brand-word: #50678b;
  --header-bg: rgba(243, 247, 251, 0.92);
  --card-bg: radial-gradient(ellipse at 100% 0%, rgba(189, 204, 234, 0.55), transparent 68%), linear-gradient(145deg, #ffffff, #ebf0fa);
  --card-hover-border: rgba(82, 111, 159, 0.52);
  --grid-line: rgba(128, 153, 193, 0.11);
}
html[data-theme="light"][data-accent="red"] { --accent: #d53647; --accent-ink: #ffffff; --red: var(--accent); }
html[data-theme="light"][data-accent="blue"] { --accent: #2565c8; --accent-ink: #ffffff; --red: var(--accent); }
html[data-theme="light"][data-accent="violet"] { --accent: #734fd0; --accent-ink: #ffffff; --red: var(--accent); }

/* Kill simple.css global killswitch selectively; restore compositor-only transitions */
body::before, .hero-image { display: none !important; }
html { scroll-behavior: smooth; }
body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  background: var(--bg);
  color: var(--white);
  overflow-x: hidden;
}

/* Lightweight fixed orbital backdrop on own GPU layer (zero scroll repaint) */
.void-backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  contain: strict;
  transform: translateZ(0);
  background-color: var(--bg);
  background-image:
    var(--void-art),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px),
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    radial-gradient(ellipse at 94% 0%, rgba(31, 45, 67, 0.85), transparent 44%),
    radial-gradient(ellipse at 4% 92%, rgba(23, 32, 48, 0.72), transparent 46%);
  background-position: top right, 0 0, 0 0, 0 0, 0 0;
  background-size: min(1200px, 100vw) auto, 46px 46px, 46px 46px, auto, auto;
  background-repeat: no-repeat, repeat, repeat, no-repeat, no-repeat;
  opacity: 0.72;
}
html[data-grid="false"] .void-backdrop {
  background-image:
    radial-gradient(ellipse at 94% 0%, rgba(31, 45, 67, 0.75), transparent 44%),
    radial-gradient(ellipse at 4% 92%, rgba(23, 32, 48, 0.65), transparent 46%);
}
html[data-theme="light"] .void-backdrop {
  background-image:
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px),
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    radial-gradient(ellipse at 100% 0%, #bfcee9, transparent 54%),
    linear-gradient(140deg, #f3f6fc, #e3ebf6);
  background-size: 46px 46px, 46px 46px, auto, auto;
  background-repeat: repeat, repeat, no-repeat, no-repeat;
  opacity: 1;
}

.app { position: relative; z-index: 1; }

/* Sidebar & Navigation */
aside {
  width: 248px;
  padding: 23px 16px;
  background: radial-gradient(ellipse at 70% 0%, rgba(29, 42, 63, 0.45), transparent 40%), linear-gradient(155deg, #0d1019, #06080e 60%, #101725) !important;
  border-right: 1px solid var(--border) !important;
  transition: transform .22s cubic-bezier(.22, 1, .36, 1) !important;
}
html[data-theme="light"] aside {
  background: linear-gradient(150deg, #fbfcff, #e0e8f5) !important;
}
.workspace {
  margin-left: 248px;
  width: calc(100% - 248px);
}
.brand {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 11px !important;
  padding: 0 4px 24px !important;
  min-height: 60px;
  letter-spacing: .06em;
}
.brand-emblem {
  width: 46px;
  height: 46px;
  flex: none;
  filter: drop-shadow(0 0 12px rgba(212, 223, 255, 0.28));
  transition: transform .24s cubic-bezier(.22, 1, .36, 1) !important;
}
.brand:hover .brand-emblem {
  transform: translate3d(0, -2px, 0) scale(1.04);
}
.brandword {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 3px;
  font-size: 16px;
  letter-spacing: .065em;
  line-height: 1;
  font-weight: 800;
  color: var(--white);
}
.spaceword {
  width: 82px;
  height: auto;
  display: block;
  color: var(--brand-word);
}
html[data-theme="light"] .brand-emblem,
html[data-theme="light"] .bar-emblem,
html[data-theme="light"] .mission-emblem {
  filter: brightness(.36) contrast(1.15) drop-shadow(0 2px 5px rgba(32, 52, 80, 0.22));
}

.nav-caption {
  font-size: 11px !important;
  letter-spacing: .14em !important;
  color: var(--muted) !important;
  padding: 0 10px !important;
}
nav a {
  min-height: 42px;
  padding: 10px 12px;
  border-radius: 9px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 550;
  margin-bottom: 4px;
  transition: transform .16s ease, background-color .16s ease, color .16s ease !important;
}
nav a:hover {
  background: rgba(160, 179, 224, 0.08) !important;
  color: var(--white) !important;
  transform: translate3d(2px, 0, 0);
}
nav a.active {
  background: linear-gradient(100deg, rgba(186, 201, 240, 0.17), rgba(59, 77, 116, 0.14)) !important;
  color: var(--white) !important;
  box-shadow: inset 3px 0 var(--accent), inset 0 1px rgba(244, 247, 255, 0.12) !important;
}
html[data-theme="light"] nav a.active {
  background: linear-gradient(100deg, #c3d2eb, #e4ebf7) !important;
  color: #1f395e !important;
}
nav a.active svg { color: var(--accent); }
.nav-divider { background: var(--border) !important; margin: 16px 8px !important; }
.side-link {
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-weight: 600;
  transition: border-color .18s ease, color .18s ease, transform .18s ease !important;
}
.side-link:hover {
  border-color: var(--card-hover-border);
  color: var(--white);
  transform: translate3d(0, -1px, 0);
}

/* Header Appbar */
header {
  height: 70px !important;
  background: var(--header-bg) !important;
  border-bottom: 1px solid var(--border) !important;
  padding: 0 28px !important;
  position: sticky;
  top: 0;
  z-index: 15;
}
@media (min-width: 851px) {
  header { backdrop-filter: blur(8px) !important; -webkit-backdrop-filter: blur(8px) !important; }
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0;
  font-size: 13px;
  color: var(--muted);
}
.bar-emblem {
  width: 24px;
  height: 24px;
  margin-right: 10px;
  opacity: .78;
  flex: none;
}
.breadcrumb b { color: var(--white); font-weight: 650; }
.connection-pill {
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  border-radius: 9px;
  padding: 7px 11px;
}
.connection-pill i {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
}
.connection-pill.online i {
  background: var(--green);
}
.connection-pill.online i::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1.5px solid var(--green);
  animation: beaconPulse 2.4s cubic-bezier(.22, 1, .36, 1) infinite;
}

/* Main Content */
main {
  max-width: 1480px !important;
  padding: 30px 28px 54px !important;
}
.page-heading h1 {
  font-size: 33px !important;
  font-weight: 720 !important;
  letter-spacing: -.045em !important;
}
.page-heading p {
  font-size: 14px !important;
  color: var(--muted) !important;
}

/* Elevated Metallic / Glass Surfaces + Paint Containment */
.panel,
.metric,
.rule-card,
.studio-intro,
.studio-stats > div,
.plugin-banner,
.plugin-library-card,
.plugin-workspace,
.plugin-tab-panel,
.plugin-guide article,
.plugin-install,
.status-bar,
.quick-grid > button,
.storage-card,
.order-row,
.chat-layout {
  background: var(--card-bg) !important;
  border: 1px solid var(--border) !important;
  border-radius: 14px !important;
  box-shadow: inset 0 1px rgba(244, 247, 255, 0.08), 0 8px 24px rgba(0, 0, 0, 0.22) !important;
  contain: layout style;
  transition: border-color .18s ease, transform .18s cubic-bezier(.22, 1, .36, 1) !important;
}
html[data-theme="light"] .panel,
html[data-theme="light"] .metric,
html[data-theme="light"] .rule-card,
html[data-theme="light"] .studio-intro,
html[data-theme="light"] .studio-stats > div,
html[data-theme="light"] .plugin-banner,
html[data-theme="light"] .plugin-library-card,
html[data-theme="light"] .plugin-workspace,
html[data-theme="light"] .plugin-tab-panel,
html[data-theme="light"] .plugin-guide article,
html[data-theme="light"] .plugin-install,
html[data-theme="light"] .status-bar,
html[data-theme="light"] .quick-grid > button,
html[data-theme="light"] .storage-card,
html[data-theme="light"] .order-row,
html[data-theme="light"] .chat-layout {
  box-shadow: inset 0 1px #ffffff, 0 6px 20px rgba(67, 92, 130, 0.11) !important;
}

.panel:hover,
.rule-card:hover,
.quick-grid > button:hover,
.plugin-library-card:hover {
  border-color: var(--card-hover-border) !important;
}
.quick-grid > button:hover {
  transform: translate3d(0, -2px, 0);
}
.quick-grid svg { color: var(--accent); }

/* Staggered atmospheric tints on top metric cards (ECLIPSE signature) */
.metrics .metric:nth-child(2),
.finance-metrics .metric:nth-child(2) {
  background: radial-gradient(ellipse at 100% 0%, rgba(104, 126, 220, 0.22), transparent 74%), linear-gradient(140deg, #1a2034, #0c101b) !important;
}
.metrics .metric:nth-child(3),
.finance-metrics .metric:nth-child(3) {
  background: radial-gradient(ellipse at 100% 0%, rgba(107, 155, 175, 0.2), transparent 74%), linear-gradient(140deg, #18262f, #0c131a) !important;
}
.metrics .metric:nth-child(4),
.finance-metrics .metric:nth-child(4) {
  background: radial-gradient(ellipse at 100% 0%, rgba(154, 139, 197, 0.22), transparent 74%), linear-gradient(140deg, #22263a, #11131e) !important;
}
html[data-theme="light"] .metrics .metric:nth-child(2),
html[data-theme="light"] .finance-metrics .metric:nth-child(2) {
  background: radial-gradient(ellipse at 100% 0%, #c5cdeb, transparent 72%), linear-gradient(145deg, #fff, #edf0fa) !important;
}
html[data-theme="light"] .metrics .metric:nth-child(3),
html[data-theme="light"] .finance-metrics .metric:nth-child(3) {
  background: radial-gradient(ellipse at 100% 0%, #c0dde4, transparent 72%), linear-gradient(145deg, #fff, #e8f3f6) !important;
}
html[data-theme="light"] .metrics .metric:nth-child(4),
html[data-theme="light"] .finance-metrics .metric:nth-child(4) {
  background: radial-gradient(ellipse at 100% 0%, #d5cbe9, transparent 72%), linear-gradient(145deg, #fff, #f0eef8) !important;
}
.finance-primary { border-color: var(--accent) !important; }
.finance-primary strong { color: var(--accent); }
.metric strong { font-variant-numeric: tabular-nums; }

/* MISSION ORBITAL BANNER on #overview */
.mission {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 210px;
  min-height: 205px;
  padding: 28px 30px;
  margin-bottom: 18px;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 70% 50%, rgba(64, 83, 124, 0.42), transparent 60%),
    linear-gradient(120deg, #151d2d, #0b101b 65%, #1a283d);
  box-shadow: inset 0 1px rgba(232, 239, 255, 0.13), 0 14px 36px rgba(0, 0, 0, 0.3);
  contain: layout style paint;
}
.mission::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(211, 224, 255, 0.07) 1px, transparent 1px),
    linear-gradient(rgba(211, 224, 255, 0.07) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(90deg, transparent, #000);
}
html[data-theme="light"] .mission {
  background: radial-gradient(ellipse at 74% 50%, #bacbea, transparent 66%), linear-gradient(120deg, #fff, #e4ecf9 70%, #cddbf0);
  box-shadow: inset 0 1px #fff, 0 8px 30px rgba(89, 111, 149, 0.16);
}
.mission-copy { z-index: 2; position: relative; }
.mission-label {
  font-size: 11px;
  letter-spacing: .18em;
  color: #bbc9e3;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}
html[data-theme="light"] .mission-label { color: #536b91; }
.mission-label .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  position: relative;
}
.mission-label .dot::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1.5px solid var(--green);
  animation: beaconPulse 2.4s ease-out infinite;
}
.mission-label span { opacity: .6; }
.mission h2 {
  font-size: clamp(24px, 2.5vw, 36px);
  font-weight: 720;
  letter-spacing: -.04em;
  line-height: 1.15;
  margin: 12px 0 8px;
  color: var(--white);
}
.mission h2 span { color: var(--accent); }
.mission p { color: var(--muted); font-size: 14px; max-width: 520px; line-height: 1.55; margin: 0; }
.mission-actions { display: flex; gap: 9px; margin-top: 18px; flex-wrap: wrap; }

/* GPU-composited orbital rings */
.mission-orbit {
  position: absolute;
  right: 15%;
  top: 50%;
  transform: translate3d(0, -50%, 0);
  height: 250px;
  width: 370px;
  display: grid;
  place-items: center;
  z-index: -1;
  color: #d3e1ff;
  opacity: .9;
  pointer-events: none;
  contain: layout style paint;
}
html[data-theme="light"] .mission-orbit { color: #758bb1; }
.mission-emblem {
  height: 118px;
  width: 118px;
  filter: drop-shadow(0 0 22px rgba(209, 221, 255, 0.36));
  animation: emblemFloat 6s ease-in-out infinite;
  will-change: transform;
}
.mission-orbit .orbit-ring {
  position: absolute;
  border-radius: 50%;
  transform: none;
  will-change: transform;
}
.mission-orbit .ring-one {
  inset: 15% 9%;
  border: 1px solid rgba(187, 207, 255, 0.42);
  animation: orbitA 36s linear infinite;
}
.mission-orbit .ring-two {
  inset: 25% 4%;
  border: 1px dashed rgba(187, 207, 255, 0.24);
  animation: orbitB 48s linear infinite reverse;
}
.mission-orbit .ring-three {
  inset: 7% 24%;
  border: 1px solid rgba(187, 207, 255, 0.19);
  animation: orbitC 62s linear infinite;
}
html[data-theme="light"] .mission-orbit .orbit-ring { border-color: rgba(123, 145, 183, 0.42); }
.orbit-point {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #e6eeff;
  box-shadow: 0 0 10px #e6eeff;
}
.orbit-point.point-a { top: 22%; left: 24%; }
.orbit-point.point-b { right: 16%; bottom: 26%; }
html[data-theme="light"] .orbit-point { background: #5978a9; box-shadow: 0 0 8px rgba(85, 121, 190, 0.3); }
.orbital-code {
  position: absolute;
  bottom: 24px;
  right: 15px;
  font-size: 9px;
  letter-spacing: .2em;
  opacity: .6;
}

.mission-status {
  align-self: center;
  justify-self: end;
  width: 180px;
  padding: 16px 18px;
  border-radius: 12px;
  border: 1px solid rgba(169, 192, 236, 0.24);
  background: rgba(8, 13, 24, 0.78);
  z-index: 2;
}
html[data-theme="light"] .mission-status {
  background: rgba(247, 250, 255, 0.88);
  border-color: rgba(159, 177, 211, 0.42);
}
.mission-status > span { font-size: 10px; letter-spacing: .14em; color: var(--muted); font-weight: 700; }
.mission-status strong { display: block; font-size: 32px; line-height: 1.1; margin: 7px 0; color: var(--white); font-variant-numeric: tabular-nums; }
.mission-status strong small { font-size: 18px; font-weight: 500; color: var(--muted); }
.mission-status > small { font-size: 11px; color: var(--muted); display: block; }
.mission-meter { display: flex; gap: 4px; margin: 11px 0; }
.mission-meter i { flex: 1; height: 4px; border-radius: 8px; background: rgba(130, 148, 182, 0.25); }
.mission-meter i.on { background: var(--accent); box-shadow: 0 0 6px var(--accent-soft); }

/* Buttons with compositor-only sheen */
.button, .login-button {
  position: relative;
  overflow: hidden;
  border-radius: 10px !important;
  background: rgba(255, 255, 255, 0.055) !important;
  border: 1px solid rgba(180, 198, 232, 0.26) !important;
  color: var(--white) !important;
  transition: transform .15s ease, background-color .16s ease, border-color .16s ease !important;
}
html[data-theme="light"] .button,
html[data-theme="light"] .login-button {
  background: #ffffff !important;
  border-color: rgba(132, 153, 184, 0.36) !important;
  color: #21344f !important;
}
.button:hover, .login-button:hover {
  background: rgba(186, 202, 235, 0.14) !important;
  border-color: var(--card-hover-border) !important;
  transform: translate3d(0, -1px, 0);
}
html[data-theme="light"] .button:hover,
html[data-theme="light"] .login-button:hover {
  background: #f0f5fc !important;
}
.button:active { transform: translate3d(0, 1px, 0) !important; }

.button.primary,
.button.primary:hover,
.button.primary:focus-visible {
  background: linear-gradient(130deg, #f0f3ff 0%, #b4bfd8 52%, #e0e6f6 100%) !important;
  border-color: #e4eaff !important;
  color: #0b101c !important;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.65), 0 6px 22px rgba(178, 194, 255, 0.16) !important;
}
.button.primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.42) 50%, transparent 70%);
  transform: translate3d(-120%, 0, 0);
  transition: transform .48s cubic-bezier(.22, 1, .36, 1) !important;
  pointer-events: none;
}
.button.primary:hover::after {
  transform: translate3d(120%, 0, 0);
}
html[data-accent="red"] .button.primary,
html[data-accent="red"] .button.primary:hover,
html[data-accent="blue"] .button.primary,
html[data-accent="blue"] .button.primary:hover,
html[data-accent="violet"] .button.primary,
html[data-accent="violet"] .button.primary:hover,
html[data-theme="light"] .button.primary,
html[data-theme="light"] .button.primary:hover {
  background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 78%, #0c1220)) !important;
  border-color: var(--accent) !important;
  color: var(--accent-ink) !important;
}

.sales-period button.selected,
.finance-tabs button.selected {
  background: var(--accent) !important;
  border-color: var(--accent) !important;
  color: var(--accent-ink) !important;
  font-weight: 700;
}

/* Charts & Inputs */
.chart-bar {
  fill: var(--accent);
  transform-origin: center bottom;
  transition: opacity .15s ease !important;
}
.chart-bar:hover { opacity: .82; }
.chart-line { stroke: var(--accent) !important; }
.appearance-trigger {
  border-color: var(--border) !important;
  background: rgba(255, 255, 255, 0.04) !important;
}
.swatch.eclipse {
  background: linear-gradient(135deg, #f2f5ff, #8c9bb8);
}

/* Modals & Toast */
dialog {
  background: var(--surface) !important;
  border: 1px solid var(--card-hover-border) !important;
  border-radius: 16px !important;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.65) !important;
}
dialog[open] {
  animation: modalIn .18s cubic-bezier(.22, 1, .36, 1);
}
dialog::backdrop {
  background: rgba(4, 6, 11, 0.72) !important;
  backdrop-filter: blur(4px) !important;
}
.toast {
  background: var(--surface-2) !important;
  border-color: var(--card-hover-border) !important;
}
.toast.visible {
  animation: toastIn .2s cubic-bezier(.22, 1, .36, 1);
}

/* Route transition only when route changes (.route-enter added by app.js) */
main.route-enter > * {
  animation: viewFadeUp .22s cubic-bezier(.22, 1, .36, 1) both;
}
main.route-enter > *:nth-child(2) { animation-delay: .03s; }
main.route-enter > *:nth-child(3) { animation-delay: .06s; }
main.route-enter > *:nth-child(4) { animation-delay: .09s; }

/* Keyframes (STRICTLY transform + opacity only!) */
@keyframes orbitA {
  from { transform: rotate(-26deg); }
  to { transform: rotate(334deg); }
}
@keyframes orbitB {
  from { transform: rotate(29deg); }
  to { transform: rotate(389deg); }
}
@keyframes orbitC {
  from { transform: rotate(56deg); }
  to { transform: rotate(416deg); }
}
@keyframes emblemFloat {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -5px, 0); }
}
@keyframes beaconPulse {
  0% { transform: scale(1); opacity: .7; }
  75%, 100% { transform: scale(2.2); opacity: 0; }
}
@keyframes viewFadeUp {
  from { opacity: .05; transform: translate3d(0, 7px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(.97) translate3d(0, 6px, 0); }
  to { opacity: 1; transform: scale(1) translate3d(0, 0, 0); }
}
@keyframes toastIn {
  from { opacity: 0; transform: translate3d(0, 10px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

/* Responsive */
@media (max-width: 1150px) {
  aside { width: 214px; }
  .workspace { margin-left: 214px; width: calc(100% - 214px); }
  .mission-orbit { right: 8%; opacity: .55; }
}
@media (max-width: 850px) {
  .mission { grid-template-columns: 1fr; padding: 22px; min-height: 0; }
  .mission-orbit { right: -30px; opacity: .28; }
  .mission-status { display: none; }
}
@media (max-width: 800px) {
  .workspace { margin-left: 0; width: 100%; }
  aside { width: 236px; }
}
@media (max-width: 520px) {
  .bar-emblem { display: none; }
  header { padding: 0 14px !important; }
  main { padding: 20px 14px 36px !important; }
  .mission { padding: 18px 16px; }
  .mission h2 { font-size: 24px; }
}

/* ==========================================================================
   WELCOME LANDING (#landing) + SHELL TRANSITIONS + STATISTICS ANIMATIONS
   ========================================================================== */

[hidden] { display: none !important; }
.landing, .app { position: relative; z-index: 1; }
.shell-enter {
  animation: shellFadeIn .28s cubic-bezier(.22, 1, .36, 1) both;
}

.landing {
  min-height: 100vh;
  overflow-x: clip;
  color: var(--white);
}
.landing .wrap {
  width: min(1280px, calc(100% - 64px));
  margin: auto;
}
.landing-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--header-bg);
  border-bottom: 1px solid var(--border);
  height: auto !important;
  padding: 0 !important;
}
@media (min-width: 851px) {
  .landing-header { backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
}
.landing-nav {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.landing-brand {
  padding: 0 !important;
  min-height: 0 !important;
}
.landing-links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 14px;
  color: var(--muted);
}
.landing-links a {
  padding: 6px 2px;
  transition: color .16s ease, transform .16s ease;
}
.landing-links a:hover {
  color: var(--white);
  transform: translate3d(0, -1px, 0);
}
.landing-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.landing-theme {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
}
.landing-theme:hover { color: var(--white); border-color: var(--card-hover-border); }
.landing .ico, .landing-header .ico { width: 17px; height: 17px; flex: none; }

/* Landing Hero */
.hero {
  position: relative;
  display: block;
  min-height: 0;
  padding: 58px 0 42px;
  margin-bottom: 0;
  border: 0;
  border-radius: 0;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(ellipse at 79% 32%, rgba(38, 51, 78, 0.58), rgba(18, 25, 37, 0.25) 36%, transparent 66%),
    radial-gradient(ellipse at 14% 72%, rgba(20, 24, 38, 0.52), transparent 50%);
}
html[data-theme="light"] .hero {
  background:
    radial-gradient(ellipse at 82% 30%, rgba(191, 206, 233, 0.8), rgba(226, 233, 245, 0.35) 40%, transparent 68%),
    radial-gradient(ellipse at 10% 90%, rgba(200, 212, 232, 0.7), transparent 50%);
}
.hero::after {
  content: "";
  position: absolute;
  left: -10%;
  width: 120%;
  height: 250px;
  top: 72%;
  transform-origin: center top;
  transform: perspective(380px) rotateX(58deg);
  background-image:
    linear-gradient(90deg, rgba(196, 204, 229, 0.14) 1px, transparent 1px),
    linear-gradient(rgba(196, 204, 229, 0.14) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(ellipse at 68% 10%, #000 10%, transparent 72%);
  pointer-events: none;
  z-index: -1;
}
html[data-theme="light"] .hero::after {
  background-image:
    linear-gradient(90deg, rgba(99, 125, 168, 0.18) 1px, transparent 1px),
    linear-gradient(rgba(99, 125, 168, 0.18) 1px, transparent 1px);
}
.hero-intro {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr);
  gap: 36px;
  align-items: center;
  min-height: 510px;
}
.hero-copy { position: relative; z-index: 2; }
.landing .eyebrow {
  font-size: 11px;
  letter-spacing: .13em;
  text-transform: uppercase;
  font-weight: 700;
  color: #b6c2dc;
  display: flex;
  align-items: center;
  gap: 9px;
}
html[data-theme="light"] .landing .eyebrow { color: #536581; }
.landing .eyebrow .dot {
  width: 7px !important;
  height: 7px !important;
  border-radius: 50%;
  display: inline-block;
  flex: none;
  background: var(--accent) !important;
}
.dot.green { background: var(--green) !important; }
.hero-brand {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 16px;
  row-gap: 5px;
  margin: 22px 0 20px;
  width: max-content;
  max-width: 100%;
  align-items: center;
}
.hero-emblem {
  width: 72px;
  height: 72px;
  grid-row: 1 / 3;
  filter: drop-shadow(0 0 14px rgba(212, 223, 255, 0.34));
  animation: emblemFloat 6s ease-in-out infinite;
}
html[data-theme="light"] .hero-emblem {
  filter: brightness(.36) contrast(1.15) drop-shadow(0 2px 6px rgba(32, 52, 80, 0.25));
}
.hero-name {
  font-size: clamp(26px, 3.4vw, 48px);
  line-height: .95;
  letter-spacing: .05em;
  font-weight: 800;
  background: linear-gradient(160deg, #fff 8%, #dae1f3 53%, #8998b6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
html[data-theme="light"] .hero-name {
  background: linear-gradient(155deg, #111c31, #3a4c6b 57%, #7183a2);
  -webkit-background-clip: text;
  background-clip: text;
}
.hero-brand .spaceword { width: clamp(125px, 15vw, 215px); }
.hero-intro h1 {
  font-size: clamp(44px, 5vw, 76px);
  margin: 0 0 20px;
  line-height: 1.02;
  letter-spacing: -.06em;
  font-weight: 740;
  background: linear-gradient(165deg, #fff 10%, #eef0fa 45%, #929cb8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-intro h1 span { color: #bdc7e1; }
html[data-theme="light"] .hero-intro h1 {
  background: linear-gradient(155deg, #111c31, #3a4c6b 57%, #7183a2);
  -webkit-background-clip: text;
  background-clip: text;
}
html[data-theme="light"] .hero-intro h1 span { color: #5d729a; }
.hero-lead {
  font-size: 17px;
  line-height: 1.62;
  max-width: 540px;
  color: var(--muted);
  margin: 0;
}
.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.hero-note {
  font-size: 12px;
  color: var(--muted);
  margin-top: 12px;
}

.hero-orbital {
  position: absolute;
  right: -6%;
  top: 0;
  width: 60%;
  height: 100%;
  pointer-events: none;
  color: #e1e7f6;
  opacity: .8;
  z-index: 0;
  display: grid;
  place-items: center;
}
html[data-theme="light"] .hero-orbital { color: #768bb0; }
.hero-orbital svg { width: 100%; height: auto; }
.hero-orb-a { transform-origin: 360px 270px; animation: orbSpinSlow 55s linear infinite; }
.hero-orb-b { transform-origin: 360px 270px; animation: orbSpinSlow 72s linear infinite reverse; }

/* 3D Preview Card */
.preview-frame {
  position: relative;
  z-index: 2;
  padding: 8px;
  border-radius: 18px;
  border: 1px solid rgba(236, 241, 255, 0.52);
  background: linear-gradient(130deg, rgba(217, 225, 242, 0.78), rgba(111, 129, 155, 0.22) 25%, rgba(186, 201, 230, 0.45) 70%, #eef5ff);
  box-shadow: 0 0 22px rgba(226, 237, 255, 0.14), 0 26px 70px rgba(0, 0, 0, 0.55);
  transform: perspective(1500px) rotateY(-8deg) rotateX(3.5deg);
  transition: transform .35s cubic-bezier(.22, 1, .36, 1);
  will-change: transform;
}
.preview-frame:hover {
  transform: perspective(1500px) rotateY(-3deg) rotateX(1deg) translate3d(0, -4px, 0);
}
html[data-theme="light"] .preview-frame {
  background: linear-gradient(140deg, #fff, #a9bad9 50%, #f7faff);
  border-color: #fff;
  box-shadow: 0 25px 65px rgba(82, 107, 156, 0.24), 0 0 20px #fff;
}
.preview {
  height: 360px;
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(145deg, #191f2c, #080a10 78%);
  position: relative;
  text-align: left;
}
html[data-theme="light"] .preview {
  background: linear-gradient(150deg, #f8faff, #e4ebf6);
  color: #1d2c44;
}
.previewaside {
  border-right: 1px solid rgba(169, 184, 223, 0.14);
  padding: 15px 10px;
  background: rgba(10, 13, 20, 0.65);
}
html[data-theme="light"] .previewaside {
  background: linear-gradient(150deg, #f8faff, #e4ebf6);
  border-color: rgba(159, 178, 211, 0.35);
}
.previewaside .brand { padding: 0 2px 14px !important; gap: 7px !important; min-height: 0 !important; }
.previewaside .brand-emblem { width: 26px; height: 26px; }
.previewaside .brandword { font-size: 10px; gap: 2px; }
.previewaside .spaceword { width: 52px; }
.mini-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 9px;
  color: var(--muted);
  font-size: 11px;
  border-radius: 7px;
  margin-bottom: 2px;
}
.mini-nav.active { background: rgba(170, 185, 224, 0.18); color: var(--white); }
.mini-nav .ico { width: 13px; height: 13px; }
.previewmain { padding: 18px; min-width: 0; }
.previewtop { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.previewtop h3 { font-size: 17px; margin: 0; }
.previewtop .status { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; color: var(--muted); }
.preview-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.preview-metrics .metric { min-height: 0 !important; padding: 11px 10px !important; border-radius: 9px !important; }
.preview-metrics .metric label { font-size: 10px; color: var(--muted); display: block; }
.preview-metrics .metric strong { font-size: 19px !important; margin: 4px 0 2px; }
.preview-metrics .metric small { font-size: 9px !important; color: var(--green); }
.mini-chart {
  margin-top: 10px;
  padding: 11px 13px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.03);
}
.mini-chart header {
  height: auto !important;
  padding: 0 !important;
  background: none !important;
  border: 0 !important;
  position: static !important;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
}
.mini-chart header span { color: var(--muted); }
.mini-chart svg { display: block; width: 100%; height: 112px; margin-top: 8px; }
.preview-spline {
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
  animation: chartLineDraw 1.1s cubic-bezier(.22, 1, .36, 1) .2s backwards;
}
html[data-theme="light"] .preview-spline { stroke: #526f9f; }
.live-toast {
  position: absolute;
  right: 12px;
  bottom: 12px;
  background: rgba(17, 22, 35, 0.94);
  border: 1px solid rgba(186, 200, 236, 0.28);
  padding: 9px 12px;
  border-radius: 9px;
  display: flex;
  gap: 9px;
  align-items: center;
  font-size: 11px;
  animation: emblemFloat 5s ease-in-out infinite;
}
html[data-theme="light"] .live-toast { background: #f7faff; color: #23344c; border-color: rgba(129, 150, 183, 0.35); }
.live-toast .check { background: rgba(105, 209, 155, 0.16); color: var(--green); padding: 6px; border-radius: 50%; display: grid; place-items: center; }
.live-toast strong { display: block; font-size: 11px; }
.live-toast span { color: var(--muted); font-size: 10px; }

/* Demo Lab & Landing Sections */
.landing-lab-wrap { padding: 8px 0 28px; }
.demo-lab {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 24px;
  background: var(--card-bg);
}
.lab-status { display: flex; gap: 10px; align-items: center; }
.lab-status h3 { font-size: 16px; margin: 0; }
.lab-status .dot { background: var(--accent); transition: background-color .2s ease; }
.lab-status.running .dot { background: #e8b34a; animation: beaconPulse 1s ease-out infinite; }
.lab-status.done .dot { background: var(--green); }
.demo-lab p { font-size: 13px; color: var(--muted); margin: 5px 0 0; }

.strip {
  border-block: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  padding: 18px 0;
}
.strip .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted);
}
.strip strong { color: var(--white); }

.landing-section { padding: 72px 0; }
.landing-section h2 {
  font-size: clamp(30px, 3.8vw, 50px);
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: 1.08;
  margin: 12px 0 14px;
}
.landing-section .intro { max-width: 560px; color: var(--muted); font-size: 16px; line-height: 1.6; }

.featuregrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 34px;
}
.feature {
  position: relative;
  overflow: hidden;
  padding: 28px 24px;
  border: 1px solid var(--border);
  border-radius: 15px;
  background: var(--card-bg);
  transition: transform .22s cubic-bezier(.22, 1, .36, 1), border-color .22s ease;
}
.feature::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 55%;
  height: 100%;
  background-image: var(--prism-cells);
  background-size: 320px auto;
  opacity: .36;
  mask-image: linear-gradient(135deg, transparent 20%, #000 100%);
  pointer-events: none;
}
.feature:hover {
  transform: translate3d(0, -4px, 0);
  border-color: var(--card-hover-border);
}
.feature .ficon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(175, 192, 234, 0.24);
  border-radius: 10px;
  background: rgba(164, 178, 212, 0.1);
  color: var(--accent);
}
.feature h3 { font-size: 19px; margin: 20px 0 8px; }
.feature p { font-size: 14px; color: var(--muted); line-height: 1.6; margin: 0; }

.work {
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.workflow {
  border: 1px solid var(--border);
  border-radius: 15px;
  padding: 24px;
  background: var(--card-bg);
}
.flowline { display: flex; gap: 14px; align-items: center; position: relative; margin-bottom: 18px; }
.flowline:last-child { margin-bottom: 0; }
.flowline:not(:last-child)::after {
  content: "";
  position: absolute;
  height: 18px;
  width: 1px;
  left: 19px;
  top: 42px;
  background: var(--border);
}
.flowicon {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  border: 1px solid rgba(175, 192, 234, 0.24);
  background: rgba(164, 178, 212, 0.1);
  color: var(--accent);
  flex: none;
}
.flowline b { display: block; font-size: 14px; }
.flowline p { font-size: 13px; color: var(--muted); margin: 2px 0 0; }
.flowline .right { margin-left: auto; font-size: 12px; color: var(--green); font-weight: 700; }

.cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 34px 36px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--card-bg);
  margin-bottom: 58px;
}
.cta h2 { font-size: clamp(24px, 3vw, 32px); margin: 0; letter-spacing: -.035em; }
.cta p { color: var(--muted); margin: 6px 0 0; font-size: 14px; }

.landing-footer {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  color: var(--muted);
  font-size: 13px;
}
.landing-footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

/* Staggered Hero & IntersectionObserver Scroll Reveal */
.hero-stagger-1 { animation: viewFadeUp .38s cubic-bezier(.22, 1, .36, 1) .02s both; }
.hero-stagger-2 { animation: viewFadeUp .40s cubic-bezier(.22, 1, .36, 1) .08s both; }
.hero-stagger-3 { animation: viewFadeUp .42s cubic-bezier(.22, 1, .36, 1) .14s both; }
.hero-stagger-4 { animation: viewFadeUp .44s cubic-bezier(.22, 1, .36, 1) .20s both; }
.hero-stagger-5 { animation: viewFadeUp .46s cubic-bezier(.22, 1, .36, 1) .26s both; }

.landing-reveal.will-reveal {
  opacity: .04;
  transform: translate3d(0, 18px, 0);
  transition: opacity .45s cubic-bezier(.22, 1, .36, 1), transform .45s cubic-bezier(.22, 1, .36, 1);
}
.landing-reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* Statistics (#stats) Card Wave & SVG Chart Animations */
.route-enter .finance-metrics .metric {
  animation: viewFadeUp .34s cubic-bezier(.22, 1, .36, 1) both;
}
.route-enter .finance-metrics .metric:nth-child(2) { animation-delay: 20ms; }
.route-enter .finance-metrics .metric:nth-child(3) { animation-delay: 40ms; }
.route-enter .finance-metrics .metric:nth-child(4) { animation-delay: 60ms; }
.route-enter .finance-metrics .metric:nth-child(5) { animation-delay: 80ms; }
.route-enter .finance-metrics .metric:nth-child(6) { animation-delay: 100ms; }
.route-enter .finance-metrics .metric:nth-child(7) { animation-delay: 120ms; }
.route-enter .finance-metrics .metric:nth-child(8) { animation-delay: 140ms; }
.route-enter .finance-metrics .metric:nth-child(n+9) { animation-delay: 160ms; }
.finance-metrics .metric:hover {
  transform: translate3d(0, -2px, 0);
  border-color: var(--card-hover-border) !important;
}

.chart-bar {
  transform-box: fill-box;
  transform-origin: 50% 100%;
  animation: chartBarRise .42s cubic-bezier(.22, 1, .36, 1) calc(var(--i, 0) * 14ms) both;
}
.chart-line {
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
  animation: chartLineDraw .58s cubic-bezier(.22, 1, .36, 1) backwards;
}
.chart-dot {
  transform-box: fill-box;
  transform-origin: center;
  animation: dotPop .28s cubic-bezier(.22, 1, .36, 1) calc(var(--i, 0) * 18ms) both;
}
.sale-row,
.finance-table tbody tr {
  transition: background-color .15s ease;
}
.sale-row:hover,
.finance-table tbody tr:hover {
  background-color: rgba(160, 179, 224, 0.055);
}

@keyframes shellFadeIn {
  from { opacity: .05; transform: translate3d(0, 6px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes orbSpinSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes chartBarRise {
  from { opacity: .25; transform: scaleY(0.06); }
  to { opacity: 1; transform: scaleY(1); }
}
@keyframes chartLineDraw {
  from { stroke-dashoffset: 1; }
  to { stroke-dashoffset: 0; }
}
@keyframes dotPop {
  from { opacity: 0; transform: scale(0.35); }
  to { opacity: 1; transform: scale(1); }
}

@media (max-width: 960px) {
  .hero-intro { grid-template-columns: 1fr; gap: 30px; min-height: auto; }
  .preview-frame { transform: none; max-width: 660px; width: 100%; }
  .preview-frame:hover { transform: none; }
  .featuregrid { grid-template-columns: 1fr; }
  .work { grid-template-columns: 1fr; gap: 32px; }
  .cta { flex-direction: column; align-items: flex-start; padding: 26px; }
}
@media (max-width: 720px) {
  .landing .wrap { width: calc(100% - 32px); }
  .landing-links { display: none; }
  .landing-nav { height: 70px; }
  .hero { padding: 34px 0 28px; }
  .preview { grid-template-columns: 1fr; height: 295px; }
  .previewaside, .live-toast { display: none; }
  .demo-lab { flex-direction: column; align-items: flex-start; }
  .landing-section { padding: 48px 0; }
  .landing-actions .button:not(.primary) { display: none; }
}
@media (max-width: 520px) {
  .hero-brand { grid-template-columns: 52px 1fr; column-gap: 12px; }
  .hero-emblem { width: 52px; height: 52px; }
  .hero-intro h1 { font-size: 40px; }
  .preview-metrics .metric strong { font-size: 15px !important; }
}
html[data-motion="false"] .landing-reveal { opacity: 1; transform: none; }
html[data-motion="false"] *,
html[data-motion="false"] *::before,
html[data-motion="false"] *::after {
  animation: none !important;
  transition: none !important;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .landing-reveal { opacity: 1; transform: none; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
