:root {
  color-scheme: dark;
  --bg: #05070a;
  --bg-2: #090d12;
  --panel: #0d1319;
  --panel-2: #111922;
  --line: rgba(181, 213, 229, 0.16);
  --line-strong: rgba(198, 232, 246, 0.32);
  --text: #eef7fb;
  --muted: #91a1ab;
  --muted-2: #63717a;
  --ice: #bfeeff;
  --cyan: #68c7dc;
  --green: #8ca891;
  --dangerless: #d9e8ee;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --max: 1180px;
  --header: 76px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background:
    linear-gradient(rgba(178, 218, 235, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(178, 218, 235, 0.025) 1px, transparent 1px),
    radial-gradient(circle at 50% 0%, rgba(67, 121, 140, 0.18), transparent 34rem),
    var(--bg);
  background-size: 44px 44px, 44px 44px, auto, auto;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(180deg, rgba(5, 7, 10, 0.16), var(--bg) 86%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.018), rgba(255, 255, 255, 0.018) 1px, transparent 1px, transparent 4px);
}

::selection {
  background: rgba(191, 238, 255, 0.22);
  color: #ffffff;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

main {
  overflow: hidden;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: var(--header);
  padding: 0 max(24px, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(5, 7, 10, 0.82);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand-logo {
  width: 28px;
  height: 28px;
  display: block;
  flex: 0 0 auto;
}

.primary-nav,
.language-switch {
  display: flex;
  align-items: center;
}

.primary-nav {
  justify-content: center;
  gap: 4px;
}

.primary-nav a,
.language-switch a {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.primary-nav a {
  padding: 10px 12px;
}

.primary-nav a:hover,
.primary-nav a.active,
.language-switch a:hover,
.language-switch a.active {
  color: var(--text);
}

.primary-nav a.active {
  background: rgba(191, 238, 255, 0.06);
}

.language-switch {
  justify-content: flex-end;
  gap: 6px;
}

.language-switch a {
  min-width: 34px;
  padding: 7px 8px;
  border: 1px solid transparent;
  text-align: center;
}

.language-switch a.active {
  border-color: var(--line-strong);
  color: var(--ice);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: rgba(13, 19, 25, 0.74);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 0 auto 6px;
  background: var(--text);
}

.nav-toggle span:last-child {
  margin-bottom: 0;
}

section {
  width: min(var(--max), calc(100vw - 48px));
  margin: 0 auto;
  padding: 96px 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.78fr);
  align-items: center;
  gap: 68px;
  min-height: calc(100svh - var(--header));
  padding-top: 56px;
  padding-bottom: 82px;
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.76fr);
  align-items: center;
  gap: 70px;
  min-height: 620px;
  padding-top: 82px;
}

.page-hero.compact {
  display: block;
  min-height: 0;
  max-width: 940px;
  margin-left: max(24px, calc((100vw - var(--max)) / 2));
  margin-right: auto;
  padding-top: 128px;
  padding-bottom: 72px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--cyan);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  color: var(--text);
  font-weight: 650;
  line-height: 1.04;
  letter-spacing: 0;
  hyphens: none;
  overflow-wrap: normal;
  text-wrap: balance;
  word-break: normal;
}

h1 {
  max-width: 850px;
  margin-bottom: 26px;
  font-size: clamp(3rem, 7vw, 6.8rem);
}

h2 {
  max-width: 780px;
  margin-bottom: 18px;
  font-size: clamp(2rem, 4.2vw, 4.3rem);
}

h3 {
  margin-bottom: 14px;
  font-size: 1.12rem;
}

p {
  color: var(--muted);
}

.hero-lead,
.page-hero p:not(.eyebrow) {
  max-width: 720px;
  color: #bdcbd2;
  font-size: clamp(1.08rem, 1.5vw, 1.34rem);
}

.hero-kicker {
  color: var(--dangerless);
  font-size: 0.96rem;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 800;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
  border-color: rgba(191, 238, 255, 0.62);
}

.btn-primary {
  background: linear-gradient(180deg, rgba(191, 238, 255, 0.2), rgba(80, 147, 164, 0.14));
  color: #f7fdff;
}

.btn-secondary {
  background: rgba(13, 19, 25, 0.64);
  color: #d8e8ee;
}

.kpard-visual {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 28%),
    radial-gradient(circle at 58% 46%, rgba(104, 199, 220, 0.15), transparent 34%),
    radial-gradient(circle at 18% 78%, rgba(140, 168, 145, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(17, 25, 34, 0.96), rgba(7, 10, 14, 0.96)),
    #0a0f14;
  box-shadow: var(--shadow);
  isolation: isolate;
}

.kpard-visual::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(rgba(191, 238, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(191, 238, 255, 0.06) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(180deg, black, transparent 90%);
}

.kpard-visual::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(110deg, transparent 0 44%, rgba(191, 238, 255, 0.055) 48%, transparent 55%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.025) 1px, transparent 1px, transparent 5px);
  opacity: 0.76;
}

