:root {
  --blue: #4d5dff;
  --violet: #5750aa;
  --cyan: #1fb8ff;
  --ink: #0c1020;
  --muted: #686a76;
  --container: 1504px;
  --header-h: 88px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background: #fff;
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

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

p,
h1,
h2,
h3,
span,
li,
a {
  overflow-wrap: anywhere;
}

button {
  font: inherit;
}

.container {
  width: min(var(--container), calc(100% - 80px));
  margin-inline: auto;
  max-width: 100%;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  height: var(--header-h);
  color: #fff;
  transition:
    background 0.24s ease,
    box-shadow 0.24s ease;
}

.site-header.is-scrolled {
  background: rgba(1, 5, 12, 0.9);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
}

.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 34px;
}

.brand {
  width: 250px;
  flex: 0 0 auto;
}

.brand img {
  width: 250px;
  height: 72px;
  object-fit: contain;
}

.site-nav {
  flex: 1;
  display: flex;
  justify-content: center;
  gap: 50px;
}

.site-nav a {
  position: relative;
  font-size: 17px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.96);
  white-space: nowrap;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;
  width: 0;
  height: 3px;
  border-radius: 999px;
  background: var(--blue);
  transform: translateX(-50%);
  transition: width 0.2s ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: #5966ff;
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
  width: 28px;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 16px;
  font-weight: 800;
}

.login-link {
  height: 35px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 17px;
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 999px;
}

.login-link svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  border-radius: 999px;
}

.hero {
  position: relative;
  min-height: 1024px;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(
      90deg,
      rgba(0, 6, 8, 0.98) 0%,
      rgba(0, 7, 10, 0.95) 48%,
      rgba(0, 7, 10, 0.58) 100%
    ),
    radial-gradient(
      ellipse 900px 450px at 75% 55%,
      rgba(0, 190, 255, 0.24),
      transparent 68%
    ),
    #020607;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      115deg,
      transparent 0 53%,
      rgba(24, 178, 255, 0.13) 53% 54%,
      transparent 55%
    ),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.018) 0 1px,
      transparent 1px 80px
    );
  opacity: 0.56;
  pointer-events: none;
}

.hero__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 340px 250px at 87% 39%,
      rgba(0, 213, 255, 0.36),
      transparent 68%
    ),
    radial-gradient(
      ellipse 660px 260px at 74% 77%,
      rgba(0, 147, 255, 0.28),
      transparent 72%
    );
  mix-blend-mode: screen;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  min-height: 1024px;
  display: grid;
  grid-template-columns: 1fr 650px;
  align-items: start;
}

.hero__copy {
  position: relative;
  z-index: 2;
  padding-top: 248px;
}

.hero h1 {
  margin: 0;
  color: #8a8cff;
  font-size: 66px;
  font-weight: 950;
  font-style: italic;
  line-height: 1;
  letter-spacing: 0;
  text-shadow:
    0 4px 0 #2937e0,
    0 10px 22px rgba(0, 0, 0, 0.56),
    5px 0 0 rgba(255, 255, 255, 0.78);
  transform: skewX(-8deg);
}

.hero-services {
  display: grid;
  grid-template-columns: repeat(4, 190px);
  gap: 26px;
  margin-top: 78px;
}

.hero-service {
  display: grid;
  justify-items: center;
  gap: 12px;
  color: #fff;
  text-align: center;
}

.hero-service img {
  width: 126px;
  height: 88px;
  object-fit: contain;
  border-radius: 50%;
  filter: brightness(1.08) drop-shadow(0 16px 16px rgba(50, 69, 255, 0.3));
  mix-blend-mode: screen;
}

.hero-service span {
  font-size: 28px;
  font-weight: 900;
  line-height: 1.1;
  white-space: nowrap;
}

