@media (prefers-reduced-motion:no-preference){html{scroll-behavior:smooth}}.demo{--side-x:clamp(1.5rem, 5vw, 5.5rem);--field-line:color-mix(in srgb, var(--ink) 24%, transparent);--error:#b3361b;grid-template-columns:minmax(0,1fr);display:grid}.demo-side{position:relative}.demo-top{z-index:5;padding:var(--hud-pad);pointer-events:none;justify-content:space-between;align-items:center;gap:1rem;display:flex;position:absolute;top:0;left:0;right:0}.demo-top>*{pointer-events:auto}.demo-logo{border-radius:6px;display:grid}.demo-logo img{grid-area:1/1;width:auto;height:40px}.demo-logo .logo-white{opacity:0}.demo-back{border:1px solid color-mix(in srgb, var(--paper) 45%, transparent);color:var(--paper);white-space:nowrap;border-radius:999px;align-items:center;gap:.5rem;padding:.55rem 1.1rem;font-size:.92rem;font-weight:500;text-decoration:none;transition:background-color .3s,color .3s,border-color .3s;display:inline-flex}.demo-back svg{width:15px;height:15px;transition:translate .35s var(--ease-expo)}.demo-back:hover{background:var(--paper);border-color:var(--paper);color:var(--trunk)}.demo-back:hover svg{translate:-3px}.demo-back:focus-visible{outline-color:var(--pale)}.demo-side--full{padding:3.5rem var(--side-x) 4.5rem;flex-direction:column;justify-content:center;display:flex}.demo-full{width:100%;max-width:34rem;margin:0 auto}.demo-title{font-family:var(--f-display);letter-spacing:-.015em;text-wrap:balance;margin-bottom:clamp(1.6rem,3.5vh,2.25rem);font-size:clamp(2rem,3.6vw,2.9rem);font-weight:700;line-height:1.06}.demo-form{gap:1.4rem;display:grid}.demo-row{grid-template-columns:repeat(auto-fit,minmax(13rem,1fr));align-items:start;gap:1.4rem 1.1rem;display:grid}.demo-actions{flex-wrap:wrap;align-items:center;gap:1rem 1.6rem;margin-top:.5rem;display:flex}.demo-note{max-width:18rem;color:var(--muted);font-size:.82rem;line-height:1.5}.demo-note a{color:var(--accent-2);text-underline-offset:.2em}.demo-side--quick{color:var(--paper);background:radial-gradient(ellipse 70% 60% at 50% 45%, color-mix(in srgb, var(--leaf) 20%, var(--trunk)), var(--trunk))}.demo-side-in{padding:calc(var(--hud-pad) + 40px + 1.75rem) var(--side-x) 3rem;flex-direction:column;justify-content:center;display:flex}.demo-quick{background:color-mix(in srgb, var(--pale) 55%, var(--paper));width:100%;max-width:29rem;color:var(--ink);transition:translate .5s var(--ease-expo), box-shadow .5s var(--ease-expo);border-radius:24px;margin:0 auto;padding:clamp(1.6rem,3.2vw,2.4rem);box-shadow:0 30px 60px -32px #04120bbf}.demo-quick:focus-within{translate:0 -4px;box-shadow:0 40px 70px -32px #04120bd9}.demo-quick .tier-label{margin-bottom:.75rem}.demo-quick-title{font-family:var(--f-display);font-size:1.65rem;font-weight:560;line-height:1.15}.demo-quick-text{color:var(--muted);margin:.5rem 0 1.5rem;font-size:.98rem}.demo-field{border:0;min-width:0;margin:0;padding:0}.demo-label{margin-bottom:.45rem;padding:0;font-size:.86rem;font-weight:500;transition:color .2s;display:block}.demo-field:focus-within>.demo-label{color:var(--accent)}.demo-control{position:relative}.demo-input{border:1px solid var(--field-line);width:100%;height:3.1rem;color:var(--ink);font:inherit;transition:border-color .25s ease, box-shadow .3s var(--ease-expo);background:#fff;border-radius:12px;padding:0 2.6rem 0 1rem;font-size:1rem;display:block}.demo-input::placeholder{color:var(--muted);opacity:1}.demo-input:hover{border-color:color-mix(in srgb, var(--ink) 45%, transparent)}.demo-input:focus-visible{border-color:var(--trunk);box-shadow:0 0 0 4px color-mix(in srgb, var(--leaf) 30%, transparent);outline:none}.demo-field[data-state=ok] .demo-input{border-color:color-mix(in srgb, var(--leaf) 60%, var(--field-line))}.demo-field[data-state=error] .demo-input{border-color:var(--error)}.demo-field[data-state=error] .demo-input:focus-visible{box-shadow:0 0 0 4px color-mix(in srgb, var(--error) 18%, transparent)}.demo-input--big{border-radius:999px;height:3.4rem;padding:0 3rem 0 1.3rem;font-size:1.06rem}.demo-select{appearance:none;cursor:pointer;background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230A5235' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>");background-position:right 1rem center;background-repeat:no-repeat;padding-right:4.4rem}.demo-select:invalid{color:var(--muted)}.demo-select option{color:var(--ink)}.demo-tick{width:1.05rem;height:1.05rem;color:var(--leaf-ink);pointer-events:none;opacity:0;transition:opacity .2s ease, scale .45s var(--ease-expo);margin-top:-.525rem;position:absolute;top:50%;right:1rem;scale:.6}.demo-select~.demo-tick{right:2.75rem}.demo-input--big~.demo-tick{right:1.35rem}.demo-tick path,.demo-pill-tick path{stroke-dasharray:1;stroke-dashoffset:1px;transition:stroke-dashoffset .45s var(--ease-expo) 50ms}.demo-field[data-state=ok] .demo-tick{opacity:1;scale:1}.demo-field[data-state=ok] .demo-tick path{stroke-dashoffset:0}.demo-pills{grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem;display:grid}.demo-pill{display:block;position:relative}.demo-pill input{opacity:0;cursor:pointer;width:100%;height:100%;margin:0;position:absolute;inset:0}.demo-pill span{border:1px solid var(--field-line);height:3.1rem;transition:background-color .3s ease, border-color .3s ease, color .3s ease, scale .2s var(--ease-out);background:#fff;border-radius:12px;justify-content:center;align-items:center;font-size:.98rem;font-weight:500;display:flex}.demo-pill:hover span{border-color:var(--trunk)}.demo-pill:active span{scale:.97}.demo-pill input:checked+span{background:var(--trunk);border-color:var(--trunk);color:var(--paper)}.demo-pill input:focus-visible+span{outline:2px solid var(--focus);outline-offset:3px}.demo-field[data-state=error] .demo-pill span{border-color:var(--error)}.demo-pill-tick{opacity:0;width:0;height:1em;transition:width .4s var(--ease-expo), margin .4s var(--ease-expo), opacity .2s ease;flex:none;margin-right:0}.demo-pill input:checked+span .demo-pill-tick{opacity:1;width:1em;margin-right:.4em}.demo-pill input:checked+span .demo-pill-tick path{stroke-dashoffset:0}.demo-msg{visibility:hidden;transition:grid-template-rows .3s var(--ease-expo), visibility 0s .3s;grid-template-rows:0fr;display:grid}.demo-msg[data-open]{visibility:visible;transition:grid-template-rows .35s var(--ease-expo);grid-template-rows:1fr}.demo-error{min-height:0;color:var(--error);opacity:0;transition:opacity .2s ease, translate .35s var(--ease-expo);font-size:.84rem;overflow:hidden;translate:0 -4px}.demo-error:before{content:"";height:.4rem;display:block}.demo-msg[data-open] .demo-error{opacity:1;translate:none}.demo-fail{color:var(--error);flex-basis:100%;font-size:.92rem}.demo-quick .demo-fail{margin-top:1rem}.demo-fail a{color:inherit;text-underline-offset:.2em}.demo-trap{width:1px;height:1px;position:absolute;left:-10000px;overflow:hidden}.demo-btn{cursor:pointer;background:var(--trunk);color:var(--paper);font-family:var(--f-body);transition:background-color .3s ease, box-shadow .35s var(--ease-expo), scale .2s var(--ease-out);border:0;border-radius:999px;justify-content:center;align-items:center;gap:.6rem;font-size:1.05rem;font-weight:500;display:inline-flex}.demo-btn:hover{background:#0d6643;box-shadow:0 12px 26px -14px #04120bb3}.demo-btn:active{scale:.98}.demo-btn[aria-disabled]{cursor:progress}.demo-btn-icon{width:17px;height:17px;transition:translate .4s var(--ease-expo);place-items:center;display:inline-grid}.demo-btn-icon svg{width:17px;height:17px}.demo-btn:hover .demo-btn-icon{translate:4px}.demo-spin{border:2px solid;border-right-color:#0000;border-radius:50%;width:15px;height:15px;animation:.7s linear infinite demo-spin}.demo-send{width:100%;height:3.5rem;margin-top:1rem;font-weight:600}.demo-submit{padding:.95rem 1.65rem}.demo-check{width:3rem;height:3rem;margin-bottom:1.1rem;overflow:visible}.demo-check circle{fill:var(--trunk)}.demo-check path{fill:none;stroke:var(--paper);stroke-width:3.4px;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:1;stroke-dashoffset:0}.demo-done h2{font-family:var(--f-display);font-size:1.7rem;font-weight:560;line-height:1.15}.demo-done h2:focus-visible{outline:none}.demo-done p{color:var(--muted);overflow-wrap:anywhere;margin-top:.6rem}.demo-done--full{background:color-mix(in srgb, var(--pale) 55%, var(--paper));border-radius:20px;padding:2rem}.demo-full[data-step=book]{max-width:44rem}.demo-full[data-step=book] .demo-title{display:none}.demo-book-title{font-family:var(--f-display);margin-bottom:1.25rem;font-size:clamp(1.7rem,3vw,2.3rem);font-weight:700;line-height:1.1}.demo-book-title:focus-visible{outline:none}.demo-book{gap:.9rem;display:grid}.demo-book-frame{border:1px solid var(--field-line);background:#fff;border-radius:20px;min-height:42rem;position:relative;overflow:hidden}.demo-book-frame iframe{opacity:0;border:0;width:100%;height:100%;transition:opacity .4s;position:absolute;inset:0}.demo-book-frame[data-loaded] iframe{opacity:1}.demo-book-loading{color:var(--muted);place-items:center;font-size:.95rem;display:grid;position:absolute;inset:0}.demo-book-frame[data-loaded] .demo-book-loading{display:none}@media (width<=640px){.demo-book-frame{min-height:46rem}}@media (prefers-reduced-motion:no-preference){.demo-top{animation:.8s .1s both demo-fade}.demo-title{animation:demo-rise .9s var(--ease-expo) both .12s}.demo-form>*{animation:demo-rise .9s var(--ease-expo) both;animation-delay:calc(.18s + var(--i,0) * 60ms)}.demo-form>:nth-child(2){--i:1}.demo-form>:nth-child(3){--i:2}.demo-form>:nth-child(4){--i:3}.demo-form>:nth-child(5){--i:4}.demo-form>:nth-child(6){--i:5}.demo-quick{animation:demo-from-right 1s var(--ease-expo) both .3s}.demo-done{animation:demo-rise .7s var(--ease-expo) both}.demo-check circle{transform-box:fill-box;transform-origin:50%;animation:demo-pop .6s var(--ease-expo) both .1s}.demo-check path{animation:demo-draw .45s var(--ease-out) both .35s}.demo-fail{animation:demo-rise .5s var(--ease-expo) both}}@keyframes demo-fade{0%{opacity:0}}@keyframes demo-rise{0%{opacity:0;transform:translateY(14px)}}@keyframes demo-from-right{0%{opacity:0;transform:translate(28px)}}@keyframes demo-pop{0%{opacity:0;transform:scale(.4)}}@keyframes demo-draw{0%{stroke-dashoffset:1px}}@keyframes demo-spin{to{rotate:360deg}}@media (width<=899px){.demo-back{display:none}.demo-side--full{padding-top:calc(var(--hud-pad) + 40px + 2rem)}.demo-side-in{padding-top:3.5rem}}@media (width>=900px){.demo{grid-template-columns:repeat(2,minmax(0,1fr));min-height:100svh}.demo-side--full{min-height:100svh;padding-top:clamp(calc(var(--hud-pad) + 40px + 2.5rem), 19vh, 11rem);justify-content:flex-start}.demo-side-in{min-height:100svh;padding-bottom:4rem}}@media (width>=900px) and (height>=640px){.demo-side-in{position:sticky;top:0}}@media (width<=640px){.demo-logo img{height:37px}.demo-actions .demo-submit{width:100%}}@media (prefers-reduced-motion:reduce){.demo-label,.demo-input,.demo-tick,.demo-tick path,.demo-pill span,.demo-pill-tick,.demo-pill-tick path,.demo-msg,.demo-error,.demo-quick,.demo-btn,.demo-btn-icon,.demo-back,.demo-back svg{transition:none}.demo-quick:focus-within{translate:none}.demo-spin{animation-duration:1.6s}}