.visual-topline,
.visual-readouts {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.scan-field {
  --filter-target-x: 112px;
  --filter-target-y: calc(100% - 62px);
  position: relative;
  z-index: 1;
  height: 384px;
  margin: 8px 18px 0;
  overflow: hidden;
  border: 1px solid rgba(191, 238, 255, 0.13);
  background:
    linear-gradient(90deg, rgba(191, 238, 255, 0.04), transparent 24%, transparent 76%, rgba(191, 238, 255, 0.035)),
    radial-gradient(circle at 50% 55%, rgba(191, 238, 255, 0.13), transparent 43%),
    linear-gradient(135deg, rgba(140, 168, 145, 0.08), transparent 50%),
    rgba(3, 6, 9, 0.72);
}

.scan-field::before {
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(90deg, transparent 0 38%, rgba(191, 238, 255, 0.11) 48%, transparent 58%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 18%, transparent 82%, rgba(255, 255, 255, 0.035));
  background-size: 160% 100%, auto;
  opacity: 0.54;
  animation: fieldScan 9s linear infinite;
}

.scan-field::after {
  position: absolute;
  inset: 0;
  z-index: 10;
  pointer-events: none;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.035);
  box-shadow: inset 0 0 36px rgba(0, 0, 0, 0.44);
}

.field-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: radial-gradient(circle at 50% 55%, black 0 64%, transparent 92%);
  animation: gridDrift 18s linear infinite;
}

.track-canvas {
  position: absolute;
  inset: 0;
  z-index: 4;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.signal-route {
  fill: none;
  stroke: rgba(191, 238, 255, 0.46);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-dasharray: 8 14;
  vector-effect: non-scaling-stroke;
  animation: routeFlow 1.8s linear infinite, routePulse 9s ease-in-out infinite;
}

.route-b {
  animation-delay: -0.7s, -4.4s;
}

.false-route {
  stroke: rgba(255, 179, 94, 0.52);
  stroke-dasharray: 4 13;
  animation: routeFlow 1.4s linear infinite, falseRoutePulse 9s ease-in-out infinite;
}

.route-d {
  animation-delay: -0.5s, -4.5s;
}

.range-ring,
.field-axis,
.sensor-origin,
.scan-cone,
.signal-node,
.track-node {
  position: absolute;
  display: block;
}

.range-ring {
  left: 50%;
  top: 55%;
  z-index: 1;
  border: 1px solid rgba(191, 238, 255, 0.14);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: ringPulse 9s ease-in-out infinite;
}

.ring-a {
  width: 138px;
  height: 138px;
}

.ring-b {
  width: 245px;
  height: 245px;
  animation-delay: -3s;
}

.ring-c {
  width: 362px;
  height: 362px;
  border-color: rgba(140, 168, 145, 0.12);
  animation-delay: -6s;
}

.field-axis {
  z-index: 1;
  background: rgba(191, 238, 255, 0.1);
}

.axis-x {
  top: 55%;
  left: 0;
  right: 0;
  height: 1px;
}

.axis-y {
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
}

.scan-cone {
  position: absolute;
  left: 50%;
  top: 55%;
  z-index: 3;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: conic-gradient(from 218deg, transparent 0deg, rgba(191, 238, 255, 0.07) 9deg, rgba(104, 199, 220, 0.2) 25deg, transparent 52deg, transparent 360deg);
  mask-image: radial-gradient(circle, transparent 0 7%, black 8% 57%, transparent 73%);
  mix-blend-mode: screen;
  transform: translate(-50%, -50%) rotate(0deg);
  animation: sweepCone 9s linear infinite;
}

.sensor-origin {
  left: 50%;
  top: 55%;
  z-index: 8;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(191, 238, 255, 0.54);
  background: rgba(5, 7, 10, 0.78);
  box-shadow: 0 0 28px rgba(191, 238, 255, 0.18);
  transform: translate(-50%, -50%) rotate(45deg);
  animation: originPulse 4.5s ease-in-out infinite;
}

.sensor-origin::before,
.sensor-origin::after {
  position: absolute;
  content: "";
  background: rgba(191, 238, 255, 0.5);
}

.sensor-origin::before {
  top: 50%;
  left: 6px;
  right: 6px;
  height: 1px;
}

.sensor-origin::after {
  top: 6px;
  bottom: 6px;
  left: 50%;
  width: 1px;
}

.sensor-origin i {
  position: absolute;
  inset: 11px;
  display: block;
  background: var(--ice);
  box-shadow: 0 0 18px rgba(191, 238, 255, 0.46);
}

.signal-node {
  z-index: 8;
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 96px;
  max-width: 132px;
  min-height: 30px;
  padding: 7px 9px;
  border: 1px solid rgba(191, 238, 255, 0.36);
  background: rgba(5, 7, 10, 0.78);
  color: rgba(239, 249, 252, 0.9);
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.05;
  text-transform: uppercase;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.76);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

.signal-node i {
  display: block;
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  background: var(--ice);
  box-shadow: 0 0 14px rgba(191, 238, 255, 0.5);
}

.signal-node b {
  min-width: 0;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.signal-node::before {
  position: absolute;
  inset: -6px;
  border: 1px solid rgba(191, 238, 255, 0.12);
  content: "";
}

.signal-false {
  border-color: rgba(255, 179, 94, 0.46);
  color: #ffe0b9;
}

.signal-false i {
  background: #ffb35e;
  box-shadow: 0 0 14px rgba(255, 179, 94, 0.44);
}

.signal-false::after {
  position: absolute;
  right: -14px;
  top: -8px;
  min-width: 46px;
  max-width: 72px;
  padding: 3px 5px;
  border: 1px solid rgba(255, 179, 94, 0.38);
  content: attr(data-status);
  background: rgba(45, 25, 10, 0.92);
  color: #ffd9a8;
  font-size: 0.42rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1;
  pointer-events: none;
  text-align: center;
  text-transform: uppercase;
  opacity: 0;
  transform: translate(34%, -50%) scale(0.82);
  animation: falseReject 9s ease-in-out infinite;
}

.detection-a {
  animation: detectSignalA 9s cubic-bezier(0.42, 0, 0.16, 1) infinite;
}

.detection-b {
  animation: detectSignalB 9s cubic-bezier(0.42, 0, 0.16, 1) infinite;
  animation-delay: -4.5s;
}

.false-a {
  animation: falseSignalA 9s cubic-bezier(0.42, 0, 0.16, 1) infinite;
}

.false-b {
  animation: falseSignalB 9s cubic-bezier(0.42, 0, 0.16, 1) infinite;
  animation-delay: -4.5s;
}

.false-b::after {
  animation-delay: -4.5s;
}

.track-node {
  z-index: 9;
  min-width: 118px;
  padding: 10px 11px 10px 28px;
  border: 1px solid rgba(191, 238, 255, 0.38);
  background: rgba(5, 7, 10, 0.82);
  color: rgba(239, 249, 252, 0.88);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.1;
  text-transform: uppercase;
  transform: translate(-50%, -50%);
  animation: trackConfirm 9s ease-in-out infinite;
}

.track-node i {
  position: absolute;
  top: 14px;
  left: 11px;
  display: block;
  width: 8px;
  height: 8px;
  background: var(--ice);
  box-shadow: 0 0 14px rgba(191, 238, 255, 0.45);
}

.track-node b {
  display: block;
  font-weight: 800;
}

.track-node em {
  display: block;
  margin-top: 3px;
  color: rgba(216, 232, 238, 0.68);
  font-size: 0.49rem;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.08em;
  overflow-wrap: anywhere;
}

.track-node::after {
  position: absolute;
  inset: -8px;
  border: 1px solid rgba(191, 238, 255, 0.12);
  content: "";
  opacity: 0;
  animation: trackHalo 9s ease-out infinite;
}

.track-a {
  top: 62%;
  left: 77%;
}

.track-b {
  top: 46%;
  left: 24%;
  animation-delay: -4.5s;
}

.track-b::after {
  animation-delay: -4.5s;
}

.analysis-gate {
  position: absolute;
  left: 50%;
  top: 54%;
  z-index: 7;
  display: grid;
  gap: 7px;
  width: 118px;
  padding: 11px 10px;
  border: 1px solid rgba(191, 238, 255, 0.2);
  background: rgba(5, 7, 10, 0.72);
  color: rgba(216, 232, 238, 0.74);
  text-align: center;
  text-transform: uppercase;
  transform: translate(-50%, -50%);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.34);
}

.analysis-gate::before {
  position: absolute;
  left: 50%;
  top: -44px;
  bottom: -44px;
  width: 1px;
  content: "";
  background: linear-gradient(180deg, transparent, rgba(191, 238, 255, 0.28), transparent);
  transform: translateX(-50%);
}

.analysis-gate span {
  position: relative;
  z-index: 1;
  font-size: 0.5rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.15;
}

.analysis-gate i {
  position: relative;
  z-index: 1;
  display: block;
  height: 4px;
  background: linear-gradient(90deg, rgba(140, 168, 145, 0.16), rgba(191, 238, 255, 0.6));
  transform-origin: left center;
  animation: gateBar 9s ease-in-out infinite;
}

.analysis-gate i:nth-child(3) {
  animation-delay: -1.2s;
}

.analysis-gate i:nth-child(4) {
  animation-delay: -2.4s;
}

.filter-card {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 8;
  width: 196px;
  padding: 12px 12px 13px;
  border: 1px solid rgba(255, 179, 94, 0.24);
  background: rgba(5, 7, 10, 0.72);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.filter-card::before {
  position: absolute;
  right: 10px;
  bottom: 45px;
  left: 10px;
  z-index: 1;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 179, 94, 0.78), transparent);
  opacity: 0;
  animation: auditSlot 9s ease-in-out infinite;
}

