:root {
  font-family: system-ui, sans-serif;
  color: #141d36;
  background: #f3f5fc;
  line-height: 1.55;
}
* { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
header, main, footer { width: min(1080px, calc(100% - 40px)); margin-inline: auto; }
header { padding-block: 25px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; font-weight: 800; font-size: 21px; }
.brand img { border-radius: 8px; }
main { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; padding-block: 38px 30px; align-items: start; }
.intro { padding-top: 22px; }
.eyebrow { color: #1745d2; font-size: .88rem; font-weight: 750; margin: 0 0 8px; }
h1, h2 { line-height: 1.15; margin: 0; }
h1 { font-size: 3.6rem; letter-spacing: -.045em; }
h2 { font-size: 1.35rem; }
.intro h2 { margin-top: 30px; }
.facts { display: flex; flex-wrap: wrap; list-style: none; padding: 0; gap: 8px; margin: 20px 0; }
.facts li { background: #e1e8ff; color: #172b6d; border-radius: 8px; padding: 5px 10px; font-size: .9rem; font-weight: 650; }
.duties { padding-left: 1.2rem; }
.duties li + li { margin-top: 8px; }
.card { min-width: 0; padding: 26px; background: white; border: 1px solid #dfe4f2; border-radius: 18px; }
.card p { margin-block: 10px 18px; }
.names { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
label { display: block; font-weight: 650; margin-bottom: 13px; }
label small { font-weight: 450; color: #4b566e; }
input:not([type=checkbox]), textarea { display: block; width: 100%; margin-top: 5px; padding: 10px; min-height: 45px; border: 1px solid #8d99b1; border-radius: 8px; font: inherit; font-weight: 450; color: inherit; background: white; }
textarea { resize: vertical; }
.checkbox { display: flex; gap: 10px; align-items: center; min-height: 44px; }
.checkbox input { inline-size: 18px; block-size: 18px; flex: none; }
.privacy, footer { font-size: .85rem; color: #4b566e; }
a { color: #1745d2; }
button { background: #1745d2; color: white; border: 0; border-radius: 8px; min-height: 46px; padding: 10px 16px; font: inherit; font-weight: 750; cursor: pointer; width: 100%; }
button:hover { background: #1337a5; }
button:disabled { opacity: .65; cursor: wait; }
:focus-visible { outline: 3px solid #1745d2; outline-offset: 3px; }
#application-error { color: #a02722; }
#reference { overflow-wrap: anywhere; }
footer { display: flex; gap: 20px; padding-block: 15px 30px; }
@media (max-width: 740px) {
  main { grid-template-columns: 1fr; gap: 24px; padding-top: 4px; }
  .intro { padding-top: 0; }
  h1 { font-size: 2.45rem; }
  .card { padding: 18px; }
}
@media (max-width: 360px) { .names { grid-template-columns: 1fr; gap: 0; } }
