:root {
  --beige: #D5D3C0;
  --beige-light: #EAE8D9;
  --beige-soft: #F2F0E5;
  --orange: #E8805A;
  --gray: #7E7D7B;
  --gray-dark: #4A4945;
  --charcoal: #1B1A17;
  --off-white: #FDFCF8;
  --paper: #FAF8F2;
  --max: 780px;
  --gutter: clamp(20px, 5vw, 48px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  font-family: 'DM Sans', sans-serif;
  color: var(--charcoal);
  background: var(--paper);
  line-height: 1.7;
  font-weight: 400;
  overflow-x: hidden;
  font-feature-settings: "ss01", "kern";
}
img { display: block; max-width: 100%; height: auto; }

.eyebrow {
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gray);
  font-weight: 500;
}
.orange-line {
  width: 48px;
  height: 1.5px;
  background: var(--orange);
  display: block;
}

/* Nav */
.legal-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 248, 242, 0.88);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(27,26,23,0.08);
}
.legal-nav-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 18px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--charcoal);
}
.legal-nav a {
  color: var(--charcoal);
  text-decoration: none;
  transition: color 0.25s ease;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.legal-nav a:hover { color: var(--orange); }
.legal-nav .back::before {
  content: "←";
  font-size: 15px;
  letter-spacing: 0;
  line-height: 1;
  transition: transform 0.25s ease;
}
.legal-nav .back:hover::before { transform: translateX(-3px); }
.legal-nav .coming-soon { opacity: 0.7; }

/* Page hero */
.legal-hero {
  padding: clamp(64px, 9vw, 128px) var(--gutter) clamp(32px, 4vw, 56px);
  max-width: 1080px;
  margin: 0 auto;
}
.legal-hero .eyebrow { margin-bottom: 20px; }
.legal-hero h1 {
  font-size: clamp(40px, 7vw, 96px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.legal-hero .orange-line { margin-bottom: 22px; }
.legal-hero .meta {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gray);
  font-weight: 500;
}

/* Content */
.legal-content {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter) clamp(64px, 8vw, 112px);
  counter-reset: sec;
}
.legal-content .intro {
  font-size: clamp(17px, 1.4vw, 20px);
  font-style: italic;
  font-weight: 300;
  color: var(--gray-dark);
  padding: 0 0 clamp(32px, 5vw, 56px);
  border-bottom: 1px solid rgba(27,26,23,0.1);
  margin-bottom: clamp(32px, 5vw, 56px);
  line-height: 1.45;
}
.legal-section {
  margin-bottom: clamp(32px, 4vw, 56px);
  counter-increment: sec;
}
.legal-section-head {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  align-items: baseline;
  margin-bottom: 16px;
}
.legal-section-head::before {
  content: counter(sec, decimal-leading-zero);
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--orange);
  font-weight: 500;
  padding-top: 6px;
}
.legal-section h2 {
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.005em;
  text-transform: uppercase;
}
.legal-section .body {
  padding-left: 64px;
  color: var(--gray-dark);
  font-size: 16px;
  line-height: 1.75;
}
.legal-section .body p + p,
.legal-section .body p + ul,
.legal-section .body ul + p {
  margin-top: 12px;
}
.legal-section .body ul {
  list-style: none;
  padding: 0;
}
.legal-section .body ul li {
  padding: 4px 0;
  padding-left: 16px;
  position: relative;
}
.legal-section .body ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 14px;
  width: 6px; height: 1px;
  background: var(--orange);
}
.placeholder {
  display: inline-block;
  padding: 2px 10px;
  background: var(--beige-light);
  color: var(--gray);
  font-size: 14px;
  font-style: italic;
  letter-spacing: 0.01em;
  border-radius: 2px;
}

/* Footer */
.footer {
  background: var(--charcoal);
  color: rgba(253,252,248,0.7);
  padding: clamp(40px, 5vw, 60px) var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.footer-logo img {
  height: 22px;
  filter: invert(1) brightness(2);
}
.footer-meta { display: flex; gap: 28px; }
.footer-meta a {
  color: rgba(253,252,248,0.6);
  text-decoration: none;
  transition: color 0.3s;
}
.footer-meta a:hover { color: var(--orange); }
.footer-meta a[aria-current="page"] {
  color: var(--orange);
}
.footer-mark { color: rgba(253,252,248,0.4); }

@media (max-width: 640px) {
  .legal-nav-inner { padding: 14px var(--gutter); font-size: 10px; letter-spacing: 0.24em; }
  .legal-section-head { grid-template-columns: 36px 1fr; gap: 12px; }
  .legal-section .body { padding-left: 48px; font-size: 15px; }
  .legal-hero h1 { font-size: clamp(32px, 10vw, 56px); }
  .footer {
    flex-direction: column;
    text-align: center;
    padding: 36px var(--gutter);
    gap: 18px;
    font-size: 11px;
  }
  .footer-logo img { height: 18px; }
  .footer-mark { font-size: 10px; letter-spacing: 0.12em; }
  .footer-meta { gap: 22px; font-size: 10px; }
  .footer-meta a { padding: 4px 2px; }
}
@media (max-width: 420px) {
  .legal-section-head { grid-template-columns: 30px 1fr; gap: 10px; }
  .legal-section .body { padding-left: 0; }
}