.filter-card::after {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  background: linear-gradient(105deg, transparent 0 38%, rgba(255, 179, 94, 0.14) 48%, transparent 58%);
  opacity: 0;
  transform: translateX(-64%);
  animation: auditSweep 9s ease-in-out infinite;
}

.filter-label,
.filter-state {
  position: relative;
  z-index: 2;
  display: block;
  max-width: 116px;
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.filter-label {
  color: rgba(216, 232, 238, 0.72);
  font-size: 0.54rem;
  letter-spacing: 0.09em;
}

.filter-state {
  margin-top: 5px;
  color: #ffd9a8;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
}

.audit-mark {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: grid;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(255, 179, 94, 0.34);
  place-items: center;
  opacity: 0.62;
  animation: auditSealPulse 9s ease-in-out infinite;
}

.audit-mark::before {
  position: absolute;
  width: 11px;
  height: 11px;
  border: 1px solid rgba(255, 179, 94, 0.68);
  content: "";
  transform: rotate(45deg);
}

.audit-mark i {
  position: absolute;
  display: block;
  width: 15px;
  height: 1px;
  background: rgba(255, 179, 94, 0.52);
}

.audit-mark i:nth-child(1) {
  transform: rotate(90deg);
}

.audit-feed,
.audit-result {
  position: relative;
  z-index: 2;
  max-width: 134px;
  font-family: "Courier New", monospace;
  text-transform: uppercase;
}

.audit-feed {
  display: grid;
  gap: 2px;
  height: 30px;
  margin-top: 9px;
  padding-left: 8px;
  overflow: hidden;
  border-left: 1px solid rgba(255, 179, 94, 0.3);
}

.audit-feed em,
.audit-result em {
  display: block;
  font-style: normal;
  font-weight: 800;
  line-height: 1.05;
}

.audit-feed em {
  color: rgba(255, 217, 168, 0.68);
  font-size: 0.43rem;
  letter-spacing: 0.08em;
  opacity: 0;
  transform: translateY(7px);
  animation: auditFeedLine 9s ease-in-out infinite;
}

.audit-feed em:nth-child(2) {
  animation-delay: 90ms;
}

.audit-feed em:nth-child(3) {
  animation-delay: 180ms;
}

.audit-result {
  display: grid;
  gap: 2px;
  margin-top: 7px;
}

.audit-result em {
  color: rgba(255, 217, 168, 0.92);
  font-size: 0.47rem;
  letter-spacing: 0.07em;
  opacity: 0;
  transform: translateY(5px);
  animation: auditResultText 9s ease-in-out infinite;
}

.audit-result em:nth-child(2) {
  color: rgba(216, 232, 238, 0.74);
  animation-delay: 110ms;
}

.field-label {
  position: absolute;
  z-index: 7;
  display: block;
  padding: 5px 7px;
  border: 1px solid rgba(191, 238, 255, 0.12);
  background: rgba(5, 7, 10, 0.58);
  color: rgba(216, 232, 238, 0.72);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.field-label-a {
  top: 16px;
  left: 16px;
}

.field-label-b {
  right: 16px;
  bottom: 16px;
}

.event-stack {
  position: absolute;
  right: 16px;
  top: 50px;
  z-index: 8;
  display: grid;
  gap: 7px;
  width: min(196px, 42%);
}

.event-stack span {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 8px;
  align-items: center;
  padding: 8px 9px;
  border: 1px solid rgba(191, 238, 255, 0.1);
  background: rgba(5, 7, 10, 0.62);
  color: rgba(216, 232, 238, 0.72);
  font-size: 0.58rem;
  letter-spacing: 0.06em;
  line-height: 1.1;
  text-transform: uppercase;
  animation: eventLoop 9s ease-in-out infinite;
}

.event-stack span:nth-child(2) {
  animation-delay: -3s;
}

.event-stack span:nth-child(3) {
  animation-delay: -6s;
}

.event-stack b {
  color: var(--ice);
  font-weight: 800;
}

.event-stack em {
  font-style: normal;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.field-timeline {
  position: absolute;
  z-index: 7;
  left: 16px;
  right: 16px;
  bottom: 52px;
  display: grid;
  grid-template-columns: 0.35fr 0.62fr 0.48fr 0.78fr 0.26fr;
  gap: 6px;
}

.field-timeline span {
  height: 3px;
  background: rgba(191, 238, 255, 0.22);
  animation: timelineRead 4.8s ease-in-out infinite;
  transform-origin: left center;
}

.field-timeline span:nth-child(2) {
  background: rgba(140, 168, 145, 0.25);
  animation-delay: -1.2s;
}

.field-timeline span:nth-child(4) {
  background: rgba(191, 238, 255, 0.36);
  animation-delay: -2.4s;
}

.field-timeline span:nth-child(5) {
  background: rgba(191, 238, 255, 0.16);
  animation-delay: -3.2s;
}

.visual-readouts {
  align-items: stretch;
  padding-top: 20px;
}

.visual-readouts div {
  flex: 1;
  padding: 16px;
  border: 1px solid rgba(191, 238, 255, 0.12);
  background: rgba(255, 255, 255, 0.025);
}

.visual-readouts span,
.visual-readouts strong {
  display: block;
}

.visual-readouts strong {
  margin-top: 6px;
  color: var(--text);
  font-size: 1rem;
  letter-spacing: 0;
  text-transform: none;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 0.6fr);
  gap: 70px;
  align-items: start;
  border-top: 1px solid var(--line);
}

.section-intro p:not(.eyebrow) {
  max-width: 680px;
  font-size: 1.05rem;
}

.signal-strip,
.route-list {
  display: grid;
  gap: 10px;
}

.signal-strip span,
.route-list span,
.capability-preview span {
  display: block;
  border: 1px solid var(--line);
  background: rgba(13, 19, 25, 0.7);
  color: #d9e7ed;
  font-size: 0.9rem;
  font-weight: 700;
}

.signal-strip span,
.route-list span {
  padding: 17px 18px;
}

.card-grid,
.module-grid {
  display: grid;
  gap: 16px;
}

.card-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.module-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.info-card,
.module-card {
  min-height: 230px;
  padding: 26px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(17, 25, 34, 0.78), rgba(9, 13, 18, 0.68));
}

.info-card p,
.module-card p {
  margin-bottom: 0;
}

.info-card h3 {
  margin-bottom: 14px;
  font-size: clamp(1.25rem, 2vw, 1.72rem);
}

.card-index {
  display: block;
  width: 34px;
  height: 2px;
  margin-bottom: 38px;
  background: var(--ice);
}

.product-band,
.closing-band,
.legal-band {
  border: 1px solid var(--line);
  background:
    linear-gradient(120deg, rgba(191, 238, 255, 0.08), transparent 46%),
    linear-gradient(180deg, rgba(17, 25, 34, 0.84), rgba(7, 10, 14, 0.76));
}

.product-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.55fr);
  gap: 56px;
  padding: 54px;
}

