@font-face {
  font-family: "Literata";
  src: url("/assets/fonts/literata-latin.woff2") format("woff2");
  font-weight: 200 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Literata";
  src: url("/assets/fonts/literata-cyrillic.woff2") format("woff2");
  font-weight: 200 900;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Sofia Sans";
  src: url("/assets/fonts/sofia-sans-latin.woff2") format("woff2");
  font-weight: 1 1000;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Sofia Sans";
  src: url("/assets/fonts/sofia-sans-cyrillic.woff2") format("woff2");
  font-weight: 1 1000;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

:root {
  --mist: #edf2f0;
  --paper: #f9fbfa;
  --ink: #16293a;
  --slate: #4a5b68;
  --navy: #3c5975;
  --teal: #469aa5;
  --teal-ink: #1d6b75;
  --teal-light: #7cc4c2;
  --teal-wash: #dcebe8;
  --deep: #112434;
  --deep-text: #b8c7cf;
  --on-deep: #e4edea;
  --rule: #cbd8d4;
  --rule-deep: #2a4152;

  --font-display: "Literata", "Iowan Old Style", Georgia, serif;
  --font-text: "Sofia Sans", "Segoe UI", system-ui, sans-serif;

  --shell: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --edge: max(var(--gutter), calc((100vw - var(--shell)) / 2));
  --header-height: 76px;
  --radius-photo: 24px;
  --radius-panel: 18px;

  color-scheme: light;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  margin: 0;
  background: var(--mist);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

img {
  height: auto;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 420;
  color: inherit;
  text-wrap: balance;
}

p,
ul,
ol,
dl,
dd,
figure,
blockquote {
  margin: 0;
}

p {
  text-wrap: pretty;
}

a {
  color: var(--teal-ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 3px solid var(--teal-ink);
  outline-offset: 3px;
  border-radius: 6px;
}

address {
  font-style: normal;
}

.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;
}

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 50;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

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

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
}

.shell {
  padding-inline: var(--edge);
}

.section {
  padding-block: clamp(72px, 9vw, 128px);
}

.section-title {
  font-size: clamp(2rem, 1.35rem + 2.2vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -0.018em;
}

.section-lead {
  margin-top: 20px;
  max-width: 34em;
  color: var(--slate);
}

.small {
  font-size: 0.9375rem;
  color: var(--slate);
}

/* Buttons and links */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: 52px;
  padding: 0.75em 1.45em;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font: 620 1.0625rem/1.2 var(--font-text);
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.button-primary {
  background: var(--ink);
  color: #fff;
}

.button-primary:hover {
  background: var(--teal-ink);
}

.button-outline {
  border-color: var(--ink);
  color: var(--ink);
}

.button-outline:hover {
  background: var(--ink);
  color: var(--paper);
}

.button-light {
  background: var(--teal-light);
  color: var(--deep);
}

.button-light:hover {
  background: var(--on-deep);
}

.text-link {
  font-weight: 600;
  color: var(--ink);
  text-decoration-color: var(--teal);
  text-decoration-thickness: 2px;
}

.text-link:hover {
  color: var(--teal-ink);
}

.text-link-light,
.text-link-light:hover {
  color: var(--on-deep);
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: color-mix(in srgb, var(--mist) 90%, transparent);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--rule);
}

.header-bar {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 28px;
  min-height: var(--header-height);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  width: 34px;
  height: 43px;
}

.brand-text {
  display: grid;
  line-height: 1.2;
}

.brand-text b {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 540;
}

.brand-text span {
  font-size: 0.875rem;
  color: var(--slate);
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 28px;
  padding: 0;
  list-style: none;
}

.site-nav a {
  display: block;
  padding: 8px 0;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 560;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--teal-ink);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.35em;
}

.header-call {
  min-height: 46px;
  padding: 0.55em 1.15em;
  font-size: 1rem;
}

.menu-toggle {
  display: none;
}

