:root {
  color-scheme: light;
  --ink: #17243b;
  --muted: #647189;
  --line: #e2e8f1;
  --blue: #305de4;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  background: #f5f7fb;
  color: var(--ink);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; }
a { color: inherit; }
.header {
  width: min(1184px, calc(100% - 64px));
  margin: 0 auto; padding: 32px 0; display: flex;
  justify-content: space-between; align-items: center;
  border-bottom: 1px solid var(--line); gap: 20px;
}
.brand { display: inline-flex; gap: 13px; align-items: center; text-decoration: none; font-size: 1.05rem; font-weight: 650; }
.brand-domain { display: block; color: var(--muted); font-size: .875rem; font-weight: 400; margin-top: 4px; }
.brand-symbol { display: grid; grid-template-columns: repeat(2, 9px); gap: 4px; background: var(--blue); padding: 11px; border-radius: 12px; }
.brand-symbol span { width: 9px; height: 9px; background: white; border-radius: 2px; opacity: .94; }
.brand-symbol span:last-child { opacity: .5; }
.header-link { color: #53617a; font-size: .875rem; text-decoration: none; padding: 8px; border-radius: 6px; }
.header-link:hover { color: var(--blue); background: #eaf0ff; }
.layout {
  flex: 1; width: min(1120px, calc(100% - 64px)); margin: 0 auto;
  display: grid; grid-template-columns: 1.15fr 1fr; align-items: center;
  gap: 84px; padding: 76px 0 86px;
}
.eyebrow, .card-eyebrow { color: var(--blue); font-size: .875rem; letter-spacing: .10em; font-weight: 650; margin: 0 0 20px; }
h1 { font-size: clamp(2.2rem, 3.4vw, 3rem); line-height: 1.15; letter-spacing: -.045em; font-weight: 650; margin: 0 0 22px; }
.lead { color: var(--muted); font-size: 1.125rem; line-height: 1.65; max-width: 460px; margin: 0; }
.topics { margin-top: 36px; display: grid; gap: 25px; }
.topic { display: flex; align-items: flex-start; gap: 16px; }
.topic h2 { font-size: 1rem; font-weight: 600; margin: 1px 0 6px; }
.topic p { font-size: .925rem; line-height: 1.55; color: var(--muted); margin: 0; max-width: 350px; }
.topic-icon { flex: 0 0 38px; width: 38px; height: 38px; background: #e9effd; border: 1px solid #dfe7fb; border-radius: 11px; display: flex; align-items: center; justify-content: center; color: #4163b5; font-size: 1.4rem; }
.chart-icon { gap: 3px; align-items: flex-end; padding: 11px 9px; }
.chart-icon i { width: 4px; height: 8px; background: #4163b5; border-radius: 2px 2px 0 0; }
.chart-icon i:nth-child(2) { height: 15px; }
.chart-icon i:nth-child(3) { height: 11px; }
.login-card { background: white; border: 1px solid var(--line); border-radius: 20px; padding: 36px; box-shadow: 0 16px 48px #233a6910; }
.card-icon { width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 12px; display: grid; place-items: center; font-size: 1.6rem; color: var(--blue); margin-bottom: 25px; }
.card-eyebrow { color: #79859a; margin-bottom: 10px; font-size: .875rem; letter-spacing: .07em; }
.login-card h2 { font-size: 1.65rem; letter-spacing: -.025em; margin: 0 0 10px; font-weight: 650; }
.card-description { color: var(--muted); font-size: .975rem; line-height: 1.6; margin: 0 0 28px; }
form { display: flex; flex-direction: column; }
label { font-size: .925rem; font-weight: 550; margin-bottom: 9px; }
input { font: inherit; height: 48px; width: 100%; padding: 0 14px; border: 1px solid #ced7e5; border-radius: 9px; color: var(--ink); background: #fff; margin-bottom: 20px; outline: none; transition: border-color .15s, box-shadow .15s; }
input::placeholder { color: #8a96a9; }
input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px #305de41a; }
button { font: inherit; font-weight: 600; background: var(--blue); color: white; height: 48px; border: 0; border-radius: 9px; margin-top: 2px; cursor: pointer; transition: background .15s; }
button:hover { background: #244ec9; }
button:focus-visible, a:focus-visible { outline: 3px solid #7194ff; outline-offset: 3px; }
.card-note { display: flex; gap: 11px; padding-top: 24px; margin-top: 24px; border-top: 1px solid var(--line); color: var(--muted); }
.card-note > span { flex: 0 0 19px; height: 19px; border: 1px solid #aeb9ca; border-radius: 50%; display: grid; place-items: center; font-size: .875rem; margin-top: 1px; }
.card-note p, .feedback, .noscript-note { font-size: .875rem; line-height: 1.55; margin: 0; }
.feedback { color: #284a87; border: 1px solid #d8e3f8; background: #f1f5ff; border-radius: 9px; padding: 12px 14px; margin-top: 16px; }
.feedback[hidden] { display: none; }
.noscript-note { margin-top: 20px; color: var(--muted); }
.footer { width: min(1184px, calc(100% - 64px)); margin: 0 auto; padding: 22px 0 28px; border-top: 1px solid var(--line); color: #7a879a; display: flex; justify-content: space-between; gap: 16px; font-size: .875rem; line-height: 1.5; }
@media (max-width: 900px) { .layout { gap: 40px; padding: 55px 0; } .login-card { padding: 28px; } }
@media (max-width: 700px) {
  .header, .layout, .footer { width: calc(100% - 36px); }
  .header { padding: 22px 0; }
  .header-link { font-size: .875rem; padding: 0; }
  .layout { grid-template-columns: 1fr; gap: 34px; padding: 38px 0 42px; }
  h1 { font-size: 2.2rem; }
  .lead { font-size: 1rem; }
  .topics { gap: 20px; margin-top: 27px; }
  .topic p { max-width: none; }
  .login-card { padding: 27px 24px; }
  .footer { flex-direction: column; gap: 5px; padding-bottom: 22px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
