:root {
  --midnight: #0b1530;
  --midnight-2: #101d3d;
  --blue: #2f6bff;
  --blue-dark: #1e4ed0;
  --teal: #16b8a6;
  --teal-dark: #0d8d81;
  --white: #ffffff;
  --mist: #f4f7fb;
  --ice: #e9eff8;
  --line: #d9e1ed;
  --ink: #111d38;
  --body: #45526c;
  --muted: #707c93;
  --success: #0b8d6b;
  --warning: #ab6208;
  --error: #b42318;
  --shadow-lg: 0 24px 70px rgba(11, 21, 48, 0.14);
  --shadow-sm: 0 10px 28px rgba(11, 21, 48, 0.08);
  --radius: 18px;
  --shell: min(1200px, calc(100vw - 48px));
  --font-display: "Avenir Next", "Helvetica Neue", Arial, "PingFang SC", "PingFang TC", sans-serif;
  --font-body: "Avenir Next", "Helvetica Neue", Arial, "PingFang SC", "PingFang TC", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.is-modal-open {
  overflow: hidden;
}

.not-found-page {
  min-height: 100vh;
  background: var(--mist);
}

.not-found {
  display: flex;
  min-height: 100vh;
  max-width: 760px;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  padding-block: 64px;
}

.not-found .brand {
  width: 180px;
  margin-bottom: 72px;
}

.not-found h1 {
  margin-bottom: 20px;
  color: var(--midnight);
  font-size: clamp(48px, 8vw, 84px);
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.not-found > p:not(.section-index) {
  max-width: 620px;
  margin-bottom: 10px;
  color: var(--body);
  font-size: 18px;
}

.not-found .button {
  margin-top: 26px;
}

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  color: inherit;
}

img,
svg {
  display: block;
}

svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

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

h1,
h2,
h3 {
  font-family: var(--font-display);
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.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;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 16px;
  color: var(--white);
  background: var(--blue);
  border-radius: 8px;
  transform: translateY(-140%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  width: 100%;
  border-bottom: 1px solid transparent;
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 28px rgba(11, 21, 48, 0.05);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}

.brand {
  position: relative;
  z-index: 3;
  width: 162px;
  height: 54px;
  overflow: hidden;
}

.brand img,
.footer-brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nav-menu,
.nav-links,
.nav-actions {
  display: flex;
  align-items: center;
}

.nav-menu {
  flex: 1;
  justify-content: flex-end;
  gap: clamp(24px, 4vw, 56px);
}

.nav-links {
  gap: clamp(18px, 2.2vw, 32px);
}

.nav-links a,
.text-link,
.footer-links a,
.footer-links button {
  position: relative;
  padding: 0;
  color: var(--body);
  background: none;
  border: 0;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 2px;
  background: var(--blue);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

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

.nav-actions {
  gap: 18px;
}

.language-picker {
  position: relative;
}

.language-trigger {
  display: inline-flex;
  height: 40px;
  align-items: center;
  gap: 8px;
  padding: 0 11px;
  color: var(--body);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 9px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.language-picker.is-open .language-trigger {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(47, 107, 255, 0.1);
}

.language-globe {
  width: 17px;
  height: 17px;
  color: var(--blue);
}

.language-chevron {
  width: 16px;
  height: 16px;
  transition: transform 160ms ease;
}

.language-picker.is-open .language-chevron {
  transform: rotate(180deg);
}

.language-menu {
  position: absolute;
  z-index: 20;
  top: calc(100% + 8px);
  right: 0;
  min-width: 156px;
  padding: 6px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
}

.language-menu[hidden] {
  display: none;
}

.language-menu button {
  display: flex;
  width: 100%;
  height: 40px;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
  color: var(--body);
  background: transparent;
  border: 0;
  border-radius: 7px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 650;
  text-align: left;
}

.language-menu button:hover,
.language-menu button:focus-visible {
  color: var(--midnight);
  background: var(--mist);
}

.language-menu button svg {
  visibility: hidden;
  width: 17px;
  height: 17px;
  color: var(--teal-dark);
}

.language-menu button[aria-selected="true"] svg {
  visibility: visible;
}

.menu-toggle {
  position: relative;
  z-index: 3;
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.menu-toggle > span:not(.sr-only) {
  position: absolute;
  left: 12px;
  width: 18px;
  height: 1.5px;
  background: var(--midnight);
  transition: transform 180ms ease, top 180ms ease;
}

.menu-toggle > span:nth-last-child(2) { top: 17px; }
.menu-toggle > span:last-child { top: 24px; }
.menu-toggle[aria-expanded="true"] > span:nth-last-child(2) { top: 20px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] > span:last-child { top: 20px; transform: rotate(-45deg); }

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 22px;
  color: var(--white);
  background: var(--blue);
  border: 1px solid var(--blue);
  border-radius: 10px;
  cursor: pointer;
  font-weight: 700;
  line-height: 1;
  transition: background 170ms ease, border-color 170ms ease, transform 170ms ease, box-shadow 170ms ease;
}

.button:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  box-shadow: 0 10px 24px rgba(47, 107, 255, 0.2);
  transform: translateY(-2px);
}

.button:focus-visible,
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(47, 107, 255, 0.28);
  outline-offset: 3px;
}

.button svg {
  width: 20px;
  height: 20px;
}

.button-small {
  min-height: 42px;
  padding: 0 16px;
  font-size: 14px;
}

.button-secondary {
  color: var(--midnight);
  background: var(--white);
  border-color: var(--line);
}

.button-secondary:hover {
  color: var(--blue);
  background: var(--white);
  border-color: var(--blue);
}

.hero {
  position: relative;
  min-height: 820px;
  padding-top: 152px;
  background-color: #f8faff;
  overflow: hidden;
}

.hero::before,
.hero::after {
  position: absolute;
  pointer-events: none;
  content: "";
}

.hero::before {
  top: 0;
  right: 0;
  width: 34vw;
  height: 100%;
  background: #eff4ff;
  border-left: 1px solid #e1e9f8;
}

.hero::after {
  top: 110px;
  right: 8vw;
  width: 300px;
  height: 300px;
  border: 1px solid rgba(47, 107, 255, 0.12);
  border-radius: 50%;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) minmax(460px, 0.92fr);
  gap: clamp(56px, 7vw, 104px);
}

.eyebrow,
.section-index {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow-mark {
  position: relative;
  display: inline-block;
  width: 22px;
  height: 10px;
  border-top: 2px solid var(--blue);
  border-bottom: 2px solid var(--teal);
}

.hero h1 {
  max-width: 720px;
  margin-bottom: 28px;
  color: var(--midnight);
  font-size: clamp(48px, 5.3vw, 76px);
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.hero-lede {
  max-width: 640px;
  margin-bottom: 34px;
  color: var(--body);
  font-size: clamp(18px, 1.7vw, 21px);
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}

.play-icon {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  color: var(--blue);
  background: #edf2ff;
  border-radius: 50%;
}

.play-icon svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
  stroke: none;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
}

.hero-proof span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.hero-proof b {
  font-weight: 600;
}

.hero-proof i,
.live-status i,
.status-note i {
  display: block;
  width: 7px;
  height: 7px;
  background: var(--teal);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(22, 184, 166, 0.12);
}

.hero-system {
  position: relative;
  min-width: 0;
  padding: 24px;
  background: var(--white);
  border: 1px solid #dce4f2;
  border-radius: 22px;
  box-shadow: var(--shadow-lg);
}

.hero-system::after {
  position: absolute;
  z-index: -1;
  right: -18px;
  bottom: -18px;
  width: 68%;
  height: 60%;
  background: var(--teal);
  border-radius: 22px;
  content: "";
  opacity: 0.16;
}

.system-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 16px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.live-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--teal-dark);
  letter-spacing: 0.04em;
}

