/* legal pages – calm document layout (builds on guide.css: .gbody, .gside, .gtoc, .mtoc, .tbl) */

/* hero */
.lh{padding:calc(var(--nav) + 52px) 0 0}
.lh .phero__bg{-webkit-mask-image:linear-gradient(#000 50%,transparent);mask-image:linear-gradient(#000 50%,transparent);opacity:.75}
.lh__h{font-size:clamp(32px,4.2vw,56px);line-height:1.06;letter-spacing:-.03em;max-width:920px;text-wrap:balance}
.lh__h.is-in{animation:ghIn .8s var(--ease) both}
.lh__lead{margin-top:18px;max-width:720px;color:var(--muted);text-wrap:pretty}
.lh__meta{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:26px}
.lpill{display:inline-flex;align-items:center;gap:7px;padding:8px 14px;border-radius:999px;background:var(--card);border:1px solid var(--line);font:500 13.5px/1.2 Inter,sans-serif;color:var(--muted)}
.lpill b{color:var(--text);font-weight:700}
.lpill svg{width:16px;height:16px;fill:none;stroke:var(--orange2);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.lpill--v{border-color:rgba(16,138,72,.35);background:rgba(16,138,72,.08)}.lpill--v svg{stroke:var(--green)}
.lpill--btn{cursor:pointer;transition:color .2s,border-color .2s,background .2s}
.lpill--btn:hover{color:var(--text);border-color:var(--line2);background:var(--card2)}

/* document tabs */
.ltabs{margin-top:46px}
.ltabs[hidden]{display:none}
.ltabs__in{display:flex;gap:4px;width:max-content;max-width:100%;padding:5px;border-radius:999px;background:var(--card);border:1px solid var(--line);overflow-x:auto;scrollbar-width:none}
.ltabs__in::-webkit-scrollbar{display:none}
.ltab{display:inline-flex;align-items:center;gap:8px;flex:none;padding:10px 18px;border-radius:999px;font-size:14.5px;font-weight:600;color:var(--muted);white-space:nowrap;transition:color .2s,background .25s}
.ltab svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.ltab:hover{color:var(--text);background:var(--card2)}
.ltab.is-on{background:var(--text);color:var(--bg);box-shadow:0 10px 24px -14px rgba(var(--ink-rgb),.3)}

/* document */
.lbody{padding-top:56px}
.ldoc{min-width:0;max-width:820px;padding:46px 56px 34px;border-radius:var(--r2);background:linear-gradient(180deg,rgba(var(--ink-rgb),.035),rgba(var(--ink-rgb),.015));border:1px solid var(--line)}
.lprose{max-width:none;font-size:16.5px;line-height:1.78;color:var(--text)}
.lprose .lede{font-size:18px;line-height:1.7;color:var(--text);padding-bottom:28px;margin-bottom:6px;border-bottom:1px solid var(--line);text-wrap:pretty}
.lprose h2{font-size:clamp(21px,2vw,25px);margin:46px 0 14px;letter-spacing:-.018em;scroll-margin-top:calc(var(--nav) + 20px)}
.lprose p{text-wrap:pretty}
.lprose ul{list-style:none;padding-left:0}
.lprose ul li{position:relative;padding-left:24px;margin:9px 0}
.lprose ul li::before{content:"";position:absolute;left:4px;top:.78em;width:8px;height:2px;border-radius:2px;background:var(--orange2)}
.lprose a{color:var(--orange2);text-decoration:underline;text-decoration-color:rgba(168,75,5,.35);text-underline-offset:3px;overflow-wrap:anywhere}
.lprose a:hover{text-decoration-color:currentColor}
.hash{display:inline-block;margin-left:10px;font-weight:600;color:var(--dim)!important;text-decoration:none!important;opacity:0;transition:opacity .2s,color .2s}
.lprose h2:hover .hash,.hash:focus-visible,.hash.is-copied{opacity:1}
.hash:hover{color:var(--orange2)!important}
.hash.is-copied::after{content:attr(data-tip);margin-left:8px;font-size:12px;font-weight:600;letter-spacing:0;color:var(--green);vertical-align:2px}
.lprose .tbl{margin:14px 0 24px}
.lprose table.kv th{width:34%;padding:13px 16px;font-size:14px;font-weight:600;letter-spacing:0;text-transform:none;color:var(--muted);background:rgba(var(--ink-rgb),.03);white-space:normal}
.lprose table.kv td{padding:13px 16px;color:var(--text)}
.lprose table:not(.kv) td:first-child{color:var(--text);font-weight:600}
.ldoc__f{display:flex;flex-wrap:wrap;gap:4px 18px;margin-top:46px;padding-top:22px;border-top:1px solid var(--line);font-size:13px;color:var(--dim)}
.ldoc__f b{color:var(--muted)}
.lside__box{display:flex;flex-direction:column;gap:6px;flex:none;padding:18px 20px;border-radius:var(--r);border:1px solid var(--line);background:var(--card);font-size:13.5px;line-height:1.5}
.lside__box a{color:var(--orange2);overflow-wrap:anywhere}.lside__box a:hover{color:var(--text)}
.lside__box .gside__k{margin-bottom:4px}

/* other documents */
.lmore .sec-h{margin-bottom:28px}
.ldocs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.ldocs--all{grid-template-columns:repeat(2,minmax(0,1fr))}
.ldcard{position:relative;isolation:isolate;display:flex;flex-direction:column;gap:10px;min-height:260px;padding:28px;border-radius:var(--r2);background:var(--card);border:1px solid var(--line);overflow:hidden;transition:transform .45s var(--ease),border-color .3s,box-shadow .45s}
.ldcard__glow{position:absolute;inset:0;z-index:-1;background:radial-gradient(380px circle at var(--mx,85%) var(--my,0%),rgba(47,123,224,.08),transparent 60%);opacity:0;transition:opacity .4s}
.ldcard:hover,.ldcard:focus-visible{transform:translateY(-5px);border-color:rgba(47,123,224,.4);box-shadow:0 36px 60px -40px rgba(47,123,224,.25)}
.ldcard:hover .ldcard__glow{opacity:1}
.ldcard__ic{display:grid;place-items:center;width:48px;height:48px;margin-bottom:10px;border-radius:15px;background:rgba(47,123,224,.1);color:var(--blue2);transition:background .3s,color .3s,transform .4s var(--ease)}
.ldcard__ic svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.ldcard:hover .ldcard__ic{background:var(--orange);color:#1b0d00;transform:rotate(-6deg)}
.ldcard h3{font-size:21px;line-height:1.2}
.ldcard p{color:var(--muted);font-size:14.5px;line-height:1.55}
.ldcard__m{display:flex;flex-wrap:wrap;gap:4px 14px;margin-top:auto;padding-top:8px;font-size:12.5px;color:var(--dim)}
.ldcard__go{display:inline-flex;align-items:center;gap:6px;color:var(--orange2);font-weight:700;font-size:14px}
.ldcard__go svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;transition:transform .3s var(--ease)}
.ldcard:hover .ldcard__go svg{transform:translateX(4px)}
.lhelp{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr) auto;gap:24px;align-items:center;margin-top:28px;padding:30px 32px;border-radius:var(--r2);background:linear-gradient(135deg,rgba(47,123,224,.08),rgba(245,132,31,.05));border:1px solid var(--line)}
.lhelp .eyebrow{margin-bottom:10px}
.lhelp h3{font-size:22px}
.lhelp .muted{margin-top:6px;font-size:14.5px}
.lhelp__l{display:flex;flex-wrap:wrap;gap:8px}

@media (max-width:1100px){.lhelp{grid-template-columns:minmax(0,1fr);gap:18px}.lhelp .btn{justify-self:start}}
@media (max-width:1000px){.lbody{padding-top:36px}.ldoc{max-width:none;padding:34px 30px 28px}}
@media (max-width:860px){.ldocs,.ldocs--all{grid-template-columns:minmax(0,1fr)}.ldcard{min-height:0}}
@media (max-width:600px){
  .lh{padding-top:calc(var(--nav) + 28px)}
  .lh__h{font-size:clamp(30px,8.6vw,40px)}
  .ltabs{margin:34px calc(-1 * var(--gut)) 0}
  .ltabs__in{border-radius:0;border-width:1px 0;padding:6px var(--gut);width:auto}
  .ldoc{padding:0;border:0;background:none;border-radius:0}
  .lprose{font-size:16px}
  .lprose .lede{font-size:17px}
  .lprose table.kv,.lprose table.kv tbody,.lprose table.kv tr,.lprose table.kv th,.lprose table.kv td{display:block;width:auto}
  .lprose table.kv tr{padding:12px 14px;border-bottom:1px solid var(--line)}
  .lprose table.kv tr:last-child{border-bottom:0}
  .lprose table.kv th,.lprose table.kv td{padding:0;border:0;background:none}
  .lprose table.kv th{font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:var(--dim);margin-bottom:3px}
  .hash{opacity:.6}
  .ldcard{padding:22px}
  .lhelp{padding:24px 20px}
}

/* print: just the document */
@media print{
  @page{margin:16mm}
  .lh .phero__bg,.ltabs,.lh__meta,.lmore,.lside__box,.hash{display:none!important}
  .lh{padding:0 0 10pt}.lh__h{color:#000!important;opacity:1!important;animation:none!important;font-size:22pt}.lh__lead{color:#333;font-size:11pt}
  .lh .crumbs{display:none}
  .ldoc *{color:#000!important}.ldoc .ldoc__f,.ldoc .ldoc__f *{color:#333!important}
  .ldoc{max-width:none;padding:0;border:0;background:none}
  .lprose{color:#000;font-size:10.5pt;line-height:1.5}.lprose h2{color:#000;margin-top:16pt;break-after:avoid}
  .lprose .lede{color:#000;font-size:11pt;border-color:#bbb}
  .lprose a{color:#000;text-decoration:none}
  .lprose ul li::before{background:#000}
  .lprose table.kv th{color:#333}.lprose .tbl td,.lprose .tbl th{color:#000}
  .ldoc__f{color:#333;border-color:#bbb}.ldoc__f b{color:#000}
}

/* showcase buttons in the help box */
.lhelp__b{display:flex;flex-wrap:wrap;gap:8px}
.lhelp__b .btn{white-space:nowrap}
@media (max-width:1100px){.lhelp__b{justify-self:start}}
@media (max-width:600px){.lhelp__b{width:100%}.lhelp__b .btn{flex:1 1 auto;justify-content:center}}

/* carrier logos (delivery information) */
.lcarr{display:flex;flex-wrap:wrap;gap:10px;margin:6px 0 18px}
.lcarr__i{position:relative;display:grid;place-items:center;width:132px;height:64px;border-radius:16px;background:rgba(var(--ink-rgb),.035);border:1px solid var(--line);overflow:hidden;transition:border-color .3s,transform .35s var(--ease)}
.lcarr__i::before{content:"";position:absolute;inset:0;background:radial-gradient(90px circle at 50% 120%,var(--cc),transparent 70%);opacity:.14;transition:opacity .3s}
.lcarr__i:hover{border-color:color-mix(in srgb,var(--cc) 55%,transparent);transform:translateY(-2px)}
.lcarr__i:hover::before{opacity:.26}
.lcarr__i{display:flex;align-items:center;justify-content:center} /* flex, not grid: an auto grid row grew to the glyph box (76–96px) and pushed the marks off-centre in the 56–64px tile */
.lcarr__i img{position:relative;flex:none;width:76px;height:76px;max-width:none;object-fit:contain;filter:invert(1);opacity:.8}   /* white marks inverted to ink on the light tile */ /* square Simple Icons glyphs: FedEx/DHL wordmarks sit in a band across the middle */
.lcarr__i--dhl img{width:96px;height:96px}
.lcarr__i--ups img{width:40px;height:40px}
@media (max-width:600px){.lcarr{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.lcarr__i{width:auto;height:56px}}
@media print{.lcarr__i{border-color:#bbb;background:none}.lcarr__i::before{display:none}.lcarr__i img{opacity:1}}
@media (max-width:600px){.lhelp__l .chip{min-height:40px;display:inline-flex;align-items:center}}
/* phones: no copy-link "#" (hover affordance), finger-sized print pill and table links */
@media (max-width:600px){
  .lprose .hash{display:none}
  .lpill--btn{min-height:40px}
  .lprose td a{display:inline-flex;align-items:center;min-height:40px}
}
