:root {
  color-scheme: light;
  --ink: #121a31;
  --text: #27314c;
  --blue: #4868f6;
  --shadow: 0 9px 24px #293e8310;
  --radius: 24px;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: #fcfcff;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: radial-gradient(ellipse at 50% 25%, #f0f2ff88, transparent 60%);
  font-size: clamp(15px, 1.45vw, 18px);
  line-height: 1.45;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  cursor: pointer;
}
img {
  display: block;
  max-width: 100%;
  object-fit: cover;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  line-height: 1.12;
  letter-spacing: -0.045em;
}
p {
  color: var(--text);
}
a,
button {
  -webkit-tap-highlight-color: transparent;
}
a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 5px;
}
a:hover {
  color: var(--blue);
}
.container {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 100;
  background: white;
  padding: 12px;
}
.skip-link:focus {
  top: 12px;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #ffffffed;
  backdrop-filter: blur(16px);
}
.site-header {
  transition: transform 320ms cubic-bezier(.22, 1, .36, 1), box-shadow 320ms ease;
}
.site-header.is-hidden {
  transform: translateY(-100%);
}
.site-header.is-scrolled {
  box-shadow: 0 8px 28px #1823530d;
}
.site-header:focus-within {
  transform: translateY(0);
}
.contact-bar {
  background: #f0f2fc;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 0;
}
.contact-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.contact-bar-links {
  display: flex;
  align-items: center;
  gap: 24px;
}
.contact-bar a {
  white-space: nowrap;
}
.contact-bar a,
.footer-contacts a {
  display: flex;
  align-items: center;
  gap: 10px;
}
.navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 82px;
  gap: 24px;
}
.logo {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
  letter-spacing: -0.055em;
  white-space: nowrap;
}
.logo span {
  color: var(--blue);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 15px;
  font-weight: 600;
}
.nav-links a {
  display: block;
  padding: 12px 18px;
  border-radius: 13px;
}
.nav-links a:hover,
.nav-links a[aria-current] {
  background: #e9ecff;
  color: var(--blue);
}
.menu-toggle {
  display: none;
  border: 0;
  background: #edf0ff;
  border-radius: 10px;
  padding: 7px;
  font-size: 28px;
}
.hero {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  align-items: center;
  min-height: 490px;
  padding-block: 20px 30px;
  gap: 16px;
}
.hero-copy {
  padding: 24px 0 24px 20px;
  position: relative;
  z-index: 1;
  scroll-margin-top: 140px;
}
.eyebrow {
  color: var(--blue);
  text-transform: uppercase;
  font-weight: 650;
  font-size: clamp(12px, 1.25vw, 16px);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.eyebrow:after {
  content: "";
  width: 45px;
  height: 2px;
  background: #b5c1ff;
}
.hero h1 {
  font-size: clamp(42px, 5.7vw, 68px);
  margin-bottom: 20px;
}
.hero-copy > p:not(.eyebrow) {
  max-width: 510px;
}
.hero-image {
  width: 100%;
  height: auto;
  border-radius: 50px 50px 0 0;
  mix-blend-mode: multiply;
}
.hero-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 30px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--blue);
  border: 2px solid var(--blue);
  color: white;
  border-radius: 12px;
  padding: 13px 25px;
  font-size: 16px;
  font-weight: 700;
  transition:
    background 0.2s,
    transform 0.2s;
}
.button:hover {
  background: #3452d6;
  color: white;
  transform: translateY(-2px);
}
.button .bx {
  font-size: 24px;
}
.button-outline {
  background: transparent;
  color: #183b99;
}
.button-outline:hover {
  background: #e8edff;
  color: #183b99;
}
.stats,
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.stat {
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 26px 30px;
  background: #ffffffb8;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.stat-icon {
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  flex-shrink: 0;
  border-radius: 20px;
  background: #e9edff;
  color: var(--blue);
  font-size: 48px;
}
.stat:nth-child(2) .stat-icon {
  background: #f0ebff;
  color: #8161ed;
}
.stat:nth-child(3) .stat-icon {
  background: #def6f2;
  color: #00a58e;
}
.stat strong {
  display: block;
  font-size: clamp(36px, 4.5vw, 54px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
}
.stat p {
  line-height: 1.25;
  margin-top: 4px;
}
.section {
  padding-block: 42px;
}
.section-heading {
  text-align: center;
  margin-bottom: 38px;
}
.section-heading h2 {
  font-size: clamp(30px, 3.8vw, 44px);
}
.section-heading h2:after {
  content: "";
  display: block;
  width: 54px;
  height: 3px;
  background: #5973ff;
  margin: 18px auto 0;
}
.section-heading p {
  max-width: 850px;
  margin: 22px auto 0;
}
.stats + .section {
  padding-top: 68px;
}
.card {
  overflow: hidden;
  background: linear-gradient(130deg, #fff, #fafaff);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.service {
  padding: 25px 32px 28px;
  position: relative;
  isolation: isolate;
}
.service:before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 210px;
  height: 150px;
  border-radius: 45% 55% 48% 52%;
  background: linear-gradient(145deg, #e0e5ff, #f9faff);
  right: -70px;
  top: 42px;
  transform: rotate(-30deg);
}
.service:nth-child(5):before {
  background: linear-gradient(145deg, #daf4ef, #f9faff);
}
.service img {
  width: 88px;
  height: 82px;
  object-fit: contain;
  mix-blend-mode: multiply;
  margin-bottom: 15px;
}
.card h3 {
  font-size: clamp(22px, 2.2vw, 28px);
  margin-bottom: 8px;
}
.service p {
  font-size: 17px;
}
.portfolio {
  background: linear-gradient(115deg, #f0f2ff, #f6f5ff);
  border-radius: 28px;
  margin-block: 16px 0;
  padding-block: 30px 20px;
}
.projects {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  padding: 4px 4px 16px;
}
.project {
  min-width: 0;
  position: relative;
  overflow: hidden;
  border-radius: 21px;
  aspect-ratio: 1.7;
  background: #dfe5f5;
}
.project img {
  width: 100%;
  height: 100%;
  transition: transform 0.3s;
}
.project:hover img {
  transform: scale(1.04);
}
.project-caption {
  position: absolute;
  inset: auto 0 0;
  isolation: isolate;
  padding: 38px 18px 16px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgb(19 24 35 / 48%) 38%,
    rgb(19 24 35 / 82%) 100%
  );
  color: white;
}
.project-caption::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  -webkit-backdrop-filter: blur(8px) saturate(0.7);
  backdrop-filter: blur(8px) saturate(0.7);
  -webkit-mask-image: linear-gradient(transparent, #000 48%);
  mask-image: linear-gradient(transparent, #000 48%);
  pointer-events: none;
}
.project-caption h3 {
  font-size: 20px;
  letter-spacing: -0.025em;
}
.project-caption p {
  font-size: 14px;
  color: #d5d9e1;
  margin-top: 5px;
}
.member > img {
  width: 100%;
  aspect-ratio: 1.2;
  height: auto;
  object-position: center 30%;
}
.card-body {
  padding: 18px 28px 22px;
}
.member p {
  font-size: 16px;
}
.pricing-scene {
  --pricing-art-height: clamp(150px, 21vw, 260px);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--radius);
  background: #102b1d;
  padding-top: var(--pricing-art-height);
}
.pricing-art {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
}
.pricing-hover-zones {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: var(--pricing-art-height);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.pricing-background {
  width: 100%;
  height: auto;
}
.pricing-focus {
  position: absolute;
  top: 0;
  height: auto;
  opacity: 0;
  transition: opacity 250ms ease;
}
.pricing-focus-starting {
  left: 0%;
  width: 31.789744%;
}
.pricing-focus-middle {
  left: 26.225641%;
  width: 40.648718%;
}
.pricing-focus-hard {
  right: 0;
  width: 34.786325%;
}
.pricing-scene:has(.pricing-hover-zone:nth-child(1):hover) .pricing-focus-starting,
.pricing-scene:has(.price:nth-child(1):is(:hover, :focus-within)) .pricing-focus-starting,
.pricing-scene:has(.pricing-hover-zone:nth-child(2):hover) .pricing-focus-middle,
.pricing-scene:has(.price:nth-child(2):is(:hover, :focus-within)) .pricing-focus-middle,
.pricing-scene:has(.pricing-hover-zone:nth-child(3):hover) .pricing-focus-hard,
.pricing-scene:has(.price:nth-child(3):is(:hover, :focus-within)) .pricing-focus-hard {
  opacity: 1;
}
.pricing-scene::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(transparent 25%, #102b1d99 55%, #102b1d 100%);
  pointer-events: none;
}
.price {
  display: flex;
  flex-direction: column;
  background: transparent;
  box-shadow: none;
  color: #fff;
}
.price-mobile-image {
  display: none;
}
.price p {
  color: #fff;
}
.price .card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.price p {
  margin-bottom: 14px;
  font-size: 17px;
}
.price-link {
  display: block;
  text-align: center;
  background: #ececff;
  color: #12367c;
  border-radius: 12px;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-top: auto;
  padding: 5px 8px;
}
.price-link span {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0;
}
.price:nth-child(2) .price-link {
  background: #e0edff;
}
.price:nth-child(3) .price-link {
  background: #d6f3ef;
  color: #008477;
}
.price-link:hover {
  filter: brightness(0.96);
}
.idea-banner {
  min-height: 330px;
  display: flex;
  align-items: center;
  padding: 50px;
  border-radius: 24px;
  background:
    linear-gradient(90deg, #141d30c9, #141d3022),
    url("../img/03-compas.webp") center/cover;
  margin-block: 8px 36px;
}
.idea-banner > div {
  max-width: 580px;
}
.idea-banner h2 {
  font-size: clamp(32px, 4.6vw, 56px);
  color: white;
  text-wrap: balance;
  margin-bottom: 24px;
}
.footer-panel {
  background: #24447d url("../img/04-background.webp") center/cover;
  border-radius: 22px;
  padding: 28px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: white;
}
.footer-panel .logo,
.footer-panel .logo span,
.footer-panel p {
  color: white;
}
.footer-panel p {
  margin: 2px 0 14px;
}
.footer-links {
  display: flex;
  gap: 22px;
  font-size: 15px;
}
.footer-links a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-panel a:hover {
  color: #d7e6ff;
}
.footer-contacts {
  display: grid;
  gap: 10px;
  flex-shrink: 0;
  font-size: 16px;
  font-weight: 650;
}
.footer-contacts a {
  background: #173b8580;
  border: 1px solid #ffffff20;
  border-radius: 12px;
  padding: 10px 18px;
}
.copyright {
  text-align: center;
  font-size: 13px;
  margin: 12px 0;
  color: #65708b;
}
.credits {
  text-align: center;
  color: #778095;
  font-size: 11px;
  padding-bottom: 18px;
}
.credits a {
  text-decoration: underline;
}
.bx {
  vertical-align: middle;
}
@media (min-width: 1500px) {
  .hero {
    min-height: 560px;
  }
}
@media (max-width: 1000px) {
  .nav-links {
    gap: 0;
  }
  .nav-links a {
    padding: 10px 12px;
  }
  .stat {
    gap: 16px;
    padding: 22px;
  }
  .stat-icon {
    width: 65px;
    height: 65px;
    font-size: 40px;
  }
  .service {
    padding: 24px;
  }
  .hero-copy {
    padding-left: 0;
  }
  .hero-actions {
    gap: 12px;
  }
  .button {
    padding: 11px 18px;
  }
  .card-body {
    padding: 18px;
  }
  .footer-panel {
    padding: 25px 32px;
  }
}
@media (max-width: 760px) {
  .contact-bar-tagline {
    display: none;
  }
  .contact-bar-links {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }
  .container {
    width: calc(100% - 32px);
  }
  .navigation {
    min-height: 70px;
  }
  .menu-toggle {
    display: block;
  }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    padding: 12px 16px 18px;
    background: #fff;
    box-shadow: 0 15px 20px #18235312;
  }
  .nav-links.is-open {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }
  .nav-links a {
    padding: 12px;
  }
  .hero {
    grid-template-columns: 1fr 1fr;
    min-height: auto;
    gap: 0;
    padding-top: 14px;
  }
  .hero h1 {
    font-size: 42px;
  }
  .hero-image {
    border-radius: 30px;
    align-self: center;
  }
  .eyebrow {
    font-size: 11px;
  }
  .eyebrow:after {
    display: none;
  }
  .hero-actions {
    gap: 8px;
    margin-top: 20px;
  }
  .button {
    font-size: 14px;
    padding: 10px 12px;
    gap: 7px;
  }
  .stats {
    gap: 12px;
  }
  .stat {
    padding: 18px 12px;
    gap: 10px;
    flex-direction: column;
    text-align: center;
    border-radius: 18px;
  }
  .stat-icon {
    width: 55px;
    height: 55px;
    font-size: 34px;
    border-radius: 15px;
  }
  .stat strong {
    font-size: 38px;
  }
  .stat p {
    font-size: 14px;
  }
  .cards {
    gap: 18px;
  }
  .services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .service p {
    font-size: 16px;
  }
  .section {
    padding-block: 32px;
  }
  .section-heading {
    margin-bottom: 28px;
  }
  .stats + .section {
    padding-top: 46px;
  }
  .projects {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .member p {
    font-size: 14px;
  }
  .card-body {
    padding: 15px;
  }
  .card h3 {
    font-size: 22px;
  }
  .price p {
    font-size: 15px;
  }
  .price-link {
    font-size: 25px;
  }
  .price-link span {
    font-size: 13px;
  }
  .idea-banner {
    padding: 32px;
    min-height: 290px;
  }
  .footer-panel {
    padding: 24px;
    gap: 20px;
  }
  .footer-contacts {
    font-size: 13px;
  }
  .footer-links {
    gap: 12px;
    font-size: 13px;
  }
}
@media (max-width: 540px) {
  .pricing-scene {
    padding-top: 0;
    background: transparent;
  }
  .pricing-art,
  .pricing-hover-zones,
  .pricing-scene::after {
    display: none;
  }
  .price {
    background: #102b1d;
  }
  .price-mobile-image {
    display: block;
    width: 100%;
    height: auto;
  }

  .contact-bar {
    font-size: 11px;
  }
  .contact-bar .container {
    gap: 16px;
    justify-content: space-between;
  }
  .contact-bar a {
    gap: 5px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-bottom: 20px;
  }
  .hero-copy {
    padding: 24px 4px 12px;
  }
  .hero h1 {
    font-size: 48px;
  }
  .eyebrow {
    font-size: 12px;
  }
  .hero-copy > p:not(.eyebrow) {
    font-size: 16px;
  }
  .hero-image {
    margin-top: 12px;
    max-height: 350px;
    object-fit: contain;
  }
  .hero-actions .button {
    padding: 12px 20px;
  }
  .stats {
    gap: 8px;
  }
  .stat {
    padding: 16px 8px;
  }
  .stat strong {
    font-size: 32px;
  }
  .stat p {
    font-size: 12px;
  }
  .stat-icon {
    width: 46px;
    height: 46px;
    font-size: 29px;
  }
  .cards {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .services {
    grid-template-columns: 1fr;
  }
  .service {
    padding: 26px;
  }
  .service img {
    width: 76px;
    height: 70px;
  }
  .section-heading h2 {
    font-size: 32px;
  }
  .section-heading p {
    font-size: 16px;
  }
  .projects {
    grid-template-columns: 1fr;
  }
  .project {
    aspect-ratio: 1.2;
  }
  .member > img {
    aspect-ratio: 1.5;
  }
  .card-body {
    padding: 18px 24px;
  }
  .card h3 {
    font-size: 25px;
  }
  .member p,
  .price p {
    font-size: 16px;
  }
  .price-link {
    font-size: 32px;
  }
  .price-link span {
    font-size: 16px;
  }
  .idea-banner {
    min-height: 300px;
    padding: 26px;
    background-position: 45% center;
  }
  .idea-banner h2 {
    font-size: 38px;
  }
  .footer-panel {
    align-items: flex-start;
    flex-direction: column;
    padding: 26px;
  }
  .footer-contacts {
    font-size: 15px;
    width: 100%;
  }
  .footer-links {
    font-size: 14px;
  }
  .copyright {
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    transition: none !important;
  }
}
