/* Keator Capital landing and client login */

.landing-container {
  position: relative;
  width: 100vw;
  height: 100vh;
  min-height: 720px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 43%, rgba(16, 54, 86, 0.18) 0%, rgba(5, 18, 34, 0.08) 32%, rgba(2, 7, 17, 0.86) 66%, #02050d 100%),
    linear-gradient(180deg, #02040c 0%, #06162a 43%, #02040b 100%);
}

.landing-container::before,
.landing-container::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

.landing-container::before {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.08) 31%, rgba(0, 0, 0, 0) 60%),
    radial-gradient(circle at 49% 23%, rgba(102, 194, 255, 0.12) 0%, rgba(102, 194, 255, 0) 21%);
}

.landing-container::after {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0) 18%, rgba(0, 0, 0, 0) 82%, rgba(0, 0, 0, 0.55) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0) 72%, rgba(1, 3, 9, 0.82) 100%);
}

#mountainPlexus,
.mountain-scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.mountain-scene {
  background:
    radial-gradient(circle at 50% 28%, rgba(91, 186, 255, 0.16) 0%, rgba(91, 186, 255, 0) 20%),
    radial-gradient(circle at 50% 60%, rgba(40, 132, 220, 0.28) 0%, rgba(40, 132, 220, 0.06) 32%, rgba(40, 132, 220, 0) 62%),
    linear-gradient(180deg, rgba(0, 4, 13, 0.2) 0%, rgba(5, 22, 43, 0.28) 48%, rgba(1, 4, 10, 0.22) 100%);
}

.mountain-scene::before,
.mountain-scene::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.mountain-scene::before {
  background:
    radial-gradient(circle at 49% 18%, rgba(255, 255, 255, 0.13) 0%, rgba(116, 212, 255, 0.08) 3%, rgba(116, 212, 255, 0) 11%),
    radial-gradient(circle at 52% 47%, rgba(83, 174, 255, 0.22) 0%, rgba(83, 174, 255, 0) 38%);
}

.mountain-scene::after {
  background:
    linear-gradient(180deg, rgba(1, 3, 10, 0.36) 0%, rgba(1, 3, 10, 0) 30%),
    linear-gradient(90deg, rgba(1, 3, 10, 0.6) 0%, rgba(1, 3, 10, 0) 13%, rgba(1, 3, 10, 0) 87%, rgba(1, 3, 10, 0.6) 100%);
}

.mountain-svg {
  position: absolute;
  inset: -1.5% 0 0;
  width: 100%;
  height: 104%;
  display: block;
}

.mountain-horizon-glow {
  fill: url("#mountainFade");
  opacity: 0.08;
}

