/* polish.css — small, additive refinements loaded after neo.css.
   To switch it off completely: delete its <link> line in src/web/render.js (nothing else depends on it). */
html{scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
/* Persian/Arabic script is cursive: any letter-spacing (even -.02em on headings) disturbs the joins. */
html[lang=fa] h1,html[lang=fa] h2,html[lang=fa] h3,html[lang=fa] h4,html[lang=fa] .btn,html[lang=fa] .eyebrow{letter-spacing:0}
h1,h2{text-wrap:balance}
.lead,.card p{text-wrap:pretty}
/* visible keyboard focus everywhere */
:focus-visible{outline:3px solid color-mix(in srgb,var(--brand) 55%,transparent);outline-offset:3px}
::selection{background:color-mix(in srgb,var(--brand) 25%,transparent)}
.btn:active{transform:translateY(0) scale(.98)}
.card:hover{border-color:color-mix(in srgb,var(--brand) 35%,var(--line))}
[id]{scroll-margin-top:88px}
