/* European page reworks only. The shared Swiss/report styles stay untouched. */

/* Six compact connections cards replace the Swiss outro's single brand strip. */
#outro .outro-content {
  justify-content: center;
  gap: 2rem;
  padding-top: 0;
  /* Keep the heading/cards in place while the credits sit at the bottom edge. */
  padding-bottom: 3.25rem;
}

#outro .outro-heading {
  margin: 0;
  color: var(--paper);
  font-size: 3.5rem;
  font-weight: 600;
  letter-spacing: -.045em;
  line-height: 1.06;
}

#outro .outro-heading em {
  color: var(--accent);
  font-style: normal;
}

#outro .outro-boards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3rem;
}

#outro .outro-connect {
  --outro-control-size: 3.2rem;
  grid-column: auto;
  justify-self: stretch;
  width: 100%;
  min-height: 14rem;
  padding: 1.4rem;
  gap: 1rem;
  scale: none;
  transform-origin: center;
}

#outro .outro-connect h3 {
  padding: 0;
  border: 0;
  font-size: 1.45rem;
  white-space: nowrap;
}

#outro .outro-connect .outro-brand-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: calc(2.928rem + 2px);
  box-sizing: border-box;
  padding: .68rem .65rem;
  border: 1px solid rgba(117, 183, 251, .16);
  border-radius: .55rem;
  background: transparent;
}

#outro .outro-connect h3 em {
  color: var(--accent);
  font-style: normal;
}

@media (hover: hover) and (pointer: fine) {
  /* Keep the same compositing layer through hover AND its return to rest.
     Dropping a scaled text/filtered-SVG button back to transform:none can
     re-rasterize its contents, producing a small snap/flash on pointer exit. */
  #outro .outro-brand-link {
    transform: translate3d(0, 0, 0) scale(1);
    will-change: transform;
  }

  #outro .outro-connect .outro-brand-link {
    transition:
      transform 260ms cubic-bezier(.16, 1, .3, 1),
      border-color 260ms ease,
      box-shadow 260ms ease,
      background-color 260ms ease;
  }

  #outro .outro-connect .outro-brand-link:hover,
  #outro .outro-connect .outro-brand-link:focus-visible {
    transform: translate3d(0, -.04rem, 0) scale(1.006);
    border-color: rgba(117, 183, 251, .26);
    background-color: rgba(31, 111, 197, .07);
    box-shadow: 0 .2rem .6rem rgba(0, 0, 0, .09);
  }
}

@media (prefers-reduced-motion: reduce) {
  #outro .outro-brand-link,
  #outro .outro-connect .outro-brand-link:is(:hover, :focus-visible) {
    transform: none;
    will-change: auto;
  }
}

#outro .outro-connect-row {
  justify-content: space-between;
  width: 100%;
  gap: .7rem;
}

#outro .outro-community-row {
  flex: 0 0 auto;
  grid-template-columns: repeat(2, var(--outro-control-size));
  gap: .5rem;
}

#outro .outro-social-badge {
  width: var(--outro-control-size);
  height: var(--outro-control-size);
  padding: .45rem;
}

#outro .outro-social-badge img {
  width: 2rem;
  height: 2rem;
}

#outro .outro-connect-divider {
  flex: 0 0 1px;
  min-height: calc(2 * var(--outro-control-size) + .5rem);
}

#outro .outro-store-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: repeat(2, var(--outro-control-size));
  flex: 0 0 9.75rem;
  width: 9.75rem;
  min-width: 0;
  min-height: calc(2 * var(--outro-control-size) + .5rem);
  gap: .5rem;
}

#outro .outro-store-badge {
  width: 100%;
  min-height: var(--outro-control-size);
  padding-block: .1rem;
}

#outro .outro-store-badge img {
  width: 100%;
  height: 100%;
  min-width: 0;
  object-fit: contain;
}

#outro .outro-connect-socials-only .outro-community-row {
  flex: 1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

#outro .outro-connect-socials-only .outro-social-badge {
  width: 100%;
  aspect-ratio: auto;
}

#outro .outro-credits {
  position: absolute;
  bottom: 1.25rem;
  left: 0;
  max-width: 100%;
  min-height: 0;
  margin: 0;
  transform: none;
  font-size: .9rem;
}

#outro .outro-credit-label { margin-right: .35rem; }
.js #outro .outro-connect.reveal:nth-child(1) { transition-delay: 80ms; }
.js #outro .outro-connect.reveal:nth-child(2) { transition-delay: 150ms; }
.js #outro .outro-connect.reveal:nth-child(3) { transition-delay: 220ms; }
.js #outro .outro-connect.reveal:nth-child(4) { transition-delay: 290ms; }
.js #outro .outro-connect.reveal:nth-child(5) { transition-delay: 360ms; }
.js #outro .outro-connect.reveal:nth-child(6) { transition-delay: 430ms; }
.js #outro .outro-credits.reveal { transition-delay: 500ms; }

@media (prefers-reduced-motion: reduce) {
  .js #outro .outro-connect.reveal,
  .js #outro .outro-credits.reveal { transition-delay: 0ms; }
}

#cover.cover-europe-page .cover-canvas {
  background: #1c1c1c;
}

#cover.cover-europe-page .cover-media::before {
  /* Keep the title legible without flattening the street photograph. */
  background: linear-gradient(90deg, rgb(24 24 24 / 28%), transparent 65%);
}

/* Cover entrance (shared): the background first, then the mosaic tiles one after another, then the
   seams. The photos' dimming is baked into the cover/ copies rather than applied with filter and
   opacity: browsers render those filters a shade differently on the GPU during the fade than once
   it settles, a flicker of light just before the photos come to rest. */
#cover.cover-europe-page :is([data-cover-entry], .cover-europe-seams) { will-change: opacity; }
#cover .cover-europe-mosaic > :nth-child(1) { --cover-entry-delay: 120ms; }
#cover .cover-europe-mosaic > :nth-child(2) { --cover-entry-delay: 210ms; }
#cover .cover-europe-mosaic > :nth-child(3) { --cover-entry-delay: 300ms; }
#cover .cover-europe-mosaic > :nth-child(4) { --cover-entry-delay: 390ms; }
#cover .cover-europe-mosaic > :nth-child(5) { --cover-entry-delay: 480ms; }
#cover .cover-europe-mosaic > :nth-child(6) { --cover-entry-delay: 570ms; }
/* Each tile's shape stays in place while its photo settles from slightly enlarged, so its edges
   always meet the seams, which fade in with the first tile they border. */
html.is-cover-entering #cover .cover-europe-tile[data-cover-entry] { scale: none; }
html.is-cover-entering #cover .cover-europe-tile img { scale: 1.04; }
html.is-cover-entering #cover .cover-europe-seams path { opacity: 0; }
html.is-cover-entered #cover .cover-europe-tile img {
  transition: scale 1000ms cubic-bezier(0.2, 0.7, 0.2, 1) var(--cover-entry-delay, 0ms);
}
html.is-cover-entered #cover .cover-europe-seams path {
  transition: opacity 1000ms cubic-bezier(0.2, 0.7, 0.2, 1) var(--cover-entry-delay, 0ms);
}

#cover.cover-europe-page .cover-europe-background {
  inset: 0;
  object-position: 38% 52%;
  filter: none;
}

.cover-europe-mosaic, .cover-europe-seams {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.cover-europe-tile {
  position: absolute;
  display: block;
}

/* The triangle is clipped inside the tile rather than on it: Chrome and Safari draw a clip-path on
   an element whose opacity is fading through a mask that briefly dims the whole tile now and then
   as the fade ends. */
.cover-europe-shape {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  clip-path: var(--cover-tile-shape);
}

.cover-europe-tile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  scale: 1;
  will-change: scale;
}

/* A negligible tilt keeps the zooming photos off the whole-pixel grid that Firefox snaps
   axis-aligned images to, so the slow end of the settle doesn't step. */
.cover-europe-tile img { rotate: .01deg; }

