/* simone-deyzel.com — Legal pages layout
 * Standalone stylesheet for privacy, cookies, terms, dpa pages.
 * Uses the same design tokens as styles.css but in a simple prose layout
 * (no rail/sidebar) so legal text is readable on any device.
 */

/* ---------- design tokens (mirrors styles.css) -------------------- */
:root {
  --bg:            #07101C;
  --bg-elevated:   #0C1828;
  --surface:       #11223A;
  --border:        #1E3052;
  --border-bright: #2C4874;
  --text:          #EDE4D0;
  --text-muted:    #8E9BB3;
  --text-dim:      #566584;
  --accent:        #FF5B3C;
  --accent-soft:   #FF8666;
  --ok:            #7CE0A5;
  --f-sans:  'Geist', system-ui, -apple-system, sans-serif;
  --f-mono:  'Geist Mono', 'JetBrains Mono', ui-monospace, monospace;
  --f-serif: 'Newsreader', Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  background:
    radial-gradient(ellipse 80% 60% at 20% 0%, rgba(255, 91, 60, 0.05), transparent 60%),
    var(--bg);
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* subtle scanline overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: repeating-linear-gradient(0deg, rgba(255,255,255,0.01) 0 1px, transparent 1px 3px);
}

a { color: var(--accent-soft); text-decoration: none; }
a:hover { color: var(--accent); }

/* ---------- layout ------------------------------------------------- */
.wrap { max-width: 780px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }

/* ---------- header ------------------------------------------------- */
.legal-head {
  border-bottom: 1px solid var(--border);
  background: rgba(7, 16, 28, 0.92);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.legal-head .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 16px;
}
.legal-head .brand {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.legal-head .brand span { color: var(--accent); }
.legal-head nav {
  display: flex;
  gap: 20px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.legal-head nav a { color: var(--text-dim); }
.legal-head nav a:hover { color: var(--accent-soft); }

/* ---------- hero section ------------------------------------------- */
.legal-hero { padding: 48px 0 36px; border-bottom: 1px solid var(--border); }
.eyebrow {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 14px;
}
h1 {
  font-family: var(--f-sans);
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0 0 14px;
}
.updated {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--text-dim);
  margin: 0;
}
.lede {
  font-size: 17px;
  color: var(--text-muted);
  margin: 16px 0 0;
  max-width: 60ch;
  line-height: 1.55;
}

/* ---------- content sections --------------------------------------- */
section { padding: 36px 0; border-bottom: 1px solid rgba(30, 48, 82, 0.6); }
section:last-of-type { border-bottom: none; }

h2 {
  font-size: clamp(18px, 2.8vw, 22px);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
}

p { color: var(--text-muted); margin: 0 0 14px; max-width: 68ch; }
p:last-child { margin-bottom: 0; }

ul.ticks {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
  display: grid;
  gap: 10px;
}
ul.ticks li {
  padding-left: 20px;
  position: relative;
  color: var(--text-muted);
}
ul.ticks li::before {
  content: "›";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-family: var(--f-mono);
}

/* DPA sub-processor table */
.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 14px;
}
.legal-table th {
  text-align: left;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-soft);
  border-bottom: 1px solid var(--border-bright);
  padding: 8px 12px;
}
.legal-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.legal-table tr:last-child td { border-bottom: none; }
@media (max-width: 620px) {
  .legal-table thead { display: none; }
  .legal-table td { display: block; padding: 4px 0; border: none; }
  .legal-table tr { display: block; border-bottom: 1px solid var(--border); padding: 12px 0; }
  .legal-table tr:last-child { border-bottom: none; }
}

/* ---------- footer ------------------------------------------------- */
footer {
  padding: 32px 0 56px;
  border-top: 1px solid var(--border);
  color: var(--text-dim);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  position: relative;
  z-index: 1;
}
footer a { color: var(--text-dim); }
footer a:hover { color: var(--accent-soft); }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 8px; }
