/* SelfieFix legal pages — shared styles.
 * Brand colour #B5FF4B drives accents: top stripe, link underlines,
 * blockquote rail, landing chevrons. Page text stays neutral so the
 * accent reads as a highlight rather than a shout. */

:root {
  color-scheme: light dark;
  --brand: #B5FF4B;
  --brand-deep: #8fd62b;
  --bg: #ffffff;
  --surface: #fafafa;
  --fg: #0a0a0a;
  --muted: #6b7280;
  --rule: #e7e7e7;
  --link: #0a0a0a;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a0a0a;
    --surface: #141414;
    --fg: #f5f5f5;
    --muted: #a1a1aa;
    --rule: #27272a;
    --link: var(--brand);
  }
}

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

html, body {
  background: var(--bg);
  color: var(--fg);
}

body {
  font-family:
    -apple-system, BlinkMacSystemFont,
    "Segoe UI", "Helvetica Neue", Arial, system-ui, sans-serif;
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Full-width brand stripe across the top of every page. */
body::before {
  content: '';
  display: block;
  height: 6px;
  background: var(--brand);
  width: 100%;
}

main {
  max-width: 720px;
  margin: 0 auto;
  padding: 56px 24px 96px;
}

/* Small pill wordmark sits above each page title. */
.brand {
  display: inline-block;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 12px;
  background: var(--brand);
  color: #0a0a0a;
  border-radius: 999px;
  margin-bottom: 28px;
}

h1 {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 8px;
}

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

h3 {
  font-size: 12px;
  font-weight: 700;
  margin: 22px 0 6px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

p { margin-bottom: 14px; }
ul { margin-bottom: 14px; padding-left: 22px; }
li { margin-bottom: 4px; }

.muted {
  color: var(--muted);
  font-size: 13px;
}

.rule {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: 32px 0;
}

/* Body links: dark text in light mode, brand text in dark mode, with a
 * persistent brand underline that thickens on hover. */
a {
  color: var(--link);
  text-decoration: underline;
  text-decoration-color: var(--brand);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  transition: text-decoration-thickness 0.15s, color 0.15s;
}
a:hover {
  text-decoration-thickness: 4px;
}

strong { font-weight: 600; }

blockquote {
  margin: 20px 0;
  padding: 14px 18px;
  border-left: 4px solid var(--brand);
  background: var(--surface);
  color: var(--fg);
  border-radius: 0 8px 8px 0;
  font-style: normal;
}

footer {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 13px;
}
footer p { margin-bottom: 4px; }

/* Landing-page list — large tap targets with brand chevron hover. */
.landing-list {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
}
.landing-list li {
  border-top: 1px solid var(--rule);
}
.landing-list li:last-child {
  border-bottom: 1px solid var(--rule);
}
.landing-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  font-size: 17px;
  font-weight: 500;
  text-decoration: none;
  color: var(--fg);
}
.landing-list a::after {
  content: '→';
  color: var(--muted);
  font-size: 18px;
  transition: transform 0.18s ease, color 0.18s ease;
}
.landing-list a:hover {
  color: var(--brand-deep);
}
@media (prefers-color-scheme: dark) {
  .landing-list a:hover { color: var(--brand); }
}
.landing-list a:hover::after {
  transform: translateX(6px);
  color: var(--brand-deep);
}
@media (prefers-color-scheme: dark) {
  .landing-list a:hover::after { color: var(--brand); }
}
