:root {
  --demo-ink: #282421;
  --demo-muted: #706b65;
  --demo-cream: #fbf7ee;
  --demo-paper: #fffdf8;
  --demo-burgundy: #7b2436;
  --demo-gold: #d7a956;
  --demo-green: #287052;
  --demo-line: #e3ddd2;
}

.demo-brief {
  max-width: 1120px;
  margin: 0 auto;
  padding: 32px 24px 64px;
  color: var(--demo-ink);
  font-family: Arial, sans-serif;
}

.demo-notice {
  display: flex;
  gap: 12px;
  align-items: baseline;
  margin-bottom: 24px;
  padding: 12px 16px;
  color: #5b4217;
  background: #fff3d6;
  border: 1px solid #ebcf92;
  border-radius: 8px;
  font-size: 14px;
}

.demo-hero {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: center;
  padding: 44px;
  color: white;
  background: var(--demo-burgundy);
  border-radius: 18px 18px 0 0;
}

.demo-kicker,
.demo-section-label {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.demo-hero h1 {
  margin: 0;
  font-family: Georgia, serif;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
}

.demo-subtitle {
  margin: 14px 0 0;
  color: #f2dfe4;
}

.demo-delivery {
  display: flex;
  gap: 10px;
  align-items: center;
  min-width: 150px;
  padding: 14px 16px;
  color: var(--demo-ink);
  background: white;
  border-radius: 10px;
}

.demo-delivery small,
.demo-delivery strong {
  display: block;
}

.demo-delivery small { color: var(--demo-muted); }
.demo-status-dot { width: 10px; height: 10px; background: var(--demo-green); border-radius: 50%; }

.demo-summary,
.demo-section {
  padding: 40px 44px;
  background: var(--demo-paper);
  border: 1px solid var(--demo-line);
  border-top: 0;
}

.demo-summary {
  background: var(--demo-cream);
  border-left: 5px solid var(--demo-gold);
}

.demo-summary h2,
.demo-section h2,
.demo-cta h2 {
  margin: 0;
  font-family: Georgia, serif;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.15;
}

.demo-summary > p:not(.demo-section-label) {
  max-width: 820px;
  color: var(--demo-muted);
  font-size: 18px;
  line-height: 1.6;
}

.demo-summary h3 { margin: 30px 0 10px; }
.demo-summary ol { margin: 0; padding-left: 24px; }
.demo-summary li { padding: 5px 0 5px 8px; line-height: 1.5; }

.demo-section-heading {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 24px;
}

.demo-section-heading > p { margin: 0; color: var(--demo-muted); font-size: 13px; }
.demo-section-label { color: var(--demo-burgundy); }

.demo-cash-grid,
.demo-split-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
}

.demo-statement { margin: 0; }
.demo-statement > div,
.demo-mini-statement > div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 4px;
  border-bottom: 1px solid var(--demo-line);
}

.demo-statement dt,
.demo-mini-statement dt { color: var(--demo-muted); }
.demo-statement dd,
.demo-mini-statement dd { margin: 0; font-weight: 700; }
.demo-statement-total { margin-top: 8px; border-top: 2px solid var(--demo-ink); font-size: 18px; }

.demo-card {
  padding: 24px;
  background: white;
  border: 1px solid var(--demo-line);
  border-radius: 12px;
}

.demo-card h3 { margin: 0 0 14px; font-family: Georgia, serif; font-size: 21px; }
.demo-mini-statement { margin: 0; }

.demo-table-wrap { overflow-x: auto; }
.demo-table-wrap:focus-visible { outline: 3px solid var(--demo-gold); outline-offset: 3px; }
.demo-brief table { min-width: 640px; }
.demo-brief th,
.demo-brief td { padding: 14px 12px; }
.demo-brief tbody th { text-align: left; }
.demo-total-row { background: var(--demo-cream); font-weight: 700; }

.demo-location-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.demo-location-card {
  padding: 22px;
  background: white;
  border: 1px solid var(--demo-line);
  border-radius: 12px;
}

.demo-location-card h3 { margin: 0; font-family: Georgia, serif; font-size: 22px; }
.demo-location-card > div > p { margin: 5px 0 18px; color: var(--demo-muted); }
.demo-location-card dl { margin: 0; }
.demo-location-card dl div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; }
.demo-location-card dt { color: var(--demo-muted); }
.demo-location-card dd { margin: 0; font-weight: 700; }
.demo-action { margin: 16px -22px -22px; padding: 14px 22px; background: var(--demo-cream); border-radius: 0 0 12px 12px; }

.demo-detail-list,
.demo-maintenance-list { margin: 0; padding: 0; list-style: none; }
.demo-detail-list li,
.demo-maintenance-list li { display: flex; justify-content: space-between; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--demo-line); }
.demo-detail-list li:last-child,
.demo-maintenance-list li:last-child { border-bottom: 0; }
.demo-detail-list span { display: block; margin-top: 3px; color: var(--demo-muted); font-size: 13px; }
.demo-maintenance-list strong { min-width: 150px; }
.demo-maintenance-list span { flex: 1; color: var(--demo-muted); }

.demo-cta {
  padding: 48px;
  color: white;
  text-align: center;
  background: #292522;
  border-radius: 0 0 18px 18px;
}

.demo-cta p:not(.demo-section-label) { max-width: 680px; margin: 16px auto 24px; color: #ddd5cc; line-height: 1.6; }
.demo-cta .demo-section-label { color: #e7c680; }
.demo-cta-button { display: inline-block; padding: 14px 22px; color: #292522; background: #f1cf86; border-radius: 7px; font-weight: 700; text-decoration: none; }
.demo-cta-button:hover { background: white; }
.demo-cta-button:focus-visible { outline: 3px solid white; outline-offset: 3px; }
.demo-cta small { display: block; margin-top: 12px; color: #bdb6ae; }

.demo-footer { display: flex; justify-content: space-between; gap: 20px; padding: 18px 4px; color: var(--demo-muted); font-size: 12px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

@media (max-width: 760px) {
  .demo-brief { padding: 0 0 40px; }
  .demo-notice { margin: 0; border-width: 0 0 1px; border-radius: 0; flex-direction: column; gap: 4px; }
  .demo-hero { align-items: flex-start; padding: 32px 22px; border-radius: 0; flex-direction: column; }
  .demo-delivery { width: calc(100% - 32px); }
  .demo-summary,
  .demo-section { padding: 32px 20px; }
  .demo-section-heading { align-items: flex-start; flex-direction: column; gap: 8px; }
  .demo-cash-grid,
  .demo-split-grid,
  .demo-location-cards { grid-template-columns: 1fr; }
  .demo-maintenance-list li { flex-wrap: wrap; }
  .demo-maintenance-list strong { min-width: 100%; }
  .demo-cta { padding: 42px 22px; border-radius: 0; }
  .demo-footer { padding: 18px 20px; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
}