/* Coordinates share the report's fixed 1280 × 800 canvas. */
.cover-europe-london, .cover-europe-bridge, .cover-europe-city {
  width: 21.875%;
  height: 33.333333%;
  --cover-tile-shape: polygon(0 0, 100% 0, 50% 100%);
}
.cover-europe-london { left: 56.25%; top: 0; }
.cover-europe-london img {
  object-position: 25% 60%;
  transform: scale(2.7);
  transform-origin: 50% 85%;
}
.cover-europe-bridge { left: 78.125%; top: 0; }
.cover-europe-bridge img { object-position: 70% 45%; }
.cover-europe-city { left: 67.1875%; top: 33.333333%; }
.cover-europe-city img {
  object-position: 50% 46%;
  transform: scale(1.16);
  transform-origin: 50% 100%;
}

.cover-europe-castle {
  left: 67.1875%;
  top: 0;
  width: 21.875%;
  height: 33.333333%;
  --cover-tile-shape: polygon(50% 0, 100% 100%, 0 100%);
}
.cover-europe-castle img {
  object-fit: cover;
  object-position: 50% 0%;
  transform: translate(-2%, 7%) scale(1.2);
  transform-origin: 50% 25%;
}

.cover-europe-lake {
  left: 45.3125%;
  top: 33.333333%;
  width: 43.75%;
  height: 66.666667%;
  --cover-tile-shape: polygon(50% 0, 100% 100%, 0 100%);
}
.cover-europe-lake img { object-position: 48% 56%; }

.cover-europe-berlin {
  left: 78.125%;
  top: 0;
  width: 21.875%;
  height: 100%;
  --cover-tile-shape: polygon(100% 0, 100% 100%, 50% 100%, 0 66.666667%);
}
.cover-europe-berlin img { object-position: 43% 50%; }

.cover-europe-seams {
  z-index: 2;
  fill: none;
  stroke: rgb(255 255 255 / 24%);
  stroke-width: 1.5;
  stroke-linejoin: round;
}

#report #cover.cover-europe-page .cover-copy {
  top: .5rem;
  width: 56%;
}

#report #cover.cover-europe-page .cover-deck {
  position: absolute;
  z-index: 3;
  top: calc(var(--page-pad-y) + 0.7rem);
  left: var(--page-pad-x);
  margin: 0;
}

#cover.cover-europe-page .cover-footer {
  /* Match the right edge of .cover-art, which holds the vertical labels. */
  right: 3%;
}

#cover.cover-europe-page .cover-copy h2 {
  font-size: 5.5rem;
  line-height: .98;
}

#cover.cover-europe-page .cover-europe-heading-region {
  color: var(--accent);
}

#cover.cover-europe-page .cover-europe-heading-prefix {
  display: inline;
}

#cover.cover-europe-page .cover-meta {
  grid-template-columns: 7.5rem max-content;
  grid-template-rows: auto;
  column-gap: 1rem;
  width: max-content;
  margin-top: .9rem;
  /* Match the visible R stem, rather than the heading's font side bearing. */
  margin-left: .3rem;
}

#cover.cover-europe-page .cover-meta::before {
  width: 7.5rem;
}

#cover.cover-europe-page .cover-meta strong {
  font-size: 1.77rem;
}

.report-header {
  grid-template-columns: auto minmax(0, 1fr) auto auto;
}

.report-header .section-nav {
  justify-self: end;
  justify-content: flex-end;
}

.europe-report-brand {
  text-decoration: none;
  font-weight: 400;
}

.europe-report-brand .europe-report-title-text {
  color: inherit;
}

.europe-report-brand:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

@media (max-width: 1500px) {
  .report-header {
    grid-template-columns: minmax(0, 1fr) auto auto;
  }

  .report-header .section-nav {
    justify-self: center;
    justify-content: center;
  }
}
.about-boards-canvas {
  isolation: isolate;
  background:
    radial-gradient(circle at 82% 26%, rgba(41, 132, 230, 0.19), transparent 42%),
    radial-gradient(circle at 24% 88%, rgba(27, 119, 220, 0.12), transparent 45%),
    linear-gradient(135deg, #171b21 0%, #161b22 50%, #111820 100%);
}

.about-boards-content {
  position: relative;
  z-index: 1;
  display: flex;
  height: 100%;
  flex-direction: column;
  justify-content: center;
  gap: 1.4rem;
}

.about-boards-heading h2 {
  margin: 0;
  padding-left: 1.65rem;
  font-size: 3.9rem;
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 1;
}

.about-boards-statement,
.about-boards-panel {
  border: 1px solid rgba(123, 188, 248, 0.22);
  border-radius: 1rem;
  background:
    radial-gradient(circle at 77% 32%, rgba(66, 150, 237, 0.16), transparent 45%),
    linear-gradient(125deg, rgba(30, 91, 156, 0.28), rgba(10, 24, 42, 0.48));
  box-shadow: 0 1.2rem 3rem rgba(0, 0, 0, 0.16);
}

.about-boards-statement {
  margin: 0;
  padding: 1.2rem 1.65rem;
  font-size: 1.85rem;
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.2;
  white-space: nowrap;
}

.about-boards-statement span {
  display: inline;
}

.about-boards-heading em,
.about-boards-statement em {
  color: var(--accent);
  font-style: normal;
}

html[data-locale="de"] .about-boards-statement,
html[data-locale="fr"] .about-boards-statement {
  font-size: 1.65rem;
}

.about-boards-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 11rem;
  align-items: center;
  gap: 2.5rem;
  padding: 0 1.65rem;
}

.about-boards-intro p {
  margin: 0;
  color: rgba(238, 238, 238, 0.78);
  font-size: 1.22rem;
  line-height: 1.5;
}

.about-boards-mascot {
  margin: 0;
  justify-self: center;
}

.about-boards-mascot img {
  display: block;
  width: 8.4rem;
  height: 11.2rem;
  object-fit: contain;
  filter: drop-shadow(0 0.6rem 1rem rgba(0, 0, 0, 0.18));
}

.about-boards-panel {
  position: relative;
  padding: 1.4rem 1.65rem;
}

.about-boards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-board-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 3.805rem;
  min-height: 5.6rem;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem;
  border: 1px solid rgba(150, 203, 253, 0.27);
  border-radius: 0.85rem;
  color: var(--paper);
  background: rgba(16, 46, 78, 0.28);
  transition: border-color 180ms ease, background-color 180ms ease;
}

.about-board-link {
  display: flex;
  min-width: 0;
  min-height: 3.8rem;
  align-items: center;
  gap: 0.65rem;
  color: var(--paper);
  text-decoration: none;
}

.about-board-flag {
  position: relative;
  width: 3.1rem;
  height: 3.1rem;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 50%;
}

.about-board-flag::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  /* Draw over the photo, with one shared outer clip instead of competing edges. */
  box-shadow: inset 0 0 0 1px #fff;
  pointer-events: none;
}

.about-board-flag img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-board-name {
  min-width: 0;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  white-space: nowrap;
}

.about-board-domain {
  color: var(--accent);
}

.about-board-socials {
  display: grid;
  /* Equilateral center spacing keeps the visible gaps equal in this triangle. */
  grid-template-columns: repeat(2, 1.905rem);
  grid-template-rows: repeat(2, 1.9rem);
  column-gap: 0;
  row-gap: 0.3rem;
}

.about-board-social {
  display: grid;
  width: 1.9rem;
  height: 1.9rem;
  place-items: center;
  border: 1px solid rgba(150, 203, 253, 0.25);
  border-radius: 50%;
  background: rgba(72, 132, 195, 0.16);
  transition: border-color 180ms ease, background-color 180ms ease;
}

.about-board-social:first-child {
  grid-row: 1 / 3;
  align-self: center;
}

