/* Design system — monochrome */
:root {
  --brand-primary: #1a1a1a;
  --brand-primary-dark: #000000;
  --brand-primary-light: #333333;
  --highlight-teal: #888888;
  --highlight-cyan: #cccccc;
  --highlight-orange: #666666;
  --highlight-green: #999999;
  --grey-100: #f5f5f5;
  --grey-200: #e0e0e0;
  --grey-400: #999999;
  --grey-600: #555555;
  --grey-800: #1a1a1a;
  --white: #ffffff;
  --font-logo: 'League Spartan', sans-serif;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
  --header-height: 72px;
  --cookie-banner-offset: 0px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--grey-800);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  filter: grayscale(0%);
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Top bar */
.top-bar {
  background: var(--brand-primary-dark);
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.top-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 36px;
}

.top-bar__nav {
  display: flex;
  gap: 24px;
}

.top-bar__nav a:hover {
  color: var(--white);
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--brand-primary);
  color: var(--white);
  transition: box-shadow var(--transition);
}

.fs-logo {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 102;
  display: flex;
  align-items: center;
  height: var(--header-height);
  padding: 0 20px;
  opacity: 0.92;
  transition: opacity var(--transition);
}

.fs-logo:hover {
  opacity: 1;
}

.fs-logo img {
  display: block;
  height: 42px;
  width: auto;
  max-width: 130px;
  object-fit: contain;
  filter: none;
}

.header.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 32px;
  padding-right: 148px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  color: var(--white);
  font-family: var(--font-logo);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.3;
  max-width: 260px;
}

.logo__mark {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: none;
}

.logo__text {
  display: block;
}

.logo--footer {
  margin-bottom: 16px;
  font-size: 10px;
  max-width: 280px;
}

.logo--footer .logo__mark {
  width: 36px;
  height: 36px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav a,
.nav-dropdown__toggle {
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 4px;
  transition: background var(--transition);
  color: var(--white);
}

.nav a:hover,
.nav-dropdown__toggle:hover,
.nav-dropdown.open .nav-dropdown__toggle {
  background: rgba(255, 255, 255, 0.1);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown__toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
}

.nav-dropdown__toggle::after {
  content: '';
  width: 6px;
  height: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-top: -3px;
  transition: transform var(--transition);
}

.nav-dropdown.open .nav-dropdown__toggle::after {
  transform: rotate(-135deg);
  margin-top: 3px;
}

.nav-dropdown__menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  margin: 0;
  padding: 8px 0;
  list-style: none;
  background: var(--brand-primary-dark);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  z-index: 110;
}

.nav-dropdown:hover .nav-dropdown__menu,
.nav-dropdown.open .nav-dropdown__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown__menu a {
  display: block;
  padding: 10px 16px;
  border-radius: 0;
}

.nav-dropdown__menu a:hover {
  background: rgba(255, 255, 255, 0.08);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang-toggle {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.1);
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.lang-toggle:hover {
  border-color: var(--white);
  transform: scale(1.06);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.12);
}

.lang-toggle__flag {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.lang-toggle__flag--en,
.lang-toggle__flag--cs {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.lang-toggle[data-current-lang="cs_cz"] .lang-toggle__flag--en {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.85);
}

.lang-toggle[data-current-lang="cs_cz"] .lang-toggle__flag--cs {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.lang-toggle[data-current-lang="en_us"] .lang-toggle__flag--en {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.lang-toggle[data-current-lang="en_us"] .lang-toggle__flag--cs {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.85);
}

.search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--white);
  border-radius: 4px;
  transition: background var(--transition);
}

.search-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--white);
  border-radius: 1px;
  transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 2px;
  transition: all var(--transition);
}

.btn--primary {
  background: var(--white);
  color: var(--brand-primary-dark);
}

.btn--primary:hover {
  background: var(--grey-100);
  transform: translateY(-1px);
}

.btn--dark {
  background: var(--brand-primary);
  color: var(--white);
}

.btn--dark:hover {
  background: var(--brand-primary-light);
  transform: translateY(-1px);
}

.btn--outline-light {
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: var(--white);
}

.btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--grey-800);
  transition: gap var(--transition);
}

.mission-panel .link-arrow {
  color: var(--white);
}

.link-arrow::after {
  content: '→';
  transition: transform var(--transition);
}

.link-arrow--light {
  color: var(--white);
  margin-top: 28px;
}

.link-arrow:hover {
  gap: 12px;
}

.link-arrow:hover::after {
  transform: translateX(4px);
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-height) - 36px);
  min-height: calc(100dvh - var(--header-height) - 36px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: #1a1a1a;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  filter: grayscale(100%);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.3) 0%,
    rgba(0, 0, 0, 0.55) 50%,
    rgba(0, 0, 0, 0.92) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 80px 24px 120px;
  max-width: 800px;
}

.hero__eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 16px;
}

.hero__title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 40px;
  letter-spacing: -0.02em;
}

.hero__scroll {
  position: absolute;
  bottom: 40px;
  right: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.8), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(0.8); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* Sections */
.section {
  padding: 100px 0;
}

.page-section {
  min-height: calc(100vh - var(--header-height));
}

.section-header h1,
.section-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 300;
  line-height: 1.2;
  color: var(--brand-primary);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-header {
  max-width: 640px;
  margin-bottom: 56px;
}

.section-header--light {
  color: var(--white);
}

.section-header--light h1,
.section-header--light h2 {
  color: var(--white);
}

.section-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey-600);
  margin-bottom: 12px;
}

.section-label--light {
  color: rgba(255, 255, 255, 0.6);
}

.section-intro {
  font-size: 18px;
  color: var(--grey-600);
  line-height: 1.7;
}

/* Tags */
.tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--grey-800);
  background: rgba(0, 0, 0, 0.08);
  padding: 4px 10px;
  border-radius: 2px;
  margin-bottom: 12px;
}

.tag--teal {
  color: var(--grey-600);
  background: rgba(0, 0, 0, 0.06);
}

