:root {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #142039;
  background: #f6f8fc;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; }
button, input { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }
.site-shell { min-height: 100vh; display: flex; flex-direction: column; }
.site-header { width: min(1120px, calc(100% - 40px)); margin: 0 auto; min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: #142039; text-decoration: none; font-size: 19px; font-weight: 750; letter-spacing: -.025em; }
.brand-mark { width: 35px; height: 35px; border-radius: 11px; display: grid; place-items: center; background: #224fe5; color: white; font-size: 19px; font-weight: 800; }
.logout-button { border: 1px solid #cbd4e5; border-radius: 10px; color: #233251; background: white; padding: 9px 16px; font-weight: 650; }
.logout-button:hover { border-color: #315ce9; }
main { width: min(1120px, calc(100% - 40px)); margin: 0 auto; flex: 1; }
.eyebrow { color: #315ce9; font-size: 12px; text-transform: uppercase; font-weight: 800; letter-spacing: .12em; }
h1, h2, p { margin-top: 0; }
h1 { font-size: clamp(36px, 5vw, 56px); line-height: 1.08; letter-spacing: -.052em; }
h2 { font-size: 20px; letter-spacing: -.02em; }
.auth-layout { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(30px, 7vw, 100px); min-height: calc(100vh - 160px); padding: 30px 0 70px; }
.auth-intro p:last-child, .dashboard-intro p:last-child { max-width: 520px; color: #61708b; font-size: 18px; line-height: 1.6; }
.auth-card, .message-card { background: white; border: 1px solid #e2e8f3; border-radius: 20px; box-shadow: 0 18px 60px rgba(37, 58, 100, .07); padding: clamp(25px, 4vw, 42px); }
.auth-card h2 { margin-bottom: 28px; }
.auth-card form { display: flex; flex-direction: column; }
.auth-card label { margin: 0 0 7px; font-size: 14px; font-weight: 700; }
.auth-card input { width: 100%; border: 1px solid #bdc9dc; border-radius: 9px; background: #fff; color: #142039; padding: 12px 13px; margin-bottom: 20px; }
.auth-card input:focus-visible, button:focus-visible, a:focus-visible { outline: 3px solid #9ab1ff; outline-offset: 2px; }
.primary-button { width: 100%; border: 0; border-radius: 10px; background: #224fe5; color: #fff; padding: 13px 18px; font-weight: 750; }
.primary-button:hover { background: #1c41bf; }
.form-error { background: #fff0ef; color: #8d2222; border: 1px solid #ffd4d1; border-radius: 9px; padding: 12px; font-size: 14px; line-height: 1.4; }
.auth-help { margin: 22px 0 0; color: #64738f; font-size: 13px; line-height: 1.5; }
.dashboard-intro { padding: clamp(48px, 7vw, 90px) 0 36px; }
.dashboard-intro h1 { margin-bottom: 18px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; padding-bottom: 80px; }
.feature-card { background: white; border: 1px solid #e2e8f3; border-radius: 18px; padding: 28px; min-height: 256px; display: flex; flex-direction: column; align-items: flex-start; }
.feature-icon { display: inline-grid; place-items: center; background: #edf2ff; color: #315ce9; width: 38px; height: 38px; border-radius: 10px; font-size: 12px; font-weight: 800; margin-bottom: 34px; }
.feature-card h2 { margin-bottom: 9px; }
.feature-card p { color: #64738f; line-height: 1.5; }
.feature-status { margin-top: auto; color: #3f5c93; background: #f1f5fc; border-radius: 100px; padding: 5px 10px; font-size: 12px; font-weight: 700; }
.message-card { max-width: 600px; margin: 80px auto; }
.message-card p:not(.eyebrow) { color: #61708b; line-height: 1.6; }
.text-link { color: #224fe5; font-weight: 700; }
.site-footer { width: min(1120px, calc(100% - 40px)); margin: 0 auto; padding: 22px 0; color: #8995aa; font-size: 12px; border-top: 1px solid #e3e8f2; }
@media (max-width: 760px) {
  .site-header { min-height: 72px; }
  .auth-layout { grid-template-columns: 1fr; align-content: center; gap: 24px; padding-top: 28px; }
  .auth-intro h1 { max-width: 550px; }
  .feature-grid { grid-template-columns: 1fr; gap: 14px; }
  .feature-card { min-height: 220px; }
  .feature-icon { margin-bottom: 20px; }
}

