/* Shared styles for the legal pages (/privacy/, /terms/). Same tokens, type and chrome as
   index.html — keep the two in step when the landing palette changes. */
:root {
  --sen-primary: #5B4FCF;
  --sen-on-primary: #FFFFFF;
  --sen-surface: #FDFBFF;
  --sen-surface-container: #F1EDF5;
  --sen-on-surface: #1C1B1F;
  --sen-on-surface-variant: #46464F;
  --sen-outline-variant: #C8C5D0;

  --font-sans: 'Manrope', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
}

@media (prefers-color-scheme: dark) {
  :root {
    --sen-primary: #C5C0FF;
    --sen-on-primary: #2A1E9A;
    --sen-surface: #131218;
    --sen-surface-container: #1F1E25;
    --sen-on-surface: #E6E1E9;
    --sen-on-surface-variant: #C8C5D0;
    --sen-outline-variant: #46464F;
  }
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: var(--sen-surface);
  color: var(--sen-on-surface);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 48px);
}

/* ─── Top bar ─── */
.topbar { padding: 32px 0; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; }

.brand {
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.035em;
  display: inline-flex;
  align-items: baseline;
  color: var(--sen-on-surface);
  text-decoration: none;
}

.brand__dot {
  display: inline-block;
  width: 4px;
  height: 4px;
  background: var(--sen-primary);
  border-radius: 50%;
  margin-left: 2px;
  transform: translateY(-2px);
}

.lang-switch {
  display: flex;
  border: 1px solid var(--sen-outline-variant);
  border-radius: 20px;
  padding: 2px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
}

.lang-switch button {
  padding: 6px 14px;
  border: none;
  background: transparent;
  color: var(--sen-on-surface-variant);
  cursor: pointer;
  border-radius: 18px;
  font: inherit;
  letter-spacing: inherit;
  transition: all 0.2s;
}

.lang-switch button.active {
  background: var(--sen-primary);
  color: var(--sen-on-primary);
}

/* ─── Document ─── */
.legal {
  max-width: 720px;
  padding: 32px 0 96px;
}

.legal__eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sen-primary);
  margin-bottom: 16px;
}

.legal h1 {
  font-size: clamp(32px, 6vw, 44px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.legal__meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--sen-on-surface-variant);
  margin: 12px 0 40px;
}

.legal h2 {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 40px 0 12px;
}

.legal p, .legal li { color: var(--sen-on-surface-variant); }
.legal strong { color: var(--sen-on-surface); font-weight: 600; }
.legal ul { padding-left: 20px; }
.legal li { margin-bottom: 10px; }
.legal li::marker { color: var(--sen-primary); }
.legal a { color: var(--sen-primary); }

.legal__other {
  margin-top: 56px;
  padding: 20px 24px;
  background: var(--sen-surface-container);
  border-radius: 16px;
}

/* ─── Footer ─── */
footer {
  padding: 48px 0;
  border-top: 1px solid var(--sen-outline-variant);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--sen-on-surface-variant);
  letter-spacing: 0.05em;
}

footer .container { display: flex; justify-content: space-between; align-items: end; gap: 16px; }

.footer-attr { display: flex; align-items: baseline; gap: 8px; }

.lumebuild-credit {
  font-family: var(--font-sans);
  font-size: 13px;
  display: inline-flex;
  align-items: baseline;
  text-decoration: none;
  color: var(--sen-on-surface);
}

.lumebuild-credit__lume { font-weight: 500; }
.lumebuild-credit__build { font-weight: 300; opacity: 0.65; }
.lumebuild-credit__dot {
  width: 3px;
  height: 3px;
  background: #D97757;
  border-radius: 50%;
  margin: 0 3px;
  transform: translateY(-5px);
  display: inline-block;
}

@media (max-width: 760px) {
  footer .container { flex-direction: column; align-items: flex-start; }
}

/* ─── Bilingual content visibility ─── */
[data-lang="pt"] [data-en], [data-lang="en"] [data-pt] { display: none; }
