:root {
  color-scheme: dark;
  --bg: #071014;
  --panel: rgba(10, 24, 30, 0.82);
  --panel-strong: rgba(16, 34, 41, 0.94);
  --line: rgba(88, 241, 209, 0.22);
  --text: #edfdf8;
  --muted: #91aaa8;
  --cyan: #41f7d2;
  --lime: #bbff5a;
  --coral: #ff6b7a;
  --amber: #ffc857;
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 18%, rgba(65, 247, 210, 0.18), transparent 24rem),
    radial-gradient(circle at 86% 12%, rgba(255, 200, 87, 0.12), transparent 22rem),
    linear-gradient(135deg, #071014 0%, #101a1d 42%, #0b1017 100%);
}

body::before {
  position: fixed;
  inset: 0;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(65, 247, 210, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(65, 247, 210, 0.07) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.78), transparent);
}

a {
  color: inherit;
}

.page-shell {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0;
}

.topbar,
.status-strip,
.login-panel,
.app-card {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(18px);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 150px;
  padding: 28px;
  border-radius: 8px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.eyebrow-large {
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  line-height: 1;
  letter-spacing: 0;
}

h1 {
  margin: 0;
  font-size: clamp(2.1rem, 6vw, 5.2rem);
  line-height: 0.95;
}

.login-form button {
  border: 1px solid rgba(65, 247, 210, 0.34);
  border-radius: 6px;
  color: #051111;
  background: linear-gradient(135deg, var(--cyan), var(--lime));
  font-weight: 900;
}

.login-form button {
  min-height: 42px;
  padding: 0 18px;
  cursor: pointer;
}

.status-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 18px 0;
  overflow: hidden;
  border-radius: 8px;
}

.status-strip span {
  padding: 16px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.025);
}

.status-strip b {
  display: block;
  color: var(--text);
  font-size: 1.05rem;
}

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

.app-card {
  display: grid;
  position: relative;
  grid-template-columns: 72px 1fr auto;
  align-items: center;
  gap: 18px;
  min-height: 132px;
  padding: 22px;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.app-card:hover,
.app-card:focus,
.app-card:focus-within {
  border-color: rgba(187, 255, 90, 0.68);
  background: var(--panel-strong);
  transform: translateY(-2px);
  outline: none;
}

.logo {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border: 1px solid rgba(65, 247, 210, 0.34);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(65, 247, 210, 0.18), rgba(255, 107, 122, 0.1)),
    rgba(255, 255, 255, 0.04);
}

