:root {
  color-scheme: light;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #17211e;
  background: #eef3f1;
}

* { box-sizing: border-box; }

body { min-width: 320px; min-height: 100vh; margin: 0; }

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

.brand-panel {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  padding: 42px clamp(36px, 6vw, 88px);
  background:
    radial-gradient(circle at 15% 85%, rgba(48, 170, 135, .16), transparent 31%),
    linear-gradient(145deg, #10241e 0%, #163c31 58%, #0e2b23 100%);
  color: #fff;
}

.brand { display: flex; align-items: center; gap: 12px; }
.logo { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 10px; background: #fff; color: #13624f; font-size: 13px; font-weight: 800; letter-spacing: -.03em; }
.brand > span:last-child { display: flex; flex-direction: column; gap: 2px; }
.brand b { font-size: 14px; }
.brand small { color: #a8c5bc; font-size: 10px; }

.brand-copy { max-width: 540px; margin: clamp(80px, 12vh, 120px) 0 0; }
.eyebrow { margin: 0 0 12px; color: #3bb48e; font-size: 10px; font-weight: 800; letter-spacing: .16em; }
.brand-copy h1 { max-width: 520px; margin: 0 0 18px; font-size: clamp(34px, 4.2vw, 58px); line-height: 1.03; letter-spacing: -.045em; }
.brand-copy > p:last-child { max-width: 470px; margin: 0; color: #b8cec7; font-size: 14px; line-height: 1.65; }

.login-panel { display: flex; min-height: 100vh; flex-direction: column; align-items: center; justify-content: center; padding: 42px 24px 24px; background: #f5f8f7; }
.login-card { width: min(100%, 430px); padding: 44px; border: 1px solid #dbe3e0; border-radius: 18px; background: #fff; box-shadow: 0 22px 65px rgba(22, 48, 40, .1); }
.lock { position: relative; display: grid; width: 48px; height: 48px; margin: 0 0 28px; place-items: center; border-radius: 13px; background: #e9f5f1; }
.lock::before { content: ""; width: 16px; height: 13px; margin-top: 8px; border-radius: 3px; background: #14725a; }
.lock::after { content: ""; position: absolute; top: 10px; width: 12px; height: 12px; border: 3px solid #14725a; border-bottom: 0; border-radius: 9px 9px 0 0; }
.login-card h2 { margin: 0 0 12px; font-size: 28px; line-height: 1.1; letter-spacing: -.035em; }
.description { margin: 0 0 25px; color: #64716d; font-size: 12px; line-height: 1.65; }
.message { margin: 0 0 16px; padding: 11px 12px; border: 1px solid #efcf9f; border-radius: 9px; background: #fff8ec; color: #80531a; font-size: 10px; line-height: 1.5; }
.login-button { display: flex; width: 100%; min-height: 48px; align-items: center; justify-content: space-between; padding: 0 17px; border-radius: 9px; background: #14725a; color: #fff; font-size: 12px; font-weight: 750; text-decoration: none; transition: transform .15s ease, background .15s ease, box-shadow .15s ease; }
.login-button:hover { transform: translateY(-1px); background: #0f624d; box-shadow: 0 9px 22px rgba(20,114,90,.22); }
.login-button:focus-visible { outline: 3px solid rgba(20,114,90,.23); outline-offset: 3px; }
.login-button.disabled { cursor: not-allowed; background: #9aaba5; box-shadow: none; transform: none; }
.privacy { display: flex; margin: 18px 0 0; align-items: center; justify-content: center; gap: 7px; color: #7d8985; font-size: 9px; text-align: center; }
.privacy span { color: #14725a; }
footer { margin-top: auto; padding-top: 42px; color: #84908c; font-size: 9px; }

@media (max-width: 900px) {
  .auth-shell { grid-template-columns: 1fr; }
  .brand-panel { min-height: auto; padding: 30px 26px 34px; }
  .brand-copy { margin: 72px 0 30px; }
  .brand-copy h1 { font-size: 38px; }
  .login-panel { min-height: auto; padding: 40px 20px 24px; }
}

@media (max-width: 480px) {
  .brand-copy { margin-top: 52px; }
  .brand-copy h1 { font-size: 32px; }
  .login-card { padding: 30px 24px; }
}
