:root {
  --bg: #04070f;
  --bg-2: #060c1a;
  --panel: rgba(12, 22, 42, 0.72);
  --panel-strong: rgba(17, 32, 60, 0.86);
  --mist: #cdd6e8;
  --fog: #7e8aa3;
  --dim: #5a657d;
  --cyan: #22e0ff;
  --ice: #9bd2ff;
  --gold: #f5c451;
  --gold-2: #ffd97a;
  --danger: #ff6b6b;
  --line: rgba(155, 210, 255, 0.14);
  --shadow: 0 30px 90px -45px rgba(0, 0, 0, 0.9);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: #e6ecf7;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::selection {
  background: rgba(34, 224, 255, 0.25);
}

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

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

button {
  cursor: pointer;
}

.cosmos {
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(34, 224, 255, 0.08), transparent 62%),
    radial-gradient(ellipse 70% 50% at 92% 20%, rgba(155, 210, 255, 0.05), transparent 58%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 45%, var(--bg) 100%);
}

.stars-canvas {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
}

.spotlight {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(480px circle at var(--mx, 50%) var(--my, 30%), rgba(34, 224, 255, 0.05), transparent 55%);
}

.grid-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(155, 210, 255, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(155, 210, 255, 0.025) 1px, transparent 1px);
  background-size: 8.333% 100%, 100% 160px;
}

.aurora {
  position: absolute;
  inset: -26% -20% auto -20%;
  height: 68%;
  pointer-events: none;
  filter: blur(44px);
  opacity: 0.48;
  background: conic-gradient(from 200deg at 50% 100%, transparent 0deg, rgba(34, 224, 255, 0.12) 60deg, rgba(155, 210, 255, 0.06) 120deg, transparent 210deg);
}

.nebula {
  position: absolute;
  border-radius: 999px;
  filter: blur(90px);
  pointer-events: none;
  opacity: 0.32;
  animation: drift 28s ease-in-out infinite alternate;
}

.nebula-cyan {
  background: radial-gradient(circle, rgba(34, 224, 255, 0.58), transparent 72%);
}

.nebula-ice {
  background: radial-gradient(circle, rgba(155, 210, 255, 0.38), transparent 72%);
}

.hero-nebula-a {
  width: 560px;
  height: 560px;
  top: -170px;
  right: -170px;
}

.hero-nebula-b {
  width: 420px;
  height: 420px;
  left: -180px;
  bottom: 12%;
  animation-delay: -8s;
}

@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(22px, -28px, 0) scale(1.07); }
}

/* Edge labels removed for cleaner composition */

.wrap {
  width: min(100% - 40px, 1400px);
  margin-inline: auto;
}

.section-pad {
  position: relative;
  padding: 110px 0;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 16px 24px;
}

.nav-shell,
.mobile-menu {
  width: min(100%, 1400px);
  margin-inline: auto;
  background: linear-gradient(180deg, rgba(15, 26, 47, 0.78), rgba(7, 13, 28, 0.82));
  border: 1px solid rgba(155, 210, 255, 0.14);
  box-shadow: 0 20px 70px -45px rgba(0, 0, 0, 0.88), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(16px);
}

.nav-shell {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  border-radius: 999px;
  padding: 0 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.logo-mark {
  width: 32px;
  height: 32px;
  display: inline-block;
  position: relative;
  flex: 0 0 auto;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, #fff1af, var(--gold-2) 28%, var(--gold) 58%, #b8852e 100%);
  box-shadow: 0 0 18px rgba(245, 196, 81, 0.56), inset 0 0 8px rgba(255, 255, 255, 0.48);
}

.logo-mark::before,
.logo-mark::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: inherit;
  border: 1px solid rgba(245, 196, 81, 0.28);
}

.logo-mark::after {
  inset: -14px;
  opacity: 0.35;
}

.logo-mark.small {
  width: 24px;
  height: 24px;
  margin: 4px 0 20px;
}

.brand-text,
.desktop-links,
.lang-btn,
.eyebrow,
.mono,
.telemetry,
.form-kicker,
.contact-form label span,
.footer h4 {
  font-family: "JetBrains Mono", ui-monospace, monospace;
}

.brand-text {
  color: var(--mist);
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 19px;
  font-weight: 500;
}

.brand-text span {
  color: rgba(205, 214, 232, 0.68);
  font-weight: 300;
}

