/* An author rule like .proof { display:flex } beats the browser's own
   [hidden] rule, so an element told to hide would still show. This puts
   that back — without it, a brand-new install shows a proof strip full
   of zeroes, which says the opposite of what it is there to say. */
[hidden] { display: none !important; }

/* ============================================================ landing
 *
 * The front door. Two kinds of people arrive here: somebody looking for work,
 * and somebody who already works here and wants to get in. Everything below
 * serves one of those two, and anything that served neither has been removed.
 *
 * The look borrows from the game itself — gold on deep blue-black, the skill
 * icons the team already recognises — rather than from a generic SaaS page,
 * because the people reading it have spent thousands of hours looking at
 * exactly that palette.
 */

.land {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  background: var(--bg);
}

/* A slow gold wash behind everything. Cheap, and it stops the page reading
   as a flat sheet of near-black. */
.land::before {
  content: '';
  position: absolute;
  inset: -40% -10% auto -10%;
  height: 78vh;
  background:
    radial-gradient(60% 55% at 22% 18%, color-mix(in srgb, var(--gold) 16%, transparent), transparent 70%),
    radial-gradient(48% 48% at 82% 8%, color-mix(in srgb, var(--blue) 14%, transparent), transparent 70%);
  filter: blur(8px);
  pointer-events: none;
  z-index: 0;
}

.land > * { position: relative; z-index: 1; }

/* ------------------------------------------------------------- header */

.land-nav {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px clamp(16px, 4vw, 40px);
}

/* ---------------------------------------------------------------- hero */

.land-body {
  flex: 1;
  display: grid;
  place-items: start center;
  padding: clamp(16px, 4vw, 40px);
}
.land-inner { width: min(1140px, 100%); }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--gold) 32%, transparent);
  background: color-mix(in srgb, var(--gold) 10%, transparent);
  color: var(--gold);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero-eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--good);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--good) 22%, transparent);
}

.hero-title {
  font-size: clamp(34px, 6.2vw, 62px);
  line-height: 1.03;
  letter-spacing: -0.03em;
  font-weight: 800;
  margin: 0 0 18px;
  text-wrap: balance;
  max-width: 17ch;
}
.hero-title .accent {
  background: linear-gradient(100deg, var(--gold), #ffd98a 55%, var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: clamp(15px, 1.5vw, 18px);
  color: var(--text-2);
  max-width: 60ch;
  line-height: 1.6;
  margin: 0 0 30px;
}

/* ------------------------------------------------------- proof strip */

.proof {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(18px, 4vw, 52px);
  padding: 20px 0 30px;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  margin-bottom: 34px;
}
.proof-item .n {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 750;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.proof-item .n.gold { color: var(--gold); }
.proof-item .n.good { color: var(--good); }
.proof-item .l {
  font-size: 12px;
  color: var(--text-3);
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-top: 4px;
}

/* --------------------------------------------------------- the doors */

.role-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}

.role-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 20px 20px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--surface-2) 92%, transparent), var(--surface));
  cursor: pointer;
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
  overflow: hidden;
}
/* the accent rail only appears on hover, so four cards do not shout at once */
.role-card::after {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--gold);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .18s ease;
}
.role-card:hover,
.role-card:focus-visible {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--gold) 42%, var(--line));
  box-shadow: 0 14px 34px -18px rgba(0, 0, 0, .9);
  outline: none;
}
.role-card:hover::after,
.role-card:focus-visible::after { transform: scaleY(1); }

.role-card .ico {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 12px;
  font-size: 22px;
  background: color-mix(in srgb, var(--gold) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--gold) 24%, transparent);
}
.role-card[data-role="login"] .ico {
  background: color-mix(in srgb, var(--good) 12%, transparent);
  border-color: color-mix(in srgb, var(--good) 26%, transparent);
}
.role-card[data-role="login"]:hover { border-color: color-mix(in srgb, var(--good) 42%, var(--line)); }
.role-card[data-role="login"]::after { background: var(--good); }

.role-card .t { font-weight: 680; font-size: 16px; }
.role-card .d { font-size: 13px; color: var(--text-2); line-height: 1.55; flex: 1; }
.role-card .go {
  font-size: 13px; font-weight: 620; color: var(--gold);
  display: flex; align-items: center; gap: 6px;
}
.role-card[data-role="login"] .go { color: var(--good); }
.role-card:hover .go { gap: 10px; }

/* --------------------------------------------------------- the truth */

.land-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
}
.land-fact {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--text-2);
}
.land-fact .tick { color: var(--good); font-weight: 700; }

/* a quiet band of the skill icons the team already knows */
.land-skills {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: 26px; opacity: .34;
}
.land-skills img { width: 22px; height: 22px; }

.land-foot {
  padding: 22px clamp(16px, 4vw, 40px);
  color: var(--text-3);
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* ----------------------------------------------------------- sign in */

.auth-card {
  width: min(430px, 100%);
  padding: 30px 28px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  box-shadow: 0 30px 70px -40px rgba(0, 0, 0, .95);
}
.auth-title { font-size: 24px; font-weight: 740; letter-spacing: -0.02em; }
.auth-sub { color: var(--text-2); font-size: 14px; margin: 6px 0 22px; }

@media (max-width: 640px) {
  .hero-title { max-width: none; }
  .proof { gap: 18px 30px; }
}

/* The page commits to one dark look on purpose — it is the game's palette and
   the team recognises it — so it paints its own ground rather than borrowing
   the host's in either theme. */