.hero__cta {
  width: 288px;
  height: 102px;
  display: inline-grid;
  place-items: center;
  margin-top: 82px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  color: #fff;
  font-size: 43px;
  font-weight: 950;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.hero__cta:hover {
  background: rgba(77, 93, 255, 0.2);
  transform: translateY(-2px);
}

.hero__copy p {
  width: 720px;
  /* margin: 86px 0 0 4px; */
  font-size: 16px;
  font-weight: 800;
  line-height: 1.34;
}

.hero-dots {
  display: flex;
  justify-content: center;
  gap: 18px;
  width: 100%;
  margin-top: 35px;
}

.hero-dots button {
  width: 15px;
  height: 15px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
}

.hero-dots button.is-active {
  background: #fff;
}

.hero__device {
  position: absolute;
  right: 0;
  bottom: 8px;
  width: 650px;
  height: auto;
  z-index: 1;
}

.hero__mark {
  position: absolute;
  right: 26px;
  bottom: 42px;
  z-index: 2;
  font-size: 10px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.9);
}

.case-section {
  padding: 47px 0 0;
  background: #fff;
}

.case-section + .case-section {
  padding-top: 54px;
}

.section-title {
  margin-bottom: 46px;
  text-align: center;
}

.section-title h2 {
  margin: 0;
  font-size: 37px;
  font-weight: 950;
  font-style: italic;
  line-height: 1.1;
  transform: skewX(-8deg);
}

.section-title p {
  margin: 7px 0 0;
  color: #696a72;
  font-size: 26px;
  line-height: 1.25;
}

.showcase {
  position: relative;
  height: 371px;
  display: grid;
  grid-template-columns: 520px 1fr;
  overflow: hidden;
  border-radius: 18px;
  background: #172238;
  box-shadow: 0 8px 20px rgba(21, 28, 50, 0.08);
}

.showcase > *,
.showcase__visual > *,
.case-strip > *,
.app-cases > * {
  min-width: 0;
}

.showcase--app {
  grid-template-columns: 1fr 520px;
}

.showcase--web {
  grid-template-columns: 1fr 520px;
}

.showcase__intro {
  position: relative;
  height: 100%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  /* justify-content: center; */
  padding: 42px 42px 42px 48px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(11, 20, 44, 0.86), rgba(11, 20, 44, 0.72)),
    url("../assets/hx-1-bg.png") center / cover;
}

.showcase--sand .showcase__intro {
  background:
    linear-gradient(90deg, rgba(10, 10, 12, 0.74), rgba(12, 14, 19, 0.82)),
    url("../assets/sp-bg.png") center / cover;
}

.showcase--app .showcase__intro--right {
  background:
    linear-gradient(90deg, rgba(17, 22, 29, 0.82), rgba(7, 10, 18, 0.78)),
    url("../assets/app-bg.png") center / cover;
}

.showcase__intro--right {
  background:
    linear-gradient(90deg, rgba(17, 22, 29, 0.82), rgba(7, 10, 18, 0.78)),
    url("../assets/gw-bg.png") center / cover;
}

.showcase--web .showcase__intro--right {
  background:
    linear-gradient(90deg, rgba(17, 22, 29, 0.82), rgba(7, 10, 18, 0.78)),
    url("../assets/gw-bg.png") center / cover;
}

.showcase__intro p {
  margin: 0;
  font-size: 18px;
  line-height: 1.5;
}

.showcase__intro p + p {
  margin-top: 28px;
}

.showcase__intro a {
  width: 220px;
  height: 62px;
  display: inline-grid;
  place-items: center;
  margin-top: 28px;
  border: 2px solid rgba(141, 128, 255, 0.9);
  border-radius: 999px;
  color: #a299ff;
  font-size: 24px;
  font-weight: 900;
  background: rgba(8, 13, 35, 0.28);
}

.showcase__visual {
  position: relative;
  min-width: 0;
  min-height: 360px;
  overflow: hidden;
  background: #f5f5f5;
}