@media (max-width: 1099px) {
  .js .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    padding: 8px var(--edge) 28px;
    background: var(--paper);
    border-bottom: 1px solid var(--rule);
    box-shadow: 0 24px 40px -24px rgb(17 36 52 / 0.25);
  }

  .js .site-nav.is-open {
    display: block;
  }

  .js .site-nav ul {
    flex-direction: column;
    gap: 0;
  }

  .js .site-nav a {
    padding: 16px 0;
    border-bottom: 1px solid var(--rule);
    font-size: 1.1875rem;
  }

  .js .menu-toggle {
    display: inline-grid;
    place-items: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1.5px solid var(--rule);
    border-radius: 999px;
    background: var(--paper);
    color: var(--ink);
    cursor: pointer;
  }

  .js .menu-toggle .icon {
    width: 22px;
    height: 22px;
  }

  html:not(.js) .site-nav {
    order: 3;
    width: 100%;
    padding-bottom: 8px;
  }
}

@media (max-width: 599px) {
  :root {
    --header-height: 68px;
  }

  .header-bar {
    flex-wrap: nowrap;
    gap: 10px;
  }

  .brand-text span {
    display: none;
  }

  .brand-text b {
    font-size: 1.0625rem;
  }

  .header-call {
    width: 48px;
    min-height: 48px;
    padding: 0;
  }

  .header-call-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .header-call .icon {
    width: 21px;
    height: 21px;
  }
}

/* Hero */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.hero-copy {
  padding: clamp(32px, 6vw, 56px) var(--edge) 0;
}

.hero-title {
  max-width: 12.5em;
  font-size: clamp(2.6rem, 1.5rem + 3.4vw, 4.4rem);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.024em;
}

.hero-title span {
  display: block;
}

.hero-lead {
  max-width: 33em;
  margin-top: 24px;
  font-family: var(--font-display);
  font-size: clamp(1.1875rem, 1.05rem + 0.45vw, 1.375rem);
  font-weight: 370;
  line-height: 1.6;
  color: var(--slate);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 32px;
  margin-top: 30px;
}

.team-line {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
  color: var(--ink);
  text-decoration: none;
}

.avatars {
  display: flex;
  flex: none;
}

.avatars img {
  width: 46px;
  height: 46px;
  margin-left: -12px;
  border: 3px solid var(--mist);
  border-radius: 50%;
}

.avatars img:first-child {
  margin-left: 0;
}

.team-line-text {
  display: grid;
  line-height: 1.35;
}

.team-line-text b {
  font-size: 1rem;
  font-weight: 650;
}

