:root {
  --navy-950: #071b2c;
  --navy-900: #0b2943;
  --navy-800: #123b5d;
  --blue-600: #007db8;
  --blue-500: #059bcf;
  --blue-100: #dff4fb;
  --lime: #d6dd18;
  --white: #ffffff;
  --ink: #12263a;
  --muted: #607184;
  --line: #dbe4ea;
  --error: #a33a2b;
  --error-bg: #fff0ed;
  --warning: #8b541f;
  --warning-bg: #fff5e8;
  --success: #4f6511;
  --success-bg: #f1f6dc;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  position: relative;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 82% 10%, rgba(12, 163, 213, 0.35), transparent 29rem),
    radial-gradient(circle at 8% 78%, rgba(0, 119, 178, 0.22), transparent 25rem),
    linear-gradient(145deg, #071b2c 0%, #0c2c48 45%, #0b3553 100%);
  color: var(--white);
  font-family: "Segoe UI", Aptos, Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 3px;
}

.page-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.12;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.16) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, black 15%, transparent 95%);
}

.page-orbit {
  position: fixed;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 50%;
  pointer-events: none;
}

.orbit-one {
  top: 22%;
  right: -125px;
  width: 360px;
  height: 360px;
  box-shadow:
    0 0 0 58px rgba(255, 255, 255, 0.025),
    0 0 0 116px rgba(255, 255, 255, 0.018);
}

.orbit-two {
  bottom: -190px;
  left: -120px;
  width: 390px;
  height: 390px;
  border-color: rgba(105, 204, 233, 0.1);
}

.topbar,
.auth-shell,
footer {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}

.topbar {
  display: flex;
  min-height: 92px;
  align-items: center;
  justify-content: space-between;
}

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

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--lime);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.brand-mark svg,
.internal-badge svg,
.lock-tile svg,
.field-wrap svg,
button svg,
.security-note svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.brand-mark svg {
  width: 23px;
  height: 23px;
}

.brand-copy {
  display: grid;
  line-height: 1;
}

.brand-copy strong {
  font-size: 20px;
  letter-spacing: 0.08em;
}

.brand-copy small {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.25em;
}

.internal-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(7, 27, 44, 0.24);
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
}

.internal-badge svg {
  width: 14px;
  height: 14px;
}

.auth-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(390px, 0.72fr);
  gap: clamp(54px, 8vw, 100px);
  align-items: center;
  min-height: calc(100vh - 184px);
  padding-block: 54px 78px;
}

.auth-story {
  max-width: 610px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 28px;
  height: 3px;
  border-radius: 999px;
  background: var(--lime);
}

.auth-story h1 {
  max-width: 600px;
  margin: 0;
  font-size: clamp(48px, 6vw, 74px);
  font-weight: 700;
  letter-spacing: -0.052em;
  line-height: 0.99;
}

.story-intro {
  max-width: 570px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 17px;
  line-height: 1.7;
}

.trust-list {
  display: grid;
  gap: 12px;
  margin: 30px 0 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  list-style: none;
}

.trust-list li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.trust-list li span {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border: 1px solid rgba(214, 221, 24, 0.44);
  border-radius: 50%;
  color: var(--lime);
  font-size: 11px;
  font-weight: 900;
}

.login-card {
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.97);
  color: var(--ink);
  box-shadow: 0 32px 78px rgba(2, 17, 28, 0.37);
  backdrop-filter: blur(20px);
}

.card-heading {
  display: flex;
  align-items: center;
  gap: 15px;
}

.lock-tile {
  display: grid;
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 15px;
  background: var(--blue-100);
  color: var(--blue-600);
}

.lock-tile svg {
  width: 24px;
  height: 24px;
}

