:root {
  --bg: #080d10;
  --bg-deep: #05090b;
  --panel: #10181d;
  --panel-2: #142129;
  --line: #23343b;
  --line-soft: rgba(152, 179, 188, 0.16);
  --text: #f3f7f5;
  --muted: #98a5a7;
  --cyan: #35e6f2;
  --lime: #b9f34a;
  --warning: #ffb45e;
  --container: 1320px;
  --radius: 22px;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 86% 9%, rgba(53, 230, 242, 0.06), transparent 29rem),
    var(--bg);
  font-family: Inter, Manrope, "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.modal-open { overflow: hidden; }

button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  left: 18px;
  top: -80px;
  z-index: 1000;
  padding: 12px 18px;
  color: #061014;
  background: var(--lime);
  transition: top 0.2s ease;
}

.skip-link:focus { top: 18px; }

.container {
  width: min(calc(100% - 80px), var(--container));
  margin-inline: auto;
}

.section { padding: 132px 0; }

.section-grid {
  position: relative;
  overflow: hidden;
}

.section-grid::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.24;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(80, 111, 120, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(80, 111, 120, 0.1) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, transparent, black 20%, black 75%, transparent);
}

.eyebrow {
  margin: 0 0 28px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.19em;
}

h1, h2, h3, p { margin-top: 0; }

h1, h2, h3 {
  letter-spacing: -0.04em;
  text-wrap: balance;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(42px, 5.2vw, 76px);
  line-height: 0.98;
}

h2 span { color: var(--muted); }

.section-heading { max-width: 920px; margin-bottom: 70px; }
.section-intro { max-width: 680px; margin: 24px 0 0; color: var(--muted); font-size: 18px; line-height: 1.65; }

.split-heading {
  display: grid;
  max-width: none;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  align-items: end;
  gap: 80px;
}

.split-heading > p,
.section-heading > p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 30;
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 96px;
  border-bottom: 1px solid var(--line-soft);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  font-size: 25px;
  font-weight: 850;
  letter-spacing: 0.02em;
}

.brand-mark {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 7px;
  background: url("assets/bairon-symbol-white.png") center / cover no-repeat;
  box-shadow: 0 0 18px rgba(185, 243, 74, 0.12);
}

.main-nav { display: flex; gap: 42px; }

.main-nav a {
  position: relative;
  color: #c9d0d0;
  font-size: 15px;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -9px;
  width: 100%;
  height: 1px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }

.header-cta { justify-self: end; }
.menu-toggle { display: none; }

.button {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 0 27px;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 700;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.button span { font-size: 24px; transition: transform 0.2s ease; }
.button:hover span { transform: translateX(5px); }
.button:hover { transform: translateY(-2px); }
.button:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; }

.button-primary {
  color: #071013;
  background: var(--lime);
  box-shadow: 0 16px 45px rgba(185, 243, 74, 0.11);
}

.button-primary:hover { background: #c7ff57; box-shadow: 0 18px 50px rgba(185, 243, 74, 0.22); }
.button-outline { background: rgba(6, 11, 13, 0.42); border-color: rgba(185, 243, 74, 0.68); }
.button-outline:hover { border-color: var(--lime); background: rgba(185, 243, 74, 0.05); }

.hero { min-height: 940px; padding: 178px 0 60px; }

.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.93fr) minmax(560px, 1.07fr);
  align-items: center;
  gap: 34px;
}

.hero-copy { position: relative; z-index: 2; padding-top: 18px; }

.hero h1 {
  max-width: 760px;
  margin-bottom: 26px;
  font-size: clamp(46px, 4.35vw, 68px);
  line-height: 1.04;
}

.hero h1 span { color: #dce2e0; }

.hero-lead {
  max-width: 670px;
  margin-bottom: 34px;
  color: #aeb8b8;
  font-size: clamp(18px, 1.45vw, 22px);
  line-height: 1.62;
}

.hero-actions { display: flex; align-items: center; gap: 34px; }
.hero-actions .button { min-height: 66px; padding-inline: 36px; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  padding: 18px 2px 12px;
  color: var(--cyan);
  border-bottom: 1px solid var(--cyan);
  font-weight: 650;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, auto);
  width: fit-content;
  margin: 68px 0 0;
}

