:root {
  --accent: #fff;
  --accent-deep: #fff;
  --ink: #fff;
  --ink-2: rgba(255, 255, 255, 0.72);
  --muted: rgba(255, 255, 255, 0.52);
  --faint: rgba(255, 255, 255, 0.36);
  --line: rgba(255, 255, 255, 0.16);
  --line-soft: rgba(255, 255, 255, 0.08);
  --field: rgba(255, 255, 255, 0.07);
}

html { background: #000; }
body {
  position: relative;
  overflow-x: hidden;
  font-family: "Inter", system-ui, sans-serif;
  color: #fff;
  background: #000;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 18% 16%, rgba(255,255,255,.09), transparent 38%),
    radial-gradient(ellipse at 82% 86%, rgba(255,255,255,.055), transparent 34%);
}
::selection { color: #000; background: rgba(255,255,255,.86); }

.shell,
body:has(.shell > .brand) .shell {
  position: relative;
  width: min(560px, 100%);
  grid-template-columns: 1fr;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(145deg, rgba(255,255,255,.105), rgba(255,255,255,.035));
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 30px;
  box-shadow: inset 0 1px 1px rgba(255,255,255,.16), 0 34px 100px -48px rgba(0,0,0,.95);
  -webkit-backdrop-filter: blur(28px) saturate(145%);
  backdrop-filter: blur(28px) saturate(145%);
}
.brand {
  min-height: 600px;
  margin: 14px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 20px;
  background: #020202 url("./hero-wave-texture.png") center / cover no-repeat;
  box-shadow: inset 0 1px 1px rgba(255,255,255,.1);
}
.shell > .brand { display: none; }
.brand::before {
  background: linear-gradient(180deg, rgba(0,0,0,.18), rgba(0,0,0,.34));
}
.brand::after {
  background: linear-gradient(180deg, rgba(255,255,255,.08), transparent 34%, rgba(0,0,0,.2));
}
.brand-graphic { display: none; }
.brand-top { display: flex; align-items: center; }
.wordmark,
.signup-brand,
.login-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 20px;
  font-weight: 900;
  text-decoration: none;
}
.wordmark img,
.signup-brand img,
.login-brand img {
  width: 31px;
  height: 31px;
  object-fit: contain;
  filter: none;
}
.brand-word { position: relative; display: inline-block; }
.beta-badge {
  position: absolute;
  top: -9px;
  right: -31px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 16px;
  padding: 0 6px;
  border: 1px solid rgba(255,188,94,.72);
  border-radius: 6px;
  color: #fff;
  background: linear-gradient(145deg, rgba(255,194,105,.72), rgba(255,123,0,.58) 48%, rgba(255,92,0,.72));
  box-shadow: inset 0 1px 1px rgba(255,255,255,.42), inset 0 -1px 1px rgba(120,36,0,.28);
  font-family: "IBM Plex Mono", monospace;
  font-size: 8px;
  font-weight: 600;
  line-height: 1;
}
.brand-copy .eyebrow {
  color: rgba(255,255,255,.62);
  font-family: "IBM Plex Mono", monospace;
  font-weight: 400;
}
.brand-copy h2 { color: #fff; font-weight: 650; letter-spacing: -.035em; }

.form-wrap { padding: 52px 58px; background: rgba(0,0,0,.18); }
.form-inner { max-width: 390px; }
.form-inner h1 { color: #fff; font-size: 32px; font-weight: 650; letter-spacing: -.035em; }
.signup-intro,
.login-intro { text-align: center; }
.signup-intro .sub,
.login-intro .sub,
.sub { color: rgba(255,255,255,.54); }
.signup-brand,
.login-brand { margin-bottom: 32px; }

.field label,
.terms { color: rgba(255,255,255,.72); }
.input-box input {
  color: #fff;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: inset 0 1px 1px rgba(255,255,255,.045);
}
.input-box input::placeholder { color: rgba(255,255,255,.34); }
.input-box input:focus {
  color: #fff;
  background: rgba(255,255,255,.105);
  border-color: rgba(255,255,255,.72);
  box-shadow: 0 0 0 4px rgba(255,255,255,.1);
}
.input-box input:-webkit-autofill,
.input-box input:-webkit-autofill:hover,
.input-box input:-webkit-autofill:focus,
.input-box input:-webkit-autofill:active {
  -webkit-text-fill-color: #fff;
  caret-color: #fff;
  border-color: rgba(255,255,255,.4);
  -webkit-box-shadow: 0 0 0 1000px #222 inset;
  box-shadow: 0 0 0 1000px #222 inset;
  transition: background-color 9999s ease-out 0s;
}
.input-box input:-webkit-autofill:focus {
  border-color: rgba(255,255,255,.78);
  -webkit-box-shadow: 0 0 0 1000px #242424 inset, 0 0 0 4px rgba(255,255,255,.1);
  box-shadow: 0 0 0 1000px #242424 inset, 0 0 0 4px rgba(255,255,255,.1);
}
.input-box .eye { color: rgba(255,255,255,.4); }
.input-box .eye:hover { color: #fff; background: rgba(255,255,255,.08); }
.check { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.18); }
.terms input:checked + .check { color: #000; background: #fff; border-color: #fff; }
.terms input:checked + .check svg { stroke: #000; }
.remember input:checked + .check { color: #000; background: #fff; border-color: #fff; }
.remember input:checked + .check svg { stroke: #000; }
.terms a,
.link,
.foot-note a,
.foot-note a[style] { color: #fff !important; text-decoration: underline; text-underline-offset: 3px; }

.btn-primary {
  color: #050505;
  background: #fff;
  border: 1px solid rgba(255,255,255,.92);
  box-shadow: inset 0 1px 1px rgba(255,255,255,.92), 0 16px 34px -26px rgba(255,255,255,.8);
}
.btn-primary:hover {
  filter: none;
  box-shadow: inset 0 1px 1px rgba(255,255,255,.92), 0 20px 40px -28px rgba(255,255,255,.9);
}
.divider { color: rgba(255,255,255,.38); font-family: "IBM Plex Mono", monospace; font-weight: 400; }
.divider::before,
.divider::after { background: rgba(255,255,255,.16); }
.social {
  color: rgba(255,255,255,.78);
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.16);
}
.social:hover { color: #fff; background: rgba(255,255,255,.11); border-color: rgba(255,255,255,.3); }
.foot-note { color: rgba(255,255,255,.5); }

@media (min-width: 761px) {
  body { padding: 16px; }
  .shell,
  body:has(.shell > .brand) .shell { max-height: calc(100vh - 32px); }
  .form-wrap { padding: 24px 52px; }
  .signup-brand,
  .login-brand { margin-bottom: 14px; }
  .signup-intro h1,
  .login-intro h1 { font-size: 28px; }
  .signup-intro .sub,
  .login-intro .sub { margin-bottom: 18px; }
  .field { margin-bottom: 10px; }
  .input-box input { height: 42px; }
  .terms { margin: 2px 0 12px; }
  .btn-primary { height: 46px; }
  .divider { margin: 14px 0; }
  .social { height: 42px; }
  .foot-note { margin-top: 14px; }
}

@media (max-width: 760px) {
  body { padding: 0; background: #000; }
  .shell,
  body:has(.shell > .brand) .shell,
  body:has(.shell > .form-wrap:only-child) .shell {
    grid-template-columns: 1fr;
    min-height: 100svh;
    border: 0;
    border-radius: 0;
    background: #000;
    box-shadow: none;
  }
  .brand { display: none; }
  .form-wrap {
    min-height: 100svh;
    padding: calc(34px + env(safe-area-inset-top, 0px)) 24px calc(34px + env(safe-area-inset-bottom, 0px));
    background: radial-gradient(circle at 50% 0%, rgba(255,255,255,.08), transparent 36%);
  }
  .form-inner { max-width: 400px; }
  .form-inner h1 { font-size: 30px; }
}