.tag--cyan {
  color: var(--grey-800);
  background: rgba(0, 0, 0, 0.1);
}

.tag--orange {
  color: var(--grey-600);
  background: rgba(0, 0, 0, 0.07);
}

/* Stories grid */
.section--purpose {
  background: var(--grey-100);
}

.section--teaching {
  background: var(--white);
}

.teaching-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.teaching-card {
  padding: 32px;
  background: var(--grey-100);
  border-left: 3px solid var(--brand-primary);
}

.teaching-card h2,
.teaching-card h3 {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--brand-primary);
  margin-bottom: 12px;
}

.stories-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 24px;
}

.story-card {
  background: var(--white);
  border-radius: 2px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.story-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.14);
}

.story-card--featured {
  grid-row: span 2;
  grid-column: 1;
}

.about-photo {
  grid-column: 2 / 4;
  grid-row: 1;
  margin: 0;
  padding: 0;
}

.about-photo img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(0%);
  transition: transform 0.6s ease;
}

.about-story {
  grid-column: 2 / 4;
  grid-row: 2;
}

.about-story .story-card__body {
  padding: 32px;
}

.about-story .story-card__desc {
  margin-top: 4px;
}

/* Partners teaser (homepage) */
.partners-teaser {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  margin-top: 24px;
  padding: 44px 48px;
  background: var(--brand-primary);
  color: var(--white);
  border-radius: 2px;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.partners-teaser:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.18);
}

.partners-teaser__main h3 {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 400;
  line-height: 1.3;
  margin: 12px 0 16px;
  letter-spacing: -0.02em;
}

.partners-teaser__main p {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 20px;
  max-width: 520px;
}

.partners-teaser .link-arrow {
  color: var(--white);
}

.partners-teaser .link-arrow::after {
  border-color: var(--white);
}

.partners-teaser__aside {
  width: 100%;
}

.partners-teaser__logo-wall {
  padding: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 2px;
}

.partners-teaser__logos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  width: 100%;
}

.partners-teaser__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 72px;
  padding: 10px 12px;
  border-radius: 2px;
  overflow: hidden;
}

.partners-teaser__logo--light {
  background: var(--white);
}

.partners-teaser__logo--dark {
  background: #0a0a0a;
}

.partners-teaser__logo img {
  display: block;
  max-width: 100%;
  max-height: 40px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: none;
}

.partners-teaser__logo--mark span {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.partners-teaser__logo--light.partners-teaser__logo--mark span {
  color: var(--brand-primary);
}

.story-card__image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.story-card--featured .story-card__image {
  aspect-ratio: auto;
  height: 100%;
  min-height: 280px;
}

.story-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.story-card:hover .story-card__image img {
  transform: scale(1.05);
}

.story-card__body {
  padding: 24px;
}

.story-card__body h3 {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--brand-primary);
  margin-bottom: 8px;
}

.story-card--featured .story-card__body h3 {
  font-size: 22px;
}

.story-card__body p,
.story-card__desc {
  font-size: 14px;
  color: var(--grey-600);
  line-height: 1.6;
}

/* Missions */
.section--missions {
  background: var(--brand-primary);
  color: var(--white);
}

.missions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  margin-bottom: 48px;
}

.mission-tab {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 24px;
  text-align: left;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.6);
  border-bottom: 3px solid transparent;
  transition: all var(--transition);
}

.mission-tab:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.mission-tab.active {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-bottom-color: var(--white);
}

.mission-tab__num {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.5);
}

.mission-tab__title {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}

.mission-panel {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}

.mission-panel__image {
  border-radius: 2px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.mission-panel__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.4s ease;
}

.mission-panel__content h2,
.mission-panel__content h3 {
  font-size: 28px;
  font-weight: 300;
  line-height: 1.3;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.mission-panel__content p {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 24px;
}

/* Products */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.product-card {
  display: block;
  border-radius: 2px;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: default;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.16);
}

.product-card__image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.product-card:hover .product-card__image img {
  transform: scale(1.06);
}

.product-card__body {
  padding: 28px;
  border-top: 3px solid var(--brand-primary);
}

.product-card__body h3 {
  font-size: 20px;
  font-weight: 500;
  color: var(--brand-primary);
  margin-bottom: 8px;
}

.product-card__body p {
  font-size: 14px;
  color: var(--grey-600);
  margin-bottom: 0;
}

/* Careers */
.section--careers {
  background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-dark) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.section--careers::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.8) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.8) 1px, transparent 1px);
  background-size: 40px 40px;
}

.careers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
}

.careers__text h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 300;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.careers__text p {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 32px;
}

.careers__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.stat {
  text-align: center;
  padding: 32px 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 2px;
}

.stat__number {
  display: block;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  line-height: 1;
  color: var(--white);
  letter-spacing: -0.02em;
}

.stat__suffix {
  font-size: 2rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.6);
}

.stat__label {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

/* News */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.news-card {
  padding: 32px;
  background: var(--grey-100);
  border-radius: 2px;
  border-left: 3px solid var(--brand-primary);
  transition: background var(--transition), transform var(--transition);
}

.news-card:hover {
  background: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.news-card h2,
.news-card h3 {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--brand-primary);
  margin-bottom: 12px;
}

.news-card p {
  font-size: 14px;
  color: var(--grey-600);
  line-height: 1.6;
  margin-bottom: 16px;
}

.news-card time {
  font-size: 12px;
  color: var(--grey-400);
}

/* Events page */
.events-list {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.event-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.event-block--reverse .event-block__image {
  order: -1;
}

.event-block__content h2 {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 500;
  line-height: 1.35;
  color: var(--brand-primary);
  margin-bottom: 20px;
}

.event-block__content p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--grey-600);
}

.event-block__image {
  margin: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 2px;
  box-shadow: var(--shadow);
}

.event-block__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.event-block:hover .event-block__image img {
  transform: scale(1.03);
}

