:root {
  color-scheme: dark;
  --bg: #050807;
  --bg-2: #0a1110;
  --panel: rgba(13, 22, 19, 0.74);
  --panel-strong: rgba(11, 18, 16, 0.94);
  --glass: rgba(236, 255, 246, 0.06);
  --line: rgba(165, 255, 214, 0.18);
  --line-strong: rgba(165, 255, 214, 0.34);
  --text: #ecfff6;
  --muted: #a9b9b2;
  --soft: #d8efe6;
  --green: #30f28a;
  --green-2: #8cffbd;
  --cyan: #75e7ff;
  --gold: #f1c66c;
  --orange: #ff9f45;
  --red: #ff6f6f;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  --shadow-sharp: 0 14px 34px rgba(0, 0, 0, 0.36);
  --radius: 8px;
  --header-h: 78px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(circle at 16% 10%, rgba(48, 242, 138, 0.16), transparent 25rem),
    radial-gradient(circle at 80% 16%, rgba(117, 231, 255, 0.12), transparent 28rem),
    radial-gradient(circle at 12% 76%, rgba(255, 159, 69, 0.08), transparent 26rem),
    linear-gradient(180deg, #06100d 0%, var(--bg) 44%, #020403 100%);
  color: var(--text);
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(140, 255, 189, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(140, 255, 189, 0.035) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.72), transparent 72%);
}

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

img {
  display: block;
  max-width: 100%;
}

button {
  font: inherit;
}

#starfield {
  position: fixed;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  background: #020403;
}

.page-shell {
  position: relative;
  min-height: 100vh;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  padding: 0 clamp(18px, 4vw, 56px);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition: background 180ms ease, border-color 180ms ease;
}

.site-header.is-elevated {
  border-bottom-color: rgba(165, 255, 214, 0.14);
  background: rgba(4, 8, 7, 0.78);
}

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

.brand-mark {
  position: relative;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(48, 242, 138, 0.2), rgba(117, 231, 255, 0.07));
  box-shadow: 0 0 28px rgba(48, 242, 138, 0.18);
}

.brand-mark::before,
.brand-mark::after,
.brand-mark span::before,
.brand-mark span::after {
  position: absolute;
  content: "";
  background: var(--green-2);
  box-shadow: 0 0 14px rgba(140, 255, 189, 0.6);
}

.brand-mark::before {
  width: 22px;
  height: 8px;
}

.brand-mark::after {
  width: 8px;
  height: 22px;
}

.brand-mark span::before {
  width: 4px;
  height: 4px;
  left: 7px;
  top: 7px;
  background: var(--cyan);
}

.brand-mark span::after {
  right: 7px;
  bottom: 7px;
  width: 4px;
  height: 4px;
  background: var(--gold);
}

.brand-copy {
  display: grid;
  gap: 1px;
}

.brand-copy strong {
  letter-spacing: 0;
  text-transform: uppercase;
  font-size: 0.95rem;
}

.brand-copy small {
  color: var(--green-2);
  font-size: 0.76rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  min-height: 40px;
  padding: 10px 14px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 0.92rem;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  outline: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--text);
  transition: transform 160ms ease;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

main {
  overflow: hidden;
}

.section-grid,
.content-section,
.ops-section,
.auth-section,
.apply-section {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.86fr);
  align-items: center;
  min-height: min(820px, calc(100svh - var(--header-h) - 42px));
  padding: 54px 0 40px;
  gap: clamp(32px, 6vw, 80px);
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green-2);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 10ch;
  margin-bottom: 22px;
  color: var(--text);
  font-size: clamp(3.2rem, 8vw, 7.4rem);
  line-height: 0.86;
  letter-spacing: 0;
  text-wrap: balance;
}

