:root {
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

.hidden {
  display: none !important;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: "Segoe UI", "Inter", "Helvetica Neue", Arial, sans-serif;
  background: radial-gradient(1200px 600px at 20% 0%, #1e293b 0%, #0f172a 60%, #020617 100%);
  color: #e2e8f0;
}

.landing-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.landing-card {
  position: relative;
  z-index: 1;
  width: min(680px, 100%);
  text-align: center;
  border-radius: 20px;
  padding: 44px 28px;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow: 0 26px 70px rgba(2, 6, 23, 0.55);
  backdrop-filter: blur(8px);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  padding: 10px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, #334155, #1e293b);
  color: #f8fafc;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.headline {
  margin: 24px 0 14px;
  font-size: clamp(1.4rem, 4vw, 2.2rem);
  line-height: 1.25;
  color: #f8fafc;
}

.subtext {
  margin: 0 0 28px;
  font-size: 1rem;
  color: #cbd5e1;
}

.cta {
  position: relative;
  z-index: 3;
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 170px;
  padding: 12px 18px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 700;
  color: #f8fafc;
  background: linear-gradient(135deg, #2563eb, #4f46e5);
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.35);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
  border: 0;
  cursor: pointer;
}

.cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(37, 99, 235, 0.45);
}

.cta:active {
  transform: translateY(0);
}

.cta:focus-visible {
  outline: 3px solid rgba(191, 219, 254, 0.95);
  outline-offset: 3px;
}

.tester-gate-modal {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
}

.tester-gate-modal.hidden {
  display: none;
}

.tester-gate-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 8, 20, 0.72);
}

.tester-gate-card {
  position: relative;
  z-index: 1;
  width: min(430px, calc(100vw - 32px));
  border-radius: 16px;
  background: rgba(11, 17, 35, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  padding: 22px 20px 20px;
}

.tester-gate-card h2 {
  margin: 0 0 6px;
  font-size: 1.4rem;
  color: #eef2ff;
}

.tester-gate-help {
  margin: 0 0 16px;
  color: #a7b0cf;
  font-size: 0.95rem;
}

.tester-gate-card label {
  display: block;
  margin: 0 0 6px;
  font-size: 0.8rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #9fb3d7;
}

.tester-gate-card input {
  width: 100%;
  height: 44px;
  border-radius: 10px;
  border: 1px solid rgba(168, 181, 230, 0.25);
  background: rgba(255, 255, 255, 0.06);
  color: #f2f6ff;
  padding: 0 12px;
  margin: 0 0 14px;
  box-sizing: border-box;
}

.tester-gate-card input:focus {
  outline: none;
  border-color: rgba(127, 147, 255, 0.8);
}

.tester-gate-submit {
  width: 100%;
  height: 44px;
  border-radius: 10px;
  border: 0;
  background: linear-gradient(135deg, #586dff, #6f56ff);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

.tester-gate-error {
  min-height: 20px;
  margin: 0 0 8px;
  color: #ff8fb2;
  font-size: 0.9rem;
}

.tester-gate-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #b6c4e8;
  cursor: pointer;
}

.tester-gate-close:hover {
  background: rgba(255, 255, 255, 0.08);
}