.product-band p {
  max-width: 650px;
}

.check-list,
.process-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li,
.process-list li {
  border: 1px solid rgba(191, 238, 255, 0.12);
  background: rgba(0, 0, 0, 0.18);
  color: #d7e7ed;
  font-weight: 700;
}

.check-list li {
  padding: 15px 16px;
}

.process-list {
  counter-reset: process;
}

.process-list li {
  position: relative;
  padding: 16px 16px 16px 54px;
  counter-increment: process;
}

.process-list li::before {
  position: absolute;
  top: 16px;
  left: 16px;
  color: var(--cyan);
  content: counter(process, decimal-leading-zero);
}

.capability-preview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.capability-preview span {
  min-height: 72px;
  padding: 22px;
}

.closing-band,
.legal-band {
  padding: 58px;
}

.closing-band p:not(.eyebrow),
.legal-band p:not(.eyebrow) {
  max-width: 770px;
  font-size: 1.05rem;
}

.legal-band {
  border-color: rgba(140, 168, 145, 0.28);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.48fr) minmax(0, 0.72fr);
  gap: 28px;
  align-items: start;
}

.contact-aside,
.contact-form {
  border: 1px solid var(--line);
  background: rgba(13, 19, 25, 0.76);
}

.contact-aside {
  padding: 34px;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 28px;
}

