:root {
  --ink: #07101d;
  --ink-2: #0b1727;
  --paper: #f3f0ea;
  --white: #f7f8fa;
  --cobalt: #6176ff;
  --cobalt-light: #8d9cff;
  --copper: #d78959;
  --muted: #9ba6b6;
  --dark-muted: #657183;
  --line: rgb(255 255 255 / 15%);
  --dark-line: rgb(7 16 29 / 14%);
  --edge: clamp(1.25rem, 4vw, 4.5rem);
  --max: 84rem;
  --radius: 1.15rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--white);
  font-family: Inter, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--cobalt-light);
  outline-offset: 4px;
}

.seo-header {
  position: fixed;
  z-index: 20;
  top: 1rem;
  right: var(--edge);
  left: var(--edge);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
  max-width: var(--max);
  min-height: 4.6rem;
  margin: 0 auto;
  padding: 0.55rem 0.65rem 0.55rem 1rem;
  border: 1px solid rgb(255 255 255 / 16%);
  border-radius: var(--radius);
  background: rgb(6 15 27 / 88%);
  box-shadow: 0 1.1rem 3.5rem rgb(0 0 0 / 16%);
  backdrop-filter: blur(18px) saturate(125%);
}

.seo-header__brand {
  display: block;
  width: clamp(13rem, 20vw, 17rem);
}

.seo-header__brand img {
  width: 100%;
  height: auto;
}

.seo-header nav {
  display: flex;
  gap: clamp(1.1rem, 2vw, 2rem);
}

.seo-header nav a {
  color: rgb(247 248 250 / 76%);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.055em;
  text-decoration: none;
  text-transform: uppercase;
}

.seo-header__contact {
  justify-self: end;
  padding: 0.82rem 1.1rem;
  border-radius: 0.72rem;
  background: var(--cobalt);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
}

.seo-main {
  background: var(--ink);
}

.seo-hero {
  position: relative;
  display: flex;
  min-height: 88vh;
  min-height: 88svh;
  align-items: flex-end;
  overflow: hidden;
  padding: clamp(9rem, 16vw, 14rem) var(--edge) clamp(4.5rem, 8vw, 7.5rem);
  background:
    radial-gradient(circle at 78% 20%, rgb(97 118 255 / 24%), transparent 31rem),
    radial-gradient(circle at 16% 75%, rgb(215 137 89 / 12%), transparent 27rem),
    linear-gradient(145deg, #07101d, #0d1c2f 70%, #111e30);
}

.seo-hero::before,
.seo-hero::after {
  position: absolute;
  border: 1px solid rgb(255 255 255 / 8%);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.seo-hero::before {
  top: 17%;
  right: -9rem;
  width: clamp(23rem, 43vw, 42rem);
  aspect-ratio: 1;
}

.seo-hero::after {
  top: 27%;
  right: 1%;
  width: clamp(14rem, 26vw, 25rem);
  aspect-ratio: 1;
}

.seo-hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 1.2rem;
  color: var(--cobalt-light);
  font-size: clamp(0.66rem, 0.82vw, 0.78rem);
  font-weight: 700;
  letter-spacing: 0.15em;
  line-height: 1.4;
  text-transform: uppercase;
}

.seo-hero h1 {
  max-width: 13ch;
  margin: 0;
  font-family: "Space Grotesk", Inter, Arial, sans-serif;
  font-size: clamp(3.8rem, 8vw, 8.4rem);
  font-weight: 600;
  letter-spacing: -0.065em;
  line-height: 0.88;
}

.seo-hero h1 span {
  color: var(--cobalt-light);
}

.seo-page--english .seo-hero h1 {
  max-width: 18ch;
  font-size: clamp(3.4rem, 6.5vw, 7rem);
  line-height: 0.94;
}

.seo-hero__lead {
  max-width: 46rem;
  margin: 2rem 0 0;
  color: rgb(247 248 250 / 82%);
  font-size: clamp(1rem, 1.45vw, 1.23rem);
  line-height: 1.65;
}

.seo-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.4rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.3rem;
  padding: 0.9rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 0.75rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.055em;
  text-decoration: none;
  text-transform: uppercase;
}

.button--primary {
  background: var(--cobalt);
}

