*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  color-scheme: light;
  --color-bg: #ffffff;
  --color-bg-alt: #f5f5f7;
  --color-surface: #ffffff;
  --color-surface-glass: rgba(255, 255, 255, 0.72);
  --color-text: #1d1d1f;
  --color-text-muted: #6e6e73;
  --color-primary: #0071e3;
  --color-primary-dark: #0058b8;
  --color-accent: #00c7b7;
  --color-border: rgba(0, 0, 0, 0.08);
  --color-border-hover: rgba(0, 0, 0, 0.14);
  --radius: 18px;
  --radius-sm: 12px;
  --max-width: 1080px;
  --shadow-card: 0 1px 3px rgba(0,0,0,0.04), 0 4px 20px rgba(0,0,0,0.06);
  --shadow-card-hover: 0 2px 8px rgba(0,0,0,0.06), 0 12px 40px rgba(0,0,0,0.1);
  --shadow-btn: 0 2px 8px rgba(0,113,227,0.25);
}
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Helvetica Neue', 'Segoe UI', sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: -0.01em;
}
a { color: var(--color-primary); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--color-primary-dark); }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* Glassmorphism Navigation */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-surface-glass);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-logo {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--color-text);
  letter-spacing: -0.02em;
}
.nav-logo:hover { color: var(--color-primary); }
.nav-links { display: flex; gap: 32px; }
.nav-links a {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  font-weight: 400;
  transition: color 0.2s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--color-text); }

/* Hero */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
  padding: 80px 24px;
  background: var(--color-bg);
}
.hero-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(0,113,227,0.06), transparent 70%),
    radial-gradient(ellipse 50% 40% at 50% 100%, rgba(0,199,183,0.04), transparent 70%);
  z-index: 0;
}
.hero-content { position: relative; z-index: 1; max-width: 760px; }
.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 18px;
}
.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.2rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin-bottom: 22px;
  color: var(--color-text);
}
.hero-title span {
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: 1.22rem;
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto 38px;
  line-height: 1.65;
  font-weight: 400;
}
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 13px 30px;
  border-radius: 980px;
  font-size: 1rem;
  font-weight: 400;
  transition: all 0.25s ease;
  cursor: pointer;
  border: none;
  letter-spacing: -0.01em;
}
.btn-primary {
  background: var(--color-primary);
  color: #fff;
}
.btn-primary:hover {
  background: var(--color-primary-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-btn);
}
.btn-secondary {
  background: transparent;
  color: var(--color-primary);
  border: 1px solid var(--color-border);
}
.btn-secondary:hover {
  background: var(--color-bg-alt);
  color: var(--color-primary-dark);
  border-color: var(--color-border-hover);
}

/* Sections */
.section { padding: 100px 0; }
.section-alt { background: var(--color-bg-alt); }
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
  text-align: center;
  color: var(--color-text);
}
.section-lead {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
  line-height: 1.65;
  font-weight: 400;
}

/* Grid & Cards */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}
.card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-3px);
  border-color: var(--color-border-hover);
}
.card-icon { font-size: 2.4rem; margin-bottom: 14px; }
.card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--color-text);
  letter-spacing: -0.02em;
}
.card p {
  color: var(--color-text-muted);
  font-size: 0.97rem;
  line-height: 1.6;
}
.card-horizontal h3 { color: var(--color-primary); }

/* Info Note (glassmorphism) */
.info-note {
  margin-top: 40px;
  background: var(--color-surface-glass);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 28px 32px;
  box-shadow: var(--shadow-card);
}
.info-note p { margin-bottom: 8px; color: var(--color-text); }
.info-note p:last-child { margin-bottom: 0; }
.info-note strong { color: var(--color-text); }

.publications-cta { text-align: center; }

/* Page Header */
.page-header {
  padding: 120px 0 60px;
  text-align: center;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(0,113,227,0.05), transparent 70%);
}
.page-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  margin-bottom: 18px;
  color: var(--color-text);
}
.page-subtitle {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.65;
}

/* Legal Content */
.legal-content { max-width: 760px; margin: 0 auto; }
.legal-content h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 32px 0 12px;
  color: var(--color-text);
  letter-spacing: -0.02em;
}
.legal-content h3:first-of-type { margin-top: 24px; }
.legal-content p { color: var(--color-text-muted); margin-bottom: 14px; line-height: 1.65; }
.legal-content ul { margin: 12px 0 20px 24px; color: var(--color-text-muted); }
.legal-content li { margin-bottom: 8px; line-height: 1.65; }
.legal-content strong { color: var(--color-text); }

/* Footer */
.footer {
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  padding: 56px 0 32px;
}
.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
  align-items: flex-start;
}
.footer-brand p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-top: 12px;
  line-height: 1.5;
}
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a { color: var(--color-text-muted); font-size: 0.95rem; }
.footer-links a:hover { color: var(--color-text); }
.footer-legal {
  flex-basis: 100%;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
}
.footer-legal p { color: var(--color-text-muted); font-size: 0.85rem; }

/* Responsive */
@media (max-width: 640px) {
  .nav-links { gap: 16px; }
  .nav-links a { font-size: 0.85rem; }
  .section { padding: 64px 0; }
  .section-title { font-size: 1.6rem; }
  .footer-container { flex-direction: column; }
  .hero { min-height: 80vh; }
}