.contact-form label,
.contact-form span {
  display: block;
}

.contact-form label span {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-form .full,
.form-footer {
  grid-column: 1 / -1;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid rgba(191, 238, 255, 0.16);
  border-radius: 0;
  outline: none;
  background: rgba(3, 5, 8, 0.78);
  color: var(--text);
  transition: border-color 140ms ease, background 140ms ease;
}

input,
select {
  height: 48px;
  padding: 0 13px;
}

textarea {
  min-height: 170px;
  padding: 13px;
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  border-color: rgba(191, 238, 255, 0.58);
  background: rgba(5, 9, 13, 0.96);
}

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

#form-status {
  min-height: 1.4em;
  margin-bottom: 0;
  color: var(--ice);
  font-size: 0.9rem;
}

.is-submitting {
  opacity: 0.72;
  pointer-events: none;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(260px, 0.9fr);
  gap: 32px 72px;
  width: min(var(--max), calc(100vw - 48px));
  margin: 64px auto 0;
  padding: 48px 0;
  border-top: 1px solid var(--line);
}

.footer-brand {
  margin-bottom: 18px;
}

.site-footer p {
  max-width: 560px;
  margin-bottom: 0;
}

.footer-doctrine {
  color: var(--text);
  font-weight: 800;
}

.legal-note {
  margin-top: 12px;
  font-size: 0.9rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.site-footer nav a,
.site-footer small {
  color: var(--muted-2);
  font-size: 0.82rem;
  font-weight: 700;
}

.site-footer nav a:hover {
  color: var(--text);
}

.consent-panel {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 80;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  width: min(680px, calc(100vw - 36px));
  padding: 18px;
  border: 1px solid var(--line-strong);
  background: rgba(5, 7, 10, 0.94);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.consent-panel[hidden] {
  display: none;
}

.consent-panel strong {
  display: block;
  color: var(--text);
  font-size: 0.88rem;
  margin-bottom: 4px;
}

.consent-panel p {
  margin-bottom: 0;
  font-size: 0.88rem;
}

.consent-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.load-failure {
  width: min(720px, calc(100vw - 48px));
  margin: 0 auto;
  padding: 120px 0;
}

.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 560ms ease, transform 560ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.system-visual {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 30%),
    radial-gradient(circle at 22% 22%, rgba(104, 199, 220, 0.13), transparent 28%),
    radial-gradient(circle at 76% 78%, rgba(140, 168, 145, 0.12), transparent 32%),
    linear-gradient(180deg, rgba(17, 25, 34, 0.96), rgba(5, 7, 10, 0.96));
  box-shadow: var(--shadow);
  isolation: isolate;
}

.system-visual::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(rgba(191, 238, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(191, 238, 255, 0.045) 1px, transparent 1px),
    linear-gradient(125deg, transparent 0 42%, rgba(255, 179, 94, 0.08) 48%, transparent 56%);
  background-size: 34px 34px, 34px 34px, auto;
  mask-image: linear-gradient(180deg, black, transparent 94%);
}

.system-topline {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
  border-bottom: 1px solid rgba(191, 238, 255, 0.11);
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pipeline-flow {
  position: relative;
  display: grid;
  gap: 18px;
  padding: 46px 28px 24px;
}

.pipeline-flow::before {
  position: absolute;
  top: 76px;
  bottom: 76px;
  left: 58px;
  width: 1px;
  content: "";
  background: linear-gradient(180deg, transparent, rgba(191, 238, 255, 0.42), transparent);
}

.pipeline-node {
  position: relative;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 14px;
  align-items: center;
  min-height: 58px;
  padding: 14px 16px;
  border: 1px solid rgba(191, 238, 255, 0.14);
  background: rgba(5, 7, 10, 0.62);
}

.pipeline-node::after {
  position: absolute;
  top: 50%;
  right: 18px;
  width: min(120px, 22%);
  height: 1px;
  content: "";
  background: linear-gradient(90deg, rgba(191, 238, 255, 0.34), transparent);
}

.pipeline-node span {
  display: grid;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(191, 238, 255, 0.28);
  color: var(--ice);
  font-size: 0.72rem;
  font-weight: 900;
  place-items: center;
}

.pipeline-node strong {
  max-width: calc(100% - 60px);
  color: var(--text);
  font-size: 0.94rem;
  line-height: 1.2;
}

.system-readout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 18px;
  color: rgba(216, 232, 238, 0.68);
  font-family: "Courier New", monospace;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.system-readout span {
  border: 1px solid rgba(191, 238, 255, 0.1);
  padding: 10px;
  background: rgba(0, 0, 0, 0.18);
}

.trust-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-band h2,
.trust-band p {
  max-width: 880px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
}

.service-card,
.service-detail,
.project-card,
.about-manifesto,
.not-panel,
.detail-panel {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(17, 25, 34, 0.78), rgba(9, 13, 18, 0.68));
}

.service-card {
  min-height: 260px;
  padding: 24px;
}

.service-card h3,
.service-detail h2,
.project-card h3 {
  overflow-wrap: anywhere;
}

.service-card p {
  margin-bottom: 0;
}

.process-section {
  border-top: 1px solid var(--line);
}

.workflow-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  counter-reset: workflow;
  list-style: none;
}

