:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  color: #f8eff1;
  background: #0a090b;
  --muted: #b9a9ad;
  --border: #3a2c31;
  --accent: #ff687a;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden], body[data-auth-view="signup"] [data-for="login"], body[data-auth-view="login"] [data-for="signup"] { display: none !important; }
body { margin: 0; min-height: 100dvh; }
a { color: #ffa0ac; text-underline-offset: .2em; }
a:hover { color: #ffd1d6; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.site-header {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto minmax(0,1fr);
  align-items: center;
  gap: 8px;
  width: min(1400px, 100%);
  min-height: 75px;
  margin: auto;
  padding: 14px clamp(16px, 4vw, 54px);
}
.wordmark { grid-column: 2; display: grid; justify-items: center; gap: 0; color: #fff4f5; text-decoration: none; font-size: clamp(23px, 3.2vw, 32px); font-weight: 850; letter-spacing: -.055em; white-space: nowrap; }
.wordmark strong { color: #ff465b; font-weight: inherit; }
.wordmark .brand-name > span { margin-inline-start: .45em; color: #dfcbd0; font-size: .53em; letter-spacing: .07em; }
.auth-eagle { display: block; width: clamp(98px,12vw,158px); height: auto; }
.header-switch { grid-column: 3; justify-self: end; color: #ffc2cb; font-weight: 650; text-decoration: none; }
.header-switch span { margin-right: .35em; color: var(--muted); font-weight: 400; }
.auth-layout {
  display: grid;
  grid-template-columns: minmax(0,1.1fr) minmax(0,1fr);
  gap: clamp(22px,4vw,63px);
  align-items: center;
  max-width: 1400px;
  margin: auto;
  padding: 4px clamp(16px,4vw,54px) 26px;
}
.auth-visual {
  position: relative;
  display: flex;
  align-items: end;
  min-height: min(710px, calc(100dvh - 160px));
  padding: clamp(24px, 4vw, 56px);
  overflow: hidden;
  isolation: isolate;
  border: 1px solid #4e2a34;
  border-radius: 26px;
  background:
    linear-gradient(0deg,#120a10 2%,#150b109a 38%,#1e0f1600 80%),
    radial-gradient(ellipse at 45% 30%,#67142a88 0%,#16090e66 64%),
    #170e15 url('/assets/chart-world-globe.webp') center 27% / min(96%,580px) auto no-repeat;
}
.auth-visual::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: repeating-linear-gradient(90deg,transparent 0 49px,#fda5b510 50px 51px), repeating-linear-gradient(transparent 0 49px,#fda5b510 50px 51px);
  mask-image: linear-gradient(black 15%,transparent 88%);
  content: "";
}
.visual-copy h2 { margin: 0; font-size: clamp(30px, 4.2vw, 66px); line-height: 1.06; letter-spacing: -.055em; }
.visual-copy em { color: #ff8597; font-style: normal; }
.visual-copy p { max-width: 34ch; margin: 14px 0 0; color: #ead7dd; line-height: 1.55; }
.auth-column { width: min(100%,510px); justify-self: center; min-width: 0; }
.auth-card { padding: clamp(17px,3vw,32px); border: 1px solid #4b323b; border-radius: 24px; background: linear-gradient(160deg,#23151b,#151115 45%); box-shadow: 0 18px 46px #0005; }
.auth-card h1 { margin: 0; font-size: clamp(26px,3.1vw,35px); line-height: 1.1; letter-spacing: -.035em; }
.intro { margin: 8px 0 22px; color: var(--muted); line-height: 1.45; }
form { display: grid; gap: 13px; }
form label { display: grid; gap: 6px; min-width: 0; font-size: .875rem; font-weight: 630; }
.field-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 11px; }
.field-grid:has([hidden]) { grid-template-columns: minmax(0,1fr); }
input:not([type="checkbox"]), select {
  width: 100%; min-width: 0; min-height: 44px; padding: 8px 11px;
  border: 1px solid var(--border); border-radius: 10px; background: #100e11; color: inherit; font: inherit; font-size: 1rem;
}
input::placeholder { color: #98878d; font-weight: 400; }
input:focus, select:focus { border-color: var(--accent); }
.password-field { display: flex; position: relative; }
.password-field input { padding-inline-end: 74px; }
.password-field button { position: absolute; right: 5px; top: 4px; bottom: 4px; padding-inline: 8px; border: 0; border-radius: 7px; background: transparent; color: #ffa9b3; }
.password-field button:hover { background: #41232c; }
label small { color: var(--muted); font-weight: 400; }
form .consent { display: flex; align-items: center; gap: 8px; font-weight: 400; }
.consent input { width: 17px; height: 17px; accent-color: #dd2449; flex: none; }
button { cursor: pointer; font: inherit; }
.primary { min-height: 47px; border: 1px solid #f15069; border-radius: 11px; background: linear-gradient(#db2848,#a2102e); color: #fff; font-weight: 760; box-shadow: 0 6px 20px #b211383c; }
.primary:hover { background: linear-gradient(#e42f50,#ba1538); }
.primary:disabled { opacity: .65; cursor: wait; }
.form-message { margin: 0; padding: 9px 11px; border: 1px solid #8e4052; border-radius: 9px; background: #371722; color: #ffd4dc; font-size: .875rem; }
.switch-link { text-align: center; }
.switch-link,.account-note { margin: 15px 0 0; color: var(--muted); font-size: .875rem; line-height: 1.5; }
.account-note { text-align: center; }
@media (max-width: 760px) {
  .site-header { min-height: 64px; padding-block: 6px 4px; }
  .auth-eagle { width: 99px; }
  .header-switch { text-align: right; font-size: .875rem; }
  .header-switch span,.auth-visual { display: none; }
  .auth-layout { grid-template-columns: minmax(0,1fr); padding-top: 8px; }
  .auth-card { border-radius: 19px; }
}