.showcase__visual > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.showcase--software .showcase__visual,
.showcase--app .showcase__visual,
.showcase--sand .showcase__visual,
.showcase--web .showcase__visual {
  padding: 0;
  min-height: 371px;
  height: 371px;
  --case-accordion-active-width: 490px;
  background:
    radial-gradient(
      circle at 12% 16%,
      rgba(77, 93, 255, 0.22),
      transparent 34%
    ),
    radial-gradient(
      circle at 84% 22%,
      rgba(31, 184, 255, 0.18),
      transparent 28%
    ),
    linear-gradient(180deg, #07111f, #0b1324);
}

.showcase--app .case-accordion__item img {
  object-fit: cover;
  object-position: center top;
}

.case-accordion {
  display: flex;
  gap: 0;
  width: 100%;
  min-height: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 18px;
}

.case-accordion__item {
  position: relative;
  flex: 0 0 auto;
  width: calc((100% - var(--case-accordion-active-width)) / 2);
  min-width: 0;
  overflow: hidden;
  border-radius: 0;
  cursor: pointer;
  transition: width 0.42s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.case-accordion__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: none;
}

.case-accordion__item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.35));
  pointer-events: none;
  opacity: 0.18;
}

.case-accordion__item:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.82);
  outline-offset: -2px;
}

.case-accordion__item:hover,
.case-accordion__item.is-active {
  width: var(--case-accordion-active-width);
}

.case-accordion__item:not(.is-active) {
  width: calc((100% - var(--case-accordion-active-width)) / 2);
}

.case-strip {
  display: grid;
  grid-template-columns: 0.82fr 1fr 0.9fr 0.85fr;
  background: #f7f9fd;
}

.case-panel {
  position: relative;
  min-width: 0;
  padding: 34px 28px 28px;
  color: #fff;
  overflow: hidden;
}

.case-panel h3 {
  margin: 0;
  font-size: 34px;
  font-weight: 950;
  line-height: 1;
}

.case-panel span {
  display: block;
  margin-top: 10px;
  font-size: 16px;
  font-weight: 800;
}

.case-panel p {
  margin: 24px 0 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.75;
}

.case-panel a,
.app-case a {
  width: 130px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: #fff;
  color: #1687ce;
  border: 1px solid rgba(31, 184, 255, 0.65);
  font-size: 17px;
  font-weight: 800;
}

.case-panel a {
  position: absolute;
  left: 28px;
  bottom: 24px;
}

.case-panel--blue {
  background: #3b8cd7;
}

.case-panel--cyan {
  background: #25bce6;
}

.case-panel--green {
  background: #08af55;
}

.case-device {
  position: relative;
  margin: 0;
  min-width: 0;
  overflow: hidden;
  background: #e9f1ff;
}

.case-device img {
  width: 112%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

.app-cases {
  display: grid;
  grid-template-columns: minmax(420px, 0.64fr) minmax(300px, 0.36fr);
  align-items: stretch;
  background:
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.92),
      rgba(243, 244, 238, 0.92)
    ),
    #f3f6f0;
}

.app-case {
  position: relative;
  min-width: 0;
  overflow: hidden;
}

