/* Lenz — chrome for the legal pages (privacy.html, terms.html).
   Loads after site.css, which owns the reset, tokens, and browser surfaces.

   Same visual language as the landing page: ink type on the light ground,
   2px rules doing the dividing, Archivo 900 for display, square-cornered
   everything, the brand red on marks and rules and --color-accent-700 on
   anything red that carries text. The prose column stays narrow — this is a
   document, not a layout. */

body {
  font-size: 16px;
  line-height: 1.5;
}

/* ---- Nav (mirrors the landing header) --------------------------------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--color-bg);
  border-bottom: 2px solid var(--color-text);
}
.nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 12px 32px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-logo {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--color-text);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
}
.nav-logo:hover { color: var(--color-text); }
.nav-mark {
  width: 13px;
  height: 13px;
  background: var(--color-accent);
  display: block;
  flex: none;
  animation: blink 2.4s steps(1, end) infinite;
}
@keyframes blink { 0%, 60% { opacity: 1; } 61%, 100% { opacity: 0.15; } }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--color-text);
  border-bottom: 2px solid transparent;
  transition: border-color .2s, color .2s;
}
.nav-link:hover { border-bottom-color: var(--color-accent); color: var(--color-accent-700); }
.nav-link[aria-current="page"] { border-bottom-color: var(--color-accent); color: var(--color-accent-700); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 14px;
  line-height: 1.2;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 2px solid transparent;
  transition: background .18s ease;
}
/* White sits on --color-accent-deep, not the brand red: white on #ec3013 is
   4.2:1 and misses AA at this size. */
.btn-primary { background: var(--color-accent-deep); color: var(--on-accent); }
.btn-primary:hover { background: var(--color-accent-700); color: var(--on-accent); }

/* ---- Page head (the landing's display type, at document scale) --------- */

.page-head { border-bottom: 2px solid var(--color-text); }
/* Same measure and padding as .container, so the title, the date and the
   prose below all hang off one left edge. */
.page-head-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 64px 32px 40px;
}

.page-label {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-accent-700);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.page-label::before {
  content: '';
  width: 26px;
  height: 2px;
  background: var(--color-accent);
  flex: none;
}

.page-title {
  font-family: var(--font-heading);
  font-size: clamp(38px, 7.4vw, 84px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--color-text);
  margin-bottom: 18px;
}

.page-date {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-neutral-700);
}

/* ---- Document --------------------------------------------------------- */

.container {
  /* Sized for the prose measure (~72 characters at 16px), not for the page. */
  max-width: 720px;
  margin: 0 auto;
  padding: 8px 32px 88px;
}

/* Each clause reads as a cell off the landing's How-It-Works grid: a rule
   across the top, the number in red above the heading. */
.section {
  border-top: 2px solid var(--color-divider);
  padding: 28px 0 8px;
}
.section:first-of-type { border-top: 0; padding-top: 40px; }

.section-number {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--color-accent-700);
  margin-bottom: 14px;
}

.section h2 {
  font-family: var(--font-heading);
  font-size: clamp(21px, 2.6vw, 26px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--color-text);
  margin-bottom: 14px;
}

.section p {
  font-size: 16px;
  color: var(--color-neutral-800);
  line-height: 1.7;
  margin-bottom: 14px;
}

.section ul {
  list-style: none;
  margin-bottom: 14px;
}

.section ul li {
  font-size: 16px;
  color: var(--color-neutral-800);
  line-height: 1.7;
  padding: 5px 0 5px 22px;
  position: relative;
}

/* The same square bullet the dashboard list on the landing page uses. */
.section ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 15px;
  width: 7px;
  height: 7px;
  background: var(--color-accent);
}

.section strong { color: var(--color-text); font-weight: 700; }

.divider {
  border: 0;
  border-top: 2px solid var(--color-text);
  margin: 40px 0 0;
}

/* The one callout. Ink field, accent rule — the landing's security band,
   shrunk to a paragraph. */
.highlight {
  background: var(--color-text);
  color: var(--color-neutral-100);
  border-left: 6px solid var(--color-accent);
  padding: 20px 24px;
  margin: 18px 0 20px;
}
.highlight p {
  color: var(--color-neutral-100);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 17px;
  line-height: 1.5;
  margin-bottom: 0;
}

/* ---- Footer (mirrors the landing footer) ------------------------------ */

.site-footer {
  border-top: 2px solid var(--color-text);
  background: var(--color-bg);
}
.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 22px 32px;
  display: flex;
  align-items: center;
  gap: 12px 24px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--color-neutral-700);
}
.footer-logo {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 16px;
  letter-spacing: -0.02em;
  color: var(--color-text);
}
.footer-copy { font-size: 13px; color: var(--color-neutral-700); }
.footer-spacer { flex: 1; }
.footer-inner a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

/* ---- Breakpoints ------------------------------------------------------ */

@media (max-width: 860px) {
  .nav-inner { padding-inline: 24px; }
  .page-head-inner { padding: 48px 24px 32px; }
  .container { padding-inline: 24px; padding-bottom: 64px; }
  .footer-inner { padding-inline: 24px; }
}

@media (max-width: 620px) {
  /* Privacy and Terms both stay reachable in the footer; the header keeps the
     logo and the way back to the site. */
  .nav-links .nav-link { display: none; }
  .nav-links { gap: 0; }
  .nav-inner { padding-inline: 20px; }
  .page-head-inner { padding: 36px 20px 26px; }
  .container { padding-inline: 20px; }
  .footer-inner { padding-inline: 20px; }
  .footer-spacer { display: none; }
  .section p, .section ul li { font-size: 15px; }
}

@media (max-width: 400px) {
  .nav-inner { padding-inline: 16px; gap: 12px; }
  .nav-logo { font-size: 18px; }
  .btn { padding: 10px 14px; font-size: 13px; }
  .page-head-inner, .container, .footer-inner { padding-inline: 16px; }
}
