.demo-banner {
  margin: 0;
  padding: 0.35rem 1rem;
  background: #06101f;
  color: #f4f7fb;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-bottom: 2px solid var(--red);
}
.demo-body .top { flex-wrap: wrap; align-items: center; }
.demo-back-program {
  flex: 1 0 100%;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  max-width: 100%;
  margin: 0.1rem 0 0.15rem;
  color: #fff;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.3;
  text-transform: uppercase;
}
.demo-back-program::before {
  content: "";
  width: 0.48rem;
  height: 0.48rem;
  border-left: 2.5px solid currentColor;
  border-bottom: 2.5px solid currentColor;
  transform: rotate(45deg);
  flex: 0 0 auto;
}
.demo-phase-switch {
  flex: 1 0 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 0.35rem;
}
.demo-phase-switch a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.demo-phase-switch a.is-on { background: #fff; color: #08152d; border-color: #fff; }
.demo-main { display: grid; gap: 1.15rem; }
.demo-hero {
  grid-template-columns: 1.4fr 0.8fr;
  gap: 0.9rem;
  align-items: stretch;
}
.demo-note {
  margin: 0;
  padding: 1rem 1.05rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(244, 247, 251, 0.16);
}
.demo-note p:last-child { margin: 0.35rem 0 0; }
.demo-heading h2 { margin: 0; color: #fff; font-size: clamp(1.7rem, 3vw, 2.2rem); }
.demo-kpis { margin: 0; }
.demo-action-grid, .demo-earn-grid, .demo-material-grid {
  display: grid;
  gap: 0.85rem;
}
.demo-action-grid { grid-template-columns: 1fr 1fr; }
.demo-earn-grid { grid-template-columns: 1.35fr 0.75fr; align-items: start; }
.demo-action h3, .demo-cash h3 { margin: 0; color: var(--navy); font-size: 1.25rem; }
.demo-action-top, .demo-chip-row, .demo-card-actions, .demo-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
}
.demo-action-top { justify-content: space-between; margin-bottom: 0.45rem; }
.demo-badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0.1rem 0.55rem;
  border-radius: 999px;
  background: #e7edf6;
  color: #24344a;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.demo-badge-available, .demo-badge-active, .demo-badge-confirmed { background: #e7f6ee; color: #14633a; }
.demo-badge-pending, .demo-badge-in_review, .demo-badge-submitted { background: #fff4df; color: #8a5a10; }
.demo-badge-coming_soon, .demo-badge-locked, .demo-badge-limited, .demo-badge-concept { background: #fff4df; color: #8a5a10; }
.demo-subhead { margin: 0.8rem 0 0.4rem; color: #fff; font-size: 1.15rem; }
.demo-empty-actions { color: var(--ink); }
.demo-examples { margin-top: 0.8rem; padding-top: 0.7rem; border-top: 1px solid var(--line); }
.demo-examples h3, .demo-examples p, .demo-examples li { color: var(--ink); }
.demo-performance { color: var(--muted); font-size: 0.88rem; }
.demo-badge-used { background: #eef1f5; color: #415066; }
.demo-badge-mark { background: var(--navy); color: #fff; }
.demo-reward { margin: 0.55rem 0; color: var(--navy); font-family: Oswald, sans-serif; font-size: 1.35rem; }
.demo-progress-label, .demo-concept, .demo-url { margin: 0.2rem 0; color: var(--muted); font-size: 0.88rem; }
.demo-concept { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--red-dark); }
.demo-states { display: flex; flex-wrap: wrap; gap: 0.3rem; margin: 0.4rem 0; }
.demo-state {
  padding: 0.12rem 0.4rem;
  border-radius: 999px;
  background: #f4f7fb;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
}
.demo-state.is-on { background: #fff5f6; color: var(--navy); box-shadow: inset 0 0 0 1px var(--red); }
.demo-details summary, .demo-filters button {
  list-style: none;
  cursor: pointer;
}
.demo-details summary {
  display: inline-flex;
  margin-top: 0.7rem;
  background: var(--red);
  color: #fff;
  border-radius: 8px;
  min-height: 44px;
  padding: 0.7rem 1rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.demo-details summary::-webkit-details-marker { display: none; }
.demo-reqs, .demo-details ul { margin: 0.7rem 0 0; padding-left: 1.1rem; color: var(--ink); }
.demo-filters { margin: 0.7rem 0; }
.demo-filters button {
  background: transparent;
  color: #f4f7fb;
  border: 1px solid rgba(244, 247, 251, 0.28);
  min-height: 36px;
  padding: 0.25rem 0.75rem;
  text-transform: none;
  letter-spacing: 0;
}
.demo-filters button.is-on { background: #fff; color: var(--navy); }
.demo-body img.avatar {
  object-fit: cover;
  object-position: center;
}
.demo-campaign img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 12px;
  background: var(--navy);
}
.demo-campaign h3 { margin: 0.15rem 0; color: var(--navy); font-size: 1.2rem; }
.demo-url {
  padding: 0.45rem 0.6rem;
  border-radius: 8px;
  background: #f6f8fb;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.demo-card-actions { margin-top: auto; }
.demo-card-actions .button, .demo-card-actions button, .demo-card-actions .ghost { min-height: 40px; }
.demo-wallet { display: grid; grid-template-columns: 1fr 1fr; gap: 0.55rem; margin: 0.8rem 0; }
.demo-wallet article {
  padding: 0.7rem;
  border-radius: 12px;
  background: #f6f8fb;
}
.demo-wallet span { display: block; color: var(--muted); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; }
.demo-wallet strong { color: var(--navy); font-family: Oswald, sans-serif; font-size: 1.45rem; }
.demo-ledger, .demo-timeline { list-style: none; margin: 0; padding: 0; }
.demo-ledger-row {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.75rem 0;
  border-top: 1px solid var(--line);
}
.demo-ledger-row span, .demo-timeline em { display: block; color: var(--muted); font-style: normal; font-size: 0.82rem; }
.demo-ledger-end { display: grid; justify-items: end; gap: 0.25rem; }
.demo-ledger-end b { font-family: Oswald, sans-serif; font-size: 1.15rem; color: var(--navy); }
.demo-ledger-end .is-out { color: var(--red-dark); }
.demo-timeline li { display: grid; gap: 0.1rem; padding: 0 0 0.9rem 1rem; border-left: 2px solid #e4e8ef; }
.demo-timeline span { color: var(--red-dark); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.demo-ladder .ladder li { grid-template-columns: 1fr auto; }
.demo-ladder .ladder li span { color: var(--navy); font-weight: 700; }
.demo-cash { margin-top: 1rem; padding-top: 0.9rem; border-top: 1px solid var(--line); }
.demo-materials[hidden], .demo-campaign[hidden] { display: none; }
.demo-inline-note { flex-basis: 100%; margin: 0.2rem 0 0; color: var(--muted); font-size: 0.82rem; }
.demo-material-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0.8rem 0; }
.demo-material-grid figure { margin: 0; display: grid; gap: 0.4rem; justify-items: start; }
.demo-material-grid a.ghost { width: auto; }
.demo-material-grid img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 12px; background: #f6f8fb; }
.demo-caption { padding: 0.75rem; border-radius: 12px; background: #f6f8fb; }
.demo-footnote { color: #c5d0e0; font-size: 0.82rem; }
#phase2-photo .phase3-choice { border: 0; margin: 0.8rem 0; padding: 0; display: grid; gap: 0.45rem; }
#phase2-photo .phase3-choice legend { font-weight: 800; color: var(--navy); margin-bottom: 0.35rem; }
#phase2-photo .phase3-choice label { display: flex; gap: 0.55rem; align-items: flex-start; margin: 0; padding: 0.7rem 0.8rem; border: 1px solid var(--line); border-radius: 12px; }
#phase2-photo .photo-manager { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
#phase2-photo .photo-manager input { margin-left: 0.45rem; }
.demo-empty { color: #f4f7fb; }
button:disabled { opacity: 0.55; cursor: not-allowed; }

@media (max-width: 1024px) {
  .demo-hero, .demo-action-grid, .demo-earn-grid { grid-template-columns: 1fr; }
  .demo-material-grid, .demo-phase-grid { grid-template-columns: 1fr 1fr; }
}
.demo-heading { display: grid; gap: 0.15rem; }
.demo-help { font-size: 0.9rem; font-weight: 800; }
.demo-main .demo-help { color: #fff; }
.card .demo-help { color: var(--red); }
.demo-phase-grid, .demo-compare, .demo-split, .demo-pair { display: grid; gap: 0.75rem; }
.demo-phase-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 1rem 0 1.2rem; }
.demo-phase h3 { margin: 0.15rem 0 0.55rem; color: var(--navy); }
.demo-phase ul, .demo-compare ul, .demo-split ul, .demo-faq-body ul { margin: 0.3rem 0 0; padding-left: 1.1rem; }
.demo-phase li, .demo-faq-body li { margin: 0.35rem 0; }
.demo-faq-lead { margin: 0.35rem 0 0.15rem; font-size: 1.2rem; font-weight: 800; }
.demo-faq-group { display: grid; gap: 0.7rem; }
.demo-faq-group[hidden], .demo-dashboard[hidden] { display: none; }
.demo-faq-item summary {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  color: var(--navy);
  font-weight: 800;
  list-style: none;
}
.demo-faq-item summary::-webkit-details-marker { display: none; }
.demo-faq-item summary::after { content: "+"; color: var(--red); font-family: Oswald, sans-serif; font-size: 1.5rem; line-height: 1; }
.demo-faq-item[open] summary::after { content: "–"; }
.demo-faq-body { margin-top: 0.75rem; }
.demo-faq-note { margin: 0.7rem 0 0; padding: 0.75rem 0.85rem; border-radius: 12px; background: #f6f8fb; }
.demo-compare, .demo-split { grid-template-columns: 1fr 1fr; margin-top: 0.8rem; }
.demo-compare article, .demo-split article, .demo-pair article { margin: 0; padding: 0.85rem; border-radius: 12px; background: #f6f8fb; }
.demo-compare h4, .demo-split h4 { margin: 0.2rem 0 0.4rem; color: var(--navy); }
.demo-compare-link, .demo-split-live { background: #fff5f6; box-shadow: inset 3px 0 0 var(--red); }
.demo-split-concept { background: #f7f4ef; }
.demo-pair { grid-template-columns: 1fr 1fr; margin: 0.8rem 0; }
.demo-pair span { display: block; color: var(--muted); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; }
.demo-pair strong { color: var(--navy); font-family: Oswald, sans-serif; font-size: 1.6rem; }
.demo-math { margin: 0.8rem 0; }
.demo-math div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.45rem 0; border-top: 1px solid var(--line); }
.demo-math dt { color: var(--muted); }
.demo-math dd { margin: 0; font-weight: 800; color: var(--navy); }
.demo-math .is-strong { font-size: 1.05rem; }
.demo-steps ul { list-style: none; margin: 0.8rem 0 0; padding: 0; display: grid; gap: 0.35rem; }
.demo-steps li { display: flex; justify-content: space-between; gap: 0.75rem; align-items: center; padding: 0.45rem 0; border-top: 1px solid var(--line); }
.demo-steps .is-done span { color: #14633a; font-weight: 800; }

@media (max-width: 800px) {
  .demo-body .header-end { display: flex; width: auto; flex-direction: row; align-items: center; margin-left: auto; padding: 0; }
  .demo-body .nav { display: flex; width: 100%; order: 5; padding-bottom: 0.35rem; }
  .demo-body .who { display: none; }
  .demo-phase-grid, .demo-compare, .demo-split, .demo-pair, .demo-phase-track, .demo-two-things { grid-template-columns: 1fr; }
  .demo-phase-options button { flex: 1 1 calc(50% - 0.45rem); }
  .demo-steps li { align-items: flex-start; flex-direction: column; }
}
.demo-program { display: grid; gap: 0.65rem; }
.demo-program .demo-heading h2 { font-size: clamp(1.45rem, 2.4vw, 1.85rem); }
.demo-program-lead { margin: 0; max-width: 42rem; color: #f4f7fb; font-size: 0.95rem; }
.demo-current-phase { display: grid; gap: 0.2rem; padding: 0.75rem 0.95rem; box-shadow: inset 4px 0 0 var(--red); }
.demo-current-top, .demo-current-line { display: flex; align-items: baseline; justify-content: space-between; gap: 0.75rem; }
.demo-current-line { justify-content: flex-start; }
.demo-current-phase .kicker, .demo-current-phase p, .demo-current-phase h3 { margin: 0; }
.demo-current-phase h3 { color: var(--navy); font-size: 1.05rem; }
.demo-phase-number { font-family: Oswald, sans-serif; font-size: 1.55rem; letter-spacing: 0.02em; color: var(--navy); }
.demo-now { color: var(--red-dark); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.demo-current-phase .ghost { justify-self: start; margin-top: 0.2rem; min-height: 0; padding: 0.35rem 0.7rem; color: var(--navy); border: 1px solid rgba(8, 21, 45, 0.16); background: transparent; }
.demo-phase-track { display: flex; align-items: flex-start; gap: 0; margin: 0.1rem 0; padding: 0; list-style: none; }
.demo-phase-track li { position: relative; flex: 1; display: grid; justify-items: center; text-align: center; gap: 0.12rem; margin: 0; padding: 0 0.35rem; background: transparent; color: #d5deea; }
.demo-phase-track li::before { content: ""; position: absolute; top: 0.85rem; left: calc(-50% + 1.05rem); right: calc(50% + 1.05rem); height: 2px; background: rgba(255, 255, 255, 0.28); }
.demo-phase-track li:first-child::before { content: none; }
.demo-step-num { position: relative; z-index: 1; display: grid; place-items: center; width: 1.75rem; height: 1.75rem; border-radius: 999px; background: #12203a; border: 2px solid rgba(255, 255, 255, 0.35); font-family: Oswald, sans-serif; font-size: 0.95rem; color: #fff; }
.demo-phase-track strong { font-size: 0.72rem; letter-spacing: 0.04em; text-transform: uppercase; }
.demo-phase-track em { font-style: normal; font-size: 0.66rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: #9aabbf; }
.demo-phase-track .is-completed .demo-step-num { background: #123024; border-color: #7dcea0; }
.demo-phase-track .is-completed::before { background: #7dcea0; }
.demo-phase-track .is-current .demo-step-num { background: #fff; color: var(--navy); border-color: var(--red); box-shadow: 0 0 0 4px rgba(227, 6, 19, 0.28); }
.demo-phase-track .is-current strong { color: #fff; }
.demo-phase-track .is-current em { color: #ff5a63; }
.demo-phase-track .is-current::before { background: #fff; }
.demo-phase-track .is-future { opacity: 0.62; }
.demo-phase-picker { display: grid; gap: 0.35rem; }
.demo-phase-options { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.demo-phase-options button { min-width: 0; padding: 0.32rem 0.7rem; border: 0; border-radius: 999px; background: rgba(255, 255, 255, 0.1); color: #fff; font-size: 0.78rem; font-weight: 800; }
.demo-phase-options button.is-on { background: #fff; color: var(--navy); box-shadow: inset 0 0 0 2px var(--red); }
.demo-back-phase { justify-self: start; padding: 0; border: 0; background: none; color: #fff; font-weight: 700; text-decoration: underline; cursor: pointer; }
.demo-back-phase[hidden] { display: none; }
.demo-phase-panel[hidden] { display: none; }
.demo-zone-explain { margin-top: 0.35rem; }
.demo-phase-panel { display: grid; gap: 0.35rem; border-top: 4px solid var(--red); }
.demo-phase-panel h3 { margin: 0; color: var(--navy); font-size: 1.05rem; }
.demo-phase-panel h4 { margin: 0.35rem 0 0; color: var(--navy); font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; }
.demo-phase-panel p { margin: 0; }
.demo-you { margin: 0; color: var(--red-dark); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.demo-explain-grid { display: grid; grid-template-columns: 1fr 1fr 1.15fr; gap: 0.75rem 1.1rem; }
.demo-explain-two { grid-template-columns: 1fr 1fr; }
.demo-explain-grid h4 { margin-top: 0; }
.demo-check, .demo-miss { margin: 0.2rem 0 0; padding: 0; list-style: none; }
.demo-check li::before { content: "✓ "; color: #14633a; font-weight: 800; }
.demo-miss li::before { content: "— "; }
.demo-important, .demo-phase-highlight { font-weight: 800; color: var(--navy); }
.demo-zone { display: grid; gap: 0.7rem; }
.demo-zone-reward, .demo-zone-results, .demo-zone-actions { margin-top: 0.85rem; }
.demo-zone-actions { padding-top: 1.15rem; border-top: 1px solid rgba(255, 255, 255, 0.16); }
.demo-zone .demo-heading h2 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); }
.demo-zone .demo-heading p:last-child { max-width: 40rem; color: #d5deea; }
.demo-compare-reward { display: grid; grid-template-columns: 1fr auto 1fr; gap: 0.75rem; align-items: stretch; }
.demo-compare-side { margin: 0; padding: 0.85rem 1rem; border-radius: 14px; background: #fff; color: var(--navy); }
.demo-compare-side .kicker { color: #5c6b80; }
.demo-compare-side.is-reward { background: #e7eef6; }
.demo-compare-side p { margin: 0.15rem 0 0; }
.demo-compare-reward .demo-big { margin: 0.15rem 0 0; font-family: Oswald, sans-serif; font-size: 1.8rem; line-height: 1; color: var(--navy); }
.demo-versus { margin: 0; align-self: center; color: #f4f7fb; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.demo-reward-line { margin: 0; color: #fff; font-weight: 800; }
.demo-faq-jump { display: flex; flex-wrap: wrap; gap: 0.7rem; align-items: center; margin: 0.2rem 0 0; color: #f4f7fb; }
.demo-sample-strip { margin: 0; padding: 0.65rem 0.85rem; border-left: 3px solid var(--red); background: rgba(255, 255, 255, 0.06); border-radius: 12px; }
.demo-sample-strip p { margin: 0.15rem 0 0; color: #f4f7fb; }
.demo-calc { margin-top: 0.35rem; color: #f4f7fb; }
.demo-calc summary { cursor: pointer; font-weight: 800; letter-spacing: 0.04em; }
.demo-calc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.65rem; margin-top: 0.7rem; }
.demo-calc-row { display: grid; gap: 0.2rem; margin: 0; padding: 0.75rem 0.8rem; border-radius: 12px; background: rgba(255, 255, 255, 0.08); }
.demo-calc-row h3 { margin: 0 0 0.2rem; color: #fff; font-size: 0.95rem; }
.demo-calc-row p, .demo-calc-total { display: flex; justify-content: space-between; gap: 0.75rem; margin: 0; }
.demo-calc-total { margin-top: 0.45rem; padding-top: 0.35rem; border-top: 1px solid rgba(255, 255, 255, 0.16); font-weight: 800; }
.demo-example-tag { display: inline-flex; width: fit-content; margin-left: 0.35rem; color: var(--red-dark); font-size: 0.68rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; vertical-align: middle; }
.campaign-reward { display: grid; }
.demo-steps-compact { display: grid; gap: 0.15rem; margin: 0; padding: 0.85rem 1rem; border-radius: 14px; background: #fff; color: var(--navy); }
.demo-steps-compact h2 { margin: 0; color: var(--navy); font-size: 1.2rem; }
.demo-steps-compact .kicker { margin-top: 0.45rem; }
.demo-steps-compact ul { list-style: none; margin: 0; padding: 0; }
.demo-steps-compact li { display: block; padding: 0.18rem 0; border: 0; color: var(--ink); }
.demo-steps-compact .is-done span { color: #14633a; }
.demo-steps-compact .demo-help { color: var(--red-dark); }

@media (max-width: 800px) {
  .demo-phase-track { flex-direction: column; gap: 0.15rem; }
  .demo-phase-track li { grid-template-columns: 1.75rem 1fr; justify-items: start; text-align: left; column-gap: 0.7rem; padding: 0.28rem 0; }
  .demo-step-num { grid-row: 1 / span 2; }
  .demo-phase-track li::before { top: -0.35rem; bottom: auto; left: 0.78rem; right: auto; width: 2px; height: 0.7rem; }
  .demo-explain-grid, .demo-explain-two, .demo-compare-reward, .demo-calc-grid { grid-template-columns: 1fr; }
  .demo-phase-options button { flex: 1 1 calc(50% - 0.45rem); }
}

@media (max-width: 430px) {
  .demo-wallet, .demo-material-grid { grid-template-columns: 1fr; }
  .demo-ledger-row { align-items: flex-start; }
}