.app-case--main {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  min-height: 360px;
  padding: 38px 28px 0 54px;
  color: #fff;
  background:
    radial-gradient(circle at 76% 54%, #ed7add 0 86px, transparent 88px),
    radial-gradient(circle at 58% 60%, #ea4fd2 0 18px, transparent 20px),
    linear-gradient(135deg, #19bd75, #12c76b);
}

.app-case--main h3,
.app-case--soft h3 {
  margin: 0;
  font-size: 34px;
  font-weight: 950;
  line-height: 1.1;
}

.app-case--main p,
.app-case--soft p {
  margin: 8px 0 0;
  font-size: 16px;
  font-weight: 800;
}

.app-case__phone {
  align-self: end;
  width: 260px;
  height: auto;
  max-width: none;
  transform: translateX(-20px);
}

.app-case--main a {
  position: absolute;
  left: 54px;
  bottom: 26px;
  color: #12a95e;
  border-color: rgba(18, 201, 107, 0.6);
}

.app-case--soft {
  padding: 38px 26px 0;
  color: #c7af7b;
  background: #f5f1dc;
}

.app-case--soft img {
  position: absolute;
  right: -18px;
  bottom: -6px;
  width: 205px;
  height: auto;
}

.screen-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.slogan-band {
  margin-top: 86px;
  padding: 80px 0 86px;
  color: #fff;
  text-align: center;
  background:
    radial-gradient(
      ellipse 980px 150px at 50% 100%,
      rgba(68, 181, 255, 0.46),
      transparent 72%
    ),
    linear-gradient(rgba(31, 70, 215, 0.78), rgba(37, 54, 178, 0.92)),
    linear-gradient(
      90deg,
      transparent 49.8%,
      rgba(255, 255, 255, 0.4) 50%,
      transparent 50.2%
    ),
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.16) 0 1px,
      transparent 1px 42px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.16) 0 1px,
      transparent 1px 56px
    ),
    #2434bf;
  background-blend-mode: screen, normal, normal, normal, normal, normal;
  overflow: hidden;
}

.slogan-band .container {
  display: grid;
  gap: 12px;
}

.slogan-band strong {
  font-size: 32px;
  font-weight: 950;
  line-height: 1.2;
  text-shadow: 0 3px 8px rgba(0, 0, 0, 0.28);
}

.service-section {
  padding: 78px 0 104px;
  background: #fff;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 70px;
}

.service-card {
  overflow: hidden;
  border-radius: 8px;
  background: #f7f7f8;
  box-shadow: 0 6px 18px rgba(27, 32, 53, 0.08);
}

.service-card__head {
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 42px;
  color: #fff;
  background-image: url("../assets/dy-bg.png");
  background-size: cover;
  background-position: center;
}

.service-card h3 {
  margin: 0;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.7;
}

.service-card__head span {
  width: 78px;
  height: 78px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 8px solid #fff;
  border-radius: 50%;
  color: #fff;
  font-size: 26px;
  font-weight: 950;
  text-shadow: 0 2px 0 rgba(55, 47, 140, 0.7);
}

.service-card ul {
  min-height: 360px;
  margin: 0;
  padding: 34px 45px 0 76px;
  color: #656772;
  list-style: none;
}

.service-card li {
  position: relative;
  margin-bottom: 36px;
  font-size: 18px;
  line-height: 1.75;
}