h2 {
  max-width: 820px;
  margin-bottom: 0;
  font-size: clamp(2rem, 4.5vw, 4rem);
  line-height: 0.98;
  letter-spacing: 0;
  text-wrap: balance;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.12rem;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 640px;
  margin-bottom: 18px;
  color: var(--soft);
  font-size: clamp(1.05rem, 2vw, 1.32rem);
  line-height: 1.55;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 700px;
  margin-bottom: 26px;
}

.hero-tags span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 11px;
  border: 1px solid rgba(165, 255, 214, 0.17);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--soft);
  font-size: 0.86rem;
  font-weight: 750;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.mobile-poster-proof {
  display: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 800;
  letter-spacing: 0;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.button.primary {
  border-color: rgba(140, 255, 189, 0.55);
  background: linear-gradient(135deg, rgba(48, 242, 138, 0.98), rgba(117, 231, 255, 0.9));
  color: #03100a;
  box-shadow: 0 18px 44px rgba(48, 242, 138, 0.22);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.055);
  color: var(--text);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  border-color: rgba(117, 231, 255, 0.45);
  background: rgba(117, 231, 255, 0.08);
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  transform: none;
}

.button-icon {
  display: inline-grid;
  width: 22px;
  height: 22px;
  margin-right: 9px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 0.78rem;
  line-height: 1;
}

.quick-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 760px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(6, 12, 10, 0.68);
  box-shadow: var(--shadow);
}

.quick-stats div {
  min-width: 0;
  padding: 17px 18px;
  border-right: 1px solid var(--line);
}

.quick-stats div:last-child {
  border-right: 0;
}

.quick-stats dt {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.74rem;
  text-transform: uppercase;
}

.quick-stats dd {
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--text);
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 800;
}

.hero-panel {
  justify-self: end;
  width: min(470px, 100%);
}

.hero-broadcast {
  position: relative;
  overflow: hidden;
  padding: 14px;
  border: 1px solid rgba(165, 255, 214, 0.26);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(13, 23, 20, 0.92), rgba(4, 7, 6, 0.86)),
    linear-gradient(135deg, rgba(117, 231, 255, 0.08), transparent 42%, rgba(241, 198, 108, 0.08));
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(255, 255, 255, 0.045);
}

.hero-broadcast::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(90deg, transparent, rgba(140, 255, 189, 0.08), transparent),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 9px);
  opacity: 0.78;
}

.broadcast-topline,
.poster-frame,
.broadcast-grid {
  position: relative;
  z-index: 1;
}

.broadcast-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 44px;
  padding: 0 4px 10px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.broadcast-topline strong {
  position: relative;
  padding-left: 14px;
  color: var(--green-2);
}

.broadcast-topline strong::before {
  position: absolute;
  left: 0;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 16px var(--green);
  content: "";
  transform: translateY(-50%);
}

.poster-frame {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(165, 255, 214, 0.22);
  border-radius: 6px;
  background: #030606;
  box-shadow: var(--shadow-sharp);
}

.poster-frame img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
}

.broadcast-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.broadcast-grid div {
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(165, 255, 214, 0.14);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.045);
}

.broadcast-grid span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.broadcast-grid strong {
  display: block;
  color: var(--text);
  font-size: 0.94rem;
  line-height: 1.35;
}

.status-board {
  position: relative;
  overflow: hidden;
  padding: 22px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(10, 24, 19, 0.92), rgba(8, 10, 9, 0.82)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 7px);
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.status-board::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(140, 255, 189, 0.08), transparent);
  animation: sweep 6s linear infinite;
}

.board-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 0.8rem;
  text-transform: uppercase;
}

.board-topline strong {
  position: relative;
  padding-left: 14px;
  color: var(--green-2);
}

.board-topline strong::before {
  position: absolute;
  left: 0;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 16px var(--green);
  content: "";
  transform: translateY(-50%);
}

