/* Extra styles for the store (checkout toast, download list, forms, legal pages) */
.narrow{max-width:760px;margin:0 auto}
.narrow h1{font-size:clamp(1.9rem,5vw,2.8rem);margin-bottom:.8rem}
.legal h2{font-size:1.25rem;margin:2rem 0 .5rem}
.legal p,.legal li{color:var(--muted)}
.legal ul{padding-left:1.2rem}
.actions{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:1.2rem}
.flinks{display:flex;flex-wrap:wrap;gap:.4rem 1.2rem;margin:.8rem 0 0}
.flinks a{color:inherit}
.dl{display:flex;gap:1rem;align-items:center;justify-content:space-between;flex-wrap:wrap;border:1px solid var(--line);background:var(--bg);border-radius:14px;padding:1rem 1.2rem;margin:.75rem 0}
.dl b{display:block}
.dl small{color:var(--muted)}
#rec label{display:block;font-weight:700;margin:1rem 0 .3rem}
#rec input{width:100%;min-height:48px;padding:.6rem .9rem;border-radius:12px;border:2px solid var(--line);background:var(--bg);color:var(--ink);font:inherit}
.toast{position:fixed;left:50%;bottom:5.5rem;transform:translateX(-50%);max-width:min(92vw,520px);background:var(--ink);color:var(--bg);padding:.85rem 1.2rem;border-radius:12px;box-shadow:var(--shadow);z-index:60;font-weight:600}
.toast.err{background:#B42318;color:#fff}
.btn[disabled]{opacity:.65;cursor:progress;transform:none}

/* ---- thank-you page ---- */
.tyhero .tyin{display:flex;flex-direction:column;align-items:center;text-align:center;padding:4rem 1.25rem 4.5rem}
.tyhero h1{font-size:clamp(2rem,5.4vw,3.6rem);font-weight:800;margin:.2rem 0 1rem;max-width:20ch}
.tyhero .lead{margin:0 auto}
.tick{width:84px;height:84px;margin-bottom:1.2rem;display:none}
.tick.on{display:block}
.tick svg{width:100%;height:100%}
.tick circle{stroke:#5EEAD4;stroke-width:3;stroke-dasharray:151;stroke-dashoffset:151;animation:tydraw .8s ease forwards}
.tick path{stroke:#5EEAD4;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:40;stroke-dashoffset:40;animation:tydraw .5s .6s ease forwards}
@keyframes tydraw{to{stroke-dashoffset:0}}
@media (prefers-reduced-motion:reduce){.tick circle,.tick path{animation:none;stroke-dashoffset:0}}
.dlcard{display:flex;align-items:center;gap:1.1rem;flex-wrap:wrap;background:var(--panel);border:1px solid var(--line);border-radius:18px;padding:1.2rem 1.4rem;margin:.9rem 0;box-shadow:var(--shadow)}
.dlcard .ic{width:54px;height:54px;border-radius:14px;display:grid;place-items:center;background:linear-gradient(135deg,#4338CA,#0EA5A4);color:#fff;font-weight:800;font-size:.8rem}
.dlcard .meta{flex:1;min-width:200px}
.dlcard b{display:block;font-size:1.05rem}
.dlcard small{color:var(--muted)}
.steps.three{grid-template-columns:repeat(3,minmax(0,1fr))}
.tytwo{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.2rem;margin-top:1.2rem}
.tytwo h3{margin-bottom:.5rem}
.sub{margin-top:2.4rem!important}
@media (max-width:760px){.steps.three,.tytwo{grid-template-columns:1fr}}
