:root{
  --bg0:#060708;
  --bg1:#0a0d0e;
  --text:#e9eef0;
  --muted:#a8b0b5;
  --muted2:#7c858b;
  --teal:#18d3c6;
  --card:#0b0d0f;
  --stroke:rgba(255,255,255,0.08);
  --stroke2:rgba(255,255,255,0.06);
  --shadow: 0 24px 70px rgba(0,0,0,0.60);
  --radius:18px;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, Segoe UI,
               Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";

  --text-fg-muted: #a1a1aa;

  --font-size-sm: 14px;
  --font-weight-normal: 400;
  --line-height-sm: 24px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family:var(--font-body);
  color:var(--text);
  background: url(../assets/images/bg.png) center / cover no-repeat;
  overflow-x:hidden;
}

html, body {
  margin: 0;
  padding: 0;
  background: #0D0D0D;
}

.bg-wave {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);

  width: 100%;
  height: 100%;

  background: url(../assets/images/wave.png) center bottom / contain no-repeat !important;

  z-index: 1;
  pointer-events: none;
}

.bg-stars {
  position: fixed;
  inset: 0;

  background-image: url(../assets/images/stars.png);
  background-repeat: repeat;
  background-size: auto;
  background-position: center;

  z-index: 0;
  pointer-events: none;
}

.wrap{
  position:relative;
  z-index:2;
  min-height:100%;
  display:flex;
  flex-direction:column;
  align-items:center;
  padding:32px 18px 22px;
}

.top{
  width:100%;
  display:flex;
  justify-content:center;
  margin-top:6px;
}

.hero{
  text-align:center;
  margin-top:54px;
  max-width:920px;
}
.hero h1{
  margin:0;
  font-family: var(--font-body);
  font-size: clamp(34px, 4.2vw, 54px);
  font-weight:650;
  letter-spacing:-0.02em;
  text-shadow: 0 12px 44px rgba(0,0,0,0.55);
}
.sub {
  max-width: 720px;
  margin: 18px auto 0;

  color: var(--text-fg-muted);
  font-family: var(--font-body);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-normal);
  line-height: var(--line-height-sm);
  text-align: center;
}

.card {
  margin-top: 96px;
  width: min(520px, 92vw);
  padding: 32px;


  border: 1px solid rgba(255, 255, 255, 0.08);

  border-radius: var(--Radii-3xl, 24px);
  box-shadow: 0.5px 0.5px 0.5px 0 rgba(255, 255, 255, 0.12) inset, -0.5px -0.5px 0.5px 0 rgba(0, 0, 0, 0.55) inset;
  backdrop-filter: blur(16px);
}

.card::before{
  content:"";
  position:absolute;
  inset:-1px;
  border-radius:var(--radius);
  background: radial-gradient(900px 280px at 50% -20%, rgba(24,211,198,0.10), transparent 60%);
  pointer-events:none;
  opacity:0.9;
}
.card__title{
  margin:2px 0 18px;
  text-align:center;
  color:rgba(233,238,240,0.58);
  font-size:14px;
  font-family: var(--font-body);
  line-height:1.55;
  position:relative;
}

.form{
  display:flex;
  flex-direction:column;
  gap:14px;
  position:relative;
}

.field input{
  width:100%;
  height:46px;
  border-radius:10px;
  border:1px solid var(--stroke2);
  background: rgba(0,0,0,0.25);
  color: rgba(233,238,240,0.78);
  padding: 0 14px;
  outline:none;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}
.field input::placeholder{
  color: rgba(233,238,240,0.25);
}
.field input:focus{
  border-color: rgba(24,211,198,0.36);
  box-shadow: 0 0 0 4px rgba(24,211,198,0.10);
  background: rgba(0,0,0,0.30);
}

.field--icon{
  position:relative;
}
.field--icon input{
  padding-right:44px;
}
.field__icon{
  position:absolute;
  right:12px;
  top:50%;
  transform:translateY(-50%);
  font-size:16px;
  opacity:0.55;
  user-select:none;
}

.btn{
  margin-top:6px;
  height:46px;
  border-radius:10px;
  border:1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.25);
  color: rgba(233,238,240,0.78);
  font-weight:600;
  cursor:pointer;
  transition: transform 120ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}
.btn:hover{
  border-color: rgba(24,211,198,0.25);
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}
.btn:active{
  transform: translateY(1px);
}

.footer{
  margin-top:auto;
  padding-top:28px;
  font-size:12px;
  color: rgba(233,238,240,0.38);
  text-align:center;
  font-family: var(--font-body);
}

/* toast */
.toast{
  margin-top:14px;
  text-align:center;
  font-size:13px;
  color: rgba(233,238,240,0.70);
  min-height:18px;
}

/* accessibility */
.sr-only{
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}

/* mobile spacing tweaks */
@media (max-width: 520px){
  .hero{ margin-top:42px; }
  .card{ margin-top:48px; padding:22px 16px 18px; }
}

.hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
}