.team-line-text span {
  font-size: 0.9375rem;
  color: var(--teal-ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.team-line:hover .team-line-text span {
  text-decoration-thickness: 2px;
}

.hero-signal {
  height: clamp(72px, 7.5vw, 104px);
  margin-top: clamp(20px, 3vw, 28px);
}

.signal {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.signal-path {
  fill: none;
  stroke: url(#signal-gradient);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.signal-node {
  fill: var(--teal-ink);
}

.signal-ring {
  fill: none;
  stroke: var(--teal);
  stroke-width: 1.5;
  opacity: 0.45;
}

.signal-ready .hero .signal-path {
  stroke-dasharray: 1 1.01;
  stroke-dashoffset: 1;
  animation: signal-draw 2.9s cubic-bezier(0.42, 0.04, 0.22, 1) 0.25s forwards;
}

.signal-ready .hero .signal-node,
.signal-ready .hero .signal-ring {
  transform-box: fill-box;
  transform-origin: center;
  transform: scale(0);
  animation: node-in 0.6s cubic-bezier(0.3, 1.5, 0.6, 1) 3.05s forwards;
}

.signal-ready .hero .signal-ring {
  animation: node-in 0.6s cubic-bezier(0.3, 1.5, 0.6, 1) 3.05s forwards, ring-pulse 1.8s ease-out 3.4s 1;
}

@keyframes signal-draw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes node-in {
  to {
    transform: scale(1);
  }
}

@keyframes ring-pulse {
  0% {
    transform: scale(1);
    opacity: 0.45;
  }
  100% {
    transform: scale(2.6);
    opacity: 0;
  }
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 36px;
  padding: 14px var(--edge) clamp(28px, 4vw, 40px);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 620;
}

.status-dot {
  width: 10px;
  height: 10px;
  flex: none;
  border-radius: 50%;
  background: var(--slate);
  box-shadow: 0 0 0 4px rgb(74 91 104 / 0.16);
}

.status.is-open .status-dot {
  background: var(--teal-ink);
  box-shadow: 0 0 0 4px rgb(70 154 165 / 0.3);
}

.languages {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 0;
  list-style: none;
}

.language {
  padding: 2px 12px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: var(--mist);
  font-size: 0.9375rem;
}

.hero-photo {
  position: relative;
  margin: 0 var(--gutter) clamp(40px, 8vw, 56px);
}

.photo-card {
  position: relative;
  margin: -64px 14px 0;
  padding: 16px 18px 18px;
  border-radius: var(--radius-panel);
  background: rgb(249 251 250 / 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 22px 44px -24px rgb(17 36 52 / 0.55);
}

.photo-card b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1875rem;
  font-weight: 520;
  line-height: 1.25;
}

.photo-card-role {
  display: block;
  font-size: 0.9375rem;
  color: var(--slate);
}

.photo-card-label {
  display: block;
  margin: 12px 0 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--teal-ink);
}

.hero-photo img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: 62% 22%;
  border-radius: var(--radius-photo);
}

@media (min-width: 600px) {
  .photo-card {
    position: absolute;
    left: 20px;
    bottom: 20px;
    max-width: calc(100% - 40px);
    margin: 0;
  }
}

@media (min-width: 600px) and (max-width: 899px) {
  .hero-photo img {
    aspect-ratio: 4 / 3;
    object-position: 60% 22%;
  }
}

@media (min-width: 900px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) calc(clamp(300px, 31vw, 480px) + var(--edge));
    grid-template-rows: 1fr auto auto;
    min-height: clamp(660px, calc(100svh - var(--header-height)), 920px);
  }

  .hero-copy {
    grid-column: 1;
    grid-row: 1;
    align-self: end;
    padding: 40px 56px 0 var(--edge);
  }

  .hero-signal {
    grid-column: 1;
    grid-row: 2;
  }

  .hero-meta {
    grid-column: 1;
    grid-row: 3;
    padding-right: 56px;
  }

  .hero-photo {
    position: relative;
    grid-column: 2;
    grid-row: 1 / -1;
    margin: 40px var(--edge) 40px 0;
  }

  .hero-photo img {
    position: absolute;
    inset: 0;
    height: 100%;
    aspect-ratio: auto;
    object-position: 62% 28%;
    border-radius: 28px;
  }

  .photo-card {
    left: 20px;
    bottom: 20px;
  }
}

/* Focus areas */

.focus {
  background: var(--paper);
}

.focus-layout {
  display: grid;
  gap: 40px;
}

.focus-note {
  display: flex;
  gap: 12px;
  max-width: 30em;
  margin-top: 32px;
  padding: 18px 20px;
  border-radius: var(--radius-panel);
  background: var(--teal-wash);
  font-size: 1rem;
}

.focus-note .icon {
  margin-top: 2px;
  color: var(--teal-ink);
}

.focus-list {
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--rule);
}

.focus-item {
  display: grid;
  gap: 8px;
  padding: 28px 0 30px;
  border-bottom: 1px solid var(--rule);
}

.focus-item h3 {
  font-size: clamp(1.375rem, 1.2rem + 0.55vw, 1.6875rem);
  font-weight: 440;
  line-height: 1.2;
}

.focus-item p {
  color: var(--slate);
}

@media (min-width: 640px) {
  .focus-item {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 32px;
    align-items: baseline;
  }
}

