/* Shared look for the Tigaly legal pages (Impressum, Terms): same tokens as the landing page */
:root {
  --bg: #121212;
  --t1: #F5F5F7;
  --t2: #B3B3B8;
  --t3: #8E8E93;
  --line: rgba(255, 255, 255, 0.09);
  --brand: #FF6B1A;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --gutter: 16px;
  --glass-bg: #1A1A1C;
  --glass-bd: #333338;
  --glass-fx: blur(28px) saturate(180%);
}
@media (min-width: 720px) { :root { --gutter: 40px; } }
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body { background: var(--bg); color: var(--t1); font-family: var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
a { color: inherit; }
:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
::selection { background: rgba(255,107,26,.38); color: #fff; }

.nav {
  position: sticky; top: 0; z-index: 20; height: 64px; padding: 0 var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  background: rgba(18,18,18,.55); border-bottom: 1px solid rgba(255,255,255,.05);
  -webkit-backdrop-filter: var(--glass-fx); backdrop-filter: var(--glass-fx);
}
.logo { display: flex; align-items: center; gap: 9px; text-decoration: none; }
.logo svg { width: 24px; height: 24px; }
.wm { font-size: 18px; font-weight: 800; letter-spacing: -.04em; }
.wm span { color: var(--brand); }
.back {
  display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 16px; border-radius: 999px; text-decoration: none;
  font-size: 13.5px; font-weight: 600; color: #fff;
  background: var(--glass-bg); border: 1px solid var(--glass-bd); 
}
.back:hover { background: rgba(255,255,255,.14); }
.back svg { width: 14px; height: 14px; }

main { max-width: 760px; margin: 0 auto; padding: clamp(40px, 7vw, 80px) var(--gutter) 0; }
.kicker { display: block; font-size: 11px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--brand); }
h1 { margin-top: 12px; font-size: clamp(40px, 6vw, 64px); line-height: .95; font-weight: 800; letter-spacing: -.042em; }
.lead { margin-top: 16px; font-size: clamp(16px, 1.6vw, 18px); line-height: 1.55; color: var(--t2); }

section { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); }
h2 { font-size: 21px; font-weight: 750; letter-spacing: -.025em; }
section p, section li { font-size: 15.5px; line-height: 1.7; color: #D2D2D7; }
section p { margin-top: 12px; }
section ul { margin-top: 12px; padding-left: 20px; }
section li + li { margin-top: 6px; }
section strong { color: var(--t1); font-weight: 650; }
section a { text-underline-offset: 3px; }

.facts { margin-top: 16px; border-radius: 18px; padding: 4px 20px; background: var(--glass-bg); border: 1px solid var(--glass-bd);  }
.facts div { display: grid; grid-template-columns: 1fr; gap: 2px; padding: 14px 0; }
@media (min-width: 560px) { .facts div { grid-template-columns: 140px 1fr; gap: 16px; } }
.facts div + div { border-top: 1px solid var(--line); }
.facts dt { font-size: 13px; font-weight: 600; color: var(--t3); padding-top: 2px; }
.facts dd { font-size: 15.5px; line-height: 1.55; color: var(--t1); }

footer {
  max-width: 760px; margin: 72px auto 0; padding: 26px var(--gutter) 40px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; font-size: 12.5px; color: var(--t3);
}
footer nav { display: flex; gap: 20px; }
footer a { text-decoration: none; }
footer a:hover, footer a[aria-current] { color: var(--t1); }

/* draft marks in the privacy policy, gone once it is published */
.todo { padding: 1px 5px; border-radius: 4px; color: var(--brand-ink, #1A0A00); background: #FFB27F; font-weight: 600; }
.draft { margin-bottom: 28px; padding: 12px 14px; border-radius: 10px; font-size: 14.5px; line-height: 1.5; color: var(--t1); background: #2A1A10; border: 1px solid var(--brand); }
