/* Kotoro · legal pages (privacy). Builds on styles.css tokens: same black, same fonts, readable long text. */
.lg-top { position: sticky; top: 0; z-index: 10; border-bottom: 1px solid var(--line); background: rgba(7, 8, 10, 0.82); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.lg-top__in { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.lg-langs { position: relative; }
.lg-langs summary { list-style: none; display: inline-flex; align-items: center; gap: 8px; cursor: var(--cur-hand, pointer); color: var(--muted); font: 500 13px/1 var(--f-mono); padding: 8px 12px; border: 1px solid var(--line-2); border-radius: 999px; transition: color 0.2s, border-color 0.2s; }
.lg-langs summary::-webkit-details-marker { display: none; }
.lg-langs summary svg { width: 15px; height: 15px; }
.lg-langs summary:hover, .lg-langs[open] summary { color: var(--text); border-color: var(--line-3); }
.lg-langs__menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 20; display: grid; min-width: 230px; padding: 6px; background: var(--surface-2); border: 1px solid var(--line-2); border-radius: 14px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.85); }
.lg-langs__menu a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 9px 10px; border-radius: 9px; color: var(--muted); font-size: 14px; }
.lg-langs__menu a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.lg-langs__menu a[aria-current] { color: var(--text); }
.lg-langs__code { font: 500 11px var(--f-mono); color: var(--dim); }
.lg-langs__menu a[aria-current] .lg-langs__code { color: var(--acc); }

.lg { max-width: calc(720px + var(--gutter) * 2); padding-top: 72px; padding-bottom: 96px; }
.lg-eyebrow { color: var(--acc); font-size: 11px; letter-spacing: 0.08em; margin: 0 0 18px; }
.lg h1 { font: 500 clamp(34px, 5vw, 48px)/1.08 var(--f-display); letter-spacing: -0.03em; margin: 0; }
.lg-date { color: var(--dim); font-size: 14px; margin: 14px 0 36px; }
.lg-lead { color: var(--text); font-size: 18px; line-height: 1.6; padding: 20px 22px; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--surface); }
.lg h2 { font: 600 22px/1.3 var(--f-display); letter-spacing: -0.015em; margin: 56px 0 14px; padding-top: 24px; border-top: 1px solid var(--line); }
.lg h3 { font: 600 16px/1.4 var(--f-display); margin: 28px 0 8px; color: var(--text); }
.lg p, .lg li { color: var(--muted); font-size: 16px; line-height: 1.7; }
.lg p { margin: 0 0 14px; }
.lg ul { margin: 0 0 16px; padding-left: 20px; }
.lg li { margin: 6px 0; }
.lg li::marker { color: var(--acc); }
.lg strong { color: var(--text); font-weight: 600; }
/* long words (German, Polish…) wrap with a hyphen instead of overflowing small phones */
.lg h1, .lg h2, .lg h3, .lg p, .lg li { overflow-wrap: break-word; -webkit-hyphens: auto; hyphens: auto; }
.lg a { color: var(--acc); text-decoration: underline; text-decoration-color: var(--acc-line); text-underline-offset: 3px; }
.lg code { font: 500 0.9em var(--f-mono); color: var(--text); background: var(--surface-2); padding: 2px 6px; border-radius: 6px; }

.lg-foot { display: flex; justify-content: space-between; gap: 16px; padding-top: 24px; padding-bottom: 40px; border-top: 1px solid var(--line); color: var(--dim); font-size: 13px; }
.lg-foot a { color: var(--muted); }
.lg-foot a:hover { color: var(--text); }

@media (max-width: 560px) {
  .lg { padding-top: 48px; }
  .lg-lead { font-size: 16px; padding: 16px; }
}
/* touch screens: the sticky bar stays flat (live blur turns old iPhones black, see deploy/LISEZMOI.md) */
@media (hover: none) {
  .lg-top { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(7, 8, 10, 0.96); }
}