@media (min-width: 1000px) {
  .focus-layout {
    grid-template-columns: minmax(0, 4.6fr) minmax(0, 7.4fr);
    gap: 72px;
  }

  .focus-intro {
    position: sticky;
    top: calc(var(--header-height) + 48px);
    align-self: start;
  }
}

/* Diagnostics */

.diagnostics {
  background: var(--deep);
  color: var(--on-deep);
}

.diagnostics .section-lead {
  color: var(--deep-text);
}

.diagnostics-head {
  display: grid;
  gap: 28px;
  align-items: end;
  justify-items: start;
}

@media (min-width: 1000px) {
  .diagnostics-head {
    grid-template-columns: minmax(0, 1fr) auto;
  }
}

.exam-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
  gap: 0 48px;
  margin-top: clamp(40px, 6vw, 64px);
  padding: 0;
  list-style: none;
}

.exam {
  padding: 28px 0 36px;
  border-top: 1px solid var(--rule-deep);
}

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

.exam a:hover h3 {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.exam h3 {
  margin-top: 18px;
  font-size: 1.375rem;
  font-weight: 450;
  line-height: 1.25;
}

.exam p {
  margin-top: 6px;
  color: var(--deep-text);
}

.wave {
  width: 100%;
  max-width: 240px;
  height: auto;
  color: var(--teal-light);
}

.wave path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.wave circle {
  fill: currentColor;
}

.wave .wave-face {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
}

/* Team */

.team-layout {
  display: grid;
  gap: 40px;
  align-items: center;
}

.team-photo img {
  width: 100%;
  border-radius: var(--radius-photo);
}

.team-photo figcaption {
  margin-top: 12px;
  font-size: 0.9375rem;
  color: var(--slate);
}

.team-copy .section-lead {
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--ink);
}

.team-copy p + p {
  margin-top: 16px;
}

.facts {
  display: grid;
  gap: 0;
  margin: 32px 0 36px;
  border-top: 1px solid var(--rule);
}

.facts div {
  display: grid;
  grid-template-columns: minmax(0, 9.5em) minmax(0, 1fr);
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 1rem;
}

.facts dt {
  font-weight: 650;
}

.facts dd {
  color: var(--slate);
}

@media (min-width: 1000px) {
  .team-layout {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 72px;
  }
}

/* Practical info */

.info {
  background: var(--paper);
}

.info-grid {
  display: grid;
  gap: 24px;
  margin-top: clamp(36px, 5vw, 56px);
}

@media (min-width: 760px) {
  .info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .info-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.15fr);
  }
}

.info-block {
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--rule);
  border-radius: var(--radius-panel);
  background: var(--mist);
}

.info-block h3 {
  font-size: 1.5rem;
  font-weight: 460;
}

.info-block .status {
  margin-top: 14px;
  font-size: 1rem;
}

.hours-table {
  width: 100%;
  margin-top: 20px;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}

.hours-table th,
.hours-table td {
  padding: 10px 0;
  border-bottom: 1px solid var(--rule);
  text-align: left;
  vertical-align: top;
  font-size: 1rem;
}

.hours-table th {
  font-weight: 600;
}

.hours-table td {
  text-align: right;
  color: var(--slate);
}

.hours-table tr.is-today th,
.hours-table tr.is-today td {
  color: var(--teal-ink);
  font-weight: 700;
}

.hours-table tr.is-today th::after {
  content: " (heute)";
  font-weight: 500;
}

.hours-note {
  margin-top: 14px;
}

.phone-big {
  display: inline-block;
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 1.4rem + 1vw, 2.25rem);
  font-weight: 450;
  color: var(--ink);
  text-decoration: none;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

.phone-big:hover {
  color: var(--teal-ink);
}

.contact-list {
  display: grid;
  gap: 14px;
  margin: 20px 0 28px;
  padding: 0;
  list-style: none;
  font-size: 1rem;
}

.contact-list li {
  display: flex;
  gap: 12px;
}

