/* Corvane guided tour (js/tour.js), MatDash look: white card, indigo primary, soft shadow */
.ct-root{position:fixed;inset:0;z-index:2147483000;pointer-events:none;font-family:var(--font)}
.ct-catch{position:fixed;inset:0;pointer-events:auto;background:transparent}
.ct-catch.ct-dim{background:rgba(17,28,45,.55)}
.ct-hole{position:fixed;border-radius:16px;box-shadow:0 0 0 3px var(--primary),0 0 0 9999px rgba(17,28,45,.55);pointer-events:none}
.ct-card{position:fixed;width:380px;max-width:calc(100vw - 24px);background:#fff;color:var(--ink);border-radius:14px;box-shadow:0 1rem 3rem rgba(0,0,0,.2);padding:22px 22px 16px;pointer-events:auto;box-sizing:border-box;transition:opacity .22s ease}
.ct-card:focus{outline:none}
/* while a step settles (tab switch, scroll, entrance animation) nothing is positioned or shown; then it fades in once */
.ct-root.ct-settling .ct-card{opacity:0;pointer-events:none;transition:none}
.ct-root.ct-settling .ct-hole{display:none}
.ct-root.ct-settling .ct-catch{background:rgba(17,28,45,.55)}
.ct-card.ct-dock{left:12px !important;right:12px;bottom:12px;top:auto !important;width:auto;max-width:none;transition:none}
/* phones: the sheet docks just under the sticky header when that leaves the target fully visible (tour.js phoneAim) */
.ct-card.ct-dock.ct-at-top{top:var(--ct-top,62px) !important;bottom:auto}
/* phones: compact sheet = first sentence + More; the rest of the text sits behind the toggle */
.ct-more{display:none}
.ct-compact .ct-more{display:inline;margin:0;padding:0 2px;border:0;background:none;font:inherit;font-weight:600;color:var(--primary);cursor:pointer;text-decoration:underline;text-underline-offset:2px}
.ct-compact .ct-rest{display:none}
.ct-compact.ct-expanded .ct-rest{display:inline}
.ct-more:focus-visible{outline:3px solid color-mix(in oklab,var(--primary) 35%,transparent);outline-offset:2px;border-radius:4px}
.ct-card.ct-dock .ct-top{margin-bottom:8px}
.ct-card.ct-dock .ct-title{margin-bottom:4px}
.ct-card.ct-dock .ct-body{margin-bottom:10px;line-height:1.5}
.ct-card.ct-dock{padding:14px 16px 12px}
.ct-card.ct-dock .ct-btn{height:36px}
.ct-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}
.ct-step{display:inline-flex;align-items:center;height:24px;padding:0 10px;border-radius:6px;background:var(--light-primary);color:var(--primary);font-size:12px;font-weight:700}
.ct-dots{display:flex;gap:4px}
.ct-dots i{width:6px;height:6px;border-radius:50%;background:#E0E6EB}
.ct-dots i.done{background:#C9C6FF}
.ct-dots i.on{width:16px;border-radius:99px;background:var(--primary)}
.ct-title{font-size:18px;font-weight:700;line-height:1.3;color:var(--head);margin:0 0 6px}
.ct-body{font-size:14px;line-height:1.6;color:var(--muted);margin:0 0 16px}
.ct-foot{display:flex;align-items:center;gap:8px}
.ct-spacer{flex:1 1 auto}
.ct-btn{font-family:inherit;font-size:13.5px;font-weight:600;border-radius:8px;height:38px;padding:0 16px;cursor:pointer;border:1px solid var(--line);background:#fff;color:var(--ink);line-height:1}
.ct-btn:hover{background:var(--light-primary);border-color:transparent;color:var(--primary)}
.ct-btn:disabled{opacity:.45;cursor:default;background:#fff;color:var(--ink);border-color:var(--line)}
.ct-primary{background:var(--primary);border-color:var(--primary);color:#fff}
.ct-primary:hover{background:var(--primary-ink);border-color:var(--primary-ink);color:#fff}
.ct-link{border-color:transparent;background:transparent;color:var(--muted);padding:0 6px;font-weight:500}
.ct-link:hover{background:transparent;color:var(--primary);text-decoration:underline}
.ct-btn:focus-visible{outline:3px solid color-mix(in oklab,var(--primary) 35%,transparent);outline-offset:2px}
.ct-offer{position:fixed;right:24px;bottom:24px;z-index:2147482000;width:330px;max-width:calc(100vw - 24px);background:#fff;border-radius:14px;padding:18px 18px 14px;box-shadow:0 1rem 3rem rgba(0,0,0,.175);box-sizing:border-box;font-family:var(--font)}
.ct-offer-title{font-size:16px;font-weight:700;color:var(--head);margin:0 0 4px}
.ct-offer-body{font-size:13.5px;line-height:1.55;color:var(--muted);margin:0 0 12px}
@media (max-width:640px){.ct-offer{right:12px;left:12px;bottom:12px;width:auto}.ct-title{font-size:16.5px}.ct-body{font-size:13.5px;margin-bottom:12px}.ct-card{padding:18px 16px 14px}}
/* header launcher stays visible on mobile */
.tour-btn svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
@media (max-width:860px){.topbar .btn.tour-btn{display:inline-flex}}
@media (max-width:640px){.topbar-right{flex-wrap:wrap;gap:8px 10px}}

/* "New here?" card: soft pulsing glow in the primary. Deliberately NOT gated on prefers-reduced-motion (site rule). */
.ct-offer.ct-glow{border:1px solid color-mix(in oklab,var(--primary) 35%,transparent);animation:ctGlow 2.4s ease-in-out infinite}
@keyframes ctGlow{
  0%,100%{box-shadow:0 1rem 3rem rgba(0,0,0,.12),0 0 0 0 rgba(99,91,255,0),0 0 0 0 rgba(99,91,255,0)}
  50%{box-shadow:0 1rem 3rem rgba(0,0,0,.12),0 0 0 6px rgba(99,91,255,.2),0 0 32px 8px rgba(99,91,255,.45)}
}

/* first-launch welcome modal */
.cw-root{position:fixed;inset:0;z-index:2147483100;display:grid;place-items:center;padding:16px;font-family:var(--font)}
.cw-scrim{position:absolute;inset:0;background:rgba(17,28,45,.55)}
.cw-box{position:relative;width:min(560px,100%);max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);overflow-y:auto;overscroll-behavior:contain;background:#fff;border-radius:16px;box-shadow:0 1rem 3rem rgba(0,0,0,.25);padding:28px 28px 0;box-sizing:border-box;animation:cwIn .35s cubic-bezier(.22,1,.36,1)}
.cw-box:focus{outline:none}
@keyframes cwIn{from{opacity:0;transform:translateY(14px) scale(.98)}to{opacity:1;transform:none}}
.cw-title{font-size:21px;font-weight:800;line-height:1.3;color:var(--head);margin:12px 0 10px;letter-spacing:-.01em}
.cw-body p{font-size:14.5px;line-height:1.6;color:var(--muted);margin:0 0 10px}
.cw-body p:last-child{margin-bottom:0;color:var(--ink);font-weight:600}
.cw-body p:not(.cw-note) strong{font-weight:650;color:var(--ink)}
/* footer sticks to the bottom of the box so both actions stay reachable on short screens */
.cw-foot{position:sticky;bottom:0;display:flex;gap:10px;margin-top:22px;padding:16px 0 20px;border-top:1px solid var(--line);background:#fff}
.cw-foot .ct-btn{flex:1 1 0;height:44px;font-size:14px;justify-content:center}
@media (max-width:640px){
  .cw-root{place-items:end center;padding:12px}
  .cw-box{padding:22px 18px 0;border-radius:16px;max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px)}
  .cw-foot{padding:14px 0 16px}
  .cw-title{font-size:18.5px}
  .cw-body p{font-size:13.5px}
  .cw-foot{flex-direction:column-reverse}
  .cw-foot .ct-btn{flex:none;width:100%}
}
