/* Director AI — legal pages
   directorvideo.ai/privacy · directorvideo.ai/terms */

:root {
  --bg: #ffffff;
  --bg-soft: #f6f7f9;
  --surface: #ffffff;
  --border: #e3e6ea;
  --border-soft: #eceef1;
  --text: #16181d;
  --text-muted: #5c6370;
  --accent: #2f5bea;
  --accent-soft: #eef2fe;
  --radius: 12px;
  --maxw: 760px;
  --font: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0e1014;
    --bg-soft: #14171d;
    --surface: #14171d;
    --border: #262b33;
    --border-soft: #1e222a;
    --text: #e8eaee;
    --text-muted: #9aa2ae;
    --accent: #8aa6ff;
    --accent-soft: #1a2136;
  }
}

:root[data-theme="dark"] {
  --bg: #0e1014;
  --bg-soft: #14171d;
  --surface: #14171d;
  --border: #262b33;
  --border-soft: #1e222a;
  --text: #e8eaee;
  --text-muted: #9aa2ae;
  --accent: #8aa6ff;
  --accent-soft: #1a2136;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 16px;
}

/* ---------- header ---------- */

.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: saturate(180%) blur(8px);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 60px;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 650;
  letter-spacing: -0.01em;
  color: var(--text);
  text-decoration: none;
  font-size: 16px;
}

.brand .mark {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--accent);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  flex: 0 0 auto;
}

:root[data-theme="dark"] .brand .mark,
:root:not([data-theme="light"]) .brand .mark { color: #0e1014; }

nav.site-nav {
  display: flex;
  gap: 4px;
  font-size: 15px;
}

nav.site-nav a {
  color: var(--text-muted);
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 8px;
}

nav.site-nav a:hover { background: var(--bg-soft); color: var(--text); }

nav.site-nav a[aria-current="page"] {
  color: var(--accent);
  background: var(--accent-soft);
  font-weight: 550;
}

/* ---------- document ---------- */

main { padding: 48px 0 24px; }

h1 {
  font-size: 34px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}

.updated {
  color: var(--text-muted);
  font-size: 15px;
  margin: 0 0 32px;
}

h2 {
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin: 44px 0 12px;
  padding-top: 20px;
  border-top: 1px solid var(--border-soft);
}

h3 {
  font-size: 17px;
  margin: 28px 0 8px;
}

p { margin: 0 0 16px; }

ul { margin: 0 0 16px; padding-left: 22px; }
li { margin-bottom: 10px; }
li::marker { color: var(--text-muted); }

a { color: var(--accent); text-underline-offset: 2px; }

strong { font-weight: 640; }

.lede {
  font-size: 18px;
  color: var(--text);
}

.callout {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin: 0 0 20px;
}

.callout p:last-child { margin-bottom: 0; }

/* ---------- table ---------- */

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

table {
  border-collapse: collapse;
  width: 100%;
  font-size: 15.5px;
  min-width: 460px;
}

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

thead th {
  background: var(--bg-soft);
  font-weight: 620;
  font-size: 14px;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--text-muted);
}

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

td:first-child { font-weight: 600; white-space: nowrap; }

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--border);
  margin-top: 56px;
  padding: 28px 0 48px;
  color: var(--text-muted);
  font-size: 14.5px;
}

.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.site-footer a { color: var(--text-muted); }
.site-footer nav { display: flex; gap: 16px; }

@media (max-width: 640px) {
  body { font-size: 16px; }
  main { padding: 32px 0 16px; }
  h1 { font-size: 28px; }
  h2 { font-size: 20px; margin-top: 36px; }
}
