/* Deep sea. The same palette the prototype behind this door ships, so the
   sign-in page and the app read as one product rather than two. */
:root {
  --ground: #081722;
  --surface: #0f2433;
  --line: #1c3a4d;
  --accent: #5eead4;
  --accent-dim: #2fb9a3;
  --heading: #ffffff;
  --body: #dde7ef;
  --muted: #a9bccb;
  --danger: #fca5a5;
  --sans: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 32px 20px;
  background:
    radial-gradient(120% 90% at 50% -10%, #10314a 0%, rgba(16,49,74,0) 60%),
    var(--ground);
  color: var(--body);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.card {
  width: 100%;
  max-width: 420px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 36px 32px 30px;
  box-shadow: 0 24px 60px -30px rgba(0,0,0,.8);
}
.card.wide { max-width: 720px; }

.eyebrow {
  margin: 0 0 14px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
}

h1 {
  margin: 0 0 10px;
  font-size: 26px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--heading);
  text-wrap: balance;
}

.lede { margin: 0 0 26px; color: var(--muted); }

label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--body);
}

input[type="email"],
input[type="password"] {
  width: 100%;
  padding: 12px 14px;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: #0a1c29;
  color: var(--heading);
  font: inherit;
}
input::placeholder { color: #6b8598; }
input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: transparent;
}

label + input + label { margin-top: 16px; }

button {
  margin-top: 18px;
  width: 100%;
  padding: 12px 16px;
  border: 0;
  border-radius: 9px;
  background: var(--accent);
  color: #06212b;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
button:hover { background: #7cf0dd; }
button:disabled { background: var(--accent-dim); cursor: default; }
button:focus-visible { outline: 2px solid var(--heading); outline-offset: 2px; }

.note {
  margin: 18px 0 0;
  min-height: 20px;
  font-size: 13.5px;
  color: var(--muted);
}
.note[data-tone="ok"] { color: var(--accent); }
.note[data-tone="bad"] { color: var(--danger); }

.foot {
  margin: 26px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}
a { color: var(--accent); }

/* The hub */
.doors { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .doors { grid-template-columns: 1fr; } }

.door {
  display: grid;
  gap: 6px;
  align-content: start;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #0b1f2d;
  text-decoration: none;
  color: var(--body);
}
.door:hover { border-color: var(--accent-dim); background: #0d2536; }
.door:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.door-role {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
}
.door-name { font-size: 17px; font-weight: 600; color: var(--heading); }
.door-note { font-size: 13.5px; color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

.alt { margin: 16px 0 0; }
.linky {
  width: auto;
  margin: 0;
  padding: 0;
  background: none;
  color: var(--accent);
  font: inherit;
  font-size: 13.5px;
  font-weight: 400;
  text-decoration: underline;
  cursor: pointer;
}
.linky:hover { background: none; color: #7cf0dd; }