.desktop-links {
  display: flex;
  align-items: center;
  gap: 30px;
  color: rgba(205, 214, 232, 0.72);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.desktop-links a {
  transition: color 0.22s ease;
}

.desktop-links a:hover {
  color: #fff;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-switch {
  display: inline-flex;
  overflow: hidden;
  border-radius: 999px;
  border: 1px solid rgba(155, 210, 255, 0.18);
}

.lang-btn {
  border: 0;
  background: transparent;
  color: rgba(155, 210, 255, 0.62);
  padding: 6px 10px;
  font-size: 10px;
  letter-spacing: 0.1em;
}

.lang-btn + .lang-btn {
  border-left: 1px solid rgba(155, 210, 255, 0.1);
}

.lang-btn.active {
  background: var(--cyan);
  color: var(--bg);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0 20px;
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
  max-width: 100%;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease, background 0.24s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: #09101b;
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  border-color: rgba(255, 217, 122, 0.68);
  box-shadow: 0 0 0 1px rgba(255, 217, 122, 0.14), 0 14px 36px -16px rgba(245, 196, 81, 0.72);
}

.btn-ghost {
  color: var(--mist);
  background: rgba(155, 210, 255, 0.04);
  border-color: rgba(155, 210, 255, 0.17);
}

.btn-ghost:hover {
  border-color: rgba(34, 224, 255, 0.58);
  background: rgba(34, 224, 255, 0.07);
}

.btn-danger {
  color: #fff;
  background: rgba(255, 107, 107, 0.1);
  border-color: rgba(255, 107, 107, 0.4);
  box-shadow: 0 12px 34px -24px rgba(255, 107, 107, 0.75);
}

.menu-btn {
  display: none;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  border-radius: 50%;
  border: 1px solid rgba(155, 210, 255, 0.18);
  background: rgba(155, 210, 255, 0.04);
  color: var(--mist);
  padding: 0;
}

.menu-btn span {
  display: block;
  width: 13px;
  height: 1.5px;
  border-radius: 2px;
  background: currentColor;
}

.mobile-menu {
  display: none;
  margin-top: 10px;
  border-radius: 22px;
  padding: 16px;
}

.mobile-menu a {
  display: block;
  padding: 13px 10px;
  color: var(--mist);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero {
  min-height: 920px;
  display: flex;
  align-items: flex-start;
  padding-top: 140px;
  overflow: hidden;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
  gap: 58px;
  align-items: center;
}

.hero-grid > *,
.ops-grid > *,
.contact-grid > *,
.proof-grid > *,
.section-head > * {
  min-width: 0;
}

.status-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 44px;
  color: rgba(205, 214, 232, 0.56);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 0 rgba(34, 224, 255, 0.6);
  animation: pulse 2s ease-out infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 224, 255, 0.6); }
  70% { box-shadow: 0 0 0 14px rgba(34, 224, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 224, 255, 0); }
}

.clock {
  margin-left: auto;
  color: rgba(34, 224, 255, 0.8);
}

.eyebrow {
  margin: 0 0 18px;
  color: rgba(34, 224, 255, 0.72);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

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

h1,
h2,
h3,
.mega-word {
  font-family: "Space Grotesk", system-ui, sans-serif;
  letter-spacing: 0;
}

h1 {
  max-width: 850px;
  font-size: clamp(3.5rem, 8.5vw, 7.5rem);
  line-height: 0.95;
  font-weight: 500;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2.2rem, 4.4vw, 4rem);
  line-height: 1.05;
  font-weight: 500;
  letter-spacing: -0.01em;
}

h3 {
  color: #fff;
  font-size: 1.45rem;
  font-weight: 500;
}

