/* Non-critical CSS. Tokens, reset, header and hero live in the critical <style> of index.html. */

/* Motion pass (Standard). Hidden start states exist only with .js and without reduced motion, so a failed script or "no animation" shows the page as it is.
   Reveals are keyframes with backwards fill: after they end the element is plain again, so hover-lift is never held back by a delay. */
@keyframes rv-up { from { opacity: 0; transform: translateY(20px); } }
@keyframes rv-fade { from { opacity: 0; } }
@keyframes rv-scale { from { opacity: 0; transform: scale(.96); } }
@keyframes rv-pin { from { opacity: 0; transform: scale(.4); } }
@keyframes rv-line { from { transform: scaleX(0); } }

@media (prefers-reduced-motion: no-preference) {
  /* The element itself: up (default), fade, scale. "group" only starts its children. */
  .js [data-reveal]:not([data-reveal="group"]):not(.is-in) { opacity: 0; }
  .js [data-reveal].is-in { animation: rv-up .6s var(--ease) backwards; animation-delay: calc(var(--i, 0) * 70ms); }
  .js [data-reveal="fade"].is-in { animation-name: rv-fade; }
  .js [data-reveal="scale"].is-in { animation-name: rv-scale; animation-duration: .7s; }
  .js [data-reveal="group"].is-in { animation: none; }
  .prow .frame, .plan-card:nth-child(2) { --i: 1; }
  .plan-card:nth-child(3) { --i: 2; }
  @media (max-width: 59.99rem) { .plan-card:nth-child(n) { --i: 0; } }

  /* Children, started when their reveal parent comes in */
  .js [data-reveal]:not(.is-in) :is(.kcard, .pin, .step, .trades__title, .trades__list li) { opacity: 0; }
  .js [data-reveal].is-in .trades__title { animation: rv-fade .5s var(--ease) backwards; }
  .js [data-reveal].is-in .trades__list li { animation: rv-up .5s var(--ease) backwards; animation-delay: calc(.1s + var(--i, 0) * 60ms); }
  .trades__list li:nth-child(2) { --i: 1; } .trades__list li:nth-child(3) { --i: 2; } .trades__list li:nth-child(4) { --i: 3; } .trades__list li:nth-child(5) { --i: 4; } .trades__list li:nth-child(n+6) { --i: 5; }

  .js [data-reveal].is-in .kcard { animation: rv-up .5s var(--ease) backwards; animation-delay: calc(.2s + var(--i, 0) * 80ms + var(--r, 0) * 45ms); }
  .kcol:nth-child(2) { --i: 1; } .kcol:nth-child(3) { --i: 2; } .kcol:nth-child(4) { --i: 3; }
  .kcol li:nth-child(2) { --r: 1; } .kcol li:nth-child(3) { --r: 2; }

  .pin { transform-box: fill-box; transform-origin: center; }
  .js [data-reveal].is-in .pin { animation: rv-pin .45s var(--ease) backwards; animation-delay: calc(.3s + var(--i, 0) * 110ms); }
  .pin:nth-child(2) { --i: 1; } .pin:nth-child(3) { --i: 2; } .pin:nth-child(4) { --i: 3; }

  /* How it works: the dimension line is drawn, each step follows it */
  .js .steps.is-in .step { animation: rv-up .55s var(--ease) backwards; animation-delay: calc(.15s + var(--i, 0) * .28s); }
  .step:nth-child(2) { --i: 1; } .step:nth-child(3) { --i: 2; }
  @media (min-width: 46rem) {
    .steps::before { transform-origin: 0 50%; }
    .js .steps:not(.is-in)::before { transform: scaleX(0); }
    .js .steps:not(.is-in)::after { opacity: 0; }
    .js .steps.is-in::before { animation: rv-line 1s var(--ease) backwards; }
    .js .steps.is-in::after { animation: rv-fade .3s ease-out .95s backwards; }
  }
}

/* Sticky-shrink header: no size change (nothing below moves), the bar tightens and lifts instead */
.header-sentinel { position: absolute; top: 0; left: 0; width: 1px; height: 24px; pointer-events: none; }
.site-header__bar { transform-origin: 50% 0; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease); }
.site-header.is-scrolled .site-header__bar { transform: scale(.975); background: rgb(255 255 255 / .97); box-shadow: var(--shadow); }

