/* The legal pages and the 404 (2026-11-18, final QA). Written the way Apple writes its legal pages (Jeet 11-16): one
   plain line on what the page covers, a short version for people in a hurry, then questions as headings, each with
   a short answer in everyday words. The look is the home page's: the page colour, Schibsted Grotesk, ink and plum,
   wine kept for the wordmark; links are wine and a step bolder (no underlines, Jeet 11-15). */

.lg-bar {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s5);
  max-width: 1200px; height: 88px; margin: 0 auto; padding: 0 var(--pad);
}
.lg-bar img { height: 22px; width: auto; }
.lg-bar a { display: inline-flex; align-items: center; min-height: 44px; }
.lg-back { font: 500 var(--t-ui)/1 var(--sans); color: var(--ink); transition: color 150ms ease; }

.lg { max-width: 760px; margin: 0 auto; padding: clamp(32px, 6vw, 72px) var(--pad) clamp(72px, 9vw, 120px); }
.lg h1 {
  margin: 0; font: 500 clamp(44px, 6.4vw, 76px)/1 var(--sans); letter-spacing: -0.035em; color: var(--ink);
  text-wrap: balance;
}
.lg-date { margin-top: var(--s4); font-size: var(--t-ui); color: var(--plum); }
.lg-lede { margin-top: var(--s6); font-size: var(--t-lead); line-height: 1.5; color: var(--plum); text-wrap: pretty; }

.lg section { margin-top: clamp(48px, 6vw, 64px); }
.lg h2 { margin: 0; font: 500 clamp(24px, 2.6vw, 28px)/1.2 var(--sans); letter-spacing: -0.02em; color: var(--ink); }
.lg h3 { margin: var(--s5) 0 0; font: 500 var(--t-body)/1.4 var(--sans); color: var(--ink); }
.lg p, .lg li { font-size: var(--t-body); line-height: 1.6; color: var(--plum); }
.lg section > p, .lg section > h3 + p { margin-top: var(--s3); }
.lg section > ul { margin: var(--s3) 0 0; padding-left: 1.2em; }
.lg section > ul li { margin-top: var(--s2); padding-left: var(--s1); }
.lg b { font-weight: 500; color: var(--ink); }
.lg a { font-weight: 500; color: var(--wine); transition: color 150ms ease; }
@media (hover: hover) and (pointer: fine) {
  .lg a:hover, .lg-back:hover, .lg-foot a:hover, .lg-foot button:hover { color: var(--plum); }
}
.lg-vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

/* tables (the cookies): they scroll inside their own box on a narrow phone, never the page */
.lg-table { margin-top: var(--s4); overflow-x: auto; border: 1px solid rgba(42, 14, 22, 0.1); border-radius: 14px; background: #fff; }
.lg table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: var(--t-ui); line-height: 1.5; }
.lg th, .lg td { padding: var(--s3) var(--s4); text-align: left; vertical-align: top; color: var(--plum); }
.lg th { font-weight: 500; color: var(--ink); background: rgba(214, 229, 240, 0.4); }
.lg tr + tr td { border-top: 1px solid rgba(42, 14, 22, 0.08); }

/* a button for the cookie choice: white, the consent card's look (never wine) */
.lg-btn {
  display: inline-flex; align-items: center; min-height: 44px; margin-top: var(--s4); padding: 0 var(--s5);
  border-radius: 999px; border: 1px solid rgba(42, 14, 22, 0.16); background: #fff; color: var(--ink);
  font: 500 var(--t-ui)/1 var(--sans); cursor: pointer;
}

.lg-foot {
  max-width: 1200px; margin: 0 auto; padding: var(--s6) var(--pad) calc(var(--s7) + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(42, 14, 22, 0.1);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s4) var(--s6);
  font-size: var(--t-ui); color: var(--plum);
}
.lg-foot nav { display: flex; flex-wrap: wrap; column-gap: var(--s5); }
.lg-foot a, .lg-foot button {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0; border: 0; background: none; cursor: pointer;
  font: 400 var(--t-ui)/1.2 var(--sans); color: var(--plum); transition: color 150ms ease;
}
.lg-foot a[aria-current="page"] { color: var(--ink); font-weight: 500; }

/* the 404: the opening's dark wine and the sky wordmark, one way back */
.lg-404 { min-height: 100svh; display: grid; place-items: center; background: var(--ink); color: var(--cold); padding: var(--pad); }
.lg-404 main { max-width: 560px; text-align: center; }
.lg-404 img { width: 132px; height: auto; margin: 0 auto var(--s7); }
.lg-404 h1 { margin: 0; font: 500 clamp(40px, 6vw, 64px)/1 var(--sans); letter-spacing: -0.035em; color: var(--cold); }
.lg-404 p { margin-top: var(--s4); font-size: var(--t-lead); line-height: 1.5; color: #A9B9C8; text-wrap: balance; }
.lg-404 a.lg-home { display: inline-flex; align-items: center; min-height: 44px; margin-top: var(--s6); font: 500 var(--t-body)/1 var(--sans); color: var(--sky); }
.lg-404 :focus-visible { outline-color: var(--sky); }
@media (hover: hover) and (pointer: fine) { .lg-404 a.lg-home:hover { color: var(--cold); } }

@media (prefers-reduced-motion: reduce) { .lg a, .lg-back, .lg-foot a, .lg-foot button { transition: none; } }
