:root {
  --brand: #19286d;
  --brand-dark: #111b4b;
  --accent: #2c53f5;
  --accent-dark: #1f40cb;
  --ink: #11152a;
  --muted: #5e6476;
  --line: #dce0ea;
  --surface: #f4f6fa;
  --white: #fff;
  --font: "Manrope", "Segoe UI", sans-serif;
  --shell: min(1240px, calc(100% - 64px));
  --radius: 6px;
  --utility-height: 34px;
  --header-height: 86px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body,
button {
  font-family: var(--font);
}

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

a {
  color: inherit;
}

button {
  color: inherit;
}

h1,
h2,
h3,
p,
ul,
ol {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: -60px;
  left: 24px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 4px;
  background: var(--accent);
  color: var(--white);
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
}

.utility-bar {
  height: var(--utility-height);
  background: var(--brand);
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
}

.utility-inner,
.utility-actions {
  display: flex;
  align-items: center;
}

.utility-inner {
  height: 100%;
  justify-content: space-between;
}

.utility-actions {
  gap: 14px;
}

.utility-actions a {
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
}

.utility-divider {
  width: 1px;
  height: 14px;
  background: rgba(255, 255, 255, 0.25);
}

.language {
  display: flex;
  gap: 3px;
}

.language-button {
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.55);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.language-button.is-active {
  color: var(--white);
}

.main-header {
  height: var(--header-height);
  border-bottom: 1px solid var(--line);
}

.site-header.is-scrolled .main-header {
  box-shadow: 0 8px 30px rgba(17, 27, 75, 0.07);
}

.header-inner {
  display: flex;
  height: 100%;
  align-items: center;
  gap: 28px;
}

.logo {
  flex: 0 0 auto;
}

.logo img {
  width: 235px;
  height: auto;
}

.desktop-nav {
  margin-left: auto;
}

.desktop-nav ul {
  display: flex;
  align-items: center;
  gap: 30px;
}

.desktop-nav button {
  position: relative;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.desktop-nav button span {
  color: var(--muted);
  font-size: 11px;
  transition: transform 0.2s;
}

.desktop-nav button::after {
  position: absolute;
  right: 0;
  bottom: -13px;
  left: 0;
  height: 2px;
  background: var(--accent);
  content: "";
  opacity: 0;
  transform: scaleX(0.4);
  transition: opacity 0.2s, transform 0.2s;
}

.desktop-nav button:hover,
.desktop-nav button.is-active {
  color: var(--brand);
}

.desktop-nav button:hover::after,
.desktop-nav button.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.desktop-nav button.is-active span {
  transform: rotate(180deg);
}

.search-button,
.menu-toggle {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  cursor: pointer;
}

.search-button svg {
  width: 19px;
  fill: none;
  stroke: var(--brand);
  stroke-linecap: round;
  stroke-width: 1.7;
}

.menu-toggle {
  display: none;
}

.menu-toggle span:first-child,
.menu-toggle span:first-child::before,
.menu-toggle span:first-child::after {
  position: relative;
  display: block;
  width: 17px;
  height: 2px;
  background: var(--brand);
  content: "";
}

.menu-toggle span:first-child::before,
.menu-toggle span:first-child::after {
  position: absolute;
  left: 0;
}

.menu-toggle span:first-child::before {
  top: -6px;
}

.menu-toggle span:first-child::after {
  top: 6px;
}

.mobile-menu {
  position: absolute;
  top: calc(var(--utility-height) + var(--header-height));
  right: 0;
  left: 0;
  padding: 8px 0 24px;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  color: var(--brand);
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.mobile-menu summary::-webkit-details-marker {
  display: none;
}

.mobile-menu summary::after {
  color: var(--accent);
  content: "+";
  font-size: 19px;
  font-weight: 500;
}

.mobile-menu details[open] summary::after {
  content: "−";
}

.mobile-menu details div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 18px;
  padding: 8px 0 14px;
  border-bottom: 1px solid var(--line);
}

.mobile-menu details a {
  padding: 9px 0;
  border: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.mobile-menu a {
  display: block;
  color: var(--brand);
  text-decoration: none;
}

.mobile-phone {
  padding: 16px 0 0;
  margin-top: 10px;
  font-weight: 700;
}

/* Mega menu */

.mega-menu {
  position: absolute;
  top: calc(var(--utility-height) + var(--header-height));
  right: 0;
  left: 0;
  padding: 38px 0 42px;
  border-bottom: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 24px 60px rgba(17, 27, 75, 0.12);
}

.mega-menu[hidden],
.mega-panel[hidden] {
  display: none;
}

.mega-panel {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 70px;
}

.mega-intro {
  padding-right: 50px;
  border-right: 1px solid var(--line);
}

.mega-intro > p {
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.mega-intro h2 {
  max-width: 400px;
  color: var(--brand);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.15;
}

.mega-intro a {
  display: inline-flex;
  gap: 10px;
  margin-top: 24px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.mega-intro a span {
  color: var(--accent);
}

.mega-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
}

.mega-columns h3 {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.mega-columns a {
  display: block;
  padding: 7px 0;
  color: var(--brand);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
}

.mega-columns a:hover {
  color: var(--accent);
}

/* Shared */

.section-kicker {
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.section-kicker-light {
  color: #9fb0ff;
}

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

.section-header h2,
.services-intro h2,
.news-heading h2,
.contact h2 {
  color: var(--brand);
  font-size: clamp(30px, 3.1vw, 44px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.12;
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.65fr);
  align-items: end;
  gap: 64px;
}

.split-heading > p {
  color: var(--muted);
  font-size: 15px;
}

.plain-link {
  color: var(--brand);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.plain-link span {
  margin-left: 8px;
  color: var(--accent);
}

/* Hero */

.hero {
  background: var(--surface);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  min-height: 600px;
  grid-template-columns: minmax(0, 1.15fr) minmax(430px, 0.85fr);
}

.hero-copy {
  display: flex;
  max-width: 730px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 86px 80px 86px 0;
}

.hero-copy h1 {
  max-width: 15ch;
  color: var(--brand);
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 1.03;
}

.hero-lead {
  max-width: 600px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.primary-link {
  display: inline-flex;
  min-width: 210px;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 34px;
  padding: 14px 18px 14px 22px;
  border-radius: var(--radius);
  background: var(--accent);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}

.primary-link:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
}

.hero-identity {
  position: relative;
  min-height: 600px;
  background: var(--brand);
  color: var(--white);
  overflow: hidden;
}

.identity-visual {
  height: 230px;
  margin: 0;
  overflow: hidden;
  background: var(--brand);
}

.identity-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.8) contrast(1.05);
}

.identity-content {
  position: relative;
  padding: 44px 58px 46px;
}

.identity-content::after {
  position: absolute;
  top: 0;
  right: 38%;
  width: 1px;
  height: 100%;
  background: rgba(255, 255, 255, 0.12);
  content: "";
}

.identity-heading {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.identity-heading span {
  padding-top: 9px;
  color: #aebaff;
  font-size: 12px;
  font-weight: 800;
}

.identity-heading strong {
  font-size: clamp(34px, 3.2vw, 48px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.identity-list {
  margin-top: 42px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.identity-list li {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.83);
  font-size: 13px;
}

.identity-list span {
  color: #91a4ff;
  font-size: 11px;
  font-weight: 800;
}

/* Notice */

.notice {
  background: var(--accent);
  color: var(--white);
}

.notice-inner {
  display: flex;
  min-height: 70px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.notice p {
  font-size: 14px;
}

.notice strong {
  margin-right: 16px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.notice a {
  flex: 0 0 auto;
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.notice a span {
  margin-left: 8px;
}

/* Audiences */

.audiences {
  padding: 110px 0 120px;
}

.audience-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.audience-list a {
  position: relative;
  display: flex;
  min-height: 260px;
  flex-direction: column;
  padding: 28px 26px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}

.audience-list a:hover {
  background: var(--brand);
  color: var(--white);
}

.item-index {
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
}

.audience-list h3 {
  margin-top: auto;
  color: var(--brand);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.audience-list a:hover h3,
.audience-list a:hover p {
  color: var(--white);
}

.audience-list p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
}

.item-arrow {
  position: absolute;
  top: 23px;
  right: 24px;
  color: var(--accent);
  font-size: 20px;
}

/* Services */

.services {
  padding: 112px 0;
  background: var(--brand-dark);
  color: var(--white);
}

.services-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: 100px;
}

.services-intro {
  position: sticky;
  top: 160px;
  align-self: start;
}

.services-intro h2 {
  color: var(--white);
}

.services-intro > p:not(.section-kicker) {
  max-width: 390px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.62);
}

.services-intro > a {
  display: inline-flex;
  gap: 12px;
  margin-top: 34px;
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.services-intro > a span {
  color: #9fb0ff;
}

.services-image {
  position: relative;
  height: 230px;
  margin: 52px 0 0;
  overflow: hidden;
  border-radius: var(--radius);
}

.services-image::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(17, 27, 75, 0.82), transparent 60%);
  content: "";
}

.services-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.services-image figcaption {
  position: absolute;
  z-index: 1;
  right: 20px;
  bottom: 18px;
  left: 20px;
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
}

.services-list {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.services-list a {
  display: grid;
  grid-template-columns: 42px minmax(200px, 1fr) minmax(160px, 0.8fr) 24px;
  align-items: center;
  gap: 20px;
  min-height: 92px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--white);
  text-decoration: none;
  transition: padding 0.2s var(--ease), background 0.2s var(--ease);
}

.services-list a:hover {
  padding-inline: 14px;
  background: rgba(44, 83, 245, 0.16);
}

.services-list span {
  color: #8499ff;
  font-size: 11px;
  font-weight: 800;
}

.services-list strong {
  font-size: 18px;
  font-weight: 600;
}

.services-list small {
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
}

.services-list b {
  color: #8499ff;
  font-size: 17px;
  font-weight: 500;
}

/* Results */

.results {
  padding: 112px 0 120px;
  background: var(--surface);
}

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

.results-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}

.results-grid > div {
  padding: 32px 28px 16px 0;
  border-right: 1px solid var(--line);
}

.results-grid > div:not(:first-child) {
  padding-left: 28px;
}

.results-grid > div:last-child {
  border-right: 0;
}

.results-grid strong {
  display: block;
  color: var(--brand);
  font-size: clamp(31px, 3.5vw, 48px);
  font-weight: 700;
  letter-spacing: -0.055em;
}

.results-grid p {
  max-width: 190px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
}

/* News */

.news {
  padding: 112px 0 120px;
}

.news-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
}

.news-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  border-top: 1px solid var(--line);
}

.news-featured {
  padding: 34px 40px 32px 0;
  border-right: 1px solid var(--line);
}

.news-featured > img {
  width: 100%;
  height: 310px;
  object-fit: cover;
  border-radius: var(--radius);
}

.news-featured-content {
  padding-top: 28px;
}

.news-featured time,
.news-secondary time {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.news-category {
  display: inline-block;
  margin-left: 18px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.news-featured h3 {
  max-width: 680px;
  margin-top: 36px;
  color: var(--brand);
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.15;
}

.news h3 a {
  text-decoration: none;
}

.news h3 a:hover {
  color: var(--accent);
}

.news-featured > p:not(.news-category) {
  max-width: 650px;
  margin-top: 24px;
  color: var(--muted);
}

.article-link {
  display: inline-flex;
  gap: 10px;
  margin-top: 34px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.article-link span {
  color: var(--accent);
}

.news-secondary {
  padding-left: 42px;
}

.news-secondary article {
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}

.news-secondary article:first-child {
  padding-top: 34px;
}

.news-secondary img {
  width: 100%;
  height: 145px;
  margin-bottom: 20px;
  object-fit: cover;
  border-radius: var(--radius);
}

.news-secondary h3 {
  margin-top: 18px;
  color: var(--brand);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.3;
}

.news-secondary p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
}

/* Contact */

.contact {
  background: var(--accent);
  color: var(--white);
}

.contact-inner {
  display: grid;
  min-height: 250px;
  grid-template-columns: 1fr 0.8fr auto;
  align-items: center;
  gap: 68px;
}

.contact h2 {
  max-width: 420px;
  color: var(--white);
}

.contact-inner > p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
}

.contact-links {
  display: grid;
  gap: 10px;
}

.contact-links a {
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.contact-links span {
  margin-left: 8px;
}

/* Footer */

.site-footer {
  padding: 72px 0 24px;
  background: var(--white);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 70px;
  padding-bottom: 54px;
}

.footer-brand img {
  width: 225px;
}

.footer-brand p {
  max-width: 310px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 13px;
}

.site-footer h3 {
  margin-bottom: 20px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer li + li {
  margin-top: 10px;
}

.site-footer a {
  color: var(--muted);
  font-size: 13px;
  text-decoration: none;
}

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

.footer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: #888d9a;
  font-size: 11px;
}

.footer-meta ul {
  display: flex;
  gap: 22px;
}

.footer-meta a {
  font-size: 11px;
}

@media (max-width: 1100px) {
  :root {
    --shell: min(1240px, calc(100% - 40px));
  }

  .desktop-nav {
    display: none;
  }

  .search-button {
    margin-left: auto;
  }

  .menu-toggle {
    display: grid;
    margin-left: auto;
  }

  .hero-grid {
    min-height: 560px;
    grid-template-columns: 1fr 400px;
  }

  .hero-copy {
    padding-right: 44px;
  }

  .hero-identity {
    min-height: 560px;
    padding-inline: 38px;
  }

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

  .results-grid > div:nth-child(2) {
    border-right: 0;
  }

  .services-layout {
    gap: 54px;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  :root {
    --shell: min(1240px, calc(100% - 28px));
    --header-height: 74px;
  }

  .utility-inner > p {
    display: none;
  }

  .utility-inner {
    justify-content: flex-end;
  }

  .logo img {
    width: 190px;
  }

  .search-button {
    display: none;
  }

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

  .hero-copy {
    min-height: 530px;
    padding: 72px 0;
  }

  .hero-copy h1 {
    font-size: clamp(38px, 11vw, 58px);
  }

  .hero-identity {
    min-height: 440px;
  }

  .notice-inner,
  .split-heading,
  .services-layout,
  .news-layout,
  .contact-inner {
    grid-template-columns: 1fr;
  }

  .notice-inner {
    display: grid;
    padding: 18px 0;
    gap: 8px;
  }

  .split-heading {
    gap: 20px;
  }

  .audiences,
  .services,
  .results,
  .news {
    padding: 80px 0;
  }

  .services-intro {
    position: static;
  }

  .services-list a {
    grid-template-columns: 34px 1fr 20px;
  }

  .services-list small {
    display: none;
  }

  .news-featured {
    padding-right: 0;
    padding-bottom: 44px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .news-secondary {
    padding-left: 0;
  }

  .contact-inner {
    min-height: 0;
    padding: 64px 0;
    gap: 28px;
  }
}

@media (max-width: 560px) {
  .audience-list,
  .results-grid,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .audience-list a {
    min-height: 210px;
  }

  .results-grid > div,
  .results-grid > div:not(:first-child) {
    padding: 26px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .news-heading,
  .footer-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .footer-meta ul {
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
