@font-face {
  font-family: Telegraf;
  src: url("PPTelegraf-Regular.woff2") format("woff2");
  font-display: swap;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: white;
  color: #151515;
  font: 15px/1.4 Telegraf, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
main {
  display: grid;
  align-content: center;
  max-width: 505px;
  min-height: 100svh;
  margin: auto;
  padding: 18px 22px;
}
article { border: 1px solid #a3a3a3; }
header {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 19px;
  background: #181818;
  color: white;
  font-size: 17px;
  letter-spacing: -.03em;
}
header svg { width: 15px; height: 18px; fill: currentColor; }
.offer { padding: 16px 19px 14px; }
h1, h2, p, ul { margin: 0; }
h1, h2 { font-weight: 400; }
h1 {
  margin-bottom: 7px;
  font-size: clamp(34px, 7vw, 43px);
  letter-spacing: -.05em;
  line-height: 1.02;
  text-wrap: balance;
}
.intro { font-size: 17px; line-height: 1.3; text-wrap: pretty; }
.fleet { margin-top: 6px; font-size: 13px; color: #545454; }
.offer h2 { margin: 11px 0 3px; font-size: 14px; }
ul { padding-left: 16px; font-size: 13px; color: #414141; }
li + li { margin-top: 3px; }

form {
  display: grid;
  gap: 5px;
  padding: 13px 19px 14px;
  border-top: 1px dashed #999;
}
.form-heading, .choices, .duration { display: flex; align-items: baseline; }
.form-heading { flex-wrap: wrap; gap: 10px; margin-bottom: 4px; }
.form-heading h2 { font-size: 19px; letter-spacing: -.03em; }
.form-heading span, [role="status"] { font-size: 11px; color: #545454; }
fieldset, legend { min-width: 0; margin: 0; padding: 0; border: 0; }
legend, .field label { font-size: 14px; }
.choices { flex-wrap: wrap; gap: 0 12px; }
.choices label {
  display: inline-flex;
  align-items: center;
  min-height: 29px;
  font-size: 13px;
  color: #454545;
  cursor: pointer;
}
input, button { font: inherit; color: inherit; }
input[type="radio"] {
  appearance: none;
  width: 10px;
  height: 10px;
  margin: 0 4px 0 0;
  border: 1px solid #555;
  border-radius: 0;
  cursor: pointer;
}
input[type="radio"]:checked { background: #171717; box-shadow: inset 0 0 0 1px white; }
input:focus-visible, button:focus-visible { outline: 2px solid #242424; outline-offset: 3px; }
.task-type legend { float: left; margin-right: 15px; line-height: 29px; }
.field { display: grid; gap: 3px; margin-block: 2px; }
.field small { font-size: 12px; color: #595959; }
.field input {
  width: 100%;
  min-width: 0;
  padding: 5px 7px;
  border: 1px solid #aaa;
  border-radius: 3px;
  background: transparent;
  font-size: 16px;
  line-height: 1.25;
}
.duration { align-items: center; gap: 5px; font-size: 13px; color: #444; }
.duration input { width: 65px; }
button {
  justify-self: start;
  margin-top: 6px;
  padding: 3px 0;
  border: 0;
  background: transparent;
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}
button:disabled { opacity: .5; cursor: default; }
[role="status"]:empty { display: none; }
noscript p { font-size: 11px; color: #545454; }
/* Off-screen field that people never see or reach by keyboard. The server drops any request that fills it. */
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

@media (max-width: 420px) {
  main { padding: 8px 12px; }
  .offer, form { padding-inline: 12px; }
  .intro { font-size: 15px; }
}
@media (max-height: 680px) {
  form { gap: 3px; padding-block: 9px; }
  .offer { padding-block: 11px; }
}