/* Missions & teaching pages */
.missions-page,
.teaching-page,
.investors-page,
.careers-page,
.cookies-page {
  background: var(--white);
}

.missions-hero {
  padding: 120px 0 80px;
  background: var(--brand-primary);
  color: var(--white);
}

.missions-hero__inner {
  max-width: 780px;
}

.missions-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}

.missions-hero__lead {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.82);
  max-width: 680px;
}

.missions-hero__cta {
  margin-top: 32px;
}

.missions-close__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.careers__cta {
  margin-left: 12px;
}

.section-intro--light {
  color: rgba(255, 255, 255, 0.75);
}

/* Investors page */
.investors-thesis {
  padding: 96px 0;
}

.investors-thesis__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}

.investors-thesis__text h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  color: var(--brand-primary);
}

.investors-thesis__text p {
  font-size: 17px;
  line-height: 1.75;
  color: var(--grey-600);
  margin-bottom: 20px;
}

.investors-thesis__text p:last-child {
  margin-bottom: 0;
}

.investors-thesis__figure img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 2px;
}

.investors-pillars {
  padding: 96px 0;
  background: var(--grey-100);
}

.investors-section__header {
  max-width: 640px;
  margin-bottom: 48px;
}

.investors-section__header h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--brand-primary);
}

.investors-section__header--light h2 {
  color: var(--white);
}

.investors-pillars__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.investors-pillar {
  padding: 36px 28px;
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: 2px;
}

.investors-pillar__num {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--grey-500);
  margin-bottom: 20px;
}

.investors-pillar h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--brand-primary);
  margin-bottom: 12px;
  line-height: 1.35;
}

.investors-pillar p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--grey-600);
}

.investors-traction {
  padding: 96px 0;
  background: var(--brand-primary);
  color: var(--white);
}

.investors-traction__metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}

.investors-traction__metrics .metric {
  background: var(--white);
  padding: 28px 32px;
}

.investors-traction__metrics .metric__value {
  color: var(--brand-primary);
}

.investors-traction__metrics .metric__unit {
  color: var(--grey-400);
}

.investors-traction__metrics .metric__label {
  color: var(--grey-600);
}

.metric--light {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.metric--light .metric__value,
.metric--light .metric__unit {
  color: var(--white);
}

.metric--light .metric__label {
  color: rgba(255, 255, 255, 0.72);
}

.investors-focus {
  padding: 96px 0;
}

.investors-focus__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.investors-focus__text h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: var(--brand-primary);
}

.investors-focus__text p {
  font-size: 17px;
  line-height: 1.75;
  color: var(--grey-600);
}

.investors-focus__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.investors-focus__list li {
  position: relative;
  padding-left: 24px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--grey-600);
}

.investors-focus__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--grey-800);
}

/* Careers page */
.careers-benefits {
  padding: 96px 0;
}

.careers-section__header {
  max-width: 680px;
  margin-bottom: 48px;
}

.careers-section__header h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--brand-primary);
  margin-bottom: 16px;
}

.careers-section__header--light h2 {
  color: var(--white);
}

.careers-section__header .section-intro {
  margin-top: 8px;
}

.careers-benefits__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.careers-benefit {
  padding: 32px 28px;
  background: var(--grey-100);
  border-radius: 2px;
}

.careers-benefit h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--brand-primary);
  margin-bottom: 10px;
}

.careers-benefit p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--grey-600);
}

.careers-areas {
  padding: 96px 0;
  background: var(--brand-primary);
  color: var(--white);
}

.careers-areas__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.careers-area {
  padding: 28px 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 2px;
}

.careers-area h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1.35;
}

.careers-area p {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
}

.careers-process {
  padding: 96px 0;
  background: var(--grey-100);
}

.careers-process__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 20px;
}

.careers-step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 24px;
  align-items: start;
  padding: 28px 32px;
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: 2px;
}

.careers-step__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--brand-primary);
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 600;
}

.careers-step__content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--brand-primary);
  margin-bottom: 8px;
}

.careers-step__content p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--grey-600);
}

.careers-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 16px;
}

.careers-modal[hidden] {
  display: none;
}

.careers-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(4px);
}

.careers-modal__dialog {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(680px, 100%);
  max-height: min(92vh, 920px);
  background: var(--white);
  color: var(--brand-primary);
  box-shadow: 0 32px 96px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.careers-modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  z-index: 2;
  display: grid;
  place-items: center;
}

.careers-modal__close span {
  position: absolute;
  width: 18px;
  height: 2px;
  background: var(--white);
  border-radius: 1px;
  transition: background var(--transition);
}

.careers-modal__close span:first-child {
  transform: rotate(45deg);
}

.careers-modal__close span:last-child {
  transform: rotate(-45deg);
}

.careers-modal__close:hover span {
  background: rgba(255, 255, 255, 0.75);
}

.careers-modal__header {
  flex-shrink: 0;
  padding: 28px 56px 24px 28px;
  background: var(--brand-primary);
  color: var(--white);
}

.careers-modal__header .section-label {
  margin-bottom: 10px;
}

.careers-modal__brand {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  font-family: var(--font-logo);
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}

.careers-modal__intro {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.76);
  max-width: 54ch;
}

.careers-modal__body {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--grey-100);
}

.careers-form {
  display: grid;
  gap: 18px;
  padding: 24px;
}

.careers-form__field {
  display: grid;
  gap: 10px;
}

.careers-form__label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--brand-primary);
}

