* {
  box-sizing: border-box;
}
:root {
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #181818;
  background: white;
  font-synthesis: none;
}
body {
  margin: 0;
}
button,
input {
  font: inherit;
}
button {
  cursor: pointer;
}
[hidden] {
  display: none !important;
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100svh;
}
.form-side {
  display: grid;
  place-items: center;
  padding: 56px 32px;
}
.form-wrap {
  width: min(100%, 360px);
}
.intro {
  text-align: center;
  margin-bottom: 32px;
}
.brand-mark {
  display: block;
  width: 40px;
  height: 40px;
  margin: 0 auto 23px;
  border-radius: 8px;
}
h1 {
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: -1.5px;
  font-weight: 620;
  margin: 0;
}
.intro p {
  margin: 10px 0 0;
  font-size: 15px;
  line-height: 1.5;
  color: #606064;
}
form {
  display: grid;
  gap: 20px;
}
form label {
  display: grid;
  gap: 7px;
  font-size: 14px;
  font-weight: 550;
  color: #333;
}
input:not([type="checkbox"]) {
  width: 100%;
  border: 1px solid #d1d1d4;
  padding: 11px 14px;
  height: 46px;
  border-radius: 8px;
  background: white;
  box-shadow: 0 1px 2px #0000000c;
  font-size: 16px;
  line-height: 1.5;
  color: #141414;
}
input::placeholder {
  color: #88898d;
  font-weight: 400;
}
.form-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.remember {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 450;
}
.remember input {
  margin: 0;
  width: 16px;
  height: 16px;
  accent-color: #111;
}
.text-button {
  border: 0;
  background: transparent;
  padding: 2px 0;
  color: #333;
  font-size: 14px;
  font-weight: 610;
}
.text-button:hover {
  text-decoration: underline;
}
.primary {
  background: #181818;
  color: white;
  border: 1px solid #111;
  border-radius: 8px;
  min-height: 46px;
  box-shadow: 0 1px 3px #0002;
  font-size: 15px;
  font-weight: 600;
}
.primary:hover {
  background: #303030;
}
.google-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  background: white;
  color: #1f1f1f;
  border: 1px solid #747775;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 550;
}
.google-button img {
  object-fit: contain;
}
.google-button:hover {
  background: #f6f6f6;
}
.google-button:disabled,
.primary:disabled {
  opacity: 0.6;
  cursor: wait;
}
:focus-visible {
  outline: 3px solid #96969c;
  outline-offset: 3px;
}
#message {
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
  color: #333;
}
.art-side {
  min-width: 0;
  background: #080808;
  position: relative;
  overflow: hidden;
}
#art,
.art-frame,
.scene,
.scene-render,
.poster {
  position: absolute;
  inset: 0;
}
.scene {
  isolation: isolate;
  animation: scene-in 0.85s ease both;
  pointer-events: none;
}
.scene-render,
.scene-render > div,
.scene-render canvas {
  display: block;
  width: 100%;
  height: 100%;
}
.scene-render {
  z-index: 1;
}
.poster {
  background-color: #070707;
  background-position: center;
  background-size: cover;
}
.art-bottom {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: white;
  padding: 60px clamp(22px, 3.5vw, 50px) 32px;
  background: linear-gradient(transparent, #000b);
  z-index: 3;
}
.scene-name {
  font-size: 14px;
  font-weight: 520;
  letter-spacing: 0.01em;
}
.art-controls {
  display: flex;
  gap: 8px;
}
.art-controls button {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid #ffffff59;
  border-radius: 50%;
  background: #1117;
  color: white;
  backdrop-filter: blur(8px);
}
.art-controls button:hover {
  background: #444;
}
.art-controls svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
@keyframes scene-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@media (max-width: 819px) {
  .split {
    grid-template-columns: 1fr;
  }
  .art-side {
    display: none;
  }
  .form-side {
    padding: 42px 24px;
  }
  h1 {
    font-size: 29px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
.scene-render .relative {
  position: relative;
}
.scene-render .absolute {
  position: absolute;
}
.scene-render .inset-0 {
  inset: 0;
}
.scene-render .opacity-0 {
  opacity: 0;
}
.scene-render .opacity-100 {
  opacity: 1;
}
.scene-render .w-full,
.scene-render .h-full {
  width: 100%;
  height: 100%;
}

#art {
  background: #080808 url(/art/shape-waves.webp) center/cover no-repeat;
}
.scene-render:has(canvas:not(.opacity-0)) {
  background: #080808;
}
.scene-render:has(canvas.opacity-0) {
  opacity: 0;
}
