:root {
  --bg: #020202;
  --bg-elevated: #0b0b0f;
  --bg-subtle: #050509;
  --border-subtle: #23232b;
  --text: #f5f5f7;
  --text-muted: #a0a0b2;
  --accent: #8b5cf6;
  --accent-soft: rgba(139, 92, 246, 0.12);
  --danger: #f97373;
  --radius: 10px;
  --radius-pill: 999px;
  --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.65);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  background-color: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Inter", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

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

/* Layout */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 6vw;
  background: radial-gradient(circle at top, rgba(139,92,246,0.12) 0, transparent 52%),
              rgba(2,2,4,0.96);
  backdrop-filter: blur(22px);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.logo img { height: 24px; margin-right: 12px; }

.nav {
  display: flex;
  gap: 1.25rem;
  font-size: 0.9rem;
}

.nav a {
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  color: var(--text-muted);
  border: 1px solid transparent;
}

.nav a:hover {
  color: var(--text);
  border-color: rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.02);
}

.nav a.active {
  color: var(--text);
  border-color: var(--accent-soft);
  background: rgba(139,92,246,0.18);
}

/* language switch */

.header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.8rem;
}

.lang-switch .lang {
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.lang-switch .lang.active {
  border-color: rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.04);
  color: var(--text);
}

.lang-switch a.lang:hover {
  border-color: rgba(255,255,255,0.2);
  color: var(--text);
}

main {
  flex: 1;
}

/* Sections */

.section {
  padding: 3.5rem 6vw;
}

.section.narrow {
  max-width: 760px;
  margin: 0 auto;
}

.section-subtle {
  background: linear-gradient(to bottom, rgba(255,255,255,0.02), transparent);
}

.section-header {
  max-width: 720px;
}

.hero {
  padding: 3.5rem 6vw 2.5rem;
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(0, 1.4fr);
  gap: 2.5rem;
}

.hero-content {
  max-width: 700px;
}

.hero-aside {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

/* Typography */

h1, h2, h3 {
  margin: 0 0 0.5rem;
  letter-spacing: 0.02em;
}

h1 {
  font-size: clamp(2.1rem, 3vw, 2.7rem);
}

h2 {
  font-size: 1.4rem;
}

h3 {
  font-size: 1.1rem;
}

p {
  margin: 0 0 0.8rem;
  color: var(--text-muted);
}

.eyebrow {
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 0.6rem;
}

.lead {
  font-size: 1rem;
  line-height: 1.6;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.2rem;
  border-radius: 999px;
  font-size: 0.9rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.12s ease;
}

.btn.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #050509;
  font-weight: 600;
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
}

.btn.ghost {
  border-color: rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.02);
  color: var(--text-muted);
}

.btn.ghost:hover {
  border-color: rgba(255,255,255,0.35);
  color: var(--text);
}

/* Hero specific */

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.6rem;
}

.signal-card {
  background: radial-gradient(circle at top left, rgba(139,92,246,0.18) 0, transparent 62%),
              var(--bg-elevated);
  border-radius: var(--radius);
  padding: 1.4rem 1.3rem 1.3rem;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: var(--shadow-soft);
}

.signal-card h2 {
  font-size: 1rem;
  margin-bottom: 0.6rem;
}

.signal-card ul {
  margin: 0;
  padding-left: 1.1rem;
}

.signal-card li {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 0.7rem;
}

.meta-label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
}

.meta-value {
  font-size: 0.9rem;
}

.meta-value.accent {
  color: var(--danger);
}

/* Cards & grid */

.columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.4rem;
  margin-top: 1.6rem;
}

.card {
  background: var(--bg-elevated);
  border-radius: var(--radius);
  border: 1px solid var(--border-subtle);
  padding: 1.2rem 1.2rem 1rem;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.6);
}

.card h3 {
  margin-bottom: 0.5rem;
}

.pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.1rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 0.22rem 0.8rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255,255,255,0.08);
  font-size: 0.75rem;
  text-transform: lowercase;
  color: var(--text-muted);
}

/* Team cards */

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.6rem;
  margin-top: 2rem;
}

.team-card {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  background: var(--bg-elevated);
  border-radius: var(--radius);
  border: 1px solid var(--border-subtle);
  padding: 1.1rem 1.1rem 1rem;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.72);
}

.team-avatar {
  width: 100%;
  border-radius: calc(var(--radius) - 2px);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.04);
  background: #050509;
}

.team-meta h2 {
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.team-role {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.team-text {
  font-size: 0.9rem;
}

/* Footer */

.site-footer {
  padding: 1.1rem 6vw 1.4rem;
  border-top: 1px solid rgba(255,255,255,0.04);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  background: radial-gradient(circle at bottom, rgba(139,92,246,0.16) 0, transparent 55%),
              #020205;
}

.site-footer a {
  color: var(--text-muted);
}

.site-footer a:hover {
  color: var(--text);
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.disclaimer-note {
  margin-top: 1.2rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Responsive */

@media (max-width: 880px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 2.4rem;
  }

  .hero-aside {
    order: -1;
  }

  .site-header {
    padding-inline: 4vw;
  }

  .section {
    padding-inline: 4vw;
  }

  .site-footer {
    padding-inline: 4vw;
    flex-direction: column;
    gap: 0.4rem;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .nav {
    gap: 0.6rem;
    font-size: 0.8rem;
  }

  .nav a {
    padding-inline: 0.55rem;
  }
}


.page-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 1.8rem;
}

.page-logo img {
  max-width: 220px;
  height: auto;
  opacity: 0.95;
}
