/* Standalone trial: remove the examples section and its two includes to revert. */
.section.website-examples { --examples-gutter: max(40px, calc((100vw - 1160px) / 2)); --example-width: min(534px, calc((100vw - 80px) * .46)); padding-bottom: 56px; }
.website-examples + .section.problem { padding-top: 56px; }
.examples-heading-row { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.website-examples h2 { color: var(--berry); }
.website-examples .section-intro { margin-top: 14px; }
.examples-controls { display: flex; flex-shrink: 0; gap: 12px; padding-bottom: 5px; }
.examples-controls[hidden] { display: none; }
.examples-arrow { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 2px solid var(--berry); border-radius: 16px; background: #fff; color: var(--berry); box-shadow: 0 4px 0 var(--jam); cursor: pointer; transition: transform .18s, box-shadow .18s; }
.examples-arrow svg, .example-open svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; }
.examples-arrow:enabled:hover { transform: translateY(-2px); }
.examples-arrow:enabled:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--jam); }
.examples-arrow:disabled { border-color: var(--line); color: #b6a8aa; box-shadow: 0 4px 0 var(--line); cursor: default; }
.examples-arrow:focus-visible, .examples-gallery:focus-visible { outline: 3px solid var(--ink); outline-offset: 5px; }
.examples-gallery { overflow-x: auto; padding-block: 4px 20px; }
/* The enhanced gallery is not a scroll container: vertical gestures belong to the page. */
.examples-gallery[data-mode] { overflow: clip; touch-action: pan-y pinch-zoom; }
.examples-track { display: flex; width: max-content; gap: 24px; margin: 0; padding: 0 var(--examples-gutter); list-style: none; }
.examples-gallery[data-mode="marquee"] .examples-track { will-change: transform; }
.examples-gallery[data-moving] .examples-track { transition: transform .45s cubic-bezier(.22,.61,.36,1); }
.example-card { flex: 0 0 var(--example-width); width: var(--example-width); min-width: 0; border: 2px solid var(--line); border-radius: 24px; background: #fff; box-shadow: 0 6px 0 var(--line); overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.example-card a, .example-preview { display: block; height: 100%; }
.example-card:focus-within, .example-card--linked:hover { border-color: var(--accent-line); box-shadow: 0 6px 0 var(--accent-line); }
.example-card a:focus-visible { outline: 3px solid var(--berry); outline-offset: -5px; border-radius: 22px; }
.example-browser { height: 30px; display: flex; align-items: center; gap: 5px; padding: 0 14px; background: #fff; }
.example-browser i { width: 6px; height: 6px; border-radius: 50%; background: #e79c9e; }
.example-browser i:nth-child(2) { background: #f4d58a; }
.example-browser i:nth-child(3) { background: #c0d79e; }
.example-browser span { width: 34%; height: 7px; border-radius: 9px; background: #f2eeea; margin: 0 auto; transform: translateX(-14px); }
.example-card img { width: 100%; aspect-ratio: 1.9; height: auto; object-fit: cover; object-position: top; background: var(--cream); }
.examples-gallery[data-mode] .example-card img { -webkit-user-drag: none; user-select: none; }
.example-caption { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 19px 22px; min-height: 82px; }
.example-caption h3 { font-size: 21px; line-height: 1.25; }
.example-open { display: grid; place-items: center; flex-shrink: 0; width: 36px; height: 36px; color: var(--berry); background: var(--pink); border-radius: 12px; }
.example-open svg { width: 18px; height: 18px; }
@media (max-width: 800px) { .section.website-examples { --example-width: calc((100vw - 80px) * .72); } }
@media (max-width: 600px) {
  .section.website-examples { --examples-gutter: 23px; --example-width: calc((100vw - 46px) * .9); padding-bottom: 41px; }
  .website-examples + .section.problem { padding-top: 41px; }
  .examples-heading-row { align-items: start; flex-wrap: wrap; gap: 20px; margin-bottom: 22px; }
  .examples-controls { gap: 10px; }
  .examples-arrow { width: 44px; height: 44px; border-radius: 14px; }
  .examples-track { gap: 16px; }
  .example-card { border-radius: 20px; }
  .example-caption { padding: 16px; min-height: 76px; }
  .example-caption h3 { font-size: 18px; }
}
@media (max-width: 360px) { .section.website-examples { --examples-gutter: 19px; --example-width: calc((100vw - 38px) * .9); } }
@media (prefers-reduced-motion: reduce) { .examples-arrow, .example-card, .examples-gallery[data-moving] .examples-track { transition: none; } }