.grad-text {
  color: transparent;
  background: linear-gradient(180deg, #fff 0%, #cdd6e8 58%, #7aa9c5 100%);
  background-clip: text;
  -webkit-background-clip: text;
}

.serif {
  color: var(--mist);
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
}

.hero-sub {
  max-width: 720px;
  margin-top: 28px;
  color: rgba(205, 214, 232, 0.76);
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  line-height: 1.62;
}

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

.urgent-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: rgba(255, 130, 130, 0.78);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.urgent-link:hover {
  color: #ff9999;
}

.urgent-link::before {
  content: "›";
  margin-right: 6px;
  color: var(--danger);
  font-size: 14px;
  letter-spacing: 0;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 44px;
}

.hero-proof div {
  min-height: 96px;
  padding: 16px 0 0;
  border-top: 1px solid rgba(155, 210, 255, 0.12);
  background: transparent;
}

.hero-proof strong {
  display: block;
  color: var(--ice);
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.hero-proof span {
  display: block;
  margin-top: 6px;
  color: rgba(205, 214, 232, 0.60);
  font-size: 0.85rem;
  line-height: 1.5;
}

.hero-visual {
  position: relative;
}

.eye-panel {
  position: relative;
  width: min(100%, 620px);
  aspect-ratio: 1 / 1;
  margin-inline: auto;
  overflow: visible;
  background: radial-gradient(circle at 50% 50%, rgba(34, 224, 255, 0.1), rgba(9, 17, 36, 0.16) 60%, transparent 72%);
}

#cyberEye {
  width: 100%;
  height: 100%;
  display: block;
}

.telemetry {
  position: absolute;
  color: rgba(155, 210, 255, 0.72);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.telemetry span {
  display: block;
  color: rgba(34, 224, 255, 0.78);
}

.telemetry b {
  display: block;
  margin-top: 4px;
  color: var(--ice);
  font-weight: 500;
}

.telemetry-top {
  top: 12%;
  left: 6%;
}

.telemetry-bottom {
  right: 7%;
  bottom: 12%;
  text-align: right;
}

.console-card {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -38px;
  width: min(88%, 520px);
  margin-inline: auto;
  padding: 18px;
  border: 1px solid rgba(155, 210, 255, 0.18);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(18, 35, 65, 0.86), rgba(5, 10, 22, 0.9));
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.console-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
  color: var(--mist);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.console-head b {
  color: var(--cyan);
}

.signal-row {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 14px;
  align-items: center;
  margin-top: 10px;
  color: rgba(205, 214, 232, 0.68);
  font-size: 13px;
}

.signal-row i {
  position: relative;
  height: 7px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(155, 210, 255, 0.1);
}

.signal-row i::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--v);
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cyan), var(--gold));
}

.marquee-band {
  display: flex;
  gap: 44px;
  overflow: hidden;
  border-block: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(4, 7, 15, 0.45);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.marquee-track {
  display: flex;
  gap: 44px;
  min-width: max-content;
  padding: 18px 0;
  color: rgba(205, 214, 232, 0.40);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 13px;
  letter-spacing: 0.12em;
  animation: marquee 78s linear infinite;
}

@keyframes marquee {
  to { transform: translateX(calc(-100% - 44px)); }
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 56px;
}

.section-head > p,
.ops-copy > p,
.contact-head > p,
.proof-list p,
.security-line p,
.module-card p,
.step p,
.incident-panel p,
.footer p {
  color: rgba(205, 214, 232, 0.7);
  line-height: 1.66;
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.module-card {
  min-height: 340px;
  padding: 26px;
  border: 1px solid rgba(155, 210, 255, 0.08);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(15, 26, 47, 0.42), rgba(7, 13, 28, 0.48));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  transition: border-color 0.3s ease, background 0.3s ease;
}

.module-card:hover {
  border-color: rgba(34, 224, 255, 0.22);
  background: linear-gradient(180deg, rgba(17, 35, 64, 0.55), rgba(7, 13, 28, 0.55));
}

.module-no {
  display: block;
  margin-bottom: 68px;
  color: rgba(34, 224, 255, 0.75);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.24em;
}

.module-card p {
  margin-top: 14px;
  min-height: 104px;
  font-size: 0.96rem;
}

.module-card ul {
  display: grid;
  gap: 9px;
  margin: 24px 0 0;
  padding: 0;
  color: rgba(155, 210, 255, 0.78);
  list-style: none;
  font-size: 0.88rem;
}

.module-card li::before {
  content: "/ ";
  color: var(--cyan);
  font-family: "JetBrains Mono", ui-monospace, monospace;
}

.operations {
  overflow: hidden;
}

.ops-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  gap: 54px;
  align-items: center;
}

.ops-copy > p {
  max-width: 650px;
  margin-top: 24px;
  font-size: 1.05rem;
}

.ops-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.metric {
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  border-top: 1px solid rgba(155, 210, 255, 0.16);
  background: rgba(9, 17, 36, 0.32);
}

.metric-wide {
  grid-column: 1 / -1;
  min-height: 220px;
}