.button--ghost {
  border-color: rgb(255 255 255 / 28%);
  background: rgb(7 16 29 / 30%);
}

.seo-proof {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.seo-proof p {
  min-height: 8.5rem;
  margin: 0;
  padding: 1.8rem var(--edge);
  border-right: 1px solid var(--line);
  color: rgb(247 248 250 / 78%);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.075em;
  line-height: 1.55;
  text-transform: uppercase;
}

.seo-proof p:last-child {
  border-right: 0;
}

.seo-content {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(18rem, 0.65fr);
  gap: clamp(3rem, 9vw, 9rem);
  max-width: calc(var(--max) + 2 * var(--edge));
  margin: 0 auto;
  padding: clamp(6.5rem, 11vw, 10rem) var(--edge);
  background: var(--paper);
  color: var(--ink);
}

.seo-content h2,
.seo-approach h2,
.seo-cta h2 {
  margin: 0;
  font-family: "Space Grotesk", Inter, Arial, sans-serif;
  font-size: clamp(3rem, 5.8vw, 6rem);
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 0.92;
}

.seo-content h3 {
  margin: 3rem 0 0.8rem;
  font-family: "Space Grotesk", Inter, Arial, sans-serif;
  font-size: clamp(1.5rem, 2.2vw, 2.2rem);
  letter-spacing: -0.035em;
}

.seo-content__main > p {
  max-width: 48rem;
  margin: 1.5rem 0 0;
  color: var(--dark-muted);
  font-size: clamp(0.98rem, 1.25vw, 1.1rem);
  line-height: 1.75;
}

.seo-sidebar {
  align-self: start;
  position: sticky;
  top: 8rem;
  padding: 1.5rem;
  border: 1px solid var(--dark-line);
  border-radius: var(--radius);
  background: rgb(255 255 255 / 52%);
}

.seo-sidebar strong {
  color: #4d63ed;
  font-size: 0.7rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.seo-sidebar ul {
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}

.seo-sidebar li {
  padding: 0.9rem 0;
  border-top: 1px solid var(--dark-line);
  color: var(--ink);
  font-size: 0.84rem;
  line-height: 1.45;
}

.seo-visual {
  position: relative;
  margin: 0;
  background: var(--ink);
}

.seo-visual img {
  display: block;
  width: 100%;
  height: min(76vh, 52rem);
  object-fit: cover;
}

.seo-visual figcaption {
  position: absolute;
  right: var(--edge);
  bottom: 1.4rem;
  max-width: 30rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: 999px;
  background: rgb(7 16 29 / 66%);
  color: rgb(247 248 250 / 86%);
  font-size: 0.7rem;
  line-height: 1.4;
  backdrop-filter: blur(12px);
}

.seo-visual--contained {
  padding: clamp(2rem, 5vw, 5rem) var(--edge);
  background: var(--paper);
}

.seo-visual--contained img {
  max-width: var(--max);
  height: min(68vh, 46rem);
  margin: 0 auto;
  border-radius: var(--radius);
}

.seo-sources {
  padding: clamp(6rem, 10vw, 9rem) var(--edge);
  background: var(--ink);
}

.seo-sources > * {
  max-width: var(--max);
  margin-right: auto;
  margin-left: auto;
}

.seo-sources h2 {
  margin-top: 0;
  font-family: "Space Grotesk", Inter, Arial, sans-serif;
  font-size: clamp(3rem, 5.8vw, 6rem);
  letter-spacing: -0.06em;
}

.seo-sources__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 3rem;
}

.seo-sources__grid a {
  display: flex;
  min-height: 22rem;
  flex-direction: column;
  padding: 1.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgb(255 255 255 / 3%);
  text-decoration: none;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.seo-sources__grid a:hover,
.seo-sources__grid a:focus-visible {
  border-color: rgb(97 118 255 / 52%);
  background: rgb(255 255 255 / 6%);
  transform: translateY(-3px);
}

.seo-sources__grid span,
.seo-sources__grid strong {
  color: var(--cobalt-light);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.seo-sources__grid h3 {
  margin: 3rem 0 1rem;
  font-family: "Space Grotesk", Inter, Arial, sans-serif;
  font-size: clamp(1.5rem, 2.2vw, 2.2rem);
  letter-spacing: -0.04em;
}

.seo-sources__grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.65;
}

.seo-sources__grid strong {
  margin-top: auto;
  padding-top: 2rem;
}

.seo-approach {
  padding: clamp(6rem, 10vw, 9rem) var(--edge);
  background:
    radial-gradient(circle at 90% 0%, rgb(97 118 255 / 16%), transparent 28rem),
    var(--ink-2);
}

.seo-approach > * {
  max-width: var(--max);
  margin-right: auto;
  margin-left: auto;
}

.seo-approach__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 3.5rem;
}

.seo-approach__grid article {
  min-height: 18rem;
  padding: 1.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgb(255 255 255 / 3%);
}

.seo-approach__grid span {
  color: var(--copper);
  font-size: 0.68rem;
  font-weight: 700;
}

.seo-approach__grid h3 {
  margin: 3rem 0 0.8rem;
  font-family: "Space Grotesk", Inter, Arial, sans-serif;
  font-size: clamp(1.45rem, 2vw, 2rem);
  letter-spacing: -0.035em;
}

.seo-approach__grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.65;
}

