/* Shared styling for legal pages (terms, privacy) */
:root {
  --black: #0F0F0F;
  --ink: #1D1D1B;
  --cream: #F4EFE8;
  --red: #791B25;
  --muted: rgba(29,29,27,0.6);
  --line: rgba(29,29,27,0.12);
  --maxw: 1280px;
  --pad-x: clamp(20px, 4vw, 48px);
  --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
  --ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Arimo', sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }

/* Legal-page nav — matches main site nav style */
.legal-nav {
  position: sticky; top: 0;
  z-index: 10;
  background: rgba(244,239,232,0.92);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid var(--line);
  padding: 14px var(--pad-x);
}
.legal-nav__inner {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  gap: clamp(16px, 2vw, 32px);
  color: var(--ink);
}
.legal-nav__brand img {
  height: 22px; width: auto;
  filter: brightness(0);
}
.legal-nav__menu {
  display: flex;
  gap: clamp(20px, 2.4vw, 32px);
  list-style: none;
  margin: 0; padding: 0;
  font-family: 'Acumin', sans-serif;
  font-weight: 800;
  font-variation-settings: "wght" 800, "wdth" 100;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.legal-nav__menu a {
  color: var(--ink);
  opacity: 0.78;
  transition: opacity 220ms ease;
}
.legal-nav__menu a:hover { opacity: 1; text-decoration: none; }
.legal-nav__cta {
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--cream);
  font-family: 'Acumin', sans-serif;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: transform 220ms ease, background 220ms ease;
}
.legal-nav__cta:hover { background: var(--red); text-decoration: none; transform: translateX(2px); }
@media (max-width: 860px) {
  .legal-nav__menu { display: none; }
}

/* Hero */
.legal-hero {
  padding: clamp(80px, 12vw, 160px) var(--pad-x) clamp(48px, 6vw, 80px);
  border-bottom: 1px solid var(--line);
}
.legal-hero__inner {
  max-width: var(--maxw); margin: 0 auto;
}
.legal-hero__kicker {
  font-family: 'Acumin', sans-serif;
  font-weight: 800;
  font-variation-settings: "wght" 800, "wdth" 100;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}
.legal-hero__title {
  font-family: 'Acumin', sans-serif;
  font-weight: 800;
  font-variation-settings: "wght" 800, "wdth" 100;
  font-size: clamp(40px, 6vw, 88px);
  line-height: 0.92;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  color: var(--ink);
}
.legal-hero__meta {
  margin-top: 32px;
  display: flex; gap: 32px; flex-wrap: wrap;
  font-family: 'Acumin', sans-serif;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Body */
.legal-body {
  padding: clamp(56px, 7vw, 96px) var(--pad-x);
}
.legal-body__inner {
  max-width: 820px; margin: 0 auto;
}
.legal-body h2 {
  font-family: 'Acumin', sans-serif;
  font-weight: 800;
  font-variation-settings: "wght" 800, "wdth" 100;
  font-size: clamp(20px, 1.8vw, 26px);
  letter-spacing: -0.015em;
  text-transform: uppercase;
  color: var(--ink);
  margin-top: 56px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 {
  font-family: 'Acumin', sans-serif;
  font-weight: 800;
  font-variation-settings: "wght" 800, "wdth" 100;
  font-size: 16px;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  color: var(--ink);
  margin-top: 32px;
  margin-bottom: 12px;
}
.legal-body p {
  font-size: 16px;
  line-height: 1.65;
  color: rgba(29,29,27,0.78);
  margin-bottom: 16px;
}
.legal-body strong { color: var(--ink); font-weight: 600; }
.legal-body ul, .legal-body ol {
  margin: 0 0 24px 20px;
  padding: 0;
}
.legal-body li {
  font-size: 16px;
  line-height: 1.65;
  color: rgba(29,29,27,0.78);
  padding-left: 6px;
  margin-bottom: 10px;
}
.legal-body a { color: var(--red); text-underline-offset: 3px; }

.legal-body .article {
  padding: 4px 0 12px;
}
.legal-body .article > p:first-of-type::first-letter { font-weight: 600; }
.legal-body .intro {
  font-family: 'Acumin', sans-serif;
  font-weight: 400;
  font-variation-settings: "wght" 400, "wdth" 100;
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.55;
  color: rgba(29,29,27,0.82);
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
  max-width: 60ch;
}

/* Footer — shared with main site */
.footer {
  background: var(--ink);
  color: var(--cream);
  padding: clamp(64px, 7vw, 96px) var(--pad-x) clamp(24px, 3vw, 36px);
}
.footer__inner { max-width: var(--maxw); margin: 0 auto; }
.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: clamp(24px, 3vw, 56px);
  align-items: start;
  padding-bottom: clamp(40px, 4vw, 56px);
}
@media (max-width: 960px) {
  .footer__top { grid-template-columns: 1fr 1fr 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; }
}
@media (max-width: 680px) {
  .footer__top { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
}
@media (max-width: 420px) {
  .footer__top { grid-template-columns: 1fr; }
  .footer__brand { flex-direction: column; align-items: flex-start; }
}

.footer__brand {
  display: flex; flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
@media (max-width: 760px) { .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer__brand { grid-column: 1 / 2; } }
.footer__brand-logo {
  display: block;
  align-self: flex-start;
  height: 24px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}
.footer__brand-tag {
  font-family: 'Acumin', sans-serif;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: -0.01em;
  color: rgba(244,239,232,0.72);
  margin: -2px 0 4px;
}
.footer__brand-email {
  font-family: 'Acumin', sans-serif;
  font-weight: 800;
  font-size: clamp(18px, 1.6vw, 22px);
  letter-spacing: -0.015em;
  color: var(--cream);
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 6px;
  transition: color 320ms cubic-bezier(0.22,1,0.36,1);
}
.footer__brand-email:hover { color: rgba(244,239,232,0.7); text-decoration: none; }
.footer__brand-email .arrow {
  font-size: 0.7em;
  transition: transform 420ms cubic-bezier(0.19,1,0.22,1);
  display: inline-block;
}
.footer__brand-email:hover .arrow { transform: translate(3px, -3px); }

.footer__col {
  display: flex; flex-direction: column;
  gap: 12px;
}
.footer__col-title {
  font-family: 'Acumin', sans-serif;
  font-weight: 800;
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(244,239,232,0.55);
  margin-bottom: 4px;
}
.footer__col a,
.footer__col address {
  font-family: 'Arimo', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  color: rgba(244,239,232,0.82);
  line-height: 1.55;
  transition: color 200ms ease;
}
.footer__col a:hover { color: var(--cream); text-decoration: none; }

.footer__social { display: flex; gap: 14px; margin-top: 2px; }
.footer__social a {
  display: inline-flex;
  color: rgba(244,239,232,0.55);
  padding: 0;
  transition: color 260ms ease;
}
.footer__social a::after { display: none; }
.footer__social a:hover { color: var(--cream); text-decoration: none; }

.footer__bottom {
  padding-top: clamp(24px, 3vw, 32px);
  border-top: 1px solid rgba(244,239,232,0.12);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  font-family: 'Arimo', sans-serif;
  font-weight: 400;
  font-size: 12px;
  color: rgba(244,239,232,0.5);
}
.footer__bottom a { color: rgba(244,239,232,0.5); transition: color 200ms ease; }
.footer__bottom a:hover { color: var(--cream); text-decoration: none; }
.footer__bottom-left {
  display: flex; flex-wrap: wrap;
  gap: 6px 20px;
  align-items: center;
}
.footer__bottom-left .dot-sep { opacity: 0.4; margin: 0 2px; }
.footer__credit a {
  position: relative;
  display: inline-block;
  padding-bottom: 1px;
}
.footer__credit a { color: var(--cream); }
.footer__credit a strong { font-weight: 700; color: var(--cream); }
.footer__credit a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--cream);
  transform: scaleX(0); transform-origin: right;
  transition: transform 520ms cubic-bezier(0.19,1,0.22,1);
}
.footer__credit a:hover { color: var(--cream); }
.footer__credit a:hover::after { transform: scaleX(1); transform-origin: left; }

.footer__top-link {
  font-family: 'Arimo', sans-serif;
  font-weight: 400;
  font-size: 12px;
  color: rgba(244,239,232,0.55);
  display: inline-flex; align-items: center; gap: 6px;
  padding: 2px 0;
  transition: color 260ms ease;
}
.footer__top-link:hover { color: var(--cream); text-decoration: none; }
.footer__top-link .arrow { display: inline-block; transition: transform 420ms cubic-bezier(0.19,1,0.22,1); }
.footer__top-link:hover .arrow { transform: translateY(-3px); }
