:root {
  --bg: #FAF6F0;
  --bg-warmer: #F5EFE5;
  --surface: #FFFFFF;
  --ink: #1A1614;
  --ink-soft: #5A544C;
  --ink-muted: #8C8479;
  --border: #EBE4D8;
  --border-strong: #DDD4C4;
  --accent: #E8643C;
  --accent-soft: #FFE4D4;
  --font-display: 'Instrument Serif', 'Times New Roman', serif;
  --font-sans: 'Geist', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'Geist Mono', monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Subtle grain overlay matching main site */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.4;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.04 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

a { color: inherit; text-decoration: none; }

/* ===== Navigation ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(250, 246, 240, 0.7);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 2;
}
.logo {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo-img { display: block; height: 17px; width: auto; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  background: var(--ink);
  color: var(--bg);
}
.btn:hover {
  background: var(--accent);
  transform: translateY(-1px);
}

/* ===== Page content ===== */
main {
  max-width: 760px;
  margin: 0 auto;
  padding: 80px 32px 60px;
  position: relative;
  z-index: 2;
}

.legal-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  display: inline-block;
}

main h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
main h1 em {
  font-style: italic;
  color: var(--accent);
}

.legal-meta {
  font-size: 14px;
  color: var(--ink-muted);
  margin-bottom: 32px;
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}

main h2 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-top: 48px;
  margin-bottom: 16px;
  color: var(--ink);
}
main h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin-top: 28px;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
main p, main li {
  font-size: 16px;
  color: var(--ink-soft);
  margin-bottom: 16px;
  line-height: 1.7;
}
main ul {
  padding-left: 24px;
  margin-bottom: 16px;
}
main li { margin-bottom: 10px; }
main a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
main a:hover { color: #D4532D; }

main strong { color: var(--ink); font-weight: 500; }

/* Careers-specific accents */
.lead {
  font-size: 19px;
  color: var(--ink);
  line-height: 1.55;
  margin-bottom: 32px;
}
.callout {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 32px;
  margin: 40px 0;
}
.callout h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  text-transform: none;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
  margin-top: 0;
}

/* ===== Footer ===== */
footer {
  max-width: 1200px;
  margin: 80px auto 0;
  padding: 40px 32px;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 13px;
  color: var(--ink-muted);
  position: relative;
  z-index: 2;
}
footer .links {
  margin-bottom: 16px;
}
footer .links a {
  color: var(--ink-soft);
  margin: 0 14px;
  transition: color 0.2s ease;
}
footer .links a:hover { color: var(--ink); }
footer .copy { font-size: 12px; }

@media (max-width: 600px) {
  main { padding: 56px 20px 40px; }
  .nav-inner { padding: 16px 20px; }
  main h2 { margin-top: 36px; }
}