.seo-related {
  padding: clamp(5rem, 9vw, 8rem) var(--edge);
  background: var(--paper);
  color: var(--ink);
}

.seo-related__inner {
  max-width: var(--max);
  margin: 0 auto;
}

.seo-related h2 {
  margin: 0 0 2rem;
  font-family: "Space Grotesk", Inter, Arial, sans-serif;
  font-size: clamp(2rem, 4vw, 4rem);
  letter-spacing: -0.05em;
}

.seo-related__links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.seo-related__links a {
  display: flex;
  min-height: 8rem;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem;
  border: 1px solid var(--dark-line);
  border-radius: var(--radius);
  background: rgb(255 255 255 / 45%);
  font-family: "Space Grotesk", Inter, Arial, sans-serif;
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.seo-related__links span {
  color: #4d63ed;
}

.seo-cta {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(3rem, 8vw, 8rem);
  align-items: end;
  min-height: 65vh;
  min-height: 65svh;
  padding: clamp(6rem, 10vw, 9rem) var(--edge);
  background: var(--ink);
}

.seo-cta > * {
  max-width: 44rem;
}

.seo-cta p {
  margin: 0 0 2rem;
  color: var(--muted);
  line-height: 1.7;
}

.seo-footer {
  padding: 3rem var(--edge) 2.2rem;
  border-top: 1px solid var(--line);
  background: #050c16;
}

.seo-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  max-width: var(--max);
  margin: 0 auto;
}

.seo-footer img {
  width: clamp(13rem, 22vw, 18rem);
}

.seo-footer p {
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.7;
}

.seo-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.4rem;
  color: rgb(247 248 250 / 75%);
  font-size: 0.72rem;
}

@media (max-width: 980px) {
  .seo-header {
    grid-template-columns: 1fr auto;
  }

  .seo-header nav {
    display: none;
  }

  .seo-proof,
  .seo-approach__grid,
  .seo-sources__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .seo-content,
  .seo-cta {
    grid-template-columns: 1fr;
  }

  .seo-sidebar {
    position: static;
  }
}

@media (max-width: 680px) {
  .seo-header {
    right: 0.75rem;
    left: 0.75rem;
    min-height: 4rem;
    padding-left: 0.7rem;
  }

  .seo-header__brand {
    width: min(12.5rem, 52vw);
  }

  .seo-header__contact {
    padding: 0.72rem 0.7rem;
    font-size: 0.63rem;
  }

  .seo-hero h1 {
    font-size: clamp(3.5rem, 17vw, 5.6rem);
  }

  .seo-page--english .seo-hero h1 {
    font-size: clamp(3rem, 13vw, 4.8rem);
  }

  .seo-proof,
  .seo-approach__grid,
  .seo-sources__grid,
  .seo-related__links {
    grid-template-columns: 1fr;
  }

  .seo-proof p {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .seo-approach__grid article {
    min-height: 15rem;
  }

  .seo-visual img,
  .seo-visual--contained img {
    height: 68svh;
  }

  .seo-visual figcaption {
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    border-radius: var(--radius);
  }
}

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