:root {
  color-scheme: dark;
  font-family: Inter, system-ui, sans-serif;
  color: #f3f7ff;
  background: #050d20;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; }
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, #040b1dea, #040b1d35 65%, transparent),
    url("images/zwybel-stars.webp") right center / cover no-repeat;
}
main {
  width: min(42rem, calc(100% - 3rem));
  margin-left: clamp(1.5rem, 8vw, 10rem);
  padding: clamp(4rem, 20vh, 13rem) 0 3rem;
}
h1 {
  margin: 0 0 1.75rem;
  font-size: clamp(3.4rem, 8vw, 6.5rem);
  line-height: .95;
  letter-spacing: -.07em;
}
section > p {
  color: #a9d4ff;
  margin: 0 0 .8rem;
  font-size: .8rem;
  font-weight: 650;
  letter-spacing: .13em;
  text-transform: uppercase;
}
form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .5rem;
  padding: .45rem;
  border: 1px solid #526e99;
  border-radius: 1rem;
  background: #0b1730ed;
}
input, button { font: inherit; border-radius: .65rem; min-height: 3rem; }
input {
  width: 100%;
  min-width: 0;
  padding: .65rem .8rem;
  background: transparent;
  color: inherit;
  border: 0;
}
input::placeholder { color: #adbed7; opacity: 1; }
button {
  padding: .65rem clamp(.75rem, 3vw, 1.35rem);
  border: 0;
  background: #ffb479;
  color: #211007;
  font-weight: 700;
  cursor: pointer;
}
button:hover { background: #ffd0ab; }
button:disabled { opacity: .65; cursor: wait; }
:focus-visible { outline: 2px solid #8adcff; outline-offset: 3px; }
section > small {
  display: block;
  margin-top: .8rem;
  color: #c0cee4;
  line-height: 1.5;
}
#trinity-search-status:not(:empty) {
  display: inline-block;
  background: #0b1730;
  border-radius: .6rem;
  padding: .6rem .85rem;
  margin: 1.25rem 0 .6rem;
}
ol { padding: 0; margin: 0; list-style: none; }
li {
  padding: 1rem 1.15rem;
  margin-bottom: .65rem;
  border: 1px solid #364e73;
  border-radius: .8rem;
  background: #0b1730f5;
  overflow-wrap: anywhere;
}
li small { color: #ffb479; }
li h2 { font-size: 1.1rem; margin: .25rem 0; }
li p { margin: .3rem 0 0; color: #c0cee4; line-height: 1.55; }
a { color: #b7e2ff; text-underline-offset: .2em; }
a:hover { color: #fff; }
@media (max-width: 720px) {
  body::before {
    background: linear-gradient(180deg, transparent 4%, #050d2082 25%, #050d20 66%),
      url("images/zwybel-stars.webp") right top / auto min(58vh, 32rem) no-repeat;
  }
  main { margin-inline: auto; padding-top: clamp(12rem, 41vh, 24rem); }
}

.zwybel-menu {
  position: absolute;
  z-index: 1;
  inset-block-start: clamp(1rem, 3vw, 2rem);
  inset-inline-end: clamp(1rem, 4vw, 3rem);
}
.zwybel-menu summary {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  margin-inline-start: auto;
  border: 1px solid #526e99;
  border-radius: .8rem;
  list-style: none;
  color: #f3f7ff;
  background: #0b1730;
  cursor: pointer;
}
.zwybel-menu summary::-webkit-details-marker { display: none; }
.zwybel-menu summary:hover, .zwybel-menu[open] summary { background: #182b4d; }
.zwybel-menu nav {
  display: grid;
  min-width: 10rem;
  margin-top: .5rem;
  padding: .35rem;
  border: 1px solid #526e99;
  border-radius: .8rem;
  background: #0b1730;
  box-shadow: 0 .75rem 2rem #0206129c;
}
.zwybel-menu nav a, .zwybel-menu nav button {
  display: block;
  width: 100%;
  min-height: auto;
  text-align: start;
  padding: .65rem .8rem;
  border-radius: .5rem;
  color: #f3f7ff;
  background: transparent;
  text-decoration: none;
}
.zwybel-menu nav a:hover, .zwybel-menu nav button:hover { background: #182b4d; }
.zwybel-menu nav form { display: block; padding: 0; border: 0; }
.zwybel-footer {
  width: min(72rem, calc(100% - 2rem));
  margin: auto auto 0;
  padding: .9rem 0 1.5rem;
  border-top: 1px solid rgb(175 210 240 / 18%);
  color: #a1afc4;
  font-size: .8rem;
  line-height: 1.5;
  text-align: center;
}
.zwybel-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .25rem .8rem;
}
.zwybel-footer a { color: inherit; text-decoration: none; }
.zwybel-footer a:hover, .zwybel-footer a:focus-visible { color: #f3f7ff; text-decoration: underline; }
.zwybel-footer p { margin: .4rem 0 0; }
.zwybel-legal {
  padding-top: clamp(2rem, 8vh, 5rem);
  line-height: 1.65;
}
.zwybel-legal h1, .zwybel-auth h1 {
  font-size: clamp(2.1rem, 5vw, 4.75rem);
  line-height: 1.05;
  letter-spacing: -.045em;
  margin: 1.25rem 0;
}
.zwybel-auth-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 28rem);
  align-items: center;
  gap: clamp(2rem, 7vw, 7rem);
  width: min(72rem, calc(100% - 3rem));
  min-height: 82vh;
  margin-inline: auto;
  padding: clamp(2rem, 8vh, 6rem) 0 3rem;
}
.zwybel-auth-brand {
  color: #f3f7ff;
  font-size: 1.4rem;
  font-weight: 750;
  text-decoration: none;
}
.zwybel-auth-intro > p {
  max-width: 34rem;
  margin: 0 0 1rem;
  color: #c0cee4;
  font-size: 1rem;
  line-height: 1.65;
  font-weight: 400;
  letter-spacing: normal;
  text-transform: none;
}
.zwybel-auth-card {
  padding: clamp(1.1rem, 4vw, 2rem);
  border: 1px solid #526e99;
  border-radius: 1.25rem;
  background: #0b1730f2;
  box-shadow: 0 1rem 3rem #02061280;
}
.zwybel-auth-header, .zwybel-auth-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem 1rem;
}
.zwybel-auth-header { justify-content: space-between; margin-bottom: 1.25rem; }
.zwybel-auth-header h2 { margin: 0; font-size: 1.25rem; }
.zwybel-auth-form {
  grid-template-columns: 1fr;
  gap: 1rem;
  padding: 0;
  border: 0;
  background: transparent;
}
.zwybel-auth-form label { display: grid; gap: .4rem; font-size: .9rem; }
.zwybel-auth-form input:not([type="checkbox"]) { border: 1px solid #526e99; background: #050d20; }
.zwybel-auth-form small { color: #c0cee4; }
.zwybel-auth-form .zwybel-auth-consent {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: .65rem;
  color: #c0cee4;
  line-height: 1.5;
}
.zwybel-auth-form input[type="checkbox"] { width: 1rem; min-height: auto; margin: .2rem 0 0; }
.zwybel-auth-card .zwybel-auth-message { color: #c0cee4; font-size: .95rem; letter-spacing: normal; text-transform: none; }
.zwybel-auth-card .zwybel-auth-error { color: #ffb9ae; }
@media (max-width: 720px) {
  .zwybel-auth-shell { grid-template-columns: 1fr; min-height: auto; }
}
