/* Honest Scanner — legal pages (privacy / terms / support).
   The landing page (/) is fully inline-styled and doesn't use this file. */

:root {
  --paper: #f7f2ea;
  --surface: #fffdf9;
  --ink: #1c1915;
  --muted: #6d675c;
  --line: #e4ddd1;
  --green: #1b6b48;
  --green-dark: #0f4c32;
  --green-soft: #e5f3ea;
  --paper-gray: #efe8dc;
  --brand-green: #204732;
  --serif: 'Newsreader', 'Iowan Old Style', 'Palatino', Georgia, serif;
  --sans: -apple-system, 'SF Pro Text', 'Helvetica Neue', system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

a {
  color: var(--green);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--green-dark);
}

.container-narrow {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 32px;
}

/* Nav — mirrors the landing page's sticky bar */

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(247, 242, 234, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 32px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}

.brand:hover {
  color: var(--ink);
}

.brand-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--brand-green);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.brand-wordmark {
  display: flex;
  align-items: baseline;
  gap: 4.4px;
}

.brand-honest {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.005em;
}

.brand-scanner {
  font-size: 17.2px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.nav-spacer {
  flex: 1;
}

.nav-links {
  display: flex;
  gap: 24px;
  align-items: center;
}

.nav-links a {
  font-size: 15px;
  color: var(--muted);
}

.nav-links a:hover {
  color: var(--ink);
}

@media (max-width: 640px) {
  .nav-links a:not(:last-child) {
    display: none;
  }
}

/* Legal page body */

.legal-page {
  padding: 64px 0 96px;
}

.legal-page h1 {
  font-family: var(--serif);
  font-size: 44px;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin: 0 0 8px;
  color: var(--ink);
}

.legal-page .updated {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 40px;
}

.legal-page h2 {
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0;
  margin: 40px 0 12px;
  color: var(--ink);
}

.legal-page p,
.legal-page li {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
  margin: 0 0 16px;
}

.legal-page ul {
  padding-left: 20px;
  margin: 0 0 16px;
}

.legal-page ul li {
  margin-bottom: 8px;
}

.legal-page a {
  border-bottom: 1px solid var(--green);
}

.legal-page a:hover {
  border-bottom-color: var(--green-dark);
}

/* Footer */

.footer {
  max-width: 1120px;
  margin: 0 auto;
  padding: 56px 32px 48px;
}

.footer-inner {
  border-top: 1px solid var(--line);
  padding-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand-icon {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: var(--brand-green);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.footer-brand span {
  font-size: 14px;
  color: var(--muted);
}

.footer-spacer {
  flex: 1;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  font-size: 14px;
}

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