.logo svg {
  width: 39px;
  height: 39px;
  fill: none;
  stroke: var(--cyan);
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.app-copy strong,
.app-copy small {
  display: block;
}

.app-copy strong {
  margin-bottom: 8px;
  font-size: 1.18rem;
}

.app-copy small {
  color: var(--muted);
  line-height: 1.5;
}

.password-line {
  margin-top: 8px;
}

.card-highlight {
  display: inline-flex;
  width: fit-content;
  margin-top: 10px;
  border: 1px solid rgba(65, 247, 210, 0.24);
  border-radius: 6px;
  padding: 6px 9px;
  color: #bfe9df;
  background: rgba(65, 247, 210, 0.06);
  font-size: 0.82rem;
  font-weight: 750;
}

.copy-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.copy-button {
  min-height: 38px;
  border: 1px solid rgba(65, 247, 210, 0.38);
  border-radius: 6px;
  padding: 0 14px;
  color: var(--text);
  background: rgba(65, 247, 210, 0.1);
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 850;
}

.copy-button:hover,
.copy-button:focus-visible {
  border-color: rgba(187, 255, 90, 0.72);
  outline: none;
}

.disclaimer {
  margin-top: 18px;
  border: 1px solid rgba(65, 247, 210, 0.18);
  border-radius: 8px;
  padding: 16px 18px;
  color: var(--muted);
  background: rgba(10, 24, 30, 0.58);
  backdrop-filter: blur(14px);
}

.disclaimer strong {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  color: var(--text);
  font-size: 0.92rem;
}

.disclaimer-icon {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border: 1px solid rgba(65, 247, 210, 0.28);
  border-radius: 6px;
  background: rgba(65, 247, 210, 0.06);
}

.disclaimer-icon svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: var(--cyan);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.disclaimer p {
  margin: 0;
  line-height: 1.55;
  font-size: 0.9rem;
}

.contact-cta {
  margin-top: 18px;
  grid-template-columns: 72px 1fr;
}

.contact-cta-icon {
}

.contact-cta-copy strong,
.contact-cta-copy small {
  display: block;
}

.contact-cta-copy strong {
  margin-bottom: 8px;
  font-size: 1.18rem;
}

.contact-cta-copy small {
  color: var(--muted);
  line-height: 1.5;
}

.contact-panel {
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: var(--panel);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(18px);
}

.contact-note,
.contact-banner {
  margin: 0 0 16px;
  border-radius: 6px;
  padding: 12px 14px;
  font-size: 0.92rem;
  line-height: 1.5;
}

.contact-note {
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
}

.contact-banner.success {
  color: #d9ffe8;
  background: rgba(65, 247, 210, 0.12);
  border: 1px solid rgba(65, 247, 210, 0.25);
}

.contact-banner.warning {
  color: #ffe8b0;
  background: rgba(255, 200, 87, 0.12);
  border: 1px solid rgba(255, 200, 87, 0.22);
}

.contact-banner.error {
  color: #ffd9de;
  background: rgba(255, 107, 122, 0.12);
  border: 1px solid rgba(255, 107, 122, 0.22);
}

.contact-countdown {
  display: inline-flex;
  margin-left: 8px;
  color: #ffd9de;
  font-weight: 800;
  white-space: nowrap;
}

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

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

.contact-form span {
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(65, 247, 210, 0.28);
  border-radius: 6px;
  padding: 12px 14px;
  color: var(--text);
  background: rgba(2, 8, 11, 0.5);
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
  min-height: 170px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(187, 255, 90, 0.34);
  outline-offset: 2px;
}

.honeypot-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

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

.contact-actions button,
.secondary-link {
  min-height: 42px;
  border-radius: 6px;
  padding: 0 16px;
  font: inherit;
  font-weight: 800;
}

.contact-actions button {
  border: 1px solid rgba(65, 247, 210, 0.34);
  color: #051111;
  background: linear-gradient(135deg, var(--cyan), var(--lime));
  cursor: pointer;
}

.contact-actions button:disabled {
  border-color: rgba(65, 247, 210, 0.18);
  color: rgba(237, 253, 248, 0.72);
  background: rgba(65, 247, 210, 0.08);
  cursor: not-allowed;
}

.secondary-link {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(65, 247, 210, 0.24);
  color: var(--text);
  background: rgba(65, 247, 210, 0.06);
  text-decoration: none;
}

.login-body {
  display: grid;
  place-items: center;
  padding: 24px;
}

.login-shell {
  width: min(430px, 100%);
}

.login-panel {
  padding: 32px;
  border-radius: 8px;
}

.brand-mark {
  display: grid;
  width: 74px;
  height: 74px;
  margin-bottom: 24px;
  place-items: center;
  border: 1px solid rgba(187, 255, 90, 0.42);
  border-radius: 8px;
  background: rgba(65, 247, 210, 0.08);
}

.brand-mark span {
  width: 34px;
  height: 34px;
  border: 7px solid var(--cyan);
  border-right-color: var(--lime);
  transform: rotate(45deg);
}

.login-form {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.login-form label {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.login-form input {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(65, 247, 210, 0.32);
  border-radius: 6px;
  padding: 0 14px;
  color: var(--text);
  background: rgba(2, 8, 11, 0.62);
  font: inherit;
}

.login-form input:focus {
  outline: 2px solid rgba(187, 255, 90, 0.45);
  outline-offset: 2px;
}

.error {
  margin: 0;
  color: var(--coral);
  font-size: 0.9rem;
}

@media (max-width: 760px) {
  .topbar,
  .app-card {
    grid-template-columns: 1fr;
  }

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

  .status-strip,
  .grid {
    grid-template-columns: 1fr;
  }

  .app-card {
    align-items: start;
  }

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

  .contact-cta {
    grid-template-columns: 1fr;
    align-items: start;
  }

}
