/* ═════════════════════════════════════════════════════════════════
   Chora Pro — shared shell styles for legal/content pages
   ═════════════════════════════════════════════════════════════════
   Used by /privacy/, /terms/, /contact/. Mirrors the tokens and shell
   components (topbar, oversized footer) of events-landing/index.html.
   Content-specific styles stay inline on each page. */

:root {
  --bg:                #f6f8fc;
  --surface:           #ffffff;
  --surface-border:    rgba(10, 10, 10, 0.06);
  --surface-shadow:    0 1px 2px rgba(10, 10, 10, 0.04), 0 24px 48px -16px rgba(10, 20, 60, 0.12);
  --ink:               #0a0a0a;
  --ink-strong:        #000000;
  --muted:             #6b7280;
  --muted-2:           #9ca3af;
  --line:              #e5e7eb;
  --line-2:            #f3f4f6;
  --accent:            #113a90;
  --accent-strong:     #0d2c6e;
  --accent-soft:       #eff3ff;
  --cta-bg:            #0a0a0a;
  --cta-ink:           #ffffff;
  --font:              "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-display:      "Space Grotesk", "Inter", "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }
html, body { height: 100%; overflow-x: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background-image:
    radial-gradient(60% 50% at 85% 0%, rgba(147, 197, 253, 0.35), transparent 70%),
    radial-gradient(50% 40% at 10% 10%, rgba(199, 210, 254, 0.35), transparent 70%),
    linear-gradient(180deg, #fbfcfe 0%, #eef2f8 60%, #e7edf6 100%);
  background-attachment: fixed;
}
a { color: inherit; text-decoration: none; }

.skip-link {
  position: absolute; top: -40px; left: 8px;
  padding: 8px 12px;
  background: #fff; color: #000;
  border-radius: 6px;
}
.skip-link:focus { top: 8px; }

/* ──────── Topbar — Linktree-style floating pill ──────── */
.topbar {
  position: absolute;
  top: 20px; left: 0; right: 0;
  z-index: 20;
  padding: 0 24px;
  display: flex;
  justify-content: center;
}
.topbar__pill {
  position: relative;
  width: 100%;
  max-width: 1360px;
  background: #ffffff;
  border: 1px solid var(--surface-border);
  border-radius: 14px;
  padding: 10px 14px 10px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow:
    0 1px 2px rgba(10, 10, 10, 0.04),
    0 24px 56px -20px rgba(10, 20, 60, 0.14);
}
.topbar__burger {
  display: none;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  color: var(--ink);
  align-items: center;
  justify-content: center;
  transition: background-color 160ms ease;
}
.topbar__burger:hover { background: rgba(10, 10, 10, 0.04); }
.topbar__burger svg { width: 20px; height: 20px; display: block; }
.topbar__burger-close { display: none; }
.topbar.is-open .topbar__burger-open { display: none; }
.topbar.is-open .topbar__burger-close { display: block; }

@media (max-width: 720px) {
  .topbar__burger { display: inline-flex; }
  .topbar__nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1px solid var(--surface-border);
    border-radius: 14px;
    padding: 10px;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    box-shadow:
      0 1px 2px rgba(10, 10, 10, 0.04),
      0 24px 56px -20px rgba(10, 20, 60, 0.22);
    opacity: 0;
    transform: translateY(-6px);
    pointer-events: none;
    transition: opacity 180ms ease, transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
  }
  .topbar.is-open .topbar__nav {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .topbar__nav .topbar__link {
    padding: 12px 14px;
    font-size: 15px;
    text-align: left;
    border-radius: 10px;
    width: 100%;
  }
  .topbar__nav .cta {
    margin-top: 6px;
    padding: 14px 20px;
    font-size: 14px;
    justify-content: center;
  }
}
@media (min-width: 1440px) {
  .topbar { padding: 0 32px; }
  .topbar__pill { max-width: 1440px; }
}
.topbar__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.topbar__brand svg { width: 24px; height: 24px; }
.topbar__nav {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.topbar__link {
  padding: 10px 16px;
  font-size: 14px;
  color: var(--ink);
  border-radius: 999px;
  transition: background-color 160ms ease;
}
.topbar__link:hover { background: rgba(10, 10, 10, 0.04); }
@media (max-width: 640px) {
  .topbar__pill { padding: 8px 10px 8px 20px; gap: 12px; }
  .topbar__link { padding: 8px 12px; font-size: 13px; }
}

/* ──────── Shared CTA pill ──────── */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 100ms ease;
}
.cta:active { transform: scale(0.995); }
.cta.primary {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1f3a 60%, #2b2a63 100%);
  color: var(--cta-ink);
  box-shadow: 0 1px 2px rgba(10, 10, 10, 0.12), 0 8px 20px -8px rgba(37, 99, 235, 0.4);
}
.cta.primary:hover {
  background: linear-gradient(135deg, #1a1f3a 0%, #2b2a63 60%, #3b2a7a 100%);
}
.cta.sm { padding: 8px 14px; font-size: 13px; }
.cta.lg { padding: 14px 24px; font-size: 15px; }

/* ──────── Content shell ──────── */
.content {
  max-width: 820px;
  margin: 0 auto;
  padding: 180px 24px 96px;
}
@media (max-width: 640px) {
  .content { padding: 140px 20px 72px; }
}

.content__meta {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 20px;
}

.content h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: var(--ink-strong);
  margin: 0 0 20px;
}
.content h2 {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--ink-strong);
  margin: 56px 0 16px;
}
.content h3 {
  font-size: 16.5px;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--ink-strong);
  margin: 32px 0 10px;
}
.content p,
.content li {
  font-size: 15.5px;
  line-height: 1.7;
  color: #1f2937;
  margin: 0 0 14px;
}
.content ul,
.content ol {
  margin: 0 0 18px;
  padding-left: 22px;
}
.content li { margin-bottom: 8px; }
.content a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: rgba(17, 58, 144, 0.4);
  transition: text-decoration-color 160ms ease;
}
.content a:hover { text-decoration-color: var(--accent); }
.content strong { font-weight: 500; color: var(--ink-strong); }