.live-status i { width: 6px; height: 6px; }

.plane {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.plane-enterprise {
  background: #f4f7ff;
  border-color: #cbd9ff;
}

.plane-ai {
  background: #f1fbf9;
  border-color: #bfe9e3;
}

.plane-label {
  display: flex;
  align-items: center;
  gap: 14px;
}

.plane-number {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--blue);
  background: var(--white);
  border: 1px solid currentColor;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 800;
}

.plane-ai .plane-number { color: var(--teal-dark); }

.plane-label strong,
.plane-label small {
  display: block;
}

.plane-label strong { color: var(--midnight); font-size: 15px; }
.plane-label small { margin-top: 2px; color: var(--muted); font-size: 11px; }

.plane-items {
  display: flex;
  gap: 8px;
  margin-top: 15px;
  padding-left: 52px;
}

.plane-items span {
  padding: 5px 10px;
  color: var(--blue-dark);
  background: var(--white);
  border: 1px solid #dbe4fc;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 700;
}

.plane-flow {
  position: relative;
  display: grid;
  height: 72px;
  align-items: center;
  grid-template-columns: 1fr auto 1fr;
  gap: 10px;
  padding: 0 24px;
}

.flow-line {
  position: relative;
  height: 1px;
  background: var(--line);
}

.flow-line::after {
  position: absolute;
  top: -3px;
  width: 7px;
  height: 7px;
  border-top: 1px solid;
  border-right: 1px solid;
  content: "";
  transform: rotate(45deg);
}

