@font-face {
  font-family: "Geist";
  src: url("/assets/_vinext_fonts/geist-8ac0455e797f/geist-98bbbccb.woff2")
    format("woff2");
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #0b0c0c;
  --panel: #141616;
  --line: #2b2f2c;
  --text: #f3f5ef;
  --muted: #909891;
  --lime: #b7f34a;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100svh;
  background: var(--bg);
  color: var(--text);
  font-family:
    "Geist", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}

button,
input {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

button:focus-visible,
input:focus-visible,
a:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}

.login-shell {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(440px, 0.92fr);
}

.login-story {
  min-height: 100svh;
  padding: clamp(30px, 5vw, 72px);
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(circle at 76% 18%, rgba(183, 243, 74, 0.16), transparent 26%),
    linear-gradient(145deg, #131715, #090a0a 70%);
  border-right: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  width: fit-content;
  font-weight: 720;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--text);
  color: #0d0e0d;
  font-size: 11px;
  font-weight: 850;
}

.story-copy {
  margin: auto 0;
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--lime);
  font-size: 10px;
  font-weight: 720;
  letter-spacing: 0.15em;
}

.story-copy h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(48px, 6vw, 92px);
  line-height: 0.98;
  letter-spacing: -0.07em;
  font-weight: 620;
}

.story-copy > p:last-child {
  max-width: 620px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(15px, 1.5vw, 19px);
  line-height: 1.75;
}

.signal-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}

.signal-row span {
  padding: 18px 0;
  color: #8d968f;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.login-panel {
  padding: clamp(24px, 5vw, 68px);
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 20%, rgba(83, 216, 220, 0.06), transparent 35%),
    #0d0f0e;
}

.login-card {
  width: min(100%, 460px);
  padding: clamp(28px, 5vw, 46px);
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(20, 22, 22, 0.92);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.32);
}

.coach-mark {
  width: 54px;
  height: 54px;
  margin-bottom: 34px;
  border: 1px solid rgba(183, 243, 74, 0.35);
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow:
    inset 0 0 0 8px rgba(183, 243, 74, 0.05),
    0 0 40px rgba(183, 243, 74, 0.08);
}

.coach-mark span {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--lime);
}

.login-card h2 {
  margin: 0;
  font-size: clamp(31px, 4vw, 44px);
  letter-spacing: -0.055em;
}

.login-copy {
  margin: 13px 0 30px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

form {
  display: grid;
}

label {
  margin: 15px 0 8px;
  color: #b8bdb8;
  font-size: 11px;
  font-weight: 650;
}

input {
  width: 100%;
  height: 50px;
  padding: 0 15px;
  border: 1px solid #373c38;
  border-radius: 13px;
  background: #0d0f0e;
  color: var(--text);
  outline: none;
}

input:focus {
  border-color: rgba(183, 243, 74, 0.62);
  box-shadow: 0 0 0 4px rgba(183, 243, 74, 0.08);
}

input::placeholder {
  color: #656c67;
}

.form-status {
  min-height: 20px;
  margin: 12px 2px 4px;
  color: #f0a08f;
  font-size: 11px;
}

form button {
  min-height: 52px;
  border: 0;
  border-radius: 14px;
  background: var(--lime);
  color: #10120f;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  cursor: pointer;
  font-weight: 760;
}

form button:disabled {
  cursor: wait;
  opacity: 0.58;
}

form button span {
  font-size: 20px;
}

.security-note {
  margin: 20px 0 0;
  color: #69706b;
  font-size: 9px;
  line-height: 1.6;
  text-align: center;
}

@media (max-width: 840px) {
  .login-shell {
    grid-template-columns: 1fr;
  }

  .login-story {
    order: 2;
    min-height: auto;
    padding: 24px 22px 30px;
    border-right: 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .story-copy {
    margin: 58px 0 36px;
  }

  .story-copy h1 {
    font-size: clamp(43px, 12vw, 62px);
  }

  .story-copy > p:last-child {
    margin-top: 20px;
    font-size: 14px;
  }

  .signal-row span {
    font-size: 8px;
  }

  .login-panel {
    order: 1;
    padding: 16px 14px 24px;
    place-items: start center;
  }

  .login-card {
    padding: 28px 22px;
    border-radius: 22px;
  }

  .coach-mark {
    width: 46px;
    height: 46px;
    margin-bottom: 25px;
  }
}

@media (max-width: 390px) {
  .signal-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .signal-row span {
    padding: 10px 0;
  }
}