.mountain-line,
.mountain-pulse,
.peak-flare-ray {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.mountain-line {
  stroke: rgba(222, 246, 255, 0.72);
  stroke-width: 0.95px;
  filter: url("#lineGlow");
  animation: lineBreath 6.8s ease-in-out infinite;
}

.mountain-line--back {
  stroke: rgba(159, 218, 255, 0.36);
  stroke-width: 0.65px;
  animation-duration: 8.8s;
}

.mountain-line--mid {
  stroke: rgba(211, 241, 255, 0.58);
  stroke-width: 0.9px;
  animation-duration: 7.4s;
}

.mountain-line--front {
  stroke: rgba(248, 253, 255, 0.86);
  stroke-width: 1.18px;
  animation-duration: 6.2s;
}

.mountain-line--v {
  stroke-opacity: 0.28;
}

.mountain-node {
  fill: rgba(244, 252, 255, 0.86);
  filter: url("#nodeGlow");
  animation: nodeTwinkle 4.6s ease-in-out infinite;
}

.mountain-node--back {
  opacity: 0.48;
}

.mountain-node--mid {
  opacity: 0.68;
}

.mountain-node--front {
  opacity: 0.9;
}

.mountain-node--peak {
  fill: #fff;
  opacity: 1;
  animation: peakNode 3.8s ease-in-out infinite;
}

.mountain-pulse {
  stroke: rgba(255, 255, 255, 0.94);
  stroke-dasharray: 12 88;
  stroke-dashoffset: 108;
  filter: url("#nodeGlow");
  opacity: 0;
  animation-name: pulseTravel;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.peak-flare {
  opacity: 0.58;
  filter: url("#nodeGlow");
  animation: flarePulse 4.9s ease-in-out infinite;
}

.peak-flare-core {
  fill: #fff;
}

.peak-flare-ray {
  stroke: rgba(255, 255, 255, 0.82);
  stroke-width: 0.9px;
}

.peak-flare-ray--wide {
  stroke-width: 1.1px;
}

.peak-flare-ray--tall {
  stroke-width: 1.25px;
}

@keyframes lineBreath {
  0%,
  100% {
    stroke-opacity: 0.55;
  }

  50% {
    stroke-opacity: 0.96;
  }
}

@keyframes nodeTwinkle {
  0%,
  100% {
    opacity: 0.48;
  }

  45% {
    opacity: 1;
  }
}

@keyframes peakNode {
  0%,
  100% {
    opacity: 0.8;
  }

  45% {
    opacity: 1;
  }
}

@keyframes flarePulse {
  0%,
  100% {
    opacity: 0.28;
  }

  48% {
    opacity: 0.98;
  }
}

@keyframes pulseTravel {
  0% {
    opacity: 0;
    stroke-dashoffset: 112;
  }

  12% {
    opacity: 0.95;
  }

  72% {
    opacity: 0.85;
  }

  100% {
    opacity: 0;
    stroke-dashoffset: 0;
  }
}

/* Concept-art mountain mask treatment */
.mountain-scene {
  --mountain-mask: url("../assets/keator-mountain-wire-alpha.png");
  background:
    linear-gradient(180deg, rgba(0, 3, 12, 0.04) 0%, rgba(6, 18, 34, 0.08) 48%, rgba(0, 2, 8, 0.1) 100%);
}

.mountain-scene::before {
  background:
    radial-gradient(circle at 50% 16%, rgba(255, 255, 255, 0.1) 0%, rgba(130, 212, 255, 0.045) 5%, rgba(130, 212, 255, 0) 15%);
  z-index: 0;
}

.mountain-scene::after {
  z-index: 4;
}

.mountain-art {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  -webkit-mask-image: var(--mountain-mask);
  mask-image: var(--mountain-mask);
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: cover;
  mask-size: cover;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  transform-origin: 50% 58%;
}

.mountain-art--glow {
  z-index: 1;
  background: rgba(91, 201, 255, 0.95);
  opacity: 0.14;
  filter: blur(3px) drop-shadow(0 0 12px rgba(85, 195, 255, 0.26));
  transform: scale(1.006);
  animation: mountainGlowBreath 9s ease-in-out infinite;
}

.mountain-art--white {
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(245, 252, 255, 0.92) 55%, rgba(215, 240, 255, 0.66) 100%);
  opacity: 0.82;
  filter:
    drop-shadow(0 0 1px rgba(255, 255, 255, 0.7))
    drop-shadow(0 0 6px rgba(97, 204, 255, 0.18));
  animation: whiteTracePulse 7.8s ease-in-out infinite;
}

.mountain-art--gold {
  z-index: 3;
  background:
    linear-gradient(180deg, #fff6bd 0%, #ffd56a 18%, #b66d0c 38%, #f5b72f 58%, #fff0a3 72%, #8a4e08 100%),
    linear-gradient(90deg, #6f3b04 0%, #f1ad26 16%, #fff4b8 31%, #c77b0c 48%, #ffd45f 66%, #754004 100%);
  background-size: 100% 100%, 100% 100%;
  background-position: center;
  background-blend-mode: overlay, normal;
  clip-path: inset(100% 0 0 0);
  opacity: 0;
  filter:
    drop-shadow(0 0 7px rgba(255, 215, 82, 0.92))
    drop-shadow(0 0 24px rgba(214, 142, 22, 0.7));
  animation: goldVeinRise 22s cubic-bezier(0.36, 0, 0.2, 1) infinite;
  animation-delay: -5s;
}

@keyframes mountainGlowBreath {
  0%,
  100% {
    opacity: 0.1;
    transform: scale(1.004);
  }

  48% {
    opacity: 0.2;
    transform: scale(1.008);
  }
}

@keyframes whiteTracePulse {
  0%,
  100% {
    opacity: 0.78;
    filter:
      drop-shadow(0 0 2px rgba(255, 255, 255, 0.66))
      drop-shadow(0 0 11px rgba(97, 204, 255, 0.22));
  }

  50% {
    opacity: 0.9;
    filter:
      drop-shadow(0 0 3px rgba(255, 255, 255, 0.9))
      drop-shadow(0 0 18px rgba(119, 218, 255, 0.4));
  }
}

@keyframes goldVeinRise {
  0% {
    opacity: 0;
    clip-path: inset(100% 0 0 0);
  }

  12% {
    opacity: 0.96;
    clip-path: inset(86% 0 0 0);
  }

  54% {
    opacity: 1;
    clip-path: inset(0 0 0 0);
  }

  72% {
    opacity: 0.94;
    clip-path: inset(0 0 0 0);
  }

  100% {
    opacity: 0;
    clip-path: inset(0 0 0 0);
  }
}

header {
  position: relative;
  z-index: 8;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
  padding: clamp(34px, 4.8vh, 58px) clamp(46px, 5.5vw, 112px) 0;
}

.logo-container {
  display: flex;
  align-items: flex-start;
}

.brand-logo {
  display: block;
  width: clamp(260px, 24vw, 470px);
  height: auto;
  mix-blend-mode: screen;
  filter:
    drop-shadow(0 0 10px rgba(255, 255, 255, 0.14))
    drop-shadow(0 0 26px rgba(42, 164, 255, 0.16));
}

.top-nav {
  display: flex;
  align-items: center;
  gap: clamp(34px, 4vw, 70px);
  padding-top: 14px;
  white-space: nowrap;
}

.nav-link {
  color: rgba(245, 250, 255, 0.82);
  font-size: clamp(0.9rem, 0.88vw, 1.08rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 0 18px rgba(255, 255, 255, 0.12);
  transition: color 180ms var(--ease-smooth), text-shadow 180ms var(--ease-smooth);
}

.nav-link:hover {
  color: #fff;
  text-shadow: 0 0 16px rgba(113, 204, 255, 0.55);
}

.main-content {
  position: absolute;
  z-index: 6;
  inset: 19vh 0 112px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.login-card {
  position: relative;
  width: clamp(360px, 21.8vw, 448px);
  min-height: 378px;
  padding: 52px 39px 40px;
  display: flex;
  flex-direction: column;
  gap: 26px;
  border-radius: 20px;
  border: 1px solid rgba(235, 247, 255, 0.36);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.012)),
    linear-gradient(180deg, rgba(0, 4, 10, 0.22), rgba(0, 2, 7, 0.32));
  box-shadow:
    0 30px 82px rgba(0, 0, 0, 0.72),
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -34px 70px rgba(0, 0, 0, 0.28),
    0 0 18px rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(18px) saturate(0.72) brightness(0.68);
  -webkit-backdrop-filter: blur(18px) saturate(0.72) brightness(0.68);
  pointer-events: auto;
}

.login-card::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 19px;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0) 36%),
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0) 42%);
  opacity: 0.58;
}

.login-card > * {
  position: relative;
  z-index: 1;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 27px;
}