.metric b {
  color: transparent;
  background: linear-gradient(180deg, #ffffff, var(--ice));
  background-clip: text;
  -webkit-background-clip: text;
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: clamp(3.5rem, 8vw, 7.5rem);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: 0;
}

.metric:not(.metric-wide) b {
  font-size: clamp(3rem, 4vw, 5rem);
}

.metric span {
  max-width: 420px;
  color: rgba(205, 214, 232, 0.7);
  line-height: 1.5;
}

.dashboard-wrap {
  margin-top: 72px;
}

.dashboard {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid rgba(155, 210, 255, 0.16);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(18, 35, 65, 0.72), rgba(5, 10, 22, 0.82));
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.dash-sidebar {
  padding: 30px;
  border-right: 1px solid rgba(155, 210, 255, 0.11);
  background: rgba(4, 7, 15, 0.32);
}

.dash-sidebar a {
  display: block;
  margin-top: 14px;
  padding: 11px 13px;
  border-radius: 8px;
  color: rgba(205, 214, 232, 0.62);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.1em;
}

.dash-sidebar a.active {
  color: var(--bg);
  background: var(--cyan);
}

.dash-main {
  padding: 30px;
}

.dash-top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
}

.dash-top button {
  height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(155, 210, 255, 0.18);
  background: rgba(155, 210, 255, 0.04);
  color: var(--mist);
  font-size: 13px;
}

.dash-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 34px;
}

.dash-cards div {
  padding: 18px;
  border: 1px solid rgba(155, 210, 255, 0.12);
  border-radius: 8px;
  background: rgba(4, 7, 15, 0.38);
}

.dash-cards span {
  display: block;
  color: var(--fog);
  font-size: 13px;
}

.dash-cards b {
  display: block;
  margin-top: 16px;
  color: var(--cyan);
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 3rem;
  font-weight: 500;
}

.incident-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.incident-list div {
  display: grid;
  grid-template-columns: 1fr minmax(80px, max-content);
  gap: 8px 18px;
  align-items: center;
  padding: 18px;
  border-top: 1px solid rgba(155, 210, 255, 0.12);
  background: rgba(155, 210, 255, 0.03);
}

.incident-list b {
  color: #fff;
  font-weight: 600;
}

.incident-list span {
  color: var(--fog);
  font-size: 14px;
}

.incident-list i {
  grid-row: 1 / span 2;
  grid-column: 2;
  min-width: 78px;
  padding: 7px 10px;
  border-radius: 999px;
  text-align: center;
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
}

.sev-high {
  color: #fff;
  background: rgba(255, 107, 107, 0.22);
  border: 1px solid rgba(255, 107, 107, 0.36);
}

.sev-med {
  color: #0a0e18;
  background: var(--gold);
}

.sev-low {
  color: var(--cyan);
  background: rgba(34, 224, 255, 0.08);
  border: 1px solid rgba(34, 224, 255, 0.24);
}

.security-grid {
  display: grid;
  gap: 0;
}

.security-line,
.sector-line {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 24px;
  padding: 30px 0;
  border-top: 1px solid rgba(155, 210, 255, 0.12);
}

.security-line:last-child,
.sector-line:last-child {
  border-bottom: 1px solid rgba(155, 210, 255, 0.12);
}

.security-line > span,
.sector-line > span {
  color: rgba(34, 224, 255, 0.72);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 13px;
  letter-spacing: 0.2em;
}

.security-line h3 {
  margin-bottom: 8px;
}

.proof-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1fr);
  gap: 64px;
  align-items: start;
}

.proof-list {
  display: grid;
  gap: 0;
}

.proof-list div {
  padding: 28px 0;
  border-top: 1px solid rgba(155, 210, 255, 0.12);
}

.proof-list div:last-child {
  border-bottom: 1px solid rgba(155, 210, 255, 0.12);
}

.proof-list h3 {
  margin-bottom: 10px;
}

.sector-list {
  display: grid;
}

.sector-line {
  grid-template-columns: 90px minmax(0, 1fr) minmax(260px, 0.5fr);
  align-items: center;
}

.sector-line b {
  color: var(--mist);
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: clamp(1.6rem, 3.2vw, 3.3rem);
  font-weight: 500;
}

