:root {
  font-family: system-ui, sans-serif;
  color: #25233f;
  background: #f8f9ff;
}
[hidden] {
  display: none !important;
}
* {
  box-sizing: border-box;
}
main {
  max-width: 700px;
  margin: 3rem auto;
  background: white;
  padding: 2rem;
  border: 1px solid #e5e5f2;
  border-radius: 20px;
}
h1 {
  font-size: 2rem;
}
p {
  line-height: 1.65;
}
a {
  color: #5943ee;
}
label {
  display: block;
  margin-top: 1.25rem;
  font-weight: 600;
}
input,
select {
  display: block;
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #c9c7df;
  border-radius: 8px;
  margin-top: 0.5rem;
  font: inherit;
}
button,
#download {
  display: inline-block;
  background: #5943ee;
  color: white;
  border: 0;
  border-radius: 8px;
  padding: 0.8rem 1rem;
  font: inherit;
  cursor: pointer;
  margin: 0.5rem 0.5rem 0.5rem 0;
}
button:disabled {
  opacity: 0.5;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid #a195fc;
  outline-offset: 3px;
}
.consent {
  display: flex;
  gap: 0.8rem;
  line-height: 1.6;
}
.consent input {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
#language {
  float: right;
  background: #f0edff;
  color: #5943ee;
}
#availability {
  background: #f0edff;
  padding: 1rem;
  border-radius: 8px;
}
#download[hidden],
progress[hidden] {
  display: none;
}
progress {
  width: 100%;
}
@media (max-width: 600px) {
  main {
    margin: 0;
    padding: 1.25rem;
    border-radius: 0;
    border: 0;
  }
  h1 {
    font-size: 1.7rem;
  }
}
