.demo-page { --demo-border: var(--theme-stroke, var(--line)); }
.demo-page .topbar-inner { padding-block: 9px; gap: 8px 16px; flex-wrap: wrap; }
.demo-page .topbar nav { flex-wrap: wrap; }
.demo-page .brand { text-decoration: none; }
.demo-page .nav-link { text-decoration: none; }
.demo-main { padding-bottom: 32px; }
.demo-main [id] { scroll-margin-top: 130px; }
.demo-banner {
  position: relative; isolation: isolate; overflow: hidden; margin-top: 20px;
  padding: clamp(23px, 6vw, 68px); border-radius: 24px;
  color: #fff; background: linear-gradient(125deg, var(--banner-deep), var(--banner-main));
}

.demo-banner-copy { position: relative; z-index: 1; max-width: 480px; }
.demo-eyebrow { margin: 0 0 14px; letter-spacing: .13em; font-size: .7rem; font-weight: 750; color: var(--banner-highlight); }
.demo-banner h1 { margin: 0; font-family: Georgia, serif; font-weight: 500; font-size: clamp(2.4rem, 6.3vw, 5rem); line-height: .99; letter-spacing: -.05em; }
.demo-banner p:not(.demo-eyebrow) { max-width: 350px; margin: 16px 0 18px; color: #dceee7; }
.demo-banner .demo-banner-button { background: var(--card); color: var(--teal); text-decoration: none; }
.demo-banner .demo-banner-button:hover { background: var(--bg); }
.demo-banner-art { position: absolute; inset-inline-end: 1%; bottom: -20%; width: min(43%, 440px); aspect-ratio: 1; opacity: .82; transform: rotate(-18deg); }
.demo-banner-art span { position: absolute; inset: 0; border: 1px solid color-mix(in srgb, var(--banner-highlight) 48%, transparent); border-radius: 38%; }
.demo-banner-art span:nth-child(2) { inset: 12%; background: color-mix(in srgb, var(--banner-highlight) 10%, transparent); }
.demo-banner-art span:nth-child(3) { inset: 25%; background: color-mix(in srgb, var(--banner-highlight) 18%, transparent); }
.demo-disclosure { margin: 12px 0 22px; color: var(--muted); font-size: .82rem; }
.demo-workspace { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 345px); gap: 20px; align-items: start; }
.demo-heading { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px 12px; margin-bottom: 12px; }
.demo-heading h2, .demo-heading h3, .demo-heading p { margin: 0; }
.demo-heading h2 { font-size: clamp(1.25rem, 2.6vw, 1.6rem); letter-spacing: -.025em; }
.demo-heading p { margin-top: 4px; }
.demo-filters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.demo-filters .btn { border-radius: 999px; }
.demo-catalog { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.demo-service { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: 13px; }
.demo-service h3 { margin: 7px 0 2px; }
.demo-service p { margin: 0 0 9px; font-size: .84rem; }
.demo-service-foot { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 7px; width: 100%; margin-top: auto; }
.demo-pill { display: inline-block; padding: 3px 8px; border-radius: 999px; background: var(--theme-tint, var(--teal-light)); border: 1px solid var(--demo-border); color: var(--teal); font-size: .75rem; font-weight: 650; }
.demo-checkout { padding: 16px; }
.demo-checkout .btn.block { width: 100%; justify-content: center; }
.demo-cart-line, .demo-total-line { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.demo-cart-line { padding: 8px 0; border-bottom: 1px solid var(--line); font-size: .88rem; }
#demo-cart { margin-bottom: 12px; }
.demo-totals { margin: 8px 0 12px; }
.demo-total-line:last-child { margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--line); }
.demo-spaced { margin-top: 24px; }
.demo-short-field { max-width: 220px; }
.demo-track-summary { margin-bottom: 0; }
.demo-timeline { display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin-bottom: 0; list-style: none; }
.demo-timeline li { padding: 5px 9px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: .8rem; }
.demo-timeline .reached { color: var(--teal); border-color: var(--demo-border); }
.demo-timeline [aria-current] { background: var(--teal); color: var(--on-primary, #fff); font-weight: 700; }
.demo-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; margin-bottom: 10px; }
.demo-metric { display: grid; gap: 3px; padding: 11px; font-size: .82rem; }
.demo-metric strong { color: var(--teal); font-size: clamp(1rem, 3vw, 1.45rem); }
.demo-queue .field { margin: 0; }
.demo-order-line { display: grid; grid-template-columns: 1fr 1fr auto; gap: 8px; align-items: center; padding: 9px 0; border-top: 1px solid var(--line); font-size: .87rem; }
@media (max-width: 760px) {
  .demo-workspace { grid-template-columns: 1fr; gap: 14px; }
  .demo-banner-art { opacity: .45; }
}
@media (max-width: 400px) {
  .demo-catalog { grid-template-columns: 1fr; }
  .demo-order-line { grid-template-columns: 1fr auto; }
  .demo-order-line .btn { grid-column: 1 / -1; justify-self: start; }
}
