/* Legal pages and the "Cancel my purchase" flow. Visual design = the approved static returns page
   (app/static/returns.html), scoped under .legal-page so it sits inside the shared layout. */
.legal-page{max-width:680px;margin:0 auto;line-height:1.6}
.legal-page h1{font-weight:500;font-size:44px;margin:0 0 16px;line-height:1.15}
.legal-page h2{font-weight:500;font-size:26px;margin:44px 0 8px}
.legal-page h3{font-size:21px;margin:26px 0 6px}
.legal-page p{margin:0 0 14px}
.legal-page p+p{margin-top:0}
.legal-page .mono{font-family:var(--mono);font-size:12px;letter-spacing:.22em;text-transform:uppercase;color:#8c857b}
.legal-page .lead{font-size:23px}
.legal-page ul,.legal-page ol:not(.steps){margin:0 0 14px 22px}
.legal-page li{margin:4px 0}
.legal-page ol.steps{list-style:none;counter-reset:s;padding:0;margin:20px 0 0}
.legal-page ol.steps li{counter-increment:s;position:relative;padding:0 0 18px 52px;border-left:1px solid var(--line);margin:0 0 0 14px}
.legal-page ol.steps li:last-child{border-left-color:transparent}
.legal-page ol.steps li::before{content:counter(s);position:absolute;left:-15px;top:0;width:28px;height:28px;border-radius:50%;
  background:var(--ink);color:var(--washi);font-family:var(--mono);font-size:12px;display:grid;place-items:center}
.legal-page ol.steps b,.legal-page li b{font-weight:500}
.legal-page .box{border:1px solid var(--line);padding:22px 24px;margin:24px 0}
.legal-page .box .mono{display:block;margin-bottom:8px}
.legal-page .box p:last-child{margin-bottom:0}
.legal-page table{width:100%;border-collapse:collapse;margin:18px 0;font-size:18px}
.legal-page th,.legal-page td{text-align:left;padding:10px 8px;border-bottom:1px solid var(--line);vertical-align:top}
.legal-page th{font-family:var(--mono);font-size:11px;letter-spacing:.18em;text-transform:uppercase;color:#8c857b;font-weight:400}
.legal-page .cta{display:inline-block;margin-top:10px;padding:14px 24px;background:var(--ink);color:var(--washi);text-decoration:none;
  font-family:var(--mono);font-size:13px;letter-spacing:.2em;text-transform:uppercase;min-height:48px}
.legal-page .cta:hover{background:var(--shu)}
.legal-page .cta:focus-visible{outline:2px solid var(--shu);outline-offset:3px}
.legal-page .version{margin-top:56px}
.legal-page .scroll-x{overflow-x:auto}
.legal-page .terms-list{list-style:none;margin:0;counter-reset:t}
.legal-page .terms-list>li{counter-increment:t;margin:0 0 6px}
.legal-page .terms-list h2{font-size:22px;margin:30px 0 6px}
.legal-page .terms-list h2::before{content:counter(t) ". "}
.legal-page .statement{border-left:3px solid var(--shu);padding:6px 0 6px 18px;margin:18px 0;white-space:pre-line}
.legal-page .items{list-style:none;margin:18px 0;padding:0;border-top:1px solid var(--line)}
.legal-page .items li{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:0;padding:14px 0;border-bottom:1px solid var(--line)}
.legal-page .items select{min-height:48px;min-width:72px;padding:6px 10px;border:1px solid var(--stone);background:transparent;font:inherit;font-size:18px;border-radius:0}
.legal-page .items label{font-family:var(--mono);font-size:11px;letter-spacing:.16em;text-transform:uppercase;color:var(--muted);display:block;margin-bottom:4px}
.legal-page .actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:22px}
.legal-page .form-sheet{border:1px solid var(--ink);padding:28px;margin:24px 0}
.legal-page .form-sheet .line{border-bottom:1px solid var(--ink);min-height:30px;margin:6px 0 18px}
.guarantee{border:2px solid #003399;background:#fff;padding:14px 16px;margin:14px 0;font-size:17px;line-height:1.45}
.guarantee strong{color:#003399}
.guarantee img{max-width:100%;height:auto}
.checkout-notices{display:grid;gap:12px;margin:18px 0;font-size:17px;line-height:1.45}
.checkout-notices p{margin:0}
@media (max-width:480px){.legal-page{font-size:19px}.legal-page h1{font-size:36px}.legal-page .box{padding:18px}}
@media print{.site-header,.site-footer,.no-print,.skip{display:none!important}body{background:#fff}.legal-page .form-sheet{border-color:#000}}
