/* Кај Кецот: legal pages (privacy.html, terms.html). Standalone and light: no 3D, no loader. */
:root {
  --bg: #0B0F0C; --surface: #111912; --surface-2: #172119;
  --line: rgba(243, 239, 230, .12); --line-strong: rgba(243, 239, 230, .28);
  --text: #F3EFE6; --muted: #AEB8AF;
  --red: #D62828; --green: #7CC243; --sun: #F6C445;
  --font-display: 'Unbounded', system-ui, sans-serif;
  --font-body: 'Manrope', system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  background:
    radial-gradient(80vw 50vh at 85% -10%, rgba(124, 194, 67, .10), transparent 70%),
    radial-gradient(60vw 40vh at 0% 0%, rgba(214, 40, 40, .08), transparent 70%),
    var(--bg);
  color: var(--text); font: 400 1rem/1.7 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--green); text-underline-offset: 3px; }
a:hover { color: var(--text); }
:focus-visible { outline: 2px solid var(--sun); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: 820px; margin-inline: auto; padding-inline: var(--gutter); }

.skip { position: absolute; left: -999px; top: 8px; padding: 8px 14px; background: var(--text); color: var(--bg); border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }

/* header: the script wordmark (same lettering as the logo) and a way back */
/* stays at the top while reading: frosted dark glass, with a soft fading line under it */
/* Same frosted backdrop as the home page header once it scrolls (.site-header::before in
   style.css): the layer reaches 36px below the header and a mask fades the tint and the blur
   out gradually, so there is no hard bottom line. */
.lg-header { position: sticky; top: 0; z-index: 20; isolation: isolate; padding: 16px 0 10px; }
.lg-header::before {
  content: ""; position: absolute; inset: 0 0 -36px; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(11, 15, 12, .82) 0%, rgba(11, 15, 12, .6) 60%, rgba(11, 15, 12, 0) 100%);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
}
.lg-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: 1100px; }
/* the full logo, same size and glow as in the home page header */
.lg-brand { display: block; border-radius: 50%; }
.lg-brand svg {
  display: block; width: clamp(52px, 5vw, 64px); height: auto; aspect-ratio: 1;
  filter: drop-shadow(0 6px 16px rgba(214, 40, 40, .3));
}
.lg-home {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px;
  border: 1px solid var(--line-strong); border-radius: 999px;
  color: var(--text); text-decoration: none; font-weight: 700; font-size: .9rem;
  transition: background-color .25s, border-color .25s;
}
.lg-home:hover { background: rgba(243, 239, 230, .08); border-color: var(--text); color: var(--text); }

main { flex: 1; padding-block: clamp(48px, 8vw, 96px); }
.lg-eyebrow { margin: 0 0 12px; font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--green); }
h1 { margin: 0; font: 700 clamp(2rem, 6vw, 3.2rem)/1.1 var(--font-display); letter-spacing: -.02em; }
.lg-updated { margin: 14px 0 40px; color: var(--muted); font-size: .9rem; }
h2 {
  margin: 48px 0 14px; font: 600 clamp(1.1rem, 2.6vw, 1.35rem)/1.3 var(--font-display);
  padding-top: 24px; border-top: 1px solid var(--line);
}
p, li { color: #D9DED6; }
ul { padding-left: 1.2em; }
li { margin-bottom: .6em; }
li::marker { color: var(--green); }
b { color: var(--text); }

.lg-card {
  margin: 18px 0; padding: 22px 24px; border-radius: 20px;
  background: var(--surface); border: 1px solid var(--line); line-height: 1.8;
}
.lg-card b { font-family: var(--font-display); font-weight: 600; }

/* footer */
.lg-footer { border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.lg-footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-block: 24px; max-width: 1100px; }
.lg-footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.lg-footer a { color: var(--muted); text-decoration: none; }
.lg-footer a:hover, .lg-footer a[aria-current="page"] { color: var(--text); }
@media (max-width: 600px) {
  .lg-footer .wrap { flex-direction: column; text-align: center; }
  .lg-footer nav { justify-content: center; }
}