.input-container {
  position: relative;
  width: 100%;
}

.input-icon {
  position: absolute;
  left: 23px;
  top: 50%;
  width: 25px;
  height: 25px;
  transform: translateY(-50%);
  color: rgba(238, 246, 255, 0.88);
  opacity: 0.9;
  pointer-events: none;
}

.form-input {
  width: 100%;
  height: 62px;
  padding: 0 58px 0 62px;
  border: 2px solid rgba(245, 250, 255, 0.88);
  border-radius: 999px;
  background: rgba(3, 10, 20, 0.2);
  color: #fff;
  font-family: inherit;
  font-size: clamp(1rem, 1.18vw, 1.2rem);
  font-weight: 500;
  letter-spacing: 0.06em;
  outline: none;
  box-shadow:
    inset 0 0 22px rgba(0, 0, 0, 0.24),
    0 0 22px rgba(255, 255, 255, 0.03);
  transition: border-color 180ms var(--ease-smooth), box-shadow 180ms var(--ease-smooth), background 180ms var(--ease-smooth);
}

.form-input::placeholder {
  color: rgba(240, 247, 255, 0.9);
  text-transform: uppercase;
}

.form-input:focus {
  border-color: #fff;
  background: rgba(6, 20, 38, 0.56);
  box-shadow:
    inset 0 0 20px rgba(0, 0, 0, 0.28),
    0 0 26px rgba(72, 182, 255, 0.33);
}

.toggle-password {
  position: absolute;
  right: 22px;
  top: 50%;
  width: 25px;
  height: 25px;
  padding: 0;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: rgba(238, 246, 255, 0.88);
  cursor: pointer;
}

.toggle-password svg {
  width: 100%;
  height: 100%;
}

.btn-login {
  height: 62px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, #2db4ff 0%, #0986f1 100%);
  color: #fff;
  font-family: inherit;
  font-size: clamp(1rem, 1.08vw, 1.17rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow:
    0 12px 28px rgba(0, 141, 255, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  transition: transform 160ms var(--ease-smooth), filter 160ms var(--ease-smooth), box-shadow 160ms var(--ease-smooth);
}

.btn-login:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
  box-shadow:
    0 16px 34px rgba(0, 141, 255, 0.48),
    0 0 22px rgba(82, 197, 255, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

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

.request-access {
  align-self: center;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(0.85rem, 0.86vw, 1rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-shadow: 0 0 18px rgba(255, 255, 255, 0.12);
  cursor: pointer;
}

.forgot-password-link {
  align-self: center;
  margin-top: -5px;
  color: rgba(214, 232, 245, 0.78);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.request-access:hover {
  color: #fff;
  text-shadow: 0 0 18px rgba(88, 195, 255, 0.6);
}

.forgot-password-link:hover {
  color: #ffe1a0;
  text-shadow: 0 0 18px rgba(214, 169, 74, 0.48);
}

.forgot-card {
  min-height: 440px;
}

.forgot-card-head {
  display: grid;
  gap: 7px;
  margin-bottom: 8px;
  text-align: center;
}

.forgot-card-head span {
  color: #d6a94a;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.forgot-card-head h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.4rem, 1.6vw, 1.9rem);
  line-height: 1;
  text-transform: uppercase;
}

.forgot-card-head p {
  margin: 0 auto 4px;
  max-width: 36ch;
  color: rgba(224, 237, 249, 0.76);
  font-size: 0.9rem;
  line-height: 1.42;
}

.error-msg {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: -2px;
  padding: 11px 14px;
  border: 1px solid rgba(255, 76, 108, 0.52);
  border-radius: 10px;
  background: rgba(255, 56, 87, 0.14);
  color: #ffb6c2;
  font-size: 0.88rem;
  font-weight: 700;
  text-align: center;
}

.success-msg {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 14px;
  border: 1px solid rgba(38, 227, 114, 0.44);
  border-radius: 10px;
  background: rgba(38, 227, 114, 0.12);
  color: #78ffad;
  font-size: 0.88rem;
  font-weight: 800;
  text-align: center;
  box-shadow: inset 0 0 18px rgba(38, 227, 114, 0.05), 0 0 22px rgba(38, 227, 114, 0.08);
}

.access-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.access-modal.is-open {
  display: flex;
}

.access-modal-open {
  overflow: hidden;
}

.access-modal-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 36%, rgba(25, 84, 128, 0.34), rgba(0, 0, 0, 0.64) 45%, rgba(0, 0, 0, 0.86) 100%),
    rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
}

.access-dialog {
  position: relative;
  z-index: 1;
  width: min(1040px, calc(100vw - 36px));
  max-height: min(860px, calc(100vh - 36px));
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(214, 169, 74, 0.36);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(214, 169, 74, 0.10), rgba(4, 12, 22, 0.34) 30%, rgba(255, 51, 79, 0.06)),
    linear-gradient(180deg, rgba(9, 21, 38, 0.96), rgba(3, 8, 16, 0.98));
  box-shadow:
    0 28px 90px rgba(0, 0, 0, 0.72),
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 0 44px rgba(214, 169, 74, 0.10);
  color: #eff7ff;
  overflow: hidden;
}

.access-close {
  position: absolute;
  top: 14px;
  right: 15px;
  z-index: 2;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.82);
  font-size: 24px;
  line-height: 26px;
  cursor: pointer;
}

.access-dialog-head {
  padding: 25px 30px 18px;
  border-bottom: 1px solid rgba(214, 169, 74, 0.20);
  background:
    linear-gradient(45deg, rgba(255, 255, 255, 0.025) 25%, transparent 25%, transparent 75%, rgba(255, 255, 255, 0.025) 75%),
    linear-gradient(45deg, rgba(255, 255, 255, 0.025) 25%, transparent 25%, transparent 75%, rgba(255, 255, 255, 0.025) 75%),
    rgba(2, 8, 17, 0.42);
  background-position: 0 0, 7px 7px, 0 0;
  background-size: 14px 14px, 14px 14px, auto;
}

.access-dialog-head span {
  color: #d6a94a;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.access-dialog-head h1 {
  margin: 6px 0 8px;
  font-size: clamp(1.42rem, 2vw, 2.15rem);
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.access-dialog-head p {
  max-width: 72ch;
  color: rgba(220, 232, 244, 0.76);
  font-size: 0.95rem;
  line-height: 1.45;
}

.access-form {
  min-height: 0;
  overflow: auto;
  padding: 22px 30px 26px;
}

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

.access-grid label,
.access-signature {
  display: grid;
  gap: 6px;
}

.access-grid span,
.access-signature span {
  color: #93acc2;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.access-grid input,
.access-signature input {
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(137, 177, 206, 0.44);
  border-radius: 9px;
  outline: none;
  background: rgba(2, 8, 16, 0.78);
  color: #f5fbff;
  padding: 0 12px;
  font: 800 0.9rem "Outfit", system-ui, sans-serif;
}

.access-grid input[type="file"] {
  padding: 9px 10px;
  color: rgba(235, 244, 255, 0.82);
}

.access-grid input:focus,
.access-signature input:focus {
  border-color: rgba(214, 169, 74, 0.84);
  box-shadow: 0 0 0 3px rgba(214, 169, 74, 0.12);
}

.access-legal-copy {
  margin: 18px 0 14px;
  max-height: 250px;
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.20), rgba(0, 0, 0, 0.06)),
    rgba(3, 9, 17, 0.70);
}

.access-legal-copy pre {
  margin: 0;
  padding: 18px;
  color: rgba(229, 239, 250, 0.84);
  white-space: pre-wrap;
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: 0.76rem;
  line-height: 1.55;
}

.access-ack-stack {
  display: grid;
  gap: 9px;
  margin: 0 0 14px;
}

.access-ack-stack label {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  padding: 10px 12px;
  border: 1px solid rgba(214, 169, 74, 0.20);
  border-radius: 10px;
  background: rgba(214, 169, 74, 0.055);
}

.access-ack-stack input {
  margin-top: 3px;
  accent-color: #d6a94a;
}

.access-ack-stack span {
  color: rgba(234, 243, 253, 0.86);
  font-size: 0.88rem;
  line-height: 1.38;
}

.access-signature {
  margin-top: 8px;
}

.access-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 18px;
}

