.setup-hero {
  color: var(--paper);
  background: var(--blue);
  border-bottom: .45rem solid var(--yellow);
}
.setup-hero > .wrap { padding-block: clamp(1.8rem,4.5vw,3.9rem); }
.setup-hero h1 {
  margin: 0; font: italic 800 clamp(3rem,6.2vw,5.4rem)/.94 var(--display);
  letter-spacing: -.035em;
}
.setup-hero em { color: var(--yellow); }
.setup-hero p { max-width: 52ch; margin: 1rem 0 0; line-height: 1.5; }
.setup-body { max-width: 60rem; padding-block: clamp(2rem,4.5vw,4rem); }
.setup-body h2 { margin: 0; color: var(--ink); font: 700 clamp(1.8rem,3.5vw,2.7rem)/1.04 var(--display); }
.choice-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.1rem; margin: 1.2rem 0 0; }
.device { color: var(--paper); background: var(--midnight); border: 2px solid var(--midnight); }
.device h3 { margin: 0; padding: .65rem 1rem; font: 700 1.55rem/1.1 var(--display); color: var(--yellow); }
.device nav { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 2px; }
.device a {
  color: var(--ink); background: var(--shell); display: flex; align-items: center; justify-content: space-between;
  min-height: 48px; padding: .6rem 1rem; font-weight: 700; text-decoration: none;
}
.device a:hover, .device a[aria-current="true"] { background: var(--yellow); }
.device a:focus-visible { position: relative; outline-offset: 1px; z-index: 1; }
.beta-note, .second-device { color: #454e65; font-size: .95rem; }
.beta-note { max-width: 75ch; }
.setup-route { margin-top: 2.3rem; border: 2px solid var(--blue); background: #fffdf4; }
.setup-route[hidden] { display: none; }
.route-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; padding: 1rem 1.3rem; background: var(--blue); }
.route-heading h2 { color: var(--paper); }
.route-heading a { color: var(--yellow); font-weight: 700; font-size: .9rem; padding-block: .4rem; }
.setup-steps { padding: 0 1.4rem 0 3.6rem; margin: 0; }
.setup-steps li { padding: 1.05rem .1rem; }
.setup-steps li + li { border-top: 1px solid var(--rule); }
.setup-steps li::marker { color: var(--blue); font: 700 1.4rem var(--display); }
.setup-steps h3 { margin: 0 0 .25rem; font: 700 1.48rem/1.15 var(--display); }
.setup-steps p { margin: 0; max-width: 72ch; }
.second-device { margin: 0; padding: .85rem 1.3rem; background: var(--shell); }
.setup-help { margin-top: 2.5rem; }
.setup-help h2 { margin-bottom: .75rem; }
.setup-help > details { border-bottom: 1px solid var(--rule); }
.setup-help summary, .inline-help summary { cursor: pointer; color: var(--blue); font-weight: 700; }
.setup-help summary { padding: .85rem 0; }
.setup-help details p { margin: 0 0 1rem; max-width: 74ch; }
.inline-help { margin: .65rem 0 0; }
.inline-help p { margin: .4rem 0 0; }
@media (min-width: 760px) {
  .setup-hero > .wrap {
    background: linear-gradient(90deg,var(--blue) 0%,var(--blue) 48%,rgba(18,54,156,.1) 68%),url("/assets/twillcast-studio.webp") right 50% / auto 100% no-repeat;
  }
  .setup-hero p { max-width: min(48%,54ch); }
}
@media (max-width: 620px) {
  .choice-grid { grid-template-columns: 1fr; gap: .75rem; }
  .setup-steps { padding-inline: 2.5rem 1rem; }
  .route-heading { padding-inline: 1rem; }
}
@media print {
  .site-header, .site-footer, .setup-hero, #choose, .route-heading a, .setup-help { display: none; }
  .setup-body { width: 100%; padding: 0; }
  .setup-route { margin-top: 1rem; }
  .route-heading { background: white; }
  .route-heading h2 { color: black; }
  .setup-steps li { break-inside: avoid; }
}
