/* World 1 · legal layer. Owned by one agent; keep all rules for this area here, never in style.css.
   Covers the ten legal documents (NL + EN), the /legal hub, and the cookie consent UI.
   Loaded after style.css, so this file is the authority for every .lg-* / .cc* rule.

   Design language: warm paper, luminous azure glass, one tiny orange signature dot, Inter with
   tight tracking. The glass tokens are the same material as world1/css/concierge.css so the legal
   layer belongs to the same family. Not a generic black GDPR popup, not a marketing page. */

/* ============================================================ tokens ==== */
.main-legal,
.cc,
.cc-dialog {
  --lg-font: var(--font);
  --lg-out: cubic-bezier(.2, .7, .2, 1);

  --lg-ink: #0F172A;
  --lg-mute: #5B6478;
  --lg-faint: #8A93A6;
  --lg-hair: rgba(15, 23, 42, .10);
  --lg-hair-soft: rgba(15, 23, 42, .055);

  --lg-az: #2A8FFF;
  --lg-az-ink: #1E7BE6;
  --lg-az-pale: #EDF5FF;
  --lg-orange: #FF5A1F;

  --lg-paper: #FBFAF7;
  /* glass: aliases of the shared World 1 material (style.css :root), so the cookie panel and the legal cards are
     the same object as the concierge, the nav and the contact panel */
  --lg-card: var(--glass-bg-light);
  --lg-card-h: rgba(255, 255, 255, .82);
  --lg-blur: var(--glass-blur-m);
  --lg-rim: var(--glass-rim-flat);
  --lg-rim-h:
    0 0 0 1px rgba(255, 255, 255, .95),
    0 0 0 2px rgba(150, 200, 255, .34),
    0 22px 52px rgba(6, 26, 54, .10),
    inset 0 1px 0 rgba(255, 255, 255, 1);
  --lg-focus: rgba(42, 143, 255, .45);

  font-feature-settings: "cv11", "ss01", "calt";
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
}

/* ============================================================ canvas ==== */
.main-legal .lg {
  position: relative;
  isolation: isolate;
  font-family: var(--lg-font);
  color: var(--lg-mute);
  background:
    radial-gradient(120% 60% at 88% -6%, rgba(120, 185, 255, .16) 0%, rgba(120, 185, 255, 0) 58%),
    radial-gradient(80% 40% at 4% 2%, rgba(255, 140, 90, .05) 0%, rgba(255, 140, 90, 0) 60%),
    linear-gradient(180deg, var(--lg-paper) 0%, #FCFCFA 46%, #FAFAF7 100%);
}
.main-legal .lg::after {
  /* the hairline that grounds the document against the footer */
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--lg-hair) 18%, var(--lg-hair) 82%, transparent);
  pointer-events: none;
}

/* focus is always visible, on every interactive thing in this layer */
.main-legal a:focus-visible,
.main-legal button:focus-visible,
.main-legal summary:focus-visible,
.cc a:focus-visible,
.cc button:focus-visible,
.cc-dialog a:focus-visible,
.cc-dialog button:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--lg-focus);
  border-radius: 8px;
}
/* .skip sits outside .main-legal, so the tokens above are out of scope: use a literal fallback,
   otherwise the custom property is unresolvable and the focus ring silently disappears. */
.skip:focus {
  top: 20px;
  outline: none;
  box-shadow: 0 0 0 3px rgba(42, 143, 255, .45);
}

/* ============================================================== head ==== */
.lg-head {
  padding-top: 200px;
  display: grid;
  grid-template-columns: 343px minmax(0, 1fr);
  gap: 0;
}
.lg-meta {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-top: 14px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -.01em;
  color: var(--lg-mute);
}
.lg-eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.lg-eyebrow a { color: var(--lg-az-ink); text-decoration: none; transition: color .3s var(--lg-out); }
.lg-eyebrow a:hover { color: var(--lg-ink); }
.lg-eyebrow span { color: var(--lg-faint); }
.lg-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex: none;
  background: var(--cg-signal, radial-gradient(circle at 34% 30%, #ffd9c6 0, #ff9660 30%, #ff6a2b 58%, #d24a12 100%));
  box-shadow: var(--cg-signal-shadow, inset 0 -1px 1px rgba(120, 30, 0, .35), inset 0 1px 1px rgba(255, 255, 255, .6), 0 1px 4px rgba(200, 70, 10, .35));
}
.lg-updated { display: flex; flex-direction: column; gap: 3px; }
.lg-updated span {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--lg-faint);
}
.lg-updated time { font-size: 13px; color: var(--lg-ink); }
.lg-lang a {
  color: var(--lg-ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--lg-hair);
  text-underline-offset: 5px;
  transition: text-decoration-color .3s var(--lg-out);
}
.lg-lang a:hover { text-decoration-color: var(--lg-az); }

