@media (max-width: 1180px) {
  .desktop-nav {
    gap: 22px;
  }

  .navbar__actions {
    gap: 8px;
    margin-left: 18px;
  }

  .header-cta {
    min-width: 154px;
    padding-inline: 17px;
  }

  .hero__content {
    width: 54%;
  }

  .hero h1 {
    font-size: 48px;
  }
}

@media (max-width: 1100px) {
  .container {
    width: min(calc(100% - 64px), 960px);
  }

  .topbar,
  .desktop-nav,
  .search-toggle,
  .header-cta {
    display: none;
  }

  .navbar {
    height: 80px;
  }

  .brand--header {
    width: 244px;
    height: 50px;
  }

  .navbar__actions {
    margin-left: auto;
  }

  .menu-toggle {
    display: inline-grid;
    width: 48px;
    height: 48px;
    color: var(--primary-blue);
    background: var(--soft-blue);
  }

  .hero,
  .hero__inner {
    min-height: 625px;
  }

  .hero__content {
    width: 62%;
    max-width: 560px;
    padding: 55px 0 60px;
  }

  .hero h1 {
    font-size: clamp(42px, 5.4vw, 54px);
  }

  .hero__description {
    max-width: 500px;
  }

  .hero__values {
    grid-template-columns: 1fr;
    gap: 11px;
    max-width: 285px;
  }

  .value-item {
    grid-template-columns: 40px 1fr;
  }

  .value-item__icon {
    width: 40px;
    height: 40px;
  }

  .value-item strong {
    font-size: 12px;
  }

  .value-item small {
    font-size: 10px;
  }

  .hero__media {
    width: 55%;
    clip-path: polygon(29% 0, 100% 0, 100% 100%, 0 100%, 14% 72%, 4% 59%);
    filter: drop-shadow(-9px 0 20px rgba(0, 118, 232, 0.08));
  }

  .hero__media::after {
    background:
      linear-gradient(
        99deg,
        rgba(249, 251, 253, 0.99) 0%,
        rgba(249, 251, 253, 0.93) 10%,
        rgba(249, 251, 253, 0.68) 20%,
        rgba(249, 251, 253, 0.3) 31%,
        rgba(249, 251, 253, 0) 43%
      ),
      linear-gradient(90deg, rgba(224, 240, 252, 0.16), transparent 56%);
  }

  .hero__media img {
    object-position: 64% center;
  }

  .hero__media-label {
    top: 35px;
    right: 25px;
  }

  .hero__corner {
    width: 175px;
    height: 125px;
  }

  .mobile-drawer {
    color: #d6e2ea;
    background: var(--navy);
  }

  .brand--drawer {
    mix-blend-mode: screen;
    filter: invert(1) grayscale(1) brightness(1.9);
  }

  .drawer-nav a {
    color: #d7e0e7;
  }

  .drawer-nav a:hover,
  .drawer-nav a:focus-visible,
  .drawer-nav a.is-active {
    color: var(--white);
    background: linear-gradient(90deg, rgba(0, 118, 232, 0.82), rgba(0, 94, 190, 0.68));
  }

  .drawer-cta {
    border-top-color: rgba(166, 189, 206, 0.23);
  }

  .footer__main {
    grid-template-columns: 1.25fr 0.8fr 0.95fr;
    gap: 44px 36px;
    padding-top: 54px;
  }

  .footer-brand {
    grid-row: span 2;
  }

  .footer-contact {
    grid-column: 2;
  }

  .footer-social {
    grid-column: 3;
  }
}