.workflow-list.three-step {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.workflow-list li {
  position: relative;
  min-height: 260px;
  padding: 68px 24px 24px;
  border: 1px solid var(--line);
  background: rgba(13, 19, 25, 0.68);
  counter-increment: workflow;
}

.workflow-list li::before {
  position: absolute;
  top: 24px;
  left: 24px;
  color: var(--cyan);
  content: counter(workflow, decimal-leading-zero);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.workflow-list p {
  margin-bottom: 0;
}

.service-stack {
  display: grid;
  gap: 18px;
  padding-top: 26px;
}

.service-detail {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(300px, 0.48fr);
  gap: 42px;
  padding: 34px;
}

.service-detail h2 {
  font-size: clamp(1.65rem, 3vw, 3rem);
}

.detail-panel {
  align-self: start;
  padding: 24px;
  background: rgba(5, 7, 10, 0.42);
}

.detail-panel h3 {
  color: var(--ice);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.detail-panel p:not(:last-child) {
  margin-bottom: 24px;
}

.portfolio-kpard {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(380px, 0.74fr);
  gap: 44px;
  align-items: start;
  border-top: 1px solid var(--line);
}

.portfolio-copy p:not(.eyebrow) {
  max-width: 720px;
  font-size: 1.04rem;
}

.compact-list {
  margin-top: 28px;
}

.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.tech-stack span {
  border: 1px solid rgba(191, 238, 255, 0.16);
  padding: 7px 10px;
  background: rgba(13, 19, 25, 0.72);
  color: #d8e8ee;
  font-size: 0.78rem;
  font-weight: 800;
}

.project-card {
  min-height: 340px;
  padding: 28px;
}

.project-card dl {
  display: grid;
  gap: 8px;
  margin: 24px 0 0;
}

.project-card dt {
  color: var(--cyan);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.project-card dd {
  margin: 0 0 16px;
  color: var(--muted);
}

.approach-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 30px;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.74fr) minmax(320px, 0.54fr);
  gap: 28px;
  align-items: start;
}

.about-manifesto,
.not-panel {
  padding: 34px;
}

.about-manifesto p {
  color: #c2d0d6;
  font-size: 1.08rem;
}

.about-manifesto p:last-child {
  margin-bottom: 0;
}

.not-panel h2 {
  font-size: clamp(1.6rem, 3vw, 2.7rem);
}

@keyframes fieldScan {
  from {
    background-position: -130% 0, 0 0;
  }

  to {
    background-position: 230% 0, 0 0;
  }
}

@keyframes gridDrift {
  from {
    background-position: 0 0, 0 0;
  }

  to {
    background-position: 38px 38px, 38px 38px;
  }
}

@keyframes routeFlow {
  from {
    stroke-dashoffset: 44;
  }

  to {
    stroke-dashoffset: 0;
  }
}

@keyframes routePulse {
  0%,
  100% {
    opacity: 0.18;
  }

  28%,
  64% {
    opacity: 0.86;
  }
}

@keyframes falseRoutePulse {
  0%,
  100% {
    opacity: 0.16;
  }

  36% {
    opacity: 0.78;
  }

  56% {
    opacity: 0.12;
  }
}

@keyframes ringPulse {
  0%,
  100% {
    opacity: 0.46;
    transform: translate(-50%, -50%) scale(0.96);
  }

  50% {
    opacity: 0.92;
    transform: translate(-50%, -50%) scale(1.04);
  }
}

@keyframes sweepCone {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }

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

@keyframes originPulse {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(191, 238, 255, 0.16);
    transform: translate(-50%, -50%) rotate(45deg) scale(0.96);
  }

  50% {
    box-shadow: 0 0 34px rgba(191, 238, 255, 0.34);
    transform: translate(-50%, -50%) rotate(45deg) scale(1.04);
  }
}

@keyframes detectSignalA {
  0%,
  8% {
    left: 10%;
    top: 72%;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.72);
  }

  18% {
    left: 18%;
    top: 68%;
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }

  42% {
    left: 47%;
    top: 52%;
    opacity: 1;
    transform: translate(-50%, -50%) scale(0.94);
  }

  66% {
    left: 77%;
    top: 62%;
    opacity: 1;
    transform: translate(-50%, -50%) scale(0.9);
  }

  76%,
  100% {
    left: 77%;
    top: 62%;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.66);
  }
}

@keyframes detectSignalB {
  0%,
  8% {
    left: 89%;
    top: 22%;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.72);
  }

  18% {
    left: 81%;
    top: 27%;
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }

  42% {
    left: 53%;
    top: 54%;
    opacity: 1;
    transform: translate(-50%, -50%) scale(0.94);
  }

  66% {
    left: 24%;
    top: 46%;
    opacity: 1;
    transform: translate(-50%, -50%) scale(0.9);
  }

  76%,
  100% {
    left: 24%;
    top: 46%;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.66);
  }
}

