html, body { height: 100%; }
  body.auth-page {
    min-height: 100dvh;
    display: grid;
    grid-template-rows: 56px minmax(0, 1fr) 34px;
    overflow: hidden;
    background: #fff;
  }

  .topbar {
    padding: 0 32px; display: flex; align-items: center; justify-content: space-between;
    border-bottom: 1px solid var(--gray-200); background: #fff; position: relative; z-index: 5;
  }
  .logo { font-weight: 800; font-size: 18px; letter-spacing: 0.02em; }
  .support { font-size: 13px; color: var(--gray-500); }

  .auth-layout {
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
  }

  .brand-panel {
    position: relative; overflow: hidden;
    background: linear-gradient(160deg, var(--navy-900) 0%, #0d2b52 60%, var(--navy-800) 100%);
    color: #fff; padding: clamp(24px, 3.2vw, 48px);
    display: flex; align-items: center;
  }
  .brand-panel svg.deco { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.45; }
  .brand-panel .inner { position: relative; z-index: 1; width: 100%; max-width: 760px; margin: 0 auto; }
  .eyebrow { color: var(--gold-500); font-weight: 700; letter-spacing: 0.08em; font-size: 12px; }
  .brand-panel h1 { font-size: clamp(34px, 4vw, 48px); font-weight: 800; margin: 5px 0 10px; line-height: 1; }
  .brand-panel .accent { color: var(--gold-500); }
  .brand-panel p.lead { color: #C9D3E0; font-size: 14px; max-width: 620px; line-height: 1.48; margin-bottom: 20px; }

  .stats-bar {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px;
    background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px; padding: 14px; backdrop-filter: blur(4px);
  }
  .stat .num { color: var(--gold-500); font-weight: 800; font-size: 18px; }
  .stat .label { color: #C9D3E0; font-size: 10.5px; margin-top: 3px; line-height: 1.35; }

  .policy-box {
    margin-top: 14px; padding: 14px 16px; border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.05); border-radius: 12px;
  }
  .policy-box h3 { font-size: 13px; margin-bottom: 8px; }
  .policy-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 7px 18px; }
  .policy-list li { display: flex; gap: 7px; align-items: flex-start; color: #D8E0EA; font-size: 11px; line-height: 1.4; }
  .tick { color: var(--gold-500); font-weight: 800; flex: 0 0 auto; }

  .access-panel {
    min-height: 0; padding: clamp(22px, 3vw, 42px);
    display: flex; align-items: center; justify-content: center; background: var(--gray-50);
  }
  .access-stack { width: 100%; max-width: 500px; }
  .login-card { background: #fff; border: 1px solid var(--gray-200); border-radius: 16px; padding: 26px; box-shadow: 0 10px 30px rgba(11,31,61,0.07); }
  .login-form h2 { font-size: 23px; font-weight: 800; margin-bottom: 4px; }
  .login-form .subhead { color: var(--gray-500); font-size: 12.5px; line-height: 1.45; margin-bottom: 16px; }
  .underline { width: 38px; height: 3px; background: var(--gold-500); margin-bottom: 18px; border-radius: 5px; }

  .field { margin-bottom: 13px; }
  .field label { display: block; font-size: 12.5px; font-weight: 700; margin-bottom: 5px; }
  .field input {
    width: 100%; padding: 11px 13px; border: 1px solid var(--gray-200);
    border-radius: 8px; font-size: 14px; font-family: var(--font); background: #fff;
  }
  .field input:focus { outline: 2px solid var(--gold-500); outline-offset: 1px; border-color: transparent; }
  .btn-primary { width: 100%; margin-top: 4px; padding: 12px 18px; }

  .device-note, .device-warning {
    margin-top: 12px; border-radius: 9px; padding: 10px 12px; font-size: 11.5px; line-height: 1.45;
  }
  .device-note { background: #F3F6FA; color: #4B5563; border: 1px solid #E1E7EF; }
  .device-warning { margin: 0 0 14px; background: #FFF7E8; color: #7A4B00; border: 1px solid #F2D49A; font-weight: 600; }

  .benefits-card { margin-top: 12px; background: #fff; border: 1px solid var(--gray-200); border-radius: 14px; padding: 14px 16px; }
  .benefits-card h3 { font-size: 13px; margin-bottom: 10px; }
  .why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
  .why-item { text-align: center; border-radius: 8px; background: #F8FAFC; padding: 8px 5px; }
  .why-item .icon { font-size: 17px; margin-bottom: 3px; }
  .why-item .label { font-size: 10px; line-height: 1.25; font-weight: 600; color: var(--navy-900); }

  .site-footer { display: flex; align-items: center; justify-content: center; text-align: center; padding: 0 16px; color: var(--gray-500); font-size: 10.5px; border-top: 1px solid var(--gray-200); background: #fff; }

  @media (max-height: 720px) and (min-width: 901px) {
    body.auth-page { grid-template-rows: 48px minmax(0, 1fr) 28px; }
    .topbar { padding: 0 26px; }
    .brand-panel { padding: 20px 34px; }
    .brand-panel h1 { font-size: 34px; }
    .brand-panel p.lead { margin-bottom: 12px; font-size: 12.5px; }
    .stats-bar { padding: 10px; }
    .policy-box { margin-top: 10px; padding: 10px 12px; }
    .access-panel { padding: 16px 28px; }
    .login-card { padding: 20px 22px; }
    .login-form .subhead { margin-bottom: 10px; }
    .underline { margin-bottom: 12px; }
    .field { margin-bottom: 9px; }
    .benefits-card { margin-top: 8px; padding: 10px 12px; }
    .why-item { padding: 5px 4px; }
  }

  @media (max-width: 900px) {
    html, body { height: auto; }
    body.auth-page { min-height: 100dvh; display: block; overflow: auto; }
    .topbar { height: 54px; padding: 0 18px; }
    .support { font-size: 11px; }
    .auth-layout { grid-template-columns: 1fr; }
    .brand-panel { padding: 28px 20px; }
    .brand-panel h1 { font-size: 36px; }
    .stats-bar { grid-template-columns: repeat(2, 1fr); }
    .policy-list { grid-template-columns: 1fr; }
    .access-panel { padding: 24px 16px; }
    .site-footer { min-height: 42px; padding: 10px 16px; }
  }

  @media (max-width: 520px) {
    .brand-panel p.lead { font-size: 13px; }
    .stats-bar { gap: 8px; }
    .login-card { padding: 22px 18px; }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
  }