.flow-down::after { right: 0; color: var(--blue); }
.flow-up::after { left: 0; color: var(--teal-dark); transform: rotate(225deg); }

.flow-line span {
  position: absolute;
  top: 8px;
  width: 100%;
  color: var(--muted);
  font-size: 9px;
  text-align: center;
}

.gateway-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.gateway-node svg {
  width: 28px;
  height: 28px;
  padding: 6px;
  color: var(--white);
  background: var(--midnight);
  border-radius: 8px;
}

.gateway-node span { color: var(--midnight); font-size: 9px; font-weight: 800; }

.simulation-branches {
  display: grid;
  gap: 7px;
  margin-top: 15px;
  padding-left: 52px;
}

.simulation-branches > span {
  display: grid;
  align-items: center;
  grid-template-columns: auto 1fr auto;
  gap: 8px;
  padding: 6px 9px;
  background: rgba(255, 255, 255, 0.78);
  border-radius: 6px;
  color: var(--body);
  font-size: 10px;
}

.simulation-branches i { width: 34px; height: 3px; background: var(--teal); border-radius: 3px; }
.simulation-branches > span:nth-child(2) i { width: 26px; opacity: 0.75; }
.simulation-branches > span:nth-child(3) i { width: 17px; opacity: 0.5; }
.simulation-branches b { font-weight: 700; }
.simulation-branches em { color: var(--teal-dark); font-style: normal; font-weight: 800; }

.authority-bar {
  display: grid;
  align-items: center;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  margin-top: 16px;
  padding: 14px;
  color: var(--white);
  background: var(--midnight);
  border-radius: 12px;
}

.authority-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--teal);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
}