.careers-form__input {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid transparent;
  background: var(--white);
  color: var(--brand-primary);
  font: inherit;
  font-size: 15px;
  border-radius: 2px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.careers-form__input--area {
  min-height: 112px;
  resize: vertical;
  line-height: 1.6;
}

.careers-form__input:focus {
  outline: none;
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(26, 26, 26, 0.08);
}

.careers-form__chips {
  display: grid;
  gap: 8px;
}

.careers-form__chips--grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.careers-form__chips--faculty {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.careers-form__chip {
  position: relative;
  display: block;
  cursor: pointer;
}

.careers-form__chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.careers-form__chip span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 14px;
  border: 1px solid var(--grey-200);
  background: var(--white);
  color: var(--grey-600);
  font-size: 14px;
  line-height: 1.4;
  text-align: center;
  border-radius: 2px;
  transition:
    border-color var(--transition),
    background var(--transition),
    color var(--transition),
    box-shadow var(--transition);
}

.careers-form__chip--check span {
  justify-content: flex-start;
  text-align: left;
}

.careers-form__chip--compact span {
  min-height: 42px;
  padding: 10px 8px;
  font-size: 13px;
  font-weight: 600;
}

.careers-form__chip:hover span {
  border-color: var(--grey-400);
  color: var(--brand-primary);
}

.careers-form__chip input:checked + span {
  border-color: var(--brand-primary);
  background: var(--brand-primary);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.careers-form__chip input:focus-visible + span {
  outline: 2px solid var(--brand-primary);
  outline-offset: 2px;
}

.careers-form__chip--other {
  grid-column: 1 / -1;
}

.careers-form__other-input {
  margin-top: 2px;
}

.careers-form__feedback {
  font-size: 14px;
  line-height: 1.6;
  padding: 12px 14px;
  border-radius: 2px;
}

.careers-form__feedback--error {
  color: #8b1e1e;
  background: #fdecec;
  border: 1px solid #f5c2c2;
}

.careers-form__feedback--success {
  color: #14532d;
  background: #e8f7ee;
  border: 1px solid #b7e4c7;
}

.careers-modal__footer {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 24px;
  background: var(--brand-primary);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.careers-modal__note {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
}

.careers-form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-left: auto;
}

.careers-form__cancel {
  border-color: rgba(255, 255, 255, 0.35) !important;
}

body.careers-modal-open {
  overflow: hidden;
}

@media (max-width: 640px) {
  .careers-modal {
    padding: 0;
    align-items: stretch;
  }

  .careers-modal__dialog {
    width: 100%;
    max-height: 100vh;
    border-radius: 0;
  }

  .careers-modal__header {
    padding: 24px 52px 20px 20px;
  }

  .careers-form {
    padding: 18px 16px 20px;
  }

  .careers-form__chips--grid,
  .careers-form__chips--faculty {
    grid-template-columns: 1fr;
  }

  .careers-modal__footer {
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
  }

  .careers-form__actions {
    width: 100%;
    margin-left: 0;
  }

  .careers-form__actions .btn {
    flex: 1 1 auto;
    justify-content: center;
  }
}

.mission-chapter {
  padding: 96px 0;
}

.mission-chapter--alt {
  background: var(--grey-100);
}

.mission-chapter--dark {
  background: var(--brand-primary);
  color: var(--white);
}

.mission-chapter__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: start;
}

.mission-chapter--media-left .mission-chapter__figure {
  order: -1;
}

.mission-chapter__num {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--grey-500);
  margin-bottom: 16px;
}

.mission-chapter__tag {
  margin-bottom: 12px;
}

.mission-chapter--dark .mission-chapter__tag {
  color: var(--grey-600);
  background: rgba(255, 255, 255, 0.12);
}

.mission-chapter--dark .mission-chapter__num {
  color: rgba(255, 255, 255, 0.45);
}

.mission-chapter__content h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 400;
  line-height: 1.25;
  color: var(--brand-primary);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.mission-chapter--dark .mission-chapter__content h2 {
  color: var(--white);
}

.mission-chapter__lead {
  font-size: 18px;
  line-height: 1.65;
  font-weight: 500;
  color: var(--grey-800);
  margin-bottom: 28px;
}

.mission-chapter--dark .mission-chapter__lead {
  color: rgba(255, 255, 255, 0.9);
}

.mission-chapter__text {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 28px;
}

.mission-chapter__text p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--grey-600);
}

.mission-chapter__points {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-left: 0;
  list-style: none;
}

.mission-chapter__points li {
  position: relative;
  padding-left: 20px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--grey-700);
}

.mission-chapter__points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  background: var(--brand-primary);
  border-radius: 50%;
}

.mission-chapter--dark .mission-chapter__points li {
  color: rgba(255, 255, 255, 0.78);
}

.mission-chapter--dark .mission-chapter__points li::before {
  background: var(--white);
}

.mission-chapter__figure {
  margin: 0;
}

.mission-chapter__figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: var(--shadow);
}

.mission-chapter__figure figcaption {
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--grey-500);
}

.mission-chapter--dark .mission-chapter__figure figcaption {
  color: rgba(255, 255, 255, 0.55);
}

.mission-chapter--stacked .mission-chapter__content--centered {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}

.mission-chapter--stacked .mission-chapter__num {
  margin-bottom: 20px;
}

.mission-chapter__figure--wide {
  margin-bottom: 40px;
}

.mission-chapter__figure--wide img {
  aspect-ratio: 21 / 9;
  max-height: 420px;
}

.mission-chapter__columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 36px;
}

.mission-chapter__columns p {
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.78);
}

.mission-chapter__points--inline {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 16px 32px;
  justify-content: center;
}

.mission-chapter__points--inline li {
  flex: 0 1 auto;
}

.missions-close {
  padding: 80px 0 100px;
  background: var(--grey-100);
}

.missions-close__inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.missions-close blockquote {
  margin: 0 0 32px;
  padding: 0;
  border: none;
}

.missions-close blockquote p {
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  font-weight: 300;
  line-height: 1.5;
  color: var(--brand-primary);
  font-style: italic;
  letter-spacing: -0.01em;
}

/* Partners page */
.partners-page {
  background: var(--white);
}

.partners-spotlight {
  padding: 80px 0;
  background: var(--grey-100);
}

.partner-spotlight {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 56px;
  align-items: center;
  padding: 48px;
  background: var(--white);
  border-radius: 2px;
  box-shadow: var(--shadow);
}

