/* Legal pages: privacy policy, terms, terms of sale */
.lg-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 200; pointer-events: none; }
.lg-progress i { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--blue-2), var(--accent)); }

.lg-hero { padding: 140px 0 70px; }
.lg-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.5fr .7fr; gap: 48px; align-items: center; }
.lg-hero h1 { font-size: clamp(34px, 4.4vw, 54px); line-height: 1.08; margin: 18px 0 16px; letter-spacing: -.01em; }
.lg-hero .lead { color: rgba(255,255,255,.78); font-size: 18px; max-width: 640px; margin: 0 0 26px; }
.lg-meta { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 28px; }
.lg-meta div { border: 1px solid var(--line-dark); background: rgba(148,212,244,.06); border-radius: 10px; padding: 9px 14px; min-width: 0; }
.lg-meta dt { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin: 0 0 2px; }
.lg-meta dd { margin: 0; font-size: 14px; color: #fff; overflow-wrap: anywhere; }
.lg-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.lg-actions .btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; margin-right: 8px; }
.lg-actions .btn-outline { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.5); }
.lg-actions .btn-outline:hover { background: rgba(255,255,255,.08); border-color: #fff; }
.lg-actions .btn.done { border-color: var(--accent); color: var(--accent); }

/* Hero document graphic */
.lg-doc { position: relative; justify-self: center; width: 260px; height: 300px; }
.lg-doc-card { position: absolute; inset: 0 30px 40px 0; border-radius: 18px; background: linear-gradient(160deg, rgba(148,212,244,.14), rgba(0,84,133,.18)); border: 1px solid rgba(148,212,244,.3); display: grid; place-items: center; overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,.35); animation: lg-float 6s ease-in-out infinite; }
.lg-doc-card svg { width: 140px; height: 140px; overflow: visible; position: relative; z-index: 1; }
.lg-doc-card svg path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.lg-s1 { stroke: var(--accent); stroke-width: 3; stroke-dasharray: 400; stroke-dashoffset: 400; animation: lg-draw 1.8s var(--ease) .2s forwards; }
.lg-lines { stroke: rgba(255,255,255,.55); stroke-width: 3; stroke-dasharray: 60; stroke-dashoffset: 60; animation: lg-draw 1.2s var(--ease) 1.1s forwards; }
.lg-tick { stroke: #fff; stroke-width: 4; stroke-dasharray: 120; stroke-dashoffset: 120; animation: lg-draw 1s var(--ease) 1.6s forwards; }
.lg-scan { position: absolute; left: 0; right: 0; height: 40%; top: -40%; background: linear-gradient(180deg, transparent, rgba(148,212,244,.22), transparent); animation: lg-scan 3.6s ease-in-out 2.2s infinite; }
.lg-doc-rows { position: absolute; right: 0; bottom: 0; width: 170px; padding: 16px; border-radius: 14px; background: var(--navy-card); border: 1px solid var(--line-dark); display: grid; gap: 9px; animation: lg-float 6s ease-in-out -3s infinite; }
.lg-doc-rows i { display: block; height: 7px; border-radius: 4px; background: rgba(148,212,244,.25); transform-origin: 0 50%; animation: lg-row 4s ease-in-out infinite; }
.lg-doc-rows i:nth-child(2) { width: 80%; animation-delay: .3s; }
.lg-doc-rows i:nth-child(3) { width: 92%; animation-delay: .6s; }
.lg-doc-rows i:nth-child(4) { width: 55%; animation-delay: .9s; background: var(--accent); }
@keyframes lg-draw { to { stroke-dashoffset: 0; } }
@keyframes lg-float { 50% { transform: translateY(-10px); } }
@keyframes lg-scan { 0% { top: -40%; } 60%, 100% { top: 110%; } }
@keyframes lg-row { 0%, 100% { transform: scaleX(1); } 50% { transform: scaleX(.6); } }

/* Procurement band (sale terms) */
.lg-proc { background: var(--light); padding: 56px 0 10px; }
.lg-proc-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 22px; }
.lg-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; min-width: 0; opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.lg-card.in, .lg-gl.in { opacity: 1; transform: none; }
.lg-k { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); font-weight: 600; margin: 0 0 14px; }
.lg-co-dl { margin: 0; display: grid; gap: 0; }
.lg-co-dl div { display: grid; grid-template-columns: 150px 1fr; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); align-items: center; }
.lg-co-dl div:first-child { border-top: 0; padding-top: 0; }
.lg-co-dl dt { font-size: 13px; color: var(--muted); }
.lg-co-dl dd { margin: 0; display: flex; gap: 10px; align-items: center; justify-content: space-between; font-weight: 500; color: var(--ink); min-width: 0; }
.lg-co-dl dd span { overflow-wrap: anywhere; }
.lg-copy { flex: none; font: 600 12px var(--font); border: 1px solid var(--line); background: var(--light); color: var(--blue); border-radius: 999px; padding: 5px 12px; cursor: pointer; transition: all .2s; }
.lg-copy:hover { border-color: var(--blue); }
.lg-copy.done { background: var(--blue); color: #fff; border-color: var(--blue); }
.lg-req { background: var(--navy); color: #fff; border-color: var(--navy); position: relative; overflow: hidden; }
.lg-req::after { content: ""; position: absolute; width: 260px; height: 260px; right: -90px; bottom: -110px; border-radius: 50%; border: 1px solid rgba(148,212,244,.25); box-shadow: 0 0 0 30px rgba(148,212,244,.04), 0 0 0 60px rgba(148,212,244,.03); }
.lg-req .lg-k { color: var(--accent); }
.lg-req h3 { font-size: 22px; line-height: 1.3; margin: 0 0 10px; }
.lg-req p { color: rgba(255,255,255,.75); margin: 0 0 22px; }
.lg-req .btn { position: relative; z-index: 1; }
.lg-gl-h { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: baseline; }
.lg-gl-h span { text-transform: none; letter-spacing: 0; color: var(--muted); font-weight: 400; font-size: 13px; }
.lg-glance { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.lg-gl { display: flex; flex-direction: column; gap: 8px; padding: 18px; border-radius: 12px; background: #fff; border: 1px solid var(--line); color: var(--ink); text-decoration: none; opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .5s var(--ease), border-color .2s, box-shadow .2s; min-width: 0; }
.lg-gl:nth-child(2) { transition-delay: .06s; } .lg-gl:nth-child(3) { transition-delay: .12s; } .lg-gl:nth-child(4) { transition-delay: .18s; } .lg-gl:nth-child(5) { transition-delay: .24s; } .lg-gl:nth-child(6) { transition-delay: .3s; }
.lg-gl:hover { border-color: var(--blue); box-shadow: 0 10px 24px rgba(0,21,52,.08); }
.lg-gl b { font-size: 30px; line-height: 1; color: var(--navy); font-weight: 700; }
.lg-gl small { font-size: 13px; font-weight: 500; color: var(--blue); margin-left: 5px; }
.lg-gl span { font-size: 13px; color: var(--muted); line-height: 1.4; }

/* Body */
.lg-body { padding: 56px 0 100px; background: var(--light); }
.lg-grid { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 40px; align-items: start; }
.lg-toc { position: sticky; top: 100px; max-height: calc(100vh - 120px); overflow: auto; scrollbar-width: thin; }
.lg-toc-in { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px 16px 16px; }
.lg-toc .lg-k { padding: 0 8px; }
.lg-find { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 10px; padding: 0 10px; margin: 0 0 12px; background: var(--light); }
.lg-find:focus-within { border-color: var(--blue); background: #fff; }
.lg-find svg { width: 16px; height: 16px; fill: none; stroke: var(--muted); stroke-width: 2; flex: none; }
.lg-find input { flex: 1; min-width: 0; border: 0; background: none; font: 14px var(--font); padding: 10px 0; outline: none; color: var(--ink); }
.lg-hits { font-size: 12px; color: var(--blue); font-weight: 600; white-space: nowrap; }
.lg-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.lg-toc a { display: flex; gap: 10px; padding: 8px 10px; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: 14px; line-height: 1.35; position: relative; transition: background .2s, color .2s; }
.lg-toc a span { flex: none; min-width: 22px; color: var(--muted); font-weight: 600; font-size: 13px; }
.lg-toc a:hover { background: var(--light); }
.lg-toc a.on { background: rgba(0,84,133,.08); color: var(--blue); font-weight: 600; }
.lg-toc a.on::before { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 3px; border-radius: 3px; background: var(--blue); }
.lg-toc a.on span { color: var(--blue); }
.lg-toc a.dim { opacity: .35; }

.lg-doc-body { min-width: 0; }
.lg-intro { background: var(--navy); color: #fff; border-radius: var(--radius-lg); padding: 24px 28px; font-size: 17px; margin: 0 0 18px; }
.lg-sec { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 34px; margin: 0 0 16px; scroll-margin-top: 100px; transition: border-color .3s, box-shadow .3s; }
.lg-sec.on { border-color: rgba(0,84,133,.35); box-shadow: 0 14px 34px rgba(0,21,52,.06); }
.lg-sec h2 { font-size: 22px; line-height: 1.3; margin: 0 0 14px; color: var(--navy); display: flex; gap: 12px; align-items: baseline; }
.lg-n { flex: none; display: inline-grid; place-items: center; min-width: 34px; height: 34px; padding: 0 8px; border-radius: 9px; background: var(--navy); color: var(--accent); font-size: 14px; font-weight: 700; transform: translateY(-2px); }
.lg-anchor { margin-left: auto; color: var(--line); text-decoration: none; font-weight: 600; opacity: 0; transition: opacity .2s, color .2s; }
.lg-sec:hover .lg-anchor, .lg-anchor:focus { opacity: 1; color: var(--blue); }
.lg-anchor.done::after { content: "Link copied"; font-size: 12px; margin-left: 6px; }
.lg-sec p, .lg-sec li, .lg-sec dd { color: #33445c; line-height: 1.75; font-size: 15.5px; }
.lg-sec p { margin: 0 0 14px; }
.lg-sec p:last-child { margin-bottom: 0; }
.lg-sec a { color: var(--blue); }
.lg-sub { font-size: 17px; color: var(--navy); margin: 22px 0 10px; display: flex; gap: 10px; align-items: center; scroll-margin-top: 100px; }
.lg-sub .lg-n { min-width: 44px; height: 28px; font-size: 13px; background: var(--blue); color: #fff; transform: none; }
.lg-list { margin: 0 0 16px; padding: 0; list-style: none; display: grid; gap: 8px; }
.lg-list li { position: relative; padding-left: 26px; }
.lg-list li::before { content: ""; position: absolute; left: 4px; top: 11px; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); box-shadow: 0 0 0 3px rgba(148,212,244,.25); }
.lg-alpha { list-style: none; margin: 4px 0 16px; padding: 0 0 0 56px; display: grid; gap: 8px; }
.lg-alpha li { display: flex; gap: 10px; }
.lg-alpha li span { flex: none; color: var(--blue); font-weight: 600; }
.lg-clause { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 4px; padding: 10px 0; border-top: 1px dashed var(--line); scroll-margin-top: 100px; }
.lg-sec h2 + .lg-clause, .lg-sub + .lg-clause, .lg-sec > p + .lg-clause { border-top: 0; }
.lg-cn { font-weight: 700; font-size: 14px; color: var(--blue); text-decoration: none; padding-top: 3px; }
.lg-cn:hover { text-decoration: underline; }
.lg-clause:target, .lg-sub:target { animation: lg-flash 2s ease; }
@keyframes lg-flash { 0%, 40% { background: rgba(148,212,244,.25); } 100% { background: transparent; } }
.lg-defs { margin: 0; display: grid; gap: 10px; }
.lg-defs div { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 18px; padding: 14px 16px; border-radius: 10px; background: var(--light); }
.lg-defs dt { font-weight: 600; color: var(--navy); }
.lg-defs dd { margin: 0; }
.lg-fees { margin: 6px 0 14px 56px; padding: 18px 20px; border-radius: 12px; background: var(--navy); display: grid; gap: 12px; }
.lg-fees-h { color: var(--accent) !important; font-size: 12px !important; letter-spacing: .12em; text-transform: uppercase; margin: 0 !important; font-weight: 600; }
.lg-fee { display: grid; grid-template-columns: 270px 1fr 48px; gap: 14px; align-items: center; }
.lg-fee-l { color: rgba(255,255,255,.85); font-size: 14px; }
.lg-fee b { color: #fff; text-align: right; }
.lg-fee-bar { height: 10px; border-radius: 6px; background: rgba(148,212,244,.15); overflow: hidden; }
.lg-fee-bar i { display: block; height: 100%; width: calc(var(--p) * 1%); border-radius: 6px; background: linear-gradient(90deg, var(--blue-2), var(--accent)); transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.1s var(--ease); }
.lg-fee:nth-child(3) .lg-fee-bar i { transition-delay: .15s; } .lg-fee:nth-child(4) .lg-fee-bar i { transition-delay: .3s; }
.lg-fees.in .lg-fee-bar i { transform: scaleX(1); }
mark.lg-hl { background: rgba(148,212,244,.55); color: inherit; border-radius: 3px; padding: 0 1px; }
mark.lg-hl.cur { background: var(--accent); box-shadow: 0 0 0 2px var(--blue); }
.lg-sec.miss { opacity: .45; }
.lg-end { margin-top: 26px; padding: 26px 28px; border-radius: var(--radius-lg); border: 1px dashed rgba(0,84,133,.3); }
.lg-end p { margin: 0 0 14px; color: var(--ink); }
.lg-end a { color: var(--blue); }
.lg-rels { display: flex; gap: 12px; flex-wrap: wrap; }
.lg-rel { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); text-decoration: none; font-weight: 600; font-size: 14px; color: var(--navy) !important; transition: border-color .2s, gap .2s; }
.lg-rel:hover { border-color: var(--blue); gap: 14px; }
.lg-rel svg { width: 16px; height: 16px; fill: none; stroke: var(--blue); stroke-width: 2; }

@media (max-width: 1080px) {
  .lg-glance { grid-template-columns: repeat(3, 1fr); }
  .lg-grid { grid-template-columns: 1fr; }
  .lg-toc { position: static; max-height: none; }
  .lg-toc ol { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .lg-hero-grid { grid-template-columns: 1fr; }
  .lg-doc { display: none; }
  .lg-proc-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .lg-hero { padding: 120px 0 50px; }
  .lg-glance { grid-template-columns: 1fr 1fr; }
  .lg-toc ol { grid-template-columns: 1fr; }
  .lg-sec { padding: 22px 18px; }
  .lg-sec h2 { font-size: 19px; }
  .lg-clause { grid-template-columns: 1fr; gap: 2px; }
  .lg-alpha { padding-left: 8px; }
  .lg-fees { margin-left: 0; }
  .lg-fee { grid-template-columns: 1fr 44px; }
  .lg-fee-l { grid-column: 1 / -1; }
  .lg-defs div, .lg-co-dl div { grid-template-columns: 1fr; gap: 4px; }
  .lg-intro { padding: 20px; font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .lg-doc-card, .lg-doc-rows, .lg-scan, .lg-doc-rows i { animation: none; }
  .lg-s1, .lg-lines, .lg-tick { animation: none; stroke-dashoffset: 0; }
}

@media print {
  header, footer, .site-header, .site-footer, .lg-progress, .lg-toc, .lg-actions, .lg-doc, .hero-bg, .lg-req, .lg-anchor, .lg-copy, .lg-rels, .newsletter, .cta-band { display: none !important; }
  body { background: #fff !important; }
  .lg-hero { background: #fff !important; color: #000 !important; padding: 0 0 12px !important; }
  .lg-hero h1, .lg-hero h1 .hl, .lg-hero .lead, .lg-meta dd { color: #000 !important; }
  .lg-hero .pill, .crumbs { display: none !important; }
  .lg-meta div { border-color: #bbb; background: none; }
  .lg-meta dt { color: #333; }
  .lg-hero-grid, .lg-grid, .lg-proc-grid { display: block; }
  .lg-proc, .lg-body { background: #fff; padding: 0; }
  .lg-card, .lg-gl { opacity: 1 !important; transform: none !important; }
  .lg-glance { grid-template-columns: repeat(3, 1fr); }
  .lg-sec, .lg-card, .lg-gl { border-color: #ccc; box-shadow: none; break-inside: avoid-page; }
  .lg-sec { break-inside: auto; }
  .lg-n { background: #fff; color: #000; border: 1px solid #000; }
  .lg-intro, .lg-fees { background: #fff; color: #000; border: 1px solid #ccc; }
  .lg-fee-l, .lg-fee b, .lg-fees-h { color: #000 !important; }
  .lg-fee-bar i { transform: none; background: #555; }
  .lg-sec p, .lg-sec li, .lg-sec dd { color: #000; font-size: 11pt; }
  .lg-sec.miss { opacity: 1; }
  mark.lg-hl { background: none; box-shadow: none; }
}
