/* STACK / Activation & onboarding — companion to the original Modular / Business card. */
[hidden]{display:none!important}
.setup-card{display:flex;flex-direction:column}
.setup-hero{position:relative;isolation:isolate;overflow:hidden;background:var(--ink);color:#fff;padding:32px 25px 33px;min-height:281px}
.setup-hero-lines::before,.setup-hero-lines::after{content:"";position:absolute;z-index:-1;width:2px;height:340px;right:83px;top:-134px;background:rgba(243,249,242,.40);transform:rotate(43deg);pointer-events:none}
.setup-hero-lines::after{right:52px;top:-123px;background:rgba(243,249,242,.14)}
.setup-nav{display:flex;align-items:center;justify-content:space-between;gap:12px}
.setup-logo{font-size:23px;line-height:1;font-weight:900;letter-spacing:-.087em;color:#fff}
.setup-logo-dot{color:#b0cab3}
.setup-nav-tag{font-size:9px;letter-spacing:.13em;border:1px solid rgba(255,255,255,.18);border-radius:7px;padding:9px 10px;color:#d0d6cf;font-weight:730}
.setup-hero-copy{margin-top:43px}
.setup-hero-overline{font-size:10px;letter-spacing:.16em;font-weight:800;color:#adb9ab}
.setup-hero-title{font-size:clamp(30px,8.2vw,40px);font-weight:770;letter-spacing:-.062em;line-height:1.08;margin:12px 0 10px;max-width:350px;white-space:pre-line}
.setup-hero-subtitle{font-size:12px;color:#bbc5b9;margin:0;line-height:1.55;max-width:320px}
.setup-body{padding:29px 24px 20px;flex:1}
.setup-panel{animation:rise .23s ease-out}
.setup-kicker{font-size:10px;font-weight:850;letter-spacing:.13em;color:#859084;margin-bottom:12px}
.setup-panel h2{font-size:clamp(23px,6.2vw,27px);font-weight:770;letter-spacing:-.048em;line-height:1.15;margin:0 0 11px}
.setup-lead,.setup-muted{font-size:13px;color:#768076;line-height:1.65;margin:0 0 25px}
.setup-error{color:#983f3f;background:#fff0ee;border:1px solid #efc9c5;border-radius:10px;padding:10px 12px;margin:14px 0 0;font-size:12px;line-height:1.5}
.setup-primary{width:100%;margin-top:24px;min-height:56px}
.setup-primary:disabled,.wizard-actions button:disabled{opacity:.55;cursor:wait}
.setup-divider{height:1px;background:#dce3da;margin:30px 0 19px}
.setup-tip{display:flex;gap:11px;align-items:flex-start;font-size:11px;line-height:1.65;color:#808b7d;margin:0}
.setup-tip .icon{width:18px;height:18px;color:#777f77;margin-top:1px}
.demo-hint{font-size:10px;letter-spacing:.06em;line-height:1.8;text-align:center;color:#777f77;background:#e5eae2;padding:13px 10px;border-radius:10px;margin:24px 0 0}
.demo-hint strong{display:block;font-size:13px;letter-spacing:.03em;color:var(--ink)}
.code-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin-top:31px}
.code-grid input{display:block;min-width:0;width:100%;height:64px;border:1px solid #dae0d8;border-radius:11px;background:#fff;text-align:center;font-size:26px;font-weight:730;letter-spacing:-.035em;color:var(--ink);outline:none;transition:border-color .15s,box-shadow .15s}
.code-grid input:focus{border-color:#515c50;box-shadow:0 0 0 3px #c5d3c2}
.code-grid input.filled{border-color:#a5b0a1;background:#fafffa}
.setup-footer{font-size:10px;letter-spacing:.06em;color:#929c90;display:flex;align-items:center;justify-content:center;gap:5px;padding:27px 15px 31px}
.setup-footer strong{font-size:11px;letter-spacing:-.058em;color:#687467}
.wizard-progress-header{display:flex;align-items:center;justify-content:space-between;font-size:10px;letter-spacing:.12em;font-weight:850;color:#778576}
.wizard-progress{display:flex;gap:6px;margin:12px 0 31px}
.progress-segment{height:4px;border-radius:20px;background:#d9e0d7;flex:1;transition:background .2s}
.progress-segment.is-current{background:#293229}
.wizard-step{animation:fade-up .24s ease-out}
@keyframes fade-up{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}
.form-field{margin:0 0 20px}
.form-field label{font-size:12px;font-weight:740;letter-spacing:-.008em;display:block;margin:0 0 9px;color:#303b30}
.required{color:#8b6b5b}
.form-field input,.form-field textarea{display:block;width:100%;appearance:none;border:1px solid #e1e7dd;border-radius:12px;background:#fff;color:var(--ink);font:inherit;font-size:14px;min-height:53px;line-height:1.4;padding:14px 15px;outline:none;transition:border-color .15s,box-shadow .15s}
.form-field input::placeholder,.form-field textarea::placeholder{color:#a2ada0;opacity:1}
.form-field textarea{resize:vertical;min-height:116px;max-height:250px}
.form-field input:focus,.form-field textarea:focus{border-color:#637362;box-shadow:0 0 0 3px #d9e5d5}
.form-field input[aria-invalid="true"],.form-field textarea[aria-invalid="true"]{border-color:#a9635b}
.field-hint{font-size:11px;color:#899588;line-height:1.5;margin:7px 2px 0}
.photo-field{display:flex;align-items:center;gap:15px;margin:25px 0 27px}
.photo-preview{width:85px;height:91px;background:#d8e0d5;display:flex;align-items:center;justify-content:center;border-radius:14px;overflow:hidden;color:#7b8978;font-size:34px;font-weight:400;flex:none}
.photo-preview img{width:100%;height:100%;object-fit:cover}
.photo-prompt{min-width:0}
.photo-upload-label{border:1px solid #c6d1c4;background:#f7f9f5;color:#293129;padding:11px 12px;display:inline-flex;align-items:center;gap:8px;font-size:12px;line-height:1.3;border-radius:10px;font-weight:740;cursor:pointer}
.photo-upload-label:hover{background:#fff}
.photo-upload-label .icon{height:14px;width:14px}
.photo-prompt p{margin:9px 0 0;font-size:10.5px;line-height:1.5;color:#909c8c}
.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.wizard-actions{display:grid;grid-template-columns:1fr 1.48fr;gap:10px;margin-top:22px}
.wizard-actions .button{min-height:55px;font-size:13px}
.wizard-actions #wizard-back{border:1px solid #e6ebe2}
.wizard-actions #wizard-back .icon{transform:rotate(180deg)}
.wizard-actions #wizard-next{padding:0 15px}
.form-footnote{font-size:10px;line-height:1.6;text-align:center;color:#909a8c;margin:15px 0 0}
.summary-preview{background:#1c211d;color:white;position:relative;border-radius:13px;min-height:122px;padding:17px 19px;margin:23px 0 17px;overflow:hidden;isolation:isolate;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:5px}
.summary-decoration::before,.summary-decoration::after{content:"";position:absolute;width:2px;height:200px;right:70px;top:-70px;z-index:-1;transform:rotate(43deg);background:#a4b1a57d}
.summary-decoration::after{right:43px;background:#a4b1a528}
.summary-tag{font-size:9px;letter-spacing:.13em;font-weight:790;color:#aebbad;margin-bottom:7px}
.summary-preview strong{font-size:22px;line-height:1.18;font-weight:760;letter-spacing:-.045em;overflow-wrap:anywhere}
.summary-preview small{font-size:11px;color:#cbd3c9}
.privacy-field{display:flex;gap:11px;align-items:flex-start;margin:20px 0 15px;font-size:11px;line-height:1.55;color:#566353;cursor:pointer}
.privacy-field input{accent-color:#263127;width:18px;height:18px;flex:none;margin:0;cursor:pointer}
.demo-choice{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#fff;border:1px solid #e9eee6;border-radius:13px;padding:19px 15px;margin-bottom:11px}
.demo-choice:hover{background:#f9fcf8}
.demo-choice span{display:flex;flex-direction:column;gap:5px}
.demo-choice strong{font-size:13px;letter-spacing:-.015em}
.demo-choice small{font-size:11px;color:#859083;line-height:1.5}
.demo-choice .icon{width:18px;height:18px;color:#606e5f}
.setup-footnote{color:#8b958a;font-size:11px;line-height:1.6;margin:20px 2px 0}
.loading-icon{display:flex;gap:7px;justify-content:center;padding:57px 0 30px}
.loading-icon span{height:9px;width:9px;background:#9aaa96;border-radius:50%;animation:loading-dots 1s infinite alternate}
.loading-icon span:nth-child(2){animation-delay:.2s}.loading-icon span:nth-child(3){animation-delay:.4s}
#screen-loading{text-align:center}
@keyframes loading-dots{to{opacity:.2;transform:translateY(-5px)}}
#screen-error .setup-primary{margin-top:29px}
@media(min-width:600px){.setup-card{min-height:760px}.setup-hero{border-radius:24px 24px 0 0}.setup-body{padding-left:31px;padding-right:31px}}
@media(max-width:359px){.setup-hero{padding-left:19px;padding-right:19px}.setup-body{padding-left:16px;padding-right:16px}.code-grid{gap:5px}.code-grid input{height:55px;font-size:24px}.photo-preview{width:68px;height:75px}.photo-field{gap:10px}.photo-upload-label{font-size:11px}.wizard-actions .button{font-size:12px;padding:0 9px}}
@media(prefers-reduced-motion:reduce){.wizard-step{animation:none}.loading-icon span{animation:none}}