.partner-spotlight__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 32px;
  background: var(--grey-100);
  border-radius: 2px;
}

.partner-spotlight__logo img {
  max-width: 100%;
  max-height: 80px;
  filter: none;
}

.partner-spotlight__body h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  font-weight: 400;
  line-height: 1.3;
  color: var(--brand-primary);
  margin: 12px 0 20px;
  letter-spacing: -0.02em;
}

.partner-spotlight__body p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--grey-600);
  margin-bottom: 24px;
}

.partners-section {
  padding: 96px 0;
}

.partners-section__header {
  max-width: 640px;
  margin-bottom: 56px;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.partners-grid--three {
  grid-template-columns: repeat(3, 1fr);
}

.partner-card {
  position: relative;
  padding: 0 32px 32px;
  background: var(--grey-100);
  border-radius: 2px;
  border-left: 3px solid var(--brand-primary);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.partner-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.partner-card__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 120px;
  margin: 0 -32px 24px;
  padding: 0 24px;
  background: var(--white);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.partner-card__logo--dark {
  background: #0a0a0a;
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.partner-card__logo img {
  display: block;
  max-width: 100%;
  max-height: 64px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: none;
}

.partner-card__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--brand-primary);
  background: var(--white);
  border-radius: 2px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.partner-card__type {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey-500);
  margin-bottom: 8px;
}

.partner-card h3 {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--brand-primary);
  margin-bottom: 12px;
}

.partner-card p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--grey-600);
}

.partners-values {
  padding: 96px 0;
  background: var(--brand-primary);
  color: var(--white);
}

.partners-values__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: start;
}

.partners-values__text h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 300;
  line-height: 1.25;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.partners-values__text p {
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 18px;
}

.partners-values__text p:last-child {
  margin-bottom: 0;
}

.partners-values__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 32px;
  margin: 0;
  list-style: none;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 2px;
}

.partners-values__list li {
  position: relative;
  padding-left: 20px;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.85);
}

.partners-values__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  background: var(--white);
  border-radius: 50%;
}

/* Team page */
.team-page {
  background: var(--white);
}

.team-section {
  padding: 88px 0;
}

.team-section--board {
  background: var(--grey-100);
}

.team-section--leads {
  background: var(--white);
}

.team-section--squads {
  padding-bottom: 108px;
  background: var(--grey-100);
}

.team-section__header {
  max-width: 640px;
  margin-bottom: 56px;
}

.team-section__header--centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.team-section__header h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--brand-primary);
  letter-spacing: -0.03em;
}

.team-section__header--centered .section-intro {
  margin-top: 16px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.team-section__header--light h2 {
  color: var(--white);
}

.team-tree {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 760px;
  margin: 0 auto;
}

.team-leads {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.team-leads .team-profile--lead {
  max-width: none;
  grid-template-columns: 140px 1fr;
  padding: 28px 32px;
}

.team-leads .team-profile--lead .team-profile__body h3 {
  font-size: clamp(1.15rem, 2vw, 1.35rem);
}

.team-leads .team-profile__contact {
  display: none;
}

@media (min-width: 1025px) {
  .team-leads .team-profile--lead:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    width: calc((100% - 24px) / 2);
    justify-self: center;
  }
}

.team-tree__connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  height: 48px;
  position: relative;
}

.team-tree__line {
  display: block;
  width: 2px;
  height: 100%;
  background: var(--grey-400);
}

.team-section--executive .team-tree__line,
.team-section--executive .team-tree__bar {
  background: rgba(255, 255, 255, 0.25);
}

.team-tree__connector--branch {
  height: 56px;
}

.team-tree__bar {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(480px, 72%);
  height: 2px;
  background: var(--grey-400);
}

.team-profiles--row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  width: 100%;
}

.team-profile {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  align-items: start;
  width: 100%;
  padding: 28px 32px;
  background: var(--white);
  border-radius: 2px;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.team-profile:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.team-profile--lead {
  grid-template-columns: 180px 1fr;
  padding: 36px 40px;
  max-width: 680px;
}

.team-tree--board .team-profile--sublead {
  grid-template-columns: 140px 1fr;
  padding: 28px 32px;
  max-width: 580px;
}

.team-tree--board .team-profile--sublead .team-profile__body h3 {
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
}

.team-tree--board .team-profile--sublead .team-profile__bio {
  font-size: 14px;
}

.team-tree--board .team-profile--sublead .team-profile__photo--placeholder {
  font-size: 20px;
}

.team-profile--secondary {
  grid-template-columns: 100px 1fr;
  max-width: 520px;
  padding: 24px 28px;
  opacity: 0.95;
}

.team-profile--hero {
  max-width: 100%;
  grid-template-columns: 200px 1fr;
  padding: 40px 44px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

.team-profile--hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
  background: rgba(255, 255, 255, 0.1);
}

.team-profile--card {
  grid-template-columns: 1fr;
  text-align: center;
  padding: 32px 28px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

.team-profile--card:hover {
  background: rgba(255, 255, 255, 0.09);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.15);
}

.team-profile--card .team-profile__photo {
  width: 96px;
  margin: 0 auto 20px;
}

.team-profile--card .team-profile__body h3,
.team-profile--card .team-profile__role,
.team-profile--card .team-profile__bio {
  color: var(--white);
}

.team-profile--card .team-profile__role {
  color: rgba(255, 255, 255, 0.55);
}

.team-profile--card .team-profile__bio {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.team-profile--hero .team-profile__body h3,
.team-profile--hero .team-profile__role,
.team-profile--hero .team-profile__bio {
  color: var(--white);
}

.team-profile--hero .team-profile__role {
  color: rgba(255, 255, 255, 0.55);
}

.team-profile--hero .team-profile__bio {
  color: rgba(255, 255, 255, 0.78);
}

.team-profile__photo {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 2px;
  overflow: hidden;
  background: var(--grey-200);
}

.team-profile__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-profile__photo--circle {
  border-radius: 50%;
}

.team-profile__photo--circle img {
  border-radius: 50%;
  object-position: center 25%;
}

.team-profile__contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.team-profile__contact-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--grey-500);
  text-decoration: none;
  transition: color var(--transition);
}

