/* The legal pages: Impressum and privacy note. They borrow the card's tokens and type from now.css
   and add nothing but a column of readable text, so they read as the back of the same card. */

.lg-root {
  min-height: 100vh; width: 100%; background: var(--stage); font-family: var(--font-body); color: var(--ink);
  display: flex; flex-direction: column; align-items: center; padding: 40px 20px 90px;
}
.lg-column { width: min(640px, 100%); display: flex; flex-direction: column; gap: 22px; }

.lg-back {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px;
  border: 1px solid var(--rule); border-radius: 999px; background: var(--panel); color: var(--ink2);
  font-family: var(--font-label); font-size: 9.5px; letter-spacing: var(--label-tracking);
  text-transform: var(--label-transform); text-decoration: none; white-space: nowrap;
  transition: border-color 170ms ease, color 170ms ease;
}
.lg-back:hover { border-color: var(--accent); color: var(--accent); }

.lg-h1 {
  margin: 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(34px, 8vw, 46px);
  line-height: 0.96; letter-spacing: -0.03em; color: var(--ink);
}
.lg-lede { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--ink2); text-wrap: pretty; }
.lg-note {
  margin: 0; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--rule); background: var(--panel);
  font-size: 13.5px; line-height: 1.65; color: var(--ink2); text-wrap: pretty;
}
.lg-note strong { color: var(--ink); font-weight: 600; }

.lg-block { display: flex; flex-direction: column; gap: 7px; }
.lg-h2 {
  margin: 14px 0 0; font-family: var(--font-label); font-size: 9.5px; letter-spacing: var(--label-tracking);
  text-transform: var(--label-transform); color: var(--ink3);
}
.lg-p { margin: 0; font-size: 14px; line-height: 1.65; color: var(--ink2); text-wrap: pretty; }
.lg-p strong { color: var(--ink); font-weight: 600; }
.lg-address { margin: 0; font-size: 14px; line-height: 1.65; color: var(--ink); font-style: normal; }
.lg-list { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; line-height: 1.6; color: var(--ink2); }
.lg-a { color: var(--accent); text-decoration: none; }
.lg-a:hover { text-decoration: underline; }

.lg-foot {
  margin-top: 12px; padding-top: 18px; border-top: 1px solid var(--rule);
  font-family: var(--font-label); font-size: 9px; letter-spacing: var(--label-tracking);
  text-transform: var(--label-transform); color: var(--ink3);
}

/* The card's own footer, which is how these pages are reached. */
.nw-legal {
  display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 14px; flex-wrap: wrap;
  font-family: var(--font-label); font-size: 9px; letter-spacing: var(--label-tracking); text-transform: var(--label-transform);
}
.nw-legal a { color: var(--ink3); text-decoration: none; transition: color 170ms ease; }
.nw-legal a:hover { color: var(--accent); }
.nw-legal span { color: var(--rule-strong); }