.access-secondary,
.access-submit {
  min-height: 42px;
  border-radius: 999px;
  padding: 0 22px;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}

.access-secondary {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(235, 244, 255, 0.78);
}

.access-submit {
  border: 1px solid rgba(214, 169, 74, 0.64);
  background: linear-gradient(180deg, #f0c766, #a8701a);
  color: #100902;
  box-shadow: 0 12px 28px rgba(214, 169, 74, 0.22);
}

.access-submit:disabled {
  cursor: wait;
  opacity: 0.68;
}

.access-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
}

.password-card {
  width: clamp(386px, 24vw, 470px);
  min-height: 442px;
  padding-top: 42px;
  gap: 23px;
}

.password-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  text-align: center;
}

.password-kicker {
  color: #d6a94a;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-shadow: 0 0 18px rgba(214, 169, 74, 0.32);
}

.password-heading h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.28rem, 1.55vw, 1.62rem);
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-shadow: 0 0 24px rgba(95, 191, 255, 0.2);
}

.password-heading p {
  max-width: 34ch;
  color: rgba(214, 226, 240, 0.78);
  font-size: 0.86rem;
  line-height: 1.45;
}

footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 32px;
  z-index: 8;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.footer-link {
  color: rgba(244, 249, 255, 0.86);
  font-size: clamp(0.86rem, 0.92vw, 1.03rem);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-link:hover {
  color: #fff;
  text-shadow: 0 0 16px rgba(113, 204, 255, 0.5);
}

@media (max-width: 980px) {
  .landing-container {
    min-height: 760px;
  }

  header {
    align-items: center;
    padding: 28px 30px 0;
  }

  .brand-logo {
    width: clamp(210px, 42vw, 330px);
  }

  .top-nav {
    gap: 20px;
  }
}

@media (max-width: 760px) {
  html,
  body {
    overflow: auto;
  }

  .landing-container {
    min-height: 780px;
  }

  header {
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 14px;
    padding: 18px 16px 0;
  }

  .brand-logo {
    width: clamp(260px, 72vw, 360px);
  }

  .top-nav {
    display: flex;
    justify-content: center;
    gap: clamp(14px, 4.3vw, 24px);
    width: 100%;
    padding-top: 0;
    white-space: nowrap;
  }

  .nav-link {
    font-size: clamp(0.68rem, 2.65vw, 0.88rem);
    letter-spacing: 0.055em;
  }

  .main-content {
    inset: 205px 18px 92px;
  }

  .login-card {
    width: min(100%, 420px);
    min-height: 340px;
    padding: 38px 22px 30px;
    border-radius: 18px;
  }

  .password-card {
    min-height: 420px;
    padding-top: 32px;
  }

  .password-heading p {
    font-size: 0.82rem;
  }

  .password-card .form-input {
    padding-right: 28px;
    font-size: clamp(0.88rem, 3.8vw, 1rem);
    letter-spacing: 0.045em;
  }

  .form-input,
  .btn-login {
    height: 56px;
  }

  footer {
    bottom: 24px;
  }

  .access-modal {
    padding: 10px;
  }

  .access-dialog {
    width: calc(100vw - 20px);
    max-height: calc(100vh - 20px);
  }

  .access-dialog-head,
  .access-form {
    padding-left: 16px;
    padding-right: 16px;
  }

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

  .access-actions {
    flex-direction: column-reverse;
  }

  .access-secondary,
  .access-submit {
    width: 100%;
  }
}

.legal-page-body {
  overflow: auto;
}

.legal-shell {
  min-height: 100vh;
  height: auto;
  overflow: visible;
}

.legal-mountain {
  opacity: 0.48;
  filter: saturate(0.88) brightness(0.72);
}

.legal-content {
  position: relative;
  z-index: 7;
  width: min(1120px, calc(100vw - 48px));
  margin: 148px auto 112px;
}

.legal-card {
  border: 1px solid rgba(214, 169, 74, 0.38);
  border-radius: 22px;
  background:
    linear-gradient(140deg, rgba(214, 169, 74, 0.08), rgba(0, 210, 255, 0.04) 34%, rgba(4, 10, 20, 0.86)),
    rgba(6, 12, 22, 0.82);
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.48),
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 0 42px rgba(214, 169, 74, 0.08);
  backdrop-filter: blur(18px) saturate(1.12);
  -webkit-backdrop-filter: blur(18px) saturate(1.12);
  padding: clamp(28px, 4vw, 54px);
}

