:root {
  --tp-blue: #0878e7;
  --tp-blue-dark: #07549d;
  --tp-cyan: #55c8e8;
  --tp-mint: #79edc1;
  --tp-ink: #111923;
  --tp-muted: #64717d;
  --tp-paper: #fbfaf7;
  --tp-line: #e4ebf0;
  --tp-sky: #edf8ff;
}

.tehperm-case-page {
  --bk-orange: var(--tp-blue);
  --bk-orange-dark: #0564c5;
  --bk-green: #1d8ca5;
  --bk-navy: #101921;
  --bk-paper: var(--tp-paper);
  --bk-soft: var(--tp-sky);
  --bk-line: var(--tp-line);
  --bk-muted: var(--tp-muted);
  background:
    radial-gradient(circle at 8% 29%, rgba(221, 242, 255, .52), transparent 25rem),
    radial-gradient(circle at 95% 65%, rgba(229, 246, 255, .42), transparent 29rem),
    var(--tp-paper);
  color: var(--tp-ink);
}

.tehperm-case-page .topbar {
  min-height: 72px;
}

.tehperm-case-page .callback-open {
  border-color: #171f27;
  color: #171f27;
}

.tehperm-case-page .site-footer-all,
.tehperm-case-page .site-footer-project,
.tehperm-case-page .site-footer-telegram {
  color: var(--tp-blue-dark) !important;
}

.tp-mobile-phone {
  display: none;
}

.tp-hero {
  min-height: 390px;
  grid-template-columns: minmax(0, .96fr) minmax(520px, 1.04fr);
  gap: 46px;
  padding: 30px 40px 30px 50px;
  background:
    linear-gradient(rgba(107, 145, 171, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(107, 145, 171, .08) 1px, transparent 1px),
    radial-gradient(circle at 78% 30%, rgba(33, 88, 126, .26), transparent 31rem),
    #0f1820;
  background-size: 56px 56px, 56px 56px, auto, auto;
}

.tp-hero .bk-breadcrumbs {
  margin-bottom: 30px;
}

.tp-hero .bk-mobile-kicker {
  color: #55cfae;
}

.tp-hero h1 {
  max-width: 620px;
  font-size: clamp(38px, 3.25vw, 51px);
  line-height: 1.02;
}

.tp-hero .bk-hero-lead {
  max-width: 670px;
  color: #c8d4dc;
}

.tp-hero .bk-button,
.tp-footer-cta .bk-button {
  color: #0b2019;
  background: var(--tp-mint);
  box-shadow: 0 12px 28px rgba(67, 235, 176, .13);
}

.tp-hero .bk-button--ghost {
  border-color: #6d7c86;
  color: #fff;
  background: transparent;
  box-shadow: none;
}

.tp-hero-window {
  position: relative;
  height: 300px;
  overflow: visible;
  padding: 6px;
  border: 8px solid #05080a;
  border-radius: 16px 16px 8px 8px;
  background: #05080a;
  box-shadow: 0 22px 45px rgba(0, 0, 0, .3);
}

.tp-hero-window::before {
  content: "";
  position: absolute;
  z-index: 4;
  left: 50%;
  top: -5px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #252b30;
  transform: translateX(-50%);
}

.tp-hero-window::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: -42px;
  right: -42px;
  bottom: -19px;
  height: 22px;
  border-radius: 2px 2px 18px 18px;
  background: linear-gradient(#d8dde0, #8d969c 72%, #edf0f2);
  box-shadow: 0 8px 10px rgba(0, 0, 0, .18);
}

.tp-hero-window a {
  height: 100%;
  display: block;
  overflow: hidden;
  border-radius: 5px;
}

.tp-hero-window img,
.tp-home-window img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: top;
}

.tp-window-caption {
  display: none;
}

.tp-mobile-copy {
  display: none;
}

.tp-overview {
  grid-template-columns: minmax(0, 1.2fr) minmax(390px, .8fr);
  gap: 92px;
  padding-top: 52px;
  padding-bottom: 52px;
}