.team-profile__contact-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  opacity: 0.55;
  transition: opacity var(--transition);
}

.team-profile__contact-link:hover {
  color: var(--brand-primary);
}

.team-profile__contact-link:hover .team-profile__contact-icon {
  opacity: 1;
}

.team-profile__contact--light .team-profile__contact-link {
  color: rgba(255, 255, 255, 0.55);
}

.team-profile__contact--light .team-profile__contact-link:hover {
  color: var(--white);
}

.team-profile__photo--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-primary);
  color: var(--white);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.team-profile--hero .team-profile__photo--placeholder,
.team-profile--card .team-profile__photo--placeholder {
  background: rgba(255, 255, 255, 0.12);
}

.team-profile__body h3 {
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 500;
  line-height: 1.3;
  color: var(--brand-primary);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.team-profile--lead .team-profile__body h3 {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
}

.team-profile__role {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey-500);
  margin-bottom: 6px;
}

.team-profile__school {
  font-size: 13px;
  line-height: 1.45;
  color: var(--grey-500);
  margin-bottom: 14px;
}

.team-profile__bio {
  font-size: 15px;
  line-height: 1.75;
  color: var(--grey-600);
}

.team-squads {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (min-width: 1025px) {
  .team-squads .team-squad:last-child:nth-child(3n + 1) {
    grid-column: 1 / -1;
    width: calc((100% - 40px) / 3);
    justify-self: center;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .team-squads .team-squad:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    width: calc((100% - 20px) / 2);
    justify-self: center;
  }
}

.team-squad {
  padding: 0;
  background: var(--white);
  border-radius: 2px;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.team-squad:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.team-squad h3 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--brand-primary);
  margin: 0;
  padding: 16px 24px;
}

.team-squad__list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
  padding: 8px 0;
  list-style: none;
}

.team-squad__list li {
  padding: 12px 24px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: background var(--transition), padding-left var(--transition);
}

.team-squad__member {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.team-squad__name {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--brand-primary);
}

.team-squad__school {
  font-size: 13px;
  line-height: 1.45;
  color: var(--grey-500);
}

.team-squad__list li:last-child {
  border-bottom: none;
}

.team-squad__list li:hover {
  background: rgba(0, 0, 0, 0.03);
  padding-left: 28px;
}

.team-squad__list li::before {
  display: none;
}

/* Financial results */
.section--results {
  background: var(--grey-100);
}

.results {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: start;
}

.results__header h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 300;
  color: var(--brand-primary);
  line-height: 1.3;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.results__header blockquote {
  border-left: 3px solid var(--grey-800);
  padding-left: 24px;
}

.results__header blockquote p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--grey-600);
  font-style: italic;
  margin-bottom: 12px;
}

.results__header cite {
  font-size: 14px;
  font-weight: 600;
  color: var(--brand-primary);
  font-style: normal;
}

.results__metrics {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.metric {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px 28px;
  background: var(--white);
}

.metric__head {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.metric__value {
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--brand-primary);
  line-height: 1;
  letter-spacing: -0.02em;
}

.metric__unit {
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--grey-400);
}

.metric__unit:empty {
  display: none;
}

.metric__label {
  font-size: 14px;
  font-weight: 500;
  color: var(--grey-600);
  line-height: 1.4;
}

