*, *::before, *::after {
  box-sizing: border-box;
}

:root {
  --bg: #050708;
  --surface: #111416;
  --border: rgba(255, 255, 255, .11);
  --teal: #22c7c9;
  --teal-deep: #004b50;
  --gold: #d8af2f;
  --text: #e6edf3;
  --text-dim: rgba(230, 237, 243, .60);
  --text-faint: rgba(230, 237, 243, .32);
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

body {
  min-height: 100vh;
  margin: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(0, 127, 130, .12), transparent 34%),
    radial-gradient(circle at 78% 6%, rgba(216, 175, 47, .10), transparent 24%),
    var(--bg);
  color: var(--text);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}

.entry-shell {
  width: min(100%, 420px);
}

.entry-brand {
  margin-bottom: 28px;
  text-align: center;
}

.entry-mark {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin: 0 auto 14px;
  border: 2px solid rgba(255, 255, 255, .72);
  background: linear-gradient(145deg, var(--teal), var(--teal-deep));
  font-size: 30px;
  font-weight: 900;
}

.entry-title {
  margin: 0;
  font-size: 24px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.entry-subtitle {
  margin: 8px 0 0;
  color: var(--text-dim);
  font-size: 13px;
}

.entry-card {
  width: 100%;
  background: rgba(255, 255, 255, .04);
  border: .5px solid rgba(255, 255, 255, .08);
  border-radius: 16px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.entry-pathways {
  display: grid;
  gap: 12px;
}

.entry-pathway {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: inherit;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .04em;
  text-decoration: none;
  text-transform: uppercase;
  transition: border-color .15s, background .15s, transform .15s;
}

.entry-pathway:hover {
  border-color: rgba(34, 199, 201, .6);
  background: rgba(34, 199, 201, .08);
  transform: translateY(-1px);
}

.entry-arrow {
  color: var(--teal);
  font-size: 18px;
}

.entry-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.entry-label {
  font-size: 11px;
  color: rgba(255, 255, 255, .45);
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.entry-input {
  background: rgba(255, 255, 255, .06);
  border: .5px solid rgba(255, 255, 255, .10);
  border-radius: 10px;
  color: var(--text);
  font-size: 16px;
  font-family: inherit;
  padding: 13px 14px;
  outline: none;
  transition: border-color 150ms;
  -webkit-appearance: none;
}

.entry-input:focus {
  border-color: rgba(34, 199, 201, .42);
}

.entry-button {
  background: var(--teal);
  color: #071520;
  font-weight: 700;
  font-size: 14px;
  border: none;
  border-radius: 10px;
  padding: 14px;
  font-family: inherit;
  cursor: pointer;
  transition: opacity 150ms;
  margin-top: 4px;
}

.entry-button:disabled {
  opacity: .5;
  cursor: default;
}

.entry-link {
  color: rgba(34, 199, 201, .66);
  background: none;
  border: none;
  font-family: inherit;
  font-size: 12px;
  cursor: pointer;
  text-align: center;
  padding: 0;
}

.entry-link:hover {
  color: var(--teal);
}

.entry-message {
  min-height: 18px;
  color: #f87171;
  font-size: 12px;
  text-align: center;
}

.entry-message.success {
  color: rgba(34, 199, 201, .84);
}

.entry-role-chooser {
  display: none;
  gap: 10px;
  grid-template-columns: 1fr;
}

.entry-role-chooser.open {
  display: grid;
}
