/* Naulon - shared styles for the legal pages (/privacy, /terms).
   Extracted verbatim from the two previously duplicated inline <style> blocks,
   which were byte-identical apart from the `ul` rule below. */

:root {
  --night: #0B0F1A;
  --night-ink: #F2EFE7;
  --night-dim: rgba(242, 239, 231, 0.62);
  --night-faint: rgba(242, 239, 231, 0.32);
  --night-rule: rgba(242, 239, 231, 0.12);

  --cream: #EFEAE0;
  --cream-paper: #F4F0E6;
  --ink: #14171F;
  --ink-dim: #4F5765;
  --ink-faint: #8B8F9A;
  --rule: rgba(20, 23, 31, 0.12);

  --amber: #FF7A2E;

  --display: 'Playfair Display', Georgia, serif;
  --body: 'Geist', system-ui, -apple-system, sans-serif;
  /* Labels are Geist too, at 500 + uppercase + wide tracking. Matches
     --label on the home page. The brand is two fonts; this is not a third. */
  --label: 'Geist', system-ui, -apple-system, sans-serif;

  --pad-x: clamp(24px, 5vw, 64px);
  --ease: cubic-bezier(0.2, 0, 0, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 200;
  opacity: 0.075;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.95 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  mix-blend-mode: overlay;
}

a { color: inherit; text-decoration: none; }
a.inline { color: var(--ink); border-bottom: 1px solid var(--rule); transition: border-color 0.2s var(--ease); }
a.inline:hover { border-bottom-color: var(--amber); }

nav.top {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--night);
  color: var(--night-ink);
  padding: 22px var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--night-rule);
}

.wordmark {
  font-family: var(--display);
  font-size: 26px;
  letter-spacing: -0.005em;
  color: var(--night-ink);
  line-height: 1;
}

.nav-back {
  font-family: var(--label);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--night-dim);
  transition: color 0.2s var(--ease);
}
.nav-back:hover { color: var(--night-ink); }
.nav-back::before { content: '← '; }

main {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(72px, 12vh, 128px) var(--pad-x) clamp(96px, 14vh, 160px);
}

.eyebrow {
  font-family: var(--label);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 24px;
}

h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(48px, 6.4vw, 84px);
  line-height: 1.0;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}

.lede {
  font-size: 18px;
  color: var(--ink-dim);
  margin-bottom: 56px;
  max-width: 56ch;
}

h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(26px, 2.4vw, 32px);
  letter-spacing: -0.005em;
  margin: 48px 0 16px;
}

p { margin-bottom: 18px; max-width: 64ch; }
p:last-child { margin-bottom: 0; }

/* Present on /privacy only in the original; harmless on /terms. */
ul {
  margin: 0 0 18px 22px;
  max-width: 60ch;
}
ul li { margin-bottom: 6px; }

.meta {
  font-family: var(--label);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--ink-faint);
  text-transform: uppercase;
  margin-top: 72px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
}

footer {
  background: var(--night);
  color: var(--night-faint);
  padding: 32px var(--pad-x);
  font-family: var(--label);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

footer a { color: var(--night-dim); transition: color 0.2s var(--ease); }
footer a:hover { color: var(--amber); }

@media (max-width: 640px) {
  main { padding-top: 56px; padding-bottom: 80px; }
}