.about-board-social img {
  display: block;
  width: 0.95rem;
  height: 0.95rem;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

@media (hover: hover) {
  .about-board-card:hover {
    border-color: rgba(150, 203, 253, 0.55);
    background: rgba(38, 93, 151, 0.34);
  }

  .about-board-social:hover {
    border-color: rgba(150, 203, 253, 0.65);
    background: rgba(72, 132, 195, 0.35);
  }
}

.juniors-chapter-page .chapter-figure img {
  transform: translateX(3%) scale(1.08);
  transform-origin: center;
}
.job-change-chapter-page .chapter-figure {
  left: -1px;
}
.job-change-chapter-page .chapter-figure img {
  object-position: center;
  transform: none;
}
.salary-chapter-page .chapter-figure img {
  object-position: center;
  transform: scale(1.08);
  transform-origin: center;
}

@media (prefers-reduced-motion: reduce) {
  .about-board-card,
  .about-board-social {
    transition: none;
  }
}

/* Page 29: developer-product advertising, independent of the Swiss partner page. */
/* Country-aware salary overview; no changes to the copied salary pages. */
#salary-overview .salary-panel-stat { flex: 0 0 14.5rem; white-space: nowrap; }
.external-link-arrow { display: inline-flex; flex: none; width: 1em; height: 1em; align-items: center; justify-content: center; }
.external-link-arrow svg { display: block; width: 100%; height: 100%; }
.js #salary-overview .salary-overview-chart-section.reveal:not(.is-bar-revealed) .salary-dist-bar { clip-path: inset(0 50% round 0.75rem); }
.js #salary-overview .salary-overview-chart-section.reveal.is-bar-revealed .salary-dist-bar { clip-path: inset(0 0 round 0.75rem); }
.js #salary-overview .salary-overview-chart-section.reveal :is(.salary-panel-label,.salary-panel-stat,.salary-dist-bottom-labels > span,.salary-dist-inner-labels > span) { opacity: 0; scale: 1; translate: none; transition: opacity 300ms ease 620ms; }
.js #salary-overview .salary-overview-chart-section.reveal.is-visible :is(.salary-panel-label,.salary-panel-stat,.salary-dist-bottom-labels > span,.salary-dist-inner-labels > span) { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .js #salary-overview .salary-overview-chart-section.reveal .salary-dist-bar { clip-path: none; }
  .js #salary-overview .salary-overview-chart-section.reveal.is-visible :is(.salary-panel-label,.salary-panel-stat,.salary-dist-bottom-labels > span,.salary-dist-inner-labels > span) { opacity: 1; transition: none; }
}
#salary-overview .salary-overview-chart-section { position: relative; }
.salary-currency-row { position: absolute; top: calc(100% + 0.5rem); right: 0; display: flex; justify-content: flex-end; }
.salary-currency-row[hidden] { display: none; }
.salary-currency-selector { display: inline-flex; gap: 0.1rem; padding: 0.3rem; border: 1px solid rgba(255,255,255,0.12); border-radius: 0.55rem; background: rgba(30,30,30,0.65); }
.salary-currency-btn { appearance: none; padding: 0.2rem 0.5rem; border: 0; border-radius: 0.3rem; background: transparent; color: var(--muted); font-size: 0.72rem; font-weight: 700; font-family: inherit; cursor: pointer; transition: color 180ms ease, background-color 180ms ease; }
.salary-currency-btn.is-active { color: var(--ink); background: var(--accent); cursor: default; }
.salary-currency-btn:not(.is-active):hover { color: var(--paper); }
.salary-currency-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .salary-currency-btn { transition: none; } }
#salary-overview.is-country-leaving { --country-text-warp: salary-diff-out 140ms ease-in both; }
#salary-overview.is-country-entering { --country-text-warp: salary-diff-in 220ms ease-out both; }
#salary-overview:is(.is-country-leaving,.is-country-entering) :is(.salary-heading-flag,.salary-overview-heading h2 > span:last-child,[data-salary-lead],[data-salary-summary],[data-salary-explanation],[data-salary-source-note],.salary-partner-credit,.salary-partner-brand img,.salary-partner-arrow,.salary-panel-header,.salary-dist-bottom-labels,.salary-currency-selector) { animation: var(--country-text-warp); }
@media (prefers-reduced-motion: reduce) { #salary-overview:is(.is-country-leaving,.is-country-entering) :is(.salary-heading-flag,.salary-overview-heading h2 > span:last-child,[data-salary-lead],[data-salary-summary],[data-salary-explanation],[data-salary-source-note],.salary-partner-credit,.salary-partner-brand img,.salary-partner-arrow,.salary-panel-header,.salary-dist-bottom-labels,.salary-currency-selector) { animation: none; } }
#salary-overview .salary-overview-heading h2 { display: flex; align-items: center; gap: 1rem; font-size: 3.35rem; }
:is(#salary-overview,#salary-experience-level,#salary-technology,#salary-city,#salary-rankings,#salary-city-rankings,#salary-summary) .salary-heading-flag { display: block; flex: 0 0 3.1rem; width: 3.1rem; height: 3.1rem; }
:is(#salary-overview,#salary-experience-level,#salary-technology,#salary-city,#salary-rankings,#salary-city-rankings,#salary-summary) .salary-heading-flag img,
.salary-country-flag img { display: block; width: 100%; height: 100%; object-fit: cover; }
#salary-overview .salary-overview-content { gap: 1.25rem; }
#salary-overview .salary-overview-lead-copy h3 { font-size: 1.95rem; }
#salary-overview .salary-inline-increase { display: inline-block; padding: 0.04em 0.35em; border: 1px solid rgba(68, 204, 136, 0.42); border-radius: 0.35em; background: rgba(68, 204, 136, 0.1); color: #44cc88; font-weight: 600; line-height: 1.3; }
#salary-overview .salary-partner-link { display: grid; grid-template-columns: 1rem minmax(0,1fr) 1rem; align-items: center; gap: 0.9rem; padding: 1rem 1.25rem; border: 2px solid rgba(255,255,255,0.16); border-radius: 0.75rem; color: var(--paper); text-decoration: none; background: rgba(255,255,255,0.025); transition: border-color 180ms ease, background-color 180ms ease; }
#salary-overview .salary-partner-brand { grid-column: 2; display: flex; align-items: center; justify-content: center; gap: 0.9rem; min-width: 0; }
#salary-overview .salary-partner-link[hidden], #salary-overview [data-salary-source-note][hidden] { display: none; }
#salary-overview .salary-partner-credit { flex: none; padding: 0.2rem 0.4rem; border-radius: 0.2rem; background: rgba(255,255,255,0.1); font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
#salary-overview .salary-partner-link img { display: block; width: 15rem; max-width: 65%; height: auto; translate: 0 -0.05rem; }
.js #salary-overview .salary-overview-editorial.reveal .salary-partner-brand img { opacity: 0; filter: blur(5px); transition: opacity 300ms ease 160ms, filter 300ms ease 160ms; }
.js #salary-overview .salary-overview-editorial.reveal.is-visible .salary-partner-brand img { opacity: 1; filter: blur(0); }
@media (prefers-reduced-motion: reduce) { .js #salary-overview .salary-overview-editorial.reveal.is-visible .salary-partner-brand img { opacity: 1; filter: none; transition: none; } }
#salary-overview .salary-partner-arrow { grid-column: 3; justify-self: end; font-size: 1rem; transition: transform 180ms ease; }
#salary-overview .salary-partner-link:hover, #salary-overview .salary-partner-link:focus-visible { border-color: rgba(255,255,255,0.32); background: rgba(255,255,255,0.055); }
#salary-overview .salary-partner-link:focus-visible { outline: 2px solid var(--paper); outline-offset: 3px; }
#salary-overview .salary-partner-link:hover .salary-partner-arrow, #salary-overview .salary-partner-link:focus-visible .salary-partner-arrow { transform: translate(0.12rem,-0.12rem); }
@media (prefers-reduced-motion: reduce) { #salary-overview .salary-partner-link, #salary-overview .salary-partner-arrow { transition: none; } }
#salary-overview .salary-country-controls { justify-content: space-between; gap: 1rem; }
.salary-country-selector { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.3rem 0.35rem; border: 1px solid rgba(255,255,255,0.12); border-radius: 0.75rem; background: rgba(30,30,30,0.65); }
#salary-overview .salary-year-btn, .salary-country-btn { min-height: 2.15rem; }
.salary-country-btn { appearance: none; display: flex; align-items: center; gap: 0; padding: 0.42rem 0.6rem; border: 0; border-radius: 0.55rem; background: transparent; color: var(--muted); font-family: inherit; font-weight: 700; font-size: 0.92rem; letter-spacing: 0.04em; cursor: pointer; transition: color 200ms ease, background 200ms ease, transform 200ms ease, box-shadow 200ms ease; }
.salary-country-btn { position: relative; }
.salary-country-flag { position: relative; z-index: 1; display: block; flex: none; width: 1.35rem; height: 1.35rem; }
.salary-country-btn:not(.is-active)::before { content: ""; position: absolute; z-index: 0; top: 50%; left: 50%; width: 2.5rem; height: 2.5rem; transform: translate(-50%,-50%); background: radial-gradient(circle,transparent 0 0.675rem,rgba(255,193,50,0.18) 0.7rem,transparent 1.22rem); opacity: 0; pointer-events: none; transition: opacity 240ms ease; }
.salary-country-name { max-width: 0; overflow: hidden; opacity: 0; white-space: nowrap; transition: max-width 240ms ease, opacity 200ms ease, margin-left 240ms ease; }
.salary-country-btn.is-active { color: var(--ink); background: var(--accent); box-shadow: 0 2px 12px rgba(255,193,50,0.32); cursor: default; }
.salary-country-btn.is-active .salary-country-name { max-width: 16rem; opacity: 1; margin-left: 0.4rem; }
.salary-country-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
#salary-overview .salary-year-btn:disabled { opacity: 0.3; cursor: not-allowed; background: transparent; color: var(--muted); }
@media (hover: hover) {
  .salary-country-btn:not(.is-active):hover { color: var(--paper); }
  .salary-country-btn:not(.is-active):hover::before { opacity: 1; }
}
.salary-country-btn:not(.is-active):focus-visible::before { opacity: 1; }
/* Page 39: a combined European comparison, without country or currency controls. */
#salary-europe { --comparison-bar-height: 1.6rem; }
#salary-europe .salary-europe-content { display: flex; flex: 1; min-height: 0; flex-direction: column; justify-content: center; gap: 1rem; padding-top: 0.5rem; }
#salary-europe .salary-europe-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin: 0 0 0.25rem; }
#salary-europe .salary-europe-heading h2 { max-width: none; font-size: 3.25rem; white-space: nowrap; }
#salary-europe .salary-europe-legend { position: absolute; right: 0; top: calc(4 * (2 * var(--comparison-bar-height) + 0.2rem + 0.55rem)); display: flex; flex-direction: column; gap: 0.55rem; width: max-content; }
#salary-europe .salary-europe-legend > span { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--muted); font-size: 0.9rem; font-weight: 600; }
#salary-europe .salary-europe-legend i { display: block; flex: none; box-sizing: border-box; width: 3.4rem; height: var(--comparison-bar-height); border-radius: 0.2rem; }
#salary-europe .salary-europe-average { border: 1.5px solid rgba(255,248,235,0.65); background: rgba(242,242,242,0.65); }
#salary-europe .salary-europe-p90 { border: 1.5px solid rgba(255,193,50,0.8); background: rgba(255,193,50,0.65); }
#salary-europe .salary-europe-chart { position: relative; margin: 0; }
#salary-europe .salary-europe-rows { display: grid; gap: 0.55rem; padding: 0; margin: 0; list-style: none; }
#salary-europe .salary-europe-row { --comparison-reveal-delay: calc(140ms + var(--comparison-row-index) * 70ms); display: grid; grid-template-columns: 10rem minmax(0,1fr); align-items: center; gap: 0.5rem; }
#salary-europe .salary-europe-country { display: flex; align-items: center; gap: 0.55rem; font-size: 1.2rem; font-weight: 650; white-space: nowrap; }
#salary-europe .salary-europe-country img { display: block; flex: none; width: 1.45rem; height: 1.45rem; }
#salary-europe .salary-europe-bar-pair { display: grid; gap: 0.2rem; }
#salary-europe .salary-europe-bar { display: flex; justify-content: flex-end; align-items: center; box-sizing: border-box; width: var(--comparison-bar-width); height: var(--comparison-bar-height); padding-inline: 1.2rem; border-radius: 0 0.55rem 0.55rem 0; color: #000; }
#salary-europe .salary-europe-bar strong { flex: none; font-size: 1.02rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  /* Keep the bordered bar and its text on one stable layer, with one scale. */
  #salary-europe .salary-europe-bar { transform-origin: left center; transform: translateZ(0) scale(1); will-change: transform; transition: transform 240ms cubic-bezier(0.22,0.61,0.36,1); }
  #salary-europe .salary-europe-bar:hover { transform: translateZ(0) scale(1.02); }
}
#salary-europe .salary-europe-conclusions { padding: 1rem 1.25rem; border: 1px solid rgba(255,255,255,0.12); border-radius: 0.9rem; background: linear-gradient(130deg,rgba(255,255,255,0.035),transparent 70%),rgba(36,36,36,0.5); }
#salary-europe .salary-europe-conclusions > p { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.4; }
#salary-europe .salary-europe-conclusions .salary-europe-takeaway { margin-top: 0.7rem; padding: 0.5rem 0.7rem; border: 1px solid rgba(255,193,50,0.18); border-radius: 0.4rem; background: rgba(255,193,50,0.09); color: var(--accent); font-weight: 650; }
/* Reveal values after the fill settles. Hover scales the entire bordered bar
   and its value together, anchored at the left edge like salary rankings. */
.js #salary-europe .salary-europe-chart.reveal { opacity: 1; transform: none; }
.js #salary-europe .salary-europe-chart.reveal .salary-europe-bar { width: 0; padding-inline: 0; opacity: 0; }
.js #salary-europe .salary-europe-chart.reveal .salary-europe-bar strong { opacity: 0; }
.js #salary-europe .salary-europe-chart.reveal .salary-europe-country { opacity: 0; translate: -0.35rem 0; }
.js #salary-europe .salary-europe-chart.reveal.is-visible .salary-europe-bar { width: var(--comparison-bar-width); padding-inline: 1.2rem; opacity: 1; transition: width 600ms cubic-bezier(0.16,1,0.3,1) var(--comparison-reveal-delay), padding-inline 600ms cubic-bezier(0.16,1,0.3,1) var(--comparison-reveal-delay), opacity 80ms ease var(--comparison-reveal-delay), transform 240ms cubic-bezier(0.22,0.61,0.36,1); }
.js #salary-europe .salary-europe-chart.reveal.is-visible .salary-europe-bar strong { opacity: 1; transition: opacity 180ms ease calc(var(--comparison-reveal-delay) + 640ms); }
.js #salary-europe .salary-europe-chart.reveal.is-visible .salary-europe-country { opacity: 1; translate: 0; transition: opacity 300ms ease calc(140ms + var(--comparison-row-index) * 70ms), translate 380ms cubic-bezier(0.16,1,0.3,1) calc(140ms + var(--comparison-row-index) * 70ms); }
/* Use the chart's entry as one clock: bars, legend, then the conclusion frame. */
.js #salary-europe .salary-europe-legend.reveal,
.js #salary-europe .salary-europe-conclusions.reveal { opacity: 0; transform: translateY(0.45rem); }
.js #salary-europe .salary-europe-chart.reveal.is-visible .salary-europe-legend.reveal { opacity: 1; transform: none; transition: opacity 320ms ease 1200ms, transform 380ms cubic-bezier(0.16,1,0.3,1) 1200ms; }
.js #salary-europe .salary-europe-chart.reveal.is-visible + .salary-europe-conclusions.reveal { opacity: 1; transform: none; transition: opacity 380ms ease 1420ms, transform 440ms cubic-bezier(0.16,1,0.3,1) 1420ms; }
@media (prefers-reduced-motion: reduce) {
  .js #salary-europe .salary-europe-legend.reveal,
  .js #salary-europe .salary-europe-conclusions.reveal,
  .js #salary-europe .salary-europe-chart.reveal.is-visible .salary-europe-legend.reveal,
  .js #salary-europe .salary-europe-chart.reveal.is-visible + .salary-europe-conclusions.reveal { opacity: 1; transform: none; transition: none; }
  .js #salary-europe .salary-europe-chart.reveal .salary-europe-bar,
  .js #salary-europe .salary-europe-chart.reveal.is-visible .salary-europe-bar { width: var(--comparison-bar-width); padding-inline: 1.2rem; opacity: 1; transition: none; }
  .js #salary-europe .salary-europe-chart.reveal .salary-europe-bar strong,
  .js #salary-europe .salary-europe-chart.reveal.is-visible .salary-europe-bar strong { opacity: 1; transition: none; }
  .js #salary-europe .salary-europe-chart.reveal .salary-europe-country,
  .js #salary-europe .salary-europe-chart.reveal.is-visible .salary-europe-country { opacity: 1; translate: none; transition: none; }
}
/* Page 38: a quiet country dashboard, without the Swiss node interactions. */
#salary-summary .salary-country-summary-content { display: flex; flex: 1; min-height: 0; flex-direction: column; justify-content: center; gap: 1.1rem; padding-top: 1.5rem; }
#salary-summary .salary-country-summary-heading { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin: 0 0 0.3rem; }
#salary-summary .salary-country-summary-heading h2 { display: flex; align-items: center; gap: 1rem; max-width: none; font-size: 3.5rem; white-space: nowrap; }
#salary-summary [data-country-summary-controls] { flex: none; }
#salary-summary .salary-country-summary-intro { display: flex; align-items: center; justify-content: flex-end; align-self: flex-end; width: fit-content; max-width: 100%; min-height: 3.1rem; padding: 0.7rem 1rem 0.65rem; border: 1px solid rgba(255,255,255,0.08); border-radius: 0.55rem; background: rgba(24,24,24,0.15); backdrop-filter: blur(16px) saturate(1.12); -webkit-backdrop-filter: blur(16px) saturate(1.12); }
#salary-summary [data-summary-lead] { margin: 0; color: var(--muted); font-size: 1.2rem; line-height: 1.35; text-align: right; white-space: nowrap; }
#salary-summary .salary-country-summary-cards { display: grid; grid-template-columns: 1.12fr 1fr 1.12fr; gap: 0.8rem; }
#salary-summary .salary-country-summary-card { display: flex; flex-direction: column; min-width: 0; min-height: 10.3rem; padding: 1.1rem 1.25rem; border: 1px solid rgba(255,255,255,0.09); border-radius: 0.9rem; background: linear-gradient(145deg,rgba(255,255,255,0.035),transparent 65%),rgba(42,42,42,0.5); }
#salary-summary .salary-summary-benchmark { border-color: rgba(255,193,50,0.2); background: linear-gradient(115deg,rgba(255,193,50,0.08),transparent 80%),rgba(42,42,42,0.5); }
#salary-summary .salary-country-summary-card h3 { margin: 0; color: var(--accent); font-size: 0.68rem; font-weight: 750; letter-spacing: 0.13em; text-transform: uppercase; }
#salary-summary .salary-country-summary-metrics { display: flex; align-items: end; gap: 1.15rem; margin-block: 1rem 0.8rem; }
#salary-summary .salary-country-summary-stat { display: flex; flex-direction: column; gap: 0.3rem; min-width: 0; }
#salary-summary .salary-country-summary-stat strong { font-size: 1.65rem; font-weight: 750; line-height: 1; letter-spacing: -0.045em; white-space: nowrap; }
#salary-summary .salary-country-summary-stat span { color: var(--muted); font-size: 0.76rem; line-height: 1.2; }
#salary-summary .salary-summary-benchmark .salary-country-summary-stat:first-child strong { color: var(--accent); font-size: 2.05rem; }
#salary-summary .salary-summary-benchmark .salary-country-summary-stat:last-child strong { font-size: 1.2rem; }
#salary-summary .salary-summary-career .salary-country-summary-stat strong { font-size: 2.45rem; }
#salary-summary .salary-summary-career .salary-country-summary-stat { flex-direction: row; align-items: center; gap: 1.7rem; }
#salary-summary .salary-career-label { display: flex; flex-direction: column; gap: 0.2rem; white-space: nowrap; }
#salary-summary .salary-career-label b { color: var(--paper); font-size: 0.9rem; font-weight: 750; }
#salary-summary .salary-country-summary-card > p { margin: auto 0 0; color: var(--muted); font-size: 0.82rem; line-height: 1.4; }
#salary-summary .salary-country-summary-rankings { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 0.8rem; }
#salary-summary .salary-country-summary-ranking { position: relative; min-width: 0; padding: 1rem 1.25rem 0.6rem; border: 1px solid rgba(255,255,255,0.09); border-radius: 0.9rem; background: rgba(36,36,36,0.65); }
#salary-summary .salary-country-summary-ranking h3 { min-height: 2em; margin: 0; font-size: 1.05rem; font-weight: 600; line-height: 1.2; letter-spacing: -0.02em; white-space: nowrap; }
#salary-summary .salary-country-summary-ranking table { width: 100%; margin-top: 0.3rem; border-collapse: collapse; table-layout: fixed; }
#salary-summary .salary-country-summary-ranking tr { height: 2.85rem; }
#salary-summary .salary-country-summary-ranking tr + tr { border-top: 1px solid rgba(255,255,255,0.055); }
#salary-summary .salary-country-summary-ranking th { width: 53%; padding: 0.2rem 0.35rem 0.2rem 0; font-weight: 500; text-align: left; }
#salary-summary .salary-country-summary-ranking td { padding: 0.2rem 0; text-align: right; white-space: nowrap; font-size: 1rem; font-weight: 650; font-variant-numeric: tabular-nums; letter-spacing: -0.025em; }
#salary-summary .salary-country-summary-ranking .tech-badge { display: inline-block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; vertical-align: middle; }
#salary-summary .salary-country-summary-footer { display: flex; justify-content: space-between; align-items: center; min-height: 1.8rem; margin-top: -0.45rem; }
#salary-summary [data-summary-currency] { margin-left: auto; }
#salary-summary [hidden] { display: none; }
/* Every generated card and ranking enters with its containing observed reveal. */
.js #salary-summary :is(.salary-country-summary-cards,.salary-country-summary-rankings).reveal { opacity: 1; transform: none; }
.js #salary-summary :is(.salary-country-summary-card,.salary-country-summary-ranking) { opacity: 0; transform: translateY(0.8rem); transition: opacity 420ms ease, transform 500ms cubic-bezier(0.16,1,0.3,1); transition-delay: calc(var(--summary-entry-index,0) * 70ms + 120ms); }
/* Independent hover transforms keep the staggered entry and inner table warps intact. */
.js #salary-summary :is(.salary-country-summary-card,.salary-country-summary-ranking) { transition: opacity 420ms ease calc(var(--summary-entry-index,0) * 70ms + 120ms), transform 500ms cubic-bezier(0.16,1,0.3,1) calc(var(--summary-entry-index,0) * 70ms + 120ms), translate 320ms cubic-bezier(0.16,1,0.3,1), scale 320ms cubic-bezier(0.16,1,0.3,1), border-color 280ms ease, box-shadow 320ms ease; }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .js #salary-summary .reveal.is-visible > :is(.salary-country-summary-card,.salary-country-summary-ranking):hover { z-index: 2; translate: 0 -0.18rem; scale: 1.025; border-color: rgba(255,255,255,0.13); box-shadow: 0 0.7rem 1.8rem rgba(0,0,0,0.2); }
  .js #salary-summary .salary-country-summary-cards.reveal.is-visible > .salary-summary-benchmark:hover { border-color: rgba(255,193,50,0.28); }
}
.js #salary-summary .reveal.is-visible > :is(.salary-country-summary-card,.salary-country-summary-ranking) { opacity: 1; transform: none; }
#salary-summary :is(.salary-country-summary-card,.salary-country-summary-ranking):nth-child(2) { --summary-entry-index: 1; }
#salary-summary :is(.salary-country-summary-card,.salary-country-summary-ranking):nth-child(3) { --summary-entry-index: 2; }
#salary-summary .salary-country-summary-ranking:nth-child(4) { --summary-entry-index: 3; }
#salary-summary.is-summary-leaving { --summary-switch-animation: salary-diff-out 140ms ease-in both; }
#salary-summary.is-summary-entering { --summary-switch-animation: salary-diff-in 220ms ease-out both; }
#salary-summary:is(.is-summary-leaving,.is-summary-entering) :is([data-summary-value],.salary-country-summary-ranking tbody) { animation: var(--summary-switch-animation); }
#salary-summary.is-summary-country-changing:is(.is-summary-leaving,.is-summary-entering) :is(.salary-heading-flag,.salary-country-summary-intro,.salary-currency-selector) { animation: var(--summary-switch-animation); }
@media (prefers-reduced-motion: reduce) {
  .js #salary-summary :is(.salary-country-summary-card,.salary-country-summary-ranking) { opacity: 1; transform: none; transition: none; }
  #salary-summary:is(.is-summary-leaving,.is-summary-entering) :is([data-summary-value],.salary-country-summary-ranking tbody,.salary-heading-flag,.salary-country-summary-intro,.salary-currency-selector) { animation: none; }
}
/* Experience-level controls mirror the overview, with their fixed copy untouched. */
.tech-badge.tech-scala { --tech-badge-color: #b94b68; }
.tech-badge.tech-rust.is-frosted { --tech-badge-export-border: #303030; border-color: var(--tech-badge-export-border); }
:is(#salary-rankings,#salary-city-rankings) .salary-rankings-main { position: relative; }
/* Keep the nine-row layout footprint; the shorter chart and its footer stay top-anchored. */
#salary-city-rankings { --city-rank-bar-height: 2.1rem; --city-rank-row-gap: 1.15rem; --city-rank-panel-padding: 0.4rem; }
#salary-city-rankings .salary-rankings-main { display: grid; grid-template-rows: auto calc(9 * var(--city-rank-bar-height) + 8 * var(--city-rank-row-gap) + 2 * var(--city-rank-panel-padding)); }
#salary-city-rankings .salary-rank-card-stack { align-self: start; }
#salary-city-rankings .salary-rank-rail { height: var(--city-rank-bar-height); }
#salary-city-rankings .salary-ranking-list { gap: var(--city-rank-row-gap); }
#salary-city-rankings .salary-ranking-panel { padding-block: var(--city-rank-panel-padding); }
:is(#salary-rankings,#salary-city-rankings) .salary-rankings-heading h2 { display: flex; align-items: center; gap: 1rem; }
:is(#salary-rankings,#salary-city-rankings) .salary-ranking-footer { position: absolute; top: calc(100% + 0.75rem); left: 8.85rem; right: 0; display: flex; justify-content: space-between; align-items: center; }
#salary-city-rankings .salary-ranking-footer { top: calc(var(--city-rank-visible-count, 9) * var(--city-rank-bar-height) + (var(--city-rank-visible-count, 9) - 1) * var(--city-rank-row-gap) + 2 * var(--city-rank-panel-padding) + 0.75rem); transition: top 280ms cubic-bezier(0.16,1,0.3,1) 120ms; }
:is(#salary-rankings,#salary-city-rankings) .salary-ranking-footer .salary-currency-row { position: static; align-self: flex-start; justify-content: flex-start; margin-right: auto; }
:is(#salary-rankings,#salary-city-rankings) .salary-ranking-footer .salary-metric-selector { margin-left: auto; }
:is(#salary-rankings,#salary-city-rankings) .salary-ranking-footer .salary-currency-row[hidden] { display: none; }
:is(#salary-rankings,#salary-city-rankings) .salary-currency-row.is-switch-leaving { animation: salary-currency-fade-out 150ms ease both; pointer-events: none; }
:is(#salary-rankings,#salary-city-rankings) .salary-currency-row.is-switch-entering { animation: salary-currency-fade-in 180ms ease both; }
@keyframes salary-currency-fade-out { to { opacity: 0; } }
@keyframes salary-currency-fade-in { from { opacity: 0; } to { opacity: 1; } }
:is(#salary-rankings,#salary-city-rankings) .salary-rankings-content { padding-bottom: calc(var(--page-pad-bottom) + 1rem); }
:is(#salary-rankings,#salary-city-rankings):has(.salary-ranking-btn[data-rank="lowest"].is-active) :is(.salary-metric-btn,.salary-country-btn,.salary-currency-btn).is-active { background: #fff; color: #000; box-shadow: 0 2px 12px rgba(255,255,255,0.28); }
:is(#salary-rankings,#salary-city-rankings) .salary-heading-flag { --salary-ranking-badge-offset: 0.6rem; --salary-ranking-badge-exit-offset: -0.25rem; }
:is(#salary-rankings,#salary-city-rankings) .salary-heading-flag img.is-switch-leaving { animation: salary-ranking-badge-out 110ms ease-in both; }
:is(#salary-rankings,#salary-city-rankings) .salary-heading-flag img.is-switch-entering { animation: salary-ranking-badge-in 240ms cubic-bezier(0.16,1,0.3,1); }
.js :is(#salary-rankings,#salary-city-rankings) .salary-rankings-main.reveal :is(.salary-country-selector,.salary-currency-selector) { opacity: 0; scale: 0.9; pointer-events: none; }
.js :is(#salary-rankings,#salary-city-rankings) .salary-country-selector { transform-origin: right center; }
.js :is(#salary-rankings,#salary-city-rankings) .salary-currency-selector { transform-origin: left center; }
.js :is(#salary-rankings,#salary-city-rankings) .salary-rankings-main.reveal.is-visible :is(.salary-country-selector,.salary-currency-selector) { opacity: 1; scale: 1; pointer-events: auto; transition: opacity 220ms ease 980ms, scale 300ms cubic-bezier(0.16,1,0.3,1) 980ms; }
@media (prefers-reduced-motion: reduce) {
  #salary-city-rankings .salary-ranking-footer { transition: none; }
  :is(#salary-rankings,#salary-city-rankings) .salary-currency-row:is(.is-switch-leaving,.is-switch-entering) { animation: none; }
  .js :is(#salary-rankings,#salary-city-rankings) .salary-rankings-main.reveal.is-visible :is(.salary-country-selector,.salary-currency-selector) { transition: none; }
  :is(#salary-rankings,#salary-city-rankings) .salary-heading-flag img:is(.is-switch-leaving,.is-switch-entering) { animation: none; }
}
/* European country switcher: no ring under its flags, a plain hover tint. */
:is(#salary-overview,#salary-experience-level,#salary-technology,#salary-rankings,#salary-city,#salary-city-rankings,#salary-summary) .salary-country-btn::before { display: none; }
@media (hover: hover) {
  :is(#salary-overview,#salary-experience-level,#salary-technology,#salary-rankings,#salary-city,#salary-city-rankings,#salary-summary) .salary-country-btn:not(.is-active):not(:disabled):hover { color: var(--paper); background: rgba(255,255,255,0.06); }
}
:is(#salary-technology,#salary-city) .salary-tech-heading { grid-row: 1; grid-column: 1; top: -1.15rem; margin-bottom: 0; }
:is(#salary-technology,#salary-city) .salary-tech-heading h2 { display: flex; align-items: center; justify-content: flex-end; gap: 0.8rem; font-size: 4.2rem; line-height: 3.8rem; white-space: normal; }
:is(#salary-technology,#salary-city) .salary-tech-country-controls { grid-row: 1; grid-column: 1; align-self: end; display: flex; justify-content: flex-start; width: calc(100% + (2 * var(--page-pad-x))); margin-left: calc(-1 * var(--page-pad-x)); }
:is(#salary-technology,#salary-city) .salary-tech-content { display: grid; grid-template-columns: minmax(0,1fr); align-content: center; gap: 0.75rem; }
:is(#salary-technology,#salary-city) .salary-table-card { grid-row: 2; grid-column: 1; position: relative; }
:is(#salary-technology,#salary-city) { --table-flag-left: 220,45,45; --table-flag-middle: 245,245,245; --table-flag-right: 245,245,245; --table-flag-middle-opacity: 0; }
:is(#salary-technology,#salary-city)[data-salary-country="ch"] { --table-flag-middle: 220,45,45; --table-flag-right: 220,45,45; --table-flag-left-opacity: 0.24; --table-flag-right-opacity: 0.08; }
:is(#salary-technology,#salary-city)[data-salary-country="de"] { --table-flag-left: 0,0,0; --table-flag-middle: 207,49,49; --table-flag-right: 231,172,38; --table-flag-left-opacity: 0.4; --table-flag-left-tail-opacity: 0.1; --table-flag-middle-opacity: 0.16; }
:is(#salary-technology,#salary-city)[data-salary-country="uk"] { --table-flag-left: 48,82,171; --table-flag-right: 207,49,65; }
:is(#salary-technology,#salary-city)[data-salary-country="fr"] { --table-flag-left: 48,82,171; --table-flag-middle: 245,245,245; --table-flag-right: 207,49,65; --table-flag-middle-opacity: 0.14; }
:is(#salary-technology,#salary-city)[data-salary-country="nl"] { --table-flag-left: 207,49,65; --table-flag-middle: 245,245,245; --table-flag-right: 48,82,171; --table-flag-middle-opacity: 0.14; }
:is(#salary-technology,#salary-city)[data-salary-country="ro"] { --table-flag-left: 48,82,171; --table-flag-middle: 231,172,38; --table-flag-right: 207,49,49; --table-flag-middle-opacity: 0.14; }
:is(#salary-technology,#salary-city)[data-salary-country="pl"] { --table-flag-left: 245,245,245; --table-flag-right: 207,49,65; }
:is(#salary-technology,#salary-city) .salary-table-card {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0.006) 32%, rgba(255,255,255,0) 100%),
    radial-gradient(ellipse at 8% 0%, rgba(var(--table-flag-left),calc(var(--table-flag-left-opacity,0.22) * 0.7)) 0%, rgba(var(--table-flag-left),calc(var(--table-flag-left-tail-opacity,0.065) * 0.7)) 38%, rgba(var(--table-flag-left),0) 72%),
    radial-gradient(ellipse at 50% 0%, rgba(var(--table-flag-middle),calc(var(--table-flag-middle-opacity) * 0.7)) 0%, rgba(var(--table-flag-middle),0) 66%),
    radial-gradient(ellipse at 92% 0%, rgba(var(--table-flag-right),calc(var(--table-flag-right-opacity,0.22) * 0.7)) 0%, rgba(var(--table-flag-right),0.035) 38%, rgba(var(--table-flag-right),0) 72%),
    rgba(55,55,55,0.16);
  background-size: 100% 4.5rem, 100% 14rem, 100% 14rem, 100% 14rem, auto;
  background-repeat: no-repeat;
  background-clip: padding-box;
}
:is(#salary-technology,#salary-city) .salary-currency-row { position: absolute; top: calc(100% + 0.5rem); right: 0; }
.js :is(#salary-technology,#salary-city) .salary-table-card.reveal .salary-currency-selector { opacity: 0; scale: 0.9; transform-origin: right center; pointer-events: none; }
.js :is(#salary-technology,#salary-city) .salary-table-card.reveal.is-visible .salary-currency-selector { opacity: 1; scale: 1; pointer-events: auto; transition: opacity 220ms ease 980ms, scale 300ms cubic-bezier(0.16,1,0.3,1) 980ms; }
:is(#salary-technology,#salary-city).is-country-leaving .salary-currency-selector { animation: salary-diff-out 140ms ease-in both; }
:is(#salary-technology,#salary-city).is-country-entering .salary-currency-selector { animation: salary-diff-in 220ms ease-out both; }
:is(#salary-technology,#salary-city) .salary-tech-table { transform-origin: center; }
:is(#salary-technology,#salary-city).is-country-leaving .salary-heading-flag { animation: salary-table-country-out 140ms ease-in both; }
:is(#salary-technology,#salary-city).is-country-entering .salary-heading-flag { animation: salary-table-country-in 220ms ease-out both; }
:is(#salary-technology,#salary-city):is(.is-country-leaving,.is-currency-leaving) .salary-tech-table { animation: salary-table-country-out 140ms ease-in both; }
:is(#salary-technology,#salary-city):is(.is-country-entering,.is-currency-entering) .salary-tech-table { animation: salary-table-country-in 220ms ease-out both; }
@keyframes salary-table-country-out {
  from { filter: blur(0); transform: scale(1); }
  to { filter: blur(9px); transform: scale(1.012); }
}
@keyframes salary-table-country-in {
  from { filter: blur(9px); transform: scale(1.012); }
  to { filter: blur(0); transform: scale(1); }
}
.js :is(#salary-technology,#salary-city) .salary-tech-country-controls.reveal .salary-country-selector { opacity: 0; scale: 0.9; transform-origin: left center; pointer-events: none; }
.js :is(#salary-technology,#salary-city) .salary-tech-country-controls.reveal.is-visible .salary-country-selector { opacity: 1; scale: 1; pointer-events: auto; transition: opacity 220ms ease 500ms, scale 300ms cubic-bezier(0.16,1,0.3,1) 500ms; }
@media (prefers-reduced-motion: reduce) {
  :is(#salary-technology,#salary-city):is(.is-country-leaving,.is-country-entering,.is-currency-leaving,.is-currency-entering) :is(.salary-tech-table,.salary-heading-flag,.salary-currency-selector) { animation: none; }
  .js :is(#salary-technology,#salary-city) .salary-table-card.reveal.is-visible .salary-currency-selector { opacity: 1; scale: 1; transition: none; }
  .js :is(#salary-technology,#salary-city) .salary-tech-country-controls.reveal.is-visible .salary-country-selector { opacity: 1; scale: 1; transition: none; }
}
#salary-experience-level .salary-overview-heading h2 { display: flex; align-items: center; justify-content: flex-end; width: 100%; gap: 1rem; }
#salary-experience-level .salary-overview-chart-section { position: relative; }
#salary-experience-level .salary-level-slot { padding-right: 0.4rem; }
#salary-experience-level .salary-country-controls { justify-content: space-between; gap: 1rem; }
#salary-experience-level .salary-currency-row { left: auto; right: 0; justify-content: flex-end; }
#salary-experience-level .salary-panel-stat { flex: 0 0 14.5rem; white-space: nowrap; }
#salary-experience-level.is-country-leaving { --country-text-warp: salary-diff-out 140ms ease-in both; }
#salary-experience-level.is-country-entering { --country-text-warp: salary-diff-in 220ms ease-out both; }
#salary-experience-level:is(.is-country-leaving,.is-country-entering) :is([data-salary-experience-explanation],.salary-panel-header,.salary-dist-bottom-labels,.salary-currency-selector) { animation: var(--country-text-warp); }
#salary-experience-level.is-country-leaving .salary-heading-flag { animation: salary-table-country-out 140ms ease-in both; }
#salary-experience-level.is-country-entering .salary-heading-flag { animation: salary-table-country-in 220ms ease-out both; }
.js #salary-experience-level .salary-overview-chart-section.reveal:not(.is-bar-revealed) .salary-dist-bar { clip-path: inset(0 50% round 0.75rem); }
.js #salary-experience-level .salary-overview-chart-section.reveal.is-bar-revealed .salary-dist-bar { clip-path: inset(0 0 round 0.75rem); }
.js #salary-experience-level .salary-overview-chart-section.reveal :is(.salary-panel-label,.salary-panel-stat,.salary-dist-bottom-labels > span,.salary-dist-inner-labels > span) { opacity: 0; transition: opacity 300ms ease 620ms; }
.js #salary-experience-level .salary-overview-chart-section.reveal.is-visible :is(.salary-panel-label,.salary-panel-stat,.salary-dist-bottom-labels > span,.salary-dist-inner-labels > span) { opacity: 1; }
.js #salary-experience-level .salary-overview-chart-section.reveal :is(.salary-country-selector,.salary-currency-selector) { opacity: 0; scale: 0.9; transform-origin: right center; pointer-events: none; }
#salary-experience-level .salary-experience-selector { transform-origin: left center; }
#salary-experience-level [data-salary-experience-explanation].is-diff-leaving { animation: salary-diff-out 140ms ease-in both; }
#salary-experience-level [data-salary-experience-explanation].is-diff-entering { animation: salary-diff-in 220ms ease-out both; }
.js #salary-experience-level .salary-overview-chart-section.reveal.is-visible :is(.salary-country-selector,.salary-currency-selector) { opacity: 1; scale: 1; pointer-events: auto; transition: opacity 220ms ease 980ms, scale 300ms cubic-bezier(0.16,1,0.3,1) 980ms; }
@media (prefers-reduced-motion: reduce) {
  #salary-experience-level [data-salary-experience-explanation]:is(.is-diff-leaving,.is-diff-entering) { animation: none; }
  #salary-experience-level:is(.is-country-leaving,.is-country-entering) :is(.salary-heading-flag,[data-salary-experience-explanation],.salary-panel-header,.salary-dist-bottom-labels,.salary-currency-selector) { animation: none; }
  .js #salary-experience-level .salary-overview-chart-section.reveal .salary-dist-bar { clip-path: none; }
  .js #salary-experience-level .salary-overview-chart-section.reveal.is-visible :is(.salary-panel-label,.salary-panel-stat,.salary-dist-bottom-labels > span,.salary-dist-inner-labels > span,.salary-country-selector,.salary-currency-selector) { opacity: 1; scale: 1; transition: none; }
}
.js #salary-overview .salary-overview-chart-section.reveal :is(.salary-country-selector,.salary-currency-selector) { opacity: 0; scale: 0.9; transform-origin: right center; pointer-events: none; }
.js #salary-overview .salary-overview-chart-section.reveal.is-visible :is(.salary-country-selector,.salary-currency-selector) { opacity: 1; scale: 1; pointer-events: auto; transition: opacity 220ms ease 980ms, scale 300ms cubic-bezier(0.16,1,0.3,1) 980ms; }
@media (prefers-reduced-motion: reduce) {
  .salary-country-name, .salary-country-btn, .salary-country-btn::before { transition: none; }
  .js #salary-overview .salary-overview-chart-section.reveal.is-visible :is(.salary-country-selector,.salary-currency-selector) { opacity: 1; scale: 1; pointer-events: auto; transition: none; }
}
.advertising-page .advertising-canvas {
  background:
    radial-gradient(ellipse at 86% 10%, rgba(64, 154, 238, 0.28), transparent 55%),
    linear-gradient(130deg, #103b67, #15578f 58%, #113b66);
}

.advertising-content {
  position: relative;
  z-index: 1;
  display: flex;
  height: 100%;
  flex-direction: column;
  justify-content: center;
  gap: 1.65rem;
}

/* Center the remaining heading/cards as one group, without the old strip offset. */
.advertising-heading { padding-top: 0; }
.advertising-heading h2 {
  margin: 0;
  text-wrap: balance;
  font-size: 3.6rem;
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 1.02;
}
.advertising-heading em { color: var(--accent); font-style: normal; }
.advertising-lede {
  max-width: 62rem;
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.2rem;
  line-height: 1.4;
}

.advertising-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  gap: 1.5rem;
}
.advertising-audience,
.advertising-stat {
  border: 1px solid rgba(184, 221, 255, 0.25);
  border-radius: 1rem;
  background: rgba(6, 27, 48, 0.24);
  box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.1);
}
.advertising-audience {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 1.1rem;
  padding: 1.65rem;
}
.advertising-audience h3 { margin: 0; font-size: 1.55rem; font-weight: 600; letter-spacing: -0.03em; }
.advertising-audience > p { margin: 0; font-size: 1.04rem; line-height: 1.5; color: rgba(255, 255, 255, 0.78); }
.advertising-countries {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem 1rem;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}
.advertising-country { display: flex; align-items: center; gap: 0.45rem; font-size: 0.83rem; }
.advertising-country-flag { position: relative; display: block; flex: none; width: 1.45rem; height: 1.45rem; overflow: hidden; border-radius: 50%; }
.advertising-country-flag::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(184, 221, 255, 0.25); border-radius: inherit; pointer-events: none; }
.advertising-country-flag img { display: block; width: 100%; height: 100%; object-fit: cover; }
.advertising-cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  place-items: center;
  width: 100%;
  margin-top: 0.25rem;
  padding: 0.7rem 1.8rem;
  border: 1.5px solid rgba(184, 221, 255, 0.25);
  border-radius: 0.75rem;
  background: #17466f;
  color: rgba(255, 255, 255, 0.93);
  cursor: pointer;
  font-family: inherit;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.025em;
  line-height: 1.35;
  transition: background-color 240ms ease, border-color 240ms ease;
}
.advertising-cta > span {
  grid-area: 1 / 1;
  transition: opacity 160ms ease, filter 220ms ease, transform 220ms cubic-bezier(0.16, 1, 0.3, 1);
}
.advertising-cta-email,
.advertising-cta-feedback {
  opacity: 0;
  filter: blur(5px);
  transform: translateY(0.18rem) scaleX(1.06);
}
.advertising-cta-feedback {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.015em;
}
.advertising-cta:is(:hover, :focus-visible, .is-copied) .advertising-cta-label {
  opacity: 0;
  filter: blur(5px);
  transform: translateY(-0.18rem) scaleX(0.94);
}
.advertising-cta:not(.is-copied):is(:hover, :focus-visible) .advertising-cta-email,
.advertising-cta.is-copied .advertising-cta-feedback {
  opacity: 1;
  filter: none;
  transform: none;
}
.advertising-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.07) 50%, transparent 60%);
  transform: translateX(-120%);
  animation: advertising-reflection 6s ease-in-out infinite;
}
@keyframes advertising-reflection {
  0%, 20% { transform: translateX(-120%); }
  65%, 100% { transform: translateX(120%); }
}
.advertising-cta:hover::before,
.advertising-cta:focus-visible::before { animation: none; opacity: 0; }
.advertising-cta:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
@media (hover: hover) {
  .advertising-cta:hover { background: #225587; border-color: rgba(150, 203, 253, 0.47); }
}

.advertising-stats { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 1rem; }
.advertising-stat { padding: 1.1rem 1.35rem; display: flex; flex-direction: column; justify-content: center; }
.advertising-stat-report { grid-column: 1 / -1; }
.advertising-stat > p { margin: 0 0 0.45rem; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.13em; color: var(--accent); }
.advertising-stat > strong { font-size: 2.6rem; font-weight: 600; letter-spacing: -0.055em; line-height: 1.1; white-space: nowrap; }
.advertising-stat-report > strong { font-size: 4.25rem; }
.advertising-count { display: flex; align-items: flex-start; }
.advertising-count > sup { margin: 0.05rem 0 0 0.12rem; color: var(--paper); font-size: 1rem; line-height: 1; letter-spacing: 0; }
.advertising-stat-report .advertising-count > sup { margin-top: 0.5rem; }
.advertising-stat > span { font-size: 0.91rem; color: rgba(255, 255, 255, 0.8); }
html[data-locale="de"] .advertising-heading h2,
html[data-locale="fr"] .advertising-heading h2 { font-size: 3.25rem; }
html[data-locale="de"] .advertising-country,
html[data-locale="fr"] .advertising-country { font-size: 0.78rem; }

@media (prefers-reduced-motion: reduce) {
  .advertising-cta::before { animation: none; display: none; }
  .advertising-cta,
  .advertising-cta > span { transition: none; }
}

/* Salary summary: the uplift's sign, spaced from the digits and centred on their height. */
#salary-summary .salary-country-summary-stat .salary-summary-sign {
  /* Not one of the stat's labels: keep the value's size and colour. */
  color: inherit;
  font-size: 0.8em;
  line-height: inherit;
  display: inline-block;
  /* Smaller than the digits, and raised to sit just below their centre (0.19em would centre it). */
  margin-right: 0.14em;
  transform: translateY(-0.15em);
}