.trust-row div { padding: 0 34px; border-left: 1px solid var(--line); }
.trust-row div:first-child { padding-left: 0; border-left: 0; }
.trust-row dt { font-size: 38px; font-weight: 800; letter-spacing: -0.04em; }
.trust-row dd { margin: 5px 0 0; color: var(--muted); font-size: 13px; }

.hero-glow { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; }
.hero-glow-cyan { top: 190px; right: 12%; width: 330px; height: 330px; background: rgba(53, 230, 242, 0.09); }
.hero-glow-lime { right: 22%; bottom: 90px; width: 190px; height: 190px; background: rgba(185, 243, 74, 0.05); }

.system-visual {
  position: relative;
  min-height: 680px;
  isolation: isolate;
}

.system-visual::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 390px;
  height: 390px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(53, 230, 242, 0.11), rgba(8, 13, 16, 0) 64%);
  transform: translate(-50%, -50%);
}

.orbit {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: -1;
  border: 1px solid rgba(53, 230, 242, 0.24);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.orbit::before, .orbit::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 14px var(--cyan);
}

.orbit-one { width: 420px; height: 420px; animation: spin 28s linear infinite; }
.orbit-two { width: 510px; height: 510px; border-style: dotted; animation: spinReverse 36s linear infinite; }
.orbit-one::before { top: 7%; left: 22%; }
.orbit-one::after { right: -4px; top: 49%; background: var(--lime); box-shadow: 0 0 14px var(--lime); }
.orbit-two::before { bottom: 11%; left: 17%; }
.orbit-two::after { top: -4px; left: 50%; }

@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes spinReverse { to { transform: translate(-50%, -50%) rotate(-360deg); } }

.system-core, .system-node {
  position: absolute;
  border: 1px solid rgba(128, 165, 174, 0.47);
  color: var(--text);
  background: linear-gradient(145deg, rgba(20, 33, 41, 0.94), rgba(8, 14, 17, 0.96));
  box-shadow: inset 0 0 28px rgba(53, 230, 242, 0.03), var(--shadow);
  cursor: pointer;
}