.tp-overview h2 {
  max-width: 820px;
  font-size: clamp(35px, 3vw, 46px);
}

.tp-overview .bk-overview-copy > p:not(.bk-meta) {
  max-width: 720px;
}

.tp-facts div {
  grid-template-columns: 120px minmax(0, 1fr);
}

.tp-facts a {
  color: var(--tp-blue-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.tp-mission {
  min-height: 230px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, .92fr);
  gap: 70px;
  align-items: center;
  padding: 38px 46px;
  color: #fff;
  background:
    radial-gradient(circle at 84% 18%, rgba(66, 181, 255, .28), transparent 24rem),
    linear-gradient(115deg, #07345f 0%, #075594 57%, #0a4b82 100%);
}

.tp-mission::after {
  background:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 48px 48px;
}

.tp-mission .bk-mission-copy,
.tp-mission-copy {
  position: relative;
  z-index: 2;
}

.tp-mission .bk-kicker {
  margin-bottom: 7px;
  color: #74d9c0;
}

.tp-mission .bk-round-icon {
  border-color: #66bdea;
  color: #66bdea;
}

.tp-mission h2 {
  font-size: clamp(29px, 2.55vw, 39px);
}

.tp-mission-copy {
  margin: 0 !important;
  color: #d8eafa !important;
  font-size: 14px !important;
  line-height: 1.58 !important;
}

.tp-solution {
  padding-top: 46px;
  padding-bottom: 34px;
}

.tp-solution .bk-heading,
.tp-interface .bk-heading,
.tp-related .bk-heading {
  display: block;
}

.tp-solution .bk-heading h2 {
  max-width: 880px;
}

.tp-card-grid {
  gap: 14px;
}

.tp-card-grid article {
  min-height: 176px;
  padding: 23px 24px;
}

.tp-card-grid .bk-card-icon {
  margin-bottom: 25px;
  color: var(--tp-blue);
}

.tp-home-feature {
  grid-template-columns: minmax(340px, .68fr) minmax(0, 1.32fr);
  gap: 42px;
  padding: 42px;
  background: linear-gradient(135deg, #eff9ff 0%, #eaf7ff 74%, #f8fcff 100%);
}

.tp-home-feature .bk-kicker,
.tp-project-pages .bk-kicker,
.tp-interface .bk-kicker,
.tp-path .bk-kicker,
.tp-results .bk-kicker,
.tp-related .bk-kicker {
  color: #1786c6;
}

.tp-home-feature .bk-checks li::before {
  color: var(--tp-blue);
}

.tp-home-window {
  height: 540px;
  border: 8px solid #fff;
  border-radius: 12px;
  background: #fff;
}

.tp-project-pages {
  display: grid;
  grid-template-columns: minmax(320px, .68fr) minmax(0, 1.32fr);
  gap: 52px;
  align-items: start;
  padding-top: 56px;
  padding-bottom: 46px;
}

.tp-pages-copy h2 {
  margin: 9px 0 0;
  max-width: 520px;
  font-size: clamp(30px, 2.75vw, 42px);
  line-height: 1.04;
  letter-spacing: -.045em;
}

.tp-pages-copy > p {
  max-width: 510px;
  margin: 20px 0 0;
  color: var(--tp-muted);
  font-size: 14px;
  line-height: 1.58;
}

.tp-pages-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.tp-pages-grid figure {
  min-width: 0;
  margin: 0;
}

.tp-pages-grid a {
  height: 545px;
  display: block;
  overflow: hidden;
  padding: 8px;
  border: 1px solid #dbe7ef;
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(32, 78, 112, .09);
}

.tp-pages-grid img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: top;
  border-radius: 5px;
}

.tp-pages-grid figcaption {
  padding: 11px 2px 0;
}

.tp-pages-grid figcaption strong,
.tp-pages-grid figcaption span {
  display: block;
}

.tp-pages-grid figcaption strong {
  margin-bottom: 4px;
  font-size: 13px;
}

.tp-pages-grid figcaption span {
  color: var(--tp-muted);
  font-size: 10px;
}

.tp-interface {
  padding-top: 36px;
  padding-bottom: 40px;
}

.tp-interface .bk-heading h2 {
  max-width: 670px;
}

.tp-tech-grid {
  gap: 13px;
  border: 0;
  background: transparent;
}

.tp-tech-grid article {
  min-height: 150px;
  border: 1px solid var(--tp-line) !important;
  border-radius: 8px;
  background: #fff;
}

.tp-tech-icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  color: var(--tp-blue);
}

.tp-tech-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tp-tech-grid h3 {
  margin-top: 22px;
}

.tp-path {
  background: linear-gradient(105deg, #eff9ff, #eaf7ff 70%, #f6fcff);
}

.tp-path-grid article > span {
  border-color: var(--tp-blue);
  color: #fff;
  background: var(--tp-blue);
}

.tp-path-grid article:not(:last-child)::after {
  color: var(--tp-blue);
  background: #edf8ff;
}

.tp-results {
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  padding-top: 38px;
  padding-bottom: 28px;
}

.tp-results .bk-heading {
  grid-template-columns: minmax(0, 1fr);
}

.tp-results .bk-heading > p {
  grid-column: 1;
  margin-top: 18px;
}

.tp-results .bk-result-metrics strong {
  color: var(--tp-blue);
}

.tp-related {
  padding-top: 12px;
}

.tp-related-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tp-related-grid b {
  color: var(--tp-blue);
}

.tp-footer-cta {
  min-height: 118px;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  padding: 22px 34px;
  background:
    radial-gradient(circle at 76% 25%, rgba(18, 90, 135, .28), transparent 23rem),
    #101921;
}

.tp-footer-cta .bk-kicker {
  color: #71d8bc;
}

.tp-footer-cta h2 {
  max-width: 860px;
  margin-top: 7px;
  font-size: clamp(25px, 2.25vw, 34px);
  line-height: 1.05;
}

.tehperm-case-page .site-footer {
  margin-top: 0;
}

@media (max-width: 1080px) {
  .tp-hero {
    grid-template-columns: minmax(0, .9fr) minmax(430px, 1.1fr);
    gap: 30px;
    padding-left: 34px;
  }

  .tp-hero-window {
    height: 270px;
  }

  .tp-overview {
    gap: 48px;
  }

  .tp-home-feature {
    grid-template-columns: minmax(300px, .78fr) minmax(0, 1.22fr);
    padding: 31px;
  }

  .tp-home-window {
    height: 470px;
  }

  .tp-project-pages {
    grid-template-columns: minmax(280px, .62fr) minmax(0, 1.38fr);
    gap: 32px;
  }

  .tp-pages-grid a {
    height: 470px;
  }
}

@media (max-width: 820px) {
  .tehperm-case-page {
    background: #f8fafb;
  }

  .tehperm-case-page .topbar {
    width: min(100%, 520px);
    min-height: 54px;
    grid-template-columns: minmax(0, 1fr) auto auto;
    column-gap: 7px;
    padding: 6px 12px;
    background: #fff;
  }

  .tehperm-case-page .logo {
    width: auto;
    margin-right: auto;
  }

  .tehperm-case-page .logo-mark {
    width: 91px;
  }

  .tp-mobile-phone {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    margin-left: auto;
    grid-column: 2;
    grid-row: 1;
    border: 1px solid #e2e9ee;
    border-radius: 50%;
    color: #101820;
    background: #fff;
  }

  .tp-mobile-phone svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .tehperm-case-page .menu-toggle {
    grid-column: 3;
    grid-row: 1;
    margin-left: 0;
  }

  .tehperm-case-page .menu {
    grid-column: 1 / -1;
    grid-row: 2;
    top: 54px;
  }

  .bk-hero-shell,
  .bk-case,
  .bk-footer-cta,
  .tehperm-case-page .site-footer {
    width: min(100%, 520px);
  }

  .tp-hero {
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 14px 14px 18px;
    border-radius: 0;
    background-size: 38px 38px, 38px 38px, auto, auto;
    box-shadow: none;
  }

  .tp-hero .bk-breadcrumbs {
    display: flex;
    gap: 5px;
    margin: 0 0 4px;
    color: #9db0bd;
    font-size: 7px;
  }

  .tp-hero .bk-mobile-kicker {
    margin-bottom: 8px;
    color: #58d2b0;
    font-size: 8px;
  }

  .tp-hero h1 {
    max-width: 430px;
    font-size: clamp(27px, 8vw, 35px);
    line-height: 1.02;
  }

  .tp-hero .bk-hero-lead {
    margin-top: 10px;
    font-size: 11px;
    line-height: 1.42;
  }

  .tp-hero .bk-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 14px;
  }

  .tp-hero .bk-actions .bk-button,
  .tp-hero .bk-actions .bk-button--ghost {
    min-height: 42px;
    display: inline-flex;
    padding-inline: 10px;
    font-size: 10px;
  }

  .tp-hero-window {
    width: 100%;
    height: auto;
    aspect-ratio: 291 / 172;
    padding: 4px;
    border-width: 5px;
    border-radius: 10px;
  }

  .tp-hero-window::before,
  .tp-hero-window::after {
    display: none;
  }

  .tp-window-caption {
    display: block;
    margin-top: 8px;
    color: #d0dbe2;
    font-size: 8px;
    text-align: center;
  }

  .tp-desktop-copy {
    display: none;
  }

  .tp-mobile-copy {
    display: inline;
  }

  .tp-overview {
    display: block;
    padding: 27px 14px 24px;
  }

  .tp-overview h2,
  .tp-solution .bk-heading h2,
  .tp-interface .bk-heading h2,
  .tp-related .bk-heading h2,
  .tp-results .bk-heading h2 {
    margin-top: 7px;
    font-size: 24px;
    line-height: 1.06;
  }

  .tp-overview .bk-overview-copy > p:not(.bk-meta) {
    margin-top: 12px;
    font-size: 11px;
    line-height: 1.5;
  }

  .tp-facts {
    margin-top: 17px;
    padding: 4px 12px;
    border: 1px solid var(--tp-line);
    border-radius: 12px;
    background: #fff;
  }

  .tp-facts div {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 12px;
    padding: 10px 0;
  }

  .tp-facts dt,
  .tp-facts dd {
    font-size: 8px;
  }

  .tp-mission {
    min-height: 0;
    display: block;
    margin: 0 9px 0;
    padding: 21px 18px 23px;
    border-radius: 12px;
  }

  .tp-mission::after {
    opacity: .55;
  }

  .tp-mission .bk-mission-copy {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 11px;
  }

  .tp-mission .bk-round-icon {
    width: 28px;
    height: 28px;
  }

  .tp-mission .bk-round-icon svg {
    width: 15px;
    height: 15px;
  }

  .tp-mission h2 {
    font-size: 21px;
    line-height: 1.08;
  }

  .tp-mission-copy {
    margin: 13px 0 0 41px !important;
    font-size: 9px !important;
    line-height: 1.45 !important;
  }

  .tp-solution {
    padding: 28px 14px 25px;
  }

  .tp-solution .bk-heading,
  .tp-interface .bk-heading,
  .tp-related .bk-heading {
    margin-bottom: 15px;
  }

  .tp-card-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .tp-card-grid article {
    min-height: 78px;
    display: grid;
    grid-template-columns: 37px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 12px;
    align-items: start;
    padding: 13px;
    border-radius: 10px;
  }

  .tp-card-grid .bk-card-icon {
    grid-row: 1 / 3;
    width: 34px;
    height: 34px;
    margin: 0;
    border-radius: 9px;
    background: #eaf6ff;
  }

  .tp-card-grid .bk-card-icon svg {
    width: 19px;
    height: 19px;
  }

  .tp-card-grid h3 {
    margin: 2px 0 3px;
    font-size: 13px;
  }

  .tp-card-grid p {
    font-size: 9px;
    line-height: 1.35;
  }

  .tp-home-feature {
    display: block;
    margin: 0;
    padding: 26px 14px 29px;
    border-radius: 0;
  }

  .tp-home-feature .bk-home-copy h2 {
    margin-top: 7px;
    font-size: 24px;
    line-height: 1.05;
  }

  .tp-home-feature .bk-home-copy > p {
    margin-top: 11px;
    font-size: 10px;
    line-height: 1.48;
  }

  .tp-home-feature .bk-checks {
    gap: 8px;
    margin-top: 15px;
  }

  .tp-home-feature .bk-checks li {
    padding-left: 18px;
    font-size: 9px;
    line-height: 1.35;
  }

  .tp-home-window {
    width: 100%;
    height: auto;
    aspect-ratio: 379 / 339;
    margin-top: 18px;
    border-width: 6px;
    border-radius: 10px;
  }

  .tp-project-pages {
    display: block;
    padding: 28px 14px 25px;
  }

  .tp-pages-copy h2 {
    margin-top: 7px;
    font-size: 24px;
    line-height: 1.06;
  }

  .tp-pages-copy > p {
    margin-top: 11px;
    font-size: 10px;
    line-height: 1.48;
  }

  .tp-pages-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 18px;
  }

  .tp-pages-grid a {
    height: auto;
    aspect-ratio: 2 / 3;
    padding: 7px;
    border-radius: 10px;
  }

  .tp-pages-grid figcaption {
    padding-top: 8px;
  }

  .tp-pages-grid figcaption strong {
    font-size: 11px;
  }

  .tp-pages-grid figcaption span {
    font-size: 8px;
  }

  .tp-interface {
    padding: 25px 14px;
  }

  .tp-tech-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .tp-tech-grid article {
    min-height: 76px;
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 12px;
    padding: 12px;
    border-radius: 10px;
  }

  .tp-tech-icon {
    grid-row: 1 / 3;
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: #eaf6ff;
  }

  .tp-tech-icon svg {
    width: 20px;
    height: 20px;
  }

  .tp-tech-grid h3 {
    margin: 2px 0 3px;
    font-size: 13px;
  }

  .tp-tech-grid p {
    font-size: 9px;
    line-height: 1.35;
  }

  .tp-path {
    display: block;
    margin: 0;
    padding: 25px 14px 27px;
    border: 0;
    border-radius: 0;
  }

  .tp-path h2 {
    max-width: none;
    margin-top: 7px;
    font-size: 24px;
    line-height: 1.06;
  }

  .tp-path-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 18px;
  }

  .tp-path-grid::before {
    content: "";
    position: absolute;
    left: 18px;
    top: 28px;
    bottom: 28px;
    width: 1px;
    background: #88c9f2;
  }

  .tp-path-grid article {
    min-height: 0;
    display: grid;
    grid-template-columns: 37px minmax(0, 1fr);
    gap: 14px;
    padding: 0 0 18px;
    border: 0;
  }

  .tp-path-grid article:last-child {
    padding-bottom: 0;
  }

  .tp-path-grid article:not(:last-child)::after {
    display: none;
  }

  .tp-path-grid article > span {
    position: relative;
    z-index: 1;
    width: 37px;
    height: 37px;
    font-size: 11px;
  }

  .tp-path-grid h3 {
    margin: 1px 0 4px;
    font-size: 12px;
  }

  .tp-path-grid p {
    font-size: 9px;
    line-height: 1.35;
  }

  .tp-results {
    display: block;
    padding: 26px 14px 23px;
  }

  .tp-results .bk-heading > p {
    display: block;
    margin: 11px 0 0;
    color: var(--tp-muted);
    font-size: 9px;
    line-height: 1.42;
  }

  .tp-results .bk-result-metrics {
    margin-top: 15px;
  }

  .tp-results .bk-result-metrics article {
    min-height: 92px;
    padding: 13px 10px;
  }

  .tp-results .bk-result-metrics strong {
    margin-bottom: 14px;
    font-size: 26px;
  }

  .tp-results .bk-result-metrics span {
    font-size: 7px;
    line-height: 1.3;
  }

  .tp-related {
    padding: 17px 14px 19px;
  }

  .tp-related-grid {
    grid-template-columns: 1fr;
  }

  .tp-related-grid a:nth-child(n + 2) {
    display: none;
  }

  .tp-related-grid a {
    grid-template-columns: 90px minmax(0, 1fr) 28px;
    gap: 10px;
    padding: 7px;
    border-radius: 9px;
  }

  .tp-related-grid img {
    width: 90px;
    height: 55px;
  }

  .tp-related-grid strong {
    font-size: 11px;
  }

  .tp-related-grid small {
    font-size: 8px;
  }

  .tp-footer-cta {
    min-height: 185px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    margin: 0 auto;
    padding: 23px 17px 18px;
    border-radius: 0;
  }

  .tp-footer-cta .bk-kicker {
    display: block;
    font-size: 8px;
  }

  .tp-footer-cta h2 {
    margin-top: 8px;
    font-size: 23px;
    line-height: 1.04;
  }

  .tp-footer-cta .bk-button {
    width: 100%;
    min-height: 42px;
    font-size: 10px;
  }

  .tehperm-case-page .site-footer > .site-footer-main {
    width: min(100% - 28px, 520px);
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 22px 0 12px;
  }

  .tehperm-case-page .site-footer-about {
    display: block;
    padding-bottom: 13px;
  }

  .tehperm-case-page .site-footer .footer-logo {
    width: 91px;
    margin-bottom: 8px;
  }

  .tehperm-case-page .site-footer-about > p,
  .tehperm-case-page .site-footer-location strong,
  .tehperm-case-page .site-footer-location span {
    font-size: 8px;
  }

  .tehperm-case-page .site-footer-location {
    display: block;
    margin-top: 10px;
  }

  .tehperm-case-page .site-footer-nav {
    min-width: 0;
    padding: 0;
    border-top: 1px solid var(--tp-line);
  }

  .tehperm-case-page .site-footer-nav .site-footer-title {
    min-height: 39px;
    display: flex;
    align-items: center;
    margin: 0;
    font-size: 10px;
  }

  .tehperm-case-page .site-footer-nav .site-footer-title::after {
    content: "⌄";
    margin-left: auto;
  }

  .tehperm-case-page .site-footer-nav a {
    display: none;
  }

  .tehperm-case-page .site-footer-contact {
    margin-top: 9px;
    padding: 13px;
    border-radius: 8px;
    background: #f3f7fa;
  }

  .tehperm-case-page .site-footer-contact .site-footer-title {
    margin-bottom: 6px;
    font-size: 8px;
  }

  .tehperm-case-page .site-footer-contact .site-footer-phone {
    display: block;
    font-size: 16px;
  }

  .tehperm-case-page .site-footer-contact a,
  .tehperm-case-page .site-footer-project {
    min-height: 20px;
    font-size: 8px;
  }

  .tehperm-case-page .site-footer > .site-footer-bottom {
    width: min(100% - 28px, 520px);
    padding: 10px 0 14px;
  }
}

@media (max-width: 390px) {
  .tp-hero h1 {
    font-size: 27px;
  }

  .tp-overview h2,
  .tp-solution .bk-heading h2,
  .tp-home-feature .bk-home-copy h2,
  .tp-pages-copy h2,
  .tp-interface .bk-heading h2,
  .tp-path h2,
  .tp-results .bk-heading h2,
  .tp-related .bk-heading h2,
  .tp-footer-cta h2 {
    font-size: 22px;
  }

  .tp-mission h2 {
    font-size: 20px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .tehperm-case-page .bk-card-grid article,
  .tehperm-case-page .bk-related-grid a,
  .tehperm-case-page .tp-pages-grid a {
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  }

  .tehperm-case-page .bk-card-grid article:hover,
  .tehperm-case-page .bk-related-grid a:hover {
    border-color: rgba(8, 120, 231, .36);
    box-shadow: 0 16px 38px rgba(17, 89, 142, .09);
    transform: translateY(-2px);
  }
}