@keyframes falseSignalA {
  0%,
  8% {
    left: 14%;
    top: 22%;
    opacity: 0;
    filter: blur(0);
    transform: translate(-50%, -50%) scale(0.7);
  }

  18% {
    left: 22%;
    top: 27%;
    opacity: 0.94;
    filter: blur(0);
    transform: translate(-50%, -50%) scale(0.96);
  }

  42% {
    left: 49%;
    top: 49%;
    opacity: 0.9;
    filter: blur(0);
    transform: translate(-50%, -50%) scale(0.88);
  }

  56% {
    left: 38%;
    top: 75%;
    opacity: 0.84;
    filter: blur(0);
    transform: translate(-50%, -50%) scale(0.72);
  }

  66% {
    left: var(--filter-target-x);
    top: var(--filter-target-y);
    opacity: 0.62;
    filter: blur(0.4px);
    transform: translate(-50%, -50%) scale(0.48);
  }

  76% {
    left: var(--filter-target-x);
    top: var(--filter-target-y);
    opacity: 0;
    filter: blur(2px);
    transform: translate(-50%, -50%) scale(0.18);
  }

  86%,
  100% {
    left: var(--filter-target-x);
    top: var(--filter-target-y);
    opacity: 0;
    filter: blur(2px);
    transform: translate(-50%, -50%) scale(0.18);
  }
}

@keyframes falseSignalB {
  0%,
  8% {
    left: 89%;
    top: 74%;
    opacity: 0;
    filter: blur(0);
    transform: translate(-50%, -50%) scale(0.7);
  }

  18% {
    left: 80%;
    top: 70%;
    opacity: 0.94;
    filter: blur(0);
    transform: translate(-50%, -50%) scale(0.96);
  }

  42% {
    left: 51%;
    top: 59%;
    opacity: 0.9;
    filter: blur(0);
    transform: translate(-50%, -50%) scale(0.88);
  }

  56% {
    left: 42%;
    top: 75%;
    opacity: 0.84;
    filter: blur(0);
    transform: translate(-50%, -50%) scale(0.72);
  }

  66% {
    left: calc(var(--filter-target-x) + 14px);
    top: calc(var(--filter-target-y) + 4px);
    opacity: 0.62;
    filter: blur(0.4px);
    transform: translate(-50%, -50%) scale(0.48);
  }

  76% {
    left: calc(var(--filter-target-x) + 14px);
    top: calc(var(--filter-target-y) + 4px);
    opacity: 0;
    filter: blur(2px);
    transform: translate(-50%, -50%) scale(0.18);
  }

  86%,
  100% {
    left: calc(var(--filter-target-x) + 14px);
    top: calc(var(--filter-target-y) + 4px);
    opacity: 0;
    filter: blur(2px);
    transform: translate(-50%, -50%) scale(0.18);
  }
}

@keyframes falseReject {
  0%,
  38%,
  76%,
  100% {
    opacity: 0;
    transform: translate(34%, -50%) scale(0.72);
  }

  48%,
  64% {
    opacity: 1;
    transform: translate(34%, -50%) scale(1);
  }
}

@keyframes trackConfirm {
  0%,
  42%,
  100% {
    border-color: rgba(191, 238, 255, 0.26);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
    opacity: 0.76;
  }

  54%,
  72% {
    border-color: rgba(191, 238, 255, 0.68);
    box-shadow: 0 0 30px rgba(191, 238, 255, 0.22), 0 16px 34px rgba(0, 0, 0, 0.36);
    opacity: 1;
  }
}

@keyframes trackHalo {
  0%,
  44%,
  100% {
    opacity: 0;
    transform: scale(0.88);
  }

  60% {
    opacity: 1;
    transform: scale(1);
  }

  84% {
    opacity: 0;
    transform: scale(1.2);
  }
}

@keyframes gateBar {
  0%,
  100% {
    opacity: 0.28;
    transform: scaleX(0.26);
  }

  46%,
  62% {
    opacity: 1;
    transform: scaleX(1);
  }
}

@keyframes auditSlot {
  0%,
  44%,
  78%,
  100% {
    opacity: 0;
    transform: scaleX(0.2);
  }

  56%,
  68% {
    opacity: 1;
    transform: scaleX(1);
  }
}

@keyframes auditSweep {
  0%,
  46%,
  78%,
  100% {
    opacity: 0;
    transform: translateX(-64%);
  }

  56% {
    opacity: 1;
    transform: translateX(12%);
  }

  68% {
    opacity: 0.28;
    transform: translateX(64%);
  }
}

@keyframes auditSealPulse {
  0%,
  42%,
  82%,
  100% {
    border-color: rgba(255, 179, 94, 0.26);
    opacity: 0.56;
    transform: scale(0.94);
  }

  56%,
  70% {
    border-color: rgba(255, 179, 94, 0.72);
    opacity: 1;
    transform: scale(1.04);
  }
}

@keyframes auditFeedLine {
  0%,
  46%,
  72%,
  100% {
    opacity: 0;
    transform: translateY(7px);
  }

  54%,
  64% {
    opacity: 0.72;
    transform: translateY(0);
  }

  69% {
    opacity: 0;
    transform: translateY(-5px);
  }
}