.system-core {
  left: 50%;
  top: 50%;
  width: 226px;
  height: 226px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.system-core::before, .system-core::after {
  content: "";
  position: absolute;
  inset: -14px;
  border: 1px solid rgba(53, 230, 242, 0.45);
  border-radius: 50%;
}

.system-core::after { inset: -24px; border-color: rgba(185, 243, 74, 0.17); border-style: dotted; }
.system-core small { display: block; margin-bottom: 8px; color: var(--cyan); letter-spacing: 0.18em; }
.system-core strong { font-size: 25px; line-height: 1.15; letter-spacing: -0.03em; }

.core-pulse {
  position: absolute;
  inset: -3px;
  border: 1px solid var(--cyan);
  border-radius: 50%;
  animation: corePulse 2.8s ease-out infinite;
}

@keyframes corePulse { 0% { opacity: 0.65; transform: scale(0.96); } 75%, 100% { opacity: 0; transform: scale(1.18); } }

.system-node {
  display: flex;
  width: 145px;
  min-height: 120px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px;
  border-radius: 22px;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.system-node:hover, .system-node.active { border-color: var(--cyan); box-shadow: 0 18px 50px rgba(0, 0, 0, 0.4), 0 0 28px rgba(53, 230, 242, 0.12); }
.system-node:hover { transform: translateY(-4px); }
.system-node strong { margin: 5px 0; font-size: 17px; }
.system-node small { color: var(--muted); font-size: 10px; }
.node-icon { color: var(--cyan); font-size: 28px; line-height: 1; }
.node-ai .node-icon, .node-sales .node-icon { color: var(--lime); }
.node-sales { left: 50%; top: 10px; transform: translateX(-50%); }
.node-sales:hover { transform: translateX(-50%) translateY(-4px); }
.node-process { left: 12px; top: 50%; transform: translateY(-50%); }
.node-process:hover { transform: translateY(calc(-50% - 4px)); }
.node-analytics { right: 12px; top: 50%; transform: translateY(-50%); }
.node-analytics:hover { transform: translateY(calc(-50% - 4px)); }
.node-ai { left: 50%; bottom: 4px; transform: translateX(-50%); }
.node-ai:hover { transform: translateX(-50%) translateY(-4px); }

.signal { position: absolute; z-index: -1; background: linear-gradient(90deg, transparent, var(--cyan), transparent); opacity: 0.6; }
.signal-a, .signal-c { left: 50%; width: 1px; height: 100px; background: linear-gradient(transparent, var(--cyan), transparent); }
.signal-a { top: 126px; }
.signal-c { bottom: 118px; }
.signal-b, .signal-d { top: 50%; width: 110px; height: 1px; }
.signal-b { left: 143px; }
.signal-d { right: 143px; }

.system-detail {
  position: absolute;
  right: 0;
  bottom: 52px;
  width: 245px;
  padding: 18px 20px;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background: rgba(8, 13, 16, 0.9);
  backdrop-filter: blur(16px);
}

.status-dot { display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 10px var(--lime); }
.system-detail-label { display: inline; color: var(--lime); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; }
.system-detail h2 { margin: 13px 0 8px; font-size: 17px; line-height: 1.2; }
.system-detail p:last-child { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.45; }

.problem { border-top: 1px solid var(--line-soft); background: #0b1114; }
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.problem-card { position: relative; min-height: 390px; padding: 36px; background: #0c1317; transition: background 0.25s ease; }
.problem-card:hover { background: #111a1f; }
.card-index { display: block; margin-bottom: 70px; color: var(--cyan); font-size: 12px; letter-spacing: 0.15em; }
.problem-card h3 { max-width: 330px; margin-bottom: 20px; font-size: 29px; line-height: 1.13; }
.problem-card p { color: var(--muted); line-height: 1.65; }
.problem-owner-story { max-width: 620px !important; color: var(--text) !important; font-size: clamp(22px, 2.15vw, 34px) !important; font-weight: 650; line-height: 1.22 !important; letter-spacing: -0.02em; }
.problem-tag { position: absolute; left: 36px; bottom: 34px; padding: 8px 12px; border: 1px solid rgba(255, 180, 94, 0.28); border-radius: 30px; color: var(--warning); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; }

.solutions { background: var(--bg-deep); }
.solutions-list { border-top: 1px solid var(--line); }
.solution-item { display: grid; grid-template-columns: 80px minmax(0, 1.25fr) minmax(260px, 0.75fr); gap: 40px; padding: 44px 18px; border-bottom: 1px solid var(--line); transition: background 0.25s ease, padding 0.25s ease; }
.solution-item:hover { padding-inline: 28px; background: rgba(20, 33, 41, 0.48); }
.solution-number { color: var(--muted); font-size: 13px; }
.solution-label { margin-bottom: 10px; color: var(--cyan); font-size: 11px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.solution-item[data-accent="lime"] .solution-label { color: var(--lime); }
.solution-copy h3 { margin-bottom: 15px; font-size: clamp(27px, 2.5vw, 38px); }
.solution-copy > p:last-child { max-width: 650px; margin-bottom: 0; color: var(--muted); font-size: 16px; line-height: 1.65; }
.solution-item ul { display: flex; flex-wrap: wrap; align-content: center; gap: 10px; margin: 0; padding: 0; list-style: none; }
.solution-item li { padding: 10px 13px; border: 1px solid var(--line); border-radius: 30px; color: #c3cbca; font-size: 12px; }

.process { background: #0c1317; }
.process-track { margin: 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.process-step { border-bottom: 1px solid var(--line); }
.process-step > button { display: grid; width: 100%; grid-template-columns: 70px 0.7fr 1fr; align-items: center; gap: 30px; padding: 30px 8px; border: 0; text-align: left; background: transparent; cursor: pointer; }
.process-step > button span { color: var(--cyan); font-size: 12px; }
.process-step > button strong { font-size: 26px; }
.process-step > button small { color: var(--muted); font-size: 14px; }
.process-step.active > button strong { color: var(--lime); }
.step-detail { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.35s ease; }
.step-detail p { max-width: 740px; margin: 0 0 0 100px; overflow: hidden; color: var(--muted); font-size: 17px; line-height: 1.65; }
.process-step.active .step-detail { grid-template-rows: 1fr; }
.process-step.active .step-detail p { margin-bottom: 32px; }

.prototype { background: var(--bg-deep); }
.prototype-shell { border: 1px solid var(--line); border-radius: 26px; background: rgba(15, 24, 29, 0.84); box-shadow: var(--shadow); overflow: hidden; }
.role-tabs { display: flex; gap: 4px; padding: 14px; border-bottom: 1px solid var(--line); background: rgba(4, 8, 10, 0.56); overflow-x: auto; }
.role-tab { min-width: 150px; padding: 14px 20px; border: 1px solid transparent; border-radius: 8px; color: var(--muted); background: transparent; cursor: pointer; }
.role-tab.active { color: #081013; background: var(--lime); font-weight: 700; }
.dashboard-window { min-height: 580px; }
.dashboard-bar { display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; min-height: 58px; padding: 0 24px; color: var(--muted); border-bottom: 1px solid var(--line); font-size: 12px; }
.dashboard-bar > span:nth-child(2) { color: #dce3e1; text-align: center; }
.window-dots { display: flex; gap: 7px; }
.window-dots i { width: 8px; height: 8px; border-radius: 50%; background: #314249; }
.live-status { justify-self: end; }
.live-status i { display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 8px var(--lime); }
.role-panel { min-height: 520px; }
#panel-owner { display: grid; grid-template-columns: 72px 1fr; }
.dashboard-sidebar { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 24px 12px; border-right: 1px solid var(--line); }
.dash-logo { display: grid; width: 35px; height: 35px; place-items: center; margin-bottom: 35px; border-radius: 9px; color: #061013; background: var(--lime); font-weight: 900; }
.dashboard-sidebar button { width: 38px; height: 38px; border: 0; border-radius: 9px; color: var(--muted); background: transparent; cursor: pointer; }
.dashboard-sidebar button.active { color: var(--cyan); background: rgba(53, 230, 242, 0.08); }
.dashboard-content { padding: 30px; }
.owner-cabinet-copy { margin-bottom: 24px; }
.owner-cabinet-copy > span { color: var(--cyan); font-size: 10px; font-weight: 800; letter-spacing: .13em; }
.owner-cabinet-copy h3 { margin: 10px 0 8px; font-size: 24px; }
.owner-cabinet-copy p { max-width: 740px; margin: 0; color: var(--muted); line-height: 1.5; }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.metric-grid article, .chart-card, .attention-card { border: 1px solid var(--line); border-radius: 14px; background: rgba(7, 13, 16, 0.65); }
.metric-grid article { min-height: 145px; padding: 20px; }
.metric-grid small { display: block; margin-bottom: 14px; color: var(--muted); }
.metric-grid strong { display: block; margin-bottom: 12px; font-size: 34px; }
.metric-grid span { color: var(--muted); font-size: 10px; }
.metric-grid .up, .metric-grid .lime { color: var(--lime); }
.metric-grid .warning { color: var(--warning); }
.dashboard-main-grid { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 14px; margin-top: 14px; }
.chart-card, .attention-card { min-height: 270px; padding: 22px; }
.card-top { display: flex; align-items: center; justify-content: space-between; }
.card-top span { color: var(--muted); font-size: 10px; }
.chart-bars { display: flex; height: 180px; align-items: flex-end; gap: 16px; padding: 30px 12px 0; border-bottom: 1px solid var(--line); }
.chart-bars i { width: 100%; height: var(--h); min-height: 10px; background: linear-gradient(to top, rgba(53, 230, 242, 0.2), var(--cyan)); border-radius: 4px 4px 0 0; }
.chart-bars i.forecast { background: linear-gradient(to top, rgba(185, 243, 74, 0.2), var(--lime)); }
.attention-card ul { margin: 27px 0 0; padding: 0; list-style: none; }
.attention-card li { display: grid; grid-template-columns: 12px 1fr auto; align-items: center; gap: 10px; padding: 15px 0; color: #cbd2d1; border-bottom: 1px solid var(--line); font-size: 12px; }
.attention-card li i { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); }
.attention-card li i.warning-dot { background: var(--warning); }
.attention-card li i.lime-dot { background: var(--lime); }
.attention-card li b { font-size: 17px; }
.mini-role-copy { max-width: 780px; padding: 62px 62px 35px; }
.mini-role-copy > span { color: var(--cyan); font-size: 12px; font-weight: 800; letter-spacing: 0.15em; }
.mini-role-copy h3 { margin: 18px 0; font-size: clamp(32px, 4vw, 52px); }
.mini-role-copy p { max-width: 670px; color: var(--muted); font-size: 17px; line-height: 1.7; }
.pipeline-demo, .ai-flow { display: flex; align-items: center; gap: 16px; margin: 30px 62px; }
.pipeline-demo div { flex: 1; padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: #091014; }
.pipeline-demo div.hot { border-color: var(--lime); }
.pipeline-demo small { display: block; margin-bottom: 15px; color: var(--muted); }
.pipeline-demo b { font-size: 32px; }
.pipeline-demo i { width: 16px; height: 1px; background: var(--cyan); }
.project-demo { margin: 10px 62px 50px; border-top: 1px solid var(--line); }
.project-row { display: grid; grid-template-columns: 150px 1fr 140px; gap: 30px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); }
.project-row span { height: 7px; border-radius: 10px; background: #1d2a30; overflow: hidden; }
.project-row span i { display: block; height: 100%; background: linear-gradient(90deg, var(--cyan), var(--lime)); }
.project-row small { color: var(--muted); }
.ai-flow div { padding: 22px; border: 1px solid var(--line); border-radius: 12px; color: var(--muted); background: #091014; text-align: center; }
.ai-flow div.active { color: var(--text); border-color: var(--cyan); box-shadow: 0 0 26px rgba(53, 230, 242, 0.08); }
.ai-flow div.lime-border { color: var(--text); border-color: var(--lime); }
.ai-flow > span { color: var(--cyan); }

.result { background: #0d1519; }
.result-layout { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 90px; }
.result .section-heading { position: sticky; top: 60px; align-self: start; margin-bottom: 0; }
.result .section-heading p:last-child { max-width: 600px; margin-top: 32px; }
.result-list { border-top: 1px solid var(--line); }
.result-list article { display: grid; grid-template-columns: 54px 1fr; gap: 24px; padding: 34px 8px; border-bottom: 1px solid var(--line); }
.result-list article > span { color: var(--lime); font-size: 12px; }
.result-list h3 { margin-bottom: 10px; font-size: 28px; }
.result-list p { max-width: 590px; margin-bottom: 0; color: var(--muted); line-height: 1.65; }

.diagnostic { background: var(--bg-deep); }
.diagnostic-layout { position: relative; z-index: 1; display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 100px; align-items: start; }
.diagnostic-copy h2 { margin-bottom: 28px; }
.diagnostic-copy > p { max-width: 520px; color: var(--muted); font-size: 18px; line-height: 1.65; }
.diagnostic-result { min-height: 170px; margin-top: 42px; padding: 26px; border: 1px solid var(--line); border-left: 3px solid var(--cyan); background: rgba(15, 25, 30, 0.8); }
.diagnostic-result small { color: var(--cyan); text-transform: uppercase; letter-spacing: 0.1em; }
.diagnostic-result strong { display: block; margin: 18px 0 10px; font-size: 22px; }
.diagnostic-result p { margin: 0; color: var(--muted); line-height: 1.5; }
.diagnostic-form { display: grid; gap: 12px; }
.diagnostic-form label { cursor: pointer; }
.diagnostic-form input { position: absolute; opacity: 0; }
.diagnostic-form label > span { display: flex; min-height: 66px; align-items: center; gap: 18px; padding: 16px 20px; border: 1px solid var(--line); border-radius: 10px; color: #c8d0ce; background: rgba(11, 18, 22, 0.8); transition: border-color 0.2s ease, background 0.2s ease; }
.diagnostic-form label i { display: grid; width: 22px; height: 22px; flex: 0 0 auto; place-items: center; border: 1px solid #607178; border-radius: 5px; }
.diagnostic-form input:checked + span { border-color: var(--cyan); background: rgba(53, 230, 242, 0.05); }
.diagnostic-form input:checked + span i::after { content: "✓"; color: var(--lime); font-style: normal; font-weight: 900; }
.diagnostic-form input:focus-visible + span { outline: 2px solid var(--cyan); outline-offset: 3px; }
.diagnostic-form .button { margin-top: 10px; }

.faq { background: #0c1317; }
.faq-layout { display: grid; grid-template-columns: 0.7fr 1.3fr; gap: 90px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item > button { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 20px; padding: 28px 4px; border: 0; background: transparent; cursor: pointer; text-align: left; }
.faq-item > button span { font-size: 21px; font-weight: 650; }
.faq-item > button i { color: var(--cyan); font-size: 28px; font-style: normal; font-weight: 300; transition: transform 0.25s ease; }
.faq-item > div { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.3s ease; }
.faq-item > div p { max-width: 730px; margin: 0; overflow: hidden; color: var(--muted); line-height: 1.7; }
.faq-item.open > div { grid-template-rows: 1fr; }
.faq-item.open > div p { margin-bottom: 28px; }
.faq-item.open > button i { transform: rotate(45deg); color: var(--lime); }

.final-cta { padding: 140px 0; text-align: center; background: #070c0e; }
.final-cta::after { content: ""; position: absolute; left: 50%; top: 50%; width: 650px; height: 280px; border-radius: 50%; background: rgba(53, 230, 242, 0.06); filter: blur(100px); transform: translate(-50%, -50%); }
.final-cta-inner { position: relative; z-index: 2; max-width: 1050px; }
.final-cta h2 { margin-bottom: 28px; }
.final-cta p:not(.eyebrow) { max-width: 650px; margin: 0 auto 34px; color: var(--muted); font-size: 18px; line-height: 1.65; }

.site-footer { border-top: 1px solid var(--line); background: #05090b; }
.footer-top { display: grid; grid-template-columns: 0.7fr 1.2fr 0.8fr; gap: 60px; align-items: start; padding-block: 60px; }
.footer-top p { max-width: 460px; margin: 0; color: var(--muted); line-height: 1.6; }
.footer-top > div { display: flex; flex-direction: column; gap: 10px; justify-self: end; color: #c9d1cf; }
.footer-top > div span:last-child { color: var(--muted); font-size: 13px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-block: 24px; color: #6f7c7e; border-top: 1px solid var(--line); font-size: 11px; }
.footer-bottom button { padding: 8px 0; border: 0; color: var(--cyan); background: transparent; cursor: pointer; }
.footer-bottom a, .legal-details a, .modal-dialog .consent a { color: var(--cyan); }
.legal-details { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 28px; padding-block: 0 26px; color: #6f7c7e; font-size: 11px; line-height: 1.5; }

.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 24px; opacity: 0; visibility: hidden; transition: opacity 0.25s ease, visibility 0.25s ease; }
.modal.open { opacity: 1; visibility: visible; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(2, 5, 7, 0.82); backdrop-filter: blur(12px); }
.modal-dialog { position: relative; z-index: 1; width: min(100%, 620px); max-height: calc(100vh - 48px); padding: 48px; border: 1px solid var(--line); border-radius: 22px; background: #0e171b; box-shadow: 0 30px 100px rgba(0, 0, 0, 0.6); overflow-y: auto; transform: translateY(18px); transition: transform 0.25s ease; }
.modal.open .modal-dialog { transform: translateY(0); }
.modal-close { position: absolute; right: 18px; top: 14px; width: 42px; height: 42px; border: 0; color: var(--muted); background: transparent; cursor: pointer; font-size: 31px; }
.modal-dialog h2 { margin-bottom: 20px; font-size: clamp(34px, 6vw, 54px); }
.modal-dialog > p:not(.eyebrow) { color: var(--muted); line-height: 1.55; }
.modal-dialog form { display: grid; gap: 17px; margin-top: 30px; }
.modal-dialog label > span { display: block; margin-bottom: 8px; color: #c6cfcd; font-size: 13px; }
.modal-dialog input, .modal-dialog textarea { width: 100%; padding: 15px 16px; border: 1px solid var(--line); border-radius: 7px; color: var(--text); background: #081014; resize: vertical; }
.modal-dialog input::placeholder, .modal-dialog textarea::placeholder { color: #5e6b6e; }
.modal-dialog .consent { display: flex; align-items: start; gap: 10px; color: var(--muted); }
.modal-dialog .consent input { width: 17px; height: 17px; flex: 0 0 auto; accent-color: var(--lime); }
.modal-dialog .consent span { margin: 0; font-size: 12px; line-height: 1.5; }
.form-success { padding: 30px 0 10px; text-align: center; }
.form-success > span { display: grid; width: 58px; height: 58px; place-items: center; margin: 0 auto 20px; border-radius: 50%; color: #081014; background: var(--lime); font-size: 28px; font-weight: 900; }
.form-success h3 { font-size: 29px; }
.form-success p { color: var(--muted); line-height: 1.55; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

.legal-page { min-height: 100vh; background: var(--bg-deep); }
.legal-page .header-inner { grid-template-columns: 1fr auto; }
.legal-content { max-width: 900px; padding-top: 150px; padding-bottom: 110px; }
.legal-content h1 { max-width: 900px; margin: 18px 0; font-size: clamp(42px, 6vw, 76px); line-height: 1.04; }
.legal-content h2 { margin: 54px 0 16px; color: var(--text); font-size: 28px; }
.legal-content p, .legal-content li { max-width: 820px; color: var(--muted); font-size: 17px; line-height: 1.72; }
.legal-content ul { padding-left: 24px; }
.legal-content a { color: var(--cyan); }
.legal-lead { color: var(--lime) !important; font-size: 13px !important; letter-spacing: 0.12em; text-transform: uppercase; }
.legal-card { margin-top: 38px; padding: 30px; border: 1px solid var(--line); border-left: 3px solid var(--lime); border-radius: 14px; background: rgba(15, 25, 30, 0.8); }
.legal-card p { margin: 0 0 18px; }
.legal-card p:last-child { margin-bottom: 0; }
.legal-note { margin-top: 60px; padding-top: 22px; border-top: 1px solid var(--line); color: #7d8a8b !important; font-size: 13px !important; }

@media (max-width: 1180px) {
  .container { width: min(calc(100% - 48px), var(--container)); }
  .main-nav { gap: 25px; }
  .hero { min-height: 1000px; }
  .hero-layout { grid-template-columns: 1fr 520px; }
  .system-visual { transform: scale(0.88); transform-origin: center; }
  .trust-row div { padding-inline: 22px; }
  .metric-grid { grid-template-columns: repeat(2, 1fr); }
  .dashboard-window { min-height: 700px; }
  .pipeline-demo, .ai-flow { flex-wrap: wrap; }
  .ai-flow > span { display: none; }
  .ai-flow div { flex: 1 1 42%; }
}

@media (max-width: 960px) {
  .section { padding: 100px 0; }
  .header-inner { grid-template-columns: 1fr auto; }
  .menu-toggle { display: flex; width: 46px; height: 46px; flex-direction: column; align-items: center; justify-content: center; gap: 7px; border: 1px solid var(--line); border-radius: 8px; background: rgba(8, 13, 16, 0.9); cursor: pointer; }
  .menu-toggle span:not(.sr-only) { width: 21px; height: 1px; background: var(--text); transition: transform 0.25s ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
  .main-nav { position: absolute; left: 24px; right: 24px; top: 82px; display: none; flex-direction: column; gap: 0; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: #0c1418; box-shadow: var(--shadow); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 16px; }
  .header-cta { display: none; }
  .hero { padding-top: 150px; }
  .hero-layout { grid-template-columns: 1fr; }
  .hero-copy { max-width: 780px; }
  .system-visual { width: min(100%, 700px); margin: -5px auto 0; transform: none; }
  .split-heading, .result-layout, .diagnostic-layout, .faq-layout { grid-template-columns: 1fr; gap: 45px; }
  .problem-grid { grid-template-columns: 1fr; }
  .problem-card { min-height: 320px; }
  .solution-item { grid-template-columns: 55px 1fr; }
  .solution-item ul { grid-column: 2; }
  .result .section-heading { position: static; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-top > p { grid-column: 1 / -1; grid-row: 2; }
}

@media (max-width: 680px) {
  .container { width: min(calc(100% - 32px), var(--container)); }
  .section { padding: 78px 0; }
  .section-heading { margin-bottom: 44px; }
  .eyebrow { margin-bottom: 20px; font-size: 11px; }
  h2 { font-size: clamp(38px, 12vw, 56px); }
  .header-inner { height: 78px; }
  .brand { font-size: 21px; }
  .hero { min-height: auto; padding: 124px 0 50px; }
  .hero h1 { font-size: clamp(38px, 10.5vw, 52px); }
  .hero-lead { font-size: 17px; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 14px; }
  .hero-actions .button { min-height: 59px; }
  .text-link { width: fit-content; }
  .trust-row { width: 100%; grid-template-columns: repeat(3, 1fr); margin-top: 48px; }
  .trust-row div { padding-inline: 11px; }
  .trust-row dt { font-size: 28px; }
  .trust-row dd { font-size: 9px; line-height: 1.4; }
  .system-visual { min-height: 530px; margin-top: 15px; transform: scale(0.77); transform-origin: top center; }
  .system-core { width: 190px; height: 190px; }
  .system-node { width: 126px; min-height: 104px; }
  .node-process { left: -10px; }
  .node-analytics { right: -10px; }
  .system-detail { display: none; }
  .orbit-one { width: 350px; height: 350px; }
  .orbit-two { width: 430px; height: 430px; }
  .signal-b { left: 110px; }
  .signal-d { right: 110px; }
  .problem-card { min-height: 350px; padding: 28px; }
  .card-index { margin-bottom: 50px; }
  .problem-tag { left: 28px; }
  .solution-item { grid-template-columns: 35px 1fr; gap: 18px; padding: 30px 0; }
  .solution-item:hover { padding-inline: 8px; }
  .solution-item ul { grid-column: 1 / -1; }
  .process-step > button { grid-template-columns: 35px 1fr; gap: 14px; padding: 23px 0; }
  .process-step > button small { grid-column: 2; }
  .step-detail p { margin-left: 49px; font-size: 15px; }
  .prototype-shell { margin-inline: -8px; }
  .dashboard-bar { grid-template-columns: 1fr 1fr; padding: 0 14px; }
  .dashboard-bar > span:nth-child(2) { text-align: right; }
  .live-status { display: none; }
  #panel-owner { grid-template-columns: 1fr; }
  .dashboard-sidebar { display: none; }
  .dashboard-content { padding: 16px; }
  .metric-grid { gap: 8px; }
  .metric-grid article { min-height: 128px; padding: 15px; }
  .metric-grid strong { font-size: 28px; }
  .dashboard-main-grid { grid-template-columns: 1fr; }
  .chart-bars { gap: 8px; }
  .mini-role-copy { padding: 35px 24px 20px; }
  .pipeline-demo, .ai-flow { margin: 20px 24px 35px; }
  .pipeline-demo div { flex: 1 1 40%; }
  .pipeline-demo i { display: none; }
  .project-demo { margin: 10px 24px 40px; }
  .project-row { grid-template-columns: 1fr; gap: 11px; }
  .result-list article { grid-template-columns: 36px 1fr; }
  .faq-item > button span { font-size: 18px; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-top > p { grid-column: auto; grid-row: auto; }
  .footer-top > div { justify-self: start; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .legal-content { padding-top: 120px; padding-bottom: 80px; }
  .legal-content h1 { font-size: clamp(38px, 12vw, 56px); }
  .legal-content h2 { margin-top: 42px; font-size: 25px; }
  .legal-content p, .legal-content li { font-size: 16px; }
  .modal-dialog { padding: 42px 22px 26px; }
}

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