:root {
  color-scheme: light;
  font-family: 'Instrument Sans', system-ui, sans-serif;
  color: #12223a;
  background: #f5f7fa;
  line-height: 1.6;
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: #163e72; text-underline-offset: 0.16em; }
.brand-bar { background: #101f35; color: #fff; }
.brand-bar > div {
  max-width: 1024px;
  margin: 0 auto;
  padding: 16px clamp(20px, 5vw, 56px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  flex-wrap: wrap;
}
.brand-bar strong { font-size: 1.25rem; letter-spacing: -0.025em; }
.brand-bar a { color: #dbf4ad; }
main { max-width: 800px; margin: 0 auto; padding: 42px 20px 55px; }
h1 { font-size: clamp(2rem, 5vw, 3rem); line-height: 1.13; letter-spacing: -0.045em; margin: 0 0 14px; }
h2 { font-size: 1.32rem; margin: 28px 0 8px; }
p { margin: 0 0 14px; }
.intro { font-size: 1.07rem; margin-bottom: 24px; }
.panel {
  padding: clamp(18px, 4vw, 30px);
  border: 1px solid #dce3ed;
  border-radius: 16px;
  background: #fff;
}
label { display: block; font-weight: 650; margin-top: 14px; }
input:not([type='checkbox']) {
  display: block;
  width: 100%;
  min-height: 46px;
  margin-top: 5px;
  padding: 10px 12px;
  border: 1px solid #8796a9;
  border-radius: 8px;
  font: inherit;
  color: inherit;
}
.confirmation { display: flex; align-items: start; gap: 9px; margin: 19px 0; }
.confirmation input { width: 17px; height: 17px; margin-top: 5px; flex: none; }
.actions { display: flex; gap: 10px 18px; align-items: center; flex-wrap: wrap; }
button {
  font: inherit;
  border-radius: 8px;
  min-height: 44px;
  font-weight: 650;
  cursor: pointer;
}
.danger { border: 0; background: #a22330; color: #fff; padding: 10px 16px; }
.plain { padding: 7px 0; border: 0; background: none; color: #163e72; text-decoration: underline; }
button:disabled { opacity: 0.58; cursor: default; }
:focus-visible { outline: 3px solid #376bb4; outline-offset: 3px; }
.small { font-size: 0.94rem; color: #43536a; }
details { margin-top: 17px; }
summary { cursor: pointer; }
details p { margin: 9px 0 0; }
#status:empty { display: none; }
#status { margin-top: 14px; font-weight: 600; overflow-wrap: anywhere; }
#status[data-error='true'] { color: #a22330; }
