﻿:root {
  --ink: #17263a;
  --muted: #687587;
  --line: #e2e8e5;
  --green: #0f725c;
  --green-dark: #095344;
  --soft: #edf5ef;
}

* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: #f5f7f3; font-family: "DM Sans", sans-serif; line-height: 1.55; }
button, input { font: inherit; }
button, input { min-height: 44px; }
:focus-visible { outline: 3px solid rgba(15, 114, 92, .3); outline-offset: 2px; }
.auth-shell { min-height: 100vh; display: grid; grid-template-columns: 0.9fr 1.1fr; }
.auth-story {
  padding: 42px max(38px, calc((100vw - 1180px) / 2));
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  color: white;
  background: #0d6653;
}
.auth-story::before {
  content: "";
  width: 480px;
  height: 480px;
  position: absolute;
  right: -210px;
  bottom: -120px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(255,255,255,.035), 0 0 0 140px rgba(255,255,255,.025);
}
.brand { display: flex; align-items: center; gap: 10px; color: white; font: 800 20px "Manrope", sans-serif; text-decoration: none; }
.brand > span:last-child span { color: #cfe989; }
.brand small { color: rgba(255,255,255,.55); font-size: 14px; }
.brand-mark { width: 36px; height: 36px; position: relative; display: block; border-radius: 50%; background: white; }
.brand-mark i { width: 8px; height: 8px; position: absolute; border: 2px solid var(--green); border-radius: 50%; }
.brand-mark i:nth-child(1) { top: 8px; left: 8px; }
.brand-mark i:nth-child(2) { top: 8px; right: 8px; }
.brand-mark i:nth-child(3) { bottom: 8px; left: 14px; }
.story-copy { max-width: 500px; margin: auto 0; position: relative; z-index: 2; }
.eyebrow { color: #cae4d7; font-size: 13px; font-weight: 800; letter-spacing: 1.5px; }
.story-copy h1 { margin: 17px 0; font: 800 clamp(34px,4vw,50px)/1.15 "Manrope", sans-serif; letter-spacing: -2px; }
.story-copy > p { margin: 0; color: rgba(255,255,255,.7); font-size: 14px; line-height: 1.7; }
.story-proof { margin-top: 38px; display: flex; align-items: center; gap: 14px; }
.faces { display: flex; }
.faces span { width: 35px; height: 35px; margin-left: -7px; display: grid; place-items: center; border: 2px solid #0d6653; border-radius: 50%; background: #789087; font-size: 15px; font-weight: 700; }
.faces span:first-child { margin-left: 0; background: #a47c6e; }
.faces span:nth-child(2) { background: #647e8a; }
.faces span:nth-child(3) { background: #798771; }
.faces span:last-child { color: var(--green); background: #dcecb0; }
.story-proof p { margin: 0; color: rgba(255,255,255,.65); font-size: 13px; line-height: 1.5; }
.story-proof strong { color: white; }
.legal { margin: 0; position: relative; z-index: 2; color: rgba(255,255,255,.45); font-size: 15px; }
.auth-panel { padding: 45px; display: grid; place-items: center; }
.auth-card { width: min(500px, 100%); padding: 35px; border: 1px solid var(--line); border-radius: 18px; background: white; box-shadow: 0 25px 65px rgba(28,58,49,.09); }
.tabs { margin-bottom: 30px; padding: 4px; display: grid; grid-template-columns: 1fr 1fr; border-radius: 10px; background: #f0f3f0; }
.tabs button { padding: 9px; color: #7d8984; border: 0; border-radius: 7px; background: transparent; font-size: 14px; font-weight: 700; cursor: pointer; }
.tabs button.active { color: var(--green); background: white; box-shadow: 0 3px 10px rgba(30,60,50,.07); }
.auth-form { display: grid; gap: 15px; }
.auth-form.hidden { display: none; }
.form-heading { margin-bottom: 5px; }
.form-heading h2 { margin: 0 0 5px; font: 800 24px "Manrope", sans-serif; letter-spacing: -.7px; }
.form-heading p { margin: 0; color: var(--muted); font-size: 14px; }
.auth-form label { color: #4e5d57; font-size: 13px; font-weight: 700; }
.auth-form input { width: 100%; margin-top: 6px; padding: 12px 13px; color: var(--ink); border: 1px solid var(--line); border-radius: 9px; outline: 0; font-size: 14px; }
.auth-form input:focus { border-color: #77ab97; box-shadow: 0 0 0 3px rgba(15,114,92,.08); }
.two-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.consent { display: flex; align-items: flex-start; gap: 8px; color: var(--muted) !important; font-weight: 500 !important; line-height: 1.45; }
.consent input { width: auto; margin: 1px 0 0; }
.consent a { color: var(--green); }
.submit-button { width: 100%; padding: 12px; border-radius: 9px; font-size: 14px; font-weight: 700; cursor: pointer; }
.submit-button { margin-top: 4px; color: white; border: 0; background: var(--green); }
.submit-button:hover { background: var(--green-dark); }
.submit-button:disabled { opacity: .55; cursor: wait; }
.form-message { min-height: 16px; margin: 15px 0 0; color: #bd4e45; font-size: 13px; text-align: center; }
.form-message.success { color: var(--green); }

@media (max-width: 780px) {
  .auth-shell { grid-template-columns: 1fr; }
  .auth-story { min-height: 330px; padding: 30px 24px; }
  .story-copy { margin: 55px 0 30px; }
  .story-copy h1 { font-size: 34px; }
  .auth-panel { padding: 25px 16px; }
}
@media (max-width: 460px) {
  .auth-card { padding: 25px 18px; }
  .two-columns { grid-template-columns: 1fr; }
}