.contact-list .icon {
  margin-top: 2px;
  color: var(--teal-ink);
}

.access-list {
  display: grid;
  gap: 18px;
  margin-top: 20px;
  padding: 0;
  list-style: none;
}

.access-list li {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 14px;
}

.access-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--teal-wash);
  color: var(--teal-ink);
}

.access-icon .icon {
  width: 20px;
  height: 20px;
}

.access-list b {
  display: block;
  font-size: 1rem;
}

.access-list p {
  font-size: 1rem;
  color: var(--slate);
}

.access-note {
  margin-top: 22px;
}

.emergency {
  display: flex;
  gap: 16px;
  margin-top: 24px;
  padding: 20px clamp(20px, 3vw, 32px);
  border-left: 4px solid #b4423a;
  border-radius: 0 var(--radius-panel) var(--radius-panel) 0;
  background: #f7e9e6;
  color: #4a1d18;
  font-size: 1rem;
}

.emergency .icon {
  margin-top: 2px;
  color: #b4423a;
}

.emergency a {
  color: #8e2c25;
  font-weight: 700;
}

/* FAQ */

.faq-layout {
  display: grid;
  gap: 32px;
}

@media (min-width: 1000px) {
  .faq-layout {
    grid-template-columns: minmax(0, 4.6fr) minmax(0, 7.4fr);
    gap: 72px;
  }
}

.faq-list {
  border-top: 1px solid var(--rule);
}

.faq-item {
  border-bottom: 1px solid var(--rule);
}

.faq-item summary {
  position: relative;
  display: block;
  padding: 24px 48px 24px 0;
  font-family: var(--font-display);
  font-size: clamp(1.1875rem, 1.1rem + 0.35vw, 1.375rem);
  font-weight: 450;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
}

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

.faq-item summary::before,
.faq-item summary::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--teal-ink);
  transition: transform 0.25s ease;
}

.faq-item summary::after {
  transform: rotate(90deg);
}

.faq-item[open] summary::after {
  transform: rotate(0deg);
}

.faq-item summary:hover {
  color: var(--teal-ink);
}

.faq-item p {
  max-width: 40em;
  padding-bottom: 26px;
  color: var(--slate);
}

.review-invite {
  display: grid;
  gap: 20px;
  align-items: center;
  margin-top: clamp(56px, 7vw, 88px);
  padding: clamp(24px, 4vw, 40px);
  border-radius: var(--radius-panel);
  background: var(--paper);
  border: 1px solid var(--rule);
}

@media (min-width: 760px) {
  .review-invite {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 32px;
  }
}

.review-stars {
  display: flex;
  gap: 4px;
  color: var(--teal);
}

.review-stars .icon {
  width: 22px;
  height: 22px;
}

.review-invite h2 {
  font-size: 1.5rem;
  font-weight: 460;
}

.review-invite p {
  margin-top: 6px;
  color: var(--slate);
  font-size: 1rem;
}

/* Page intro (sub pages) */

.page-intro {
  padding-block: clamp(48px, 7vw, 96px) clamp(40px, 5vw, 64px);
}

.page-title {
  max-width: 14em;
  font-size: clamp(2.5rem, 1.6rem + 3vw, 4.25rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.022em;
}

.page-lead {
  max-width: 36em;
  margin-top: 24px;
  font-family: var(--font-display);
  font-size: clamp(1.1875rem, 1.05rem + 0.45vw, 1.375rem);
  font-weight: 370;
  line-height: 1.6;
  color: var(--slate);
}

.jump-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 36px;
  padding: 0;
  list-style: none;
}

.jump-list a {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-size: 1rem;
  font-weight: 560;
  text-decoration: none;
}

.jump-list a:hover {
  border-color: var(--teal-ink);
  color: var(--teal-ink);
}

/* Examination detail page */

.exam-detail {
  display: grid;
  gap: 28px;
  padding-block: clamp(48px, 6vw, 80px);
  border-top: 1px solid var(--rule);
}