.legal-head {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 26px;
  padding-bottom: 22px;
}

.legal-head span {
  color: #d6a94a;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.legal-head h1 {
  margin: 8px 0 10px;
  color: #fff;
  font-size: clamp(2rem, 3.8vw, 4.15rem);
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-shadow: 0 0 28px rgba(0, 210, 255, 0.16);
}

.legal-head p {
  max-width: 70ch;
  color: rgba(218, 230, 246, 0.78);
  font-size: clamp(0.98rem, 1.3vw, 1.14rem);
}

.legal-section {
  padding: 22px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.legal-section:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.legal-section h2 {
  margin: 0 0 12px;
  color: #f7fbff;
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(1rem, 1.25vw, 1.26rem);
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.legal-section p,
.legal-section li {
  color: rgba(226, 236, 248, 0.84);
  font-size: clamp(0.96rem, 1.06vw, 1.08rem);
  line-height: 1.68;
}

.legal-section p + p {
  margin-top: 12px;
}

.legal-section ul {
  display: grid;
  gap: 9px;
  margin: 12px 0 0;
  padding-left: 22px;
}

.legal-section strong {
  color: #fff;
}

.legal-callout {
  border-left: 3px solid rgba(214, 169, 74, 0.82);
  border-radius: 0 12px 12px 0;
  background: rgba(214, 169, 74, 0.08);
  color: rgba(255, 246, 222, 0.9) !important;
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(0.84rem, 0.94vw, 0.96rem) !important;
  letter-spacing: 0.02em;
  padding: 18px 20px;
}

.legal-shell footer {
  position: relative;
  bottom: auto;
  margin: 0 auto 34px;
}

.contact-content {
  position: relative;
  z-index: 7;
  width: min(1180px, calc(100vw - 48px));
  margin: 126px auto 76px;
}

.contact-card {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(420px, 1.18fr);
  gap: clamp(26px, 4vw, 58px);
  align-items: stretch;
  border: 1px solid rgba(0, 210, 255, 0.26);
  border-radius: 24px;
  background:
    radial-gradient(circle at 92% 8%, rgba(0, 210, 255, 0.14), rgba(0, 210, 255, 0) 32%),
    linear-gradient(145deg, rgba(214, 169, 74, 0.08), rgba(3, 9, 20, 0.78) 44%, rgba(1, 6, 14, 0.9)),
    rgba(5, 12, 24, 0.82);
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.58),
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 46px rgba(0, 210, 255, 0.08);
  backdrop-filter: blur(20px) saturate(1.12);
  -webkit-backdrop-filter: blur(20px) saturate(1.12);
  padding: clamp(24px, 3.25vw, 42px);
}

.contact-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
}

.contact-kicker {
  color: #d6a94a;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.contact-copy h1 {
  margin: 10px 0 15px;
  color: #fff;
  font-size: clamp(2.2rem, 3.8vw, 4.25rem);
  font-weight: 900;
  letter-spacing: 0.01em;
  line-height: 0.94;
  text-transform: uppercase;
  text-shadow: 0 0 30px rgba(0, 210, 255, 0.16);
}

.contact-copy > p {
  color: rgba(226, 236, 248, 0.8);
  font-size: clamp(0.98rem, 1.14vw, 1.12rem);
  line-height: 1.62;
}

.firm-disclosure {
  margin-top: 24px;
  border: 1px solid rgba(214, 169, 74, 0.36);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(214, 169, 74, 0.1), rgba(214, 169, 74, 0.03)),
    rgba(1, 6, 14, 0.38);
  padding: 18px 20px;
}

.firm-disclosure b {
  display: block;
  margin-bottom: 8px;
  color: #ffe19a;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.firm-disclosure p {
  color: rgba(234, 241, 249, 0.82);
  font-size: 0.91rem;
  line-height: 1.55;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

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

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.contact-form label > span {
  color: rgba(163, 188, 218, 0.92);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-form input:not([type="checkbox"]),
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(230, 246, 255, 0.26);
  border-radius: 14px;
  background: rgba(1, 6, 14, 0.42);
  color: #f5fbff;
  font: 700 0.95rem 'Outfit', sans-serif;
  outline: none;
  padding: 14px 16px;
  box-shadow:
    inset 0 0 18px rgba(0, 0, 0, 0.22),
    0 0 0 rgba(0, 210, 255, 0);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.contact-form input:not([type="checkbox"]) {
  height: 48px;
}

.contact-form textarea {
  min-height: 132px;
  resize: vertical;
  line-height: 1.5;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(0, 210, 255, 0.72);
  background: rgba(2, 10, 22, 0.64);
  box-shadow: 0 0 0 3px rgba(0, 210, 255, 0.1);
}

.contact-ack {
  flex-direction: row !important;
  align-items: flex-start;
  gap: 12px !important;
  border: 1px solid rgba(214, 169, 74, 0.36);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(214, 169, 74, 0.11), rgba(214, 169, 74, 0.035)),
    rgba(2, 8, 18, 0.46);
  padding: 14px 16px;
}

.contact-ack input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: #d6a94a;
}

