/* Standalone stylesheet for the public coming-soon page.
   Tokens copied from assets/css/eidolon.css rather than imported: that file lives behind the
   site password, so linking it would leave the public page unstyled. Small and frozen on
   purpose — if the brand moves, this is a deliberate second edit, not a silent divergence. */

:root {
  --void: #0A0C11;
  --slate: #12151C;
  --line: #272C37;
  --teal: #33D6BE;
  --glow: 51, 214, 190;
  --moon: #E7ECF2;
  --dim: #98A4B4;
  --muted: #5C6675;
  --sans: "Helvetica Neue", Helvetica, "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --display: "HelveticaNeue-UltraLight", "Segoe UI Light", "Helvetica Neue Light", var(--sans);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  background:
    radial-gradient(120vw 90vh at 50% -20%, rgba(var(--glow), 0.10), transparent 60%),
    var(--void);
  color: var(--moon);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(24px, 6vw, 64px);
  min-height: 100vh;
}

/* Left-aligned rather than centred, and rows rather than a card, because that is what the real site
   is: the first thing anyone sees should not be in a different design language from the second. */
main {
  max-width: 40rem;
  width: 100%;
}

/* The brand shade, same path as assets/favicon.svg. Inline as a data URI because this page cannot
   reach /assets — see the note at the top of this file. */
.mark {
  width: 30px;
  height: 39px;
  margin: 0 0 2.25rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M15 49V26a17 17 0 0 1 34 0v23q-8.5 9-17 0-8.5 9-17 0z' fill='%2333D6BE'/%3E%3C/svg%3E") center / contain no-repeat;
  filter: drop-shadow(0 0 14px rgba(var(--glow), 0.4));
}

.label {
  margin: 0 0 1.1rem;
  font-size: 0.6875rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
}

h1 {
  font-family: var(--display);
  font-weight: 200;
  font-size: clamp(2.5rem, 8vw, 4rem);
  line-height: 1.06;
  letter-spacing: 0.01em;
  margin: 0 0 1.35rem;
  color: var(--moon);
  text-wrap: balance;
}

.lede {
  font-size: clamp(1rem, 2.4vw, 1.1875rem);
  font-weight: 300;
  line-height: 1.6;
  color: var(--dim);
  margin: 0 0 3rem;
}
.lede em { color: var(--moon); font-style: normal; }

/* Hairline rows, the workhorse of the real site. */
.rows { list-style: none; margin: 0 0 3rem; padding: 0; }
.row {
  display: grid;
  gap: 0.35rem 2.5rem;
  padding: 1.15rem 0;
  border-top: 1px solid var(--line);
}
.row:last-child { border-bottom: 1px solid var(--line); }
.row__t { color: var(--moon); font-weight: 300; font-size: 0.9375rem; }
.row__d { color: var(--dim); font-size: 0.9375rem; line-height: 1.55; }
@media (min-width: 40rem) {
  .row { grid-template-columns: 11rem 1fr; }
}

/* --- the gate ---------------------------------------------------------- */

.unlock { margin: 0 0 3rem; }
.unlock__label {
  display: block;
  margin-bottom: 0.7rem;
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.unlock__field { display: flex; gap: 0.6rem; flex-wrap: wrap; }

.unlock__input {
  flex: 1 1 14rem;
  min-width: 0;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 300;
  color: var(--moon);
  background: var(--slate);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 0.8rem 0.9rem;
  transition: border-color 0.16s ease;
}
.unlock__input::placeholder { color: var(--muted); }
.unlock__input:focus {
  outline: none;
  border-color: rgba(var(--glow), 0.55);
  box-shadow: 0 0 0 3px rgba(var(--glow), 0.09);
}

.unlock__btn {
  font-family: var(--sans);
  font-size: 0.8125rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--void);
  background: var(--teal);
  border: 1px solid var(--teal);
  border-radius: 2px;
  padding: 0 1.5rem;
  cursor: pointer;
  transition: opacity 0.16s ease;
}
.unlock__btn:hover { opacity: 0.88; }
.unlock__btn[disabled] { opacity: 0.5; cursor: default; }

/* One message element for every outcome. A wrong password and a rate limit are different sentences,
   which is the same reason signin.html keeps distinct copy per OAuth error. */
.unlock__msg {
  margin: 0.85rem 0 0;
  font-size: 0.875rem;
  color: var(--dim);
}
.unlock__msg[data-tone="bad"] { color: #E8927C; }
.unlock__msg[data-tone="ok"] { color: var(--teal); }

.foot {
  margin: 0;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
  font-size: 0.75rem;
  line-height: 1.6;
  color: var(--muted);
}
.foot a { color: var(--dim); border-bottom: 1px solid var(--line); text-decoration: none; }
.foot a:hover { color: var(--moon); }

@media (prefers-reduced-motion: no-preference) {
  main { animation: rise 0.7s ease-out both; }
  @keyframes rise {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: none; }
  }
}
