@font-face {
  font-family: "simple-line-icons";
  src: url("../fonts/Simple-Line-Icons.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

:root {
  --purple: #6a4dbd;
  --purple-soft: #e6e5e5;
  --ink: #4a4a4a;
  --paper: #fff;
  --mist: #f2f2f2;
  --content: 1170px;
  --font: "Nunito", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.35;
}

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

a { color: inherit; }

.wrap {
  width: min(var(--content), calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  background: var(--purple);
  color: #fff;
}

.topbar {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 128px;
  padding-top: 12px;
}

.logo {
  display: inline-block;
  line-height: 0;
  cursor: pointer;
}

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

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

.nav-toggle,
.sub-toggle { display: none; }

.nav,
.lang-switch {
  margin-left: auto;
}

.lang-switch {
  padding: 8px 32px;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  line-height: 22px;
  text-decoration: none;
}

.lang-switch:hover,
.lang-switch:focus {
  text-decoration: underline;
}

.header-admin { overflow: hidden; }

.topbar-admin { position: relative; }

.topbar-admin .logo { flex-shrink: 0; }

@media (min-width: 981px) {
  .nav-admin { position: static; margin-left: 0; }

  .nav-admin .nav-list > li:first-child,
  .nav-admin .nav-list > li:last-child {
    position: absolute;
    top: 51px;
  }

  .nav-admin .nav-list > li:first-child {
    left: calc(45 / 111 * (100% - 60px) + 60px - 32px);
  }

  .nav-admin .nav-list > li:last-child { right: -32px; }

  .nav-admin .nav-list > li > a { white-space: nowrap; }
}

.nav-list a.lang-switch { margin-left: 0; }

.nav-list a.lang-switch:hover,
.nav-list a.lang-switch:focus { text-decoration: none; }

.nav-list,
.sub-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list > li > a {
  position: relative;
  display: block;
  padding: 8px 32px;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  line-height: 22px;
  text-decoration: none;
}

.nav-list > li > a::before {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 100%;
  border-bottom: 1px solid currentColor;
  opacity: 0.5;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.15s linear;
}

.nav-list > li:hover > a,
.nav-list > li > a:focus,
.nav-list > li > a[aria-current="page"] {
  color: #e6e5e5;
}

.nav-list > li:hover > a::before,
.nav-list > li > a:focus::before,
.nav-list > li > a[aria-current="page"]::before,
.nav-list > li > a.is-section::before {
  transform: scaleX(1);
}

.nav-list > li > a.is-section { color: #e6e5e5; }

.has-sub { position: relative; }

.sub-menu {
  display: block;
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 5;
  width: max-content;
  min-width: 300px;
  margin: 0;
  padding: 25px 30px;
  list-style: none;
  background: #fff;
  border-radius: 3px;
  box-shadow: 0 0 5px 5px rgba(0, 0, 0, 0.15);
  transform: translateX(-50%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.15s linear, visibility 0.15s linear;
}

.sub-menu::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  width: 12px;
  height: 12px;
  background: #fff;
  transform: translateX(-50%) rotate(45deg);
}

.has-sub:hover .sub-menu,
.has-sub:focus-within .sub-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.sub-menu li { overflow: hidden; }

.sub-menu a {
  position: relative;
  display: block;
  padding: 8px 0;
  color: #141414;
  font-size: 16px;
  font-weight: 600;
  line-height: 22px;
  text-decoration: none;
}

.sub-menu a::before {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 100%;
  border-bottom: 1px solid currentColor;
  opacity: 0.5;
  transform: translateX(-100%);
  transition: transform 0.15s linear;
}

.sub-menu li:hover a::before,
.sub-menu a:focus::before,
.sub-menu a[aria-current="page"]::before {
  transform: translateX(0);
}

.sub-menu a[aria-current="page"] { color: #000; }

.sub-menu a.menu-break { white-space: nowrap; }
.menu-space { display: none; }

.hero {
  display: grid;
  grid-template-columns: minmax(280px, 450px) minmax(0, 1fr);
  gap: 36px;
  align-items: end;
  padding-bottom: 0;
}

.hero-copy { padding-bottom: 80px; }

.hero-photo,
.hero-aside { align-self: end; }

.hero.is-page {
  grid-template-columns: 45fr 66fr;
  gap: 60px;
}

.hero.is-page .hero-aside {
  display: flex;
  align-items: stretch;
  width: 100%;
  height: 440px;
}

.wait {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  background: #fff;
}

.wait-bar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  flex: none;
  min-height: 160px;
}

.wait-part {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 18px;
  color: #111111;
  font-size: 24px;
  font-weight: 300;
  line-height: 1.25;
  text-align: center;
}

.wait-part.is-current { font-weight: 700; }

.wait-label { text-align: center; }

.wait-keep { white-space: nowrap; }

.wait-part.is-1 { background: #00CA4E; }

.wait-part.is-2 { background: #FFBD44; }

.wait-part.is-3 { background: #FF605C; }

.wait-part:not(.is-current).is-1 { background: rgba(0, 202, 78, 0.25); }

.wait-part:not(.is-current).is-2 { background: rgba(255, 189, 68, 0.25); }

.wait-part:not(.is-current).is-3 { background: rgba(255, 96, 92, 0.25); }

.wait-note {
  position: relative;
  display: flex;
  flex: 1;
  align-items: center;
  padding: 48px 36px 28px;
  background: #fff;
}

.hero .wait-arrow {
  position: absolute;
  top: -20px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 18px 20px;
  border-color: transparent transparent #fff;
  transform: translateX(-50%);
}

.hero .wait-date {
  margin: 0;
  padding: 8px 36px 32px;
  max-width: none;
  color: var(--purple);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
}

.hero .wait-text {
  margin: 0;
  max-width: none;
  color: var(--purple);
  font-size: 28px;
  font-weight: 600;
  line-height: 1.35;
}

.hero h1,
.page-hero h1 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 35px;
  font-weight: 600;
  line-height: 1.34;
}

.hero p,
.page-hero p {
  margin: 0;
  max-width: 34rem;
  color: #fff;
  font-size: 22px;
  line-height: 30px;
}

.hero-photo img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  object-position: center top;
  background: #fff;
}

.page-hero { padding: 12px 0 56px; }

.audiences {
  background: #fff;
  box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 1;
}

.audience-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 48px 0 36px;
}

.audience-list a {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--purple);
  font-size: 18px;
  font-weight: 600;
  line-height: 22px;
  text-decoration: none;
}

.icon {
  flex: none;
  width: 33px;
  height: 33px;
  margin-top: 5px;
  color: var(--purple);
  font-family: "simple-line-icons";
  font-size: 33px;
  font-style: normal;
  font-weight: normal;
  line-height: 33px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.icon::before { display: block; }

.icon-people::before { content: "\e001"; }
.icon-trophy::before { content: "\e006"; }
.icon-home::before { content: "\e069"; }
.icon-direction::before { content: "\e042"; }

.audience-list span {
  max-width: 150px;
}

.statement {
  background: var(--mist);
  text-align: left;
  padding: 120px 0;
}

.statement .wrap {
  width: min(930px, 100%);
  margin-inline: auto;
  padding-inline: 15px;
}

.statement h2,
.section-title {
  margin: 0 0 16px;
  color: var(--purple);
  font-size: 35px;
  font-weight: 600;
  line-height: 1.2;
}

.statement h2 {
  margin: 0 0 19px;
  color: var(--purple);
  font-family: var(--font);
  font-size: 35px;
  font-style: normal;
  font-weight: 600;
  line-height: 42px;
  text-align: left;
}

.statement p {
  margin: 0;
  color: var(--purple);
  font-family: var(--font);
  font-size: 22px;
  font-style: normal;
  font-weight: 400;
  line-height: 30px;
  text-align: left;
}

.cards {
  width: min(900px, calc(100% - 48px));
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 120px 20px;
  padding: 100px 0 0;
}

.card {
  display: block;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  background: #fff;
  border-radius: 5px;
  box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.15);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

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

@media (prefers-reduced-motion: reduce) {
  .card,
  .partner-page .partner-card,
  .portrait-sport .partner-card,
  .cert-card,
  .news-card,
  .news-more { transition: none; }
  .card:hover,
  .partner-page .partner-card:hover,
  .portrait-sport .partner-card:hover,
  .cert-card:hover,
  .news-card:hover { transform: none; }
}

.card img {
  width: 100%;
  height: 182px;
  object-fit: cover;
  border-radius: 5px;
}

.card p {
  margin: 0 0 6px;
  padding: 25px 34px 0;
  color: var(--ink);
  font-size: 16px;
  font-weight: 400;
  line-height: 21px;
}

.card h3 {
  margin: 0;
  padding: 0 34px 30px;
  color: var(--purple);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.29;
}

.tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  padding: 240px 0 80px;
}

.tiles img {
  width: 100%;
  aspect-ratio: 3 / 2;
  height: auto;
  object-fit: cover;
}

.site-footer {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  padding: 72px 0;
  border-top: 1px solid #dfdfdf;
  box-shadow: 0 -8px 16px rgba(0, 0, 0, 0.08);
}

.locations {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 54px 84px;
  width: min(860px, calc(100% - 48px));
}

.locations h2 {
  margin: 0 0 8px;
  color: #4d4d4d;
  font-size: 17px;
  font-weight: 700;
  line-height: 23px;
}

.locations p {
  margin: 0 0 12px;
  color: #4a4a4a;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.35;
}

.locations .loc-hq { color: #410099; font-weight: 700; }
.locations .loc-mzb { color: #94d600; font-weight: 700; }
.locations .loc-cts { color: #00bcb5; font-weight: 700; }

.locations a { color: var(--purple); }

.locations p a {
  color: inherit;
  font-weight: inherit;
  text-decoration: none;
  pointer-events: none;
}

.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 20;
  width: 33px;
  height: 33px;
  color: var(--purple);
  font-family: "simple-line-icons";
  font-size: 33px;
  line-height: 33px;
  text-align: center;
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
  -webkit-font-smoothing: antialiased;
}

.to-top::before { content: "\e078"; }

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}

.to-top.is-visible:hover { transform: translateY(-3px); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .to-top { transition: none; transform: none; }
  .to-top.is-visible:hover { transform: none; }
  .book-icon,
  .ink-link i { transition: none; }
  .book:hover .book-icon,
  .book:focus-visible .book-icon,
  .ink-link:hover i,
  .ink-link:focus-visible i { transform: none; }
}

.page-body {
  width: min(640px, calc(100% - 48px));
  margin: 72px auto 88px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.45;
}

.page-body h2 {
  margin: 56px 0 16px;
  color: var(--purple);
  font-size: 35px;
  font-weight: 600;
  line-height: 1.2;
}

.page-body h3 {
  margin: 36px 0 12px;
  color: var(--purple);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.3;
}

.page-body p { margin: 0 0 16px; }

.page-body a { color: var(--purple); }

.page-body .book { color: var(--purple); }

.page-body h2:first-child,
.page-wide h2:first-child { margin-top: 0; }

.quote-band { background: #f2f2f2; padding: 121px 0 65px; }

.status-key {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 0 0 28px;
  color: #9b9b9b;
  font-size: 15px;
}

.link-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 36px;
}

.link-cards a {
  color: inherit;
  text-decoration: none;
}

.link-cards img { width: 100%; height: 160px; object-fit: cover; }

.link-cards strong {
  display: block;
  margin-top: 8px;
  color: var(--purple);
  font-size: 18px;
}

.photo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 28px;
}

.page-body img { margin: 12px 0 20px; }

.page-body:has(+ .page-bleed) { margin-bottom: 48px; }

.page-bleed {
  display: block;
  width: 100%;
  height: auto;
}

.page-body ul { margin: 0 0 16px; padding-left: 1.2em; }

.hero.is-page .hero-photo img {
  width: 100%;
  height: 440px;
}

.hero.is-solo {
  display: block;
  width: min(660px, calc(100% - 48px));
  margin-inline: auto;
  padding: 110px 0;
  text-align: center;
}

.hero.is-solo .hero-copy { padding-bottom: 0; }

.hero.is-solo h1,
.hero.is-solo p {
  max-width: none;
  text-align: center;
}

.book {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
}

button.book {
  padding: 0;
  border: 0;
  background: transparent;
  font-family: var(--font);
  cursor: pointer;
}

.wait-edit button.wait-part {
  width: 100%;
  height: 100%;
  margin: 0;
  border: 0;
  color: #111111;
  font-family: var(--font);
  cursor: pointer;
}

.wait-part:not(.is-current),
.wait-edit button.wait-part:not(.is-current) { color: rgba(17, 17, 17, 0.7); }

.wait-edit button.wait-part:focus-visible {
  outline: 2px solid #222;
  outline-offset: -6px;
}

.hero button.wait-save {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 28px;
  padding: 14px 32px;
  border: 0;
  border-radius: 5px;
  background: #fff;
  color: var(--purple);
  font-family: var(--font);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.hero button.wait-save.is-idle {
  visibility: hidden;
  pointer-events: none;
}

.hero button.wait-save:hover,
.hero button.wait-save:focus-visible {
  box-shadow: 4px 8px 16px rgba(0, 0, 0, 0.18);
  transform: translateY(-4px);
}

.hero button.wait-save:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .hero button.wait-save { transition: none; }
  .hero button.wait-save:hover,
  .hero button.wait-save:focus-visible { transform: none; }
}

.book-label {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.book:hover .book-label,
.book:focus-visible .book-label { text-decoration: none; }

.book-icon {
  display: block;
  font-family: "simple-line-icons";
  font-size: 28px;
  line-height: 1;
  font-weight: 400;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.book:hover .book-icon,
.book:focus-visible .book-icon { transform: translateX(4px); }

.book-icon::before { content: "\e079"; }

.quote {
  width: min(800px, calc(100% - 48px));
  margin: 0 auto;
  padding: 20px 88px 0 75px;
  position: relative;
  color: #4a4a4a;
  font-size: 22px;
  line-height: 1.36;
  text-align: center;
}

.quote p { margin: 0; }

.quote::before {
  content: "„";
  position: absolute;
  left: 20px;
  top: -46px;
  color: #ccc;
  font-size: 100px;
  line-height: 1;
}

.quote span {
  display: block;
  position: relative;
  margin-top: 54px;
  color: #9b9b9b;
  font-size: 16px;
  font-style: italic;
  line-height: 22px;
  text-align: center;
}

.quote span::before {
  content: "";
  position: absolute;
  top: -29px;
  left: 50%;
  width: 15px;
  height: 2px;
  background: #9b9b9b;
  transform: translateX(-50%);
}

.offer-group {
  margin: 28px 0 0;
  color: #9b9b9b;
  font-size: 18px;
  font-weight: 600;
  line-height: 42px;
}

.offer-list .offer-group:not(:first-child) { margin-top: 52px; }

.offer-list,
.offer { overflow-anchor: none; }

.offer { border-top: 1px solid #ddd; }

.offer-list .offer:last-child { border-bottom: 1px solid #ddd; }

.offer summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 26px 0;
  color: #4a4a4a;
  font-size: 20px;
  font-weight: 600;
  line-height: 26px;
  cursor: pointer;
  list-style: none;
}

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

.offer summary::after {
  content: "+";
  flex: none;
  font-size: 28px;
  font-weight: 400;
  line-height: 1;
}

.offer[open] summary::after { content: "–"; }

.offer-body { padding: 0 0 22px; }

.offer-body p:last-child { margin-bottom: 0; }

.page-wide {
  width: min(1170px, calc(100% - 48px));
  margin: 48px auto 88px;
}

.page-wide > h2 {
  margin: 48px 0 24px;
  color: var(--purple);
  font-size: 35px;
  font-weight: 600;
  line-height: 1.2;
}

.page-wide > h2:first-child { margin-top: 0; }

.portrait,
.partner-page,
.contact-intro {
  width: min(900px, calc(100% - 48px));
  margin: 70px auto 88px;
}

.portrait > h2,
.partner-group h2 {
  margin: 0 0 35px;
  color: var(--purple);
  font-size: 35px;
  font-weight: 600;
  line-height: 42px;
}

.partner-group h2 { margin-bottom: 65px; }

.partner-group + .partner-group { padding-top: 163px; }

.person-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin: 0;
  padding: 0;
}

.person {
  border-radius: 5px;
  background: #fff;
  box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.15);
}

.person img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.person h3 {
  margin: 20px 30px 6px;
  color: var(--purple);
  font-size: 24px;
  font-weight: 600;
  line-height: 31px;
}

.person p {
  margin: 0 30px 25px;
  color: var(--ink);
  font-size: 16px;
  font-style: italic;
  line-height: 1.33;
}

.partner-card {
  display: grid;
  grid-template-columns: minmax(20%, 160px) minmax(0, 1fr);
  align-items: center;
  min-height: 100px;
  margin: 0 0 20px;
  padding: 14px 30px;
  border: 1px solid #d9d9d9;
  border-radius: 5px;
  background: #fff;
  box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.15);
  color: var(--purple);
  text-decoration: none;
}

a.partner-card:hover,
a.partner-card:focus {
  color: var(--purple);
  text-decoration: none;
}

.partner-page .partner-card {
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.partner-page a.partner-card:hover {
  box-shadow: 4px 8px 16px rgba(0, 0, 0, 0.18);
  transform: translateY(-4px);
}

.portrait-sport .partner-card,
.cert-card {
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.portrait-sport .partner-card:hover,
.cert-card:hover {
  box-shadow: 4px 8px 16px rgba(0, 0, 0, 0.18);
  transform: translateY(-4px);
}

.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 55px;
  padding-right: 30px;
}

.partner-info { padding-left: 15px; }

.partner-logo img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 55px;
}

.partner-card h3 {
  margin: 0;
  color: var(--purple);
  font-size: 24px;
  font-weight: 600;
  line-height: 31px;
}

.partner-card p {
  margin: -6px 0 0;
  color: var(--ink);
  font-size: 16px;
  line-height: 22px;
}

.portrait-intro {
  padding: 160px 0 105px;
  color: var(--ink);
  font-size: 18px;
  line-height: 24px;
}

.portrait-intro h2,
.portrait-who h2 {
  margin: 0 0 36px;
  color: var(--purple);
  font-size: 30px;
  font-weight: 600;
  line-height: 36px;
}

.portrait-intro p { margin: 0; }

.portrait-who,
.portrait-certs,
.portrait-sport {
  width: min(900px, calc(100% - 48px));
  margin: 0 auto;
}

.portrait-who h2 { margin-bottom: 65px; }

.portrait-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px 30px;
}

.portrait-col {
  display: flex;
  flex-direction: column;
  gap: 35px;
}

.portrait-point {
  display: flex;
  align-items: flex-start;
  gap: 50px;
  margin: 0;
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
  line-height: 22px;
}

.portrait-point i {
  flex: none;
  width: 40px;
  height: 40px;
  color: var(--purple);
  font-family: "simple-line-icons";
  font-size: 40px;
  font-style: normal;
  font-weight: 400;
  line-height: 40px;
  text-align: center;
}

.portrait-point i::before { display: block; }

.point-user::before { content: "\e005"; }

.point-cap::before { content: "\e019"; }

.point-badge::before { content: "\e028"; }

.point-share::before { content: "\e05b"; }

.portrait-team { margin: 43px 0 105px; }

.portrait-team .ink-link { margin-left: 48px; }

.portrait-certs h2,
.portrait-sport h2 {
  margin: 0;
  color: var(--purple);
  font-size: 35px;
  font-weight: 600;
  line-height: 42px;
}

.portrait-certs h2 { margin-bottom: 65px; }

.cert-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin: 0 0 160px;
  padding: 0;
  list-style: none;
}

.cert-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 204px;
  margin: 0;
  padding: 40px 20px;
  border: 1px solid #d9d9d9;
  border-radius: 5px;
  background: #fff;
  box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.15);
  text-align: center;
}

