/* Ziqqle legal pages — light theme to match the lead-magnet page (lm.html).
   Only presentation is changed; the legal text is untouched. */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Unbounded:wght@500;600;700;800&family=DM+Mono:wght@400;500&display=swap');

:root {
  --bg: #FBFAF8;
  --bg-soft: #FFFFFF;
  --card: #FFFFFF;
  --text: #14110E;
  --muted: #6B6560;
  --line: #E8E4DD;
  --crimson: #E24A2B;
  --crimson-bright: #E24A2B;
  --crimson-dim: rgba(226,74,43,0.10);
  --max-width: 820px;
}

* { box-sizing: border-box; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Manrope', ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.legal-shell {
  width: min(100% - 32px, var(--max-width));
  margin: 0 auto;
  padding: 48px 0 72px;
}

.legal-header {
  padding-bottom: 26px;
  margin-bottom: 34px;
  border-bottom: 2px solid var(--crimson);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--crimson-bright);
  font-family: 'DM Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

h1, h2, h3 {
  color: var(--text);
  letter-spacing: -0.01em;
}

h1 {
  margin: 0;
  font-family: 'Unbounded', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.0;
  font-size: clamp(2.2rem, 6vw, 3.6rem);
}

h2 {
  margin: 44px 0 14px;
  font-family: 'Unbounded', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.1;
  font-size: clamp(1.3rem, 3vw, 1.8rem);
}

h3 {
  margin: 28px 0 8px;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
}

p { margin: 0 0 16px; }

strong { color: var(--text); font-weight: 700; }

ul, ol {
  padding-left: 1.35rem;
  margin: 0 0 18px;
}

li { margin: 8px 0; }

li::marker { color: var(--crimson-bright); }

a {
  color: var(--crimson-bright);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover { color: #b83a1f; text-decoration-thickness: 2px; }

.legal-meta {
  display: grid;
  gap: 8px;
  margin-top: 22px;
  color: var(--muted);
  font-family: 'DM Mono', monospace;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}

.notice,
.info-card {
  border: 1px solid var(--line);
  border-left: 3px solid var(--crimson);
  background: var(--bg-soft);
  border-radius: 10px;
  padding: 18px 20px;
  margin: 24px 0;
}

.table-wrap {
  overflow-x: auto;
  margin: 20px 0 28px;
  border: 1px solid var(--line);
  border-radius: 10px;
}

table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  background: var(--bg-soft);
}

th, td {
  padding: 14px 16px;
  vertical-align: top;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

th {
  background: #F3EFE9;
  color: var(--text);
  font-family: 'Unbounded', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 0.82rem;
}

td { color: var(--text); }

tr:last-child td { border-bottom: 0; }

.legal-footer {
  margin-top: 56px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: 'DM Mono', monospace;
  font-size: 0.8rem;
  line-height: 1.7;
}

.legal-footer strong { color: var(--text); }

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-top: 24px;
  font-family: 'Manrope', sans-serif;
  font-size: 0.9rem;
}

.legal-nav a { color: var(--text); }
.legal-nav a:hover { color: var(--crimson-bright); }

button.inline-link {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-family: 'Manrope', sans-serif;
  font-size: 0.9rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

button.inline-link:hover { color: var(--crimson-bright); text-decoration-thickness: 2px; }

code {
  font-family: 'DM Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9em;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.1em 0.4em;
  color: var(--text);
}

@media (max-width: 640px) {
  .legal-shell { width: min(100% - 24px, var(--max-width)); padding: 34px 0 52px; }
  .legal-header { margin-bottom: 26px; padding-bottom: 22px; }
  h2 { margin-top: 36px; }
  .notice, .info-card { padding: 15px 16px; }
  th, td { padding: 12px; }
}