.contact-ack span {
  color: rgba(238, 246, 255, 0.86) !important;
  font-family: 'Outfit', sans-serif !important;
  font-size: 0.9rem !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  line-height: 1.48;
  text-transform: none !important;
}

.contact-ack a {
  color: #ffe19a;
  font-weight: 900;
}

.contact-submit {
  height: 52px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #d6a94a, #f5d684 48%, #8e6b24);
  color: #07101f;
  cursor: pointer;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow:
    0 16px 36px rgba(214, 169, 74, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.42);
  transition: transform 0.16s ease, filter 0.16s ease;
}

.contact-submit:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.contact-alert {
  border-radius: 14px;
  font: 800 0.9rem 'Outfit', sans-serif;
  line-height: 1.35;
  padding: 13px 15px;
}

.contact-alert.is-success {
  border: 1px solid rgba(38, 227, 114, 0.42);
  background: rgba(38, 227, 114, 0.1);
  color: #7dffb2;
}

.contact-alert.is-error {
  border: 1px solid rgba(255, 56, 87, 0.46);
  background: rgba(255, 56, 87, 0.1);
  color: #ff9dad;
}

.about-content {
  position: relative;
  z-index: 7;
  width: min(1180px, calc(100vw - 48px));
  margin: 130px auto 88px;
}

.about-card {
  display: grid;
  grid-template-columns: minmax(280px, 0.76fr) minmax(0, 1.24fr);
  gap: clamp(26px, 4vw, 56px);
  border: 1px solid rgba(214, 169, 74, 0.4);
  border-radius: 24px;
  background:
    radial-gradient(circle at 16% 18%, rgba(214, 169, 74, 0.13), rgba(214, 169, 74, 0) 34%),
    radial-gradient(circle at 88% 14%, rgba(0, 210, 255, 0.12), rgba(0, 210, 255, 0) 34%),
    linear-gradient(145deg, rgba(7, 16, 30, 0.86), rgba(2, 8, 18, 0.9)),
    rgba(3, 8, 17, 0.88);
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.58),
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 54px rgba(214, 169, 74, 0.08);
  backdrop-filter: blur(20px) saturate(1.12);
  -webkit-backdrop-filter: blur(20px) saturate(1.12);
  padding: clamp(28px, 4vw, 54px);
}

.about-rail {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
}

.about-kicker {
  color: #d6a94a;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.about-rail h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(2.45rem, 4.7vw, 5.4rem);
  font-weight: 900;
  letter-spacing: 0.01em;
  line-height: 0.94;
  text-transform: uppercase;
  text-shadow: 0 0 30px rgba(0, 210, 255, 0.16);
}

.about-origin-grid {
  display: grid;
  gap: 10px;
}

.about-origin-grid div {
  border: 1px solid rgba(214, 169, 74, 0.28);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(214, 169, 74, 0.09), rgba(0, 210, 255, 0.035)),
    rgba(1, 6, 14, 0.42);
  padding: 13px 15px;
}

.about-origin-grid span {
  display: block;
  color: rgba(161, 187, 216, 0.88);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.about-origin-grid b {
  display: block;
  margin-top: 4px;
  color: #f7fbff;
  font-size: 1rem;
  font-weight: 900;
}

.about-story {
  display: grid;
  gap: 17px;
}

.about-story p {
  border-left: 2px solid rgba(0, 210, 255, 0.2);
  margin: 0;
  color: rgba(226, 236, 248, 0.86);
  font-size: clamp(0.98rem, 1.06vw, 1.08rem);
  font-weight: 600;
  line-height: 1.66;
  padding-left: 18px;
}

.technology-content {
  position: relative;
  z-index: 7;
  width: min(1180px, calc(100vw - 48px));
  margin: 126px auto 88px;
  display: grid;
  gap: 22px;
}

.technology-hero-card,
.technology-story-grid,
.technology-deep-card,
.technology-close-card {
  border: 1px solid rgba(0, 210, 255, 0.28);
  border-radius: 24px;
  background:
    radial-gradient(circle at 15% 10%, rgba(0, 210, 255, 0.13), rgba(0, 210, 255, 0) 34%),
    radial-gradient(circle at 92% 22%, rgba(214, 169, 74, 0.12), rgba(214, 169, 74, 0) 30%),
    linear-gradient(145deg, rgba(6, 15, 30, 0.88), rgba(2, 8, 18, 0.92)),
    rgba(3, 8, 17, 0.88);
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 48px rgba(0, 210, 255, 0.08);
  backdrop-filter: blur(20px) saturate(1.12);
  -webkit-backdrop-filter: blur(20px) saturate(1.12);
}

.technology-hero-card {
  padding: clamp(28px, 4vw, 54px);
}

.technology-head span,
.technology-panel h2,
.technology-deep-card h2 {
  color: #d6a94a;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.technology-head span {
  font-size: 0.75rem;
}

.technology-head h1 {
  max-width: 900px;
  margin: 10px 0 16px;
  color: #fff;
  font-size: clamp(2.2rem, 4.4vw, 5.2rem);
  font-weight: 900;
  letter-spacing: 0.01em;
  line-height: 0.95;
  text-transform: uppercase;
  text-shadow: 0 0 30px rgba(0, 210, 255, 0.18);
}

.technology-head p {
  max-width: 76ch;
  color: rgba(226, 236, 248, 0.82);
  font-size: clamp(1rem, 1.2vw, 1.14rem);
  font-weight: 650;
  line-height: 1.6;
}

.technology-layer-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 30px;
}

