.demo-layout { --demo-gutter: 24px; }
.demo-layout .public-bar { background: var(--paper); }
.demo-layout .public-head,
.demo-page { width: min(1216px, calc(100% - 2 * var(--demo-gutter))); margin-inline: auto; }
.demo-layout .public-head { border-bottom: 0; }
.demo-layout .public-head .brand { margin: 0; }
.demo-page { padding-block: 12px 64px; }
.evening { position: relative; display: grid; align-items: end; isolation: isolate; overflow: hidden; color: white; background: #131c22; border-radius: 26px; min-height: clamp(440px, 44vw, 570px); }
.evening-cover,.evening::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.evening-cover { object-fit: cover; object-position: 67% 48%; z-index: -2; }
.evening::after { content: ""; z-index: -1; background: linear-gradient(90deg,rgba(9,17,28,.9),rgba(9,17,28,.65) 37%,transparent 72%),linear-gradient(0deg,rgba(8,15,24,.36),transparent 60%); }
.evening-copy { padding: clamp(36px,5.4vw,76px); }
.evening-label,.ticket-label { font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.evening-label { margin: 0 0 26px; color: #f4e2bf; }
.evening h1 { font-size: clamp(42px,5vw,72px); font-weight: 620; line-height: 1.09; letter-spacing: -.052em; margin: 0; }
.evening h1 em { font: inherit; color: #ffda64; }
.evening-lead { font-size: clamp(16px,1.3vw,19px); line-height: 1.5; max-width: 39ch; margin: 24px 0 30px; }
.evening-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; }
.evening-actions a:not(.btn) { font-size: 15px; text-underline-offset: 5px; }
.evening-actions .btn,.demo-offer .btn { justify-content: space-between; gap: 20px; }
.evening :focus-visible,.demo-offer :focus-visible { outline-color: white; }
.tour { max-width: 1080px; margin: clamp(54px,6vw,86px) auto; display: grid; grid-template-columns: minmax(0,.88fr) minmax(0,1.12fr); align-items: start; gap: clamp(30px,6vw,90px); scroll-margin: 24px; }
.tour-intro { padding-top: 18px; }
.tour h2,.demo-offer h2 { font-size: clamp(28px,3.1vw,44px); letter-spacing: -.045em; }
.tour-intro > p { color: var(--muted); max-width: 38ch; }
.tour-path { display: grid; margin-top: 32px; border-top: 1px solid var(--line); }
.tour-path button { background: none; color: var(--ink); font-family: inherit; text-align: left; display:grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 16px; border: 0; border-bottom: 1px solid var(--line); padding: 16px 4px; cursor: pointer; }
.step-icon { width: 36px; height: 36px; border: 1px solid #c2cbd8; border-radius: 50%; display: grid; place-items: center; font-size: 16px; font-weight: 650; }
.tour-path [aria-pressed=true] .step-icon { background: var(--flash); border-color: var(--flash); }
.tour-path strong,.tour-path small { display: block; }
.tour-path strong { font-size: 18px; }
.tour-path small { font-size: 14px; color: var(--muted); margin-top: 2px; }
.step-arrow { opacity: 0; font-size: 21px; }
[aria-pressed=true] > .step-arrow { opacity: 1; }
.tour-stage { border-radius: 22px; background: #e4e9ea; padding: clamp(20px,3vw,42px); display: grid; justify-items: center; align-items: center; min-height: 450px; scroll-margin: 14px; }
.ticket { width: min(100%,368px); background: white; border-radius: 18px; overflow: hidden; box-shadow: 0 7px 22px rgba(26,38,45,.11); }
.ticket-photo { height: 108px; }
.ticket-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 75% 48%; display: block; }
.ticket-body { padding: clamp(18px,2.3vw,30px); }
.ticket-label { margin-bottom: 8px; color: #58647a; font-size: 10px; }
.ticket h3 { font: 600 clamp(20px,2.2vw,26px)/1.2 var(--display); letter-spacing: -.035em; margin: 0 0 14px; }
.ticket p:not(.ticket-label) { font-size: 15px; line-height: 1.5; color: var(--muted); }
.ticket-qr { border-top: 1px dashed #bdc6cc; margin-top: 22px; padding-top: 12px; display: flex; gap: 12px; align-items: center; }
.ticket-qr img { flex: none; }
.ticket-qr p { margin: 0; }
.ticket-body > .btn { margin-top: 16px; }
.sample-selfie { display: grid; place-items: center; padding: 15px; background: var(--soft); border-radius: 12px; }
.sample-selfie img { display: block; width: 134px; aspect-ratio: 1; border-radius: 50%; }
.sample-gallery { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.sample-gallery button { padding: 0; border: 0; border-radius: 10px; overflow: hidden; cursor: zoom-in; background: var(--soft); }
.sample-gallery img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.candidate { display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: center; margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); }
.candidate img { width: 64px; height: 64px; border-radius: 8px; }
.candidate h4 { margin: 0; }
.ticket .candidate p { margin: 4px 0 0; font-size: 13px; }
.candidate-actions { grid-column: 1/-1; display:flex; flex-wrap:wrap; gap: 8px; }
.answer-result:empty { display: none; }
.ticket .answer-result { margin: 16px 0 6px; }
.demo-offer { max-width: 1080px; margin: auto; padding: clamp(24px,4vw,48px); border-radius: 22px; color: white; background: var(--ink); display: flex; gap: 32px; align-items: center; justify-content: space-between; }
.demo-offer p { color: #dce3ed; max-width: 49ch; margin: 14px 0 0; }
.offer-action { flex: 0 1 320px; }
.offer-action p { font-size: 14px; }
#demo-viewer { width: min(92vw,510px); max-height: 92dvh; padding: 18px; border: 0; border-radius: 18px; color: var(--ink); }
#demo-viewer::backdrop { background: rgba(10,18,30,.8); }
.viewer-top { display:flex; justify-content:space-between; align-items:center; gap:12px; margin-bottom:12px; font-weight:650; }
.viewer-top button { width:42px; height:42px; border:0; border-radius:50%; font:26px var(--text); cursor:pointer; }
#full-photo { display:block; width:100%; max-height:58dvh; object-fit:contain; background:var(--soft); border-radius:10px; margin:0 0 14px; }
@media (min-width: 761px) and (max-width: 1000px) {
  .demo-layout .public-head nav { flex-wrap: wrap; justify-content: flex-end; gap: 4px 16px; }
  .demo-layout .public-head nav a { white-space: nowrap; }
}
@media(max-width:760px){
  .demo-layout { --demo-gutter: 16px; }
  .demo-page { padding-block: 8px 42px; }
  .evening { min-height: 525px; border-radius: 19px; }
  .evening-copy { padding: 24px; padding-top: 200px; }
  .evening-cover { object-position: 75% center; }
  .evening::after { background:linear-gradient(0deg,#101825 3%,rgba(15,22,35,.95) 23%,rgba(15,22,35,.78) 47%,transparent 82%); }
  .evening-label { margin-bottom: 12px; }
  .evening h1 { font-size: clamp(35px,7.9vw,52px); }
  .evening-lead { margin: 16px 0 20px; }
  .tour { display: block; margin-block: 40px; }
  .tour-intro { padding-top: 0; }
  .tour-path { margin: 20px 0 16px; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 6px; border: 0; }
  .tour-path button { display: flex; flex-direction: column; justify-content: center; gap: 6px; text-align: center; padding: 9px 2px; border:1px solid var(--line); border-radius: 10px; }
  .tour-path [aria-pressed=true] { border-color: #a88b30; background: #fff5d4; }
  .tour-path strong { font-size: clamp(11px,3.2vw,15px); }
  .step-icon { width: 24px; height: 24px; font-size: 13px; }
  .tour-path small,.step-arrow { display:none; }
  .tour-stage { min-height: 0; padding: 18px 12px; }
  .demo-offer { flex-direction:column; align-items:stretch; gap:22px; }
  .offer-action { flex:auto; }
}
@media(max-width:390px){
 .evening-actions { gap:14px; }
 .evening-actions .btn { padding:13px 16px; }
 .ticket-qr { gap:6px; }.ticket-qr img { width:76px;height:76px; }
}
.album-example { max-width:1080px; margin:0 auto clamp(46px,5.5vw,76px); padding-top:clamp(28px,3.5vw,48px); border-top:1px solid var(--line); }
.album-heading { display:grid; grid-template-columns:1fr 1fr; gap:32px; align-items:start; margin-bottom:26px; }
.album-heading h2 { font-size:clamp(26px,3vw,40px); letter-spacing:-.04em; margin:0; }
.album-heading p { color:var(--muted); margin:0; max-width:47ch; }
.album-strip { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(8px,1.5vw,20px); }
.album-strip figure { margin:0; }
.album-strip button { display:block; width:100%; border:0; background:var(--soft); padding:0; overflow:hidden; border-radius:14px; cursor:zoom-in; }
.album-strip img { display:block; width:100%; aspect-ratio:1.15; object-fit:cover; }
.album-strip figcaption { font-size:15px; font-weight:600; margin-top:9px; }
.offer-action .btn { text-align:left; }
@media(max-width:760px){
 .album-heading { display:block; margin-bottom:18px; }.album-heading p { margin-top:12px; }
 .album-strip img { aspect-ratio:3/4; }.album-strip button { border-radius:8px; }
 .album-strip figcaption { font-size:12px; margin-top:6px; }
}
