/* ============= LEGAL PAGES — shared styles ============= */
:root {
  --bg: #f2e8d8;
  --ink: #1a0f0a;
  --cream: #fbf4e9;
  --rust: #e94b1b;
  --warm: #d2541c;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

/* NAV */
.nav {
  position: sticky; top: 0;
  z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 48px;
  backdrop-filter: blur(10px);
  background: rgba(242, 232, 216, 0.85);
  border-bottom: 1px solid rgba(26, 15, 10, 0.06);
}
.nav-logo {
  display: flex; align-items: center; gap: 14px;
  text-decoration: none;
  color: inherit;
}
.nav-icon {
  width: 48px; height: 48px;
  background: var(--ink);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 22px; font-weight: 700; color: var(--cream);
  letter-spacing: -0.05em;
  line-height: 1;
}
.nav-icon .slash { color: var(--rust); }
.nav-name {
  font-size: 22px; font-weight: 700; letter-spacing: -0.02em;
}
.nav-back {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  color: var(--ink);
  text-decoration: none;
  padding: 10px 16px;
  border-radius: 8px;
  transition: background 0.15s;
}
.nav-back:hover { background: rgba(26, 15, 10, 0.06); }

/* MAIN */
.legal {
  max-width: 820px;
  margin: 0 auto;
  padding: 80px 32px 120px;
}
.legal-header {
  margin-bottom: 80px;
}
.eyebrow {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rust);
  padding: 6px 14px;
  border: 1px solid var(--rust);
  border-radius: 999px;
  margin-bottom: 32px;
}
.legal h1 {
  font-size: clamp(48px, 7vw, 88px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 24px;
  text-wrap: pretty;
}
.legal h1 .accent { color: var(--rust); }
.legal .meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: rgba(26, 15, 10, 0.55);
  letter-spacing: 0.04em;
}

.legal section {
  margin-bottom: 48px;
}
.legal h2 {
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: var(--ink);
}
.legal p {
  font-size: 17px;
  color: rgba(26, 15, 10, 0.82);
  margin-bottom: 14px;
  text-wrap: pretty;
}
.legal ul {
  margin: 0 0 14px 0;
  padding-left: 24px;
}
.legal ul li {
  font-size: 17px;
  color: rgba(26, 15, 10, 0.82);
  margin-bottom: 8px;
  line-height: 1.55;
}
.legal ul.info {
  list-style: none;
  padding: 24px 28px;
  background: var(--cream);
  border-radius: 14px;
  border: 1px solid rgba(26, 15, 10, 0.06);
}
.legal ul.info li {
  margin-bottom: 6px;
  font-size: 16px;
}
.legal ul.info li b { color: var(--ink); margin-right: 6px; }
.legal a {
  color: var(--rust);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
}
.legal a:hover { color: var(--warm); }
.legal b { font-weight: 600; color: var(--ink); }

.contact-block {
  margin-top: 72px;
  padding: 40px;
  background: var(--ink);
  color: var(--cream);
  border-radius: 20px;
}
.contact-block h2 { color: var(--cream); }
.contact-block p { color: rgba(251, 244, 233, 0.8); margin-bottom: 0; }
.contact-block a { color: var(--rust); }

/* FOOTER (copy of landing) */
footer {
  padding: 80px 48px 48px;
  border-top: 1px solid rgba(26, 15, 10, 0.08);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  align-items: start;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: rgba(26, 15, 10, 0.55);
}
@media (max-width: 720px) {
  footer { grid-template-columns: 1fr 1fr; padding: 60px 24px 32px; }
  .nav { padding: 16px 20px; }
  .legal { padding: 48px 20px 80px; }
}
footer .foot-col { display: flex; flex-direction: column; gap: 8px; }
footer .foot-brand {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 700; font-size: 16px; letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 4px;
}
footer address {
  font-style: normal;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(26, 15, 10, 0.6);
  letter-spacing: 0;
}
footer .foot-label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 6px;
}
footer a {
  color: rgba(26, 15, 10, 0.7);
  text-decoration: none;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 13px;
  line-height: 1.7;
  transition: color 0.15s;
}
footer a:hover { color: var(--rust); }
footer .foot-meta {
  font-size: 11px;
  color: rgba(26, 15, 10, 0.45);
  letter-spacing: 0.06em;
  align-self: end;
}
footer .foot-meta div { line-height: 1.8; }