.scanner {
  position: relative;
  aspect-ratio: 1;
  margin: 0 auto 20px;
  border: 1px solid rgba(117, 231, 255, 0.2);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(48, 242, 138, 0.18) 0 2px, transparent 3px),
    radial-gradient(circle at 50% 50%, rgba(117, 231, 255, 0.11), transparent 50%),
    conic-gradient(from 100deg, transparent, rgba(48, 242, 138, 0.12), transparent 34%);
  box-shadow: inset 0 0 48px rgba(48, 242, 138, 0.12), 0 0 32px rgba(48, 242, 138, 0.11);
}

.scanner::before,
.scanner::after {
  position: absolute;
  inset: 50% 0 auto 0;
  height: 1px;
  background: rgba(117, 231, 255, 0.25);
  content: "";
}

.scanner::after {
  transform: rotate(90deg);
}

.scan-ring {
  position: absolute;
  inset: var(--ring-inset);
  border: 1px solid rgba(140, 255, 189, var(--ring-alpha));
  border-radius: 50%;
}

.ring-one {
  --ring-inset: 18%;
  --ring-alpha: 0.45;
}

.ring-two {
  --ring-inset: 32%;
  --ring-alpha: 0.28;
}

.ring-three {
  --ring-inset: 5%;
  --ring-alpha: 0.18;
}

.cross-core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 54px;
  height: 54px;
  transform: translate(-50%, -50%);
}

.cross-core::before,
.cross-core::after {
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 3px;
  background: var(--green-2);
  box-shadow: 0 0 28px rgba(140, 255, 189, 0.58);
  content: "";
  transform: translate(-50%, -50%);
}

.cross-core::before {
  width: 54px;
  height: 17px;
}

.cross-core::after {
  width: 17px;
  height: 54px;
}

.ship-blip {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 18px rgba(241, 198, 108, 0.8);
}

.blip-a {
  left: 29%;
  top: 22%;
}

.blip-b {
  right: 24%;
  top: 34%;
  background: var(--cyan);
  box-shadow: 0 0 18px rgba(117, 231, 255, 0.8);
}

.blip-c {
  left: 60%;
  bottom: 21%;
  background: var(--red);
  box-shadow: 0 0 18px rgba(255, 111, 111, 0.72);
}

.signal-lines {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.signal-lines span {
  display: block;
  height: 7px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--green) var(--level), rgba(255, 255, 255, 0.08) var(--level));
}

.status-board p {
  margin: 0;
  color: var(--soft);
  line-height: 1.6;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto 118px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(7, 12, 11, 0.72);
  box-shadow: var(--shadow);
}

.trust-strip span {
  min-width: 0;
  padding: 16px 18px;
  border-right: 1px solid var(--line);
  color: var(--soft);
  font-size: 0.94rem;
  text-align: center;
}

.trust-strip span:last-child {
  border-right: 0;
}

.content-section,
.ops-section,
.auth-section,
.apply-section {
  padding: 116px 0;
}

.section-heading {
  display: grid;
  gap: 12px;
  margin-bottom: 38px;
}

.value-grid,
.intel-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-card,
.intel-card,
.fit-card,
.application-console {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.feature-card {
  position: relative;
  overflow: hidden;
  min-height: 300px;
  padding: 24px;
}

.feature-card::before,
.fit-card::before {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--cyan), var(--gold));
  content: "";
}

.feature-card p,
.intel-card p,
.fit-card p,
.ops-copy p,
.apply-copy p {
  color: var(--soft);
  line-height: 1.7;
}

