/* fintellabs.tech front door (21 Nov 2026): the prism behind, sign-in in front. */
body.gate {
  background: #03070c;
  color: var(--paper);
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}
#prism-light {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  display: block;
}
.gate-bar, .gate-main, .gate-foot { position: relative; z-index: 1; }
.gate-bar { padding: 1.25rem var(--gutter); }
.gate-main {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 27rem);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: end;
  padding: 0 var(--gutter) clamp(2rem, 6vh, 4rem);
}
.gate-brand { align-self: end; padding-bottom: .5rem; max-width: 34rem; }
.gate-word {
  margin: 0;
  font-weight: 300;
  font-size: clamp(3.2rem, 2rem + 6vw, 7.5rem);
  letter-spacing: .32em;
  line-height: 1;
  color: #f5f7fa;
  text-shadow: 0 0 40px rgba(180, 205, 255, .18);
}
.gate-line { margin: 1.1rem 0 .5rem; font-size: var(--step-1); font-weight: 300; color: #dfe7ef; }
.gate-note { margin: 0; color: var(--mist); font-size: var(--step--1); letter-spacing: .02em; }
.gate-card {
  color: var(--ink);
  background: rgba(255, 255, 255, .96);
  border: 1px solid rgba(255, 255, 255, .6);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
  max-height: calc(100svh - 7rem);
  overflow: auto;
}
.gate-tabs { display: flex; gap: .25rem; margin: 0 0 1.25rem; border-bottom: 1px solid var(--paper-rule); }
.gate-tabs a {
  padding: .6rem .9rem;
  text-decoration: none;
  color: var(--ink-2);
  font-weight: 500;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.gate-tabs a[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--amber); }
.gate-go { width: 100%; justify-content: center; }
.gate-switch { margin-top: 1rem; }
.gate-foot { padding: 0 var(--gutter) 1.25rem; color: #7d8fa1; font-size: .78rem; }
.gate-foot p { margin: 0; }

@media (max-width: 820px) {
  .gate-main { grid-template-columns: 1fr; align-items: start; padding-top: 33vh; }
  .gate-brand { padding-bottom: 0; }
  .gate-word { letter-spacing: .22em; }
  .gate-card { max-height: none; }
}
