.demo-page{background:#faf9f5}.demo-intro{padding:85px 8% 55px;max-width:1250px;margin:auto}.demo-intro h1{font-size:clamp(48px,6vw,86px);letter-spacing:-2px;line-height:1.08;margin-bottom:24px}.demo-lead{max-width:650px;font-size:18px}.demo-notice{margin-top:35px;max-width:850px;background:#ece6dc;border:1px solid #d9cebc;border-radius:6px;padding:25px 28px;color:#4d4c38}.demo-notice strong{font-weight:600;font-size:17px}.demo-notice p{color:#5b5d4b;font-size:15px;margin:10px 0 18px}.demo-notice .text-link{font-size:14px}.demo-gallery-section{background:#e9eee3;padding:60px 8% 80px}.demo-gallery-heading{display:flex;align-items:baseline;justify-content:space-between;gap:24px;margin-bottom:28px}.demo-gallery-heading h2{font-size:40px;margin:0}.demo-gallery-heading p{font-size:14px;margin:0}.demo-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.demo-card{display:flex;flex-direction:column;align-items:start;background:#fffefa;border:1px solid #d9dfd2;border-radius:8px;padding:32px;box-shadow:0 8px 25px #293b3305;transition:transform .3s,box-shadow .3s}.demo-card:hover{transform:translateY(-3px);box-shadow:0 12px 28px #293b330b}.demo-card:focus{outline:2px solid #6e806a;outline-offset:4px}.demo-badge{font-size:12px;line-height:1.3;letter-spacing:1px;text-transform:uppercase;color:#605f45;background:#eeeadd;border:1px solid #dbd4bd;border-radius:30px;padding:6px 11px}.demo-stars{font-size:22px;letter-spacing:2px;color:#7d6940;margin-top:22px}.demo-quote{font-size:17px;line-height:1.8;color:#455449;margin:20px 0 30px;flex:1;overflow-wrap:anywhere}.demo-author{display:flex;align-items:center;gap:13px;width:100%;border-top:1px solid #e2e7db;padding-top:22px}.demo-avatar{display:grid;place-items:center;width:48px;height:48px;border-radius:50%;flex:none;background:#dfe7d6;font-size:15px;font-weight:500}.demo-avatar.tone-1{background:#efe1dd;color:#775e53}.demo-avatar.tone-2{background:#e5e5d9;color:#66643c}.demo-author h3{font-size:26px;margin:0 0 6px;line-height:1.1}.demo-author p{font-size:12px;margin:0;line-height:1.5}.demo-gallery-controls{display:flex;justify-content:center;margin-top:36px;gap:20px}.demo-gallery-controls [hidden]{display:none}#demo-retry{background:transparent;border:0;border-bottom:1px solid var(--ink)}@media(min-width:1500px){.demo-gallery-section{max-width:1600px;margin:auto}}@media(max-width:700px){.demo-intro{padding:50px 6% 38px}.demo-notice{padding:22px}.demo-gallery-section{padding:40px 6% 60px}.demo-gallery{grid-template-columns:1fr;gap:18px}.demo-card{padding:26px}.demo-gallery-heading{display:block}.demo-gallery-heading h2{font-size:34px;margin-bottom:16px}.demo-intro h1{font-size:55px}.demo-page footer{display:flex;flex-direction:column;gap:20px}.demo-page footer p{margin:0}.demo-author p{font-size:13px}}@media(prefers-reduced-motion:reduce){.demo-card{transition:none}.demo-card:hover{transform:none}}
.demo-scroll-hint{font-size:14px;margin:0 0 20px;color:var(--muted)}.demo-gallery{display:flex;gap:24px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;overscroll-behavior-inline:contain;padding:8px 2px 22px;scrollbar-width:auto;scrollbar-color:#91a17e #d6decb;cursor:grab;touch-action:pan-x pan-y pinch-zoom}.demo-gallery:focus-visible{outline:2px solid #6e806a;outline-offset:5px}.demo-gallery::-webkit-scrollbar{height:11px}.demo-gallery::-webkit-scrollbar-track{background:#d6decb;border-radius:20px}.demo-gallery::-webkit-scrollbar-thumb{background:#91a17e;border-radius:20px}.demo-gallery.is-dragging{cursor:grabbing;scroll-snap-type:none;scroll-behavior:auto;user-select:none}.demo-card{flex:0 0 calc((100% - 24px)/2);scroll-snap-align:start;scroll-snap-stop:normal;min-width:0}.demo-gallery-controls{margin-top:24px}.demo-nav-button{min-width:130px}.demo-nav-button:disabled{opacity:.4;cursor:default;transform:none}.demo-gallery-heading p{min-width:230px;text-align:right}@media(max-width:700px){.demo-gallery{gap:18px}.demo-card{flex-basis:86%}.demo-gallery-heading p{text-align:left}.demo-gallery-controls{justify-content:flex-start}.demo-nav-button{min-width:120px}}@media(prefers-reduced-motion:reduce){.demo-gallery{scroll-behavior:auto}}

.inline-demo-reviews {
  min-width: 0;
  margin: 32px 0 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}
.inline-demo-reviews .demo-gallery-heading {
  margin-bottom: 16px;
}
.inline-demo-reviews .demo-gallery-heading h3 {
  font-size: 36px;
  margin: 0;
}
.inline-demo-notice {
  font-size: 16px;
  padding: 16px 20px;
  background: #e4e8dd;
  border: 1px solid var(--line);
  border-radius: 6px;
  margin-bottom: 20px;
}
.inline-demo-reviews .demo-author p {
  font-size: 14px;
}
@media (max-width: 700px) {
  .inline-demo-reviews .demo-gallery-heading h3 {
    font-size: 32px;
    margin-bottom: 12px;
  }
  .inline-demo-reviews .demo-gallery-heading p {
    min-width: 0;
  }
  .inline-demo-notice {
    padding: 14px 16px;
  }
}