.service-card li::before {
  content: "";
  position: absolute;
  left: -42px;
  top: 4px;
  width: 26px;
  height: 26px;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  background: linear-gradient(135deg, #16b9f1, #25c995);
}

.service-card li:nth-child(1)::after,
.service-card li:nth-child(2)::after,
.service-card li:nth-child(3)::after {
  position: absolute;
  left: -39px;
  top: 9px;
  color: #fff;
  font-size: 10px;
  font-weight: 900;
}

.service-card li:nth-child(1)::after {
  content: "01";
}

.service-card li:nth-child(2)::after {
  content: "02";
}

.service-card li:nth-child(3)::after {
  content: "03";
}

.service-card a {
  width: calc(100% - 56px);
  height: 60px;
  display: grid;
  place-items: center;
  margin: 0 28px 46px;
  border-radius: 999px;
  color: #fff;
  background: #514ba0;
  font-size: 20px;
  font-weight: 800;
}

.site-footer {
  position: relative;
  padding: 46px 0 24px;
  color: #e5e7eb;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.98)),
    url("../assets/footer-bg.jpg") center / cover no-repeat,
    #02030a;
}

.footer__grid {
  display: grid;
  grid-template-columns: 0.9fr 0.82fr 0.82fr 2.4fr 1fr;
  gap: 60px;
}

.footer__col h3,
.footer__contact h3,
.footer__qr h3 {
  margin: 0 0 28px;
  color: #fff;
  font-size: 17px;
  font-weight: 900;
}

.footer__col a,
.footer__contact p,
.footer__qr p {
  display: block;
  margin: 0 0 17px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 15px;
}

.footer__phone {
  display: inline-block;
  margin: -8px 0 20px;
  color: #fff;
  font-size: 34px;
  font-weight: 400;
  letter-spacing: 0.03em;
}

.footer__qr img {
  width: 132px;
  height: 132px;
  object-fit: cover;
}

.footer__qr p {
  margin-top: 16px;
  text-align: center;
}

.copyright {
  margin: 36px 0 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.case-section--reveal .section-title,
.case-section--reveal .showcase__intro,
.case-section--reveal .showcase__visual {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.58s ease,
    transform 0.58s ease;
}

.case-section--reveal.is-revealed .section-title {
  opacity: 1;
  transform: none;
  transition-delay: 0s;
}

.case-section--reveal.is-revealed .showcase__intro {
  opacity: 1;
  transform: none;
  transition-delay: 0.1s;
}

.case-section--reveal.is-revealed .showcase__visual {
  opacity: 1;
  transform: none;
  transition-delay: 0.2s;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.58s ease,
    transform 0.58s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .case-section--reveal .section-title,
  .case-section--reveal .showcase__intro,
  .case-section--reveal .showcase__visual,
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 1380px) {
  :root {
    --container: 1180px;
  }

  .site-nav {
    gap: 28px;
  }

  .hero__inner {
    grid-template-columns: 1fr 520px;
  }

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

  .hero-services {
    grid-template-columns: repeat(4, 150px);
    gap: 26px;
  }

  .hero-service span {
    font-size: 22px;
  }

  .hero__device {
    right: -120px;
    width: 680px;
  }

  .showcase,
  .showcase--sand {
    grid-template-columns: 440px 1fr;
  }

  .showcase--app,
  .showcase--web {
    grid-template-columns: 1fr 440px;
  }

  .showcase__intro p {
    font-size: 18px;
  }

  .service-grid {
    gap: 34px;
  }
}

@media (max-width: 1024px) {
  .container {
    width: min(calc(100% - 44px), var(--container));
  }

  .site-header {
    height: 76px;
  }

  .brand,
  .brand img {
    width: 210px;
    height: 60px;
  }

  .nav-toggle {
    display: block;
  }

  .header__actions {
    display: none;
  }

  .site-nav {
    position: fixed;
    inset: 76px 0 auto;
    display: grid;
    gap: 0;
    padding: 12px 22px 20px;
    background: rgba(2, 5, 12, 0.96);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition:
      transform 0.24s ease,
      opacity 0.24s ease;
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a {
    padding: 13px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

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

  .hero__inner {
    display: block;
  }

  .hero__copy {
    padding-top: 150px;
  }

  .hero-services {
    grid-template-columns: repeat(2, 190px);
  }

  .hero__copy p {
    width: min(680px, 100%);
  }

  .hero__device {
    width: 620px;
    opacity: 0.52;
  }

  .showcase {
    height: auto;
    grid-template-columns: 1fr;
    gap: 14px;
    overflow: visible;
    background: transparent;
    box-shadow: none;
  }

  .case-section .showcase__intro {
    order: -1;
    height: auto;
    min-height: 0;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(21, 28, 50, 0.08);
  }

  .case-section .showcase__visual {
    min-height: 0;
    height: auto;
    padding: 0;
    background: transparent;
    border-radius: 0;
  }

  .case-accordion {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
    height: auto;
    min-height: 0;
    overflow: visible;
    border-radius: 0;
  }

  .case-accordion__item,
  .case-accordion__item.is-active,
  .case-accordion__item:not(.is-active) {
    width: 100%;
    height: auto;
    min-height: 0;
    flex: unset;
    border-radius: 12px;
    overflow: hidden;
    cursor: default;
    box-shadow: 0 4px 14px rgba(21, 28, 50, 0.1);
    transition: none;
  }

  .case-accordion__item::before {
    opacity: 0.1;
  }

  .case-accordion__item img {
    display: block;
    width: 100%;
    /* aspect-ratio: 16 / 10; */
    height: auto;
    object-fit: cover;
  }

  .case-accordion__item:focus-visible {
    outline: none;
  }

  .case-strip,
  .app-cases {
    grid-template-columns: 1fr 1fr;
  }

  .service-grid,
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 700px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .brand,
  .brand img {
    width: 178px;
    height: 52px;
  }

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

  .hero h1 {
    font-size: 39px;
    line-height: 1.18;
  }

  .hero-services {
    grid-template-columns: 1fr;
    width: min(240px, 100%);
    gap: 18px;
    margin-top: 50px;
  }

  .hero-service img {
    width: 104px;
    height: 76px;
  }

  .hero-service span {
    font-size: 18px;
    white-space: normal;
  }

  .hero__cta {
    width: 212px;
    height: 78px;
    margin-top: 52px;
    font-size: 32px;
  }

  .hero__copy p {
    /* margin-top: 42px; */
    width: min(330px, calc(100vw - 56px));
    max-width: calc(100vw - 56px);
    font-size: 12px;
    line-height: 1.55;
  }

  .hero__device {
    right: -220px;
    width: 560px;
  }

  .section-title h2 {
    font-size: 30px;
  }

  .section-title p {
    width: min(320px, calc(100vw - 48px));
    max-width: calc(100vw - 48px);
    margin-inline: auto;
    font-size: 19px;
    word-break: break-all;
  }

  .showcase__intro {
    padding: 24px 22px;
  }

  .showcase__intro p {
    width: min(100%, calc(100vw - 72px));
    max-width: calc(100vw - 72px);
    font-size: 14px;
    line-height: 1.72;
    word-break: break-all;
  }

  .case-panel p {
    width: min(100%, calc(100vw - 72px));
    max-width: calc(100vw - 72px);
    font-size: 12px;
    line-height: 1.72;
    word-break: break-all;
  }

  .hero__copy p,
  .showcase__intro p,
  .case-panel p,
  .app-case p,
  .footer__contact p {
    white-space: normal !important;
    word-break: break-all !important;
    overflow-wrap: anywhere !important;
    line-break: anywhere;
  }

  .showcase,
  .case-strip,
  .app-cases,
  .showcase__intro,
  .case-panel,
  .app-case {
    width: 100%;
    max-width: 100%;
  }

  .case-panel h3,
  .app-case--main h3,
  .app-case--soft h3 {
    font-size: 30px;
  }

  .showcase__intro--right {
    min-height: 0;
  }

  .case-accordion {
    grid-template-columns: 1fr;
  }

  .showcase__intro a {
    width: 180px;
    height: 52px;
    font-size: 20px;
  }

  .case-strip,
  .app-cases {
    grid-template-columns: 1fr;
  }

  .case-panel {
    min-height: 300px;
  }

  .app-case--main {
    grid-template-columns: 1fr;
    min-height: 430px;
    padding: 28px 24px 0;
  }

  .app-case__phone {
    justify-self: end;
    width: 240px;
    transform: none;
  }

  .app-case--main a {
    left: 24px;
  }

  .app-case--soft {
    min-height: 280px;
  }

  .slogan-band {
    margin-top: 58px;
    padding: 62px 0;
  }

  .slogan-band strong {
    font-size: 25px;
  }

  .service-grid,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .service-grid {
    gap: 28px;
  }

  .service-card__head {
    padding: 28px;
  }

  .service-card h3 {
    font-size: 24px;
  }

  .service-card ul {
    min-height: 0;
    padding: 30px 30px 0 66px;
  }

  .footer__grid {
    gap: 30px;
  }
}