/* Hover-lift on cards, pointer devices only */
@media (hover: hover) and (pointer: fine) {
  .plan-card, .kcard { transition: transform .12s var(--ease), box-shadow .12s var(--ease), border-color .12s var(--ease); }
  .plan-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--c-text); }
  .plan-card--featured:hover { box-shadow: 0 0 0 1px var(--c-text), 0 12px 28px rgb(22 23 26 / .1); }
  .kcard:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--c-text); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .site-header.is-scrolled .site-header__bar { transform: none; }
}

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Trades strip (ref-01 bottom strip) */
.trades { padding-block: .5rem 1rem; }
.trades__title { font: 400 .9375rem/1.4 var(--font-body); letter-spacing: 0; color: var(--c-muted); text-align: center; }
.trades__list { list-style: none; margin: var(--space-3) 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(9rem, 100%), 1fr)); gap: 1rem 1.5rem; }
.trades__list li { display: flex; align-items: center; justify-content: center; gap: .5rem; color: var(--c-muted); font-family: var(--font-display); font-stretch: 118%; font-weight: 600; font-size: 1.0625rem; letter-spacing: -.02em; }
.trades__list .ico { color: var(--c-text); }
/* One row on desktop; with a large browser font the row wraps instead of running off the page */
@media (min-width: 64rem) { .trades__list { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem .75rem; } .trades__list li { font-size: clamp(.9375rem, .5rem + .7vw, 1.0625rem); gap: .375rem; white-space: nowrap; } }

/* Product rows (DESIGN.md: text left / UI right, then flipped) */
.product__rows { display: grid; gap: clamp(4rem, 2rem + 6vw, 7.5rem); }
.prow { display: grid; gap: var(--space-4); align-items: center; }
.prow > * { min-width: 0; }
.prow__title { font-size: var(--fs-2); margin-bottom: var(--space-2); }
.prow__text > p { color: var(--c-muted); max-width: 30rem; }
.ticks { list-style: none; padding: 0; margin: var(--space-3) 0 0; display: grid; gap: .625rem; }
.ticks li { display: flex; gap: .625rem; align-items: flex-start; text-wrap: pretty; }
.ticks .ico { margin-top: .2em; padding: .125rem; border-radius: 50%; background: var(--c-accent); border: 1px solid var(--c-text); }
/* Tablet: rows are stacked, so the paragraph and the list share the line instead of leaving the right half empty */
@media (min-width: 48rem) {
  .prow__text { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: var(--space-4); align-items: start; }
  .prow__title { grid-column: 1 / -1; }
  .prow__text .ticks { margin-top: .25rem; }
}
@media (min-width: 60rem) {
  .prow__text { display: block; }
  .prow__text .ticks { margin-top: var(--space-3); }
  .prow { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-6); }
  .prow--flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .prow--flip .prow__text { order: 2; }
}

