/* Privacy policy stylesheet (self-contained; no external page CSS dependencies). */

:root {
  --bg: #121218;
  --panel: #111216;
  --panel-2: #17191f;
  --panel-3: #0f1014;
  --text: #f3eee7;
  --muted: #b9afa2;
  --soft: #8f857a;
  --gold: #c9a04b;
  --gold-2: #e3c56e;
  --gold-border: rgba(214, 177, 96, 0.34);
  --line: rgba(214, 177, 96, 0.16);
  --success: #7bc08d;
  --warn: #d1aa57;
  --danger: #c97c6f;
  --shadow: 0 26px 60px rgba(0, 0, 0, 0.28);
  --content-edge-x: clamp(24px, 5vw, 72px);
  --shell: min(1180px, calc(100vw - (var(--content-edge-x) * 2)));
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background:
    radial-gradient(ellipse 115% 85% at 50% -18%, rgba(227, 197, 110, 0.14) 0%, rgba(201, 160, 75, 0.05) 32%, rgba(201, 160, 75, 0) 52%),
    radial-gradient(ellipse 90% 55% at 50% 108%, rgba(55, 52, 68, 0.22) 0%, rgba(18, 18, 24, 0) 48%),
    linear-gradient(180deg, #18181f 0%, #14141a 42%, #101014 100%);
  color: var(--text);
  font-family: "Inter", sans-serif;
}

img {
  max-width: 100%;
  display: block;
}

body,
a,
p,
h1,
h2,
h3 {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

.page {
  min-height: 100vh;
}

.research-page {
  background: none;
}

.site-header {
  position: relative;
  z-index: 3;
  padding: 18px var(--content-edge-x) 16px;
  border-bottom: 1px solid var(--line);
}

.site-header-inner {
  width: var(--shell);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px 24px;
  flex-wrap: wrap;
}

.site-header-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
  font-size: 0.95rem;
  font-weight: 500;
}

.site-header-links a {
  color: rgba(241, 223, 191, 0.9);
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.site-header-links a:hover {
  color: #f7e6be;
  border-bottom-color: rgba(227, 197, 110, 0.82);
}

.site-header-links a[aria-current="page"] {
  color: #f7e6be;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-bottom-color: rgba(227, 197, 110, 0.95);
  cursor: default;
}

.brand {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 0;
}

.brand a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 75px;
  overflow: hidden;
}

.brand img {
  width: 360px;
  max-width: 100%;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.18));
}

.research-shell {
  width: var(--shell);
  margin: 0 auto;
}

.research-hero {
  padding: 48px 0 18px;
}

.research-kicker,
.section-label {
  margin: 0 0 14px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-2);
}

.research-hero h1 {
  margin: 0;
  max-width: 900px;
  font-size: clamp(2.6rem, 4.2vw, 4.8rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
  font-weight: 800;
}

.research-intro {
  margin: 22px 0 0;
  max-width: 900px;
  font-size: clamp(1.05rem, 1.1vw, 1.24rem);
  line-height: 1.72;
  color: var(--muted);
}

.hero-note {
  margin-top: 22px;
  max-width: 860px;
  padding: 18px 20px;
  border-radius: 20px;
  border: 1px solid rgba(214, 177, 96, 0.16);
  background: rgba(255, 255, 255, 0.03);
}

.hero-note p {
  margin: 0;
  color: var(--text);
  line-height: 1.65;
}

.research-section {
  padding: 26px 0 0;
}

.research-section--last {
  padding-bottom: 72px;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(7, 7, 9, 0.88);
  padding: 24px var(--content-edge-x) 40px;
  color: rgba(239, 229, 215, 0.88);
}

@media (max-width: 860px) {
  .site-footer {
    padding-bottom: 36px;
  }
}

.site-footer-inner {
  width: var(--shell);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  text-align: center;
}

.site-footer-tagline {
  margin: -8px 0 0;
  color: rgba(241, 223, 191, 0.92);
  font-size: 0.95rem;
  font-weight: 600;
}

.site-footer-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  font-size: 0.95rem;
  font-weight: 500;
}

.site-footer-links a {
  color: rgba(241, 223, 191, 0.9);
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.site-footer-links a:hover {
  color: #f7e6be;
  border-bottom-color: rgba(227, 197, 110, 0.82);
}

.site-footer-links a[aria-current="page"] {
  color: #f7e6be;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-bottom-color: rgba(227, 197, 110, 0.95);
  cursor: default;
}

/* Privacy-specific adjustments */
.research-page .research-hero h1,
.research-page .research-hero .research-intro,
.research-page .research-hero .hero-note {
  max-width: none;
}

.research-page .legal-main {
  box-sizing: border-box;
  width: 100%;
  padding: 26px 28px 32px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(20, 21, 27, 0.96) 0%, rgba(13, 14, 18, 0.98) 100%);
  box-shadow: var(--shadow);
}

.research-page .legal-main h2 {
  margin: 2.1rem 0 0.65rem;
  font-size: clamp(1.08rem, 0.45vw + 0.98rem, 1.26rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #e8dcc8;
  border-bottom: 1px solid rgba(203, 165, 90, 0.28);
  padding-bottom: 0.35rem;
}

.research-page .legal-main > h2:first-child {
  margin-top: 0;
}

.research-page .legal-main p {
  margin: 0 0 1rem;
  color: var(--muted);
  line-height: 1.68;
}

.research-page .legal-main a {
  color: var(--gold-2);
  text-decoration: underline;
  text-underline-offset: 0.18em;
  transition: color 0.2s ease;
}

.research-page .legal-main a:hover {
  color: #f5e6c4;
}

.research-page .legal-embed {
  margin-top: 1rem;
}

.research-page .legal-embed iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  border: 0;
  border-radius: 12px;
  background: rgba(12, 12, 14, 0.4);
}

@media (max-width: 767px) {
  :root {
    --content-edge-x: 20px;
  }

  .site-header {
    padding-top: 22px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--line);
  }

  .site-header-inner {
    flex-direction: column;
    align-items: center;
  }

  .site-header-links {
    justify-content: center;
    font-size: 0.9rem;
    gap: 14px 16px;
  }

  .brand a {
    height: 52px;
  }

  .brand img {
    width: 220px;
  }

  .research-hero {
    padding: 28px 0 12px;
  }

  .research-intro {
    margin-top: 18px;
    font-size: 1rem;
    line-height: 1.66;
  }

  .hero-note {
    border-radius: 20px;
  }

  .site-footer {
    padding-top: 20px;
    padding-bottom: 36px;
  }

  .site-footer-links {
    font-size: 0.9rem;
    gap: 14px 16px;
  }

  .research-page .legal-main {
    padding: 20px 18px 24px;
    border-radius: 20px;
  }

  .research-page .legal-main h2 {
    margin-top: 1.85rem;
  }

  .research-page .legal-main > h2:first-child {
    margin-top: 0;
  }
}