.exam-detail-head .wave {
  max-width: 300px;
  margin-bottom: 24px;
  color: var(--teal);
}

.exam-detail h2 {
  font-size: clamp(1.75rem, 1.3rem + 1.5vw, 2.5rem);
  line-height: 1.12;
  letter-spacing: -0.015em;
}

.exam-detail-head p {
  max-width: 30em;
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: 1.1875rem;
  line-height: 1.6;
  color: var(--slate);
}

.exam-facts {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--rule);
}

.exam-facts div {
  display: grid;
  gap: 4px;
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
}

.exam-facts dt {
  font-weight: 680;
}

.exam-facts dd {
  color: var(--slate);
}

@media (min-width: 700px) {
  .exam-facts div {
    grid-template-columns: minmax(0, 10em) minmax(0, 1fr);
    gap: 24px;
  }
}

@media (min-width: 1000px) {
  .exam-detail {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 72px;
  }
}

.checklist-band {
  display: grid;
  gap: 32px;
  margin-top: clamp(24px, 4vw, 40px);
  padding: clamp(28px, 4vw, 48px);
  border-radius: var(--radius-panel);
  background: var(--deep);
  color: var(--on-deep);
}

.checklist-band h2 {
  font-size: clamp(1.625rem, 1.3rem + 1vw, 2.125rem);
  line-height: 1.15;
}

.checklist-band p {
  margin-top: 12px;
  color: var(--deep-text);
}

.checklist {
  display: grid;
  gap: 12px;
  padding: 0;
  list-style: none;
}

.checklist li {
  display: flex;
  gap: 12px;
}

.checklist .icon {
  margin-top: 3px;
  color: var(--teal-light);
}

@media (min-width: 900px) {
  .checklist-band {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 56px;
  }
}

/* Team page */

.profile {
  display: grid;
  gap: 40px;
  align-items: start;
}

.profile-photo img {
  width: 100%;
  border-radius: var(--radius-photo);
}

.profile-role {
  margin-top: 10px;
  font-size: 1.1875rem;
  font-weight: 600;
  color: var(--teal-ink);
}

.profile-languages {
  margin-top: 32px;
}

.language-lines {
  display: grid;
  gap: 0;
  margin-top: 12px;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--rule);
}

.language-lines li {
  display: grid;
  grid-template-columns: minmax(0, 8em) minmax(0, 1fr);
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 1rem;
}

.language-lines b {
  font-weight: 650;
}

.language-lines span {
  color: var(--slate);
}

@media (min-width: 900px) {
  .profile {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 72px;
  }

  .profile-photo {
    position: sticky;
    top: calc(var(--header-height) + 32px);
  }
}

.timeline {
  position: relative;
  margin-top: clamp(36px, 5vw, 56px);
  padding: 0;
  list-style: none;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(var(--rule), var(--teal));
}

.timeline-step {
  position: relative;
  display: grid;
  gap: 4px;
  padding: 0 0 36px 44px;
}

.timeline-step::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--teal);
}

.timeline-step:last-child {
  padding-bottom: 0;
}

.timeline-step:last-child::before {
  background: var(--teal-ink);
  border-color: var(--teal-ink);
  box-shadow: 0 0 0 6px rgb(70 154 165 / 0.25);
}

.timeline-period {
  font-size: 0.9375rem;
  font-weight: 650;
  color: var(--teal-ink);
  font-variant-numeric: tabular-nums;
}

.timeline-step h3 {
  font-size: 1.375rem;
  font-weight: 450;
  line-height: 1.25;
}

.timeline-step p {
  max-width: 34em;
  color: var(--slate);
}

@media (min-width: 760px) {
  .timeline-step {
    grid-template-columns: minmax(0, 8em) minmax(0, 1fr);
    column-gap: 32px;
  }

  .timeline-period {
    grid-row: 1 / span 2;
    padding-top: 4px;
  }
}

.principles {
  display: grid;
  gap: 0 48px;
  margin-top: clamp(36px, 5vw, 56px);
  padding: 0;
  list-style: none;
}