/* Product frame + mock app (DESIGN.md: product screenshot card) */
@media (min-width: 36rem) { .frame--wide { background: #e4e3de; border: 1px solid var(--c-line); border-radius: calc(var(--radius) + 6px); padding: clamp(.75rem, .4rem + 1.4vw, 1.5rem); } }
.app { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.app__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; padding: .75rem 1rem; border-bottom: 1px solid var(--c-line); color: var(--c-muted); }
.app__pills { display: flex; flex-wrap: wrap; gap: .375rem; }
.pill { font-size: .75rem; padding: .125rem .625rem; border-radius: 999px; border: 1px solid var(--c-line); color: var(--c-muted); }
.pill--on { background: var(--c-text); border-color: var(--c-text); color: var(--c-surface); }
.plan { display: grid; gap: 1rem; padding: 1rem; }
.plan > * { min-width: 0; }
.plan__svg { width: 100%; aspect-ratio: 400 / 280; }
.plan__room { display: flex; justify-content: space-between; gap: .5rem; font-size: .9375rem; padding-bottom: .5rem; border-bottom: 1px solid var(--c-line); }
.plan__room .mono { color: var(--c-muted); }
.plan__list ul { list-style: none; padding: 0; margin: .5rem 0 0; display: grid; gap: .5rem; }
.plan__list li { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: .5rem; font-size: .875rem; line-height: 1.35; padding: .5rem; border: 1px solid var(--c-line); border-radius: var(--radius-s); }
.plan__list li .mono { grid-column: 2; color: var(--c-muted); font-size: .75rem; }
.dot { width: .625rem; height: .625rem; border-radius: 50%; margin-top: .3em; border: 1px solid var(--c-text); }
.dot--el { background: var(--c-accent); } .dot--ti { background: #fff; } .dot--pl { background: var(--c-text); }
@media (min-width: 36rem) { .plan { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: start; } }

.stamp { display: inline-flex; align-items: center; gap: .25rem; font-size: .8125rem; font-weight: 600; color: var(--c-text); background: var(--c-accent); border: 1px solid var(--c-text); border-radius: 999px; padding: .125rem .625rem .125rem .375rem; }
.stamp .ico { width: 1rem; height: 1rem; }
.signoff__body { padding: 1rem; display: grid; gap: 1rem; }
.signoff__job { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .25rem 1rem; font-size: .9375rem; }
.signoff__job .mono { color: var(--c-muted); }
.signoff__photos { display: grid; gap: .75rem; }
@media (min-width: 36rem) { .signoff__photos { grid-template-columns: 1fr 1fr; } }
.shot { margin: 0; position: relative; aspect-ratio: 16 / 10; background: #f1f0ec; border-radius: var(--radius-s); border: 1px solid var(--c-line); overflow: hidden; }
.shot svg { display: block; width: 100%; height: 100%; }
.shot figcaption { position: absolute; left: .5rem; top: .5rem; padding: .125rem .5rem; border-radius: 4px; background: rgb(255 255 255 / .92); color: var(--c-text); }
.signoff__note { display: flex; gap: .75rem; align-items: flex-start; font-size: .9375rem; padding-top: .75rem; border-top: 1px solid var(--c-line); }
.signoff__note .mono { display: block; color: var(--c-muted); margin-top: .125rem; font-size: .75rem; }
.signoff__note .snag__who { width: 2.25rem; height: 2.25rem; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--c-bg); border: 1px solid var(--c-line); font-size: .8125rem; font-weight: 600; }

/* How it works: 3 steps on one dimension line (signature echo) */
.how__title { font-size: var(--fs-2); }
.steps { list-style: none; padding: 0; margin: var(--space-5) 0 0; display: grid; gap: var(--space-4); position: relative; }
.step { min-width: 0; display: grid; gap: .5rem; align-content: start; padding-inline-start: 2.75rem; position: relative; }
.step::before { content: ""; position: absolute; left: .9375rem; top: 1.75rem; bottom: calc(-1 * var(--space-4)); width: 1.5px; background: var(--c-text); }
.step:last-child::before { display: none; }
.step__mark { position: absolute; left: 0; top: .125rem; width: 1.875rem; text-align: center; padding-block: .125rem; border-radius: 4px; background: var(--c-accent); border: 1px solid var(--c-text); font-size: .75rem; line-height: 1.2; }
.step h3 { font-size: var(--fs-3); letter-spacing: -.02em; }
.step p { color: var(--c-muted); max-width: 26rem; }
@media (min-width: 46rem) {
  /* One dimension line: a tick at each step, the number sits above it like a measurement */
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-4); padding-top: 3.5rem; }
  .steps::before { content: ""; position: absolute; left: 0; right: 0; top: 2.25rem; height: 1.5px; background: var(--c-text); }
  .steps::after { content: ""; position: absolute; right: 0; top: 1.75rem; width: 0; height: 1rem; border-inline-end: 1.5px solid var(--c-text); }
  .step { padding-inline-start: 0; }
  .step::before, .step:last-child::before { display: block; left: 0; top: -1.75rem; bottom: auto; height: 1rem; }
  .step__mark { top: -3.5rem; }
}

/* Showcase: centred head + one wide framed board (DESIGN.md product band) */
.showcase__head { text-align: center; display: grid; justify-items: center; gap: var(--space-2); margin-bottom: var(--space-5); }
.showcase__head h2 { font-size: var(--fs-2); }
.showcase__head p { color: var(--c-muted); max-width: 40rem; }
.board__tabs { display: flex; flex-wrap: wrap; gap: .375rem; }
.tab { font-size: .8125rem; padding: .25rem .625rem; border-radius: var(--radius-s); border: 1px solid var(--c-line); color: var(--c-muted); }
.tab .mono { font-size: .75rem; margin-inline-start: .25rem; }
.tab--on { color: var(--c-text); border-color: var(--c-text); font-weight: 600; }
.board__progress { display: inline-flex; align-items: center; gap: .625rem; }
.bar { width: 7rem; height: .5rem; border-radius: 999px; background: var(--c-bg); border: 1px solid var(--c-line); overflow: hidden; }
.bar span { display: block; height: 100%; background: var(--c-accent); border-right: 1.5px solid var(--c-text); }
/* Phone: columns swipe sideways inside the board like the app itself (the page never scrolls sideways) */
/* Phone: columns stacked, head + first card each, active house tab only */
.board__cols { display: grid; gap: .75rem; padding: 1rem; background: #f7f6f3; }
@media (max-width: 35.99rem) { .kcol li:nth-child(n+2), .tab:not(.tab--on) { display: none; } }
@media (min-width: 36rem) { .board__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 60rem) { .board__cols { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.kcol { min-width: 0; }
.kcol__head { display: flex; justify-content: space-between; font-size: .8125rem; font-weight: 600; padding: .25rem .25rem .625rem; }
.kcol__head .mono { color: var(--c-muted); font-weight: 400; }
.kcol ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.kcard { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .125rem .5rem; padding: .625rem .75rem; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius-s); font-size: .875rem; line-height: 1.3; }
.kcard .mono { grid-column: 1; color: var(--c-muted); font-size: .75rem; }
.kcard > span:nth-child(2) { grid-column: 1; }
.kcard__who { grid-column: 2; grid-row: 1 / span 2; align-self: center; width: 1.875rem; height: 1.875rem; border-radius: 50%; display: grid; place-items: center; font-size: .75rem; font-weight: 600; background: var(--c-bg); border: 1px solid var(--c-line); }
.kcard--lime { border-color: var(--c-text); }

/* Pricing (library pricing, rem breakpoint + subgrid rows) */
.pricing__head { text-align: center; display: grid; justify-items: center; gap: var(--space-2); margin-bottom: var(--space-5); }
.pricing__head h2 { font-size: var(--fs-2); }
.pricing__head p { color: var(--c-muted); }
.plans { list-style: none; padding: 0; margin: 0 auto; display: grid; gap: var(--space-3); max-width: 30rem; }
.plan-card { min-width: 0; display: grid; grid-template-rows: auto auto 1fr auto; gap: var(--space-2); padding: var(--space-4); background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius); }
.plan-card h3 { font-size: var(--fs-3); letter-spacing: -.02em; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem; }
.plan-card__badge { font: 600 .75rem/1.2 var(--font-body); letter-spacing: 0; padding: .25rem .625rem; border-radius: 999px; background: var(--c-accent); border: 1px solid var(--c-text); max-width: 100%; }
.plan-card__price { font-family: var(--font-display); font-stretch: 125%; font-weight: 600; font-size: 2.75rem; line-height: 1; letter-spacing: -.03em; }
.plan-card__price span { font: 400 .9375rem/1 var(--font-body); letter-spacing: 0; color: var(--c-muted); }
.plan-card__list { list-style: none; padding: var(--space-2) 0 0; margin: 0; border-top: 1px solid var(--c-line); display: grid; gap: .5rem; align-content: start; }
.plan-card__list li { display: flex; gap: .5rem; align-items: flex-start; font-size: .9375rem; }
.plan-card__list .ico { margin-top: .15em; width: 1.125rem; height: 1.125rem; }
.plan-card .btn { margin-top: var(--space-2); }
.plan-card--featured { border-color: var(--c-text); box-shadow: 0 0 0 1px var(--c-text), var(--shadow); }
@media (min-width: 60rem) {
  .plans { max-width: none; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto auto 1fr auto; }
  .plan-card { grid-row: span 4; grid-template-rows: subgrid; }
}

/* FAQ (library faq: heading 1/3, list 2/3) */
.faq__wrap { display: grid; gap: var(--space-4); }
.faq__wrap > * { min-width: 0; }
.faq h2 { font-size: var(--fs-2); }
.faq__list { border-top: 1px solid var(--c-line); }
.faq details { border-bottom: 1px solid var(--c-line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: var(--space-2); align-items: center; min-height: 2.75rem; padding-block: 1.125rem; font-weight: 600; font-size: 1.0625rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 1.75rem; height: 1.75rem; border-radius: 50%; border: 1px solid var(--c-line); background: var(--c-surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316171a' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 1rem no-repeat; transition: transform .2s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
@media (prefers-reduced-motion: no-preference) {
  .faq details[open] .faq__answer { animation: rv-up .35s var(--ease) backwards; }
  /* Chromium: the panel also eases its height (the content keeps its place; other browsers just open) */
  @supports selector(::details-content) {
    .faq details { interpolate-size: allow-keywords; }
    .faq details::details-content { block-size: 0; overflow: clip; transition: block-size .3s var(--ease), content-visibility .3s allow-discrete; }
    .faq details[open]::details-content { block-size: auto; }
  }
}
.faq summary:hover::after { border-color: var(--c-text); }
.faq__answer { padding-bottom: 1.25rem; color: var(--c-muted); max-width: 60ch; }
@media (min-width: 60rem) { .faq__wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: var(--space-6); } }

/* CTA band (library cta) */
.cta__band { background: var(--c-accent); color: var(--c-accent-ink); border: 1px solid var(--c-text); border-radius: calc(var(--radius) + 6px); padding: clamp(3rem, 1.5rem + 5vw, 5rem) clamp(1.5rem, 1rem + 4vw, 4rem); display: grid; gap: var(--space-3); justify-items: center; text-align: center; }
.cta__band h2 { font-size: var(--fs-2); max-width: 18ch; }
.cta__band p { max-width: 34rem; }
.cta__band .btn { min-height: 3.75rem; min-width: min(16rem, 100%); padding: 1.125rem 2.5rem; font-size: 1.1875rem; }

/* Footer (library footer) */
.site-footer { padding-block: var(--space-6) var(--space-3); font-size: .9375rem; container-type: inline-size; }
.site-footer__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4); align-items: start; padding-top: var(--space-5); border-top: 1px solid var(--c-line); }
.site-footer__grid > * { min-width: 0; }
/* Phone: brand and Contact full width, Menu + Legal side by side. */
.site-footer__brand, .site-footer__grid > div:last-child { grid-column: 1 / -1; }
.site-footer__brand p { color: var(--c-muted); margin-top: var(--space-2); max-width: 30ch; }
.site-footer h2 { font: 600 .875rem/1.4 var(--font-body); letter-spacing: 0; color: var(--c-muted); margin-bottom: .75rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .125rem; }
.site-footer__contact li { display: flex; align-items: center; gap: .625rem; }
.site-footer__contact span { display: inline-flex; align-items: center; min-height: 2.75rem; }
.site-footer__icon { flex: none; width: 1.125rem; height: 1.125rem; color: var(--c-muted); }
.site-footer ul a { display: inline-flex; align-items: center; min-height: 2.75rem; text-decoration: none; overflow-wrap: anywhere; }
.site-footer ul a:hover { text-decoration: underline; }
.site-footer__legal { margin-top: var(--space-4); padding-top: var(--space-2); border-top: 1px solid var(--c-line); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .5rem var(--space-2); color: var(--c-muted); font-size: var(--fs-small); }
.site-footer__legal a { display: inline-flex; align-items: center; min-height: 2.75rem; }
/* Brand left, Product + Contact pinned to the right edge (matches the legal row). */
/* Container queries (rem = current text size), so a large browser font drops to the narrower layout. Tablet: brand on its own row, Menu / Legal / Contact spread across. Wide: brand left, three link columns pinned right. */
@container (min-width: 36rem) { .site-footer__grid { grid-template-columns: repeat(3, auto); justify-content: space-between; column-gap: var(--space-5); } .site-footer__grid > div:last-child { grid-column: auto; } .site-footer__brand { grid-column: 1 / -1; } }
@container (min-width: 60rem) { .site-footer__grid { grid-template-columns: minmax(0, 1fr) auto auto auto; justify-content: stretch; column-gap: var(--space-6); } .site-footer__brand { grid-column: auto; } }
@media (pointer: fine) { .site-footer ul a, .site-footer__contact span { min-height: 2rem; } }

/* 404 */
.notfound__inner { min-height: 24rem; display: grid; place-content: center; justify-items: center; text-align: center; gap: var(--space-2); }
.notfound h1 { font-size: var(--fs-2); }
.notfound__inner > p:not(.mono) { color: var(--c-muted); }
.notfound .btn { margin-top: var(--space-2); }

/* Demo modal (library: demo-modal) */
.s-demo { width: min(100% - 2 * var(--gutter), 26rem); max-height: calc(100svh - 2rem); overflow: auto; margin: auto; padding: clamp(1.25rem, 5vw, 2rem); background: var(--c-surface, var(--c-bg)); color: var(--c-text); border: 1px solid var(--c-border, var(--c-line, currentColor)); border-radius: calc(var(--radius) * 1.25); box-shadow: var(--shadow); }
.s-demo::backdrop { background: rgb(0 0 0 / .45); }
.s-demo[open] { display: grid; gap: var(--space-2); animation: s-demo-in .2s var(--ease); }
.s-demo__label { font-size: var(--fs-small); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--c-muted); }
.s-demo__title { font-size: var(--fs-3); text-wrap: balance; }
.s-demo__text { color: var(--c-muted); text-wrap: pretty; }
.s-demo .btn { justify-self: start; margin-top: var(--space-1); min-width: min(12rem, 100%); }
@keyframes s-demo-in { from { opacity: 0; transform: translateY(.5rem); } }
@media (prefers-reduced-motion: reduce) { .s-demo[open] { animation: none; } }
