:root {
  --navy: #071a33;
  --navy-2: #0a2748;
  --navy-3: #123b66;
  --red: #dc0b1d;
  --red-dark: #b70514;
  --ink: #071529;
  --text: #233347;
  --muted: #627086;
  --line: #e3e9f2;
  --soft: #f4f7fb;
  --white: #ffffff;
  --shadow: 0 22px 70px rgba(7, 26, 51, .12);
  --radius: 2px;
  --container: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}
.skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  background: var(--navy);
  color: #fff;
  z-index: 999;
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: 92px;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid rgba(7, 26, 51, .08);
  box-shadow: 0 8px 30px rgba(7, 26, 51, .05);
  backdrop-filter: saturate(160%) blur(10px);
}
.header-inner {
  min-height: 92px;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
}
.brand { display: inline-flex; align-items: center; width: 250px; flex: 0 0 auto; }
.brand img { width: 250px; height: auto; }
.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 1.25vw, 24px);
  font-family: "Arial Narrow", "Segoe UI", Arial, Helvetica, sans-serif;
  font-size: clamp(11px, .82vw, 13px);
  line-height: 1;
  font-weight: 800;
  letter-spacing: .005em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
}
.main-nav a {
  position: relative;
  padding: 36px 0 35px;
  white-space: nowrap;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 26px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .18s ease;
}
.main-nav a:hover::after,
.main-nav a:focus-visible::after { transform: scaleX(1); }
.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  white-space: nowrap;
}
.language {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: "Arial Narrow", "Segoe UI", Arial, Helvetica, sans-serif;
  font-size: 13px;
  line-height: 1;
  font-weight: 800;
  color: var(--ink);
}
.language span { color: #9aa7b8; font-weight: 500; }
.language a:not([aria-current="page"]) { color: var(--muted); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 24px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-family: "Arial Narrow", "Segoe UI", Arial, Helvetica, sans-serif;
  font-size: 13px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .01em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}
.btn:hover,
.btn:focus-visible { transform: translateY(-1px); }
.btn-red {
  color: #fff;
  background: var(--red);
  box-shadow: 0 10px 26px rgba(220, 11, 29, .18);
}
.btn-red:hover,
.btn-red:focus-visible { background: var(--red-dark); box-shadow: 0 14px 34px rgba(220, 11, 29, .24); }
.btn-outline {
  color: var(--red);
  background: rgba(255, 255, 255, .7);
  border-color: var(--red);
}
.btn-outline:hover,
.btn-outline:focus-visible { color: #fff; background: var(--red); }
.btn-light {
  color: #fff;
  border-color: rgba(255, 255, 255, .85);
  background: rgba(255, 255, 255, .02);
}
.btn-light:hover,
.btn-light:focus-visible { background: #fff; color: var(--navy); }
.menu-toggle { display: none; }

.hero {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  background: #eef4fa;
}
.hero-media {
  position: absolute;
  inset: 0;
  background-image: url("assets/hero-regulation-ai.svg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center right;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: rgba(7, 26, 51, .08);
}
.hero-content {
  position: relative;
  min-height: 430px;
  display: flex;
  align-items: center;
}
.hero-copy {
  width: min(520px, 58%);
  padding: 50px 0 58px;
}
.eyebrow,
.section-kicker,
.label {
  margin: 0 0 14px;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.hero h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(35px, 4.1vw, 58px);
  line-height: 1.14;
  letter-spacing: -.04em;
}
.hero h1 span { color: var(--red); }
.red-line {
  width: 66px;
  height: 3px;
  margin: 28px 0 22px;
  background: var(--red);
}
.hero p:not(.eyebrow) {
  max-width: 550px;
  margin: 0;
  color: var(--text);
  font-size: 17px;
  line-height: 1.75;
}
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 34px;
}

.pillars {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  padding: 34px 0 36px;
}
.pillar-card {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 22px;
  align-items: start;
}
.pillar-icon {
  width: 52px;
  height: 52px;
  fill: none;
  stroke: var(--red);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.pillar-card h3 {
  margin: 0 0 6px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.25;
}
.pillar-card p {
  margin: 0;
  color: var(--text);
  font-size: 14px;
  line-height: 1.6;
}

.feature-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 285px;
  border-bottom: 1px solid var(--line);
}
.feature-card {
  position: relative;
  overflow: hidden;
  min-height: 285px;
  display: grid;
  align-items: center;
}
.feature-news {
  color: #fff;
  background: var(--navy);
}
.feature-image {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(4, 16, 30, .98) 0%, rgba(4, 16, 30, .88) 42%, rgba(4, 16, 30, .22) 68%, rgba(4,16,30,.05) 100%), url("assets/news-ai-act.svg");
  background-position: center;
  background-size: cover;
}
.feature-content {
  position: relative;
  width: min(550px, calc(100% - 48px));
  margin-left: auto;
  margin-right: 48px;
  padding: 38px 0;
}
.feature-news .feature-content { margin-right: 70px; }
.feature-card .label {
  position: relative;
  padding-left: 18px;
  color: #fff;
}
.feature-card .label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 3px;
  height: 18px;
  background: var(--red);
}
.label.dark { color: var(--ink); }
.feature-card h2 {
  margin: 0 0 10px;
  font-size: clamp(25px, 3vw, 36px);
  line-height: 1.08;
  letter-spacing: -.03em;
}
.feature-card p:not(.label) {
  margin: 0 0 20px;
  max-width: 470px;
  font-size: 15px;
  line-height: 1.65;
}
.feature-mission {
  grid-template-columns: minmax(280px, 1fr) minmax(270px, .78fr);
  background: linear-gradient(120deg, #f7fbff 0%, #ffffff 52%, #eef4fb 100%);
}
.feature-mission .feature-content {
  margin-left: 48px;
  margin-right: 0;
}
.mission-image {
  height: 100%;
  min-height: 250px;
  background-image: url("assets/mission-network.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
.link-arrow,
.read-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.link-arrow::after,
.read-more::after { content: "→"; font-size: 22px; line-height: 1; transform: translateY(-1px); }

.section { padding: 78px 0; }
.about-section { background: #fff; }
.about-grid {
  display: grid;
  grid-template-columns: minmax(280px, .78fr) 1fr;
  gap: clamp(36px, 6vw, 90px);
}
.about-grid h2,
.section-heading h2,
.publications-grid h2,
.events-inner h2,
.join-card h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.1;
  letter-spacing: -.04em;
}
.about-text p {
  margin: 0 0 18px;
  color: var(--text);
  font-size: 17px;
  line-height: 1.75;
}
.about-text p:last-child { margin-bottom: 0; }

.news-section {
  background: var(--soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-heading {
  display: grid;
  grid-template-columns: 1fr minmax(240px, 470px);
  align-items: end;
  gap: 40px;
  margin-bottom: 34px;
}
.section-heading .section-kicker { grid-column: 1 / -1; margin-bottom: -18px; }
.section-heading p:not(.section-kicker) {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.news-card {
  min-height: 285px;
  padding: 30px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 16px 50px rgba(7, 26, 51, .06);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.news-card:hover {
  transform: translateY(-3px);
  border-color: #cfdae8;
  box-shadow: var(--shadow);
}
.news-card.featured {
  background: linear-gradient(145deg, var(--navy) 0%, #0e3158 100%);
  color: #fff;
  border-color: transparent;
}
.news-date {
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.news-date span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-right: 10px;
  color: var(--red);
  background: #fff;
  border: 1px solid var(--line);
  font-size: 18px;
  font-weight: 900;
}
.news-card.featured .news-date { color: #c7d4e5; }
.news-card.featured .news-date span { border-color: rgba(255,255,255,.14); }
.news-card h3 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 21px;
  line-height: 1.25;
  letter-spacing: -.02em;
}
.news-card.featured h3 { color: #fff; }
.news-card p {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 15px;
}
.news-card.featured p { color: #d7e2ee; }
.news-card .read-more { margin-top: auto; }

.publications {
  background: #fff;
}
.publications-grid {
  display: grid;
  grid-template-columns: minmax(280px, .8fr) 1fr;
  gap: clamp(34px, 6vw, 90px);
  align-items: start;
}
.publication-list {
  border-top: 1px solid var(--line);
}
.publication-list a {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-weight: 800;
}
.publication-list span {
  color: var(--red);
  font-size: 14px;
}
.publication-list a:hover { color: var(--red); }

.events {
  padding: 46px 0;
  background: linear-gradient(90deg, #f7fbff, #eef4fb);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.events-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.events-inner h2 { max-width: 760px; font-size: clamp(28px, 3.2vw, 42px); }
.join-section { padding: 70px 0; background: #fff; }
.join-card {
  padding: clamp(30px, 5vw, 54px);
  background: var(--navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  overflow: hidden;
  position: relative;
}
.join-card::after {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  width: 48%;
  background: radial-gradient(circle at 70% 50%, rgba(255,255,255,.18), transparent 45%), linear-gradient(120deg, transparent, rgba(220,11,29,.12));
  pointer-events: none;
}
.join-card > * { position: relative; z-index: 1; }
.join-card h2 { color: #fff; max-width: 700px; }
.join-card p:not(.section-kicker) {
  margin: 14px 0 0;
  color: #d6e2ef;
  max-width: 650px;
}

.site-footer {
  color: #d9e5f2;
  background: linear-gradient(135deg, #051323 0%, #092543 100%);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr .72fr .86fr .8fr .82fr .8fr;
  gap: clamp(24px, 3vw, 48px);
  padding: 46px 0 34px;
}
.footer-brand img {
  width: 230px;
  opacity: .96;
}
.footer-brand p {
  margin: 20px 0 0;
  max-width: 290px;
  font-size: 14px;
}
.site-footer h2 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.site-footer nav,
.site-footer address { display: flex; flex-direction: column; gap: 6px; font-style: normal; }
.site-footer a,
.site-footer span { color: #d9e5f2; font-size: 14px; }
.site-footer a:hover { color: #fff; }
.socials div { display: flex; gap: 12px; }
.socials a {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--navy);
  background: #fff;
  font-weight: 900;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0 24px;
  border-top: 1px solid rgba(255,255,255,.12);
  color: #b8c6d5;
  font-size: 13px;
}
.footer-bottom p { margin: 0; }


@media (max-width: 1280px) {
  .header-inner {
    grid-template-columns: 230px minmax(0, 1fr) auto;
    gap: 16px;
  }
  .brand { width: 225px; }
  .brand img { width: 225px; }
  .main-nav { gap: 12px; font-size: 11.5px; letter-spacing: 0; }
  .btn { padding-inline: 20px; font-size: 12px; }
  .language { font-size: 12px; }
  .header-actions { gap: 12px; }
}

@media (max-width: 1160px) {
  .header-inner {
    grid-template-columns: 215px minmax(0, 1fr) auto;
    gap: 12px;
  }
  .brand { width: 210px; }
  .brand img { width: 210px; }
  .main-nav { gap: 10px; font-size: 10.8px; }
  .header-actions .btn { padding-inline: 16px; }
}

@media (max-width: 1180px) {
  .header-inner { grid-template-columns: 215px minmax(0, 1fr) auto; gap: 12px; }
  .brand { width: 210px; }
  .brand img { width: 210px; }
  .main-nav { gap: 10px; font-size: 10.8px; letter-spacing: 0; }
  .header-actions { gap: 10px; }
  .header-actions .btn { padding: 0 16px; }
  .hero-copy { width: 58%; }
  .pillars-grid { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .feature-band { grid-template-columns: 1fr; }
  .feature-news .feature-content,
  .feature-content { width: min(680px, calc(100% - 48px)); margin-left: 24px; margin-right: auto; }
  .feature-mission .feature-content { margin-left: 24px; }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1040px) {
  .container { width: min(100% - 34px, var(--container)); }
  .site-header { min-height: 76px; }
 .header-inner { min-height: 76px; grid-template-columns: 1fr auto; }
  .brand { width: 220px; }
  .brand img { width: 220px; }
  .menu-toggle {
    display: inline-flex;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    background: #fff;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
  }
  .menu-toggle span:not(.sr-only) {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--navy);
    transition: transform .18s ease, opacity .18s ease;
  }
  .menu-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
  .menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .main-nav,
  .header-actions {
    grid-column: 1 / -1;
    display: none;
    width: 100%;
  }
  .menu-open .main-nav,
  .menu-open .header-actions { display: flex; }
  .main-nav {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 12px 0 6px;
    border-top: 1px solid var(--line);
  }
  .main-nav a { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .main-nav a::after { display: none; }
  .header-actions { justify-content: space-between; padding: 10px 0 18px; }
  .hero { min-height: auto; }
  .hero-media {
    opacity: .9;
    background-position: 58% center;
  }
  .hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.92) 50%, rgba(255,255,255,.35) 100%);
  }
  .hero-content { min-height: 470px; }
  .hero-copy { width: min(560px, 86%); }
  .hero p:not(.eyebrow) { font-size: 16px; }
  .feature-mission { grid-template-columns: 1fr; }
  .mission-image { min-height: 180px; background-position: right center; }
  .section-heading { grid-template-columns: 1fr; gap: 12px; }
  .section-heading .section-kicker { margin-bottom: 0; }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid,
  .publications-grid { grid-template-columns: 1fr; gap: 28px; }
  .events-inner { align-items: flex-start; flex-direction: column; }
  .join-card { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 680px) {
  .brand { width: 190px; }
  .brand img { width: 190px; }
  .btn { width: 100%; min-height: 46px; }
  .header-actions .btn { width: auto; }
  .hero-content { min-height: 520px; align-items: flex-start; }
  .hero-copy { width: 100%; padding-top: 54px; }
  .hero-buttons { flex-direction: column; gap: 12px; }
  .pillars-grid { grid-template-columns: 1fr; }
  .pillar-card { grid-template-columns: 46px 1fr; gap: 18px; }
  .pillar-icon { width: 44px; height: 44px; }
  .feature-news .feature-content,
  .feature-content,
  .feature-mission .feature-content { width: calc(100% - 34px); margin-left: 17px; margin-right: 17px; }
  .news-grid { grid-template-columns: 1fr; }
  .news-card { min-height: 245px; padding: 24px; }
  .section { padding: 58px 0; }
  .footer-grid { grid-template-columns: 1fr; padding-top: 38px; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