.feature-icon {
  position: relative;
  display: block;
  width: 52px;
  height: 52px;
  margin-bottom: 26px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.feature-icon.cross::before,
.feature-icon.cross::after {
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 2px;
  background: var(--green-2);
  content: "";
  transform: translate(-50%, -50%);
}

.feature-icon.cross::before {
  width: 30px;
  height: 10px;
}

.feature-icon.cross::after {
  width: 10px;
  height: 30px;
}

.feature-icon.target::before,
.feature-icon.target::after {
  position: absolute;
  inset: 11px;
  border: 2px solid var(--cyan);
  border-radius: 50%;
  content: "";
}

.feature-icon.target::after {
  inset: 22px;
  background: var(--cyan);
  border: 0;
}

.feature-icon.refinery::before {
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 11px;
  height: 27px;
  clip-path: polygon(0 100%, 0 38%, 34% 38%, 34% 0, 66% 0, 66% 38%, 100% 38%, 100% 100%);
  background: linear-gradient(180deg, var(--gold), rgba(241, 198, 108, 0.3));
  content: "";
}

.ops-section {
  position: relative;
}

.fit-section {
  padding-top: 74px;
}

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

.fit-card {
  position: relative;
  overflow: hidden;
  min-height: 250px;
  padding: 24px;
  background:
    linear-gradient(150deg, rgba(13, 22, 19, 0.9), rgba(6, 9, 8, 0.74)),
    var(--panel);
}

.fit-card > span {
  display: inline-grid;
  width: 46px;
  height: 46px;
  margin-bottom: 28px;
  place-items: center;
  border: 1px solid rgba(165, 255, 214, 0.24);
  border-radius: 50%;
  color: var(--gold);
  font-weight: 900;
}

.ops-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.ops-tabs {
  display: grid;
  gap: 10px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(7, 12, 11, 0.7);
}

.tab {
  min-height: 52px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-weight: 800;
  text-align: left;
}

.tab:hover,
.tab:focus-visible,
.tab.is-active {
  border-color: var(--line-strong);
  background: rgba(48, 242, 138, 0.09);
  color: var(--text);
  outline: none;
}

.ops-copy {
  min-height: 360px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(13, 22, 19, 0.9), rgba(7, 10, 9, 0.78)),
    linear-gradient(90deg, rgba(48, 242, 138, 0.08), transparent);
  box-shadow: var(--shadow);
}

.tab-panel {
  display: none;
}

.tab-panel.is-active {
  display: block;
}

.tab-panel h3 {
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  line-height: 1.05;
}

.tab-panel ul {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.tab-panel li {
  position: relative;
  padding-left: 28px;
  color: var(--soft);
}

.tab-panel li::before {
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 12px;
  height: 2px;
  background: var(--green);
  box-shadow: 0 0 12px rgba(48, 242, 138, 0.8);
  content: "";
}

.intel-card {
  min-height: 258px;
  padding: 24px;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.intel-card:hover,
.intel-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(117, 231, 255, 0.38);
  background: rgba(15, 26, 23, 0.88);
  outline: none;
}

.intel-kicker {
  display: inline-flex;
  margin-bottom: 28px;
  padding: 6px 8px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--green-2);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.auth-section {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  gap: 24px;
  align-items: stretch;
}

.auth-copy {
  align-self: center;
}

.auth-copy p {
  color: var(--soft);
  line-height: 1.7;
}

.auth-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.auth-note {
  max-width: 560px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.process-note {
  max-width: 600px;
  margin: 18px 0 0;
  padding-left: 14px;
  border-left: 2px solid rgba(140, 255, 189, 0.54);
  color: var(--soft);
  font-size: 0.95rem;
}

.process-section {
  position: relative;
  isolation: isolate;
}

.process-section::before {
  position: absolute;
  left: 50%;
  top: 54px;
  z-index: -1;
  width: min(100vw, 1360px);
  height: calc(100% - 108px);
  border-top: 1px solid rgba(117, 231, 255, 0.12);
  border-bottom: 1px solid rgba(241, 198, 108, 0.12);
  background:
    linear-gradient(90deg, rgba(117, 231, 255, 0.055), transparent 32%, rgba(241, 198, 108, 0.045)),
    rgba(255, 255, 255, 0.015);
  content: "";
  transform: translateX(-50%);
}

.auth-note strong,
.staff-panel strong {
  color: var(--green-2);
}

.auth-panel {
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(13, 22, 19, 0.92), rgba(7, 10, 9, 0.78)),
    linear-gradient(90deg, rgba(117, 231, 255, 0.08), transparent);
  box-shadow: var(--shadow);
}

.auth-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.auth-status strong {
  color: var(--green-2);
  text-align: right;
}

.auth-steps {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.auth-steps li {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 16px;
  padding: 16px;
  border: 1px solid rgba(165, 255, 214, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
}

.auth-steps li > span {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--green-2);
  font-weight: 900;
}

.auth-steps h3 {
  margin-bottom: 6px;
}

.auth-steps p {
  margin: 0;
  color: var(--soft);
  line-height: 1.55;
}

.process-steps li:nth-child(3) {
  border-color: rgba(241, 198, 108, 0.34);
  background:
    linear-gradient(135deg, rgba(241, 198, 108, 0.11), rgba(48, 242, 138, 0.055)),
    rgba(255, 255, 255, 0.04);
}

.process-steps li:nth-child(3) > span {
  border-color: rgba(241, 198, 108, 0.52);
  color: var(--gold);
}

.auth-page-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(320px, 1.06fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: center;
  min-height: calc(82svh - var(--header-h));
  padding: 76px 0 54px;
}

.auth-page-hero h1 {
  max-width: 11ch;
}

.auth-intake {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
  padding: 92px 0 116px;
}

.intake-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: 24px;
  align-items: start;
}

.setup-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(320px, 1.12fr);
  gap: 16px;
}

