:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  color: #17212b;
  background: #f4f6f8;
}
* { box-sizing: border-box; }
body { margin: 0; }
header {
  padding: 22px max(24px, calc((100vw - 960px) / 2));
  background: #fff;
  border-bottom: 1px solid #dde3e8;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #17212b;
  font-weight: 750;
  text-decoration: none;
}
main {
  width: min(960px, calc(100% - 40px));
  margin: 70px auto;
}
.intro { max-width: 680px; }
.eyebrow {
  color: #2864dc;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .16em;
}
h1 {
  margin: 12px 0;
  font-size: clamp(38px, 7vw, 68px);
  line-height: 1.02;
  letter-spacing: -.04em;
}
.intro p:last-child {
  color: #5b6874;
  font-size: 18px;
  line-height: 1.6;
}
form {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 18px;
  margin-top: 52px;
  padding: 28px;
  background: #fff;
  border: 1px solid #dde3e8;
  border-radius: 18px;
  box-shadow: 0 18px 60px rgba(23,33,43,.07);
}
label {
  display: grid;
  gap: 8px;
  color: #52606c;
  font-size: 13px;
  font-weight: 650;
}
input, select, button {
  min-height: 48px;
  border: 1px solid #cbd4dc;
  border-radius: 9px;
  padding: 0 13px;
  background: #fff;
  color: #17212b;
  font: inherit;
  font-size: 16px;
}
button {
  cursor: pointer;
  border-color: #2864dc;
  background: #2864dc;
  color: #fff;
  font-weight: 700;
}
.result {
  grid-column: span 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  border-radius: 9px;
  padding: 0 16px;
  background: #edf3ff;
  color: #52606c;
}
output {
  color: #174eb8;
  font-size: 22px;
  font-weight: 750;
}
.notes {
  max-width: 680px;
  margin-top: 60px;
  line-height: 1.7;
}
footer {
  padding: 30px 20px;
  color: #71808c;
  text-align: center;
  font-size: 13px;
}
@media (max-width: 720px) {
  main { margin-top: 45px; }
  form { grid-template-columns: 1fr; padding: 20px; }
  .result { grid-column: auto; }
}
