* { box-sizing: border-box; }
body { margin: 0; font-family: Inter, system-ui, sans-serif; line-height: 1.55; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid #9188ff; outline-offset: 4px; }
.checkout-demo { background: #f4f5f9; color: #171f31; min-height: 100vh; }
.demo-wrap { max-width: 55rem; margin: auto; padding: clamp(1rem, 4vw, 2.5rem); }
.demo-top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.demo-back { color: #465067; }
.checkout-demo h1 { margin-block: 1.8rem .1rem; font-size: clamp(1.8rem, 5vw, 2.6rem); line-height: 1.15; }
.demo-muted { color: #566176; margin-top: .35rem; }
.demo-steps { font-size: .9rem; }
.demo-panel { border: 1px solid #e2e6f0; background: white; border-radius: 1.25rem; padding: clamp(1.1rem, 4vw, 1.75rem); margin-block: 1.5rem; }
.demo-panel h2 { font-size: 1.15rem; margin: 0 0 .5rem; }
.demo-price { display: block; font-weight: 750; font-size: 2rem; line-height: 1.2; }
.demo-link { color: #3930bd; }
.demo-button { display: inline-flex; justify-content: center; align-items: center; min-height: 3rem; padding: .65rem 1.4rem; border: 0; border-radius: 999px; color: #fff; background: #5044e5; font: inherit; font-weight: 650; text-decoration: none; cursor: pointer; }
.demo-button[hidden] { display: none; }
.demo-footer { display: flex; flex-wrap: wrap; gap: .5rem 1rem; margin-block: 1.5rem; font-size: .875rem; }
.demo-dialog { width: min(100% - 2rem, 35rem); max-height: calc(100% - 2rem); border: 0; border-radius: 1.65rem; padding: clamp(1.5rem, 5vw, 3.25rem); color: #171f31; text-align: center; }
.demo-dialog::backdrop { background: rgb(21 30 55 / .36); backdrop-filter: blur(4px); }
.demo-dialog h2 { font-size: clamp(1.4rem, 4vw, 1.85rem); margin: 1.2rem 0 .5rem; line-height: 1.2; }
.demo-dialog p { color: #566176; margin: .5rem 0 1.2rem; }
.demo-dialog .demo-button { min-width: min(12.5rem, 100%); }
.demo-dialog .demo-action-hint { margin: .75rem 0 0; font-size: .875rem; }
.demo-info { display: inline-grid; place-items: center; width: 3.65rem; height: 3.65rem; border-radius: 1.2rem; background: #eeebfc; color: #5044e5; font-size: 1.5rem; }
.demo-close { position: absolute; top: .55rem; right: .55rem; width: 2.75rem; height: 2.75rem; border: 0; border-radius: 50%; background: transparent; color: #566176; font: inherit; font-size: 1.5rem; cursor: pointer; }
.cabinet-demo { --bg: #0a0a0d; --panel: #15151d; --border: #30303e; --text: #f4f3fa; --muted: #b6b4c9; --accent: #c8bcff; --active: #d2c5ff; background: var(--bg); color: var(--text); min-height: 100vh; }
.cabinet-demo.incy { --bg: #0a0f0c; --panel: #101a13; --border: #284131; --text: #e7f2eb; --muted: #adc1b3; --accent: #8aebaa; --active: #8aebaa; }
.cabinet-demo .demo-wrap { max-width: 69rem; }
.cabinet-grid { display: grid; grid-template-columns: 15rem minmax(0, 1fr); gap: 1.25rem; align-items: start; }
.cabinet-nav, .cabinet-panel { background: var(--panel); border: 1px solid var(--border); border-radius: 1.25rem; padding: clamp(1rem, 4vw, 1.6rem); }
.cabinet-nav { display: flex; align-items: center; gap: .75rem; }
.cabinet-nav img { width: 2.5rem; height: 2.5rem; }
.cabinet-label { margin: 0; font-size: .875rem; color: var(--muted); }
.cabinet-content h1 { margin: 0 0 .3rem; font-size: clamp(1.65rem, 5vw, 2.2rem); line-height: 1.2; }
.cabinet-panel { margin-top: 1.25rem; }
.cabinet-panel h2 { margin: .5rem 0; font-size: 1.3rem; }
.cabinet-panel dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; padding-top: 1rem; border-top: 1px solid var(--border); }
.cabinet-panel dt { color: var(--muted); font-size: .875rem; }
.cabinet-panel dd { margin: 0; }
.cabinet-link { color: var(--accent); font-weight: 650; }
.cabinet-status { color: var(--active); font-size: .875rem; }
.legal-demo { background: #f4f5f9; color: #171f31; }
.legal-demo article { background: white; border: 1px solid #e2e6f0; border-radius: 1.25rem; padding: clamp(1rem, 4vw, 2rem); margin-top: 1rem; overflow-wrap: anywhere; }
.legal-demo section { margin-top: 2rem; }
@media (max-width: 46rem) { .cabinet-grid { grid-template-columns: minmax(0, 1fr); } }
