@font-face {
  font-family: Space;
  src: url("/fonts/space-grotesk-latin-wght-normal.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}
@font-face {
  font-family: Mono;
  src: url("/fonts/jetbrains-mono-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 800;
  font-display: swap;
}
:root {
  font-family: Space, Arial, sans-serif;
  color: #efeeea;
  background: #060708;
  color-scheme: dark;
  --muted: #979a93;
  --rule: #efeeea26;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-width: 320px;
}
button,
input {
  font: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  cursor: pointer;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button:focus-visible,
a:focus-visible {
  outline: 2px solid #efeeea;
  outline-offset: 5px;
}
input:focus-visible {
  outline: none;
}
.directory-shell {
  min-height: 100dvh;
  max-width: 1240px;
  margin: auto;
  padding: 0 60px;
  display: flex;
  flex-direction: column;
}
header,
footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
header {
  height: 110px;
}
.wordmark img {
  width: 70px;
  display: block;
  filter: brightness(0) invert(0.94);
}
.micro {
  font:
    9px/1.7 Mono,
    monospace;
  letter-spacing: 1.6px;
  color: var(--muted);
}
footer {
  border-top: 1px solid var(--rule);
  min-height: 85px;
  font: 10px Mono;
  color: var(--muted);
  gap: 24px;
}
footer a {
  color: #efeeea;
}
footer a span {
  margin-left: 20px;
}
.gate {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 30px 0 70px;
}
.gate-art {
  height: 420px;
  position: relative;
  background-image: radial-gradient(circle, #efeeea22 0.9px, transparent 1.1px);
  background-size: 21px 21px;
  mask-image: radial-gradient(ellipse, #000 15%, transparent 65%);
}
.dot-mark {
  position: absolute;
  inset: 0;
  mask: url("/assets/xtl-wordmark.svg") center/94% auto no-repeat;
  background-image: radial-gradient(circle, #efeeea 1.2px, transparent 1.45px);
  background-size: 4px 4px;
  animation: breathe 5s ease-in-out infinite;
}
.gate-copy {
  max-width: 430px;
}
.gate-copy > .micro {
  font-size: 8px;
}
h1 {
  font-size: clamp(38px, 4.2vw, 54px);
  line-height: 1.08;
  letter-spacing: -2px;
  font-weight: 450;
  margin: 20px 0;
}
h1 span {
  color: var(--muted);
}
.intro {
  font-size: 16px;
  line-height: 1.7;
  color: #c2c3bd;
  margin: 0 0 16px;
}
.description {
  font-size: 13px;
  line-height: 1.85;
  color: var(--muted);
  margin: 0 0 28px;
  max-width: 390px;
}
label {
  font-size: 11px;
  display: block;
  margin-bottom: 10px;
}
.password-field {
  display: flex;
  border: 1px solid var(--rule);
  border-radius: 3px;
  background: #0c0d0e;
}
.password-field:focus-within {
  border-color: #efeeea99;
}
.password-field input {
  width: 0;
  flex: 1;
  min-height: 53px;
  background: none;
  border: 0;
  padding: 13px;
  color: #efeeea;
  font-size: 16px;
}
.password-field input::placeholder {
  font-size: 12px;
  color: #878a83;
}
.password-field button {
  border: 0;
  background: none;
  color: var(--muted);
  font: 10px Mono;
  padding: 0 15px;
}
.primary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  width: 100%;
  border: 0;
  border-radius: 3px;
  background: #efeeea;
  color: #060708;
  padding: 14px 18px;
  font-size: 13px;
  font-weight: 550;
}
.primary:hover {
  background: #fff;
}
#gate-error {
  color: #edc6b7;
  font-size: 12px;
  line-height: 1.5;
  margin: 12px 0;
}
#gate-error:empty {
  margin: 16px 0;
}
.gate-note {
  font: 9px/1.8 Mono;
  color: var(--muted);
  text-align: center;
  margin: 17px 0 0;
}
.directory {
  flex: 1;
  padding: 45px 0 70px;
}
.directory-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 60px;
}
.directory h1 {
  font-size: 54px;
}
.sign-out {
  border: 1px solid var(--rule);
  border-radius: 3px;
  padding: 12px 15px;
  background: none;
  color: #efeeea;
  font-size: 11px;
  white-space: nowrap;
}
.sign-out span {
  margin-left: 20px;
}
.list-heading {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 16px;
  font: 9px Mono;
  letter-spacing: 1px;
  color: var(--muted);
}
.member {
  padding: 30px 0;
  display: flex;
  align-items: center;
  gap: 25px;
  border-bottom: 1px solid var(--rule);
}
.member-mark {
  font-size: 43px;
  color: #c3c5bd;
}
.member-identity h2 {
  font-size: 24px;
  font-weight: 450;
  letter-spacing: -0.5px;
  margin: 0 0 8px;
}
.member-identity p {
  font: 10px Mono;
  color: var(--muted);
  margin: 0;
}
.member-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 30px;
}
.member-actions a,
.copy-link {
  font-size: 11px;
}
.member-actions span {
  margin-left: 14px;
}
.copy-link {
  border: 1px solid var(--rule);
  border-radius: 3px;
  background: #101112;
  color: #efeeea;
  padding: 13px 16px;
  min-width: 155px;
}
.sharing-note {
  font-size: 12px;
  line-height: 1.9;
  color: var(--muted);
  margin-top: 30px;
}
.copy-status {
  font-size: 12px;
  color: #c6d5c2;
  min-height: 18px;
}
@keyframes breathe {
  50% {
    opacity: 0.5;
  }
}
@media (max-width: 760px) {
  .directory-shell {
    padding: 0 26px;
  }
  header {
    height: 83px;
  }
  .wordmark img {
    width: 60px;
  }
  .gate {
    display: block;
    padding: 10px 0 45px;
  }
  .gate-art {
    height: 150px;
    margin: 0 auto 20px;
    width: 280px;
    max-width: 100%;
  }
  .dot-mark {
    mask-size: 92% auto;
    background-size: 3.4px 3.4px;
    background-image: radial-gradient(circle, #efeeea 1px, transparent 1.2px);
  }
  .gate-copy {
    margin: auto;
  }
  h1 {
    font-size: 42px;
    letter-spacing: -1.8px;
  }
  .description {
    font-size: 12px;
  }
  .intro {
    font-size: 14px;
  }
  footer {
    font-size: 8px;
    min-height: 75px;
    gap: 14px;
  }
  footer a span {
    margin-left: 8px;
  }
  .directory {
    padding-top: 25px;
  }
  .directory-heading {
    display: block;
    margin-bottom: 35px;
  }
  .directory h1 {
    font-size: 43px;
  }
  .directory-heading form {
    margin-top: 25px;
  }
  .member {
    gap: 15px;
    flex-wrap: wrap;
  }
  .member-actions {
    margin: 8px 0 0 0;
    width: 100%;
    justify-content: space-between;
  }
  .sharing-note {
    font-size: 11px;
  }
  .micro {
    font-size: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
  }
}
