:root {
  font-family: Arial, sans-serif;
  color: #282138;
  background: #f6f4fb;
  --purple: #7044d9;
  --muted: #655c73;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
header,
main,
footer {
  max-width: 1100px;
  margin: auto;
  padding: 24px;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #e4ddef;
}
.brand {
  font-size: 34px;
  letter-spacing: -2px;
  color: #7044d9;
  font-weight: 800;
  text-decoration: none;
}
.brand span {
  font-size: 15px;
  letter-spacing: 0;
  margin-left: 12px;
  color: var(--muted);
}
section {
  background: white;
  border: 1px solid #e4ddef;
  border-radius: 20px;
  padding: 32px;
  margin: 20px 0;
}
#welcome {
  padding: 64px 40px;
  border-left: 6px solid var(--purple);
}
h1 {
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.08;
  letter-spacing: -2px;
  margin: 20px 0;
}
h2 {
  font-size: 24px;
  margin-top: 0;
}
p {
  line-height: 1.6;
  max-width: 70ch;
}
.eyebrow {
  font-size: 13px;
  font-weight: bold;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--purple);
}
button,
.button {
  display: inline-block;
  border: 0;
  border-radius: 10px;
  padding: 13px 20px;
  background: var(--purple);
  color: white;
  font: inherit;
  text-decoration: none;
  cursor: pointer;
}
button:disabled {
  opacity: 0.6;
  cursor: wait;
}
input,
select {
  display: block;
  max-width: 100%;
  width: 440px;
  border: 1px solid #a79ab9;
  border-radius: 8px;
  padding: 12px;
  font: inherit;
  margin: 8px 0 16px;
}
label {
  display: block;
  font-weight: 600;
}
.check {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 14px;
}
.check input {
  width: auto;
  margin: 0;
}
details {
  margin: 16px 0;
}
summary {
  cursor: pointer;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 3px solid #b39be9;
  outline-offset: 3px;
}
dl {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
dl div {
  border-left: 2px solid #b39be9;
  padding-left: 14px;
}
dt {
  font-size: 13px;
  color: var(--muted);
}
dd {
  margin: 6px 0;
  font-size: 20px;
  font-variant-numeric: tabular-nums;
}
.muted,
footer {
  color: var(--muted);
  font-size: 14px;
}
.record {
  border-top: 1px solid #e4ddef;
  padding: 18px 0;
  overflow-wrap: anywhere;
}
.record p {
  margin: 8px 0;
}
.record a {
  color: #6031c8;
}
#notice:not(:empty) {
  padding: 16px;
  border: 1px solid #b39be9;
  border-radius: 10px;
  background: #eee8fa;
  overflow-wrap: anywhere;
}
#available {
  font-variant-numeric: tabular-nums;
}
img.qr {
  display: block;
  width: 180px;
  max-width: 100%;
}
[hidden] {
  display: none !important;
}
@media (max-width: 600px) {
  header,
  main,
  footer {
    padding: 16px;
  }
  section,
  #welcome {
    padding: 24px 20px;
    border-radius: 14px;
  }
  h1 {
    letter-spacing: -1px;
  }
  button,
  .button {
    min-height: 44px;
  }
  input {
    width: 100%;
  }
  dl {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  padding: 12px;
  background: white;
  z-index: 2;
}
.skip-link:focus {
  top: 12px;
}