.lg-title .h80 {
  max-width: 15ch;
  letter-spacing: -.045em;
  color: var(--lg-ink);
  text-wrap: balance;
}
.lg-intro {
  margin-top: 28px;
  max-width: 46ch;
  font-size: 20px;
  font-weight: 450;
  line-height: 1.45;
  letter-spacing: -.022em;
  color: var(--lg-mute);
  text-wrap: pretty;
}

/* ============================================================== body ==== */
.lg-body {
  margin-top: 86px;
  display: grid;
  grid-template-columns: 293px minmax(0, 1fr);
  gap: 50px;
  align-items: start;
  padding-bottom: 96px;
}

/* --- sticky table of contents (desktop) --- */
.lg-side { position: sticky; top: 124px; }
.lg-toc {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 14px 12px;
  border-radius: 24px;
  background: var(--lg-card);
  box-shadow: var(--lg-rim);
  -webkit-backdrop-filter: var(--lg-blur);
  backdrop-filter: var(--lg-blur);
}
.lg-toc a {
  position: relative;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 9px 12px;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -.015em;
  color: var(--lg-mute);
  text-decoration: none;
  transition: background .32s var(--lg-out), color .32s var(--lg-out);
}
.lg-toc a .lg-n {
  flex: none;
  width: 20px;
  color: var(--lg-faint);
  font-size: 11px;
  line-height: 1.7;
  letter-spacing: .06em;
}
.lg-toc a:hover { color: var(--lg-ink); background: rgba(255, 255, 255, .62); }
.lg-toc a[aria-current] {
  background: var(--lg-az-pale);
  color: var(--lg-ink);
  font-weight: 600;
}
.lg-toc a[aria-current] .lg-n { color: var(--lg-az-ink); }
.lg-toc a[aria-current]::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 50%;
  width: 3px;
  height: 15px;
  border-radius: 2px;
  transform: translateY(-50%);
  background: var(--lg-orange);
}
.lg-toc-m { display: none; }

/* --- the document itself --- */
.lg-content {
  max-width: 68ch;
  font-family: var(--lg-font);
  font-size: 17px;
  font-weight: 420;
  line-height: 1.62;
  letter-spacing: -.014em;
  color: var(--lg-mute);
  text-wrap: pretty;
}
.lg-sec {
  padding-bottom: 46px;
  margin-bottom: 46px;
  border-bottom: 1px solid var(--lg-hair-soft);
  scroll-margin-top: 140px;
}
.lg-sec:last-of-type { border-bottom: 0; }
.lg-num {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  color: var(--lg-az-ink);
}
.lg-sec h2 {
  margin-top: 12px;
  font-size: 26px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -.035em;
  color: var(--lg-ink);
  text-wrap: balance;
}
.lg-sec p { margin-top: 18px; }
.lg-sec p:first-of-type { margin-top: 20px; }
.lg-sec ul,
.lg-sec ol { margin-top: 20px; padding: 0; list-style: none; }
.lg-sec li {
  position: relative;
  padding: 13px 0 13px 24px;
  border-top: 1px solid var(--lg-hair-soft);
}
.lg-sec li:last-child { border-bottom: 1px solid var(--lg-hair-soft); }
.lg-sec li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 24px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lg-az);
}
.lg-sec ol { counter-reset: lg; }
.lg-sec ol li { padding-left: 36px; }
.lg-sec ol li::before {
  content: counter(lg, decimal-leading-zero);
  counter-increment: lg;
  background: none;
  width: auto;
  height: auto;
  top: 13px;
  left: 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--lg-az-ink);
  border-radius: 0;
}
.lg-sec strong { color: var(--lg-ink); font-weight: 600; }
.lg-sec a {
  color: var(--lg-ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--lg-hair);
  text-underline-offset: 4px;
  transition: text-decoration-color .3s var(--lg-out);
}
.lg-sec a:hover { text-decoration-color: var(--lg-az); }
.lg-sec code {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;
  font-size: .84em;
  letter-spacing: 0;
  padding: 2px 6px;
  border-radius: 6px;
  background: var(--lg-az-pale);
  color: var(--lg-az-ink);
  white-space: nowrap;
}