.card-kicker {
  color: var(--blue-600);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.card-heading h2 {
  margin: 5px 0 0;
  color: var(--navy-900);
  font-size: 28px;
  letter-spacing: -0.035em;
}

.card-intro {
  margin: 22px 0 24px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.status {
  display: none;
  gap: 4px;
  margin: 0 0 18px;
  padding: 13px 15px;
  border: 1px solid;
  border-radius: 10px;
  font-size: 11px;
  line-height: 1.45;
}

.status:target {
  display: grid;
}

.status-error {
  border-color: #e8bbb3;
  background: var(--error-bg);
  color: var(--error);
}

.status-warning {
  border-color: #e4c49c;
  background: var(--warning-bg);
  color: var(--warning);
}

.status-success {
  border-color: #cbd99a;
  background: var(--success-bg);
  color: var(--success);
}

form {
  display: grid;
}

label {
  margin: 0 0 7px;
  color: var(--navy-800);
  font-size: 11px;
  font-weight: 750;
}

.field-wrap {
  position: relative;
  margin-bottom: 17px;
}

.field-wrap svg {
  position: absolute;
  top: 50%;
  left: 14px;
  width: 17px;
  height: 17px;
  color: #8296a6;
  transform: translateY(-50%);
  pointer-events: none;
}

input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px 0 42px;
  border: 1px solid #c8d5de;
  border-radius: 10px;
  background: #f8fafb;
  color: var(--navy-950);
  font: inherit;
  font-size: 14px;
  transition: border-color 150ms ease, background 150ms ease, box-shadow 150ms ease;
}

input:hover {
  border-color: #aebfca;
}

input:focus {
  border-color: var(--blue-500);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(5, 155, 207, 0.11);
  outline: 0;
}

button {
  display: flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 4px;
  padding: 0 20px;
  border: 0;
  border-radius: 10px;
  background: var(--lime);
  color: var(--navy-950);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 850;
  box-shadow: 0 12px 25px rgba(55, 65, 7, 0.16);
  transition: background 150ms ease, transform 150ms ease;
}

button:hover {
  background: #e2e82d;
  transform: translateY(-1px);
}

button svg {
  width: 18px;
  height: 18px;
}

.security-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 22px;
  padding: 13px 14px;
  border-radius: 10px;
  background: #eef5f8;
  color: var(--navy-800);
}

.security-note svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  margin-top: 1px;
  color: var(--blue-600);
}

.security-note p {
  margin: 0;
  font-size: 10px;
  line-height: 1.55;
}

.access-note {
  margin: 15px 0 0;
  color: #84929e;
  font-size: 9px;
  line-height: 1.5;
  text-align: center;
}

footer {
  display: grid;
  grid-template-columns: max-content minmax(24px, 1fr) minmax(0, max-content);
  min-height: 230px;
  padding-block: 36px;
  align-items: start;
  justify-content: space-between;
  gap: clamp(16px, 3vw, 40px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.44);
  font-size: 10px;
  letter-spacing: 0.04em;
}
footer::after {
  content: "";
  grid-column: 2;
  grid-row: 1;
  align-self: stretch;
  margin-inline-start: 16px;
  pointer-events: none;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-contact {
  grid-column: 1;
  grid-row: 1;
  display: grid;
  gap: 18px;
}

.footer-contact img {
  display: block;
  width: 112px;
  height: 40px;
  object-fit: contain;
}

.footer-contact address {
  display: grid;
  gap: 7px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-style: normal;
  letter-spacing: 0;
  line-height: 1.35;
}

.footer-contact a:hover {
  color: var(--white);
}

.footer-meta {
  grid-column: 3;
  grid-row: 1;
  min-width: 0;
  display: grid;
  gap: 6px;
  justify-items: end;
  text-align: right;
}

.footer-meta strong {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 750;
}

.footer-build {
  display: grid;
  gap: 4px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.75rem;
  line-height: 1.6;
  letter-spacing: 0;
}

.footer-build > span {
  overflow-wrap: anywhere;
}

@media (max-width: 760px) {
  footer {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

  footer::after {
    display: none;
  }

  .footer-contact,
  .footer-meta {
    grid-column: 1;
    grid-row: auto;
  }

  .footer-meta {
    justify-items: start;
    text-align: left;
  }
}

@media (max-width: 860px) {
  .auth-shell {
    grid-template-columns: 1fr;
    gap: 46px;
    max-width: 620px;
    padding-block: 60px 72px;
  }

  .auth-story {
    text-align: center;
  }

  .eyebrow {
    justify-content: center;
  }

  .trust-list {
    justify-items: center;
  }
}

@media (max-width: 560px) {
  .topbar,
  .auth-shell,
  footer {
    width: min(100% - 30px, 1120px);
  }

  .topbar {
    min-height: 78px;
  }

  .internal-badge {
    display: none;
  }

  .auth-shell {
    padding-block: 38px 58px;
  }

  .auth-story h1 {
    font-size: clamp(42px, 13vw, 58px);
  }

  .story-intro {
    font-size: 15px;
  }

  .trust-list {
    justify-items: start;
    font-size: 12px;
    text-align: left;
  }

  .login-card {
    padding: 25px 21px;
    border-radius: 18px;
  }

  footer {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-meta {
    justify-items: start;
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  input,
  button {
    transition: none;
  }
}