@media (min-width: 900px) {
  .principles {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.principle {
  padding: 24px 0 32px;
  border-top: 2px solid var(--teal);
}

.principle h3 {
  font-size: 1.5rem;
  font-weight: 450;
}

.principle p {
  margin-top: 10px;
  color: var(--slate);
}

.split-heading {
  display: grid;
  gap: 20px;
}

@media (min-width: 1000px) {
  .split-heading {
    grid-template-columns: minmax(0, 4.6fr) minmax(0, 7.4fr);
    gap: 72px;
    align-items: end;
  }
}

/* Closing call band */

.call-band {
  display: grid;
  gap: 24px;
  align-items: center;
  padding: clamp(32px, 5vw, 56px);
  border-radius: var(--radius-panel);
  background: var(--teal-wash);
}

.call-band h2 {
  font-size: clamp(1.75rem, 1.3rem + 1.5vw, 2.5rem);
  line-height: 1.12;
}

.call-band p {
  margin-top: 10px;
  color: var(--slate);
}

@media (min-width: 900px) {
  .call-band {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 48px;
  }
}

/* Legal pages */

.legal {
  max-width: 48em;
  padding-bottom: clamp(72px, 9vw, 128px);
}

.legal h2 {
  margin-top: 48px;
  font-size: 1.625rem;
  font-weight: 460;
  line-height: 1.2;
}

.legal h3 {
  margin-top: 28px;
  font-size: 1.25rem;
  font-weight: 500;
}

.legal p,
.legal ul {
  margin-top: 14px;
}

.legal ul {
  padding-left: 1.2em;
}

.legal li + li {
  margin-top: 6px;
}

.legal-intro {
  padding: 22px 24px;
  border-radius: var(--radius-panel);
  background: var(--teal-wash);
}

/* Footer */

.site-footer {
  background: var(--deep);
  color: var(--deep-text);
  font-size: 1rem;
}

.footer-signal {
  height: 56px;
  padding-top: 8px;
}

.footer-signal .signal-path {
  stroke: var(--teal);
}

.footer-signal .signal-node {
  fill: var(--teal-light);
}

.footer-grid {
  display: grid;
  gap: 40px;
  padding-block: clamp(40px, 5vw, 64px);
}

@media (min-width: 760px) {
  .footer-grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
  }
}

.footer-brand {
  display: flex;
  gap: 16px;
}

.footer-brand img {
  width: 38px;
  height: 48px;
  flex: none;
}

.footer-brand b {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-display);
  font-size: 1.1875rem;
  font-weight: 500;
  color: var(--on-deep);
}

.footer-label {
  margin-top: 14px;
  font-size: 0.875rem;
  color: var(--deep-text);
}

.footer-label:first-child {
  margin-top: 0;
}

.site-footer a {
  color: var(--on-deep);
  text-decoration-color: var(--teal);
}

.footer-nav ul {
  display: grid;
  gap: 8px;
  padding: 0;
  list-style: none;
}

.footer-bottom {
  padding-block: 20px 28px;
  border-top: 1px solid var(--rule-deep);
  font-size: 0.875rem;
}

/* 404 */

.not-found {
  min-height: 60vh;
  padding-block: clamp(64px, 10vw, 140px);
}

.not-found .signal-wrap {
  height: 80px;
  max-width: 520px;
  margin-bottom: 40px;
}

.not-found .button {
  margin-top: 32px;
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .signal-ready .hero .signal-ring {
    animation: none;
    transform: none;
    opacity: 0.45;
  }
}

@media print {
  .site-header,
  .hero-signal,
  .footer-signal,
  .review-invite {
    display: none;
  }
}

.timeline-heading {
  margin-top: clamp(56px, 7vw, 88px);
}

.team-cta {
  margin-top: 28px;
}

.legal-stand {
  margin-top: 40px;
}

.not-found .signal-path {
  stroke: var(--teal);
}
