:root {
  color-scheme: light;
  font-family: system-ui, -apple-system, sans-serif;
  color: #162542;
  background: #f1f5fc;
  --accent: #214bd8;
}
* { box-sizing: border-box; }
body { margin: 0; }
.topbar {
  min-height: 72px;
  padding: 14px max(20px, calc((100% - 1020px) / 2));
  background: white;
  border-bottom: 1px solid #dee6f4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.brand { font-size: 20px; font-weight: 800; white-space: nowrap; }
.brand > span:last-child { color: var(--accent); }
.mark {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--accent);
  color: white;
  margin-right: 4px;
}
.tag {
  padding: 7px 12px;
  border-radius: 99px;
  background: #eef4ff;
  color: #264b9d;
  font-size: 12px;
  font-weight: 700;
}
.tag span {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: #248361;
  border-radius: 50%;
  margin-right: 4px;
}
main { width: min(1020px, calc(100% - 36px)); margin: 26px auto 0; }
.hero {
  overflow: hidden;
  position: relative;
  padding: 32px 38px;
  border-radius: 22px;
  background: radial-gradient(ellipse at 92% 5%, #274cd0, #112557 67%, #101e43);
  color: white;
}
.eyebrow { font-size: 11px; font-weight: 800; letter-spacing: .14em; margin: 0 0 10px; color: var(--accent); }
.hero .eyebrow { color: #a9c4ff; }
h1 { font-size: clamp(38px, 5.8vw, 65px); line-height: 1.01; letter-spacing: -.055em; margin: 0; }
.hero > p:last-of-type { color: #dce7ff; max-width: 410px; margin: 16px 0 0; line-height: 1.5; }
.hero-art {
  position: absolute;
  right: 55px;
  top: 45px;
  display: grid;
  gap: 9px;
  transform: rotate(-8deg);
  font-size: 22px;
  font-weight: 800;
}
.hero-art span {
  text-align: center;
  padding: 8px 38px;
  border: 1px solid #a4beff50;
  border-radius: 12px;
  background: #adc6ff19;
  color: #d5e2ff;
}
.hero-art span:nth-child(2) { background: #d7e5ff; color: #173474; transform: translateX(-14px); }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
.card {
  min-width: 0;
  padding: 25px;
  border-radius: 18px;
  border: 1px solid #dee6f4;
  background: white;
  box-shadow: 0 8px 24px #15295508;
}
h2 { margin: 0 0 16px; font-size: 23px; letter-spacing: -.035em; }
form > label, legend { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 750; }
select {
  width: 100%;
  padding: 11px;
  border-radius: 9px;
  border: 1px solid #c8d5ec;
  background: #f8faff;
  color: inherit;
  font: inherit;
}
fieldset { padding: 0; border: 0; margin: 15px 0; min-width: 0; }
.slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.slots label { position: relative; text-align: center; cursor: pointer; }
.slots input { position: absolute; opacity: 0; }
.slots span {
  display: block;
  border: 1px solid #c8d5ec;
  border-radius: 9px;
  padding: 8px 4px;
  font-size: 14px;
  font-weight: 750;
}
.slots input:checked + span { background: #e9efff; border-color: var(--accent); color: var(--accent); }
:focus-visible, .slots input:focus-visible + span { outline: 3px solid #5279fb; outline-offset: 3px; }
button {
  width: 100%;
  padding: 12px;
  border: 0;
  border-radius: 9px;
  background: var(--accent);
  color: white;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}
button:hover { background: #193db7; }
button span { margin-left: 6px; }
.result {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  background: #f1f5ff;
  padding: 15px;
  border-radius: 12px;
}
.result p { margin: 4px 0 0; font-size: 14px; line-height: 1.5; }
.result.confirmed { background: #e4f6ee; color: #14543f; }
.status-icon { font-size: 20px; line-height: 1; }
.secondary { margin-top: 12px; background: #e9efff; color: var(--accent); }
.secondary:hover { background: #dce6ff; }
footer { text-align: center; padding: 20px 0; color: #4f6281; font-size: 12px; }
footer span { margin: 0 4px; }
@media (max-width: 650px) {
  .grid { grid-template-columns: 1fr; }
  .hero { padding: 24px; }
  .hero-art, .wide { display: none; }
  .card { padding: 20px; }
}
@media (max-width: 360px) {
  .topbar { flex-wrap: wrap; }
}