/* Footer */
.footer {
  background: var(--brand-primary-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0 32px;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 64px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__brand p {
  font-size: 14px;
  line-height: 1.6;
  max-width: 320px;
}

.footer__operator {
  margin-top: 12px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

.footer__links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.footer__col h4 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 16px;
}

.footer__col a {
  display: block;
  font-size: 14px;
  padding: 6px 0;
  transition: color var(--transition);
}

.footer__col a:hover {
  color: var(--white);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  font-size: 13px;
}

.footer__bottom-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer__operator--bottom {
  margin-top: 0;
}

.footer__legal {
  display: flex;
  gap: 24px;
}

.footer__legal a:hover {
  color: var(--white);
}

/* Responsive */
@media (max-width: 1024px) {
  .container {
    padding: 0 20px;
  }

  .missions-hero {
    padding: 100px 0 64px;
  }

  .cookies-policy,
  .legal-page {
    padding: 72px 0 80px;
  }

  .stories-grid {
    grid-template-columns: 1fr 1fr;
  }

  .story-card--featured {
    grid-row: span 1;
    grid-column: span 2;
  }

  .about-photo {
    grid-column: span 2;
    grid-row: auto;
  }

  .about-story {
    grid-column: span 2;
    grid-row: auto;
  }

  .about-photo img {
    min-height: 240px;
  }

  .story-card--featured .story-card__image {
    aspect-ratio: 16 / 9;
    min-height: auto;
  }

  .missions {
    grid-template-columns: repeat(2, 1fr);
  }

  .mission-panel {
    grid-template-columns: 1fr;
  }

  .event-block,
  .event-block--reverse {
    grid-template-columns: 1fr;
  }

  .event-block--reverse .event-block__image,
  .event-block__image {
    order: -1;
  }

  .mission-chapter__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .mission-chapter--media-left .mission-chapter__figure {
    order: -1;
  }

  .mission-chapter__columns {
    grid-template-columns: 1fr;
  }

  .mission-chapter__points--inline {
    flex-direction: column;
    align-items: flex-start;
  }

  .partners-teaser {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 32px;
  }

  .partners-teaser__logos {
    grid-template-columns: repeat(2, 1fr);
  }

  .partner-spotlight {
    grid-template-columns: 1fr;
    padding: 32px;
    gap: 32px;
  }

  .partners-grid,
  .partners-grid--three {
    grid-template-columns: 1fr;
  }

  .partners-values__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .investors-thesis__grid,
  .investors-focus__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .investors-pillars__grid,
  .investors-traction__metrics,
  .careers-areas__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .careers-benefits__grid {
    grid-template-columns: 1fr;
  }

  .team-profiles--row {
    grid-template-columns: 1fr;
  }

  .team-leads {
    grid-template-columns: 1fr;
  }

  .team-profile,
  .team-profile--lead,
  .team-profile--hero,
  .team-profile--secondary {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .team-profile__photo {
    max-width: 160px;
  }

  .team-profile--card .team-profile__photo {
    max-width: 96px;
  }

  .team-squads {
    grid-template-columns: repeat(2, 1fr);
  }

  .products-grid,
  .news-grid,
  .teaching-grid {
    grid-template-columns: 1fr 1fr;
  }

  .careers {
    grid-template-columns: 1fr;
  }

  .results {
    grid-template-columns: 1fr;
  }

  .footer__links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 64px;
  }

  .container {
    padding: 0 16px;
  }

  .top-bar__nav {
    display: none;
  }

  .nav {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    background: var(--brand-primary);
    padding: 16px 16px calc(24px + env(safe-area-inset-bottom, 0px));
    gap: 4px;
    z-index: 99;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 16px;
    font-size: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-dropdown {
    width: 100%;
  }

  .nav-dropdown__toggle {
    width: 100%;
    justify-content: space-between;
    padding: 16px;
    font-size: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0;
  }

  .nav-dropdown__menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    width: 100%;
    margin-top: 0;
    background: rgba(0, 0, 0, 0.2);
    border: none;
    border-radius: 0;
    box-shadow: none;
  }

  .nav-dropdown.open .nav-dropdown__menu {
    display: block;
  }

  .nav-dropdown:hover .nav-dropdown__menu {
    display: none;
  }

  .nav-dropdown.open:hover .nav-dropdown__menu {
    display: block;
  }

  .nav-dropdown__menu a {
    padding: 14px 24px;
    font-size: 15px;
  }

  .menu-toggle {
    display: flex;
  }

  .lang-toggle {
    width: 38px;
    height: 38px;
  }

  .lang-toggle__flag {
    width: 30px;
    height: 30px;
  }

  .header__inner {
    padding-right: 88px;
    min-height: var(--header-height);
  }

  .logo {
    font-size: 9px;
    max-width: min(42vw, 180px);
    gap: 8px;
  }

  .logo__mark {
    width: 34px;
    height: 34px;
  }

  .fs-logo {
    padding: 0 10px;
  }

  .fs-logo img {
    height: 32px;
    max-width: 92px;
  }

  .hero__scroll {
    display: none;
  }

  .hero {
    min-height: calc(100dvh - var(--header-height) - 36px);
  }

  .hero__content {
    padding: 56px 0 72px;
  }

  .hero__title {
    margin-bottom: 28px;
  }

  .hero .btn {
    width: 100%;
    justify-content: center;
  }

  .missions-hero {
    padding: 88px 0 56px;
  }

  .missions-hero h1 {
    margin-bottom: 20px;
  }

  .mission-chapter {
    padding: 64px 0;
  }

  .section {
    padding: 64px 0;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .partners-teaser,
  .partner-spotlight {
    padding: 24px;
  }

  .btn {
    min-height: 44px;
  }

  .stories-grid {
    grid-template-columns: 1fr;
  }

  .story-card--featured {
    grid-column: span 1;
  }

  .about-photo,
  .about-story {
    grid-column: span 1;
  }

  .missions {
    grid-template-columns: 1fr;
  }

  .products-grid,
  .news-grid,
  .teaching-grid {
    grid-template-columns: 1fr;
  }

  .careers__stats {
    grid-template-columns: 1fr;
  }

  .investors-pillars__grid,
  .investors-traction__metrics,
  .careers-areas__grid {
    grid-template-columns: 1fr;
  }

  .careers-step {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .careers__cta {
    margin-left: 0;
    margin-top: 12px;
    display: block;
    width: 100%;
  }

  .careers__cta .btn {
    width: 100%;
    justify-content: center;
  }

  .missions-close__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .missions-close__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .missions-hero__cta .btn {
    width: 100%;
    justify-content: center;
  }

  .team-squads {
    grid-template-columns: 1fr;
  }

  .footer__top {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer__links {
    grid-template-columns: 1fr 1fr;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .footer__legal {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 16px;
    row-gap: 10px;
  }

  .footer__brand p,
  .footer__operator {
    max-width: none;
  }

  .logo--footer {
    max-width: none;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 14px;
  }

  .logo {
    font-size: 8px;
    letter-spacing: 0.1em;
    max-width: min(46vw, 160px);
  }

  .header__inner {
    padding-right: 76px;
  }

  .fs-logo img {
    height: 28px;
    max-width: 76px;
  }

  .hero__content {
    padding: 48px 0 64px;
  }

  .hero__eyebrow {
    font-size: 11px;
    margin-bottom: 12px;
  }

  .missions-hero {
    padding: 72px 0 48px;
  }

  .mission-chapter {
    padding: 52px 0;
  }

  .section {
    padding: 52px 0;
  }

  .section-header {
    margin-bottom: 32px;
  }

  .footer__links {
    grid-template-columns: 1fr;
  }

  .footer__legal {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .cookies-policy,
  .legal-page {
    padding: 56px 0 64px;
  }

  .cookies-policy__section,
  .legal-page__section {
    margin-bottom: 28px;
  }

  .cookies-policy__section h2,
  .legal-page__section h2 {
    font-size: 1.15rem;
  }

  .cookies-policy__section p,
  .legal-page__section p,
  .legal-page__section li {
    font-size: 15px;
  }
}

/* Fade-in animation */
html:not(.lang-ready) body {
  visibility: hidden;
}

.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: 16px 0 calc(16px + env(safe-area-inset-bottom, 0px));
  background: rgba(10, 22, 40, 0.98);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--white);
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.28);
}

.cookie-consent--visible {
  transform: translateY(0);
  opacity: 1;
}

.cookie-consent--hidden {
  transform: translateY(100%);
  opacity: 0;
}

.cookie-consent__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px 28px;
  align-items: end;
}

.cookie-consent--settings .cookie-consent__inner {
  grid-template-columns: 1fr;
  align-items: stretch;
}

.cookie-consent__main {
  min-width: 0;
}

.cookie-consent__title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--white);
}

.cookie-consent__text {
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
  max-width: 52rem;
}

.cookie-consent__policy {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-left: 4px;
  white-space: nowrap;
}

.cookie-consent__policy:hover {
  color: rgba(255, 255, 255, 0.9);
}

.cookie-consent__panel {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.cookie-consent__category {
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 2px;
}

.cookie-consent__category-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 6px;
}

.cookie-consent__category-head strong {
  font-size: 13px;
  font-weight: 600;
}

.cookie-consent__category p {
  font-size: 12px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
}

.cookie-consent__badge {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  white-space: nowrap;
}

.cookie-consent__toggle {
  position: relative;
  display: inline-flex;
  cursor: pointer;
  flex-shrink: 0;
}

.cookie-consent__toggle input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-consent__switch {
  width: 40px;
  height: 22px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  position: relative;
  transition: background var(--transition);
}

.cookie-consent__switch::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--white);
  transition: transform var(--transition);
}