.setup-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.setup-card p {
  color: var(--soft);
  line-height: 1.7;
}

.setup-card strong {
  color: var(--green-2);
}

.scope-list {
  display: grid;
  gap: 8px;
  max-height: 280px;
  margin: 18px 0 0;
  padding: 0;
  overflow: auto;
  list-style: none;
}

.scope-list li {
  padding: 8px 10px;
  border: 1px solid rgba(165, 255, 214, 0.12);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--soft);
  font: 0.82rem/1.35 "Cascadia Code", "SFMono-Regular", Consolas, monospace;
  overflow-wrap: anywhere;
}

[data-auth-setup].is-needed .setup-card:first-child {
  border-color: rgba(241, 198, 108, 0.46);
  box-shadow: var(--shadow), 0 0 34px rgba(241, 198, 108, 0.08);
}

.intake-form {
  display: grid;
  gap: 14px;
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.intake-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.intake-form input,
.intake-form textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(165, 255, 214, 0.18);
  border-radius: 6px;
  background: rgba(2, 6, 5, 0.72);
  color: var(--text);
  font: 1rem/1.45 inherit;
  padding: 11px 12px;
  resize: vertical;
}

.intake-form input:focus,
.intake-form textarea:focus {
  border-color: var(--line-strong);
  outline: none;
  box-shadow: 0 0 0 3px rgba(48, 242, 138, 0.1);
}

.intake-form ::placeholder {
  color: rgba(216, 239, 230, 0.44);
}

.security-checks {
  display: grid;
  gap: 10px;
  margin: 6px 0 4px;
  padding: 14px;
  border: 1px solid rgba(117, 231, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(117, 231, 255, 0.045);
}

.security-checks label {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  color: var(--soft);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.45;
  text-transform: none;
}

.security-checks input {
  width: 18px;
  min-height: 18px;
  margin: 2px 0 0;
  accent-color: var(--green);
}

.staff-section {
  padding-top: 0;
}

.staff-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.staff-panel h3 {
  margin-bottom: 8px;
}

.staff-panel p {
  max-width: 720px;
  margin: 0;
  color: var(--soft);
  line-height: 1.65;
}

.apply-section {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  gap: 24px;
  align-items: stretch;
}

.apply-copy {
  align-self: center;
}

.apply-copy strong {
  color: var(--green-2);
}

.apply-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.application-console {
  overflow: hidden;
  background: var(--panel-strong);
}

.console-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  padding: 0 14px 0 18px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.84rem;
  text-transform: uppercase;
}

