/* IQ Diversity Portfolio, shared styles for legal stub pages */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:wght,FILL@100..700,0..1&display=swap");

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

:root {
  --bg: #F9F7F2;
  --ink: #1A1A1A;
  --ink-soft: #444748;
  --ink-faint: #747878;
  --oxblood: #5B1A20;
  --oxblood-deep: #3D0F16;
  --accent: #1B4332;
  --hairline: #E5E3DD;
  --paper-shadow: #EFE9E0;
  --ease-soft: cubic-bezier(0.22, 1, 0.36, 1);
}

html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { background: var(--oxblood); color: var(--bg); }

a { color: inherit; text-decoration: none; }
a:hover { color: var(--oxblood); }

/* ============== LAYOUT ============== */
.page-x { padding-left: clamp(24px, 5vw, 64px); padding-right: clamp(24px, 5vw, 64px); }
.container { max-width: 880px; margin: 0 auto; }

/* ============== TYPE TOKENS ============== */
.label-caps {
  font-family: "Space Grotesk"; font-weight: 600; font-size: 11px;
  letter-spacing: 0.22em; text-transform: uppercase;
}
.label-mono {
  font-family: "Space Grotesk"; font-weight: 400; font-size: 12px;
  letter-spacing: 0.04em;
}

/* ============== HEADER (matches index.html) ============== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  height: 80px;
  border-bottom: 1px solid transparent;
  background: rgba(249, 247, 242, 0.92);
  backdrop-filter: blur(8px);
  border-bottom-color: var(--hairline);
  transition: background 0.3s ease, border-color 0.3s ease;
}
.site-header-inner {
  height: 100%;
  display: flex; align-items: center; justify-content: space-between;
}
.site-header .brand {
  display: flex; align-items: center; gap: 12px;
}
.site-header .brand-mark {
  display: inline-block; width: 32px; height: 32px;
  background: var(--oxblood);
}
.site-header .brand-text {
  font-family: "Inter", sans-serif; font-weight: 700; letter-spacing: -0.02em;
  font-size: 16px; color: var(--ink);
}
.desktop-nav {
  display: flex; align-items: center; gap: 40px;
}
.desktop-nav a {
  color: var(--ink-soft);
  font-family: "Space Grotesk"; font-weight: 600; font-size: 11px;
  letter-spacing: 0.22em; text-transform: uppercase;
  transition: color 0.2s ease;
}
.desktop-nav a:hover { color: var(--oxblood); }
.header-right {
  display: flex; align-items: center; gap: 24px;
}
.lang-pills {
  display: flex; align-items: center; gap: 4px;
}
.lang-pill {
  background: transparent; border: none; cursor: pointer;
  font-family: "Space Grotesk"; font-weight: 600; font-size: 11px; letter-spacing: 0.16em;
  padding: 6px 10px; color: var(--ink-faint);
  transition: color 0.2s ease;
}
.lang-pill:hover { color: var(--ink); }
.lang-pill.active { background: var(--oxblood); color: var(--bg); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 12px;
  background: transparent; color: var(--oxblood);
  padding: 12px 24px;
  border: 1px solid var(--oxblood);
  font-family: "Space Grotesk"; font-weight: 600; font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase;
  transition: all 0.3s ease;
}
.btn-outline:hover { background: var(--oxblood); color: var(--bg); }

@media (max-width: 900px) {
  .desktop-nav { display: none; }
  .header-right .btn-outline { display: none; }
}

/* ============== MAIN ============== */
main {
  padding: 144px 0 96px;
}

h1 {
  font-family: "Inter", sans-serif; font-weight: 600;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.05; letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 16px;
}
.eyebrow {
  font-family: "Space Grotesk"; font-size: 11px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent); display: block; margin-bottom: 24px;
}
.lede {
  font-family: "Inter"; font-weight: 300; font-size: 19px; line-height: 1.55;
  color: var(--ink-soft); max-width: 60ch;
  margin-bottom: 64px;
}