.cert-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 60px;
  margin-bottom: 40px;
}

.cert-logo img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 60px;
}

.cert-card figcaption {
  margin: 0;
  color: var(--ink);
  font-size: 16px;
  font-weight: 400;
  line-height: 22px;
}

.portrait-sport h2 { margin-bottom: 65px; }

.portrait-sport { padding-bottom: 30px; }

.contact-intro { margin-bottom: 0; }

.contact-intro h2 {
  margin: 0 0 65px;
  color: var(--purple);
  font-size: 24px;
  font-weight: 600;
  line-height: 31px;
}

.place-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin: 0;
  padding: 0;
}

.place-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 350 / 260;
  margin-bottom: 34px;
  object-fit: cover;
}

.place p {
  margin: 0;
  color: var(--ink);
  font-size: 18px;
  line-height: 24px;
}

.place .place-name {
  margin: 0;
  color: var(--ink);
  font-size: 22px;
  font-weight: 400;
  line-height: 30px;
}

.place .place-name.loc-hq { color: #410099; }
.place .place-name.loc-mzb { color: #94d600; }
.place .place-name.loc-cts { color: #00bcb5; }

.place-name strong { font-weight: 700; }

.place-map {
  display: block;
  width: 30px;
  height: 30px;
}

.place-map img {
  width: 30px;
  height: 30px;
  max-width: none;
}

.reach {
  margin: 100px 0 50px;
  padding: 100px 0 150px;
  background: #f5f5f5;
}

.reach-grid {
  width: min(900px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.reach-item + .reach-item { margin-top: 35px; }

.reach-icon {
  display: block;
  width: 50px;
  height: 50px;
  margin: 0 0 29px;
  color: var(--purple);
  font-family: "simple-line-icons";
  font-size: 50px;
  font-style: normal;
  line-height: 50px;
  text-align: center;
}

.reach-phone::before { content: "\e010"; }
.reach-mail::before { content: "\e079"; }
.reach-clock::before { content: "\e081"; }

.reach-mail,
.reach-clock { margin-bottom: 12px; }

.reach p {
  margin: 0;
  color: var(--ink);
  font-size: 18px;
  line-height: 24px;
}

.reach .reach-lead {
  margin: 0;
  color: var(--purple);
  font-size: 22px;
  font-weight: 400;
  line-height: 30px;
}

.reach .reach-lead a { color: inherit; text-decoration: none; }

.news-filter {
  margin-bottom: 115px;
  padding: 48px 0;
  background: #fff;
  box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.1);
}

.news-filter ul {
  width: min(1170px, calc(100% - 48px));
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  gap: 28px;
  list-style: none;
}

.news-filter a {
  color: var(--purple);
  font-size: 18px;
  font-weight: 600;
  line-height: 24px;
  text-decoration: none;
}

.news-filter a.is-selected { border-bottom: 2px solid var(--purple); }

.news-list {
  width: min(1170px, calc(100% - 48px));
  margin: 0 auto 48px;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  list-style: none;
}

.news-list > li {
  display: flex;
  padding: 25px 20px;
}

.news-card {
  position: relative;
  flex: 1;
  width: 100%;
  padding: 30px 40px;
  border: 1px solid #d9d9d9;
  border-radius: 5px;
  background: #fff;
  box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.15);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.news-card:hover {
  box-shadow: 4px 8px 16px rgba(0, 0, 0, 0.18);
  transform: translateY(-4px);
}

.news-card h2 {
  margin: 0 0 36px;
  color: var(--purple);
  font-size: 24px;
  font-weight: 600;
  line-height: 31px;
}

.news-card h2 a { color: inherit; text-decoration: none; }

.news-card p {
  margin: 0;
  color: var(--ink);
  font-size: 18px;
  line-height: 24px;
}

.news-more {
  position: absolute;
  right: 35px;
  bottom: 18px;
  width: 24px;
  height: 24px;
  color: var(--purple);
  text-decoration: none;
  transition: right 0.3s;
}

.news-more::before {
  content: "\e079";
  font-family: "simple-line-icons";
  font-size: 24px;
  line-height: 24px;
}

.news-card:hover .news-more { right: 30px; }

.legal {
  width: min(1170px, calc(100% - 48px));
  margin: 0 auto;
  padding: 160px 0 80px;
  color: var(--ink);
  font-size: 18px;
  line-height: 24px;
}

.legal h2 {
  margin: 24px 0 0;
  color: var(--purple);
  font-size: 20px;
  font-weight: 700;
  line-height: 47px;
}

.legal h2:first-child { margin-top: 0; }

.legal p { margin: 0; }

.legal a { color: var(--purple); }

.page-wide .cards {
  width: min(900px, 100%);
  margin-inline: auto;
  padding-top: 0;
}

.figure-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 12px 0 24px;
}

.figure-row img { width: 100%; height: auto; }

.band-inner {
  width: min(637px, calc(100% - 48px));
  margin-inline: auto;
}

.band-inner.is-wide { width: min(930px, calc(100% - 48px)); }

.band-intro { padding: 64px 0 8px; }

.band-intro .band-inner {
  color: #4a4a4a;
  font-size: 22px;
  font-weight: 400;
  line-height: 30px;
}

.band h2 {
  margin: 0 0 19px;
  color: var(--purple);
  font-size: 35px;
  font-weight: 600;
  line-height: 1.2;
}

.band h3 {
  margin: 0 0 8px;
  color: var(--purple);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.29;
}

.band-intro p { margin: 0 0 16px; }

.band-wide { padding-top: 120px; }

.band-mist {
  background: #f2f2f2;
  padding-top: 155px;
  padding-bottom: 50px;
}

.band-accordion { padding: 102px 0 52px; }

.band-purple {
  margin-top: 102px;
  padding: 152px 0 102px;
  background: #6a4dbd;
  color: #fff;
}

.band-purple h2 {
  margin-bottom: 36px;
  color: #fff;
  font-size: 30px;
}

.band-purple p,
.band-purple .book { color: #fff; }

.band-purple .book { margin-top: 12px; }

.split {
  display: flex;
  align-items: center;
  margin: 0 0 100px;
}

.split img {
  width: 50%;
  height: auto;
  padding: 0 50px;
}

.split div { width: 50%; padding: 0 50px; }

.split h4 {
  margin: 0 0 12px;
  color: var(--purple);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
}

.split p {
  margin: 0;
  color: #4a4a4a;
  font-size: 18px;
  line-height: 1.33;
}

.band-olympic { padding: 72px 0 40px; }

.band-olympic .band-inner > h2 { margin-bottom: 16px; }

.band-olympic .lead {
  margin: 0 0 48px;
  color: #4a4a4a;
  font-size: 22px;
  font-weight: 400;
  line-height: 30px;
}

.plain-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.plain-list li {
  border-bottom: 1px solid #cdcdcd;
  font-size: 20px;
  line-height: 27px;
  padding-bottom: 28px;
}

.plain-list li + li { padding-top: 28px; }

.plain-list li:last-child { border-bottom: 0; }

.band-logo {
  display: block;
  width: 100%;
  height: auto;
  margin: 32px 0 8px;
}

.page-cover {
  display: block;
  width: 100%;
  height: 400px;
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
}

.refer-lead { padding-top: 160px; }

.refer-lead .band-inner {
  color: var(--ink);
  font-size: 22px;
  font-weight: 400;
  line-height: 30px;
}

.refer-lead h2 {
  margin: 0 0 19px;
  color: var(--purple);
  font-size: 35px;
  font-weight: 600;
  line-height: 42px;
}

.refer-lead p { margin: 0; }

.refer-send { padding-top: 30px; }

.refer-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.refer-cols h3 {
  margin: 0 0 34px;
  color: var(--purple);
  font-size: 20px;
  font-weight: 600;
  line-height: 24px;
}

.refer-address {
  margin: 0;
  color: var(--ink);
  font-size: 18px;
  line-height: 24px;
}

.ink-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
  line-height: 22px;
  text-decoration: none;
}

.ink-link span {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.ink-link:hover span,
.ink-link:focus-visible span { text-decoration: none; }

.ink-link i {
  font-family: "simple-line-icons";
  font-size: 30px;
  font-style: normal;
  font-weight: 400;
  line-height: 1;
  transition: transform 0.3s ease;
}

.ink-link i::before { content: "\e079"; }

.ink-link:hover i,
.ink-link:focus-visible i { transform: translateX(4px); }

.refer-offer {
  --refer-gap: 160px;
  margin-top: 100px;
  padding: 140px 0 var(--refer-gap);
  background: #f5f5f5;
  color: var(--ink);
  font-size: 18px;
  line-height: 24px;
}

.refer-offer p:last-child { margin-bottom: 0; }

.refer-offer h3 {
  margin: 0 0 24px;
  color: var(--purple);
  font-size: 24px;
  font-weight: 600;
  line-height: 31px;
}

.refer-offer p { margin: 0 0 24px; }

.refer-offer .is-tight { margin-bottom: 0; }

.refer-offer ul {
  margin: 0 0 24px;
  padding-left: 18px;
}

.refer-offer li { font-weight: 700; }

.refer-offer strong { font-weight: 700; }

.cards.refer-cards {
  --refer-gap: 160px;
  gap: 30px;
  margin: 0 auto var(--refer-gap);
  padding: 0;
}

@media (min-width: 641px) {
  .refer-offer { padding-bottom: calc(var(--refer-gap) + 182px); }

  .cards.refer-cards { margin-top: -182px; }
}

.job-intro { padding: 160px 0 65px; }

.job-intro .band-inner {
  color: var(--ink);
  font-size: 22px;
  font-weight: 400;
  line-height: 30px;
}

.job-intro h2 {
  margin: 0 0 35px;
  color: var(--purple);
  font-size: 35px;
  font-weight: 600;
  line-height: 42px;
}

.job-intro p { margin: 0; }

.perk-list {
  width: min(900px, calc(100% - 48px));
  margin: 0 auto 100px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  list-style: none;
}

.perk { color: var(--purple); }

.perk i {
  display: block;
  width: 50px;
  height: 50px;
  margin-bottom: 29px;
  color: var(--purple);
  font-family: "simple-line-icons";
  font-size: 50px;
  font-style: normal;
  font-weight: 400;
  line-height: 50px;
  text-align: center;
}

.perk i::before { display: block; }

.perk-badge::before { content: "\e028"; }

.perk-direction::before { content: "\e042"; }

.perk-heart::before { content: "\e08a"; }

.perk-people::before { content: "\e001"; }

.perk span {
  display: block;
  max-width: 172px;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.33;
}

.band-job {
  padding: 102px 0 52px;
  background: #6a4dbd;
  color: #fff;
}

.band-job h2 {
  margin: 0 0 28px;
  color: #fff;
  font-size: 30px;
  font-weight: 600;
  line-height: 36px;
}

.band-job p {
  margin: 0;
  color: #fff;
  font-size: 18px;
  line-height: 24px;
}

.band-job .job-lead {
  margin: 24px 0;
  font-size: 22px;
  font-weight: 700;
  line-height: 30px;
}

.band-job .job-label { margin: 24px 0; }

.band-job ul {
  margin: 0 0 24px;
  padding-left: 18px;
  list-style: square;
}

.band-job li { line-height: 24px; }

.band-job .book { margin-top: 24px; }

.cards.job-cards {
  gap: 30px;
  margin: 100px auto;
  padding: 0;
}

.cards.job-cards img { height: auto; }

.job-photos {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 65px 30px;
  padding: 0 15px;
}

.job-photos img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 980px) {
  .perk-list { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .job-intro { padding: 64px 0 32px; }

  .perk-list {
    grid-template-columns: 1fr;
    margin-bottom: 48px;
  }

  .perk {
    display: flex;
    align-items: center;
    gap: 30px;
  }

  .perk i { margin-bottom: 0; flex: none; }

  .perk span { max-width: 300px; }

  .band-job { padding: 64px 0; }

  .cards.job-cards { margin: 48px auto; }

  .job-photos {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0;
  }
}

@media (max-width: 980px) {
  body.nav-open { overflow: hidden; }

  .nav-toggle {
    display: block;
    position: fixed;
    right: 15px;
    bottom: 15px;
    z-index: 1400;
    width: 55px;
    height: 55px;
    padding: 0;
    border: 0;
    border-radius: 100%;
    background: var(--purple);
    color: #fff;
    box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    cursor: pointer;
  }

  .nav-toggle:hover,
  .nav-toggle:focus { background: #543a9d; }

  .nav-toggle i,
  .nav-toggle i::before,
  .nav-toggle i::after {
    display: block;
    position: absolute;
    width: 22px;
    height: 2px;
    background: #fff;
    transition: transform 0.2s ease-in-out;
  }

  .nav-toggle i {
    top: 50%;
    left: 45%;
    transform: translate(-50%, -50%);
  }

  .nav-toggle i::before,
  .nav-toggle i::after {
    content: "";
    top: 0;
    left: 0;
  }

  .nav-toggle i::before { transform: translate(15%, -350%); }
  .nav-toggle i::after { transform: translate(15%, 350%); }

  .nav-toggle.is-open {
    top: 15px;
    bottom: auto;
    z-index: 1450;
  }

  .nav-toggle.is-open i {
    left: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
  }

  .nav-toggle.is-open i::before,
  .nav-toggle.is-open i::after { transform: rotate(90deg); }

  .nav {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: fixed;
    inset: 0;
    z-index: 1300;
    margin: 0;
    padding: 86px 32px 24px;
    overflow: auto;
    background: #fff;
    color: #333;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
    transform: scale(0.7);
    transform-origin: right top;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.2s ease, opacity 0.2s ease, visibility 0.2s ease;
  }

  .nav.is-open {
    transform: scale(1);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-list {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: auto;
  }

  .nav-list > li {
    position: relative;
    margin: 0;
    border-bottom: 1px solid #d3d3d3;
  }

  .nav-list > li > a {
    padding: 16px 0 16px 80px;
    color: #333;
    font-size: 21px;
    font-weight: 400;
    line-height: 1.33;
    text-align: right;
  }

  .nav-list > li > a::before,
  .sub-menu a::before { display: none; }

  .nav-list > li:hover > a,
  .nav-list > li > a:focus {
    color: #1a1919;
    background: transparent;
  }

  .nav-list > li > a[aria-current="page"],
  .nav-list > li > a[aria-current="page"]:hover,
  .nav-list > li > a[aria-current="page"]:focus,
  .nav-list > li > a.is-section,
  .nav-list > li > a.is-section:hover,
  .nav-list > li > a.is-section:focus,
  .sub-menu a[aria-current="page"],
  .sub-menu a[aria-current="page"]:hover,
  .sub-menu a[aria-current="page"]:focus {
    color: var(--purple);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-decoration-skip-ink: none;
    text-underline-offset: 4px;
  }

  .sub-toggle {
    display: block;
    position: absolute;
    top: 18px;
    left: 0;
    width: 44px;
    height: 28px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #333;
    cursor: pointer;
  }

  .sub-toggle::before {
    content: "";
    display: block;
    width: 8px;
    height: 8px;
    margin: 8px auto 0;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(-45deg);
  }

  .has-sub.is-open .sub-toggle::before {
    margin-top: 6px;
    transform: rotate(45deg);
  }

  .sub-menu {
    display: none;
    position: static;
    width: auto;
    min-width: 0;
    margin: 0 0 20px;
    padding: 0;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    transform: none;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  .sub-menu::before { display: none; }

  .sub-menu a {
    padding: 4px 0;
    color: #333;
    font-size: 18px;
    font-weight: 400;
    line-height: 24px;
    text-align: right;
  }

  .sub-menu a.menu-break { white-space: normal; }
  .sub-menu a.menu-break br { display: none; }
  .menu-space { display: inline; }

  .has-sub:hover .sub-menu { display: none; }
  .nav.is-open .has-sub.is-open:hover .sub-menu,
  .nav.is-open .has-sub.is-open .sub-menu {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

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

  .locations { gap: 42px 60px; }
  .person-list { grid-template-columns: 1fr 1fr; }

  .hero,
  .hero.is-page { align-items: end; grid-template-columns: 1fr 1fr; gap: 36px; }
  .hero-copy { padding-bottom: 24px; }
  .hero-photo img,
  .hero.is-page .hero-photo img { width: 100%; height: 280px; }
  .hero.is-page .hero-aside { width: 100%; height: 280px; }
  .hero.is-solo { width: min(660px, calc(100% - 48px)); padding: 64px 0; }
  .wait-bar { min-height: 100px; }
  .wait-part { font-size: 16px; padding: 14px 10px; }
  .wait-note { padding: 28px 20px 12px; }
  .hero .wait-text { font-size: 20px; }
  .hero .wait-date { padding: 4px 20px 16px; font-size: 15px; }
  .hero .wait-arrow { top: -14px; border-width: 0 12px 14px; }
  .logo img { height: 72px; }
}

@media (max-width: 640px) {
  .hero,
  .hero.is-page,
  .cards { grid-template-columns: 1fr; }

  .audience-list {
    grid-template-columns: 1fr 1fr;
    gap: 20px 16px;
  }

  .audience-list a,
  .audience-list li { min-width: 0; }

  .audience-list span { max-width: none; }

  .hero.is-solo { padding: 40px 0; }

  .cards { gap: 20px; }

  .locations {
    flex-direction: column;
    align-items: flex-start;
    width: max-content;
    max-width: calc(100% - 48px);
  }

  .person-list,
  .place-list,
  .news-list,
  .reach-grid,
  .figure-row,
  .link-cards,
  .photo-grid { grid-template-columns: 1fr; }

  .person { max-width: 400px; justify-self: center; width: 100%; }

  .partner-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .partner-logo { margin-bottom: 30px; padding-right: 0; }
  .partner-info { padding-left: 0; }
  .partner-logo img { max-height: 90px; }
  .partner-group + .partner-group { padding-top: 48px; }

  .portrait,
  .partner-page,
  .contact-intro { margin-top: 48px; }

  .contact-intro h2 { margin-bottom: 32px; }

  .reach { margin-top: 48px; padding: 64px 0; }

  .reach-grid,
  .reach-grid > div {
    display: flex;
    flex-direction: column;
    gap: 35px;
  }

  .reach-item + .reach-item { margin-top: 0; }

  .reach-icon { margin: 0 0 29px; }
  .reach-mail,
  .reach-clock { margin-bottom: 12px; }

  .news-filter { margin-bottom: 48px; padding: 32px 0; }

  .legal { padding-top: 64px; }

  .quote-band { padding: 32px 0 40px; }
  .quote { padding: 0; }
  .quote::before {
    position: static;
    display: block;
    width: max-content;
    margin: 0 auto 16px;
    transform: none;
    font-size: 64px;
    line-height: 0.62;
  }

  .tiles {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-top: 120px;
  }

  .hero h1 { font-size: 30px; }
  .statement { padding: 40px 0 50px; }

  .split {
    flex-direction: column;
    margin-bottom: 48px;
  }

  .split img,
  .split div {
    width: min(300px, 100%);
    padding: 0;
  }

  .split img { margin: 0 auto 16px; }

  .split div { text-align: center; }

  .band-wide { padding-top: 64px; }

  .band-mist { padding-top: 80px; padding-bottom: 24px; }

  .band-purple { margin-top: 48px; padding: 72px 0 64px; }

  .page-cover,
  .page-bleed {
    height: 220px;
    object-fit: cover;
    object-position: center top;
  }

  .refer-lead { padding-top: 64px; }

  .refer-cols { grid-template-columns: 1fr; }

  .refer-offer {
    margin-top: 48px;
    padding: 64px 0 48px;
  }

  .cards.refer-cards { margin-top: 0; margin-bottom: 48px; }

  .portrait-intro { padding: 64px 0 48px; }

  .portrait-who h2,
  .portrait-certs h2,
  .portrait-sport h2 { margin-bottom: 32px; }

  .portrait-cols,
  .cert-list { grid-template-columns: 1fr; }

  .portrait-team { margin: 28px 0 48px; }

  .portrait-team .ink-link { margin-left: 48px; }

  .cert-list { margin-bottom: 48px; }

  .portrait-sport { padding-bottom: 24px; }
}

.wait-admin {
  width: min(660px, calc(100% - 48px));
  margin: 72px auto 88px;
}

.wait-admin h1 {
  margin: 0 0 16px;
  color: var(--purple);
  font-size: 35px;
  font-weight: 600;
  line-height: 1.2;
}

.wait-admin p {
  margin: 0 0 28px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.45;
}

.wait-admin .wait-error { color: #8a2a2a; }

.wait-pass,
.wait-save {
  font-family: var(--font);
  font-size: 18px;
}

.wait-pass {
  display: block;
  width: min(360px, 100%);
  margin: 0 0 20px;
  padding: 12px 14px;
  border: 1px solid #ccc;
  border-radius: 5px;
  color: var(--ink);
}

.wait-save {
  margin-top: 28px;
  padding: 12px 28px;
  border: 0;
  border-radius: 5px;
  background: var(--purple);
  color: #fff;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
}

.wait-choices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
}

.wait-choice {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  padding: 16px 12px;
  border: 3px solid transparent;
  color: #4a4a4a;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  cursor: pointer;
}

.wait-choice input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.wait-choice.is-1 { background: #00CA4E; }
.wait-choice.is-2 { background: #FFBD44; }
.wait-choice.is-3 { background: #FF605C; }

.wait-choice:has(input:checked) { border-color: #222; }

.wait-choice:has(input:focus-visible) {
  outline: 2px solid var(--purple);
  outline-offset: 3px;
}

.hero.wait-preview {
  display: block;
  width: 100%;
  margin: 40px 0 0;
  padding: 0;
}

.hero.wait-preview .hero-aside,
.hero.wait-preview .wait {
  width: 100%;
  height: 440px;
}

@media (max-width: 980px) {
  .hero.wait-preview .hero-aside,
  .hero.wait-preview .wait { height: 280px; }
}

.content-band { background: var(--purple); }

.hero.content-hero {
  display: block;
  width: min(760px, calc(100% - 48px));
  margin-inline: auto;
  padding: 28px 0 56px;
}

.hero.content-hero h1,
.hero.content-hero p {
  max-width: 40rem;
  text-align: left;
}

.hero.content-hero .content-count,
.hero.content-hero .content-links,
.hero.content-hero .content-error {
  margin-top: 16px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
}

.hero.content-hero .content-links { margin-top: 4px; }

.content-board {
  width: min(760px, calc(100% - 48px));
  margin: 0 auto;
  padding: 42px 0 80px;
}

.content-set + .content-set { margin-top: 46px; }

.content-set h2 {
  margin: 0;
  color: var(--purple);
  font-size: 28px;
  font-weight: 600;
  line-height: 1.3;
}

.content-group { margin-top: 26px; }

.content-group h3 {
  margin: 0 0 10px;
  color: #4d4d4d;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
}

.content-legend {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin: 16px 18px 0;
}

.content-legend span {
  width: 76px;
  color: #7a7a7a;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

.content-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 0 10px;
  padding: 14px 18px;
  border-radius: 5px;
  background: #fff;
  box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.12);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.content-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
}

.content-col {
  display: flex;
  justify-content: center;
  width: 76px;
}

.content-row:hover {
  box-shadow: 4px 8px 16px rgba(0, 0, 0, 0.18);
  transform: translateY(-4px);
}

.content-copy { min-width: 0; cursor: pointer; }

.content-name {
  display: block;
  color: var(--ink);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
}

.content-note {
  display: block;
  margin-top: 2px;
  color: #7a7a7a;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
}

.content-switch {
  position: relative;
  flex: none;
  width: 48px;
  height: 28px;
}

.content-switch input {
  position: absolute;
  inset: 0;
  width: 48px;
  height: 28px;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.content-track {
  display: block;
  width: 48px;
  height: 28px;
  border-radius: 14px;
  background: #d7d7d7;
  transition: background 0.2s ease;
}

.content-track::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.22);
  transition: transform 0.2s ease;
}

.content-switch input:checked + .content-track { background: var(--purple); }

.content-switch input:checked + .content-track::after { transform: translateX(20px); }

.content-switch input:focus-visible + .content-track {
  outline: 2px solid var(--purple);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .content-row,
  .content-track,
  .content-track::after { transition: none; }
  .content-row:hover { transform: none; }
}

body.is-missing { background: var(--purple); color: #fff; }

body.is-missing .nav,
body.is-missing .nav-toggle { display: none; }

.missing {
  width: min(1440px, calc(100% - 48px));
  margin: 0 auto;
  padding: 48px 0 96px;
  text-align: center;
}

.missing-code {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 0 32px;
  line-height: 1;
  user-select: none;
}

.missing-code span {
  color: #fff;
  font-size: clamp(180px, 33vw, 420px);
  font-weight: 700;
  letter-spacing: -0.04em;
}

.missing-code span:last-child { margin-left: calc(-8px - 0.034em); }

.missing-code img {
  width: clamp(198px, 36vw, 420px);
  height: auto;
}

.missing h1 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.1;
}

.missing p { margin: 0; }

.missing-text {
  color: #fff;
  font-size: min(22px, calc((100vw - 64px) / 30.5));
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
}

.missing-home {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 28px;
  padding: 14px 32px;
  border-radius: 5px;
  background: #fff;
  color: var(--purple);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.missing-home:hover,
.missing-home:focus-visible {
  box-shadow: 4px 8px 16px rgba(0, 0, 0, 0.18);
  transform: translateY(-4px);
}

.missing-home:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .missing-home { transition: none; }
  .missing-home:hover,
  .missing-home:focus-visible { transform: none; }
}
