:root {
  --deep: #092f2a;
  --deep-soft: #17493f;
  --mint: #b9ded1;
  --gold: #d69a3a;
  --ink: #17332e;
  --muted: #687d77;
  --line: #dfe8e4;
  --danger: #a33e38;
  --success: #257053;
}

* { box-sizing: border-box; }
body { color: var(--ink); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; margin: 0; }
a { color: #276d59; font-weight: 700; text-decoration: none; }
a:hover { text-decoration: underline; }
.auth-shell { display: grid; grid-template-columns: minmax(340px, .9fr) minmax(460px, 1.1fr); min-height: 100vh; }
.auth-story { background: radial-gradient(circle at 75% 18%, rgba(116,184,157,.23), transparent 30%), linear-gradient(150deg, #0c3932, #062a26); color: white; display: flex; flex-direction: column; overflow: hidden; padding: clamp(34px, 5vw, 72px); position: relative; }
.auth-story::after { border: 1px solid rgba(185,222,209,.16); border-radius: 50%; content: ""; height: 420px; position: absolute; right: -230px; top: 30%; width: 420px; }
.auth-brand { align-items: center; color: white; display: flex; gap: 13px; position: relative; z-index: 1; }
.auth-brand:hover { text-decoration: none; }
.auth-brand > span { align-items: center; background: var(--mint); border-radius: 12px; color: var(--deep); display: flex; font-family: Georgia, serif; font-size: 25px; font-weight: 700; height: 45px; justify-content: center; width: 45px; }
.auth-brand strong, .auth-brand small { display: block; }
.auth-brand strong { font-size: 16px; letter-spacing: .03em; }
.auth-brand small { color: #8eb2a8; font-size: 9px; letter-spacing: .14em; margin-top: 3px; text-transform: uppercase; }
.story-copy { margin: auto 0; max-width: 530px; position: relative; z-index: 1; }
.story-kicker, .card-kicker { color: var(--gold); font-size: 10px; font-weight: 850; letter-spacing: .17em; margin: 0 0 16px; }
.story-copy h1 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(38px, 4.2vw, 62px); font-weight: 400; letter-spacing: -.025em; line-height: 1.05; margin: 0 0 25px; }
.story-copy > p:last-child { color: #a8c2ba; font-size: 15px; line-height: 1.65; max-width: 470px; }
.story-foot { color: #789b91; font-size: 11px; margin: 0; }
.auth-panel { align-items: center; background: #f7faf8; display: flex; justify-content: center; padding: 42px 24px; }
.auth-card { width: min(410px, 100%); }
.auth-card h2 { font-family: Georgia, "Times New Roman", serif; font-size: 36px; font-weight: 500; letter-spacing: -.02em; margin: 0 0 12px; }
.card-kicker { color: #397762; margin-bottom: 12px; }
.card-lead { color: var(--muted); font-size: 14px; line-height: 1.55; margin: 0 0 28px; }
.auth-form { display: grid; gap: 17px; }
.auth-form label { color: #3f554f; display: grid; font-size: 11px; font-weight: 800; gap: 7px; letter-spacing: .04em; text-transform: uppercase; }
.auth-form label small { color: var(--muted); font-size: 10px; font-weight: 500; letter-spacing: 0; line-height: 1.4; text-transform: none; }
.auth-form input { background: white; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); font: inherit; font-size: 14px; outline: none; padding: 13px 14px; }
.auth-form input:focus { border-color: #75a895; box-shadow: 0 0 0 4px rgba(37,112,83,.08); }
.auth-form button { background: var(--deep-soft); border: 0; border-radius: 10px; color: white; cursor: pointer; font: inherit; font-size: 13px; font-weight: 800; margin-top: 2px; padding: 14px; }
.auth-form button:hover { background: var(--deep); }
.auth-form button:disabled { cursor: wait; opacity: .68; }
.form-row { display: flex; font-size: 11px; justify-content: flex-end; margin-top: -5px; }
.form-message { border-radius: 8px; color: var(--danger); display: none; font-size: 12px; line-height: 1.45; margin: -3px 0; padding: 10px 12px; }
.form-message.visible { background: #fceceb; display: block; }
.form-message.success { background: #e6f3ed; color: var(--success); display: block; }
.development-link { background: #fff8e9; border: 1px solid #efd7a7; border-radius: 8px; display: block; font-size: 11px; margin-top: -7px; overflow-wrap: anywhere; padding: 10px 12px; }
.auth-switch { color: var(--muted); font-size: 12px; margin: 24px 0 0; text-align: center; }
.status-symbol { align-items: center; background: #e4f1eb; border-radius: 50%; color: var(--success); display: flex; font-size: 24px; height: 54px; justify-content: center; margin-bottom: 24px; width: 54px; }

@media (max-width: 800px) {
  .auth-shell { display: block; }
  .auth-story { min-height: 245px; padding: 30px 26px; }
  .story-copy { margin: 48px 0 16px; }
  .story-copy h1 { font-size: 34px; margin-bottom: 12px; }
  .story-copy > p:last-child, .story-foot { display: none; }
  .auth-panel { min-height: calc(100vh - 245px); padding: 42px 22px 64px; }
}