.console-header button {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  cursor: pointer;
  font-weight: 800;
}

.console-header button:hover,
.console-header button:focus-visible {
  border-color: var(--line-strong);
  outline: none;
}

pre {
  margin: 0;
  padding: 22px;
  overflow-x: auto;
  color: #d8ffe9;
  font: 0.96rem/1.7 "Cascadia Code", "SFMono-Regular", Consolas, monospace;
  white-space: pre-wrap;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
  padding: 34px 0 46px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer p {
  max-width: 720px;
  margin: 0;
  line-height: 1.6;
}

.site-footer a {
  color: var(--green-2);
  font-weight: 800;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 20;
  max-width: min(360px, calc(100vw - 36px));
  padding: 14px 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(7, 12, 11, 0.94);
  color: var(--text);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms ease, transform 600ms ease;
}

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

@keyframes sweep {
  from {
    transform: translateX(-120%);
  }
  to {
    transform: translateX(120%);
  }
}

@media (max-width: 920px) {
  .site-header {
    height: 70px;
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .site-nav {
    position: absolute;
    left: 18px;
    right: 18px;
    top: calc(100% + 8px);
    display: none;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(4, 8, 7, 0.96);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a {
    width: 100%;
  }

  .hero,
  .auth-page-hero,
  .auth-section,
  .apply-section,
  .intake-layout,
  .setup-grid,
  .ops-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 42px;
    gap: 24px;
  }

  .auth-page-hero {
    min-height: auto;
    padding-top: 54px;
  }

  .hero-panel {
    justify-self: start;
  }

  .poster-frame img {
    aspect-ratio: 16 / 9;
    object-position: top center;
  }

  .trust-strip,
  .value-grid,
  .intel-grid,
  .fit-grid {
    grid-template-columns: 1fr;
  }

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

  .quick-stats div:nth-child(2) {
    border-right: 0;
  }

  .quick-stats div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .trust-strip span {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .trust-strip span:last-child {
    border-bottom: 0;
  }

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

  .tab {
    text-align: center;
  }
}

@media (max-width: 620px) {
  .section-grid,
  .content-section,
  .ops-section,
  .auth-section,
  .apply-section,
  .auth-intake,
  .trust-strip,
  .site-footer {
    width: min(100% - 28px, 1160px);
  }

  .brand-copy small {
    display: none;
  }

  h1 {
    max-width: 11ch;
    font-size: clamp(2.45rem, 13vw, 3.1rem);
    line-height: 0.92;
  }

  .hero {
    padding-top: 28px;
    padding-bottom: 26px;
  }

  .hero-lede {
    margin-bottom: 18px;
    font-size: 1rem;
    line-height: 1.45;
  }

  .hero-tags,
  .hero-panel,
  .quick-stats {
    display: none;
  }

  .mobile-poster-proof {
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    margin: 18px 0 0;
    padding: 10px;
    border: 1px solid rgba(165, 255, 214, 0.18);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.045);
  }

  .mobile-poster-proof img {
    width: 62px;
    height: 62px;
    border-radius: 6px;
    object-fit: cover;
    object-position: top center;
  }

  .mobile-poster-proof span {
    color: var(--soft);
    font-size: 0.88rem;
    line-height: 1.35;
  }

  .quick-stats {
    grid-template-columns: 1fr;
  }

  .quick-stats div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .quick-stats div:last-child {
    border-bottom: 0;
  }

  .ops-tabs {
    grid-template-columns: 1fr;
  }

  .hero-actions .button,
  .auth-actions .button,
  .apply-actions .button {
    width: 100%;
  }

  .staff-panel {
    align-items: stretch;
    flex-direction: column;
  }

  .content-section,
  .ops-section,
  .auth-section,
  .apply-section,
  .auth-intake {
    padding: 82px 0;
  }

  .trust-strip {
    margin-bottom: 70px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) and (max-height: 680px) {
  .mobile-poster-proof {
    display: none;
  }
}

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