/* Interaction patterns observed on Alen's reference sites, adapted to Atlas. */
.tour-intro { display:flex; justify-content:space-between; gap:16px; margin-bottom:24px; color:var(--text); font-size:15px; }
.tour-hint { color:var(--text-muted); font-size:12px; }
.tour-tabs { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; position:relative; padding-top:12px; }
.tour-tabs::before { content:''; position:absolute; top:0; height:2px; width:100%; background:var(--border-strong); }
.tour-tabs::after { content:''; position:absolute; top:0; height:2px; width:100%; background:var(--accent-2); transform:scaleX(var(--tour-progress,.3333)); transform-origin:left; transition:transform .35s ease; }
.tour-tabs button { display:flex; gap:14px; align-items:center; padding:20px; min-height:80px; text-align:left; background:var(--surface); border:1px solid var(--border); border-radius:12px; font:600 15px/1.4 Inter,Arial,sans-serif; transition:background .2s,border-color .2s; position:relative; }
.tour-tabs button::before { content:''; position:absolute; width:8px; height:8px; border:1px solid var(--border-strong); border-radius:50%; top:-18px; left:22px; background:var(--bg); z-index:2; }
.tour-tabs button[aria-selected=true] { background:#352b29; border-color:#cb793f; }
.tour-tabs button[aria-selected=true]::before { background:var(--accent-2); border-color:var(--accent-2); box-shadow:0 0 0 5px #f7a66a14; }
.tour-tabs button:hover { background:#302b2c; border-color:var(--accent-2); }
.tour-node { font-size:23px; font-weight:500; color:var(--accent-2); }
.tour-tab-arrow { margin-left:auto; opacity:.5; }
.tour-tabs button[aria-selected=true] .tour-tab-arrow { opacity:1; color:var(--accent-2); }
.tour-panels { margin-top:24px; border:1px solid var(--border-strong); border-radius:18px; background:linear-gradient(130deg,#1b2739,#142031); overflow:hidden; }
.tour-panel { display:grid; grid-template-columns:.85fr 1.15fr; align-items:center; gap:40px; padding:38px; min-height:482px; }
.tour-copy h3 { font-size:clamp(26px,2.5vw,34px); line-height:1.16; letter-spacing:-.04em; margin:0 0 22px; }
.tour-copy>p:not(.eyebrow) { font-size:16px; line-height:1.65; }
.tour-copy .tour-payoff { border-left:2px solid var(--accent-2); padding-left:16px; margin:24px 0; color:var(--text); font-weight:600; }
.tour-copy .text-link { font-size:13px; text-align:left; line-height:1.5; }
.tour-screen { min-width:0; background:#101a28; border:1px solid #405068; border-radius:12px; box-shadow:0 20px 45px #0003; }
.tour-screen-top { padding:15px 18px; border-bottom:1px solid var(--border-strong); display:flex; justify-content:space-between; align-items:center; gap:12px; color:var(--text-muted); font-size:10px; }
.tour-brand { font-size:20px; letter-spacing:-.06em; font-weight:700; color:var(--text); }
.tour-brand small { font-size:10px; letter-spacing:0; font-weight:400; color:var(--text-muted); }
.tour-screen-body { padding:22px; }
.tour-search { display:flex; align-items:center; gap:12px; padding:13px; border:1px solid #a56943; background:#212a36; border-radius:7px; font-size:13px; color:var(--text); }
.tour-search svg { width:18px; height:18px; flex-shrink:0; stroke:var(--accent-2); stroke-width:1.6; fill:none; }
.tour-search>span:last-child { margin-left:auto; color:var(--accent-2); }
.tour-filters { display:flex; flex-wrap:wrap; gap:6px; margin:12px 0 20px; }
.tour-filters span { font-size:10px; border:1px solid var(--border-strong); border-radius:4px; padding:4px 7px; color:var(--text-muted); }
.tour-supplier { display:flex; align-items:center; gap:14px; padding:14px 0; border-top:1px solid var(--border); }
.tour-supplier strong { font-size:14px; }
.tour-supplier p { font-size:11px; margin:3px 0; }
.tour-neutral { font-size:10px; color:var(--accent-2); }
.tour-part { width:64px; height:64px; flex-shrink:0; border:1px solid var(--border-strong); background:#1c2a3b; border-radius:8px; display:grid; place-items:center; }
.tour-part svg { width:52px; fill:#33465e; stroke:#afbdcf; stroke-width:1.2; }
.tour-demo-note { padding:12px 18px; font-size:10px; color:var(--text-muted); border-top:1px solid var(--border); line-height:1.5; }
.tour-product-title { font-size:14px; font-weight:600; color:var(--text); margin-bottom:18px; }
.tour-product-title>span { display:block; font-size:11px; font-weight:400; color:var(--text-muted); margin-top:4px; }
.tour-table { width:100%; table-layout:fixed; border-collapse:collapse; font-size:11px; }
.tour-table th,.tour-table td { padding:13px 8px; border-bottom:1px solid var(--border); text-align:left; vertical-align:top; overflow-wrap:anywhere; }
.tour-table thead th { background:#263142; color:var(--text); font-weight:600; }
.tour-table tbody th { font-weight:400; color:var(--text-muted); }
.tour-table td { color:var(--text); }
.tour-table tbody tr:nth-child(2) td,.tour-table tbody tr:nth-child(3) td { color:var(--accent-2); background:#f7a66a08; }
.tour-cost-note { margin-top:16px; font-size:11px; line-height:1.6; }
.tour-chat { background:#253244; padding:18px; border-radius:10px 10px 2px 10px; border:1px solid #536078; }
.tour-chat>span { color:var(--accent-2); font-size:10px; }
.tour-chat p { color:var(--text); font-size:12px; line-height:1.7; margin:8px 0 14px; }
.tour-attachment { padding:9px; background:#172335; border:1px solid var(--border-strong); border-radius:5px; font-size:10px; color:var(--text-muted); }
.tour-next-title { font-size:12px; margin:20px 0 8px; }
.tour-checklist { list-style:none; margin:0; padding:0; display:grid; gap:10px; }
.tour-checklist li { display:flex; gap:10px; align-items:center; font-size:11px; color:var(--text-muted); }
.tour-checklist li>span { color:var(--accent-2); font-size:10px; border:1px solid #996542; border-radius:50%; width:23px; height:23px; display:grid; place-items:center; flex-shrink:0; }
.tour-footer { display:flex; justify-content:space-between; align-items:center; gap:16px; padding:18px 2px 0; font-size:12px; color:var(--text-muted); }
.tour-footer button { background:none; border:0; padding:8px 0; color:var(--accent-2); font:600 12px Inter,Arial,sans-serif; text-align:right; }
.tour-panel.is-entering .tour-screen { animation:tour-screen-in .38s ease both; }
.tour-panel.is-entering .tour-copy { animation:tour-copy-in .3s ease both; }
.tour-panel.is-entering .tour-supplier,.tour-panel.is-entering .tour-checklist li { animation:tour-copy-in .4s ease both; }
.tour-panel.is-entering .tour-supplier:nth-of-type(4),.tour-panel.is-entering .tour-checklist li:nth-child(2) { animation-delay:.08s; }
.tour-panel.is-entering .tour-checklist li:nth-child(3) { animation-delay:.16s; }
@keyframes tour-screen-in { from{opacity:.4;transform:translateY(10px)} to{opacity:1;transform:none} }
@keyframes tour-copy-in { from{opacity:.3;transform:translateY(6px)} to{opacity:1;transform:none} }
/* The comparison example's warm frame, used around a useful next action. */
.problem-action { padding:24px; border:1px solid #9f633e; border-radius:12px; background:linear-gradient(105deg,#342923,#1a2636 80%); box-shadow:0 0 28px #d66a2809; }
.category-choice:hover,.category-choice:focus-visible,.category-choice.active:hover { background:#443027; }
.early-process li { padding-right:16px; transition:background .2s; border-radius:0 0 8px 8px; }
.early-process li:hover { background:linear-gradient(180deg,#f7a66a14,transparent); }
.early-process li:hover::before { border-color:var(--accent-2); background:var(--accent-2); box-shadow:0 0 0 5px #f7a66a12; }
.mobile-access { display:none; }
@media(max-width:950px) {
 .tour-panel { gap:24px; padding:26px; }
 .tour-tabs button { padding:16px 12px; font-size:13px; gap:10px; }
 .tour-tab-arrow { display:none; }
}
@media(max-width:700px) {
 .tour-panel { grid-template-columns:1fr; min-height:0; padding:24px 18px; gap:26px; }
 .tour-copy h3 { font-size:29px; }
 .tour-copy>p:not(.eyebrow) { font-size:15px; }
 .tour-copy .tour-payoff { margin:18px 0; }
 .tour-tabs { gap:7px; }
 .tour-tabs button { flex-direction:column; align-items:flex-start; justify-content:flex-start; gap:8px; padding:14px 10px; font-size:11px; line-height:1.4; min-height:106px; }
 .tour-tabs button::before { left:16px; }
 .tour-node { font-size:21px; }
 .tour-intro { font-size:13px; }
 .tour-hint { font-size:10px; }
 .tour-screen-body { padding:16px; }
 .tour-table { font-size:10px; }
 .tour-table th,.tour-table td { padding:11px 5px; }
 .tour-screen-top { padding:12px 14px; font-size:9px; }
 .tour-search { font-size:12px; gap:8px; padding:11px; }
 .tour-footer { font-size:11px; }
 .tour-footer button { font-size:11px; }
 .early-process li:hover { background:linear-gradient(90deg,#f7a66a10,transparent); }
 .mobile-access:not([hidden]) { position:fixed; display:block; bottom:0; left:0; right:0; z-index:35; padding:10px 20px max(10px,env(safe-area-inset-bottom)); background:#101b2bf5; border-top:1px solid var(--border-strong); box-shadow:0 -8px 30px #0002; }
 .mobile-access .button { width:100%; min-height:46px; padding-block:12px; font-size:13px; }
 body:has(.mobile-access:not([hidden])) { padding-bottom:80px; }
 body.modal-open .mobile-access,body:has(#navigation.open) .mobile-access { display:none; }
}
@media(prefers-reduced-motion:reduce) {
 .tour-tabs::after,.tour-tabs button,.early-process li { transition:none; }
 .tour-panel.is-entering .tour-screen,.tour-panel.is-entering .tour-copy,.tour-panel.is-entering .tour-supplier,.tour-panel.is-entering .tour-checklist li { animation:none; }
}