.technology-layer-grid div {
  border: 1px solid rgba(0, 210, 255, 0.25);
  border-radius: 15px;
  background:
    linear-gradient(135deg, rgba(0, 210, 255, 0.09), rgba(214, 169, 74, 0.05)),
    rgba(1, 6, 14, 0.42);
  padding: 14px 15px;
}

.technology-layer-grid b {
  display: block;
  color: #f7fbff;
  font-size: 1rem;
  font-weight: 900;
}

.technology-layer-grid span {
  display: block;
  margin-top: 4px;
  color: rgba(162, 188, 218, 0.86);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.technology-story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: clamp(22px, 3.2vw, 40px);
  padding: clamp(24px, 3.3vw, 42px);
}

.technology-story {
  display: grid;
  gap: 15px;
}

.technology-story p,
.technology-deep-card p,
.technology-close-card p {
  margin: 0;
  color: rgba(226, 236, 248, 0.86);
  font-size: clamp(0.96rem, 1.04vw, 1.06rem);
  font-weight: 620;
  line-height: 1.66;
}

.technology-panel {
  border: 1px solid rgba(214, 169, 74, 0.32);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(214, 169, 74, 0.09), rgba(0, 210, 255, 0.04)),
    rgba(1, 6, 14, 0.42);
  padding: 20px;
}

.technology-panel h2 {
  margin: 0 0 16px;
  font-size: 0.82rem;
}

.technology-signal-list {
  display: grid;
  gap: 12px;
}

.technology-signal-list div {
  border-left: 2px solid rgba(0, 210, 255, 0.42);
  padding-left: 13px;
}

.technology-signal-list span {
  color: #16c9ff;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  font-weight: 900;
}

.technology-signal-list b {
  display: block;
  margin: 2px 0 3px;
  color: #fff;
  font-weight: 900;
}

.technology-signal-list p {
  margin: 0;
  color: rgba(214, 226, 240, 0.74);
  font-size: 0.9rem;
  line-height: 1.45;
}

.technology-deep-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: clamp(24px, 3.3vw, 42px);
}

.technology-deep-card article {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(1, 6, 14, 0.34);
  padding: 20px;
}

.technology-deep-card h2 {
  margin: 0 0 11px;
  font-size: 0.82rem;
}

.technology-deep-card p + p {
  margin-top: 12px;
}

.technology-close-card {
  display: grid;
  gap: 16px;
  padding: clamp(24px, 3.3vw, 42px);
  border-color: rgba(214, 169, 74, 0.34);
}

