/* ViCargo: legal pages (Privacy Policy, Terms & Conditions, Cookie Policy). Loads after about.css
   and before headings.css. Every class here is prefixed lg- so nothing collides with home.css or
   about.css. Layout mechanic (sticky left index, numbered right-column sections, meta row over a
   hairline) is ported from a reference video the client supplied; headings stay the site's own
   resolved Orbitron/Outfit system -- see the plan's Font decision, this is not a new typeface. */

:root { --head-sm: clamp(18px, 1.8vw, 24px); } /* 14-18 Orbitron headings down one page at --head-md would be heavier than the reference's own restraint */

.lg-page { background: var(--steel-050); }

.lg-first { padding-top: calc(var(--bar-h) + var(--sec-pt)); padding-bottom: clamp(32px, 4vw, 56px); }
.lg-h1 { margin: 0; font-size: var(--head-lg); max-width: 18em; }

/* meta row: Last updated / Effective date, side by side over a hairline -- the video's own device
   for "this is a living document", kept, recoloured. */
.lg-meta { margin-top: clamp(28px, 4vw, 48px); display: flex; flex-wrap: wrap; gap: 12px 48px; font-family: var(--mono); font-size: 13px; letter-spacing: .02em; color: var(--steel-600); }
.lg-meta strong { font-weight: 500; color: var(--ink); }
/* a separate rule, not a border on the text row itself -- keeps the hairline a clear inset away
   from the meta text on every side instead of sitting flush under its descenders. */
.lg-meta-rule { margin-top: clamp(20px, 2.6vw, 28px); border-top: 1px solid var(--border-default); }

/* two-column body: a sticky index on the left, the numbered sections on the right */
/* No padding-top of its own: the section's own home-sec padding (--sec-pt) already supplies the
   gap below the hairline, matching the rhythm between every other pair of sections on the site --
   adding one here would double it. */
.lg-body { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.lg-toc { position: sticky; top: calc(var(--bar-h) + 32px); margin: 0; padding: 0; list-style: none; display: grid; gap: 13px; }
/* Sentence case, not the reference's all-caps: several of these titles ("Managing cookies in your
   browser") run long enough that setting them in caps hurts legibility rather than reading as a
   label -- the reference's own short restaurant section names didn't have this problem. */
.lg-toc a {
  font-family: var(--mono); font-size: 13px; letter-spacing: .01em; line-height: 1.5;
  color: var(--steel-600); text-decoration: none; transition: color var(--dur-fast) var(--ease-out);
}
@media (hover: hover) and (pointer: fine) { .lg-toc a:hover { color: var(--ink); } }
.lg-toc a:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 3px; color: var(--ink); }

.lg-sections { display: grid; gap: clamp(48px, 6vw, 80px); min-width: 0; }
.lg-sec { display: grid; gap: 14px; scroll-margin-top: calc(var(--bar-h) + 20px); }
.lg-sec-n { margin: 0; font-family: var(--mono); font-size: 13px; color: var(--steel-500); }
.lg-sec h2 {
  margin: 0; max-width: 20em; text-wrap: balance;
  font-family: var(--font-head); font-weight: 400; text-transform: uppercase; letter-spacing: .03em; line-height: 1.22;
  font-size: var(--head-sm);
}
.lg-sec p { margin: 0; max-width: 56ch; font-size: 16px; line-height: 1.7; color: var(--ink); text-wrap: pretty; }
.lg-sec p + p { margin-top: 2px; }
.lg-sec ul { margin: 2px 0 0; padding: 0; list-style: none; display: grid; gap: 9px; max-width: 58ch; }
.lg-sec li { position: relative; padding-left: 18px; font-size: 16px; line-height: 1.6; color: var(--ink); text-wrap: pretty; }
.lg-sec li::before { content: ""; position: absolute; left: 0; top: .66em; width: 8px; height: 1.5px; background: var(--blue-500); }
.lg-sec a { color: var(--blue-700); }
@media (hover: hover) and (pointer: fine) { .lg-sec a:hover { color: var(--blue-800); } }

/* bracketed operator specifics not yet confirmed (VAT, registration numbers, backend provider) --
   the reference video's own convention for unknowns, kept visually distinct so the director spots
   every one of them at a glance before launch. */
.lg-ph { color: var(--steel-600); font-style: italic; }

.lg-sec-table { width: 100%; border-collapse: collapse; margin-top: 2px; font-size: 15px; }
.lg-sec-table th, .lg-sec-table td { padding: 10px 16px 10px 0; text-align: left; border-bottom: 1px solid var(--border-hairline); vertical-align: top; }
.lg-sec-table th { font-weight: 500; color: var(--steel-600); font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }
@media (max-width: 700px) {
  .lg-sec-table, .lg-sec-table tbody, .lg-sec-table tr, .lg-sec-table td { display: block; width: 100%; }
  .lg-sec-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .lg-sec-table tr { padding: 14px 0; border-bottom: 1px solid var(--border-hairline); }
  .lg-sec-table td { padding: 4px 0; border: 0; }
  .lg-sec-table td::before { content: attr(data-label); display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--steel-600); }
}

/* cross-links between the three legal pages, plain prose style */
.lg-crosslinks { margin: 0; max-width: 56ch; font-size: 16px; line-height: 1.7; color: var(--ink); }

@media (max-width: 860px) {
  .lg-body { grid-template-columns: 1fr; gap: 28px; }
  /* a list, one entry per line with a hairline between: it is clear where one item ends and the next starts */
  .lg-toc { position: static; display: grid; gap: 0; padding-bottom: 8px; border-bottom: 1px solid var(--border-default); }
  .lg-toc a { display: block; padding-block: 13px; margin-block: 0; }
  .lg-toc a + a { border-top: 1px solid var(--border-default); }
}

/* 404 page */
.nf-first { min-height: 70vh; }
.nf-lede { margin: clamp(20px, 2.4vw, 32px) 0 0; max-width: 34em; font-size: 18px; line-height: 1.65; color: var(--steel-600); }
.nf-links { margin-top: clamp(24px, 3vw, 36px); display: flex; flex-wrap: wrap; gap: 14px; }
.nf-list { margin: clamp(36px, 5vw, 64px) 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 10px 32px; font-size: 15px; }
.nf-list a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--border-default); padding-bottom: 3px; }
.nf-list a:hover { border-color: var(--blue-500); }