.content__updated {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 40px;
}

.content__part {
  margin: 72px 0 0;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.content__part-kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
  margin: 0 0 6px;
}

.content__table-wrap {
  overflow-x: auto;
  margin: 16px 0 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #ffffff;
}
.content__table-wrap table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.content__table-wrap th,
.content__table-wrap td {
  padding: 12px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}
.content__table-wrap th {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--muted);
  background: #f9fafb;
  letter-spacing: 0.01em;
}
.content__table-wrap tbody tr:last-child td { border-bottom: none; }
.content__table-wrap td { color: #1f2937; line-height: 1.55; }

/* ──────── Oversized footer ──────── */
.megafoot {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #0a1a3f 0%, #0a0a0a 100%);
  color: #ffffff;
}
.megafoot__inner {
  max-width: 1360px;
  margin: 0 auto;
  padding: 96px 24px 0;
}
@media (min-width: 1440px) {
  .megafoot__inner { max-width: 1440px; padding-left: 32px; padding-right: 32px; }
}
.megafoot__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 64px;
  align-items: start;
  padding-bottom: 80px;
}
@media (max-width: 920px) {
  .megafoot__top { grid-template-columns: 1fr; gap: 48px; }
}
.megafoot__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.megafoot__brand svg { width: 28px; height: 28px; }
.megafoot__tagline {
  margin: 20px 0 0;
  max-width: 320px;
  font-size: 14.5px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.6);
}
.megafoot__cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}
@media (max-width: 720px) {
  .megafoot__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
}
.megafoot__col-title {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
  margin: 0 0 16px;
  letter-spacing: -0.005em;
}
.megafoot__col-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.megafoot__col-list a {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.6);
  transition: color 160ms ease;
}
.megafoot__col-list a:hover { color: #ffffff; }
.megafoot__giant {
  position: relative;
  padding: 24px 0 0;
  line-height: 0;
}
.megafoot__giant-text {
  display: block;
  width: 100%;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(100px, 24vw, 360px);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.055em;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0.04) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  user-select: none;
  pointer-events: none;
  margin: 0;
}
.megafoot__fine {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 32px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: -40px;
}
.megafoot__fine-left {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.45);
}
.megafoot__socials {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.megafoot__social {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.75);
  transition: background-color 160ms ease, color 160ms ease;
}
.megafoot__social:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}
.megafoot__social svg { width: 15px; height: 15px; }