.technology-edge {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.technology-edge span {
  border: 1px solid rgba(214, 169, 74, 0.42);
  border-radius: 999px;
  background: rgba(214, 169, 74, 0.08);
  color: #ffe19a;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  padding: 9px 12px;
  text-transform: uppercase;
}

.resources-content {
  position: relative;
  z-index: 7;
  width: min(1220px, calc(100vw - 48px));
  margin: 126px auto 88px;
  display: grid;
  gap: 24px;
}

.resources-hero,
.resources-featured,
.resource-section,
.resource-risk-notice,
.resources-footer-cta {
  border: 1px solid rgba(0, 210, 255, 0.25);
  border-radius: 24px;
  background:
    radial-gradient(circle at 10% 8%, rgba(0, 210, 255, 0.12), rgba(0, 210, 255, 0) 34%),
    radial-gradient(circle at 92% 18%, rgba(214, 169, 74, 0.12), rgba(214, 169, 74, 0) 30%),
    linear-gradient(145deg, rgba(6, 15, 30, 0.88), rgba(2, 8, 18, 0.92)),
    rgba(3, 8, 17, 0.88);
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 48px rgba(0, 210, 255, 0.08);
  backdrop-filter: blur(20px) saturate(1.12);
  -webkit-backdrop-filter: blur(20px) saturate(1.12);
}

.resources-hero {
  padding: clamp(30px, 4vw, 58px);
}

.resources-kicker,
.resource-section-head span,
.resource-risk-notice span,
.resource-card > span,
.resource-path-card > span {
  color: #d6a94a;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.73rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.resources-hero h1,
.resources-footer-cta h2 {
  max-width: 940px;
  margin: 10px 0 16px;
  color: #fff;
  font-size: clamp(2.35rem, 4.7vw, 5.4rem);
  font-weight: 900;
  letter-spacing: 0.01em;
  line-height: 0.95;
  text-transform: uppercase;
  text-shadow: 0 0 30px rgba(0, 210, 255, 0.18);
}

.resources-hero p,
.resources-featured p,
.resource-section-head p,
.resource-risk-notice p,
.resources-footer-cta p {
  max-width: 82ch;
  margin: 0;
  color: rgba(226, 236, 248, 0.84);
  font-size: clamp(0.98rem, 1.14vw, 1.12rem);
  font-weight: 640;
  line-height: 1.62;
}

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

.resource-primary-btn,
.resource-secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 999px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  padding: 12px 16px;
  text-transform: uppercase;
}

.resource-primary-btn {
  background: linear-gradient(135deg, #d6a94a, #f5d684 48%, #8e6b24);
  color: #07101f;
}

.resource-secondary-btn {
  border: 1px solid rgba(0, 210, 255, 0.42);
  background: rgba(0, 210, 255, 0.06);
  color: #8feaff;
}

.resources-featured {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  border-color: rgba(214, 169, 74, 0.38);
  padding: clamp(24px, 3.2vw, 42px);
}

.resources-featured h2,
.resource-section-head h2,
.resource-risk-notice h2 {
  margin: 8px 0 12px;
  color: #fff;
  font-size: clamp(1.45rem, 2.2vw, 2.25rem);
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.resource-section {
  padding: clamp(24px, 3.2vw, 42px);
}

.resource-section-head {
  margin-bottom: 22px;
}

.resource-card-grid,
.resource-path-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

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

.resource-card,
.resource-path-card {
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(0, 210, 255, 0.045), rgba(214, 169, 74, 0.035)),
    rgba(1, 6, 14, 0.38);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045);
  padding: 18px;
}

.resource-card h3,
.resource-path-card h3 {
  margin: 0 0 9px;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1.12;
}

.resource-card p,
.resource-path-card p {
  margin: 0;
  color: rgba(218, 230, 246, 0.8);
  font-size: 0.92rem;
  font-weight: 620;
  line-height: 1.52;
}

.resource-card ul,
.resource-path-card ul {
  display: grid;
  gap: 7px;
  margin: 13px 0 0;
  padding-left: 18px;
}

.resource-card li,
.resource-path-card li {
  color: rgba(229, 238, 249, 0.82);
  font-size: 0.84rem;
  font-weight: 650;
  line-height: 1.36;
}

.resource-card.tool b {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(214, 169, 74, 0.42);
  border-radius: 999px;
  background: rgba(214, 169, 74, 0.08);
  color: #ffe19a;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  margin-top: 14px;
  padding: 7px 10px;
  text-transform: uppercase;
}

.resource-path-card {
  border-color: rgba(214, 169, 74, 0.22);
}

.resource-path-card h3 {
  margin-top: 6px;
}

.resource-risk-notice,
.resources-footer-cta {
  border-color: rgba(214, 169, 74, 0.36);
  padding: clamp(24px, 3.2vw, 42px);
}

.resource-risk-notice {
  background:
    linear-gradient(145deg, rgba(214, 169, 74, 0.09), rgba(255, 56, 87, 0.035)),
    rgba(3, 8, 17, 0.9);
}

@media (max-width: 760px) {
  .legal-content {
    width: min(100% - 28px, 760px);
    margin: 132px auto 76px;
  }

  .legal-card {
    border-radius: 18px;
    padding: 24px 18px;
  }

  .contact-content {
    width: min(100% - 28px, 760px);
    margin: 132px auto 76px;
  }

  .contact-card {
    grid-template-columns: 1fr;
    border-radius: 18px;
    padding: 24px 18px;
  }

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

  .contact-submit {
    height: auto;
    min-height: 56px;
    padding: 14px 18px;
  }

  .about-content {
    width: min(100% - 28px, 760px);
    margin: 132px auto 76px;
  }

  .about-card {
    grid-template-columns: 1fr;
    border-radius: 18px;
    padding: 24px 18px;
  }

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

  .about-story p {
    padding-left: 14px;
  }

  .technology-content {
    width: min(100% - 28px, 760px);
    margin: 132px auto 76px;
  }

  .technology-layer-grid,
  .technology-story-grid,
  .technology-deep-card {
    grid-template-columns: 1fr;
  }

  .technology-hero-card,
  .technology-story-grid,
  .technology-deep-card,
  .technology-close-card {
    border-radius: 18px;
    padding: 24px 18px;
  }

  .resources-content {
    width: min(100% - 28px, 760px);
    margin: 132px auto 76px;
  }

  .resources-featured,
  .resource-card-grid,
  .resource-card-grid.four,
  .resource-path-grid {
    grid-template-columns: 1fr;
  }

  .resources-hero,
  .resources-featured,
  .resource-section,
  .resource-risk-notice,
  .resources-footer-cta {
    border-radius: 18px;
    padding: 24px 18px;
  }

  .resources-actions {
    flex-direction: column;
  }

  .resource-primary-btn,
  .resource-secondary-btn {
    width: 100%;
  }
}

/* Approved static hero background */
.landing-container {
  background:
    linear-gradient(180deg, rgba(0, 2, 8, 0.02), rgba(0, 2, 8, 0.24)),
    url("../assets/keator-mountain-concept-v2.webp") center / cover no-repeat,
    #02050d;
}

.landing-container::before {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.36) 0%, rgba(0, 0, 0, 0.05) 32%, rgba(0, 0, 0, 0) 64%);
}

.landing-container::after {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.52) 0%, rgba(0, 0, 0, 0) 17%, rgba(0, 0, 0, 0) 83%, rgba(0, 0, 0, 0.52) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0) 76%, rgba(1, 3, 9, 0.82) 100%);
}

#mountainPlexus,
.mountain-scene,
.mountain-art {
  display: none;
}

.login-card {
  border: 1px solid rgba(230, 246, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.01)),
    rgba(1, 5, 12, 0.38);
  box-shadow:
    0 26px 62px rgba(0, 0, 0, 0.62),
    inset 0 1px 0 rgba(255, 255, 255, 0.11),
    inset 0 -32px 52px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(16px) saturate(0.9);
  -webkit-backdrop-filter: blur(16px) saturate(0.9);
}

.login-card::before {
  inset: 0;
  border-radius: 20px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0) 34%),
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0) 48%);
  opacity: 0.42;
}

.form-input {
  background: rgba(1, 6, 14, 0.18);
  border-color: rgba(245, 250, 255, 0.82);
  box-shadow:
    inset 0 0 18px rgba(0, 0, 0, 0.2),
    0 0 12px rgba(255, 255, 255, 0.025);
}

@media (max-width: 760px) {
  .landing-container {
    background-position: center;
  }
}
