:root {
  color-scheme: dark;
  font-family: "Manrope", "Segoe UI Variable", "Segoe UI", sans-serif;
  background: #080606;
  color: #f4f0eb;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  --surface: rgba(18, 15, 15, .94);
  --line: rgba(255, 255, 255, .11);
  --muted: #a8a09a;
  --red: #e3262e;
  --gold: #d6a25e;
}

* { box-sizing: border-box; }

body {
  display: grid;
  min-height: 100svh;
  margin: 0;
  padding: 28px;
  place-items: center;
  overflow-x: hidden;
  background:
    radial-gradient(ellipse at 12% 8%, rgba(112, 23, 20, .25), transparent 35%),
    radial-gradient(ellipse at 86% 90%, rgba(91, 22, 17, .16), transparent 31%),
    #080606;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(232, 49, 45, .23) .8px, transparent .8px);
  background-size: 32px 32px;
  content: "";
  mask-image: linear-gradient(135deg, #000, transparent 70%);
  opacity: .22;
}

.maintenance-card {
  width: min(100%, 560px);
  padding: clamp(28px, 6vw, 54px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(31, 20, 19, .94), var(--surface) 42%);
  box-shadow: 0 30px 100px rgba(0, 0, 0, .52), inset 0 1px rgba(255, 255, 255, .035);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #f4f0eb;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .13em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid rgba(227, 38, 46, .7);
  border-radius: 10px 4px 10px 4px;
  color: var(--red);
  font-size: 21px;
  line-height: 1;
  transform: rotate(-8deg);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 44px 0 16px;
  color: var(--red);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 14px rgba(227, 38, 46, .8);
}

h1 {
  margin: 0;
  font-size: clamp(42px, 8vw, 66px);
  line-height: .98;
  letter-spacing: -.055em;
}

.intro {
  max-width: 390px;
  margin: 19px 0 28px;
  color: #b7afaa;
  font-size: 16px;
  line-height: 1.55;
}

button, input { font: inherit; }

.access-button, .submit-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 0 22px;
  border: 1px solid rgba(255, 95, 88, .5);
  border-radius: 999px;
  background: linear-gradient(105deg, #a9161c, #e43135);
  box-shadow: 0 9px 26px rgba(183, 25, 30, .22), inset 0 1px rgba(255, 255, 255, .16);
  color: white;
  cursor: pointer;
  font-size: 14px;
  font-weight: 750;
  transition: transform .18s ease, filter .18s ease, box-shadow .18s ease;
}

.access-button {
  list-style: none;
}

.access-button::-webkit-details-marker { display: none; }
.access-disclosure[open] .access-button span { transform: rotate(45deg); }
.access-button span { transition: transform .18s ease; }

.access-button:hover, .submit-button:hover {
  filter: brightness(1.12);
  box-shadow: 0 12px 30px rgba(183, 25, 30, .3), inset 0 1px rgba(255, 255, 255, .18);
  transform: translateY(-1px);
}

.access-button:focus-visible, .submit-button:focus-visible, input:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.access-form {
  display: grid;
  gap: 11px;
  margin-top: 22px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(7, 6, 6, .58);
  animation: reveal .2s ease-out both;
}

.access-form[hidden] { display: none; }
.form-error[hidden] { display: none; }

.form-heading .eyebrow { margin: 0 0 8px; font-size: 10px; }
.form-heading h2 { margin: 0 0 7px; font-size: 22px; letter-spacing: -.03em; }

label {
  margin-top: 5px;
  color: #d8d0ca;
  font-size: 12px;
  font-weight: 700;
}

input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 10px;
  background: #151212;
  color: #f7f3ee;
  font-size: 15px;
}

input::placeholder { color: #726b67; }
input:focus { border-color: rgba(227, 38, 46, .8); }

.submit-button { width: 100%; margin-top: 5px; }
.submit-button:disabled { cursor: wait; filter: saturate(.65); opacity: .75; }

.form-error {
  margin: 0;
  padding: 10px 12px;
  border: 1px solid rgba(227, 38, 46, .32);
  border-radius: 9px;
  background: rgba(128, 24, 26, .15);
  color: #ffaaa6;
  font-size: 13px;
  line-height: 1.45;
}

.form-note, .support-note {
  color: #77716d;
  font-size: 12px;
  line-height: 1.5;
}

.form-note { margin: 1px 0 0; text-align: center; }
.support-note { margin: 24px 0 0; }
.support-note a { color: #c8c0b8; text-decoration: underline; text-underline-offset: 3px; }
.support-note a:hover, .support-note a:focus-visible { color: #fff; }

@keyframes reveal {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 520px) {
  body { padding: 16px; }
  .maintenance-card { border-radius: 18px; }
  .eyebrow { margin-top: 38px; }
  .desktop-break { display: none; }
}

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