@media (max-width: 767px) {
  .container {
    width: calc(100% - 40px);
  }

  .navbar {
    height: 70px;
  }

  .brand--header {
    width: 202px;
    height: 43px;
  }

  .brand--header img {
    width: 216px;
    height: 72px;
    top: -15px;
    left: -14px;
  }

  .menu-toggle {
    width: 44px;
    height: 44px;
  }

  .mobile-drawer {
    width: min(350px, 91vw);
    padding: 22px 20px 18px;
    color: var(--dark-text);
    background: var(--white);
  }

  .mobile-drawer__head {
    min-height: 46px;
    margin-bottom: 18px;
  }

  .brand--drawer {
    width: 204px;
    height: 43px;
    mix-blend-mode: normal;
    filter: none;
  }

  .brand--drawer img {
    width: 218px;
    height: 73px;
    top: -15px;
    left: -14px;
  }

  .drawer-close {
    width: 42px;
    height: 42px;
    color: var(--dark-text);
    background: transparent;
  }

  .drawer-close:hover,
  .drawer-close:focus-visible {
    color: var(--primary-blue);
    background: var(--soft-blue);
  }

  .drawer-nav {
    gap: 3px;
  }

  .drawer-nav a {
    min-height: 49px;
    color: #243847;
    font-size: 13px;
  }

  .drawer-nav a:hover,
  .drawer-nav a:focus-visible,
  .drawer-nav a.is-active {
    color: var(--primary-blue-dark);
    background: #eaf5ff;
  }

  .drawer-cta {
    min-height: 48px;
    margin-top: 18px;
    font-size: 12px;
  }

  .drawer-social {
    padding-top: 20px;
  }

  .drawer-tagline {
    margin-top: 16px;
    font-size: 8px;
  }

  .hero,
  .hero__inner {
    min-height: 675px;
  }

  .hero::before {
    display: none;
  }

  .hero__inner {
    align-items: flex-start;
  }

  .hero__content {
    width: 100%;
    max-width: none;
    padding: 48px 0 44px;
  }

  .hero__content::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0 -20px 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0, rgba(255, 255, 255, 0.94) 63%, rgba(255, 255, 255, 0.2) 100%);
  }

  .eyebrow {
    max-width: 300px;
    margin-bottom: 14px;
    font-size: 8px;
    letter-spacing: 2.3px;
    line-height: 1.6;
  }

  .eyebrow span {
    width: 29px;
  }

  .hero h1 {
    max-width: 355px;
    font-size: clamp(36px, 10.5vw, 45px);
    letter-spacing: -1.8px;
    line-height: 1.03;
  }

  .hero__description {
    max-width: 335px;
    margin-top: 17px;
    font-size: 14px;
    line-height: 1.55;
  }

  .hero__values {
    grid-template-columns: repeat(3, 1fr);
    max-width: 390px;
    gap: 8px;
    margin-top: 23px;
  }

  .value-item {
    display: block;
  }

  .value-item__icon {
    width: 38px;
    height: 38px;
    margin-bottom: 7px;
  }

  .value-item__icon svg {
    width: 21px;
    height: 21px;
  }

  .value-item strong {
    max-width: 102px;
    font-size: 10px;
  }

  .value-item small {
    display: none;
  }

  .hero__actions {
    max-width: 355px;
    gap: 10px;
    margin-top: 26px;
  }

  .hero__actions .button {
    min-height: 49px;
    flex: 1;
    padding-inline: 14px;
    font-size: 11px;
  }

  .hero__actions .button__arrow {
    display: none;
  }

  .hero__media {
    z-index: 0;
    width: 100%;
    clip-path: none;
    filter: none;
  }

  .hero__media img {
    object-position: 62% center;
  }

  .hero__media::after {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0, rgba(255, 255, 255, 0.9) 58%, rgba(255, 255, 255, 0.12) 100%);
  }

  .hero__media-label {
    display: none;
  }

  .hero__corner {
    width: 135px;
    height: 100px;
    padding-bottom: 15px;
    font-size: 6px;
    letter-spacing: 2px;
  }

  .footer__main {
    display: grid;
    grid-template-columns: 1fr;
    gap: 29px;
    padding-top: 46px;
    padding-bottom: 38px;
  }

  .footer-brand {
    grid-row: auto;
  }

  .brand--footer {
    width: 227px;
    height: 58px;
  }

  .brand--footer img {
    width: 242px;
    height: 81px;
  }

  .footer-brand > p {
    max-width: 320px;
    font-size: 12px;
  }

  .footer-tagline {
    margin-top: 18px;
  }

  .footer-column h2 {
    font-size: 15px;
  }

  .footer-links ul,
  .footer-products ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 18px;
  }

  .footer-column li a {
    font-size: 11px;
  }

  .footer-contact,
  .footer-social {
    grid-column: auto;
  }

  .footer-contact address {
    gap: 11px;
  }

  .footer-social__rule {
    margin-block: 18px;
  }

  .footer__bottom-inner {
    min-height: 82px;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    padding-block: 13px;
    text-align: center;
  }

  .footer__bottom p,
  .footer__bottom nav a {
    font-size: 9px;
  }

  .footer__bottom nav a {
    padding: 0 10px;
  }
}

@media (max-width: 430px) {
  .container {
    width: calc(100% - 40px);
  }

  .hero,
  .hero__inner {
    min-height: 648px;
  }

  .hero__content {
    padding-top: 42px;
  }

  .hero h1 {
    font-size: clamp(34px, 10vw, 40px);
  }

  .hero__description {
    max-width: 310px;
    font-size: 13px;
  }

  .hero__actions {
    max-width: 330px;
  }

  .hero__actions .button {
    padding-inline: 10px;
    font-size: 10px;
  }

  .play-icon {
    width: 19px;
    height: 19px;
  }

  .footer-links ul,
  .footer-products ul {
    column-gap: 10px;
  }
}

@media (max-width: 374px) {
  .container {
    width: calc(100% - 32px);
  }

  .brand--header {
    width: 202px;
  }

  .mobile-drawer {
    width: 94vw;
    padding-inline: 17px;
  }

  .hero__content {
    padding-top: 36px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }
}