@keyframes auditResultText {
  0%,
  55%,
  86%,
  100% {
    opacity: 0;
    transform: translateY(5px);
  }

  64%,
  78% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes eventLoop {
  0%,
  100% {
    border-color: rgba(191, 238, 255, 0.08);
    opacity: 0.62;
  }

  28%,
  44% {
    border-color: rgba(191, 238, 255, 0.24);
    opacity: 1;
  }
}

@keyframes timelineRead {
  0%,
  100% {
    opacity: 0.45;
    transform: scaleX(0.72);
  }

  50% {
    opacity: 1;
    transform: scaleX(1);
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1040px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .nav-toggle {
    display: block;
  }

  .primary-nav,
  .language-switch {
    display: none;
    grid-column: 1 / -1;
    justify-content: flex-start;
    width: 100%;
  }

  .primary-nav.open,
  .language-switch.open {
    display: flex;
  }

  .primary-nav {
    flex-wrap: wrap;
    padding-top: 16px;
  }

  .language-switch {
    padding-bottom: 18px;
  }

  .hero,
  .page-hero,
  .split-section,
  .product-band,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero,
  .page-hero {
    gap: 42px;
    min-height: auto;
    padding-top: 96px;
  }

  .module-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  :root {
    --header: 66px;
  }

  body {
    background-size: 34px 34px, 34px 34px, auto, auto;
  }

  .site-header {
    min-height: var(--header);
    padding-right: 18px;
    padding-left: 18px;
  }

  .brand {
    font-size: 0.78rem;
  }

  section,
  .site-footer {
    width: min(100% - 32px, var(--max));
  }

  section {
    padding: 64px 0;
  }

  .hero {
    padding-top: 70px;
  }

  .page-hero.compact {
    width: min(100% - 32px, var(--max));
    margin: 0 auto;
    padding-top: 84px;
  }

  h1 {
    max-width: 11ch;
    font-size: clamp(2.45rem, 13.4vw, 3.55rem);
    line-height: 1.08;
    text-wrap: balance;
  }

  h2 {
    font-size: clamp(1.9rem, 10vw, 3rem);
  }

  .hero-actions,
  .form-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .consent-panel {
    grid-template-columns: 1fr;
    right: 10px;
    bottom: 10px;
    width: calc(100vw - 20px);
    padding: 12px;
    gap: 10px;
  }

  .btn {
    width: 100%;
    min-height: 42px;
  }

  .consent-panel strong {
    font-size: 0.82rem;
  }

  .consent-panel p {
    font-size: 0.8rem;
    line-height: 1.35;
  }

  .consent-panel .btn {
    width: auto;
    flex: 1;
    min-height: 38px;
    padding: 0 12px;
    font-size: 0.8rem;
  }

  .kpard-visual {
    min-height: 460px;
  }

  .scan-field {
    height: 292px;
  }

  .ring-a {
    width: 118px;
    height: 118px;
  }

  .ring-b {
    width: 190px;
    height: 190px;
  }

  .ring-c {
    width: 270px;
    height: 270px;
  }

  .event-stack {
    top: 44px;
    right: 10px;
    width: 142px;
  }

  .event-stack span {
    grid-template-columns: 28px 1fr;
    gap: 6px;
    padding: 6px 7px;
    font-size: 0.48rem;
  }

  .event-stack span:nth-child(3) {
    display: grid;
  }

  .scan-cone {
    width: 380px;
    height: 380px;
  }

  .signal-node {
    justify-content: center;
    width: 22px;
    min-width: 22px;
    max-width: 22px;
    min-height: 22px;
    padding: 0;
  }

  .signal-node b {
    display: none;
  }

  .signal-node::before {
    inset: -5px;
  }

  .signal-false::after {
    display: none;
  }

  .track-node {
    min-width: 82px;
    max-width: 92px;
    padding: 8px 8px 7px 22px;
    font-size: 0.5rem;
  }

  .track-node i {
    left: 7px;
  }

  .track-node em {
    display: none;
  }

  .analysis-gate {
    width: 92px;
    padding: 9px 8px;
  }

  .analysis-gate::before {
    top: -34px;
    bottom: -34px;
  }

  .analysis-gate span {
    font-size: 0.38rem;
    letter-spacing: 0.08em;
    line-height: 1;
  }

  .filter-card {
    display: none;
  }

  .visual-topline,
  .visual-readouts {
    flex-direction: column;
  }

  .card-grid.three,
  .card-grid.two,
  .module-grid,
  .capability-preview,
  .contact-form,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .info-card,
  .module-card {
    min-height: auto;
    padding: 22px;
  }

  .product-band,
  .closing-band,
  .legal-band,
  .contact-aside,
  .contact-form {
    padding: 24px;
  }

  .site-footer {
    margin-top: 24px;
    padding-bottom: 36px;
  }
}

@media (max-width: 1040px) {
  .workflow-list,
  .portfolio-kpard,
  .service-detail,
  .about-layout {
    grid-template-columns: 1fr;
  }

  .portfolio-kpard {
    gap: 34px;
  }
}

@media (max-width: 760px) {
  h1 {
    max-width: 100%;
  }

  .system-visual {
    min-height: 440px;
  }

  .system-topline,
  .system-readout {
    grid-template-columns: 1fr;
    flex-direction: column;
    gap: 8px;
  }

  .pipeline-flow {
    padding: 28px 16px 18px;
  }

  .pipeline-flow::before {
    left: 42px;
  }

  .pipeline-node {
    grid-template-columns: 40px 1fr;
    min-height: 56px;
    padding: 12px;
  }

  .pipeline-node::after {
    display: none;
  }

  .pipeline-node span {
    width: 30px;
    height: 30px;
  }

  .pipeline-node strong {
    max-width: 100%;
    font-size: 0.86rem;
  }

  .service-grid,
  .workflow-list,
  .approach-list {
    grid-template-columns: 1fr;
  }

  .service-card,
  .service-detail,
  .project-card,
  .about-manifesto,
  .not-panel,
  .detail-panel {
    padding: 22px;
  }

  .workflow-list li {
    min-height: auto;
  }

  .portfolio-kpard .kpard-visual {
    min-height: 460px;
  }

  .contact-form label {
    min-width: 0;
  }
}
