/* Alif legal pages. Standalone: the app's built stylesheet has a hashed
   name these static pages cannot reference, so the brand tokens are here. */
:root {
  --paper: #fbfaf8;
  --ink: #131917;
  --ink-2: #3f4744;
  --ink-3: #666e6a;
  --accent: #0d3d31;
  --line: #ddd9d0;
}

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

body {
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.wrap { width: 100%; max-width: 44rem; margin: 0 auto; padding: 0 1.5rem; }

header { padding: 2rem 0; }
header .wrap { max-width: 72rem; }
header img { height: 3rem; width: auto; display: block; }

main { padding: 2.5rem 0 5rem; }

.eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
}

h1 {
  margin-top: 1rem;
  font-size: clamp(2rem, 6vw, 2.75rem);
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.effective { margin-top: 0.9rem; font-size: 0.9rem; color: var(--ink-3); }

.doc h2 {
  margin-top: 2.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
  font-size: 1.3rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.25;
  scroll-margin-top: 1.5rem;
}

.doc h3 { margin-top: 1.75rem; font-size: 1.02rem; font-weight: 600; }

.doc p, .doc li { font-size: 1rem; line-height: 1.7; color: var(--ink-2); }
.doc p { margin-top: 1rem; }
.doc h1 + .effective + p { margin-top: 2rem; }

.doc ul { margin-top: 1rem; padding-left: 1.25rem; }
.doc li { margin-top: 0.45rem; }
.doc li::marker { color: var(--accent); }

.doc a { color: var(--accent); text-underline-offset: 3px; }
.doc strong { font-weight: 500; }

footer { border-top: 1px solid var(--line); padding: 1.75rem 0; font-size: 0.8rem; color: var(--ink-3); }
footer .wrap { max-width: 72rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }
footer nav { display: flex; gap: 1.5rem; }
footer a { color: var(--ink-2); text-decoration: none; }
footer a:hover { color: var(--ink); }
