/* ==========================================================================
   AI 100 · Business System Panorama
   Deep-blue blueprint. Pure HTML/CSS/JS. No external assets or fonts.
   ========================================================================== */

:root {
  color-scheme: dark;
  --bg: #050b16;
  --bg-deep: #030811;
  --panel: #0a1628;
  --panel-2: #0d1c31;
  --panel-3: #11233a;
  --text: #eef6ff;
  --muted: #9db2c9;
  --dim: #718aa5;
  --border: rgba(105, 167, 214, 0.18);
  --border-strong: rgba(111, 196, 236, 0.36);
  --cyan: #5fe3f2;
  --blue: #4f8dff;
  --green: #6ee7b7;
  --amber: #ffc66e;
  --violet: #b79cff;
  --danger: #ff9b8a;
  --accent: var(--cyan);
  --accent-soft: rgba(95, 227, 242, 0.11);
  --shell: 1200px;
  --radius: 14px;
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 15px/1.8 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
h1, h2, h3, h4, p, dl, dd, dt, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
::selection { background: #1c5b86; color: #fff; }
[hidden] { display: none !important; }

.shell { width: min(var(--shell), calc(100% - 96px)); margin: auto; }
.mono {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1.5;
}
.skip-link {
  position: fixed;
  top: -120px;
  left: 20px;
  z-index: 90;
  padding: 12px 18px;
  background: #fff;
  color: #101010;
  border-radius: 4px;
  font-size: 13px;
  transition: top 0.15s ease;
}
.skip-link:focus { top: 14px; }

a:focus-visible,
button:focus-visible,
input:focus-visible + .module-check {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}
button:focus:not(:focus-visible) { outline: none; }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 11, 22, 0.86);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: background 0.2s ease, border-color 0.2s ease;
}
.site-header.is-scrolled { background: rgba(5, 11, 22, 0.97); border-bottom-color: var(--border); }
.header-inner {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand { display: flex; align-items: center; gap: 12px; white-space: nowrap; flex-shrink: 0; }
.brand > span { font-size: 19px; font-weight: 750; letter-spacing: 0.04em; line-height: 1.25; }
.brand small {
  display: block;
  margin-top: 4px;
  color: #6e91b6;
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.17em;
}
.header-nav { display: flex; align-items: center; gap: 26px; margin-left: auto; font-size: 12.5px; color: #a9bad0; }
.header-nav a { padding: 6px 0; border-bottom: 1px solid transparent; transition: color 0.2s ease, border-color 0.2s ease; }
.header-nav a:hover { color: var(--cyan); border-bottom-color: rgba(95, 227, 242, 0.55); }
.header-action {
  flex-shrink: 0;
  padding: 8px 14px;
  border: 1px solid #29466b;
  border-radius: 5px;
  background: #101e32;
  font-size: 11.5px;
  color: #c8d9eb;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.header-action span { margin-left: 8px; color: var(--cyan); }
.header-action:hover { background: #172b45; border-color: #3e6b99; }

/* --------------------------------------------------------------------------
   Buttons and shared type
   -------------------------------------------------------------------------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.45;
  text-align: center;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.button:hover { transform: translateY(-2px); }
.button.primary {
  background: linear-gradient(112deg, #2c78ed, #2058c4);
  border-color: #5895e9;
  box-shadow: 0 8px 30px rgba(31, 96, 206, 0.2);
}
.button.primary:hover { background: linear-gradient(112deg, #4289f7, #2a67d8); }
.button.ghost { background: #0f1b2c; border-color: #29415f; color: #cbd9e9; }
.button.ghost:hover { background: #172940; border-color: #3e658e; }
.button span { color: var(--cyan); font-size: 12px; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.17em;
  line-height: 1.6;
  color: #75b8dc;
}
.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 11px rgba(95, 227, 242, 0.68);
}
.section { position: relative; padding: 92px 0; border-top: 1px solid rgba(105, 167, 214, 0.09); }
.section-head { max-width: 760px; margin: 0 auto 42px; text-align: center; }
.section-head-left { margin-left: 0; margin-right: auto; text-align: left; }
.section-head .eyebrow { justify-content: center; margin-bottom: 14px; }
.section-head-left .eyebrow { justify-content: flex-start; }
.section-head h2 {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.section-head > p:last-child { margin-top: 14px; font-size: 14px; line-height: 1.95; color: var(--muted); }
.noscript-note {
  margin: 0 0 30px;
  padding: 13px 16px;
  border: 1px solid rgba(255, 198, 110, 0.28);
  border-radius: 6px;
  background: rgba(255, 198, 110, 0.07);
  color: #e8c992;
  font-size: 12px;
  line-height: 1.8;
}
.noscript-inline { padding: 14px; color: #e8c992; font-size: 11px; line-height: 1.8; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 82px 0 78px;
  background:
    radial-gradient(ellipse at 80% 10%, rgba(28, 94, 181, 0.22), transparent 55%),
    radial-gradient(ellipse at 8% 44%, rgba(31, 72, 155, 0.14), transparent 58%),
    linear-gradient(180deg, #06101f, #050b16);
}
.hero-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(96, 161, 207, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(96, 161, 207, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(#000 15%, transparent 94%);
  -webkit-mask-image: linear-gradient(#000 15%, transparent 94%);
}
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(95, 227, 242, 0.38), transparent);
}
.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: 64px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(40px, 5.2vw, 68px);
  font-weight: 760;
  line-height: 1.18;
  letter-spacing: -0.045em;
}
.hero h1 span {
  display: inline-block;
  background: linear-gradient(112deg, #75a7ff 4%, #7eecf5 58%, #91ffe1);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lead { margin-top: 24px; max-width: 620px; font-size: clamp(18px, 1.8vw, 23px); line-height: 1.65; color: #dce8f7; }
.hero-desc { margin-top: 15px; max-width: 640px; font-size: 13.5px; line-height: 1.95; color: var(--muted); }
.hero-values { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 24px; }
.hero-values li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  border: 1px solid rgba(105, 167, 214, 0.19);
  border-radius: 4px;
  background: rgba(13, 28, 49, 0.62);
  font-size: 11px;
  color: #b7cce1;
}
.hero-values span { font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.08em; color: var(--cyan); }
.hero-meta { display: flex; flex-wrap: wrap; gap: 30px; margin-top: 30px; }
.hero-meta > div { display: flex; flex-direction: column; gap: 1px; padding-left: 16px; border-left: 1px solid var(--border); }
.hero-meta > div:first-child { padding-left: 0; border-left: 0; }
.hero-meta .metric { margin: 0; font-size: 10.5px; line-height: 1.7; color: var(--dim); }
.hero-meta .metric-num { margin-right: 4px; font-family: var(--mono); font-size: 24px; font-weight: 500; line-height: 1.3; letter-spacing: 0.01em; color: #dcecff; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.blueprint-card {
  position: relative;
  overflow: hidden;
  border: 1px solid #274563;
  border-radius: 12px;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(37, 131, 188, 0.14), transparent 50%),
    linear-gradient(145deg, #0e1e32, #081322 72%);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.36), 0 0 70px rgba(20, 103, 196, 0.09);
}
.blueprint-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
}
.blueprint-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 15px 18px;
  border-bottom: 1px solid var(--border);
  background: rgba(18, 36, 58, 0.44);
  font-size: 10.5px;
  color: #b9cde2;
}
.blueprint-head .status-dot { margin-right: 7px; }
.blueprint-head .mono { font-size: 8px; color: #6f92b4; }
.blueprint-body { padding: 16px 18px 0; }
.mini-chain { position: relative; display: grid; gap: 7px; }
.mini-chain li {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 8px 9px;
  border: 1px solid rgba(105, 167, 214, 0.12);
  border-radius: 5px;
  background: rgba(8, 19, 34, 0.55);
}
.mini-chain li.is-planned { border-style: dashed; border-color: rgba(255, 198, 110, 0.28); background: rgba(255, 198, 110, 0.035); }
.mini-index { font-family: var(--mono); font-size: 8px; color: #6286a8; }
.mini-chain b { display: block; font-size: 12px; font-weight: 600; line-height: 1.4; color: #dceafa; }
.mini-chain small { display: block; font-size: 9.5px; line-height: 1.5; color: #7793ad; }
.mini-chain em {
  font-family: var(--mono);
  font-size: 8px;
  font-style: normal;
  letter-spacing: 0.06em;
  color: var(--cyan);
  white-space: nowrap;
}
.mini-chain li.is-planned em { color: var(--amber); }
.blueprint-foot {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin: 14px -18px 0;
  padding: 11px 18px;
  border-top: 1px solid var(--border);
  background: rgba(5, 13, 24, 0.55);
  font-size: 9.5px;
  color: #7e99b3;
}
.blueprint-foot .mono { font-size: 7.5px; color: #587997; white-space: nowrap; }

/* --------------------------------------------------------------------------
   Panorama
   -------------------------------------------------------------------------- */

.panorama {
  background:
    radial-gradient(ellipse at 18% 0%, rgba(24, 84, 139, 0.12), transparent 48%),
    linear-gradient(180deg, #07111f, #050b16);
}
.panorama-panel {
  overflow: hidden;
  border: 1px solid #23415d;
  border-radius: var(--radius);
  background:
    linear-gradient(rgba(86, 147, 191, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(86, 147, 191, 0.035) 1px, transparent 1px),
    radial-gradient(ellipse at 70% 0%, rgba(32, 118, 172, 0.12), transparent 48%),
    #081525;
  background-size: 36px 36px, 36px 36px, auto, auto;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.26);
}
.panorama-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  background: rgba(8, 18, 32, 0.74);
  color: #88a7c2;
}
.legend { display: flex; flex-wrap: wrap; align-items: center; gap: 15px; font-size: 9.5px; color: #7994ad; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend-node, .legend-line, .legend-dash { display: inline-block; width: 18px; height: 7px; border: 1px solid #4c88b7; border-radius: 2px; }
.legend-line { height: 0; border: 0; border-top: 1px solid #4fadd1; }
.legend-dash { height: 0; border: 0; border-top: 1px dashed var(--amber); }

.upstream-support {
  display: grid;
  grid-template-columns: minmax(0, 280px) 48px minmax(0, 1fr);
  align-items: center;
  gap: 0;
  padding: 20px 20px 4px;
}
.support-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 13px 14px;
  border: 1px solid rgba(183, 156, 255, 0.35);
  border-radius: 6px;
  background: linear-gradient(135deg, rgba(46, 35, 76, 0.7), rgba(18, 29, 47, 0.8));
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.support-card:hover, .support-card.is-active { border-color: var(--violet); background: rgba(55, 41, 91, 0.78); }
.support-card .mono { font-size: 8px; color: #b9a3ef; }
.support-card b { font-size: 13px; color: #eadfff; }
.support-card small { font-size: 10px; color: #a291c9; }
.support-spine { position: relative; height: 1px; background: linear-gradient(90deg, rgba(183, 156, 255, 0.6), rgba(95, 227, 242, 0.5)); }
.support-spine::before, .support-spine::after {
  content: "";
  position: absolute;
  top: -3px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--violet);
  box-shadow: 0 0 10px rgba(183, 156, 255, 0.55);
}
.support-spine::before { left: 0; }
.support-spine::after { right: 0; background: var(--cyan); box-shadow: 0 0 10px rgba(95, 227, 242, 0.55); }
.support-targets { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 7px; padding-left: 20px; }
.support-targets span {
  padding: 3px 8px;
  border: 1px solid rgba(95, 227, 242, 0.24);
  border-radius: 3px;
  font-family: var(--mono);
  font-size: 9px;
  color: #a8e5ee;
  background: rgba(95, 227, 242, 0.06);
}
.support-targets small { flex-basis: 100%; margin-top: 1px; font-size: 9px; color: #718ba4; }

.chain-scroll { padding: 24px 20px 10px; }
.chain {
  display: grid;
  grid-template-columns:
    minmax(0, 1fr) 42px minmax(0, 1fr) 42px minmax(0, 1fr) 42px
    minmax(0, 1fr) 42px minmax(0, 1fr) 42px minmax(0, 1fr) 42px minmax(0, 1fr);
  align-items: stretch;
}
.chain-node {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 4px;
  min-width: 0;
  min-height: 148px;
  padding: 28px 11px 12px;
  border: 1px solid rgba(85, 145, 189, 0.36);
  border-radius: 7px;
  background:
    linear-gradient(160deg, rgba(19, 43, 69, 0.94), rgba(9, 21, 37, 0.94));
  text-align: left;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.chain-node::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 10px;
  right: 10px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
}
.chain-node:hover, .chain-node:focus-visible, .chain-node.is-active {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28), 0 0 26px var(--accent-soft);
  background: linear-gradient(160deg, rgba(22, 51, 81, 0.98), rgba(10, 24, 42, 0.98));
}
.chain-node.is-linked { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent-soft), 0 0 26px var(--accent-soft); }
.node-num { font-family: var(--mono); font-size: 8px; line-height: 1.4; letter-spacing: 0.06em; color: var(--accent); }
.chain-node b { font-size: 11.5px; font-weight: 650; line-height: 1.45; color: #e4f0ff; overflow-wrap: anywhere; }
.chain-node small { font-size: 9px; line-height: 1.45; color: #809ab2; overflow-wrap: anywhere; }
.chain-node.is-planned { border-style: dashed; border-color: rgba(255, 198, 110, 0.36); background: rgba(38, 30, 16, 0.28); }
.chain-node.is-planned::before { background: linear-gradient(90deg, var(--amber), transparent); }
.chain-node.is-planned b { color: #f1d6a8; }
.chain-node.is-planned small { color: #b28f60; }
.chain-node.is-planned:hover, .chain-node.is-planned.is-active { border-color: var(--amber); box-shadow: 0 0 26px rgba(255, 198, 110, 0.12); }
.chain-node.is-planned .node-num { color: var(--amber); }

.chain-link {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-width: 0;
  min-height: 148px;
  padding: 55px 0 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.chain-link .link-line { position: relative; display: block; width: 100%; height: 1px; margin-top: 17px; background: linear-gradient(90deg, rgba(82, 164, 211, 0.4), rgba(95, 227, 242, 0.75)); }
.chain-link .link-line::after {
  content: "";
  position: absolute;
  top: -3px;
  right: -1px;
  width: 6px;
  height: 6px;
  border-top: 1px solid var(--cyan);
  border-right: 1px solid var(--cyan);
  transform: rotate(45deg);
}
.chain-link .link-line.is-dashed { background: repeating-linear-gradient(90deg, rgba(255, 198, 110, 0.7) 0 4px, transparent 4px 8px); }
.chain-link .link-line.is-dashed::after { border-color: var(--amber); }
.chain-link .link-object {
  position: absolute;
  top: 68px;
  left: 50%;
  width: 38px;
  transform: translateX(-50%);
  font-family: var(--mono);
  font-size: 7.5px;
  line-height: 1.4;
  text-align: center;
  letter-spacing: -0.01em;
  color: #6e8ca7;
}
.chain-link:hover .link-line, .chain-link:focus-visible .link-line { background: var(--cyan); box-shadow: 0 0 12px rgba(95, 227, 242, 0.45); }
.chain-link:hover .link-object, .chain-link:focus-visible .link-object, .chain-link.is-active .link-object { color: #b6ebf3; }
.chain-link.is-active .link-line { background: var(--cyan); box-shadow: 0 0 12px rgba(95, 227, 242, 0.45); }
.chain-link.is-static { cursor: default; }
.chain-link.is-static .link-line { background: repeating-linear-gradient(90deg, rgba(107, 150, 184, 0.36) 0 4px, transparent 4px 8px); }
.chain-link.is-static .link-line::after { border-color: #5d819e; }

.chain-supports { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 4px 20px 0; }
.support-row, .office-rail {
  display: grid;
  grid-template-columns: auto minmax(0, auto) minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-width: 0;
  padding: 11px 13px;
  border: 1px solid rgba(105, 167, 214, 0.15);
  border-radius: 5px;
  background: rgba(10, 23, 39, 0.7);
  text-align: left;
}
.support-row { cursor: pointer; transition: border-color 0.2s ease, background 0.2s ease; }
.support-row:hover, .support-row:focus-visible, .support-row.is-active { border-color: rgba(95, 227, 242, 0.48); background: rgba(16, 38, 59, 0.9); }
.support-row .mono { font-size: 7.5px; color: #5f809d; }
.support-row b, .office-rail b { font-size: 10.5px; font-weight: 600; color: #c6dded; white-space: nowrap; }
.support-row > span:last-child, .office-rail > span:last-child { font-size: 9.5px; line-height: 1.55; color: #7793ad; }
.office-rail { border-style: dashed; border-color: rgba(110, 231, 183, 0.24); }
.office-rail .mono { font-size: 7.5px; color: #6da78f; }
.office-rail b { color: #bfe8d5; }

.object-map {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 18px 20px 0;
  padding: 11px 13px;
  border: 1px dashed rgba(105, 167, 214, 0.2);
  border-radius: 5px;
  background: rgba(6, 15, 27, 0.48);
}
.object-map > .mono { flex-shrink: 0; font-size: 8px; color: #5f7f9c; }
.object-map ul { display: flex; flex-wrap: wrap; gap: 7px; }
.object-map li { padding: 2px 8px; border: 1px solid rgba(95, 227, 242, 0.18); border-radius: 2px; font-size: 9.5px; color: #9edce5; background: rgba(95, 227, 242, 0.045); }
.boundary-note {
  margin: 14px 20px 0;
  padding: 10px 13px;
  border-left: 2px solid rgba(255, 198, 110, 0.5);
  background: rgba(255, 198, 110, 0.035);
  font-size: 10.5px;
  line-height: 1.75;
  color: #b6a184;
}
.boundary-note strong { color: #e3c18b; }

.flow-detail { margin-top: 18px; padding: 20px; border-top: 1px solid var(--border); background: rgba(5, 13, 24, 0.6); }
.flow-detail-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 13px; }
.flow-detail-head .mono { font-size: 8px; color: #5f809d; }
.flow-detail-head h3 { margin-top: 2px; font-size: 18px; font-weight: 650; line-height: 1.4; color: #e4f2ff; }
.detail-state { flex-shrink: 0; padding: 3px 9px; border: 1px solid rgba(95, 227, 242, 0.2); border-radius: 2px; font-size: 9px; color: #87b8c7; background: rgba(95, 227, 242, 0.05); }
.flow-cards { display: grid; gap: 9px; }
.flow-card { padding: 13px 15px; border: 1px solid rgba(105, 167, 214, 0.13); border-radius: 5px; background: rgba(12, 26, 44, 0.65); }
.flow-card.is-active { border-color: rgba(95, 227, 242, 0.4); background: rgba(15, 37, 57, 0.86); box-shadow: inset 2px 0 var(--cyan); }
.flow-pair { font-family: var(--mono); font-size: 9px; letter-spacing: 0.04em; color: var(--cyan); }
.flow-card h4 { margin-top: 2px; font-size: 14px; font-weight: 650; color: #e0effc; }
.flow-card p:not(.flow-pair) { margin-top: 4px; font-size: 12px; line-height: 1.8; color: #9cb1c7; }
.flow-card > span { display: block; margin-top: 7px; font-size: 9px; line-height: 1.5; color: #6d8aa4; }
.js .flow-card { display: none; }
.js .flow-card.is-active { display: block; }

/* --------------------------------------------------------------------------
   Business flow
   -------------------------------------------------------------------------- */

.flow-section { background: #06101e; }
.business-flow {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
  align-items: stretch;
}
.business-flow li {
  position: relative;
  min-width: 0;
  padding: 19px 14px 16px;
  border: 1px solid rgba(105, 167, 214, 0.16);
  border-radius: 7px;
  background: linear-gradient(160deg, rgba(15, 31, 50, 0.8), rgba(8, 18, 31, 0.88));
}
.business-flow li::after {
  content: "";
  position: absolute;
  top: 32px;
  right: -8px;
  width: 5px;
  height: 5px;
  border-top: 1px solid #4f94ba;
  border-right: 1px solid #4f94ba;
  transform: rotate(45deg);
  z-index: 1;
}
.business-flow li:last-child::after { display: none; }
.business-flow li.is-planned { border-style: dashed; border-color: rgba(255, 198, 110, 0.3); background: rgba(36, 29, 18, 0.35); }
.flow-num { display: block; font-family: var(--mono); font-size: 8px; letter-spacing: 0.06em; color: var(--cyan); }
.business-flow h3 { margin-top: 7px; font-size: 14px; font-weight: 650; line-height: 1.45; color: #deecfa; }
.business-flow p { margin-top: 7px; font-size: 10.5px; line-height: 1.75; color: #859eb5; }
.business-flow small { display: block; margin-top: 11px; padding-top: 8px; border-top: 1px solid rgba(105, 167, 214, 0.12); font-size: 9px; line-height: 1.6; color: #6d8ba5; }
.business-flow li.is-planned .flow-num, .business-flow li.is-planned h3 { color: #e6c68f; }
.business-flow li.is-planned small { color: #9b845f; }

/* --------------------------------------------------------------------------
   Lifecycle topology
   -------------------------------------------------------------------------- */

.lifecycle {
  background:
    radial-gradient(ellipse at 10% 10%, rgba(76, 57, 124, 0.1), transparent 42%),
    #071120;
}
.lifecycle-board { display: grid; gap: 11px; }
.life-layer {
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr);
  border: 1px solid rgba(105, 167, 214, 0.16);
  border-radius: 9px;
  background: rgba(8, 19, 34, 0.72);
  overflow: hidden;
}
.life-layer > header {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  padding: 18px 16px;
  border-right: 1px solid rgba(105, 167, 214, 0.13);
  background: rgba(13, 29, 48, 0.72);
}
.layer-num { flex-shrink: 0; font-family: var(--mono); font-size: 9px; color: #6093b7; }
.life-layer h3 { font-size: 14px; font-weight: 650; line-height: 1.45; color: #dcecff; }
.life-layer header p { margin-top: 4px; font-size: 10px; line-height: 1.65; color: #7f9ab2; }
.life-flow { display: flex; align-items: stretch; gap: 7px; min-width: 0; padding: 13px; }
.life-task, .life-node {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  min-width: 0;
  padding: 9px 10px;
  border: 1px solid rgba(105, 167, 214, 0.14);
  border-radius: 5px;
  background: rgba(12, 27, 45, 0.78);
  text-align: left;
}
.life-task b, .life-node b { font-size: 10.5px; font-weight: 600; line-height: 1.45; color: #d4e6f7; overflow-wrap: anywhere; }
.life-task small, .life-node small { font-size: 8.5px; line-height: 1.5; color: #7894ad; overflow-wrap: anywhere; }
.life-node { position: relative; border-color: rgba(95, 227, 242, 0.24); cursor: pointer; transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease; }
.life-node::before { content: ""; position: absolute; top: 0; left: 8px; right: 8px; height: 1px; background: linear-gradient(90deg, var(--accent), transparent); }
.life-node:hover, .life-node:focus-visible, .life-node.is-linked { border-color: var(--accent); background: rgba(17, 39, 62, 0.94); transform: translateY(-2px); }
.life-node.is-linked { box-shadow: 0 0 18px var(--accent-soft); }
.life-node.is-planned { border-style: dashed; border-color: rgba(255, 198, 110, 0.3); background: rgba(35, 28, 17, 0.35); cursor: default; }
.life-node.is-planned::before { background: linear-gradient(90deg, var(--amber), transparent); }
.life-node.is-planned b { color: #edd0a3; }
.life-node.is-planned small { color: #a88960; }
.life-arrow { display: flex; flex: 0 0 14px; align-items: center; justify-content: center; font-size: 12px; color: #4f87a6; }
.life-arrow.is-planned { color: var(--amber); }
.tone-b2b { --accent: var(--cyan); --accent-soft: rgba(95, 227, 242, 0.11); }
.tone-erp { --accent: #7ea8ff; --accent-soft: rgba(126, 168, 255, 0.11); }
.tone-plm { --accent: var(--violet); --accent-soft: rgba(183, 156, 255, 0.11); }
.tone-aps { --accent: #6fc5ff; --accent-soft: rgba(111, 197, 255, 0.11); }
.tone-mes { --accent: #8fb7ff; --accent-soft: rgba(143, 183, 255, 0.11); }
.tone-wms { --accent: #c2a6ff; --accent-soft: rgba(194, 166, 255, 0.11); }
.tone-office { --accent: var(--green); --accent-soft: rgba(110, 231, 183, 0.1); }

.handoff-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
.handoff-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  padding: 14px 14px 12px;
  border: 1px solid rgba(105, 167, 214, 0.16);
  border-radius: 6px;
  background: rgba(11, 25, 42, 0.7);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.handoff-card:hover, .handoff-card:focus-visible, .handoff-card.is-active { border-color: rgba(95, 227, 242, 0.48); background: rgba(16, 37, 57, 0.9); transform: translateY(-2px); }
.handoff-card.is-planned { border-style: dashed; border-color: rgba(255, 198, 110, 0.3); background: rgba(37, 29, 17, 0.35); }
.handoff-card.is-planned:hover, .handoff-card.is-planned:focus-visible, .handoff-card.is-planned.is-active { border-color: var(--amber); }
.handoff-pair { font-family: var(--mono); font-size: 8px; letter-spacing: 0.03em; color: var(--cyan); }
.handoff-card.is-planned .handoff-pair { color: var(--amber); }
.handoff-card strong { font-size: 12px; font-weight: 650; line-height: 1.5; color: #d9e9f8; }
.handoff-card > span:not(.handoff-pair) { font-size: 10px; line-height: 1.7; color: #8ea6bc; }
.handoff-card small { margin-top: auto; padding-top: 7px; font-size: 8px; line-height: 1.5; color: #68849e; }
.lifecycle-status { margin-top: 13px; font-size: 10.5px; line-height: 1.7; color: #7896b0; }
.lifecycle-status.is-live { color: #9ddae4; }

/* --------------------------------------------------------------------------
   System cards
   -------------------------------------------------------------------------- */

.systems-section {
  background:
    radial-gradient(ellipse at 88% 8%, rgba(28, 94, 181, 0.11), transparent 42%),
    #050b16;
}
.system-groups { display: grid; gap: 34px; }
.system-group { min-width: 0; }
.group-head { display: flex; gap: 15px; align-items: flex-start; margin-bottom: 13px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.group-num { flex-shrink: 0; padding-top: 4px; font-family: var(--mono); font-size: 10px; color: #5c8db0; }
.group-head h3 { font-size: 19px; font-weight: 650; line-height: 1.4; color: #e4f0fd; }
.group-head p { margin-top: 2px; font-size: 11.5px; line-height: 1.7; color: #7e98b1; }
.system-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.system-grid-single { grid-template-columns: minmax(0, 1fr); }
.system-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 20px 21px 18px;
  border: 1px solid rgba(105, 167, 214, 0.17);
  border-radius: 9px;
  background:
    radial-gradient(ellipse at 100% 0%, var(--accent-soft), transparent 48%),
    linear-gradient(155deg, rgba(15, 33, 54, 0.9), rgba(7, 17, 30, 0.94));
  transition: border-color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}
.system-card::before { content: ""; position: absolute; top: 0; left: 18px; right: 18px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--accent), transparent 70%); opacity: 0.8; }
.system-card:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24); }
.card-kicker { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.card-kicker .mono { font-size: 8px; color: #6889a6; }
.card-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.system-card h4 { margin-top: 10px; font-size: 22px; font-weight: 680; line-height: 1.35; letter-spacing: -0.015em; color: #e7f2ff; overflow-wrap: anywhere; }
.system-card > p { margin-top: 8px; max-width: 520px; font-size: 12.5px; line-height: 1.85; color: #9eb2c8; }
.card-objects { margin-top: 15px; padding-top: 11px; border-top: 1px solid rgba(105, 167, 214, 0.12); }
.card-objects .mono { display: block; font-size: 7.5px; color: #5d7e9b; }
.card-objects p { margin-top: 3px; font-size: 11px; line-height: 1.65; color: #b6cde0; }
.card-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 13px; margin-top: 15px; }
.demo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 8px 13px;
  border: 1px solid rgba(95, 227, 242, 0.34);
  border-radius: 4px;
  background: rgba(95, 227, 242, 0.07);
  font-size: 11px;
  font-weight: 600;
  color: #c9f3f7;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.demo-link span { color: var(--cyan); }
.demo-link:hover { border-color: var(--cyan); background: rgba(95, 227, 242, 0.14); }
.appointment-link { font-size: 10px; color: #7996b0; border-bottom: 1px dashed rgba(121, 150, 176, 0.45); }
.appointment-link:hover { color: var(--cyan); border-bottom-color: var(--cyan); }
.planned-pill { padding: 2px 8px; border: 1px solid rgba(255, 198, 110, 0.4); border-radius: 2px; font-size: 8.5px; color: var(--amber); background: rgba(255, 198, 110, 0.08); }
.system-card.is-planned { border-style: dashed; border-color: rgba(255, 198, 110, 0.3); background: rgba(34, 28, 18, 0.34); }
.system-card.is-planned::before { background: linear-gradient(90deg, var(--amber), transparent 70%); }
.system-card.is-planned:hover { border-color: var(--amber); }
.planned-action { display: inline-block; padding: 7px 11px; border: 1px dashed rgba(255, 198, 110, 0.38); border-radius: 4px; font-size: 10px; color: #d9b77e; background: rgba(255, 198, 110, 0.045); }
.group-note { margin-top: 8px; padding-left: 13px; border-left: 2px solid rgba(183, 156, 255, 0.4); font-size: 10px; line-height: 1.75; color: #8f81aa; }
.group-note strong { color: #c1acec; }
.planned-group .group-head { border-bottom-style: dashed; }

/* --------------------------------------------------------------------------
   Configurator
   -------------------------------------------------------------------------- */

.configurator {
  background:
    radial-gradient(ellipse at 18% 5%, rgba(36, 107, 163, 0.12), transparent 44%),
    #07111f;
}
.scenario-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; margin-bottom: 20px; }
.scenario {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 19px 20px 18px;
  border: 1px solid rgba(105, 167, 214, 0.17);
  border-radius: 9px;
  background: linear-gradient(155deg, rgba(14, 31, 51, 0.86), rgba(7, 17, 30, 0.91));
}
.scenario-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.scenario-letter { display: inline-flex; align-items: center; justify-content: center; width: 25px; height: 25px; border: 1px solid rgba(95, 227, 242, 0.4); border-radius: 50%; font-family: var(--mono); font-size: 10px; color: var(--cyan); background: rgba(95, 227, 242, 0.07); }
.scenario-top .mono { font-size: 7.5px; color: #5f809e; }
.scenario h3 { margin-top: 10px; font-size: 17px; font-weight: 650; line-height: 1.45; color: #e1effd; }
.scenario-pain { margin-top: 5px; font-size: 11px; line-height: 1.75; color: #7e98b0; }
.scenario-combo { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; padding: 8px 10px; border: 1px solid rgba(95, 227, 242, 0.16); border-radius: 4px; background: rgba(95, 227, 242, 0.04); font-size: 11.5px; font-weight: 650; color: #c8edf3; }
.scenario-combo span { font-size: 8px; font-weight: 500; color: #6e9cab; }
.scenario > p:not(.scenario-pain):not(.scenario-combo):not(.scenario-api) { margin-top: 9px; font-size: 10.5px; line-height: 1.8; color: #91a8bd; }
.scenario > p strong { color: #c8dcec; font-weight: 600; }
.scenario-api { margin-top: auto; padding-top: 10px; font-size: 9.5px; line-height: 1.7; color: #748fa8; }
.scenario-api strong { color: #99b4c9; }
.scenario-apply {
  align-self: flex-start;
  margin-top: 12px;
  padding: 7px 11px;
  border: 1px solid #2c4a69;
  border-radius: 4px;
  background: #10223a;
  font-size: 10px;
  font-weight: 600;
  color: #bfe8f2;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.scenario-apply span { margin-left: 7px; color: var(--cyan); }
.scenario-apply:hover { border-color: #4f8db8; background: #17304b; }

.configurator-panel { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr); gap: 14px; align-items: start; }
.module-picker, .combo-result { min-width: 0; border: 1px solid rgba(105, 167, 214, 0.18); border-radius: 10px; background: rgba(8, 19, 33, 0.8); }
.module-picker { padding: 20px; }
.picker-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.picker-head .mono { font-size: 8px; color: #5f809e; }
.picker-head h3 { margin-top: 1px; font-size: 20px; font-weight: 650; color: #e1effd; }
.selection-count { flex-shrink: 0; padding: 3px 9px; border: 1px solid rgba(95, 227, 242, 0.2); border-radius: 2px; font-size: 9px; color: #8fcbd3; background: rgba(95, 227, 242, 0.05); }
.module-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin-top: 14px; }
.module-option {
  position: relative;
  display: grid;
  grid-template-columns: 17px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  min-width: 0;
  padding: 12px 12px 10px;
  border: 1px solid rgba(105, 167, 214, 0.15);
  border-radius: 6px;
  background: rgba(11, 26, 43, 0.72);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.module-option:hover { border-color: rgba(95, 227, 242, 0.42); background: rgba(16, 37, 57, 0.85); }
.module-option:has(input:checked) { border-color: var(--accent); background: linear-gradient(150deg, rgba(19, 46, 69, 0.95), rgba(10, 25, 42, 0.95)); box-shadow: inset 0 0 0 1px var(--accent-soft); }
.module-option input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.module-check { position: relative; display: block; width: 15px; height: 15px; margin-top: 2px; border: 1px solid #426886; border-radius: 3px; background: rgba(5, 13, 24, 0.7); }
.module-option input:checked ~ .module-check { border-color: var(--accent); background: var(--accent-soft); }
.module-option input:checked ~ .module-check::after { content: ""; position: absolute; left: 4px; top: 1px; width: 4px; height: 8px; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(42deg); }
.module-copy b { display: block; font-size: 12.5px; font-weight: 650; line-height: 1.4; color: #dcecfb; overflow-wrap: anywhere; }
.module-copy small { display: block; font-size: 9px; line-height: 1.55; color: #7895ae; }
.module-tags { grid-column: 2; display: flex; flex-wrap: wrap; gap: 4px; margin-top: 5px; }
.module-tags i { padding: 1px 5px; border: 1px solid rgba(105, 167, 214, 0.16); border-radius: 2px; font-size: 7.5px; font-style: normal; line-height: 1.45; color: #7593ad; background: rgba(6, 15, 27, 0.45); }
.module-boundary { margin-top: 12px; font-size: 9px; line-height: 1.7; color: #6e89a2; }
.picker-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.picker-actions .button { padding: 9px 13px; font-size: 10.5px; gap: 10px; }

.combo-result { position: sticky; top: 96px; overflow: hidden; }
.result-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 17px; border-bottom: 1px solid var(--border); background: rgba(13, 29, 48, 0.65); }
.result-head .mono { font-size: 8px; color: #5f809e; }
.result-badge { padding: 2px 8px; border: 1px solid rgba(95, 227, 242, 0.2); border-radius: 2px; font-size: 8.5px; color: #86cbd3; background: rgba(95, 227, 242, 0.05); }
.result-body { min-height: 250px; padding: 18px 17px; }
.result-body h3 { font-size: 20px; font-weight: 650; line-height: 1.4; color: #e4f1fe; }
.result-body > p { margin-top: 6px; font-size: 11px; line-height: 1.8; color: #8ca5bc; }
.result-modules { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 11px; }
.result-modules li { padding: 3px 8px; border: 1px solid rgba(95, 227, 242, 0.2); border-radius: 2px; font-size: 9px; color: #a9dfe7; background: rgba(95, 227, 242, 0.045); }
.result-effect { padding-top: 10px; border-top: 1px solid rgba(105, 167, 214, 0.12); }
.result-effect:empty { display: none; }
.result-boundary { margin-top: 11px !important; padding: 9px 10px; border-left: 2px solid rgba(255, 198, 110, 0.42); background: rgba(255, 198, 110, 0.035); font-size: 9px !important; line-height: 1.7 !important; color: #8f7f68 !important; }
.result-actions { display: flex; align-items: center; gap: 12px; padding: 12px 17px; border-top: 1px solid var(--border); background: rgba(6, 15, 27, 0.55); }
.text-button { padding: 0; border: 0; border-bottom: 1px dashed #587a96; background: none; font-size: 10px; color: #9dbdd3; cursor: pointer; }
.text-button:hover { color: var(--cyan); border-bottom-color: var(--cyan); }
.copy-state { font-size: 9px; color: #7fa5bd; }
.is-generated .result-badge { border-color: rgba(110, 231, 183, 0.4); color: #9fe8c8; background: rgba(110, 231, 183, 0.07); }

/* --------------------------------------------------------------------------
   Demo guide / Why / Delivery / Booking
   -------------------------------------------------------------------------- */

.demo-guide { background: #06101e; }
.demo-layout { display: grid; grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr); gap: 52px; align-items: start; }
.demo-layout .section-head { margin: 0; }
.demo-rules { display: grid; gap: 10px; }
.demo-rule { display: grid; grid-template-columns: 31px minmax(0, 1fr); gap: 12px; padding: 15px 16px; border: 1px solid rgba(105, 167, 214, 0.15); border-radius: 6px; background: rgba(10, 23, 40, 0.7); }
.demo-rule .mono { padding-top: 3px; font-size: 8px; color: #5c8db0; }
.demo-rule h3 { font-size: 13px; font-weight: 650; line-height: 1.5; color: #d9eaf9; }
.demo-rule p { margin-top: 4px; font-size: 10px; line-height: 1.75; color: #819bb3; }
.text-link { display: inline-flex; align-items: center; gap: 8px; width: fit-content; font-size: 11px; color: #95dbe5; border-bottom: 1px solid rgba(149, 219, 229, 0.35); }
.text-link span { color: var(--cyan); }
.text-link:hover { color: #fff; border-bottom-color: var(--cyan); }
.demo-rules > .text-link { margin: 2px 0 0 2px; }

.why-section {
  background:
    radial-gradient(ellipse at 78% 18%, rgba(38, 103, 147, 0.1), transparent 42%),
    #050b16;
}
.why-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.why-card { position: relative; padding: 22px 20px 20px; border: 1px solid rgba(105, 167, 214, 0.16); border-radius: 9px; background: linear-gradient(155deg, rgba(14, 32, 52, 0.8), rgba(7, 17, 30, 0.9)); }
.why-card::before { content: ""; position: absolute; top: 0; left: 20px; width: 38px; height: 2px; background: var(--cyan); }
.why-num { font-family: var(--mono); font-size: 9px; color: #5e8cac; }
.why-card h3 { margin-top: 10px; font-size: 19px; font-weight: 650; line-height: 1.4; color: #e0effd; }
.why-card p { margin-top: 10px; font-size: 11.5px; line-height: 1.9; color: #91a9bf; }
.why-card small { display: block; margin-top: 13px; padding-top: 10px; border-top: 1px solid rgba(105, 167, 214, 0.12); font-size: 9.5px; line-height: 1.7; color: #6f8ba4; }

.delivery-section { background: #071120; }
.delivery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.delivery-card { display: flex; flex-direction: column; min-width: 0; padding: 22px 20px 19px; border: 1px solid rgba(105, 167, 214, 0.17); border-radius: 9px; background: linear-gradient(155deg, rgba(15, 34, 55, 0.86), rgba(7, 17, 30, 0.91)); }
.delivery-index { font-family: var(--mono); font-size: 8px; letter-spacing: 0.08em; color: #5e8dac; }
.delivery-card h3 { margin-top: 9px; font-size: 20px; font-weight: 650; line-height: 1.4; color: #e2f0fd; }
.delivery-card > p { margin-top: 9px; font-size: 11.5px; line-height: 1.85; color: #94aac0; }
.delivery-card ul { display: grid; gap: 5px; margin-top: 13px; padding-top: 11px; border-top: 1px solid rgba(105, 167, 214, 0.12); }
.delivery-card li { position: relative; padding-left: 12px; font-size: 9.5px; line-height: 1.7; color: #7e9ab2; }
.delivery-card li::before { content: ""; position: absolute; top: 8px; left: 0; width: 4px; height: 4px; border-radius: 50%; background: #4e8aa4; }
.delivery-card small { margin-top: auto; padding-top: 12px; font-size: 9px; line-height: 1.7; color: #6c869e; }

.booking { background: linear-gradient(180deg, #07111f, #06101d); }
.booking-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: 35px;
  align-items: stretch;
  padding: 34px;
  border: 1px solid rgba(95, 227, 242, 0.24);
  border-radius: 12px;
  background:
    radial-gradient(ellipse at 12% 0%, rgba(41, 124, 176, 0.22), transparent 50%),
    linear-gradient(120deg, #0d2337, #081524 70%);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.24);
}
.booking-copy .eyebrow { margin-bottom: 13px; }
.booking-copy h2 { font-size: clamp(26px, 3.4vw, 42px); font-weight: 720; line-height: 1.28; letter-spacing: -0.03em; }
.booking-copy > p:not(.eyebrow) { margin-top: 13px; max-width: 650px; font-size: 12.5px; line-height: 1.9; color: #9eb7cc; }
.booking-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.booking-aside { display: grid; gap: 10px; align-content: center; }
.booking-aside > div { padding: 13px 14px; border: 1px solid rgba(105, 167, 214, 0.17); border-radius: 5px; background: rgba(5, 14, 25, 0.4); }
.booking-aside .mono { font-size: 7.5px; color: #5e839f; }
.booking-aside p { margin-top: 4px; font-size: 10px; line-height: 1.75; color: #89a3ba; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer { border-top: 1px solid var(--border); background: #030912; }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 34px 0; border-bottom: 1px solid var(--border); }
.footer-top .brand > span { font-size: 16px; }
.footer-top .brand small { font-size: 7px; letter-spacing: 0.13em; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 20px; font-size: 10.5px; color: #7f9ab3; }
.footer-nav a:hover { color: #b8e6ee; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 9px 13px; padding: 20px 0 24px; font-size: 9.5px; color: #68829a; }
.separator { color: #344d64; }
.footer-note { flex-basis: 100%; text-align: center; color: #5e7891; }

/* --------------------------------------------------------------------------
   Motion
   -------------------------------------------------------------------------- */

.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.62s cubic-bezier(0.22, 0.61, 0.36, 1), transform 0.62s cubic-bezier(0.22, 0.61, 0.36, 1); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1180px) {
  .shell { width: calc(100% - 64px); }
  .hero-layout { gap: 42px; }
  .header-nav { gap: 18px; font-size: 11.5px; }
  .chain-node { padding-left: 9px; padding-right: 9px; }
  .chain-node b { font-size: 10.5px; }
  .chain-link .link-object { width: 70px; font-size: 7px; }
  .life-layer { grid-template-columns: 200px minmax(0, 1fr); }
  .life-flow { gap: 5px; padding: 11px; }
  .life-task, .life-node { padding: 8px; }
  .life-task b, .life-node b { font-size: 9.5px; }
  .life-task small, .life-node small { font-size: 8px; }
  .handoff-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1000px) {
  .header-nav { display: none; }
  .hero-layout { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .blueprint-card { max-width: 620px; }
  .hero-desc { max-width: 700px; }
  .chain {
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 22px 6px;
  }
  .chain-node { min-height: 124px; padding: 25px 8px 10px; }
  .chain-node b { font-size: 10px; }
  .chain-node small { font-size: 8px; }
  .chain-link { display: none; }
  .chain-node::after {
    content: "→";
    position: absolute;
    right: -11px;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--mono);
    font-size: 10px;
    color: #4b859f;
  }
  .chain-node:last-child::after { display: none; }
  .chain-node.is-planned::after { color: var(--amber); content: "⇢"; }
  .upstream-support { grid-template-columns: minmax(0, 240px) 38px minmax(0, 1fr); }
  .life-layer { grid-template-columns: minmax(0, 1fr); }
  .life-layer > header { border-right: 0; border-bottom: 1px solid rgba(105, 167, 214, 0.13); }
  .life-flow { padding: 13px; }
  .business-flow { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .business-flow li:nth-child(4)::after { display: none; }
  .configurator-panel { grid-template-columns: minmax(0, 1fr); }
  .combo-result { position: static; }
  .demo-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .demo-layout .section-head { max-width: 680px; }
  .booking-panel { grid-template-columns: minmax(0, 1fr); }
  .booking-aside { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .section { padding: 68px 0; }
  .hero { padding: 56px 0 60px; }
  .hero h1 { font-size: clamp(36px, 7.4vw, 56px); }
  .hero-meta { gap: 20px; }
  .chain { gap: 20px 4px; }
  .chain-node { min-height: 116px; padding: 23px 6px 9px; }
  .chain-node b { font-size: 9px; line-height: 1.4; }
  .chain-node small { font-size: 7.5px; }
  .node-num { font-size: 7px; }
  .upstream-support { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .support-spine { display: none; }
  .support-targets { padding-left: 0; }
  .chain-supports { grid-template-columns: minmax(0, 1fr); }
  .support-row, .office-rail { grid-template-columns: auto minmax(0, auto); }
  .support-row > span:last-child, .office-rail > span:last-child { grid-column: 1 / -1; }
  .object-map { align-items: flex-start; }
  .object-map > .mono { padding-top: 3px; }
  .flow-detail { padding: 17px; }
  .business-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .business-flow li:nth-child(2n)::after, .business-flow li:nth-child(4)::after { display: none; }
  .handoff-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .system-grid { grid-template-columns: minmax(0, 1fr); }
  .scenario-grid { grid-template-columns: minmax(0, 1fr); }
  .why-grid, .delivery-grid { grid-template-columns: minmax(0, 1fr); }
  .booking-panel { padding: 25px; }
  .booking-aside { grid-template-columns: minmax(0, 1fr); }
  .footer-top { flex-direction: column; align-items: flex-start; gap: 20px; padding: 28px 0; }
}

@media (max-width: 620px) {
  .shell { width: calc(100% - 40px); }
  .header-inner { min-height: 68px; gap: 12px; }
  .brand > span { font-size: 16px; }
  .brand small { font-size: 7px; letter-spacing: 0.1em; }
  .brand img { width: 30px; height: 30px; }
  .header-action { padding: 7px 9px; font-size: 10px; }
  .header-action span { margin-left: 4px; }
  .hero { padding: 42px 0 52px; }
  .hero h1 { font-size: clamp(32px, 10.5vw, 46px); line-height: 1.22; letter-spacing: -0.035em; }
  .hero-lead { margin-top: 18px; font-size: 17px; }
  .hero-desc { font-size: 12.5px; line-height: 1.9; }
  .hero-values { gap: 6px; }
  .hero-values li { font-size: 9.5px; padding: 5px 8px; }
  .hero-meta { gap: 14px; margin-top: 23px; }
  .hero-meta > div { padding-left: 12px; }
  .hero-meta .metric-num { font-size: 20px; }
  .hero-meta span { font-size: 9px; }
  .hero-actions { gap: 8px; margin-top: 23px; }
  .button { padding: 10px 13px; font-size: 11px; gap: 9px; }
  .blueprint-head { padding: 12px 13px; font-size: 9px; }
  .blueprint-head .mono { font-size: 7px; }
  .blueprint-body { padding: 12px 13px 0; }
  .mini-chain li { grid-template-columns: 20px minmax(0, 1fr) auto; padding: 7px; gap: 7px; }
  .mini-chain b { font-size: 11px; }
  .mini-chain small { font-size: 8.5px; }
  .blueprint-foot { margin-left: -13px; margin-right: -13px; padding: 9px 13px; font-size: 8px; flex-wrap: wrap; }
  .blueprint-foot .mono { font-size: 6.5px; }
  .section { padding: 56px 0; }
  .section-head { margin-bottom: 28px; text-align: left; }
  .section-head .eyebrow { justify-content: flex-start; }
  .section-head h2 { font-size: 25px; }
  .section-head > p:last-child { font-size: 12.5px; }
  .panorama-toolbar { align-items: flex-start; flex-direction: column; gap: 8px; padding: 12px 14px; }
  .legend { gap: 10px; font-size: 8.5px; }
  .legend-node, .legend-line, .legend-dash { width: 13px; }
  .upstream-support { padding: 14px 14px 2px; }
  .support-card { width: 100%; }
  .chain-scroll { padding: 15px 14px 7px; }
  .chain { display: flex; flex-direction: column; gap: 17px; }
  .chain-node {
    width: 100%;
    min-height: 0;
    padding: 13px 13px 12px 42px;
    align-items: flex-start;
  }
  .chain-node .node-num { position: absolute; left: 13px; top: 14px; }
  .chain-node b { font-size: 12px; }
  .chain-node small { font-size: 9px; }
  .chain-node::after {
    content: "↓";
    right: auto;
    left: 18px;
    top: auto;
    bottom: -16px;
    transform: none;
    font-size: 11px;
  }
  .chain-node.is-planned::after { content: "⇣"; }
  .chain-supports { padding: 10px 14px 0; gap: 8px; }
  .support-row, .office-rail { grid-template-columns: minmax(0, 1fr); gap: 3px; }
  .support-row > span:last-child, .office-rail > span:last-child { grid-column: auto; }
  .object-map { margin: 13px 14px 0; padding: 10px; gap: 8px; }
  .object-map ul { gap: 4px; }
  .object-map li { font-size: 8.5px; }
  .boundary-note { margin: 11px 14px 0; font-size: 9.5px; }
  .flow-detail { padding: 14px; }
  .flow-detail-head { flex-direction: column; gap: 8px; }
  .flow-detail-head h3 { font-size: 16px; }
  .detail-state { align-self: flex-start; }
  .flow-card { padding: 11px 12px; }
  .flow-card p:not(.flow-pair) { font-size: 10.5px; }
  .business-flow { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .business-flow li { padding: 15px; }
  .business-flow li::after { top: auto; right: auto; left: 22px; bottom: -7px; transform: rotate(135deg); }
  .business-flow li:nth-child(2n)::after { display: block; }
  .business-flow li:last-child::after, .business-flow li:nth-child(7)::after { display: none; }
  .life-flow { flex-direction: column; gap: 5px; }
  .life-arrow { flex: 0 0 auto; height: 12px; transform: rotate(90deg); }
  .life-task, .life-node { width: 100%; }
  .handoff-grid { grid-template-columns: minmax(0, 1fr); }
  .group-head h3 { font-size: 18px; }
  .system-card { padding: 18px 16px 16px; }
  .system-card h4 { font-size: 20px; }
  .module-grid { grid-template-columns: minmax(0, 1fr); }
  .module-picker { padding: 16px; }
  .picker-head { align-items: flex-start; flex-direction: column; gap: 7px; }
  .picker-actions { flex-direction: column; }
  .picker-actions .button { width: 100%; }
  .module-tags i { font-size: 7px; }
  .result-body { min-height: 0; }
  .scenario { padding: 16px; }
  .demo-rule { grid-template-columns: 25px minmax(0, 1fr); padding: 13px; }
  .booking-panel { padding: 19px; }
  .booking-actions { flex-direction: column; align-items: stretch; }
  .footer-bottom { justify-content: flex-start; }
  .footer-note { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .button:hover, .system-card:hover, .chain-node:hover, .life-node:hover, .handoff-card:hover { transform: none; }
}

/* --------------------------------------------------------------------------
   Print
   -------------------------------------------------------------------------- */

@media print {
  :root { color-scheme: light; }
  .js .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  body { background: #fff; color: #111; }
  .site-header, .hero-actions, .header-action, .site-footer, .demo-guide, .configurator, .booking, .scenario-grid, .module-picker, .result-actions, .skip-link, .blueprint-card { display: none !important; }
  .section { padding: 20px 0; border-top: 1px solid #bbb; }
  .shell { width: 100%; }
  .hero { background: none; padding: 20px 0; }
  .section-head h2, .system-card h4, .why-card h3, .delivery-card h3, .flow-card h4, .life-layer h3 { color: #111; }
  .section-head > p:last-child, .system-card > p, .card-objects p, .why-card p, .delivery-card > p, .flow-card p:not(.flow-pair) { color: #333; }
  .chain-node, .system-card, .scenario, .module-picker, .combo-result, .why-card, .delivery-card, .handoff-card, .flow-card { break-inside: avoid; border-color: #aaa; background: #fff; color: #111; }
  .js .flow-card { display: block; }
  .combo-result { position: static; }
}