.cookie-consent__toggle input:checked + .cookie-consent__switch {
  background: rgba(255, 255, 255, 0.85);
}

.cookie-consent__toggle input:checked + .cookie-consent__switch::after {
  transform: translateX(18px);
  background: var(--brand-primary-dark);
}

.cookie-consent__toggle input:focus-visible + .cookie-consent__switch {
  outline: 2px solid var(--white);
  outline-offset: 2px;
}

.cookie-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
}

.cookie-consent--settings .cookie-consent__actions {
  justify-content: flex-start;
}

.cookie-consent__actions .btn {
  min-width: 0;
  padding: 11px 18px;
  font-size: 13px;
  justify-content: center;
  white-space: nowrap;
}

.cookie-consent__actions[hidden] {
  display: none !important;
}

body.has-cookie-consent {
  --cookie-banner-offset: 96px;
  padding-bottom: var(--cookie-banner-offset);
}

body.has-cookie-consent:has(.cookie-consent--settings) {
  padding-bottom: calc(var(--cookie-banner-offset) + 80px);
}

.cookies-policy,
.legal-page {
  padding: 80px 0 100px;
}

.cookies-policy__content,
.legal-page__content {
  max-width: 900px;
}

.cookies-policy__section,
.legal-page__section {
  margin-bottom: 40px;
}

.cookies-policy__section h2,
.legal-page__section h2 {
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--brand-primary);
  margin-bottom: 14px;
}

.cookies-policy__section p,
.legal-page__section p,
.legal-page__section li {
  font-size: 16px;
  line-height: 1.75;
  color: var(--grey-600);
}

.legal-page__section ul {
  margin: 12px 0 0 20px;
  padding: 0;
}

.legal-page__section li + li {
  margin-top: 8px;
}

.legal-page__section a {
  color: var(--brand-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookies-policy__table-wrap {
  overflow-x: auto;
  border: 1px solid var(--grey-200);
  border-radius: 2px;
}

.cookies-policy__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.cookies-policy__table th,
.cookies-policy__table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--grey-200);
  vertical-align: top;
}

.cookies-policy__table th {
  background: var(--grey-100);
  font-weight: 600;
  color: var(--brand-primary);
}

.cookies-policy__table td {
  color: var(--grey-600);
}

.cookies-policy__table tr:last-child td {
  border-bottom: none;
}

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Cookie banner + touch layouts (must follow base cookie styles) */
@media (max-width: 1024px) {
  .cookie-consent__inner {
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 14px;
  }

  .cookie-consent__actions {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  body.has-cookie-consent {
    --cookie-banner-offset: 132px;
  }

  body.has-cookie-consent:has(.cookie-consent--settings) {
    --cookie-banner-offset: 240px;
  }
}

@media (max-width: 768px) {
  .cookie-consent {
    padding: 14px 0 calc(14px + env(safe-area-inset-bottom, 0px));
  }

  .cookie-consent__inner {
    gap: 12px;
  }

  .cookie-consent__title {
    font-size: 14px;
  }

  .cookie-consent__text {
    font-size: 12px;
    line-height: 1.5;
  }

  .cookie-consent__policy {
    white-space: normal;
    margin-left: 0;
    display: inline;
  }

  .cookie-consent__category {
    padding: 10px 12px;
  }

  .cookie-consent__category-head {
    align-items: flex-start;
    gap: 10px;
  }

  .cookie-consent__category p {
    font-size: 11px;
  }

  .cookie-consent__actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .cookie-consent__accept-all {
    order: 1;
  }

  .cookie-consent__settings,
  .cookie-consent__settings-back {
    order: 2;
  }

  .cookie-consent__reject {
    order: 3;
  }

  .cookie-consent__actions .btn {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    font-size: 12px;
    white-space: normal;
    text-align: center;
  }

  .cookie-consent--settings .cookie-consent__actions {
    grid-template-columns: 1fr;
  }

  body.has-cookie-consent {
    --cookie-banner-offset: 156px;
  }

  body.has-cookie-consent:has(.cookie-consent--settings) {
    --cookie-banner-offset: min(72vh, 420px);
  }
}

@media (max-width: 480px) {
  .cookie-consent__badge {
    white-space: normal;
    text-align: right;
    max-width: 42%;
    line-height: 1.35;
  }

  .cookies-policy__table {
    font-size: 12px;
  }

  .cookies-policy__table th,
  .cookies-policy__table td {
    padding: 10px 12px;
  }

  body.has-cookie-consent {
    --cookie-banner-offset: 188px;
  }

  body.has-cookie-consent:has(.cookie-consent--settings) {
    --cookie-banner-offset: min(78vh, 460px);
  }
}
