/* Keep setup focused on the visitor's chosen path. */
.setup-page { --c-primary: #a54f35; --c-blue: #357e86; min-height: 100vh; display: flex; flex-direction: column; }
.setup-page [hidden] { display: none !important; }
.setup-page .setup-skip { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--c-panel); padding: 12px; color: var(--c-ink); }
.setup-page .setup-skip:focus { top: 12px; }
.setup-page .setup-nav { display: flex; gap: 26px; }
.setup-footer nav { display: flex; gap: 24px; }
.setup-footer a:not(.wordmark) { color: var(--c-ink); font-size: 14px; text-underline-offset: 4px; }
.setup-wrap { width: 100%; max-width: 1000px; margin: auto; padding: 0 40px; flex: 1; }
.setup-hero { padding: 88px 0 76px; text-align: center; }
.setup-kicker { font-size: 15px; margin: 0 0 18px; color: #62574f; }
.setup-hero h1 { font-size: clamp(34px, 4.5vw, 52px); letter-spacing: -.035em; line-height: 1.15; margin: 0 0 40px; }
.setup-routes { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.setup-route { font: inherit; text-align: left; cursor: pointer; display: flex; flex-direction: column; gap: 12px; padding: 28px; background: var(--c-panel); color: var(--c-ink); border: 2px solid var(--ink-line); border-radius: 7px; box-shadow: var(--toy-sh); scroll-margin-top: 100px; }
.setup-route-create { background: #eee3ce; }
.setup-route:hover, .setup-route[aria-expanded="true"] { border-color: #a54f35; box-shadow: 5px 6px 0 rgba(46,40,34,.15); }
.route-title { display: flex; justify-content: space-between; gap: 14px; font-family: Poppins, sans-serif; font-size: 21px; font-weight: 600; line-height: 1.35; }
.route-title span { color: #a54f35; }
.route-description { font-size: 15px; line-height: 1.5; }
.setup-device { font-size: 13px; line-height: 1.6; color: #62574f; margin: 26px 0 0; }
.setup-selected { border-top: 1px solid var(--soft-line); padding: 40px 0 60px; }
.setup-selection-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; margin-bottom: 26px; }
.setup-selection-heading h2 { font-size: clamp(24px, 3vw, 30px); line-height: 1.25; letter-spacing: -.025em; margin: 0; scroll-margin-top: 100px; }
.setup-change { border: 0; background: none; padding: 8px 0; font: inherit; font-size: 14px; color: #87432e; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; flex-shrink: 0; }
.setup-installs { display: grid; grid-template-columns: 1fr; gap: 22px; }
.creating .setup-installs { grid-template-columns: 1fr 1fr; }
.install-box { padding: 28px; background: var(--c-panel); border: 2px solid var(--ink-line); border-radius: 7px; box-shadow: var(--toy-sh); }
.install-step { color: #87432e; font-size: 13px; font-weight: 600; margin: 0 0 14px; }
.install-box h3 { font-size: 23px; line-height: 1.3; margin: 0 0 12px; }
.install-box > p:not(.install-step) { font-size: 16px; line-height: 1.6; margin: 0 0 24px; max-width: 54ch; }
.install-box .btn { margin-bottom: 24px; }
.install-box details { border-top: 1px solid var(--soft-line); padding-top: 16px; }
.install-box summary { cursor: pointer; font-size: 14px; color: #62574f; }
.install-box details p { font-size: 14px; line-height: 1.7; margin-bottom: 0; }
.setup-next { font-size: 16px; line-height: 1.7; margin: 30px 0 0; max-width: 70ch; }
.setup-next a, .setup-support a { color: #87432e; text-underline-offset: 3px; }
.setup-support { font-size: 13px; line-height: 1.6; color: #62574f; margin: 18px 0 0; }
.setup-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 40px; border-top: 1px solid var(--soft-line); }
.setup-footer .wordmark { font-size: 20px; }
.setup-page .visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 700px) {
  .setup-page .nav-inner { padding: 0 22px; }
  .setup-page .setup-nav { gap: 16px; }
  .setup-wrap { padding: 0 22px; }
  .setup-hero { padding: 48px 0; }
  .setup-hero h1 { margin-bottom: 28px; }
  .setup-routes, .creating .setup-installs { grid-template-columns: 1fr; gap: 18px; }
  .setup-route, .install-box { padding: 24px; }
  .route-title { font-size: 20px; }
  .setup-device { max-width: 34ch; margin: 24px auto 0; }
  .setup-selection-heading { flex-direction: column; gap: 8px; }
  .setup-footer { padding: 24px 22px; }
  .setup-footer nav { gap: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .setup-page .btn { transition: none; }
}
