/* Five-step registration explorer. */
.setup-section {
  --setup-surface: #fff;
  --setup-soft: #f6f5f8;
  --setup-border: #e6e2eb;
  --setup-muted: #756c7d;
  --setup-chip: #f0edf4;
  border-top: 1px dashed var(--setup-border);
  background: linear-gradient(180deg, #faf9fc, #fff 75%);
}
.setup-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 35px; margin-bottom: 42px; }
.setup-heading h2 span { white-space: nowrap; }
.setup-heading > div > p:last-child { margin-top: 20px; font-size: 16px; }
.setup-facts { display: flex; gap: 25px; margin: 0 0 7px; flex-shrink: 0; }
.setup-facts > div + div { border-left: 1px solid var(--setup-border); padding-left: 25px; }
.setup-facts dt { font-size: 27px; line-height: 1.2; font-weight: 600; letter-spacing: -.045em; }
.setup-facts dd { margin: 7px 0 0; color: var(--setup-muted); font-size: 13px; }
.setup-explorer { border: 1px solid var(--setup-border); border-radius: 20px; background: var(--setup-surface); overflow: hidden; box-shadow: 0 24px 64px -40px #32253f45; }
.setup-hint { margin: 24px 32px 0; color: var(--setup-muted); font-size: 13px; }
.setup-track { --step-progress: 0%; position: relative; isolation: isolate; display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); padding: 24px 28px 28px; }
.setup-track::before, .setup-track::after { content: ''; position: absolute; z-index: -1; top: 47px; height: 2px; left: calc(28px + (100% - 56px) / 10); width: calc((100% - 56px) * .8); }
.setup-track::before { background: var(--setup-border); }
.setup-track::after { background: #ffc700; clip-path: inset(0 calc(100% - var(--step-progress)) 0 0); transition: clip-path .4s ease; }
.setup-tab { display: flex; flex-direction: column; align-items: center; min-width: 0; border: 0; background: transparent; padding: 0 5px; color: var(--setup-muted); }
.setup-node { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--setup-border); border-radius: 14px; background: var(--setup-surface); font-size: 14px; font-weight: 600; transition: background .25s, transform .25s, border-color .25s, box-shadow .25s; box-shadow: 0 4px 0 var(--setup-soft); }
.setup-tab-label { margin-top: 15px; font-weight: 600; font-size: 15px; }
.setup-tab-note { margin-top: 4px; font-size: 12px; }
.setup-tab:hover .setup-node { transform: translateY(-4px); border-color: #c3a74a; }
.setup-tab[aria-selected="true"] { color: var(--ink); }
.setup-tab[aria-selected="true"] .setup-node { color: #231f20; background: #ffc700; border-color: #ffc700; box-shadow: 0 4px 0 #c99f17, 0 7px 22px #ffc70030; transform: translateY(-3px); }
.setup-panel { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--setup-border); min-height: 460px; }
.setup-panel[hidden] { display: none; }
.setup-scene { position: relative; isolation: isolate; min-height: 460px; overflow: hidden; display: flex; align-items: center; justify-content: center; background: radial-gradient(ellipse at 50% 62%, #fff9df 0, var(--setup-soft) 65%); }
.setup-scene::after { content: ''; position: absolute; width: 170px; height: 170px; border: 1px solid #a28e6630; border-radius: 50%; top: 120px; left: calc(50% - 85px); z-index: -1; box-shadow: 0 0 0 34px #b7ab8510, 0 0 0 68px #b7ab8508; }
.setup-scene img { width: 110%; max-width: none; height: auto; flex-shrink: 0; transform: translateY(0); }
.setup-scene-label { position: absolute; z-index: 1; top: 28px; left: 28px; right: 28px; text-align: center; font-size: 10px; letter-spacing: .1em; color: var(--setup-muted); }
.setup-float-label { position: absolute; z-index: 1; bottom: 32px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 9px; border: 1px solid var(--setup-border); border-radius: 100px; background: var(--setup-surface); padding: 10px 15px; box-shadow: 0 8px 22px #3323420c; white-space: nowrap; font-size: 13px; }
.setup-float-label > span { color: #9b7700; font-size: 18px; line-height: 1; }
.setup-copy { padding: 38px 38px 32px; display: flex; flex-direction: column; align-items: flex-start; }
.setup-copy-meta { display: flex; justify-content: space-between; align-items: center; gap: 15px; width: 100%; margin-bottom: 22px; font-size: 12px; color: var(--setup-muted); }
.setup-copy-meta > span:first-child { letter-spacing: .06em; font-weight: 500; }
.setup-time { padding: 5px 10px; border-radius: 6px; background: var(--setup-chip); white-space: nowrap; }
.setup-copy h3 { font-size: clamp(27px, 2.8vw, 35px); margin-bottom: 19px; }
.setup-copy > p { font-size: 16px; line-height: 1.7; }
.setup-copy .setup-note { margin-top: 10px; font-size: 14px; color: var(--setup-muted); }
.setup-needs { width: 100%; border-top: 1px dashed var(--setup-border); margin-top: 24px; padding-top: 18px; }
.setup-needs > span { color: var(--setup-muted); font-size: 12px; }
.setup-needs ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 10px 0 0; }
.setup-needs li { background: var(--setup-chip); padding: 6px 11px; border-radius: 7px; font-size: 14px; }
.setup-tip { display: flex; align-items: flex-start; gap: 10px; margin-top: 24px; }
.setup-tip > span { display: grid; place-items: center; border: 1px solid var(--setup-border); border-radius: 50%; width: 19px; height: 19px; font-size: 12px; flex-shrink: 0; margin-top: 2px; color: var(--setup-muted); }
.setup-tip p { font-size: 13px; line-height: 1.6; color: var(--setup-muted); }
.setup-register { margin-top: 24px; }
.setup-copy .setup-registration-note { margin-top: 13px; color: var(--setup-muted); font-size: 12px; line-height: 1.6; }
.setup-controls { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 21px 30px; border-top: 1px solid var(--setup-border); background: var(--setup-surface); }
.setup-controls > div { display: flex; align-items: center; gap: 22px; }
.setup-status { color: var(--setup-muted); font-size: 13px; }
.setup-back { background: transparent; border: 0; padding: 12px 0; color: var(--ink); font-size: 14px; }
.setup-back:disabled { opacity: .35; cursor: default; }
.setup-next { font-size: 14px; }
.setup-footnote { margin: 17px 4px 0; color: var(--setup-muted); font-size: 12px; }
:root[data-theme="dark"] .setup-section { --setup-surface: #211c26; --setup-soft: #27212d; --setup-border: #45394e; --setup-muted: #b4a6c0; --setup-chip: #342c3c; background: linear-gradient(180deg, #1b181f, #141414 75%); }
[data-theme="dark"] .setup-scene { background: radial-gradient(ellipse at 50% 62%, #3e3525 0, var(--setup-soft) 70%); }
[data-theme="dark"] .setup-float-label > span { color: #ffc700; }
[data-theme="dark"] .setup-scene::after { border-color: #c6ac6740; }
@media (prefers-reduced-motion: no-preference) {
  .setup-panel.is-entering .setup-copy { animation: setup-copy-in .35s ease both; }
  .setup-panel.is-entering .setup-scene img { animation: setup-scene-in .6s cubic-bezier(.2,.7,.2,1) both; }
  .setup-panel.is-entering .setup-float-label { animation: setup-label-in .6s .1s ease both; }
}
@keyframes setup-copy-in { from { opacity: .25; transform: translateY(9px); } to { opacity: 1; transform: translateY(0); } }
@keyframes setup-scene-in { from { opacity: .2; transform: translate(16px,20px); } to { opacity: 1; transform: translate(0,0); } }
@keyframes setup-label-in { from { opacity: 0; transform: translate(-50%,8px); } to { opacity: 1; transform: translate(-50%,0); } }
@media (max-width: 1100px) {
  .setup-heading { align-items: flex-start; flex-direction: column; }
  .setup-facts { gap: 30px; }
  .setup-facts > div + div { padding-left: 30px; }
  .setup-copy { padding: 30px; }
  .setup-tab-note { font-size: 11px; }
}
@media (max-width: 760px) {
  .setup-heading { gap: 25px; margin-bottom: 28px; }
  .setup-heading > div > p:last-child br { display: none; }
  .setup-facts { width: 100%; justify-content: space-between; gap: 12px; }
  .setup-facts > div + div { padding-left: 14px; }
  .setup-facts dt { font-size: 22px; }
  .setup-facts dd { font-size: 11px; }
  .setup-explorer { border-radius: 14px; }
  .setup-hint { margin: 20px 16px 0; font-size: 12px; }
  .setup-track { padding: 22px 8px; }
  .setup-track::before, .setup-track::after { top: 40px; left: calc(8px + (100% - 16px) / 10); width: calc((100% - 16px) * .8); }
  .setup-node { width: 38px; height: 38px; border-radius: 11px; font-size: 12px; }
  .setup-tab { padding-inline: 2px; }
  .setup-tab-label { font-size: 14px; margin-top: 13px; line-height: 1.4; }
  .setup-tab-note { display: none; }
  .setup-panel { grid-template-columns: 1fr; }
  .setup-scene { min-height: 0; height: 260px; }
  .setup-scene img { width: 365px; max-width: none; }
  .setup-scene::after { width: 120px; height: 120px; top: 66px; left: calc(50% - 60px); }
  .setup-scene-label { top: 20px; left: 15px; right: 15px; font-size: 8px; }
  .setup-float-label { bottom: 18px; padding: 7px 12px; font-size: 11px; }
  .setup-copy { padding: 25px; }
  .setup-copy h3 { font-size: 28px; }
  .setup-copy-meta { margin-bottom: 20px; }
  .setup-controls { flex-wrap: wrap; padding: 18px 22px; gap: 14px; }
  .setup-controls > div { width: 100%; justify-content: space-between; gap: 12px; }
  .setup-status { font-size: 12px; }
  .setup-next { font-size: 14px; padding: 11px 16px; }
  .setup-footnote { font-size: 11px; line-height: 1.7; }
}
@media (max-width: 380px) {
  .setup-facts dt { font-size: 19px; }
  .setup-facts > div + div { padding-left: 10px; }
  .setup-copy { padding: 22px; }
}
