@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

/* Explicit type metrics keep the standalone apps and embedded previews identical. */
html { text-size-adjust:100%; }
body { font-family:Manrope,Inter,system-ui,sans-serif; font-size:14px; line-height:1.55; }
*,*::before,*::after { box-sizing:border-box; }
h1,h2,h3,h4,p { overflow-wrap:break-word; }
h1 { margin:0; font-size:30px; line-height:1.18; font-weight:750; letter-spacing:-.045em; }
h2 { margin:0; font-size:23px; line-height:1.25; font-weight:750; letter-spacing:-.035em; }
h3 { margin:0; font-size:17px; line-height:1.35; font-weight:700; letter-spacing:-.02em; }
h4 { margin:0; font-size:14px; line-height:1.4; }
p { margin:8px 0; line-height:1.6; }
button,input,select,textarea { font:inherit; line-height:1.4; }
button { font-weight:650; }
input,select,textarea { min-width:0; }
button,a,input,select,textarea { -webkit-tap-highlight-color:transparent; }
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible { outline:2px solid var(--focus,#5c88f6); outline-offset:3px; }
button:not(:disabled),a,label.upload-btn { touch-action:manipulation; }
button { transition:background-color .18s,border-color .18s,color .18s,transform .18s; }
button:active:not(:disabled) { transform:translateY(1px); }
img { display:block; max-width:100%; object-fit:contain; }
main,section,article,aside,header { min-width:0; }
table { border-collapse:collapse; font-variant-numeric:tabular-nums; }
strong,input[type=number] { font-variant-numeric:tabular-nums; }
.noise,.orb,.aurora,.page-texture { display:none!important; }
.eyebrow,.section-kicker,.soft-label { font-size:11px; line-height:1.6; letter-spacing:.1em; font-weight:750; }
.demo-tag { display:inline-flex; align-items:center; gap:6px; width:max-content; padding:4px 8px; border:1px solid currentColor; border-radius:5px; font-size:11px; line-height:1.3; letter-spacing:.06em; opacity:.75; }
.demo-tag::before { content:''; width:4px; height:4px; background:currentColor; border-radius:50%; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.section-view.active,.view.is-active { animation:none; }
@media(max-width:640px) {
 h1 { font-size:25px; line-height:1.2; }
 h2 { font-size:21px; line-height:1.28; }
 input,select,textarea { font-size:16px; }
 button { min-height:40px; }
}
@media(prefers-reduced-motion:reduce) {
 *,*::before,*::after { animation:none!important; transition:none!important; scroll-behavior:auto!important; }
}