.sector-line small {
  color: var(--fog);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  line-height: 1.55;
  text-align: right;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.step {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  padding: 24px;
  border-top: 1px solid rgba(155, 210, 255, 0.16);
  background: rgba(9, 17, 36, 0.34);
}

.step b {
  color: rgba(155, 210, 255, 0.55);
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 3.4rem;
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.01em;
}

.step h3 {
  margin-top: auto;
}

.step p {
  margin-top: 12px;
  font-size: 0.96rem;
}

.contact {
  padding-bottom: 130px;
}

.contact-head {
  max-width: 820px;
}

.contact-head p {
  margin-top: 20px;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(340px, 0.75fr);
  gap: 22px;
  margin-top: 46px;
}

.contact-form,
.incident-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(155, 210, 255, 0.22);
  border-radius: 8px;
  background:
    radial-gradient(circle at 82% 0%, rgba(34, 224, 255, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(22, 38, 70, 0.84), rgba(9, 17, 36, 0.9));
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  padding: 34px;
}

.contact-form[hidden] {
  display: none;
}

.form-kicker {
  grid-column: 1 / -1;
  color: rgba(34, 224, 255, 0.78);
  font-size: 11px;
  letter-spacing: 0.28em;
}

.contact-form label {
  display: grid;
  gap: 9px;
}

.contact-form .wide,
.form-actions,
.form-status {
  grid-column: 1 / -1;
}

.contact-form label span {
  color: rgba(155, 210, 255, 0.72);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(155, 210, 255, 0.18);
  border-radius: 8px;
  outline: 0;
  background: rgba(3, 8, 18, 0.68);
  color: var(--mist);
  padding: 14px 15px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(34, 224, 255, 0.62);
  box-shadow: 0 0 0 3px rgba(34, 224, 255, 0.1);
}

.contact-form::placeholder {
  color: var(--dim);
}

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

.form-actions p {
  max-width: 480px;
  color: rgba(205, 214, 232, 0.62);
  font-size: 0.86rem;
  line-height: 1.5;
}

.form-status {
  min-height: 20px;
  color: var(--gold);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.incident-panel {
  padding: 34px;
}

.incident-panel h3 {
  margin-bottom: 14px;
  font-size: 2rem;
}

.incident-panel .btn {
  margin-top: 28px;
}

.incident-panel dl {
  display: grid;
  gap: 18px;
  margin: 34px 0 0;
}

.incident-panel div {
  padding-top: 18px;
  border-top: 1px solid rgba(155, 210, 255, 0.12);
}

.incident-panel dt {
  color: var(--cyan);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.incident-panel dd {
  margin: 8px 0 0;
  color: rgba(205, 214, 232, 0.7);
}

.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 80px 0 42px;
}

.mega-word {
  color: transparent;
  background: linear-gradient(180deg, var(--ice), rgba(155, 210, 255, 0.25));
  background-clip: text;
  -webkit-background-clip: text;
  font-size: clamp(3.5rem, 12vw, 10rem);
  font-weight: 500;
  line-height: 0.88;
  letter-spacing: -0.02em;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px 280px;
  gap: 64px;
  margin-top: 64px;
  padding-top: 42px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer p {
  max-width: 520px;
  margin-top: 22px;
}

.footer h4 {
  margin: 0 0 18px;
  color: rgba(34, 224, 255, 0.72);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.footer-grid a:not(.brand) {
  display: block;
  margin-top: 10px;
  color: rgba(205, 214, 232, 0.72);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 52px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--fog);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
}

.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.9s ease, transform 0.9s ease;
}

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

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}

@media (max-width: 1180px) {
  .hero-grid,
  .ops-grid,
  .contact-grid,
  .proof-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    max-width: 720px;
    margin-inline: auto;
  }

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

@media (max-width: 860px) {
  .site-header {
    padding: 16px 20px;
  }

  .desktop-links,
  .nav-cta,
  .nav-actions .lang-switch {
    display: none;
  }

  .menu-btn {
    display: inline-flex;
  }

  .mobile-menu.open {
    display: block;
  }

  .hero {
    min-height: auto;
    padding-top: 118px;
  }

  .hero-grid {
    gap: 38px;
  }

  .status-row {
    align-items: flex-start;
    font-size: 10px;
    margin-bottom: 34px;
  }

  .status-row span:not(.pulse-dot):not(.clock) {
    max-width: 100%;
    line-height: 1.6;
  }

  .clock {
    width: 100%;
    margin-left: 23px;
  }

  h1 {
    font-size: clamp(2.45rem, 11.2vw, 3.45rem);
    line-height: 0.96;
  }

  .hero-proof,
  .section-head,
  .dash-cards,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .dashboard {
    grid-template-columns: 1fr;
  }

  .dash-sidebar {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(155, 210, 255, 0.11);
    padding: 20px;
  }

  .dash-sidebar .logo-mark {
    display: none;
  }

  .dash-sidebar a {
    margin-top: 0;
    min-width: max-content;
  }

  .sector-line {
    grid-template-columns: 58px 1fr;
  }

  .sector-line small {
    grid-column: 2;
    text-align: left;
  }
}

@media (max-width: 620px) {
  .wrap {
    width: min(100% - 40px, 1400px);
  }

  .section-pad {
    padding: 78px 0;
  }

  .brand-text {
    font-size: 17px;
  }

  .nav-shell {
    height: 62px;
    padding-inline: 16px;
  }

  .hero-sub {
    font-size: 1rem;
  }

  .hero-actions {
    align-items: stretch;
  }

  .hero-actions .btn {
    flex: 0 0 100%;
    width: 100%;
  }

  .module-grid,
  .ops-metrics,
  .steps,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .module-card {
    min-height: 0;
  }

  .module-no {
    margin-bottom: 34px;
  }

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

  .form-actions .btn {
    width: 100%;
  }

  .incident-list div {
    grid-template-columns: 1fr;
  }

  .incident-list i {
    grid-row: auto;
    grid-column: auto;
    width: max-content;
  }

  .console-card {
    position: relative;
    bottom: auto;
    width: 100%;
    margin-top: -28px;
  }

  .signal-row {
    grid-template-columns: 1fr;
  }

  .telemetry {
    display: none;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

/* ===== Success panel ===== */
.contact-pane {
  position: relative;
}

.contact-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 480px;
  padding: 48px 36px;
  text-align: center;
  border: 1px solid rgba(155, 210, 255, 0.22);
  border-radius: 8px;
  background:
    radial-gradient(circle at 82% 0%, rgba(34, 224, 255, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(22, 38, 70, 0.84), rgba(9, 17, 36, 0.9));
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.contact-success[hidden] {
  display: none;
}

.success-mark {
  width: 88px;
  height: 88px;
  margin-bottom: 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  box-shadow:
    0 0 80px rgba(245, 196, 81, 0.55),
    inset 0 0 20px rgba(255, 255, 255, 0.3);
}

.success-mark svg {
  width: 44px;
  height: 44px;
}

.contact-success .eyebrow {
  margin: 0;
}

.contact-success h3 {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  letter-spacing: 0;
  margin: 4px 0 6px;
}

.contact-success > p {
  max-width: 460px;
  color: rgba(205, 214, 232, 0.78);
  line-height: 1.6;
}

.success-again {
  margin-top: 22px;
  padding: 8px 14px;
  border: 0;
  background: transparent;
  color: rgba(34, 224, 255, 0.85);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.success-again:hover {
  color: #fff;
}

/* Form status: validation + error */
.form-status:empty {
  display: none;
}

.form-status[data-type="error"] {
  color: var(--danger);
}

/* Mobile menu language switcher */
.mobile-lang {
  display: flex;
  margin-bottom: 10px;
}

@media (min-width: 861px) {
  .mobile-lang {
    display: none;
  }
}

/* =============================================================
   Mobile optimization pass
   - 48px+ tap targets on all interactive elements
   - iOS-zoom-safe 16px form inputs
   - Smaller hero visual on small screens
   - Tighter dashboard / success / footer on small phones
   ============================================================= */

@media (max-width: 860px) {
  /* Form fields: 48px+ tap height + 16px font (iOS no-zoom) */
  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    min-height: 48px;
    padding: 14px 15px;
    font-size: 16px;
  }

  .contact-form textarea {
    min-height: 120px;
  }

  /* Larger lang switcher tap area in mobile menu */
  .mobile-lang .lang-btn {
    padding: 10px 16px;
    font-size: 11px;
  }

  /* Mobile menu links: comfortable tap height */
  .mobile-menu a {
    padding: 15px 12px;
  }

  /* Urgent link gets tap padding */
  .urgent-link {
    padding: 10px 4px;
    margin-top: 10px;
    margin-left: -4px;
  }

  /* Hero visual: smaller on tablets-and-down */
  .eye-panel {
    width: min(100%, 460px);
  }

  /* Section heading + description spacing tighten */
  .section-head {
    margin-bottom: 40px;
  }

  /* Menu button: keep 44px (standard tap target) — no enlargement */

  /* Form submit + send-another: bigger tap target */
  .form-actions .btn {
    min-height: 50px;
  }

  .success-again {
    padding: 12px 18px;
  }
}

@media (max-width: 620px) {
  /* Hide live UTC clock on phones — saves a row in the hero status */
  .clock {
    display: none;
  }

  /* Tighter overall section rhythm on phones */
  .section-pad {
    padding: 64px 0;
  }

  /* Eye visual cap on phones */
  .eye-panel {
    width: min(100%, 340px);
  }

  /* Dashboard compaction */
  .dash-sidebar {
    padding: 14px 16px;
    gap: 6px;
  }

  .dash-sidebar a {
    padding: 9px 12px;
    font-size: 11px;
  }

  .dash-main {
    padding: 22px;
  }

  .dash-cards {
    gap: 10px;
    margin-top: 24px;
  }

  .dash-cards div {
    padding: 14px;
  }

  .dash-cards b {
    margin-top: 10px;
    font-size: 2.2rem;
  }

  .incident-list {
    margin-top: 22px;
    gap: 10px;
  }

  .incident-list div {
    padding: 14px;
  }

  .incident-list b {
    font-size: 0.95rem;
  }

  /* Success panel: fits phone screens */
  .contact-success {
    min-height: 360px;
    padding: 32px 20px;
  }

  .success-mark {
    width: 64px;
    height: 64px;
    margin-bottom: 10px;
  }

  .success-mark svg {
    width: 32px;
    height: 32px;
  }

  .contact-success h3 {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
  }

  /* Footer mega wordmark fits 360px viewports */
  .mega-word {
    font-size: clamp(2.6rem, 13vw, 4.5rem);
  }

  /* Hero proof tiles: tighter on phones */
  .hero-proof {
    gap: 10px;
    margin-top: 32px;
  }

  .hero-proof div {
    min-height: 80px;
    padding: 12px 0 0;
  }

  /* Hide the decorative status row on phones — it wraps awkwardly
     and the pulse-dot bloom collides with the nav bar above */
  .status-row {
    display: none;
  }

  /* Hide background grid lines on phones — pure decoration, adds noise */
  .grid-lines {
    display: none;
  }

  /* Tighter hero top spacing now that status row is gone */
  .hero {
    padding-top: 104px;
  }

  /* Module card: less imposing on phones */
  .module-card {
    padding: 22px;
  }

  .module-no {
    margin-bottom: 26px;
  }

  /* Steps: less top whitespace */
  .step {
    min-height: 0;
    padding: 20px;
  }

  /* Contact form padding on phones */
  .contact-form {
    padding: 26px 22px;
    gap: 18px;
  }

  /* Incident panel padding on phones */
  .incident-panel {
    padding: 26px 22px;
  }

  .incident-panel h3 {
    font-size: 1.6rem;
  }

  /* Marquee: smaller text on phones */
  .marquee-track {
    font-size: 11.5px;
    padding: 14px 0;
    gap: 32px;
  }

  .marquee-band {
    gap: 32px;
  }
}

/* Very small phones (iPhone SE etc) */
@media (max-width: 380px) {
  .nav-shell {
    padding: 0 14px;
    gap: 12px;
  }

  .brand-text {
    font-size: 15px;
  }

  .wrap {
    width: min(100% - 28px, 1400px);
  }
}

/* =============================================================
   Arabic / RTL
   Applied when <html dir="rtl" lang="ar"> (set by setLanguage)
   ============================================================= */

/* Arabic typography — Tajawal for both body and display */
html[dir="rtl"] body,
html[dir="rtl"] .desktop-links,
html[dir="rtl"] .mobile-menu a,
html[dir="rtl"] .eyebrow,
html[dir="rtl"] .status-row,
html[dir="rtl"] .form-kicker,
html[dir="rtl"] .contact-form label span,
html[dir="rtl"] .footer h4,
html[dir="rtl"] .module-no {
  font-family: "Tajawal", "Segoe UI", system-ui, sans-serif;
}

html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] .serif,
html[dir="rtl"] .brand-text,
html[dir="rtl"] .metric b,
html[dir="rtl"] .step b,
html[dir="rtl"] .dash-cards b {
  font-family: "Tajawal", "Segoe UI", system-ui, sans-serif;
  font-style: normal; /* no Arabic italic-serif equivalent */
}

/* Brand wordmarks stay Latin (SEER) — keep their original display font + LTR */
html[dir="rtl"] .brand-text,
html[dir="rtl"] .mega-word {
  font-family: "Space Grotesk", system-ui, sans-serif;
  direction: ltr;
}

/* Default text alignment flips to the right */
html[dir="rtl"] body {
  text-align: right;
}

/* Elements that were explicitly right-aligned flip to left */
html[dir="rtl"] .sector-line small,
html[dir="rtl"] .telemetry-bottom {
  text-align: left;
}

/* Success panel stays centered */
html[dir="rtl"] .contact-success {
  text-align: center;
}

/* Status-row clock: was pushed to the far right (margin-left:auto) */
html[dir="rtl"] .clock {
  margin-left: 0;
  margin-right: auto;
}

/* Floating telemetry chips swap corners */
html[dir="rtl"] .telemetry-top {
  left: auto;
  right: 6%;
}
html[dir="rtl"] .telemetry-bottom {
  right: auto;
  left: 7%;
}

/* Technical / code tokens must stay left-to-right so digits,
   coordinates and acronyms read correctly inside RTL text */
html[dir="rtl"] .telemetry b,
html[dir="rtl"] .footer p.mono,
html[dir="rtl"] .signal-row,
html[dir="rtl"] code {
  direction: ltr;
}

/* Footer coordinate line: keep LTR but align to the right edge */
html[dir="rtl"] .footer p.mono {
  text-align: right;
}

/* Urgent link arrow points the other way in RTL */
html[dir="rtl"] .urgent-link span[aria-hidden] {
  display: inline-block;
  transform: scaleX(-1);
}

/* Module list bullets: the "/ " marker sits on the right in RTL */
html[dir="rtl"] .module-card li::before {
  content: " /";
}

/* Security / sector / proof index numbers keep their column on the right;
   grid auto-mirrors, but keep the number block readable */
html[dir="rtl"] .security-line > span,
html[dir="rtl"] .sector-line > span {
  direction: ltr;
  text-align: right;
}

/* Hero proof tiles align right */
html[dir="rtl"] .hero-proof div {
  text-align: right;
}

/* =============================================================
   Trade license — footer link + modal (UAE DET display req.)
   ============================================================= */
.license-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border: 1px solid rgba(155, 210, 255, 0.2);
  border-radius: 999px;
  background: rgba(155, 210, 255, 0.04);
  color: rgba(205, 214, 232, 0.82);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: border-color 0.22s ease, background 0.22s ease, color 0.22s ease;
}
.license-link:hover {
  border-color: rgba(34, 224, 255, 0.5);
  background: rgba(34, 224, 255, 0.07);
  color: #fff;
}
.license-link .license-no {
  color: rgba(34, 224, 255, 0.78);
}

.license-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.license-modal[hidden] {
  display: none;
}
.license-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 5, 12, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.license-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 760px);
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(155, 210, 255, 0.2);
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(18, 32, 58, 0.96), rgba(7, 13, 28, 0.98));
  box-shadow: 0 40px 120px -40px rgba(0, 0, 0, 0.9);
  animation: licensePop 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes licensePop {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: none; }
}
.license-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(155, 210, 255, 0.12);
}
.license-head .eyebrow {
  margin: 0 0 6px;
  font-size: 9.5px;
}
.license-head h3 {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 1.25rem;
  font-weight: 500;
}
.license-close {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(155, 210, 255, 0.2);
  background: rgba(155, 210, 255, 0.05);
  color: var(--mist);
  font-size: 22px;
  line-height: 1;
  display: grid;
  place-items: center;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.license-close:hover {
  border-color: rgba(255, 107, 107, 0.5);
  background: rgba(255, 107, 107, 0.1);
  color: #fff;
}
.license-body {
  overflow: auto;
  padding: 16px;
  background: rgba(4, 7, 15, 0.5);
}
.license-body img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
  background: #fff;
}
.license-foot {
  padding: 14px 20px;
  border-top: 1px solid rgba(155, 210, 255, 0.12);
  text-align: center;
}
.license-foot a {
  color: rgba(34, 224, 255, 0.85);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
}
.license-foot a:hover {
  color: #fff;
}
body.license-open {
  overflow: hidden;
}

@media (max-width: 620px) {
  .license-link {
    order: 3;
  }
  .license-modal {
    padding: 14px;
  }
  .license-head h3 {
    font-size: 1.1rem;
  }
}