/* --- document footer --- */
.lg-foot {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--lg-hair);
  display: flex;
  flex-direction: column;
  gap: 24px;
  font-size: 15px;
}
.lg-ask { color: var(--lg-ink); font-weight: 500; letter-spacing: -.02em; }
.lg-mail {
  color: var(--lg-az-ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(42, 143, 255, .3);
  text-underline-offset: 4px;
  transition: text-decoration-color .3s var(--lg-out);
}
.lg-mail:hover { text-decoration-color: var(--lg-az); }
.lg-org { font-size: 13px; color: var(--lg-faint); letter-spacing: -.01em; }
.lg-org a { color: var(--lg-faint); text-decoration: underline; text-underline-offset: 3px; }
.lg-org a:hover { color: var(--lg-ink); }

.lg-others {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 22px 28px;
  padding: 24px 0 4px;
  border-top: 1px solid var(--lg-hair-soft);
}
.lg-others-g > p {
  margin-bottom: 10px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--lg-faint);
}
.lg-others-g > div { display: flex; flex-direction: column; gap: 7px; }
.lg-others a {
  font-size: 13px;
  color: var(--lg-mute);
  letter-spacing: -.015em;
  transition: color .3s var(--lg-out);
}
.lg-others a:hover { color: var(--lg-ink); }
.lg-others a[aria-current] {
  color: var(--lg-ink);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--lg-orange);
  text-underline-offset: 4px;
}
.lg-top {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -.015em;
  color: var(--lg-ink);
  background: var(--lg-card);
  box-shadow: var(--lg-rim);
  -webkit-backdrop-filter: var(--lg-blur);
  backdrop-filter: var(--lg-blur);
  transition: box-shadow .32s var(--lg-out), transform .32s var(--lg-out);
}
.lg-top:hover { box-shadow: var(--lg-rim-h); transform: translateY(-1px); }

/* =============================================================== hub ==== */
.lg-hub-body {
  display: block;
  margin-top: 70px;
  padding-bottom: 96px;
}
.lg-group {
  display: grid;
  grid-template-columns: 293px minmax(0, 1fr);
  gap: 50px;
  padding-bottom: 54px;
}
.lg-group > h2 {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--lg-faint);
  padding-top: 28px;
}
.lg-index {
  grid-column: auto;
  display: flex;
  flex-direction: column;
  max-width: 760px;
}
.lg-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  grid-template-rows: auto auto;
  align-items: baseline;
  gap: 5px 16px;
  width: 100%;
  padding: 24px 10px;
  text-align: left;
  color: var(--lg-ink);
  border-top: 1px solid var(--lg-hair-soft);
  border-radius: 18px;
  transition: background .35s var(--lg-out), padding-left .35s var(--lg-out), box-shadow .35s var(--lg-out);
}
.lg-row:last-child { border-bottom: 1px solid var(--lg-hair-soft); }
.lg-row .lg-n {
  grid-column: 1;
  grid-row: 1 / 3;
  align-self: start;
  padding-top: 9px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--lg-az-ink);
}
.lg-row-t {
  grid-column: 2;
  grid-row: 1;
  font-size: 27px;
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: -.038em;
}
.lg-row-d {
  grid-column: 2;
  grid-row: 2;
  font-size: 14px;
  font-weight: 420;
  line-height: 1.5;
  letter-spacing: -.015em;
  color: var(--lg-mute);
}
.lg-row-a {
  grid-column: 3;
  grid-row: 1 / 3;
  justify-self: end;
  align-self: center;
  font-size: 20px;
  color: var(--lg-faint);
  transition: transform .35s var(--lg-out), color .35s var(--lg-out);
}
.lg-row:hover {
  padding-left: 18px;
  background: var(--lg-card);
  box-shadow: var(--lg-rim);
}
.lg-row:hover .lg-row-a { transform: translateX(4px); color: var(--lg-az-ink); }
.lg-row-btn .lg-n { color: var(--lg-orange); }
.lg-group-prefs { padding-bottom: 40px; }
.lg-hub-org {
  padding-top: 26px;
  border-top: 1px solid var(--lg-hair);
}

