.tour-main { padding-top: 55px; }
.tour-intro { max-width: 850px; margin-bottom: 40px; }
.tour-intro h1 { font-size: clamp(40px, 5.8vw, 74px); line-height: 1.05; letter-spacing: -.055em; margin: 20px 0 26px; }
.tour-intro h1 em { color: var(--blue); font-style: normal; }
.tour-intro > p:not(.eyebrow) { max-width: 680px; }
.tour-case-choice { display: flex; border: 1px solid var(--line); margin-bottom: 24px; background: var(--panel); }
.tour-case-choice button { flex: 1; padding: 20px; text-align: left; background: transparent; border: none; color: var(--ink); font-weight: 700; }
.tour-case-choice button + button { border-left: 1px solid var(--line); }
.tour-case-choice button span { display: block; font-size: 13px; font-weight: 400; margin-top: 5px; }
.tour-case-choice button[aria-pressed="true"] { background: var(--dark); color: var(--paper); }
.tour-shell { display: grid; grid-template-columns: 270px minmax(0, 1fr); border: 1px solid var(--line); background: var(--panel); }
.tour-sidebar { padding: 28px; border-right: 1px solid var(--line); min-width: 0; }
#recorded-route { font-family: var(--mono); color: var(--blue); font-size: 21px; display: block; margin-top: 20px; }
.tour-sidebar > a, .tour-sidebar p > a { font-size: 12px; }
.tour-sidebar dl { padding-top: 12px; }
.tour-content { min-width: 0; }
.tour-steps { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); }
.tour-steps button { padding: 18px 10px; border: 0; border-bottom: 3px solid transparent; background: transparent; color: var(--muted); font: 12px var(--mono); min-height: 48px; }
.tour-steps button[aria-selected="true"] { color: var(--blue); border-bottom-color: var(--blue); font-weight: bold; }
#step-panel { padding: 35px; min-height: 430px; }
#step-panel h2 { font-size: clamp(25px, 3vw, 36px); letter-spacing: -.04em; line-height: 1.18; margin: 16px 0; }
#step-explanation { max-width: 640px; color: var(--muted); font-size: 14px; }
.tour-json { background: #f0f1e8; border: 1px solid var(--line); padding: 18px; overflow: auto; max-height: 340px; white-space: pre-wrap; overflow-wrap: anywhere; font: 12px/1.65 var(--mono); }
.tour-reference { border-top: 1px solid var(--line); padding: 16px 0; }
.tour-reference h3 { font: 13px var(--mono); overflow-wrap: anywhere; }
.tour-reference p { font-size: 13px; margin: 5px 0; }
.tour-proposal { padding: 18px; background: #fff0cc; border-left: 3px solid #947330; }
.tour-proposal p { font-size: 13px; }
.tour-check { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; border-top: 1px solid var(--line); padding: 10px 0; font: 11px var(--mono); }
.tour-check span { overflow-wrap: anywhere; }
.tour-check strong { white-space: nowrap; }
.tour-check[data-passed="false"] { color: #8c3025; }
.tour-signature { padding: 18px; background: var(--mint); border: 1px solid #778c5c; font-size: 14px; }
.tour-navigation { padding: 18px 28px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tour-navigation button { font-size: 12px; padding: 10px 14px; min-height: 44px; }
.tour-navigation button:disabled { opacity: .5; cursor: default; }
#tour-error { margin: 15px 0; padding: 18px; background: #f9e6df; color: #792b22; }
@media (max-width: 760px) { .tour-main { padding-top: 28px; } .tour-shell { grid-template-columns: 1fr; } .tour-sidebar { border-right: 0; border-bottom: 1px solid var(--line); padding: 20px; } .tour-sidebar .receipt-details { display: grid; grid-template-columns: 90px 1fr; gap: 8px; } .tour-sidebar .receipt-details dt, .tour-sidebar .receipt-details dd { margin: 0; } #step-panel { padding: 24px 20px; min-height: 0; } .tour-steps button { font-size: 10px; padding: 15px 4px; } .tour-case-choice button { padding: 14px; font-size: 13px; } .tour-navigation { padding: 18px 14px; } }

.demo-status-link { border: 0; padding: 0; background: transparent; color: var(--blue); font: inherit; text-decoration: underline; text-underline-offset: .25em; }

.case-comparison { margin: 44px 0; }
.comparison-heading { max-width: 750px; margin-bottom: 24px; }
.comparison-heading h2 { font-size: clamp(27px, 3.2vw, 43px); line-height: 1.12; letter-spacing: -.04em; margin: 12px 0 18px; }
.comparison-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--line); background: var(--panel); }
.comparison-card { padding: 28px; min-width: 0; display: flex; flex-direction: column; }
.comparison-card + .comparison-card { border-left: 1px solid var(--line); }
.comparison-card h3 { font-size: 26px; line-height: 1.2; letter-spacing: -.035em; margin: 12px 0 18px; }
.comparison-card dl { margin: 0 0 16px; }
.comparison-card dl > div { border-top: 1px solid var(--line); padding: 12px 0; }
.comparison-card dt { font-size: 11px; color: var(--muted); }
.comparison-card dd { margin: 5px 0 0; font: 12px/1.6 var(--mono); overflow-wrap: anywhere; }
.comparison-card > p:not(.eyebrow) { font-size: 14px; margin-bottom: 22px; }
.comparison-card > a { margin-top: auto; align-self: flex-start; font-size: 12px; }
.case-comparison > .receipt-note { margin-top: 16px; max-width: 850px; }
@media (max-width: 760px) { .comparison-grid { grid-template-columns: 1fr; } .comparison-card { padding: 22px; } .comparison-card + .comparison-card { border-left: 0; border-top: 1px solid var(--line); } }