.authority-icon svg { width: 21px; height: 21px; }
.authority-bar strong,
.authority-bar small { display: block; }
.authority-bar strong { font-size: 12px; }
.authority-bar small { margin-top: 2px; color: #aab6ce; font-size: 8.5px; line-height: 1.4; }
.authority-state { padding: 5px 8px; color: var(--teal); background: rgba(22, 184, 166, 0.12); border: 1px solid rgba(22, 184, 166, 0.36); border-radius: 5px; font-size: 9px; font-weight: 800; }

.hero-rule {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-top: 72px;
  padding: 20px 0;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.07em;
}

.section {
  padding-block: 128px;
}

.section-heading {
  max-width: 660px;
}

.section-heading h2,
.case-copy h2,
.pilot-copy h2,
.demo-head h2 {
  margin-bottom: 26px;
  color: var(--midnight);
  font-size: clamp(38px, 4.3vw, 60px);
  font-weight: 620;
  letter-spacing: -0.038em;
  line-height: 1.13;
}

.section-heading > p:last-child,
.case-copy > p,
.pilot-copy > p {
  color: var(--body);
  font-size: 18px;
  line-height: 1.75;
}

.problem {
  display: grid;
  grid-template-columns: minmax(340px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(72px, 10vw, 160px);
}

.problem .section-heading { position: sticky; top: 120px; align-self: start; }
.problem-content .lead { margin-bottom: 42px; color: var(--ink); font-size: 22px; line-height: 1.7; }
.contrast-list { border-top: 1px solid var(--line); }

.contrast-list article {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.contrast-list article > span { color: var(--blue); font-size: 11px; font-weight: 800; }
.contrast-list h3 { margin-bottom: 8px; color: var(--midnight); font-size: 20px; }
.contrast-list p { margin: 0; color: var(--body); }

.section-dark {
  position: relative;
  color: var(--white);
  background: var(--midnight);
  overflow: hidden;
}

.section-dark::before {
  position: absolute;
  top: -220px;
  right: -180px;
  width: 600px;
  height: 600px;
  border: 1px solid rgba(47, 107, 255, 0.22);
  border-radius: 50%;
  content: "";
}

.section-heading-light h2 { color: var(--white); }
.section-heading-light > p:last-child { color: #b9c4d9; }
.section-heading-light { max-width: 800px; }

.loop-visual {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 64px;
}

.loop-track {
  position: absolute;
  top: 50px;
  right: 9%;
  left: 9%;
  height: 1px;
  background: rgba(255, 255, 255, 0.14);
}

.loop-track span {
  display: block;
  width: 0;
  height: 2px;
  background: var(--teal);
  transition: width 500ms ease;
}

.loop-step {
  position: relative;
  z-index: 1;
  min-height: 280px;
  padding: 20px;
  background: var(--midnight-2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}

.loop-step:hover,
.loop-step.is-active {
  background: #142345;
  border-color: rgba(22, 184, 166, 0.65);
  transform: translateY(-5px);
}

.loop-number { color: #8290aa; font-size: 10px; font-weight: 800; }
.loop-icon { display: grid; width: 60px; height: 60px; place-items: center; margin: 18px 0 26px; color: var(--teal); background: rgba(22, 184, 166, 0.1); border: 1px solid rgba(22, 184, 166, 0.25); border-radius: 14px; }
.loop-icon svg { width: 29px; height: 29px; }
.loop-step h3 { margin-bottom: 12px; color: var(--white); font-size: 17px; }
.loop-step p { margin: 0; color: #aebad0; font-size: 13px; line-height: 1.7; }
.section-action { margin-top: 38px; text-align: right; }
.button-on-dark { color: var(--midnight); background: var(--white); border-color: var(--white); }
.button-on-dark:hover { color: var(--white); background: var(--blue); border-color: var(--blue); }

.product { display: grid; grid-template-columns: minmax(290px, 0.55fr) minmax(0, 1.45fr); gap: clamp(52px, 8vw, 118px); }
.product .section-heading { position: sticky; top: 120px; align-self: start; }
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }

.product-card {
  position: relative;
  min-height: 330px;
  padding: 32px;
  background: var(--white);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 170ms ease;
}

.product-card:hover { background: #f8faff; }
.product-card-featured { grid-column: 1 / -1; min-height: 300px; background: var(--midnight); }
.product-card-featured:hover { background: var(--midnight-2); }
.card-index { position: absolute; top: 32px; right: 32px; color: #9aa5b9; font-size: 11px; font-weight: 800; }
.card-icon { display: grid; width: 48px; height: 48px; place-items: center; margin-bottom: 32px; color: var(--blue); background: #edf2ff; border-radius: 12px; }
.card-icon svg { width: 25px; height: 25px; }
.product-card h3 { margin-bottom: 14px; color: var(--midnight); font-size: 22px; }
.product-card p { margin-bottom: 24px; color: var(--body); font-size: 15px; }
.card-boundary { display: inline-block; padding: 6px 10px; color: var(--blue-dark); background: #eef3ff; border-radius: 5px; font-size: 10px; font-weight: 800; }
.product-card-featured .card-index { color: #7e8aa3; }
.product-card-featured .card-icon { color: var(--teal); background: rgba(22, 184, 166, 0.12); }
.product-card-featured h3 { color: var(--white); }
.product-card-featured p { max-width: 680px; color: #b5c0d4; }
.product-card-featured .card-boundary { color: var(--teal); background: rgba(22, 184, 166, 0.1); }

.use-case { background: #edf3ff; }
.case-grid { display: grid; align-items: center; grid-template-columns: minmax(0, 0.82fr) minmax(500px, 1.18fr); gap: clamp(64px, 10vw, 150px); }
.case-copy > p { max-width: 540px; }
.case-metrics { display: flex; gap: 34px; margin-top: 40px; padding-top: 28px; border-top: 1px solid #cdd8ec; }
.case-metrics div { display: flex; flex-direction: column; }
.case-metrics strong { color: var(--midnight); font-size: 28px; line-height: 1.2; }
.case-metrics span { max-width: 120px; margin-top: 4px; color: var(--muted); font-size: 11px; }

.ticket-demo { padding: 28px; background: var(--white); border: 1px solid #d2dcee; border-radius: 18px; box-shadow: var(--shadow-lg); }
.ticket-head,
.ticket-title,
.ticket-footer { display: flex; align-items: center; justify-content: space-between; }
.ticket-head { padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.ticket-id { color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: 0.12em; }
.ticket-priority { padding: 4px 9px; color: var(--warning); background: #fff6e8; border-radius: 5px; font-size: 10px; font-weight: 800; }
.ticket-title { align-items: flex-start; gap: 18px; padding: 24px 0 20px; }
.ticket-title h3 { margin: 0; color: var(--midnight); font-size: 21px; }
.ticket-title > span { flex: 0 0 auto; color: var(--blue); font-size: 10px; font-weight: 800; }
.ticket-timeline { position: relative; margin: 0; padding: 0; list-style: none; }
.ticket-timeline::before { position: absolute; top: 22px; bottom: 22px; left: 8px; width: 1px; background: var(--line); content: ""; }
.ticket-timeline li { position: relative; display: grid; align-items: center; grid-template-columns: 18px 1fr auto; gap: 14px; padding: 15px 0; }
.ticket-timeline li > span { position: relative; z-index: 1; width: 17px; height: 17px; background: var(--white); border: 2px solid #b5bfd0; border-radius: 50%; }
.ticket-timeline li.done > span { background: var(--teal); border-color: var(--teal); box-shadow: inset 0 0 0 4px var(--white); }
.ticket-timeline li.current > span { background: var(--blue); border-color: var(--blue); box-shadow: 0 0 0 5px rgba(47, 107, 255, 0.12); }
.ticket-timeline b,
.ticket-timeline small { display: block; }
.ticket-timeline b { color: var(--ink); font-size: 13px; }
.ticket-timeline small { margin-top: 2px; color: var(--muted); font-size: 11px; }
.ticket-timeline em { color: var(--muted); font-size: 9px; font-style: normal; font-weight: 800; }
.ticket-timeline .done em { color: var(--teal-dark); }
.ticket-timeline .current em { color: var(--blue); }
.ticket-footer { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.ticket-footer > span { display: flex; align-items: center; gap: 8px; color: var(--success); font-size: 11px; font-weight: 800; }
.ticket-footer svg { width: 18px; height: 18px; }
.ticket-footer button { padding: 0; color: var(--blue); background: none; border: 0; cursor: pointer; font-size: 11px; font-weight: 800; }

.section-light { background: var(--mist); }
.security .section-heading { max-width: 800px; }
.security-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 60px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.security-grid article { min-height: 270px; padding: 30px; background: var(--white); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.security-icon { display: grid; width: 48px; height: 48px; place-items: center; margin-bottom: 34px; color: var(--blue); border: 1px solid #bfd0ff; border-radius: 50%; }
.security-icon svg { width: 24px; height: 24px; }
.security-grid h3 { margin-bottom: 12px; color: var(--midnight); font-size: 19px; }
.security-grid p { margin: 0; color: var(--body); font-size: 14px; }
.security-grid .security-principle { position: relative; color: var(--white); background: var(--midnight); overflow: hidden; }
.quote-mark { position: absolute; top: -24px; right: 18px; color: rgba(22, 184, 166, 0.18); font-family: Georgia, serif; font-size: 150px; line-height: 1; }
.security-principle blockquote { position: relative; margin: 48px 0 32px; color: var(--white); font-size: 20px; font-weight: 650; line-height: 1.5; }
.quote-source { color: var(--teal); font-size: 10px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }

.research-grid { display: grid; grid-template-columns: minmax(340px, 0.78fr) minmax(0, 1.22fr); gap: clamp(72px, 10vw, 150px); }
.status-note { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; padding: 8px 12px; color: var(--teal-dark); background: #effaf8; border: 1px solid #c5e9e4; border-radius: 6px; font-size: 11px; font-weight: 800; }
.research-list { border-top: 1px solid var(--line); }
.research-list article { display: grid; grid-template-columns: 42px 1fr auto; gap: 18px; padding: 29px 0; border-bottom: 1px solid var(--line); }
.research-list article > span { color: var(--blue); font-size: 10px; font-weight: 800; }
.research-list h3 { margin-bottom: 6px; color: var(--midnight); font-size: 18px; }
.research-list p { margin: 0; color: var(--body); font-size: 14px; }
.research-list em { align-self: start; padding: 5px 8px; color: var(--muted); background: var(--mist); border-radius: 5px; font-size: 9px; font-style: normal; font-weight: 800; }

.pilot { color: var(--white); background: var(--midnight); }
.pilot-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(460px, 0.85fr); gap: clamp(72px, 10vw, 150px); }
.pilot-copy h2 { color: var(--white); }
.pilot-copy > p { color: #b4bfd4; }
.pilot-copy ul { display: grid; gap: 12px; margin: 34px 0 0; padding: 0; list-style: none; }
.pilot-copy li { position: relative; padding-left: 26px; color: #d6deeb; font-size: 14px; }
.pilot-copy li::before { position: absolute; top: 0.65em; left: 0; width: 12px; height: 6px; border-bottom: 2px solid var(--teal); border-left: 2px solid var(--teal); content: ""; transform: rotate(-45deg); }
.pilot-form { padding: 34px; color: var(--ink); background: var(--white); border-radius: 18px; }
.form-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.pilot-form label { display: block; margin-bottom: 18px; color: var(--ink); font-size: 12px; font-weight: 800; }
.pilot-form input,
.pilot-form textarea { width: 100%; margin-top: 8px; padding: 13px 14px; color: var(--ink); background: var(--white); border: 1px solid #cbd4e1; border-radius: 8px; outline: none; font-size: 14px; font-weight: 500; resize: vertical; transition: border-color 160ms ease, box-shadow 160ms ease; }
.pilot-form input { height: 48px; }
.pilot-form input:focus,
.pilot-form textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(47, 107, 255, 0.1); }
.pilot-form .is-invalid { border-color: var(--error); }
.field-error { display: none; margin-top: 5px; color: var(--error); font-size: 10px; font-weight: 600; }
.field-error:not(:empty) { display: block; }
.consent { display: grid !important; align-items: start; grid-template-columns: 18px 1fr; gap: 10px; color: var(--body) !important; font-size: 11px !important; font-weight: 500 !important; }
.consent input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--blue); }
.consent .field-error { grid-column: 2; }
.form-submit { width: 100%; }
.form-note { margin: 12px 0 0; color: var(--muted); font-size: 10px; text-align: center; }
.form-status { margin-bottom: 18px; padding: 12px 14px; color: var(--success); background: #ecf9f5; border: 1px solid #bce7d9; border-radius: 8px; font-size: 12px; font-weight: 700; }

.site-footer { padding-top: 76px; color: #aeb9cd; background: #071022; }
.footer-main { display: grid; grid-template-columns: minmax(240px, 1fr) 1.6fr; gap: 100px; padding-bottom: 68px; }
.footer-brand img { width: 170px; height: 58px; padding: 8px 12px; background: var(--white); border-radius: 8px; }
.footer-brand p { max-width: 310px; margin-top: 22px; font-size: 14px; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 42px; }
.footer-links div { display: flex; flex-direction: column; align-items: flex-start; gap: 13px; }
.footer-links h3 { margin-bottom: 6px; color: var(--white); font-size: 12px; letter-spacing: 0.09em; text-transform: uppercase; }
.footer-links a,
.footer-links button { color: #aeb9cd; font-weight: 500; }
.footer-links a:hover,
.footer-links button:hover { color: var(--white); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-block: 22px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 10px; letter-spacing: 0.04em; }

.modal {
  width: min(960px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  padding: 0;
  color: var(--ink);
  background: var(--white);
  border: 0;
  border-radius: 20px;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.32);
}

.modal::backdrop { background: rgba(3, 9, 22, 0.76); backdrop-filter: blur(7px); }
.modal-shell { position: relative; padding: 44px; }
.modal-close { position: absolute; z-index: 2; top: 20px; right: 20px; display: grid; width: 40px; height: 40px; padding: 0; place-items: center; color: var(--muted); background: var(--mist); border: 0; border-radius: 50%; cursor: pointer; }
.modal-close svg { width: 20px; height: 20px; }
.demo-head { max-width: 680px; padding-right: 40px; }
.demo-head h2 { margin-bottom: 14px; font-size: 38px; }
.demo-head > p:last-child { color: var(--body); }
.demo-progress { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin: 32px 0 26px; }
.demo-progress::before { position: absolute; z-index: 0; top: 16px; right: 8%; left: 8%; height: 1px; background: var(--line); content: ""; }
.demo-progress button { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 0; color: var(--muted); background: transparent; border: 0; cursor: pointer; font-size: 10px; }
.demo-progress button span { display: grid; width: 32px; height: 32px; place-items: center; background: var(--white); border: 1px solid var(--line); border-radius: 50%; font-weight: 800; }
.demo-progress button b { font-weight: 700; }
.demo-progress button.is-active,
.demo-progress button.is-complete { color: var(--blue); }
.demo-progress button.is-active span { color: var(--white); background: var(--blue); border-color: var(--blue); box-shadow: 0 0 0 5px rgba(47, 107, 255, 0.12); }
.demo-progress button.is-complete span { color: var(--white); background: var(--teal); border-color: var(--teal); }
.demo-stage { min-height: 300px; padding: 28px; background: var(--mist); border: 1px solid var(--line); border-radius: 14px; }
.demo-panel { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 32px; }
.demo-panel-copy .demo-label { color: var(--blue); font-size: 10px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.demo-panel-copy h3 { margin: 10px 0 12px; color: var(--midnight); font-size: 25px; }
.demo-panel-copy p { color: var(--body); font-size: 14px; }
.demo-boundary { display: inline-flex; align-items: center; gap: 8px; padding: 7px 10px; color: var(--teal-dark); background: #eaf9f6; border-radius: 6px; font-size: 10px; font-weight: 800; }
.demo-boundary::before { width: 7px; height: 7px; background: var(--teal); border-radius: 50%; content: ""; }
.demo-record { padding: 20px; background: var(--white); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow-sm); }
.demo-record-head { display: flex; justify-content: space-between; margin-bottom: 16px; padding-bottom: 12px; color: var(--muted); border-bottom: 1px solid var(--line); font-size: 9px; font-weight: 800; letter-spacing: 0.06em; }
.demo-record dl { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; margin: 0; }
.demo-record dl div { padding: 10px; background: var(--mist); border-radius: 6px; }
.demo-record dt { color: var(--muted); font-size: 8px; font-weight: 800; text-transform: uppercase; }
.demo-record dd { margin: 3px 0 0; color: var(--ink); font-size: 11px; font-weight: 700; }
.demo-branches { display: grid; gap: 9px; }
.demo-branch { display: grid; align-items: center; grid-template-columns: 1fr auto; gap: 10px; padding: 12px; background: var(--white); border: 1px solid var(--line); border-radius: 8px; }
.demo-branch b,
.demo-branch small { display: block; }
.demo-branch b { color: var(--ink); font-size: 11px; }
.demo-branch small { margin-top: 2px; color: var(--muted); font-size: 9px; }
.demo-branch em { color: var(--teal-dark); font-size: 12px; font-style: normal; font-weight: 800; }
.demo-controls { display: flex; align-items: center; justify-content: space-between; margin-top: 22px; }
.demo-controls .button { min-width: 126px; min-height: 44px; }
.demo-controls > span { color: var(--muted); font-size: 11px; font-weight: 800; }
.button:disabled { cursor: not-allowed; opacity: 0.45; pointer-events: none; }

.modal-shell-small { max-width: 620px; margin: auto; padding: 52px; text-align: center; }
.info-modal { width: min(620px, calc(100vw - 32px)); }
.info-icon { display: grid; width: 64px; height: 64px; margin: 0 auto 24px; place-items: center; color: var(--blue); background: #edf2ff; border-radius: 50%; }
.info-icon svg { width: 32px; height: 32px; }
.info-modal h2 { margin-bottom: 16px; color: var(--midnight); font-size: 30px; }
.info-modal [data-info-body] { margin-bottom: 28px; color: var(--body); font-size: 14px; }
.info-modal [data-info-body] p:last-child { margin-bottom: 0; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 650ms ease, transform 650ms ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

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

@media (max-width: 1100px) {
  .nav-links { display: none; }
  .hero { min-height: auto; }
  .hero-grid { grid-template-columns: 1fr 0.9fr; gap: 42px; }
  .hero h1 { font-size: clamp(44px, 6vw, 62px); }
  .authority-state { display: none; }
  .authority-bar { grid-template-columns: auto 1fr; }
  .loop-visual { grid-template-columns: repeat(3, 1fr); }
  .loop-track { display: none; }
  .product { grid-template-columns: 1fr; }
  .product .section-heading { position: static; }
  .case-grid { grid-template-columns: 0.85fr 1.15fr; gap: 50px; }
  .security-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  :root { --shell: min(100% - 36px, 720px); }
  .site-header { background: rgba(255, 255, 255, 0.96); border-bottom-color: var(--line); }
  .menu-toggle { display: block; cursor: pointer; }
  .nav-menu { position: fixed; z-index: 2; top: 0; right: 0; left: 0; display: flex; visibility: hidden; height: 100dvh; flex-direction: column; align-items: stretch; justify-content: center; gap: 34px; padding: 96px 32px 42px; background: var(--white); opacity: 0; transform: translateY(-14px); transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease; }
  .nav-menu.is-open { visibility: visible; opacity: 1; transform: translateY(0); }
  .nav-links { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
  .nav-links a { color: var(--midnight); font-size: 26px; }
  .nav-actions { margin-top: auto; flex-wrap: wrap; }
  .nav-actions .button { flex: 1; }
  .language-menu { top: auto; right: auto; bottom: calc(100% + 8px); left: 0; }
  .hero { padding-top: 122px; }
  .hero::before { width: 25vw; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 680px; }
  .hero-system { max-width: 620px; }
  .hero-rule { margin-top: 64px; }
  .section { padding-block: 92px; }
  .problem,
  .research-grid,
  .pilot-grid { grid-template-columns: 1fr; gap: 54px; }
  .problem .section-heading { position: static; }
  .product-grid { grid-template-columns: 1fr 1fr; }
  .case-grid { grid-template-columns: 1fr; }
  .case-copy { max-width: 680px; }
  .ticket-demo { max-width: 640px; }
  .footer-main { grid-template-columns: 1fr; gap: 48px; }
  .demo-panel { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  :root { --shell: calc(100% - 28px); }
  .nav { height: 68px; }
  .brand { width: 136px; height: 46px; }
  .hero { padding-top: 110px; }
  .hero h1 { font-size: clamp(40px, 12vw, 54px); }
  .hero-lede { font-size: 17px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .button { width: 100%; }
  .hero-proof { display: grid; }
  .hero-system { padding: 16px; }
  .system-topline { font-size: 9px; }
  .plane { padding: 14px; }
  .plane-items,
  .simulation-branches { padding-left: 0; }
  .plane-flow { padding: 0; }
  .flow-line span { display: none; }
  .authority-bar { padding: 12px; }
  .authority-bar small { display: none; }
  .section { padding-block: 76px; }
  .section-heading h2,
  .case-copy h2,
  .pilot-copy h2 { font-size: clamp(34px, 10vw, 46px); }
  .problem-content .lead { font-size: 19px; }
  .loop-visual { grid-template-columns: 1fr; }
  .loop-step { min-height: auto; }
  .product-grid { grid-template-columns: 1fr; border-left: 0; }
  .product-card-featured { grid-column: auto; }
  .product-card { min-height: auto; border-left: 1px solid var(--line); }
  .case-metrics { gap: 18px; }
  .ticket-demo { padding: 20px; }
  .ticket-title { display: block; }
  .ticket-title > span { display: inline-block; margin-top: 8px; }
  .security-grid { grid-template-columns: 1fr; border-left: 0; }
  .security-grid article { min-height: auto; border-left: 1px solid var(--line); }
  .research-list article { grid-template-columns: 32px 1fr; }
  .research-list em { grid-column: 2; justify-self: start; }
  .pilot-form { padding: 22px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 8px; }
  .modal-shell { padding: 30px 20px 24px; }
  .demo-head { padding-right: 20px; }
  .demo-head h2 { font-size: 30px; }
  .demo-progress { overflow-x: auto; grid-template-columns: repeat(6, 68px); padding: 5px; }
  .demo-progress::before { display: none; }
  .demo-stage { padding: 18px; }
  .demo-record dl { grid-template-columns: 1fr; }
  .demo-controls .button { min-width: auto; padding: 0 16px; }
  .modal-shell-small { padding: 46px 24px 28px; }
}