.main-legal .footer { margin-top: 0; }

/* ==================================================== cookie consent ==== */
.cc[hidden] { display: none !important; }
.cc {
  position: fixed;
  left: 24px;
  bottom: 24px;
  /* above the Studio Concierge launcher (.cc-root, z-index 8500), which is also bottom-anchored.
     Below 900px the bar spans the full width, so it is additionally lifted clear of the capsule
     in the responsive block: without both, the capsule sits on top of the buttons and swallows
     the taps, and a consent bar you cannot press blocks the site. */
  z-index: 8600;
  width: min(430px, calc(100vw - 48px));
  padding: 24px 24px 20px;
  border-radius: 26px;
  font-family: var(--lg-font);
  color: var(--lg-ink);
  letter-spacing: -.018em;
  /* opaque enough that the page underneath never competes with the choice being asked */
  background: linear-gradient(135deg, rgba(255, 255, 255, .95), rgba(235, 245, 255, .92));
  box-shadow: var(--lg-rim);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity .45s var(--lg-out), transform .45s var(--lg-out);
}
.cc.on { opacity: 1; transform: none; pointer-events: auto; }
.cc h2 {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 19px;
  font-weight: 550;
  line-height: 1.2;
  letter-spacing: -.032em;
}
.cc h2 i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex: none;
  background: var(--cg-signal, radial-gradient(circle at 34% 30%, #ffd9c6 0, #ff9660 30%, #ff6a2b 58%, #d24a12 100%));
  box-shadow: var(--cg-signal-shadow, inset 0 -1px 1px rgba(120, 30, 0, .35), inset 0 1px 1px rgba(255, 255, 255, .6), 0 1px 4px rgba(200, 70, 10, .35));
}
.cc > p {
  margin-top: 11px;
  font-size: 13px;
  font-weight: 420;
  line-height: 1.55;
  color: var(--lg-mute);
}
.cc-actions {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.cc-actions button {
  height: 40px;
  padding: 0 17px;
  border: 0;
  border-radius: 22px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 550;
  letter-spacing: -.02em;
  cursor: pointer;
  transition: background .3s var(--lg-out), box-shadow .3s var(--lg-out), transform .3s var(--lg-out);
}
/* Accept and refuse carry the same weight and sit side by side. No dark pattern. */
.cc-accept {
  color: #fff;
  background: linear-gradient(135deg, #4AA3FF, #1E7BE6);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 8px 20px rgba(30, 123, 230, .26);
}
.cc-accept:hover { transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 12px 26px rgba(30, 123, 230, .34); }
.cc-essential {
  color: var(--lg-ink);
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 0 0 1px rgba(15, 23, 42, .09), inset 0 1px 0 rgba(255, 255, 255, .9);
}
.cc-essential:hover { background: #fff; transform: translateY(-1px); }
.cc-prefs-btn {
  margin-left: 2px;
  padding: 0 8px !important;
  background: none;
  color: var(--lg-mute);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--lg-hair);
  text-underline-offset: 4px;
}
.cc-prefs-btn:hover { color: var(--lg-ink); text-decoration-color: var(--lg-az); }

/* --- preferences dialog --- */
.cc-dialog {
  position: fixed;
  inset: 0;
  z-index: 8700;                       /* modal: must cover the Concierge launcher too */
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(12, 26, 48, .34);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.cc-dialog.on { display: flex; }
.cc-panel {
  width: min(560px, 100%);
  max-height: calc(100dvh - 40px);
  overflow: auto;
  padding: 34px 34px 28px;
  border-radius: 28px;
  font-family: var(--lg-font);
  color: var(--lg-ink);
  letter-spacing: -.018em;
  background: linear-gradient(150deg, rgba(255, 255, 255, .96), rgba(238, 246, 255, .94));
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, .9),
    0 0 0 2px rgba(150, 200, 255, .26),
    0 34px 90px rgba(6, 26, 54, .26);
  -webkit-backdrop-filter: var(--lg-blur);
  backdrop-filter: var(--lg-blur);
}
.cc-panel h2 {
  font-size: 28px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -.042em;
}
.cc-panel > p {
  margin-top: 12px;
  font-size: 14px;
  font-weight: 420;
  line-height: 1.55;
  color: var(--lg-mute);
}
.cc-cat {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 5px 24px;
  align-items: center;
  padding: 20px 0;
  border-top: 1px solid var(--lg-hair-soft);
}
.cc-cat:first-of-type { margin-top: 22px; }
.cc-cat b { grid-column: 1; grid-row: 1; font-size: 15px; font-weight: 600; letter-spacing: -.025em; }
.cc-cat p {
  grid-column: 1;
  grid-row: 2;
  margin: 0;
  font-size: 13px;
  font-weight: 420;
  line-height: 1.5;
  color: var(--lg-mute);
}
.cc-always {
  grid-column: 2;
  grid-row: 1 / 3;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--lg-az-ink);
  padding: 6px 11px;
  border-radius: 20px;
  background: var(--lg-az-pale);
  white-space: nowrap;
}
.cc-switch {
  grid-column: 2;
  grid-row: 1 / 3;
  position: relative;
  flex: none;
  width: 48px;
  height: 28px;
  border-radius: 14px;
  cursor: pointer;
  background: rgba(15, 23, 42, .14);
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, .12);
  transition: background .3s var(--lg-out);
}
.cc-switch input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}
.cc-switch::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(6, 26, 54, .28);
  transition: transform .3s var(--lg-out);
}
.cc-switch:has(input:checked) {
  background: linear-gradient(135deg, #4AA3FF, #1E7BE6);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35);
}
.cc-switch:has(input:checked)::after { transform: translateX(20px); }
.cc-switch:has(input:focus-visible) { outline: none; box-shadow: 0 0 0 3px var(--lg-focus); }

.cc-panel-actions {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.cc-panel-actions > div { display: flex; flex-wrap: wrap; gap: 8px; }
.cc-panel-actions button {
  height: 44px;
  padding: 0 19px;
  border: 0;
  border-radius: 24px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 550;
  letter-spacing: -.025em;
  cursor: pointer;
  transition: background .3s var(--lg-out), box-shadow .3s var(--lg-out), transform .3s var(--lg-out);
}
.cc-save {
  color: #fff;
  background: linear-gradient(135deg, #4AA3FF, #1E7BE6);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 8px 20px rgba(30, 123, 230, .26);
}
.cc-save:hover { transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 12px 26px rgba(30, 123, 230, .34); }
.cc-all {
  color: var(--lg-ink);
  background: rgba(255, 255, 255, .8);
  box-shadow: 0 0 0 1px rgba(15, 23, 42, .09), inset 0 1px 0 rgba(255, 255, 255, .9);
}
.cc-all:hover { background: #fff; transform: translateY(-1px); }
.cc-close {
  padding: 0 8px !important;
  background: none;
  color: var(--lg-mute);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--lg-hair);
  text-underline-offset: 4px;
}
.cc-close:hover { color: var(--lg-ink); text-decoration-color: var(--lg-az); }
.cc-links {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--lg-hair-soft);
  font-size: 12px;
  font-weight: 420;
  color: var(--lg-faint);
}
.cc-links a {
  color: var(--lg-az-ink);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(42, 143, 255, .4);
  text-underline-offset: 3px;
}
.cc-links a:hover { color: var(--lg-ink); text-decoration-color: var(--lg-az); }

/* ========================================================= responsive ==== */
@media (max-width: 1180px) {
  .lg-head { grid-template-columns: 1fr; gap: 32px; }
  .lg-body { grid-template-columns: 1fr; gap: 26px; margin-top: 56px; }
  .lg-side { position: static; }
  .lg-toc-d { display: none; }
  .lg-toc-m {
    display: block;
    border-radius: 20px;
    background: var(--lg-card);
    box-shadow: var(--lg-rim);
    -webkit-backdrop-filter: var(--lg-blur);
    backdrop-filter: var(--lg-blur);
    overflow: hidden;
  }
  .lg-toc-m summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 48px;
    padding: 14px 20px;
    font-size: 14px;
    font-weight: 550;
    letter-spacing: -.02em;
    color: var(--lg-ink);
  }
  .lg-toc-m summary::-webkit-details-marker { display: none; }
  .lg-toc-m summary i { position: relative; width: 14px; height: 14px; flex: none; }
  .lg-toc-m summary i::before,
  .lg-toc-m summary i::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 12px;
    height: 1.5px;
    border-radius: 1px;
    background: var(--lg-ink);
    transform: translate(-50%, -50%);
    transition: transform .3s var(--lg-out);
  }
  .lg-toc-m summary i::after { transform: translate(-50%, -50%) rotate(90deg); }
  .lg-toc-m[open] summary i::after { transform: translate(-50%, -50%) rotate(0); }
  .lg-toc-m .lg-toc {
    padding: 0 10px 12px;
    border-radius: 0;
    background: none;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .lg-toc a { min-height: 44px; align-items: center; }

  .lg-group { grid-template-columns: 1fr; gap: 14px; padding-bottom: 40px; }
  .lg-group > h2 { padding-top: 0; }
  .lg-index { grid-column: auto; max-width: none; }
}

@media (max-width: 900px) {
  .lg-head { padding-top: 130px; }
  .lg-title .h80 { font-size: 44px; line-height: 1.04; max-width: none; }
  .lg-intro { margin-top: 22px; font-size: 17px; }
  .lg-content { font-size: 16px; line-height: 1.62; }
  .lg-sec h2 { font-size: 22px; }
  .lg-sec { padding-bottom: 36px; margin-bottom: 36px; }
  .lg-body, .lg-hub-body { padding-bottom: 64px; }
  .lg-row { grid-template-columns: 34px minmax(0, 1fr) 26px; gap: 4px 12px; padding: 20px 6px; }
  .lg-row:hover { padding-left: 10px; }
  .lg-row-t { font-size: 22px; }
  .lg-row-d { font-size: 13px; }
  .lg-others { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 20px; }

  /* full width here, so sit above the Concierge capsule (desktop position: bottom 32px + 56px tall) */
  .cc { left: 12px; right: 12px; bottom: calc(96px + env(safe-area-inset-bottom)); width: auto; padding: 20px 18px 16px; border-radius: 22px; }
  .cc-actions button { flex: 1 1 auto; min-width: 132px; }
  .cc-prefs-btn { flex: 1 1 100%; margin-left: 0; }
  .cc-panel { padding: 26px 22px 22px; border-radius: 24px; }
  .cc-panel h2 { font-size: 24px; }
  .cc-panel-actions button { flex: 1 1 auto; }
  .cc-close { flex: 1 1 100%; }
}

/* the Concierge moves to right:14px / bottom:14px here, so the bar can come back down */
@media (max-width: 809px) {
  .cc { bottom: calc(80px + env(safe-area-inset-bottom)); }
}

@media (max-width: 420px) {
  .lg-title .h80 { font-size: 38px; }
  .lg-sec code { white-space: normal; overflow-wrap: anywhere; }
}

/* nothing in this layer moves for a visitor who asked for less motion */
@media (prefers-reduced-motion: reduce) {
  .main-legal *,
  .cc,
  .cc *,
  .cc-dialog,
  .cc-dialog * {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
  .cc { transform: none; transition: none !important; }
  .lg-row:hover, .lg-top:hover, .cc-accept:hover, .cc-essential:hover, .cc-save:hover, .cc-all:hover { transform: none; }
  .lg-row:hover { padding-left: 10px; }
}