section.legal-section {
  border-top: 1px solid var(--hairline);
  padding: 32px 0;
}
section.legal-section:last-of-type { border-bottom: 1px solid var(--hairline); }
section.legal-section h2 {
  font-family: "Inter", sans-serif; font-weight: 500;
  font-size: 22px; line-height: 1.3; letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 14px;
}
section.legal-section p { color: var(--ink-soft); margin-bottom: 12px; max-width: 70ch; }
section.legal-section p:last-child { margin-bottom: 0; }
section.legal-section ul {
  list-style: none; padding-left: 0;
  color: var(--ink-soft);
  max-width: 70ch;
  margin-bottom: 12px;
}
section.legal-section ul li {
  padding: 6px 0 6px 22px;
  position: relative;
}
section.legal-section ul li::before {
  content: ""; position: absolute; left: 0; top: 16px;
  width: 10px; height: 1px; background: var(--oxblood);
}
.placeholder {
  background: #F1E4E5;
  color: var(--oxblood);
  padding: 2px 6px;
  font-family: "Space Grotesk"; font-size: 13px; letter-spacing: 0.04em;
}
.mono {
  font-family: "Space Grotesk"; font-size: 14px;
  color: var(--ink); letter-spacing: 0.04em;
}

.updated {
  font-family: "Space Grotesk"; font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--ink-faint);
  margin-top: 48px;
}

/* ============== FOOTER (4-col, matches index.html) ============== */
.site-footer {
  background: var(--oxblood-deep);
  color: var(--bg);
  margin-top: 96px;
  padding: 96px 0 40px;
}
.site-footer-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 32px 32px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(249, 247, 242, 0.15);
}
.site-footer-col-brand    { grid-column: span 4; }
.site-footer-col-nav      { grid-column: span 2; }
.site-footer-col-legal    { grid-column: span 2; }
.site-footer-col-news     { grid-column: span 4; }

.site-footer-brand {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 24px;
}
.site-footer-brand-mark {
  display: inline-block; width: 28px; height: 28px;
  background: var(--bg);
}
.site-footer-brand-text {
  font-family: "Inter", sans-serif; font-weight: 700; letter-spacing: -0.02em;
  font-size: 16px; color: var(--bg);
}
.site-footer-tagline {
  font-family: "Inter"; font-weight: 300; font-size: 16px; line-height: 1.55;
  color: rgba(249, 247, 242, 0.7);
  max-width: 32ch;
}
.site-footer-heading {
  font-family: "Space Grotesk"; font-weight: 600; font-size: 11px;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--bg);
  margin-bottom: 24px;
}
.site-footer-list {
  list-style: none; padding: 0; margin: 0;
}
.site-footer-list li { margin-bottom: 12px; }
.site-footer-list a {
  font-family: "Space Grotesk"; font-weight: 400; font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(249, 247, 242, 0.7);
  transition: color 0.2s ease;
}
.site-footer-list a:hover { color: var(--bg); }

.newsletter-box {
  border: 1px solid rgba(249, 247, 242, 0.2);
  padding: 32px;
}
.newsletter-box .label-caps {
  display: block; color: var(--bg); margin-bottom: 12px;
}
.newsletter-box-body {
  font-family: "Inter"; font-weight: 300; font-size: 16px; line-height: 1.4;
  color: rgba(249, 247, 242, 0.7);
  margin-bottom: 24px;
}
.newsletter-form {
  display: flex; align-items: center;
  border-bottom: 1px solid rgba(249, 247, 242, 0.3);
}
.newsletter-form input {
  flex: 1;
  background: transparent; border: none; outline: none;
  padding: 8px 0;
  font-family: "Inter"; font-size: 16px;
  color: var(--bg);
}
.newsletter-form input::placeholder { color: rgba(249, 247, 242, 0.4); }
.newsletter-form button {
  background: transparent; border: none; cursor: pointer;
  color: var(--bg);
  padding: 8px;
  font-family: "Material Symbols Outlined";
  font-size: 20px;
}

.site-footer-bottom {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
  align-items: center;
  padding-top: 32px;
}
.site-footer-copy {
  grid-column: span 8;
  font-family: "Space Grotesk"; font-weight: 400; font-size: 11px;
  line-height: 1.5; letter-spacing: 0.08em;
  color: rgba(249, 247, 242, 0.55);
}
.site-footer-social {
  grid-column: span 4;
  display: flex; justify-content: flex-end; gap: 24px;
}
.site-footer-social a {
  font-family: "Space Grotesk"; font-weight: 400; font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(249, 247, 242, 0.7);
}
.site-footer-social a:hover { color: var(--bg); }

@media (max-width: 900px) {
  .site-footer-col-brand,
  .site-footer-col-nav,
  .site-footer-col-legal,
  .site-footer-col-news { grid-column: span 12; }
  .site-footer-col-nav  { grid-column: span 6; }
  .site-footer-col-legal { grid-column: span 6; }
  .site-footer-copy { grid-column: span 12; }
  .site-footer-social { grid-column: span 12; justify-content: flex-start; }
}
