@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --orange: #ffa320;
  --orange-dark: #e8920a;
  --ink: #121212;
  --muted: #716f69;
  --line: #dedbd3;
  --paper: #ffffff;
  --canvas: #f3f1ec;
  --danger: #aa2e2e;
  --success: #176b40;
  --font: 'Plus Jakarta Sans', sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}

button, input { font: inherit; }

.auth-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(360px, 42%) 1fr;
}

.brand-panel {
  position: relative;
  overflow: hidden;
  padding: 44px 54px;
  background: #171717;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.brand-panel::before,
.brand-panel::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: var(--orange);
  opacity: .95;
}

.brand-panel::before {
  width: 390px;
  height: 390px;
  right: -210px;
  top: 14%;
}

.brand-panel::after {
  width: 170px;
  height: 170px;
  left: -95px;
  bottom: 12%;
  opacity: .18;
}

.brand-mark {
  position: relative;
  z-index: 1;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.5px;
}

.brand-copy {
  position: relative;
  z-index: 1;
  max-width: 470px;
}

.eyebrow {
  display: block;
  margin-bottom: 14px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.brand-copy h1 {
  margin: 0 0 18px;
  font-size: clamp(48px, 6vw, 82px);
  line-height: .95;
  letter-spacing: -5px;
}

.brand-copy p {
  max-width: 380px;
  margin: 0;
  color: rgba(255,255,255,.62);
  font-size: 16px;
  line-height: 1.7;
}

.domain-note {
  position: relative;
  z-index: 1;
  margin: 0;
  color: rgba(255,255,255,.58);
  font-size: 12px;
  line-height: 1.6;
}

.domain-note strong { color: #fff; }

.form-panel {
  display: grid;
  place-items: center;
  padding: 48px 28px;
}

.auth-card { width: min(100%, 420px); }
.view { display: none; }
.view.active { display: block; }

.form-heading { margin-bottom: 30px; }
.form-heading h2 {
  margin: 0 0 9px;
  font-size: 32px;
  letter-spacing: -1.2px;
}
.form-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.mobile-brand {
  display: none;
  margin-bottom: 34px;
  font-size: 13px;
  font-weight: 800;
}

form { display: flex; flex-direction: column; }

label {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
}

input {
  width: 100%;
  height: 48px;
  margin-bottom: 18px;
  padding: 0 14px;
  border: 1.5px solid var(--line);
  border-radius: 9px;
  outline: none;
  background: var(--paper);
  color: var(--ink);
  font-size: 14px;
  transition: border-color .15s, box-shadow .15s;
}

input:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255,163,32,.14);
}

.field-help {
  margin: -10px 0 17px;
  color: var(--muted);
  font-size: 11px;
}

.primary-btn {
  height: 48px;
  margin-top: 6px;
  border: 0;
  border-radius: 9px;
  background: var(--orange);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: background .15s, transform .15s;
}

.primary-btn:hover { background: var(--orange-dark); }
.primary-btn:active { transform: translateY(1px); }
.primary-btn:disabled { cursor: wait; opacity: .65; }


.form-link-row {
  display: flex;
  justify-content: flex-end;
  margin: -6px 0 18px;
}

.text-link {
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.text-link:hover { color: var(--orange-dark); }

.switch-copy {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.notice {
  margin-bottom: 24px;
  padding: 12px 14px;
  border: 1px solid rgba(23,107,64,.2);
  border-radius: 8px;
  background: rgba(23,107,64,.07);
  color: var(--success);
  font-size: 12px;
  line-height: 1.55;
}

.notice.error {
  border-color: rgba(170,46,46,.2);
  background: rgba(170,46,46,.07);
  color: var(--danger);
}

@media (max-width: 780px) {
  .auth-shell { display: block; }
  .brand-panel { display: none; }
  .form-panel { min-height: 100vh; padding: 36px 22px; }
  .mobile-brand { display: block; }
}
