
:root {
  --bg: #000;
  --bg-solid: #000;
  --color-1a1a1a: #1a1a1a;
  --color-c7c7c7: #c7c7c7;
  --modal-text-color: #282828;
  --color-ccc: #ccc;
  --color-fff: #fff;
  --color-ffffff: #ffffff;
  --color-rgba-255-255-255-0-02: rgba(255, 255, 255, 0.02);
  --cta-font-size: 15px;
  --cta-glow: 0 0 18px rgba(255, 255, 255, 0.7), 0 0 10px rgba(255, 255, 255, 0.55), 0 0 24px rgba(255, 255, 255, 0.4);
  --cta-neon-a: #ffffff;
  --cta-neon-b: #9ed5ff;
  --cta-neon-c: #dde2ff;
  --cta-neon-d: #ffe8b5;
  --cta-gradient-base: linear-gradient(
    130deg,
    #00f6ff 0%,
    #00c7ff 28%,
    #008cff 60%,
    #00f0d7 100%
  );
  --cta-border-radius: var(--size-30px);
  --cta-padding-x: 20px;
  --cta-padding-y: 4px;
  --cta-solid-bg: var(--color-c7c7c7);
  --cta-solid-bg-hover: #d6d6d6;
  --cta-solid-bg-active: #bbbbbb;
  --cta-text-color: var(--color-1a1a1a);
  --cta-gradient-duration: 3.8s;
  --cta-gradient-easing: cubic-bezier(0.55, 0, 0.18, 1);
  --cta-gradient-position-start: -210% 52%, 50% 50%;
  --cta-gradient-sheen: linear-gradient(
    132deg,
    rgba(255, 255, 255, 0.88) 0%,
    rgba(192, 255, 255, 0.42) 26%,
    rgba(0, 198, 255, 0.26) 52%,
    rgba(255, 255, 255, 0.08) 72%,
    rgba(255, 255, 255, 0.32) 86%,
    rgba(255, 255, 255, 0) 100%
  );
  --cta-gradient-size: 230% 200%, 150% 135%;
  --cta-outline: rgba(0, 214, 255, 0.55);
  --fg: #ff0000;
  --global--size: clamp(1.5rem, 3vw, 4rem);
  --gradient-text-padding: 20px;
  --header-max-width: calc(1170px + var(--site-gutter) * 2);
  --metallic-gold-base: linear-gradient(
    104deg,
    #1b0600 0%,
    #361000 12%,
    #7a2200 24%,
    #c64200 36%,
    #ff7f00 46%,
    #ffb400 56%,
    #ff9000 66%,
    #ff6a00 76%,
    #d24b00 88%,
    #401100 100%
  );
  --metallic-gold-duration: 5.2s;
  --metallic-gold-easing: cubic-bezier(0.55, 0, 0.24, 1);
  --metallic-gold-position-start: -205% 48%, 48% 52%;
  --metallic-gold-shadow: 0 0 10px rgba(255, 176, 64, 0.42), 0 0 3px rgba(255, 120, 16, 0.36);
  --metallic-gold-sheen: linear-gradient(
    128deg,
    rgba(255, 255, 255, 0.78) 0%,
    rgba(255, 210, 140, 0.58) 18%,
    rgba(255, 180, 60, 0.32) 34%,
    rgba(255, 140, 0, 0.22) 50%,
    rgba(255, 214, 140, 0.46) 64%,
    rgba(255, 150, 32, 0.28) 78%,
    rgba(255, 255, 210, 0.36) 88%,
    rgba(255, 255, 255, 0) 100%
  );
  --metallic-gold-size: 340% 280%, 220% 180%;
  --site-gutter: 16px;
  --size-1-5px: 1.5px;
  --size-100: 100%;
  --size-100vh: 100vh;
  --size-100vw: 100vw;
  --size-10px: 10px;
  --size-1200px: 1200px;
  --size-120px: 120px;
  --size-12px: 12px;
  --size-14px: 14px;
  --size-180px: 180px;
  --size-18px: 18px;
  --size-200px: 200px;
  --size-220px: 220px;
  --size-22px: 22px;
  --size-250px: 250px;
  --size-25px: 25px;
  --size-260px: 260px;
  --size-280px: 280px;
  --size-28px: 28px;
  --size-2px: 2px;
  --size-300px: 300px;
  --size-30px: 30px;
  --size-320px: 320px;
  --size-32px: 32px;
  --size-3px: 3px;
  --size-400px: 400px;
  --size-40px: 40px;
  --size-44px: 44px;
  --size-50: 50%;
  --size-50px: 50px;
  --size-55px: 55px;
  --size-60px: 60px;
  --size-6px: 6px;
  --size-8px: 8px;
  --tk-item-peek: 110px;
  /* default peek space (adjustable) */
}

.connect-modal-container {
  position: fixed;
  inset: 0;
  z-index: 200000;
  width: 100vw;
  height: 100vh;
  display: grid;
  background: transparent;
}

.connect-modal-container[hidden] {
  display: none;
}

#connectModalFrame {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.connect-modal-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(6, 7, 12, 0.72);
  backdrop-filter: blur(22px) saturate(140%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.connect-modal-container.is-open .connect-modal-backdrop {
  opacity: 1;
}
/* Create symmetric leading/trailing space so first and last items
   can peek equally when the grid is scrolled. The spacer width is
   based on --tk-item-peek which defaults to half the item width. */
@font-face {
  font-display: swap;
  font-family: 'Futura XBlkCnIt BT';
  font-style: italic;
  font-weight: 900;
  src: url('fonts/Futura XBlkCnIt BT Extra Black Italic.woff2') format('woff2'),
       url('fonts/Futura XBlkCnIt BT Extra Black Italic.woff') format('woff');
}
@font-face {
  font-display: swap;
  font-family: 'SFProDisplay';
  font-style: normal;
  font-weight: normal;
  src: url('fonts/SFProDisplay-Regular.woff2') format('woff2'),
       url('fonts/SFProDisplay-Regular.woff') format('woff');
}
/* Provide a normal-style mapping for the same Futura file so browsers
   that strictly match style/weight (Safari) can use the font when
   elements request non-italic/normal style but high weight.
*/
@font-face {
  font-display: swap;
  font-family: 'Futura XBlkCnIt BT';
  font-style: normal;
  font-weight: 900;
  src: url('fonts/Futura XBlkCnIt BT Extra Black Italic.woff2') format('woff2'),
       url('fonts/Futura XBlkCnIt BT Extra Black Italic.woff') format('woff');
}
* {
  -moz-user-select: none;
  -ms-user-select: none;
  -webkit-overflow-scrolling: touch;
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
  box-sizing: border-box;
  margin: 0;
  overscroll-behavior: none;
  padding: 0;
  user-select: none;
}
html {
  -webkit-overflow-scrolling: touch;
  background-color: var(--bg);
  max-width: var(--size-100);
  overflow-x: hidden;
  overscroll-behavior: none;
}

#portfolio {
  scroll-margin-top: clamp(220px, 58vh, 620px);
}
body {
  -webkit-overflow-scrolling: touch;
  animation: gradient-shift 45s ease-in-out infinite;
  background: linear-gradient(
    135deg,
    #040405 0%,
    #090a0f 22%,
    #11131a 48%,
    #16121b 74%,
    #050506 100%
  );
  background-attachment: fixed;
  background-size: 400% 400%;
  color: var(--fg);
  font-family: 'SFProDisplay', 'OpenSans', sans-serif;
  font-size: var(--cta-font-size);
  letter-spacing: normal;
  line-height: 1.4;
  max-width: var(--size-100);
  min-height: var(--size-100vh);
  overflow-x: hidden;
  overscroll-behavior: none;
  overscroll-behavior-y: none;
  position: relative;
}
.hero-head {
  margin: 0;
  max-width: var(--size-100);
  padding: 0;
  position: relative;
  text-align: center;
  z-index: 3;
}

.hero-title {
  --metallic-gold-duration: 5.6s;
  --metallic-gold-easing: cubic-bezier(0.48, 0, 0.24, 1);
  --metallic-gold-shadow: 0 0 14px rgba(255, 196, 96, 0.45), 0 0 5px rgba(255, 142, 28, 0.38);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation-play-state: running;
  background-clip: text;
  background-origin: border-box;
  color: transparent;
  font-family: 'Futura XBlkCnIt BT', sans-serif !important;
  font-size: 80px !important;
  font-style: italic;
  font-weight: 900;
  line-height: 0.9;
  overflow: visible;
  padding-left: var(--size-32px);
  padding-right: var(--size-32px);
  position: relative;
  text-align: center;
  /* Предотвращение обрезки текста с background-clip */
  /* Альтернативно использовать утилитарный класс: */
  /* @extend .gradient-text-animated; */
}
.hero-title-small {
  -webkit-background-clip: inherit !important;
  -webkit-text-fill-color: inherit !important;
  animation: inherit !important;
  background: inherit !important;
  background-clip: inherit !important;
  color: inherit !important;
  display: block;
  font-size: var(--size-22px);
  font-style: normal;
  font-weight: 600;
  letter-spacing: normal;
  line-height: 1;
  margin-bottom: var(--site-gutter);
  text-shadow: inherit;
  text-transform: uppercase;
}
.hero-sub {
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background: linear-gradient(135deg, #c0c0c0 0%, #b5b5b5 50%, #a8a8a8 100%);
  background-clip: text;
  color: var(--color-ffffff) !important;
  font-size: var(--size-22px) !important;
  font-size: var(--size-22px);
  line-height: 1.2;
  margin-top: var(--gradient-text-padding);
  text-align: center;
}
.sub-container {
  align-items: center;
  display: flex;
  flex: 1;
  justify-content: flex-end;

}
.how-it-works .toolkit-head.is-stacked .sub-container {
  justify-content: center;
  width: var(--size-100);
}
.hero-cta {
  margin-top: var(--size-40px);
  text-align: center;
}
.toolkit-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
  width: var(--size-100);
}
.grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gradient-text-padding);
  justify-content: flex-start;
  margin: 0 auto;
  max-width: var(--size-1200px);
  padding-left: var(--size-32px);
  padding-right: var(--size-32px);
  width: var(--size-100);
}
.hero-kicker {
  display: block;
  font-size: var(--size-22px);
  font-weight: normal;
  margin-bottom: 0px;
  padding-bottom: 0px;
}
.hero {
  align-items: center;
  border: none;
  display: flex;
  justify-content: center;
  margin-bottom: 0;
  margin-top: 0;
  max-width: var(--size-100);
  min-height: 60vh;
  overflow: hidden;
  overflow-x: visible;
  padding: 240px 0 140px 0;
  position: relative;
  /* Убедиться, что анимированный текст не обрезается контейнером */
}
/* How It Works - Infinite Scroll Container */
.how-it-works .infinite-scroll-container {
  -webkit-backface-visibility: hidden;
  -webkit-overflow-scrolling: touch;
  -webkit-transform: translateZ(0);
  backface-visibility: hidden;
  background: transparent;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  max-width: none;
  overflow: hidden;
  padding: 40px 0;
  position: relative;
  transform: translateZ(0);
  width: var(--size-100vw);
  /* GPU acceleration */
  /* Smooth scrolling on iOS */
  /* Prevent flickering */
}
/* Pause animation on hover for better UX */
.how-it-works .infinite-scroll-container:hover .infinite-scroll-track, .orbital-container:hover .orbital-track {
  animation-play-state: paused;
}
.how-it-works .toolkit-grid::before,
.how-it-works .toolkit-grid::after {
  content: '';
  display: block;
  flex: 0 0 var(--tk-item-peek);
  min-width: var(--tk-item-peek);
}
.how-it-works .toolkit-grid {
  cursor: grab;
}
/* Arrow connectors for How It Works section */
.arrow-connector {
  align-items: center;
  display: flex;
  flex-shrink: 0;
  height: var(--gradient-text-padding);
  justify-content: center;
  width: var(--gradient-text-padding);
  will-change: transform;
  /* Ensure arrows are visible during infinite scroll */
}
.arrow-connector::before {
  border-bottom: 6px solid transparent;
  border-left: 10px solid rgba(255, 255, 255, 0.3);
  border-top: 6px solid transparent;
  content: '';
  height: 0;
  left: var(--size-2px);
  position: relative;
  width: 0;
  /* Slight offset for centering */
}
/* Vertical arrows for mobile (downward pointing) */
.arrow-connector-vertical {
  align-items: center;
  display: flex;
  flex-shrink: 0;
  height: var(--gradient-text-padding);
  justify-content: center;
  width: var(--gradient-text-padding);
}
.arrow-connector-vertical::before {
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 12px solid rgba(255, 255, 255, 0.3);
  content: '';
  height: 0;
  position: relative;
  top: var(--size-2px);
  width: 0;
  /* Slight offset for centering */
}
/* Performance optimizations and cross-browser compatibility */
/* Orbital Container */
.orbital-container {
  align-items: center;
  display: flex;
  justify-content: center;
  margin: 60px 0;
  min-height: 500px;
  overflow: hidden;
  padding: 100px 0;
  position: relative;
  width: var(--size-100);
  /* Allow container to expand for larger orbital track */
}
/* Pause animation on hover */
/* ===== FOOTER STYLES ===== */
.site-footer {
  background: transparent;
  display: flex;
  justify-content: center;
  padding: clamp(4px, 1.6vw, 16px) 0 clamp(12px, 3vw, 24px);
}
.footer-inner {
  align-items: flex-start;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  display: flex;
  flex-wrap: wrap;
  column-gap: 0;
  row-gap: clamp(8px, 3vw, 18px);
  justify-content: center;
  margin: 0 auto;
  max-width: var(--header-max-width);
  padding: clamp(4px, 1.4vw, 12px) clamp(18px, 4vw, 44px) clamp(8px, 2.4vw, 16px);
  position: relative;
  text-align: center;
  width: min(calc(100% - (var(--site-gutter) * 2)), var(--header-max-width));
}
.footer-inner::before {
  background: linear-gradient(90deg, #e8e8e8 0%, #c7c7c7 50%, #a8a8a8 100%);
  content: '';
  height: var(--size-1-5px);
  left: calc(var(--size-32px) + 2px);
  pointer-events: none;
  position: absolute;
  right: calc(var(--size-32px) + 2px);
  top: 0;
  z-index: 0;
}
.footer-content {
  align-items: center;
  color: var(--color-fff);
  display: flex;
  flex-direction: column;
  gap: clamp(6px, 2.2vw, 18px);
  flex: 0 1 clamp(220px, 32vw, 360px);
  max-width: clamp(220px, 36vw, 360px);
  margin-top: clamp(6px, 2vw, 16px);
  text-align: center;
}
.footer-headline {
  color: var(--color-fff);
  font-family: 'Futura XBlkCnIt BT', sans-serif;
  font-size: var(--size-18px) !important;
  letter-spacing: 0;
  line-height: 1.2;
  margin: 0;
  text-transform: uppercase;
}
.footer-email {
  color: var(--color-fff);
  font-family: 'SFProDisplay', sans-serif;
  font-size: var(--cta-font-size) !important;
  letter-spacing: normal;
  line-height: 1.4 !important;
  text-decoration: none;
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.45), 0 0 18px rgba(158, 213, 255, 0.4);
  transition: color 0.25s ease, text-shadow 0.25s ease;
}
.footer-email:hover,
.footer-email:focus {
  color: #ff9000;
  text-shadow: 0 0 12px rgba(255, 168, 64, 0.7), 0 0 30px rgba(255, 126, 0, 0.55);
}
.footer-meta {
  color: rgba(255, 255, 255, 0.65);
  display: flex;
  flex-direction: column;
  gap: clamp(4px, 1.5vw, 8px);
  letter-spacing: normal;
  margin-top: auto;
  padding-top: clamp(28px, 5vw, 42px);
  text-align: center;
  text-transform: none;
  align-items: center;
}
.footer-meta p {
  font-family: 'SFProDisplay', sans-serif;
  font-size: 10px !important;
  line-height: 1.4 !important;
  margin: 0;
}
.footer-qr {
  align-items: center;
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;
  gap: clamp(12px, 3vw, 20px);
  margin-top: clamp(6px, 2vw, 16px);
  text-align: center;
}
.footer-qr-card {
  align-items: center;
  display: flex;
  justify-content: center;
  padding: 0;
  position: relative;
  text-decoration: none;
}
.footer-qr-card:focus-visible {
  outline: 2px solid rgba(158, 213, 255, 0.8);
  outline-offset: 6px;
}
.footer-qr-code,
.footer-qr-image {
  height: clamp(120px, 28vw, 180px);
  width: clamp(120px, 28vw, 180px);
}
.footer-qr-code {
  background: var(--cta-solid-bg);
  background-position: 50% 50%;
  background-size: 220% 220%;
  display: none;
  transform-origin: center;
  transition: transform 0.2s ease, background-position 0.35s ease, background-image 0.35s ease;
  will-change: transform, background-position;
  z-index: 0;
}
.footer-qr-image {
  display: block;
  position: relative;
  transition: transform 0.2s ease;
  z-index: 0;
}
.footer-qr-card:hover .footer-qr-code,
.footer-qr-card:focus-within .footer-qr-code {
  animation: ctaNeonFlow 2.4s linear infinite;
  background-image: linear-gradient(135deg, var(--cta-neon-a), var(--cta-neon-b), var(--cta-neon-c), var(--cta-neon-d), var(--cta-neon-a));
}
@supports ((-webkit-mask-image: linear-gradient(#000, #000)) or (mask-image: linear-gradient(#000, #000))) {
  .footer-qr-code {
    --qr-mask-size: contain;
    display: block;
    mask: var(--qr-mask) center / var(--qr-mask-size) no-repeat;
    -webkit-mask: var(--qr-mask) center / var(--qr-mask-size) no-repeat;
  }
  .footer-qr-image {
    display: none;
  }
  .footer-qr-card:hover .footer-qr-code,
  .footer-qr-card:focus-within .footer-qr-code {
    animation: ctaNeonFlow 2.4s linear infinite;
    background-image: linear-gradient(135deg, var(--cta-neon-a), var(--cta-neon-b), var(--cta-neon-c), var(--cta-neon-d), var(--cta-neon-a));
  }
}
.footer-qr-label {
  color: rgba(255, 255, 255, 0.9);
  display: inline-block;
  font-family: 'SFProDisplay', sans-serif;
  font-size: 10px !important;
  letter-spacing: 0.08em;
  line-height: 1.4 !important;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.2s ease;
}
.footer-qr-label:hover,
.footer-qr-label:focus-visible {
  color: var(--color-fff);
}

@media (max-width: 900px) {
  .footer-inner {
    column-gap: 0;
  }
  .footer-content {
    flex: 0 1 clamp(200px, 34vw, 280px);
    max-width: clamp(210px, 44vw, 300px);
  }
  .footer-qr {
    gap: clamp(8px, 2.6vw, 18px);
  }
  .footer-qr-code,
  .footer-qr-image {
    height: clamp(110px, 24vw, 150px);
    width: clamp(110px, 24vw, 150px);
  }
}

@media (min-width: 641px) and (max-width: 1023px) {
  .footer-inner {
    flex-wrap: nowrap;
    justify-content: space-between;
    padding-left: clamp(12px, 4vw, 28px);
    padding-right: clamp(12px, 4vw, 28px);
  }
  .footer-qr {
    flex: 0 1 clamp(140px, 22vw, 200px);
  }
  .footer-content {
    flex: 0 1 clamp(200px, 30vw, 320px);
    max-width: clamp(200px, 34vw, 320px);
  }
  .footer-qr-code,
  .footer-qr-image {
    height: clamp(110px, 20vw, 150px);
    width: clamp(110px, 20vw, 150px);
  }
}

@media (min-width: 1024px) {
  .footer-inner {
    align-items: center;
    column-gap: 0;
    flex-wrap: nowrap;
    justify-content: space-between;
  }
  .footer-content {
    text-align: center;
  }
  .footer-qr {
    align-self: center;
  }
}
.site-header {
  backdrop-filter: blur(50px);
  background: rgba(0, 0, 0, 0.1);
  border: 0.21px solid rgba(189, 189, 189, 0.135);
  border-radius: var(--size-50px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
  left: 50%;
  max-width: var(--header-max-width);
  position: fixed;
  right: auto;
  top: calc(env(safe-area-inset-top, 0) + 16px);
  transform: translate3d(-50%, 0, 0);
  transition: transform 0.6s ease-in-out;
  width: min(calc(100% - (var(--site-gutter) * 2)), var(--header-max-width));
  z-index: 1000;
}
.site-header.hidden {
  transform: translate3d(-50%, -110%, 0);
}
.site-header.visible {
  transform: translate3d(-50%, 0, 0);
}
.site-header.site-header--overlay {
  border-color: transparent;
  box-shadow: none;
}
.header-inner {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  max-width: var(--size-1200px);
  padding: 14px var(--site-gutter);
}
.header-right {
  align-items: center;
  display: flex;
  gap: var(--size-32px);
}
.footer-mobile-socials {
  display: none;
}
.mobile-menu-toggle {
  background: none;
  border: none;
  cursor: pointer;
  display: none;
  flex-direction: column;
  height: var(--size-32px);
  justify-content: space-between;
  margin-left: auto;
  order: 2;
  padding: var(--size-8px);
  transition: background-color 0.2s ease;
  width: var(--size-40px);
}
.mobile-menu-overlay {
  backdrop-filter: blur(4px);
  background: rgba(0, 0, 0, 0.5);
  bottom: 0;
  display: none;
  left: 0;
  max-height: var(--size-100vh);
  max-width: var(--size-100vw);
  opacity: 0;
  position: fixed;
  right: 0;
  top: 0;
  transition: opacity 0.3s ease;
  z-index: 1000;
}
.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(4.45px, 4.45px);
}
.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(4.45px, -4.45px);
}
.nav {
  display: flex;
  gap: var(--gradient-text-padding);
  justify-content: flex-start;
  text-align: left;
}
.nav-link,
.footer-link {
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background: linear-gradient(135deg, #c0c0c0 0%, #b5b5b5 50%, #a8a8a8 100%);
  background-clip: text;
  box-sizing: border-box;
  display: inline-block;
  font-family: 'SFProDisplay', 'OpenSans', sans-serif;
  font-size: var(--cta-font-size);
  font-weight: normal;
  letter-spacing: normal;
  line-height: 1.4;
  max-width: var(--size-100);
  opacity: 1;
  text-decoration: none;
  transition: all 0.2s ease;
}
.nav-link {
  margin-right: var(--gradient-text-padding);
  white-space: nowrap;
}
.footer-link {
  font-size: var(--site-gutter);
  margin: 0 20px;
}
.footer-link.active {
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background: linear-gradient(135deg, #ffffff 0%, #ffffff 50%, #ffffff 100%);
  background-clip: text;
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.4), 0 0 10px rgba(255, 255, 255, 0.2);
}
.nav-link.active {
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background: linear-gradient(135deg, #c0c0c0 0%, #b5b5b5 50%, #a8a8a8 100%);
  background-clip: text;
  text-shadow: none;
}
.nav-link:last-child {
  margin-right: 0;
}
.nav-link:hover,
.footer-link:hover {
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background: linear-gradient(135deg, #ffffff 0%, #ffffff 50%, #ffffff 100%);
  background-clip: text;
  font-weight: normal;
  opacity: 1;
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.4), 0 0 10px rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}
.header-cta {
  align-items: center;
  display: flex;
  gap: var(--site-gutter);
}
.how-it-works .toolkit-grid.active, .how-it-works .tk-item:active {
  cursor: grabbing;
}
/* Toolkit Title Hover Effects */
.toolkit .tk-item .tk-title,
.how-it-works .tk-item .tk-title {
  display: inline-block;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: var(--gradient-text-padding) !important;
  padding-right: var(--gradient-text-padding) !important;
  transform-origin: center center !important;
  transition: transform 0.18s cubic-bezier(0.22, 1, 0.36, 1), padding 0.18s cubic-bezier(0.22, 1, 0.36, 1), background-position 0.25s ease !important;
}
.toolkit .tk-item:hover .tk-title,
.toolkit .tk-item.pop-open .tk-title,
.how-it-works .tk-item:hover .tk-title,
.how-it-works .tk-item.pop-open .tk-title {
  left: auto !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: var(--size-28px) !important;
  padding-right: var(--size-28px) !important;
  right: auto !important;
  transform: scale(1.06) translateX(0) !important;
}
.toolkit .tk-item:hover,
.how-it-works .tk-item:hover {
  transform: translateY(-4px) !important;
}
.toolkit-title,
.portfolio-title {
  color: var(--color-c7c7c7);
  flex-shrink: 0;
  font-family: 'Futura XBlkCnIt BT', sans-serif;
  font-size: var(--size-55px);
  font-size: var(--size-55px) !important;
  font-style: italic;
  font-weight: 900;
  line-height: 1;
  padding-bottom: var(--size-8px);
  padding-left: var(--size-32px);
  text-align: left;
  transition: color 0.3s ease;
}
.hero-title-part {
  -webkit-background-clip: inherit;
  -webkit-text-fill-color: inherit;
  animation: inherit;
  background: inherit;
  background-clip: inherit;
  background-origin: inherit;
  background-position: inherit;
  background-size: inherit;
  color: inherit;
  display: block;
  font-family: inherit;
  font-size: inherit;
  letter-spacing: inherit;
  overflow: visible;
  text-align: inherit;
  /* Предотвращение обрезки текста с background-clip - наследуется от родителя */
}
.tk-item:hover .tk-title,
.tk-item.pop-open .tk-title,
.how-it-works .tk-item:hover .tk-title,
.process-step-title:hover,
.process-step:hover .process-step-title {
  --metallic-gold-duration: 3.15s;
  --metallic-gold-easing: cubic-bezier(0.52, 0, 0.28, 1);
  --metallic-gold-shadow: 0 0 12px rgba(255, 186, 84, 0.44), 0 0 5px rgba(255, 140, 28, 0.46);
  --metallic-gold-size: 280% 240%, 200% 170%;
}
.hero-title,
.toolkit-title,
.portfolio-title {
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "kern" 0, "liga" 0, "calt" 0;
  font-kerning: none;
  font-variant-ligatures: none;
  text-rendering: optimizeSpeed;
}
.tk-item {
  -webkit-tap-highlight-color: transparent !important;
  align-items: center;
  border-radius: var(--size-8px);
  box-sizing: border-box;
  cursor: default;
  display: flex;
  flex-direction: column;
  grid-template-columns: 20px 160px;
  justify-content: flex-start;
  margin: 0 auto;
  max-width: var(--size-320px);
  min-height: var(--size-60px);
  padding: 16px 16px;
  position: relative;
  text-align: center;
  transition: transform .7s ease;
  width: var(--size-100);
  z-index: 0;
}
.tk-item * {
  -webkit-tap-highlight-color: transparent !important;
}
.tk-item:hover, .tk-item.pop-open, .process-step:hover {
  transform: translateY(-4px);
  z-index: 1000;
}
.tk-item:hover .tk-icon,
.tk-item.pop-open .tk-icon {
  background: linear-gradient(135deg, #ffffff 0%, #f5f5f5 50%, #ffffff 100%);
  transform: scale(1.15);
}
.tk-item:hover .tk-title,
.tk-item.pop-open .tk-title {
  background-origin: border-box;
  overflow: visible;
  padding-left: var(--size-28px);
  padding-right: var(--size-28px);
  position: relative;
  transform: scale(1.06);
  transition: transform 0.18s cubic-bezier(0.22, 1, 0.36, 1), background-position 0.25s ease;
  z-index: 1;
  /* Give extra horizontal breathing room on hover so italic glyphs
     (like the leading A) stay inside the element's border box and
     don't get visually clipped when background-clip:text is active. */
}
.tk-item:hover .tk-text, .tk-item.pop-open .tk-text, .process-step:hover .process-step-text {
  color: var(--color-ffffff) !important;
  opacity: 1;
}
.tk-item.pop-open .tk-title {
  transform: none;
}
.portfolio {
  border: none;
  margin-bottom: 0;
  margin-top: 0;
  padding: 40px 0 55px 0;
  position: relative;
  z-index: 100;
  scroll-margin-top: 100px;
}
.portfolio-inner, .toolkit-inner {
  margin: 0 auto;
  max-width: var(--size-1200px);
}
.portfolio-head, body.portfolio-page .hero .portfolio-head {
  align-items: flex-start;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin: 0px 0px 0;
  padding: 0 0 40px 0;
  position: relative;
  width: var(--size-100);
  z-index: 3;
}
.portfolio-head::after, .how-it-works .toolkit-head::after, .toolkit-head::after {
  background: linear-gradient(90deg, #e8e8e8 0%, #c7c7c7 50%, #a8a8a8 100%);
  bottom: var(--size-25px);
  content: '';
  height: var(--size-1-5px);
  left: var(--size-32px);
  position: absolute;
  right: var(--size-32px);
}
.portfolio-sub {
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background: linear-gradient(135deg, #c0c0c0 0%, #b5b5b5 50%, #a8a8a8 100%);
  background-clip: text;
  color: transparent;
  flex-shrink: 0;
  font-family: 'Futura XBlkCnIt BT', sans-serif;
  font-size: var(--size-22px);
  font-style: normal;
  font-weight: normal;
  line-height: 1.2;
  margin-bottom: 0 !important;
  margin-top: 0 !important;
  padding-left: var(--size-8px);
  padding-right: var(--size-32px);
  padding-top: 0 !important;
  text-align: right;
  text-transform: uppercase;

}
.player, .video-player {
  aspect-ratio: 16/9;
  background: var(--bg);
  position: relative;
  width: min(96vw, 1200px);
}
.player:fullscreen .controls {
  backdrop-filter: blur(10px) !important;
  background: rgba(0, 0, 0, 0.5) !important;
  border-radius: var(--size-12px) !important;
  bottom: var(--size-30px) !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  left: var(--gradient-text-padding) !important;
  padding: var(--cta-font-size) !important;
  position: absolute !important;
  right: var(--gradient-text-padding) !important;
  z-index: 100001 !important;
}
.android-fullscreen .video-player, .android-fullscreen {
  height: var(--size-100vh) !important;
  left: 0 !important;
  position: fixed !important;
  top: 0 !important;
  width: var(--size-100vw) !important;
}
.video-player.is-horizontal #customVideo {
  background: var(--bg);
  object-fit: contain !important;
}
.video-player.is-vertical #customVideo {
  object-fit: contain !important;
}
.keyboard-hint span {
  font-weight: 500;
  white-space: nowrap;
}
.toolkit,
.portfolio {
  padding: 40px 0 55px 0 !important;
}
.toolkit-inner,
.portfolio-inner,
.hero-inner {
  margin: 0 auto;
  max-width: var(--size-1200px);
  padding: 0 16px;
}
body.portfolio-page .hero {
  align-items: center;
  border: none;
  display: flex;
  justify-content: center;
  margin-bottom: 0;
  margin-top: 0;
  max-width: var(--size-100);
  min-height: 60vh;
  overflow: hidden;
  overflow-x: visible;
  padding: 180px 0 140px 0;
  position: relative;
  /* Убедиться, что анимированный текст не обрезается контейнером */
}
body.portfolio-page .hero-inner {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: var(--size-100);
  padding: 0 calc(var(--site-gutter) + 20px);
  padding-bottom: var(--gradient-text-padding);
  padding-top: var(--gradient-text-padding);

  }
body.portfolio-page .hero-title {
  margin: 0px 0;
  padding: 0px 15px;
  text-align: center;
}
body.portfolio-page .hero-sub {
  margin: 15px 0 0 0;
  padding: 0px 12px;
  text-align: center;
}
body.portfolio-page .hero .portfolio-title {
  margin: 0px 0;
  padding: 0px 15px;
}
body.portfolio-page .hero .portfolio-sub {
  margin: 0px 0;
  padding: 0px 12px;
}
body.portfolio-page .hero .sub-container {
  margin: 0px 0;
  padding: 0px 10px;
}
body.portfolio-page .hero .portfolio-head::after {
  background-color: var(--color-c7c7c7);
  bottom: var(--gradient-text-padding);
  content: '';
  height: var(--size-1-5px);
  left: var(--size-44px);
  position: absolute;
  right: var(--size-44px);
}
/* How It Works - Block Styles */
.how-it-works .tk-item {
  align-items: center;
  backdrop-filter: blur(10px);
  background: var(--color-rgba-255-255-255-0-02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--site-gutter);
  cursor: pointer;
  display: flex;
  flex: 0 0 220px;
  flex-direction: column;
  justify-content: flex-start;
  margin: 0;
  max-width: var(--size-260px);
  min-height: var(--size-180px);
  min-width: var(--size-200px);
  overflow: visible;
  padding: 32px 20px;
  position: relative;
  text-align: center;
  transition: transform .7s ease;
  /* Give items a bit more horizontal room so the title can scale
     without causing the item to shift to the next row. */
  /* Slightly larger horizontal padding to accommodate the
     extra padding applied to the title on hover */
}
.how-it-works .tk-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3),
    0 0 30px rgba(255, 255, 255, 0.1);
  transform: translateY(-8px) scale(1.02);
}
/* Step Arrow Styles */
.how-it-works .step-arrow {
  height: var(--size-30px);
  pointer-events: none;
  position: absolute;
  right: -15px;
  top: var(--size-50);
  transform: translateY(-50%);
  width: var(--size-30px);
  z-index: 10;
}
.how-it-works .step-arrow::before {
  border-bottom: 8px solid transparent;
  border-left: 12px solid rgba(255, 255, 255, 0.4);
  border-top: 8px solid transparent;
  content: '';
  height: 0;
  left: var(--size-50);
  position: absolute;
  top: var(--size-50);
  transform: translate(-50%, -50%);
  transition: all 0.3s ease;
  width: 0;
}
.how-it-works .step-arrow::after {
  background: rgba(255, 255, 255, 0.4);
  content: '';
  height: var(--size-2px);
  left: var(--size-50);
  position: absolute;
  top: var(--size-50);
  transform: translate(-50%, -50%);
  transition: all 0.3s ease;
  width: var(--gradient-text-padding);
}
/* Enhanced arrow on hover */
.how-it-works .tk-item:hover .step-arrow::before {
  border-left-color: rgba(255, 255, 255, 0.8);
  transform: translate(-40%, -50%);
}
.how-it-works .tk-item:hover .step-arrow::after {
  background: rgba(255, 255, 255, 0.8);
  transform: translate(-40%, -50%);
}
/* Hide arrow on last item */
.how-it-works .tk-item:hover .tk-icon, .orbital-item:hover .orbital-icon {
  background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 50%, #ffffff 100%);
  filter: drop-shadow(0 4px 8px rgba(255, 255, 255, 0.2));
  transform: scale(1.1);
}
.how-it-works .tk-item:hover .tk-title {
  position: relative;
  transform: scale(1.06);
  transition: transform 0.18s cubic-bezier(0.22, 1, 0.36, 1), background-position 0.25s ease;
  z-index: 1;
}
.how-it-works .tk-item:hover .tk-text, .orbital-item:hover .orbital-text {
  color: var(--color-ffffff);
  opacity: 1;
  transform: translateY(-2px);
}
.how-it-works .tk-item > * {
  width: var(--size-100);
}
.dragging-item {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  opacity: 0.8;
  transform: rotate(5deg) scale(1.05);
  transition: none;
}
.drag-placeholder {
  animation: pulse 2s infinite;
  transition: all 0.2s ease;
}
.how-it-works .tk-item.dragging-item {
  cursor: grabbing;
  z-index: 1000;
}
/* Counter-rotation class for orbital items */
.orbital-item.counter-rotate {
  transform: translate(-50%, -50%) var(--counter-rotation, rotate(0deg));
  /* No transition to prevent tilting - exact same as test page */
}
/* Orbital Items - Individual elements positioned around the circle */
.orbital-item {
  -webkit-backface-visibility: hidden;
  -webkit-transform: translateZ(0);
  align-items: center;
  backface-visibility: hidden;
  display: flex;
  height: var(--size-200px);
  justify-content: center;
  position: absolute;
  transform: translateZ(0);
  transform-origin: center center;
  transition: transform 0.1s linear;
  width: var(--size-200px);
  will-change: transform;
  /* Counter-rotation will be applied via JavaScript */
  /* Performance optimizations */
}
/* Orbital items positioning will be handled by JavaScript for optimal placement */
/* Removed fixed positioning to allow dynamic placement */
/* Perfect counter-rotation for orbital items (Ferris wheel effect) - based on test page */
/* Ensure all text content remains perfectly readable */
.orbital-item.counter-rotate .orbital-title,
.orbital-item.counter-rotate .orbital-text,
.orbital-item.counter-rotate .orbital-icon {
  transform: rotate(0deg);
  /* Force horizontal orientation for all content */
  /* No transition to prevent tilting */
}
.orbital-item:hover .orbital-title {
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 2s ease-in-out infinite;
  background: linear-gradient(
    45deg,
    #ff6b00 0%,
    #ffd200 20%,
    #00ffb3 40%,
    #00a2ff 60%,
    #c000ff 80%,
    #ff6b00 100%
  );
  background-clip: text;
  background-size: 1200% 100%;
}
/* ========================================
   ADAPTIVE PROCESS STEPS LAYOUT
   ======================================== */
/* Process Steps Container */
.process-steps-container {
  margin: 40px 0;
  position: relative;
  width: var(--size-100);
}
.how-it-works .process-steps-container {
  margin-top: var(--size-40px);
}
/* Hide all layouts by default */
/* Process Step Styles */
/* Match toolkit hover motion */
.process-step {
  align-items: center;
  display: flex;
  flex-direction: column;
  isolation: isolate;
  justify-content: center;
  position: relative;
  text-align: center;
  transition: transform 0.7s ease;
}
.process-step::before {
  content: "";
  inset: clamp(10px, 2.4vw, 18px);
  pointer-events: none;
  position: absolute;
  transition: transform 0.4s cubic-bezier(0.35, 0, 0.2, 1), opacity 0.3s ease;
  z-index: 0;
}
.process-step:hover::before {
  opacity: 1;
  transform: scale(1.03);
}
/* Process Step Icons */
.process-step-icon {
  -webkit-mask: var(--icon) no-repeat center / contain;
  background: linear-gradient(135deg, #c0c0c0 0%, #b5b5b5 50%, #a8a8a8 100%);
  flex-shrink: 0;
  height: var(--size-32px);
  margin-bottom: clamp(14px, 2vw, 20px);
  mask: var(--icon) no-repeat center / contain;
  min-height: var(--size-32px);
  min-width: var(--size-32px);
  transform-origin: center center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  width: var(--size-32px);
}
.process-step:hover .process-step-icon {
  background: linear-gradient(135deg, #ffffff 0%, #f5f5f5 50%, #ffffff 100%);
  filter: drop-shadow(0 4px 8px rgba(255, 255, 255, 0.2));
  transform: scale(1.15);
}
/* Process Step Titles */
.process-step-title {
  color: var(--color-ffffff);
  display: inline-block;
  font-family: 'Futura XBlkCnIt BT', sans-serif;
  font-size: var(--size-18px);
  font-style: italic;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: clamp(10px, 2vw, 16px);
  position: relative;
  text-align: center;
  transition: all 0.3s ease;
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.45), 0 0 16px rgba(158, 213, 255, 0.35);
}
.process-step-title:hover {
  overflow: visible;
  padding: 0 clamp(18px, 2vw, 28px);
  transform-origin: center center;
  transition: transform 0.3s ease;
  white-space: normal;
  will-change: transform;
}
/* Process Step Text */
.process-step-text {
  color: var(--color-ccc);
  display: block !important;
  font-family: 'SFProDisplay', 'OpenSans', sans-serif;
  font-size: var(--cta-font-size);
  font-weight: normal;
  line-height: 1.2;
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: var(--size-180px) !important;
  opacity: 0.9;
  text-align: center;
  text-align: center !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  width: var(--size-100) !important;
}
.process-step:hover .process-step-title {
  background-origin: border-box;
  overflow: visible;
  padding-left: var(--size-28px);
  padding-right: var(--size-28px);
  position: relative;
  transform: scale(1.06);
  transition: transform 0.18s cubic-bezier(0.22, 1, 0.36, 1), background-position 0.25s ease;
  z-index: 1;
}
/* Central logo hub */
.process-center {
  border-radius: var(--size-50);
  display: grid;
  height: clamp(112px, 12.5vw, 152px);
  place-items: center;
  pointer-events: auto;
  position: relative;
  width: clamp(112px, 12.5vw, 152px);
}
.process-center-ring {
  backdrop-filter: blur(1.7px);
  background: radial-gradient(120% 120% at 50% 50%, rgba(255, 255, 255, 0.065) 0%, rgba(255, 255, 255, 0.04) 7, rgba(255, 255, 255, 0) 100%);
  border-radius: 25%;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.097);
  height: var(--size-100);
  padding: clamp(12px, 2.4vw, 18px);
  position: relative;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  width: var(--size-100);
}
.process-center-logo {
  background: transparent;
  border: 0.1px solid rgba(66, 66, 66, 0.4);
  border-radius: 25%;
  display: grid;
  height: var(--size-100);
  place-items: center;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  width: var(--size-100);

}
.process-center-logo img {
  height: auto;
  width: 54%;
}
.process-center:hover .process-center-logo, .process-center:hover .process-center-ring {
  transform: scale(1.03);
}
/* Process Arrow Styles */
.process-arrow {
  align-items: center;
  display: flex;
  justify-content: center;
  pointer-events: none;
  position: relative;
  z-index: 10;
}
.process-arrow-icon {
  align-items: center;
  animation: arrowPulse 3s ease-in-out infinite;
  background: url('icons/play.svg') no-repeat center / contain;
  display: flex;
  filter: brightness(0) invert(1);
  height: var(--size-30px);
  justify-content: center;
  opacity: 0.09;
  position: relative;
  transform: rotate(var(--arrow-rotation, 0deg)) scale(1);
  width: var(--size-30px);
}
/* Right Arrow (1 → 2) */
.process-arrow-right .process-arrow-icon {
  --arrow-rotation: 0deg;
}
/* Down Arrow (2 ↓ 3) */
.process-arrow-down .process-arrow-icon {
  --arrow-rotation: 90deg;
}
/* Left Arrow (3 ← 4) */
.process-arrow-left .process-arrow-icon {
  --arrow-rotation: 180deg;
}
/* Up Arrow (4 ↑ 1) */
.process-arrow-up .process-arrow-icon {
  --arrow-rotation: 270deg;
}
.desktop-process-layout [data-connection="1-2"] .process-arrow-icon, .tablet-process-layout .process-arrow:nth-of-type(1) .process-arrow-icon, .mobile-process-layout .process-arrow:nth-of-type(1) .process-arrow-icon {
  animation-delay: 0s; }
.desktop-process-layout [data-connection="2-3"] .process-arrow-icon, .tablet-process-layout .process-arrow:nth-of-type(2) .process-arrow-icon {
  animation-delay: 0.6s; }
.desktop-process-layout [data-connection="3-4"] .process-arrow-icon, .tablet-process-layout .process-arrow:nth-of-type(3) .process-arrow-icon {
  animation-delay: 1.2s; }
.desktop-process-layout [data-connection="4-1"] .process-arrow-icon {
  animation-delay: 1.8s; }
.mobile-process-layout .process-arrow:nth-of-type(2) .process-arrow-icon {
  animation-delay: 0.45s; }
.mobile-process-layout .process-arrow:nth-of-type(3) .process-arrow-icon {
  animation-delay: 0.9s; }
/* Apply same mobile-like width and centering to process-step-text blocks */
/* Apply heartbeat animation to process center elements */
.process-center-ring.heartbeat {
  animation: heartbeat 4s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite, heartbeat-glow 4s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite;
}
.process-center-logo.heartbeat {
  animation: heartbeat 4s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite;
}
/* Switch to active heartbeat on hover */
.process-center:hover .process-center-ring.heartbeat {
  animation: heartbeat-rapid-ring 0.9s cubic-bezier(0.32, 0.02, 0.55, 0.97) infinite, heartbeat-glow-active 0.9s cubic-bezier(0.32, 0.02, 0.55, 0.97) infinite;
}
.process-center:hover .process-center-logo.heartbeat {
  animation: heartbeat-rapid 0.9s cubic-bezier(0.32, 0.02, 0.55, 0.97) infinite;
}
.footer-copyright {
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  margin: 0;
}
.soc img {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  image-rendering: optimize-contrast;
  transform: translateZ(0);
  transition: all 0.2s ease-in-out;

}
.soc--email:hover img,
.soc--email:active img,
.soc--email:focus-visible img {
  content: url('icons/Email (active).svg');
}
.btn-cta,
.mobile-cta-btn {
  align-items: center;
  background: var(--cta-solid-bg);
  border: none;
  border-radius: var(--cta-border-radius);
  box-sizing: border-box;
  box-shadow: none;
  color: var(--cta-text-color);
  cursor: pointer;
  display: inline-flex;
  font-family: 'Futura XBlkCnIt BT', sans-serif;
  font-size: var(--cta-font-size);
  justify-content: center;
  min-height: calc(var(--cta-padding-y) * 2 + 1.2em);
  isolation: isolate;
  padding: var(--cta-padding-y) var(--cta-padding-x);
  position: relative;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
  transform-origin: center;
  will-change: transform, box-shadow;
  z-index: 0;
}
.btn-cta::before,
.mobile-cta-btn::before {
  background: linear-gradient(135deg, var(--cta-neon-a), var(--cta-neon-b), var(--cta-neon-c), var(--cta-neon-d), var(--cta-neon-a));
  background-position: 0% 50%;
  background-size: 220% 220%;
  border-radius: inherit;
  content: '';
  inset: 0;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  transform: scale(0.94);
  transition: opacity 0.35s ease, transform 0.35s ease;
  z-index: -1;
}
.btn-cta::after,
.mobile-cta-btn::after {
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0.08) 45%, rgba(255, 255, 255, 0) 70%);
  border-radius: inherit;
  content: '';
  filter: blur(18px);
  inset: -18px;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  transform: scale(0.85);
  transition: opacity 0.35s ease, transform 0.35s ease;
  z-index: -2;
}
.btn-cta:hover,
.btn-cta:focus-visible,
.btn-more:hover,
.btn-more:focus-visible,
.mobile-cta-btn:hover,
.mobile-cta-btn:focus-visible {
  background: rgba(18, 18, 26, 0.92);
  color: var(--cta-text-color);
  transform: translateY(-1px) scale(1.03);
}
.btn-cta:hover,
.btn-cta:focus-visible,
.mobile-cta-btn:hover,
.mobile-cta-btn:focus-visible {
  box-shadow: 0 10px 30px rgba(158, 213, 255, 0.26);
}
.btn-cta:hover::before,
.btn-cta:focus-visible::before,
.mobile-cta-btn:hover::before,
.mobile-cta-btn:focus-visible::before {
  animation: ctaNeonFlow 2.4s linear infinite;
  opacity: 1;
  transform: scale(1);
}
.btn-cta:hover::after,
.btn-cta:focus-visible::after,
.mobile-cta-btn:hover::after,
.mobile-cta-btn:focus-visible::after {
  animation: ctaHalo 1.4s ease-in-out infinite;
  opacity: 1;
  transform: scale(1.05);
}
.btn-cta:focus-visible,
.btn-more:focus-visible,
.mobile-cta-btn:focus-visible {
  outline: 2px solid var(--cta-outline);
  outline-offset: var(--size-2px);
}
.btn-cta:active,
.btn-more:active,
.mobile-cta-btn:active {
  background: var(--cta-solid-bg-active);
  color: var(--cta-text-color);
  transform: translateY(0) scale(0.98);
}
.hero-sub,
.toolkit-sub,
.portfolio-sub,
.btn-cta,
.btn-more,
.hero-btn,
.tk-title {
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  font-family: 'Futura XBlkCnIt BT', sans-serif;
  font-style: italic;
  font-weight: 900;
  text-rendering: optimizeLegibility;
  /* Use the same Futura family as toolkit/portfolio titles. Keep sizes previously set elsewhere. */
  /* Use the heavy italic face to match toolkit titles which render correctly in Safari. */
}
.hero-btn {
  margin-top: -10px;
}
.btn-more {
  margin-top: -10px;
}
.card-play-button {
  align-items: center;
  color: rgba(255, 255, 255, 0.96);
  display: flex;
  justify-content: center;
  left: var(--size-50);
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: var(--size-50);
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.1s ease, opacity 0.1s ease;
  z-index: 5;
}
.card-play-button svg {
  display: block;
  filter: drop-shadow(0 7px 10px rgba(0, 0, 0, 0.35));
  height: 38px;
  width: 38px;
}
.card:hover .card-play-button,
.card:active .card-play-button {
  animation: cardPlayPulse 0.2s ease-in-out, cardPlayPulseLoop 1.0s ease-in-out 0.2s infinite;
  opacity: 1;
}
@media (max-width: 768px) {
  .card-play-button {
    display: none;
  }
}
.ios-exit-button {
  -webkit-backdrop-filter: blur(15px) !important;
  align-items: center !important;
  backdrop-filter: blur(15px) !important;
  background: rgba(0, 0, 0, 0.8) !important;
  border: 2px solid rgba(255, 255, 255, 0.6) !important;
  border-radius: var(--size-50) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
  color: var(--color-fff) !important;
  cursor: pointer !important;
  display: flex !important;
  font-size: var(--size-22px) !important;
  font-weight: bold !important;
  height: var(--size-50px) !important;
  justify-content: center !important;
  position: absolute !important;
  right: var(--gradient-text-padding) !important;
  top: var(--size-40px) !important;
  transition: all 0.2s ease !important;
  width: var(--size-50px) !important;
  z-index: 10001 !important;
}
.ios-exit-button:hover {
  background: rgba(0, 0, 0, 0.9) !important;
  border-color: rgba(255, 255, 255, 0.8) !important;
  transform: scale(1.1) !important;
}
.ios-exit-button:active {
  transform: scale(0.95) !important;
}
.view-more .btn-more {
  cursor: pointer; }
.footer-upload-btn {
  background: var(--fg);
  border-radius: var(--size-6px);
  box-shadow: 0 4px 15px rgba(255, 0, 0, 0.2);
  color: var(--color-fff);
  display: inline-block;
  font-family: 'SFProDisplay', sans-serif;
  font-size: var(--site-gutter);
  font-weight: 600;
  padding: 12px 24px;
  text-decoration: none;
  transition: all 0.3s ease;
}
.footer-upload-btn:hover {
  --metallic-gold-duration: 2.5s;
  --metallic-gold-easing: cubic-bezier(0.5, 0, 0.2, 1);
  --metallic-gold-position-start: -180% 52%, 50% 52%;
  --metallic-gold-shadow: 0 0 14px rgba(255, 186, 84, 0.48), 0 0 6px rgba(255, 140, 28, 0.5);
  --metallic-gold-size: 280% 240%, 200% 170%;
  animation: none;
  background-image: var(--metallic-gold-sheen), var(--metallic-gold-base);
  background-position: var(--metallic-gold-position-start);
  background-repeat: no-repeat, no-repeat;
  background-size: var(--metallic-gold-size);
  box-shadow: 0 6px 20px rgba(255, 190, 90, 0.32);
  color: #1a0d00;
  transform: translateY(-2px);
}
.footer-upload-btn:active {
  animation: gold-metallic-shimmer var(--metallic-gold-duration) var(--metallic-gold-easing) both;
  box-shadow: 0 2px 10px rgba(60, 25, 0, 0.3);
  transform: translateY(-1px);
}
.mobile-menu-nav, .mobile-menu-social, .mobile-menu-cta, .orbital-container, .orbital-track, .orbital-item, .orbital-card, .mobile-how-it-works, #videoTime {
  display: none !important;
}
.card {
  --card-logo-scale: 1.12;
  --card-logo-size: 42px;
  aspect-ratio: 1/1;
  background: var(--bg-solid);
  border-radius: var(--size-18px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  box-sizing: border-box;
  cursor: pointer;
  flex: 0 0 calc(50% - 7.5px);
  overflow: hidden;
  position: relative;
  transition: all 0.3s ease;
}
.card:hover {
  box-shadow: 0 12px 20px rgba(0,0,0,0.4);
  transform: translateY(-4px) scale(1.02);
  transition: all 0.4s ease-out;
}
.card::before {
  border: 2.5px solid rgba(255, 255, 255, 0);
  border-radius: var(--size-18px);
  bottom: 0;
  content: "";
  left: 0;
  pointer-events: none;
  position: absolute;
  right: 0;
  top: 0;
  transition: border-color 0.3s ease;
  z-index: 4;
}
.card:hover::before {
  border-color: var(--color-c7c7c7);
  border-width: 4px;
}
.card img {
  --pScale: 1.05;
  --pX: 0px;
  --pY: 0px;
  border-radius: var(--size-18px);
  display: block;
  filter: none;
  height: var(--size-100);
  object-fit: cover;
  transform: translate3d(var(--pX), var(--pY), 0) scale(var(--pScale));
  transition: transform .15s ease, filter .15s ease;
  width: var(--size-100);
}
.card:hover img {
  --pScale: 1.08;
  filter: brightness(0.85) saturate(1.05);
  position: relative;
  z-index: 2;
}
/* Ensure orbital cards maintain perfect horizontal orientation */
.orbital-item.counter-rotate .orbital-card {
  transform: rotate(0deg);
  /* Force perfect horizontal orientation */
  /* No transition to prevent tilting */
}
/* Orbital Cards - The actual content cards */
.orbital-card {
  -webkit-backface-visibility: hidden;
  -webkit-transform: translateZ(0);
  align-items: center;
  backface-visibility: hidden;
  background: transparent;
  border: none;
  border-radius: 0;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: var(--size-180px);
  justify-content: center;
  overflow: hidden;
  padding: 24px 20px;
  position: relative;
  text-align: center;
  transform: translateZ(0);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  width: var(--size-180px);
  will-change: transform;
  /* Performance optimizations */
}
/* Hover Effects */
.orbital-item:hover .orbital-card {
  transform: scale(1.05);
  /* Removed background and border effects to eliminate geometric shape */
}
.process-step-card {
  align-items: center;
  backdrop-filter: none;
  background: transparent;
  border: none;
  border-radius: var(--size-18px);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: clamp(170px, 24vw, 220px);
  padding: clamp(28px, 3.5vw, 36px) clamp(20px, 2.6vw, 28px);
  position: relative;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  width: clamp(220px, 22vw, 280px);
  z-index: 1;
}
.process-step:hover .process-step-card {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}
.how-it-works .toolkit-grid::-webkit-scrollbar, .how-it-works .tk-item:last-child .step-arrow, .desktop-process-layout, .tablet-process-layout, .mobile-process-layout, .process-center--mobile, .modal-backdrop {
  display: none;
}
.video-player:fullscreen #customVideo, #customVideo:fullscreen, .player:fullscreen #modalVideo, #modalVideo:fullscreen {
  aspect-ratio: auto;
  height: var(--size-100vh);
  max-height: none;
  object-fit: contain;
  width: var(--size-100vw);
}
/* Hide orbital animation elements */
.modal {
  align-items: center;
  background: rgba(0,0,0,.9);
  display: none;
  inset: 0;
  justify-content: center;
  position: fixed;
  z-index: 1300 }
#modalVideo, #customVideo {
  aspect-ratio: 16/9;
  background: var(--bg);
  cursor: pointer;
  display: block;
  height: var(--size-100);
  object-fit: contain;
  width: var(--size-100);
}
.modal-inner {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: var(--gradient-text-padding);
  width: min(96vw, 1200px);
}
.modal-close-btn {
  align-items: center;
  background: none;
  border: none;
  color: #626262;
  cursor: pointer;
  display: inline-flex;
  font-family: 'OpenSans', sans-serif;
  font-size: var(--site-gutter);
  justify-content: center;
  margin: 0;
  padding: 8px;
  position: fixed;
  right: calc(env(safe-area-inset-right) + var(--site-gutter));
  top: calc(env(safe-area-inset-top) + var(--site-gutter));
  transition: color 0.2s ease, opacity 0.2s ease;
  z-index: 1001;
}
.modal-close-btn:hover {
  color: #8f8f8f;
}
.modal-close-btn:active, .modal .close:hover {
  opacity: 0.7;
}
.modal-close-btn:focus-visible {
  color: #c9c9c9;
  outline: none;
}
.modal-close-icon {
  font-size: var(--size-30px);
  line-height: 1;
}
.android-fullscreen.modal {
  height: var(--size-100vh) !important;
  left: 0 !important;
  position: fixed !important;
  top: 0 !important;
  width: var(--size-100vw) !important;
  z-index: 10000 !important;
}
.ios-fullscreen-simulated #modalVideo, .ios-fullscreen-simulated #customVideo, .android-fullscreen #customVideo {
  height: var(--size-100vh) !important;
  object-fit: contain !important;
  width: var(--size-100vw) !important;
}
.modal .close:active {
  opacity: 0.8; }
.modal .close {
  -webkit-tap-highlight-color: transparent;
  align-items: center;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  display: inline-flex;
  font-size: var(--size-40px);
  height: auto;
  justify-content: center;
  outline: none;
  padding: 0;
  transition: opacity 0.2s ease;
  width: auto; }
.portfolio-modal {
  align-items: stretch;
  display: none;
  flex-direction: column;
  gap: 0;
  inset: 0;
  justify-content: flex-start;
  padding-inline: 0;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  padding-top: env(safe-area-inset-top, 0px);
  position: fixed;
  z-index: 900;
}
.portfolio-modal.is-open {
  display: flex;
}
body.portfolio-modal-open,
body.video-modal-open,
body.mobile-menu-open,
body.brief-modal-open {
  overflow: hidden;
  touch-action: none;
  overscroll-behavior: contain;
}
.portfolio-modal__backdrop {
  backdrop-filter: blur(22px) saturate(140%);
  background: rgba(6, 7, 12, 0.72);
  inset: 0;
  opacity: 0;
  position: absolute;
  z-index: 0;
  transition: opacity 0.3s ease;
}
.portfolio-modal.is-open .portfolio-modal__backdrop {
  opacity: 1;
}
.portfolio-modal__panel {
  backdrop-filter: blur(24px);
  background: rgba(12, 14, 20, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0;
  box-shadow: 0 30px 120px rgba(0, 0, 0, 0.55);
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  height: 100%;
  max-height: none;
  overflow: hidden;
  position: relative;
  width: 100%;
  z-index: 1;
}
.portfolio-modal__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: clamp(10px, 2.6vw, 20px);
  overflow-y: auto;
  padding: clamp(12px, 4vw, 24px);
  padding-top: calc(var(--portfolio-modal-top-gap, 0px) + clamp(12px, 4vw, 24px));
  padding-bottom: calc(clamp(80px, 16vw, 128px) + env(safe-area-inset-bottom, 0px));
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.portfolio-modal__body::-webkit-scrollbar {
  display: none;
}
.portfolio-modal__grid {
  display: grid;
  flex: 1 1 auto;
  gap: clamp(12px, 3vw, 24px);
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  align-content: flex-start;
}
@media (min-width: 768px) {
  .portfolio-modal__grid {
    margin-inline: auto;
    max-width: var(--header-max-width);
    width: min(calc(100% - (var(--site-gutter) * 2)), var(--header-max-width));
  }
}
.portfolio-modal__close {
  align-self: center;
  bottom: calc(env(safe-area-inset-bottom, 0px) + clamp(32px, 6vw, 44px));
  left: 50%;
  margin: 0 !important;
  position: fixed;
  transform: translateX(-50%);
  z-index: 901;
}
.portfolio-modal__close.btn-more {
  padding-inline: clamp(12px, 4vw, 22px);
  background: #ffffff;
  color: var(--color-1a1a1a);
  box-shadow:
    0 0 0 rgba(0, 0, 0, 0),
    0 36px 82px rgba(0, 0, 0, 0.55),
    0 18px 42px rgba(0, 0, 0, 0.42),
    0 6px 18px rgba(0, 0, 0, 0.28);
  transition: box-shadow 0.35s ease, background-color 0.25s ease, color 0.25s ease;
}
.portfolio-modal__close.btn-more,
.portfolio-modal__close.btn-more:hover,
.portfolio-modal__close.btn-more:focus-visible,
.portfolio-modal__close.btn-more:active {
  transform: translateX(-50%);
  background: #ffffff;
  color: var(--color-1a1a1a);
}
.portfolio-modal__close.btn-more:hover,
.portfolio-modal__close.btn-more:focus-visible {
  box-shadow:
    0 0 0 rgba(0, 0, 0, 0),
    0 46px 96px rgba(0, 0, 0, 0.58),
    0 22px 52px rgba(0, 0, 0, 0.46),
    0 8px 22px rgba(0, 0, 0, 0.3);
}
.portfolio-modal__close.btn-more:active {
  box-shadow:
    0 0 0 rgba(0, 0, 0, 0),
    0 28px 62px rgba(0, 0, 0, 0.5),
    0 14px 34px rgba(0, 0, 0, 0.36),
    0 4px 14px rgba(0, 0, 0, 0.24);
}
.portfolio-modal__grid .card {
  flex: none;
  width: 100%;
}
.portfolio-modal__grid .card img {
  --pScale: 1.05;
}
@media (max-width: 900px) {
  .portfolio-modal__body {
    padding-inline: clamp(12px, 6vw, 32px);
  }
}
@media (max-width: 600px) {
  .portfolio-modal {
    background: rgba(5, 6, 10, 0.94);
  }
  .portfolio-modal__backdrop {
    backdrop-filter: blur(18px);
    background: rgba(5, 6, 10, 0.94);
  }
  .portfolio-modal__panel {
    backdrop-filter: none;
    background: transparent;
    border: none;
    box-shadow: none;
  }
  .portfolio-modal__body {
    gap: clamp(8px, 4.5vw, 16px);
    padding: clamp(10px, 5vw, 18px);
    padding-top: calc(var(--portfolio-modal-top-gap, 0px) + clamp(10px, 5vw, 18px));
    padding-bottom: calc(clamp(84px, 20vw, 140px) + env(safe-area-inset-bottom, 0px));
  }
  .portfolio-modal__grid {
    gap: clamp(10px, 3.5vw, 16px);
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .portfolio-modal__close {
    bottom: calc(env(safe-area-inset-bottom, 0px) + clamp(28px, 9vw, 42px));
  }
}

@media (min-width: 520px) and (max-width: 767px) {
  .portfolio-modal__grid {
    gap: var(--cta-font-size);
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .portfolio-modal__body {
    padding-left: clamp(18px, 5vw, 24px);
    padding-right: clamp(18px, 5vw, 24px);
  }
}

@media (max-width: 519px) {
  .portfolio-modal__grid {
    gap: var(--size-10px);
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .portfolio-modal__body {
    padding-left: 12px;
    padding-right: 12px;
  }
}

/* Ensure modal close button spacing wins over global btn-more adjustments on very small screens */
@media (max-width: 600px) {
  .portfolio-modal .portfolio-modal__close.btn-more {
    margin: 0 !important;
  }
}
.how-it-works-modal {
  display: none;
  height: var(--size-100);
  left: 0;
  pointer-events: none;
  position: fixed;
  top: 0;
  width: var(--size-100);
  z-index: 10000;
}
.how-it-works-modal[aria-hidden="false"] {
  display: block;
}
.modal-content {
  --tail-x: var(--size-50);
  --tail-y: var(--size-50);
  backdrop-filter: blur(8px);
  background: linear-gradient(135deg, #e8e8e8 0%, #d0d0d0 100%);
  border-radius: var(--size-12px);
  max-height: var(--size-400px);
  opacity: 0;
  overflow: visible;
  pointer-events: auto;
  position: fixed;
  transform: scale(0.8);
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  width: clamp(var(--size-220px), calc(100vw - 48px), var(--size-260px));
  z-index: 2;
}
.how-it-works-modal[aria-hidden="false"] .modal-content {
  opacity: 1;
  transform: scale(1);
}
.modal-header {
  align-items: center;
  display: flex;
  justify-content: center;
  padding: 8px 20px 4px 20px;
  position: relative;
}
.modal-title {
  color: var(--modal-text-color);
  display: none;
  font-family: 'Futura XBlkCnIt BT', sans-serif;
  font-size: var(--size-6px);
  font-style: italic;
  font-weight: 900;
  line-height: 1.2;
  margin: 0;
  margin-bottom: clamp(10px, 2vw, 16px);
  padding: 0;
  text-align: center;
  transition: all 0.3s ease;
  /* Скрываем заголовок, чтобы убрать дублирование */
}
.modal-close {
  align-items: center;
  background: none;
  border: none;
  border-radius: var(--size-50);
  color: rgba(0, 0, 0, 0.7);
  cursor: pointer;
  display: none;
  font-size: var(--size-18px);
  height: var(--size-32px);
  justify-content: center;
  padding: var(--size-6px);
  position: absolute;
  right: var(--size-12px);
  top: var(--size-12px);
  transition: all 0.2s ease;
  width: var(--size-32px);
}
.modal-close:hover {
  color: #000000;
  transform: scale(1.1);
}
.modal-body {
  color: var(--modal-text-color);
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
  align-items: center;
  font-size: var(--cta-font-size);
  overflow-y: visible;
  padding: 8px 16px 18px 16px;
  text-align: center;
}
.modal-body p {
  margin: 0;
}
.modal-subtitle {
  -webkit-background-clip: unset;
  -webkit-text-fill-color: unset;
  background: none;
  background-clip: unset;
  color: var(--modal-text-color);
  font-family: 'Futura XBlkCnIt BT', sans-serif;
  font-size: var(--size-18px);
  font-style: italic;
  font-weight: 900;
  hyphens: none;
  line-height: 1.2;
  margin: 0 0 8px 0;
  overflow-wrap: break-word;
  text-align: center;
  text-transform: uppercase;
  word-wrap: break-word;
}
.modal-main-text {
  color: var(--modal-text-color);
  font-family: 'SFProDisplay', 'OpenSans', sans-serif;
  font-size: var(--cta-font-size);
  font-weight: normal;
  letter-spacing: normal;
  line-height: 1.2;
  display: block;
  margin: 0 auto;
  max-width: 100%;
  text-align: center;
  width: var(--size-100);
}
.modal-tail {
  background: linear-gradient(135deg, #e8e8e8 0%, #d0d0d0 100%);
  border: none;
  box-shadow: none;
  height: var(--size-14px);
  opacity: 0;
  pointer-events: none;
  position: fixed;
  transform: translate(-50%, -50%) rotate(45deg);
  transform-origin: center;
  transition: opacity 0.18s cubic-bezier(0.34, 1.56, 0.64, 1);
  width: var(--size-14px);
  will-change: left, top, transform;
  z-index: 1;
}
.modal-tail.tooltip-top {
  transform: translate(-50%, calc(-50% + 10px)) rotate(45deg) scale(1);
}
.modal-tail.tooltip-bottom {
  background: linear-gradient(135deg, #e8e8e8 0%, #d0d0d0 100%);
  transform: translate(-50%, calc(-50% - 10px)) rotate(45deg) scale(1);
}
.how-it-works-modal[aria-hidden="false"] .modal-tail {
  opacity: 1;
}
.modal-body::-webkit-scrollbar {
  width: var(--size-6px);
}
.modal-body::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--size-3px);
}
.modal-body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: var(--size-3px);
}
.modal-body::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3);
}
@keyframes logo-gradient-flow {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}
@keyframes gradient-shift {
  0%, 100% {
    background-position: 0% 50%;
  }
  25% {
    background-position: 100% 0%;
  }
  50% {
    background-position: 100% 100%;
  }
  75% {
    background-position: 0% 100%;
  }
}
@keyframes gold-metallic-shimmer {
  0%,
  100% {
    background-position: -220% 46%, 48% 52%;
  }
  28% {
    background-position: -60% 48%, 50% 50%;
  }
  50% {
    background-position: 40% 50%, 50% 50%;
  }
  68% {
    background-position: 160% 52%, 52% 48%;
  }
  82% {
    background-position: 220% 48%, 50% 50%;
  }
}
@keyframes cta-gradient-shimmer {
  0%,
  12% {
    background-position: -210% 52%, 50% 50%;
  }
  36% {
    background-position: -40% 49%, 52% 48%;
  }
  55% {
    background-position: 30% 48%, 48% 50%;
  }
  78% {
    background-position: 170% 52%, 50% 52%;
  }
  100% {
    background-position: 210% 50%, 48% 50%;
  }
}
@keyframes ctaNeonFlow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
@keyframes ctaHalo {
  0%,
  100% {
    opacity: 0.3;
    transform: scale(1.02);
  }
  40% {
    opacity: 0.55;
    transform: scale(1.09);
  }
  60% {
    opacity: 0.42;
    transform: scale(1.04);
  }
}
@keyframes button-shine {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}
@keyframes cardPlayPulse {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}
@keyframes cardPlayPulseLoop {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.15);
  }
}
/* Keyframes for infinite scroll animation */
@keyframes infiniteScrollLeft {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-100% + 50vw));
  }
}
@keyframes modal-tail-appear {
  to {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(45deg) scale(1);
  }
}
@keyframes pulse {
  0%, 100% {
    opacity: 0.5; }
  50% {
    opacity: 1; }
}
/* Keyframe Animations */
@keyframes orbitalRotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
/* Clockwise rotation animation */
@keyframes orbitalRotationClockwise {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@keyframes gradientShift {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}
@keyframes arrowPulse {
  0%, 100% {
    opacity: 0.06;
    transform: rotate(var(--arrow-rotation, 0deg)) scale(1);
  }
  35% {
    opacity: 0.1;
    transform: rotate(var(--arrow-rotation, 0deg)) scale(1.2);
  }
  65% {
    opacity: 0.04;
    transform: rotate(var(--arrow-rotation, 0deg)) scale(0.9);
  }
}
/* Heartbeat Animation */
@keyframes heartbeat {
  0%, 100% {
    transform: scale(1);
  }
  15% {
    transform: scale(1.05);
  }
  25% {
    transform: scale(1.12);
  }
  35% {
    transform: scale(1.08);
  }
  60% {
    transform: scale(1.02);
  }
  75% {
    transform: scale(1.01);
  }
}
@keyframes heartbeat-glow {
  0%, 100% {
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
  }
  15% {
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.09), 0 0 3px rgba(255, 255, 255, 0.02);
  }
  25% {
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.11), 0 0 8px rgba(255, 255, 255, 0.05);
  }
  35% {
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 0 5px rgba(255, 255, 255, 0.03);
  }
  60% {
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 0 3px rgba(255, 255, 255, 0.02);
  }
  75% {
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.07), 0 0 1px rgba(255, 255, 255, 0.01);
  }
}
/* Active heartbeat animation on hover */
@keyframes heartbeat-active {
  0%, 100% {
    filter: brightness(1) saturate(1);
    transform: scale(1);
  }
  25% {
    filter: brightness(1.1) saturate(1.1);
    transform: scale(1.02);
  }
  50% {
    filter: brightness(1.2) saturate(1.2);
    transform: scale(1.05);
  }
  75% {
    filter: brightness(1.1) saturate(1.1);
    transform: scale(1.02);
  }
}
@keyframes heartbeat-glow-active {
  0%, 100% {
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06);
  }
  10% {
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.07), 0 0 2px rgba(255, 255, 255, 0.01);
  }
  20%, 50% {
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 0 4px rgba(255, 255, 255, 0.02);
  }
  30%, 60% {
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.07), 0 0 3px rgba(255, 255, 255, 0.02);
  }
  40% {
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 0 6px rgba(255, 255, 255, 0.03);
  }
  70% {
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06), 0 0 2px rgba(255, 255, 255, 0.01);
  }
  80% {
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.05), 0 0 1px rgba(255, 255, 255, 0.005);
  }
}
/* Rapid heartbeat for process logo on hover */
@keyframes heartbeat-rapid {
  0%, 100% {
    filter: brightness(1) saturate(1);
    transform: scale(1);
  }
  10% {
    filter: brightness(1.12) saturate(1.12);
    transform: scale(1.06);
  }
  20% {
    filter: brightness(1.03) saturate(1.03);
    transform: scale(1.02);
  }
  35% {
    filter: brightness(1.14) saturate(1.14);
    transform: scale(1.08);
  }
  50% {
    filter: brightness(1.02) saturate(1.02);
    transform: scale(1.03);
  }
  65% {
    filter: brightness(1.1) saturate(1.1);
    transform: scale(1.06);
  }
  80% {
    filter: brightness(1.03) saturate(1.03);
    transform: scale(1.02);
  }
}
/* Rapid heartbeat for process ring on hover */
@keyframes heartbeat-rapid-ring {
  0%, 100% {
    transform: scale(1);
  }
  10% {
    transform: scale(1.07);
  }
  20% {
    transform: scale(1.03);
  }
  35% {
    transform: scale(1.09);
  }
  50% {
    transform: scale(1.04);
  }
  65% {
    transform: scale(1.06);
  }
  80% {
    transform: scale(1.03);
  }
}
@media (min-width: 1170px) {
  .site-header {
    left: var(--size-50);
    max-width: var(--header-max-width);
    right: auto;
    transform: translate3d(-50%, 0, 0);
    width: min(calc(100% - (var(--site-gutter) * 2)), var(--header-max-width));
  }
  .site-header.hidden {
    transform: translate3d(-50%, -110%, 0);
  }
  .site-header.visible {
    transform: translate3d(-50%, 0, 0);
  }
}
@media (max-width: 768px) {
  /* Keep the header in view on mobile screens even if scroll logic toggles .hidden */
  .site-header.hidden {
    transform: translate3d(-50%, 0, 0);
  }
  .hero {
    min-height: auto !important;
    padding: clamp(150px, 26vh, 190px) 0 clamp(72px, 13vw, 96px) !important;
  }
  .hero-inner {
    padding-bottom: 0 !important;
  }
  .hero-sub {
    margin-top: clamp(8px, 4vw, 16px) !important;
  }
  .hero-cta {
    margin-top: clamp(34px, 11vw, 48px) !important;
  }
  body.portfolio-page .hero {
    min-height: auto !important;
    padding: clamp(150px, 26vh, 190px) 0 clamp(72px, 13vw, 96px) !important;
  }
  .footer-content {
    gap: clamp(8px, 4vw, 18px);
  }
  .footer-meta {
    margin-top: clamp(14px, 5vw, 26px);
    padding-top: clamp(14px, 5vw, 26px);
  }
  .footer-mobile-socials {
    align-items: center;
    display: flex !important;
    gap: clamp(18px, 7vw, 28px);
    justify-content: center;
    margin-top: clamp(18px, 6vw, 32px);
    width: 100%;
  }
  .footer-mobile-socials .soc {
    padding: var(--size-8px) !important;
  }
  .footer-email {
    display: none !important;
  }
  .mobile-menu-social {
    align-items: center !important;
    display: flex !important;
    gap: clamp(18px, 6vw, 28px) !important;
    justify-content: center !important;
    margin-top: auto !important;
    padding-bottom: clamp(24px, 8vw, 36px) !important;
    width: 100% !important;
  }

  .mobile-menu-toggle, .mobile-how-it-works {
    display: flex !important;
  }
  .nav, .header-right, .header-cta, .toolkit-sub br, .portfolio-sub br, .portfolio-title, .keyboard-hint, body.portfolio-page .hero .portfolio-title, .how-it-works .toolkit-grid::before, .how-it-works .toolkit-grid::after, .how-it-works .arrow-connector {
    display: none;
  }
  .hero-head {
    align-items: center !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    text-align: center;
    width: var(--size-100) !important;
  }
  .hero-title {
    background-origin: border-box !important;
    box-sizing: border-box !important;
    display: block !important;
    font-size: 100px !important;
    letter-spacing: -0.6px;
    line-height: 0.9 !important;
    margin-bottom: var(--cta-font-size) !important;
    opacity: 1 !important;
    overflow: visible !important;
    padding: 0 32px !important;
    text-align: center !important;
    visibility: visible !important;
    width: var(--size-100) !important;
    /* Предотвращение обрезки текста с background-clip для мобильных */
    /* Предотвращение обрезки текста с background-clip */
  }
  .toolkit-title,
  .portfolio-title {
    box-sizing: border-box !important;
    display: block !important;
    flex-shrink: 0 !important;
    font-size: var(--size-55px) !important;
    height: auto !important;
    margin-bottom: var(--gradient-text-padding) !important;
    margin-top: var(--cta-font-size) !important;
    overflow: visible !important;
    padding: 0 20px !important;
    padding-bottom: var(--size-8px) !important;
    padding-left: 0 !important;
    position: static !important;
    text-align: center !important;
    visibility: visible !important;
    width: auto !important;

  }
  .hero-sub {
    box-sizing: border-box !important;
    display: block !important;
    font-size: 32px !important;
    line-height: 1.1 !important;
    opacity: 1 !important;
    padding: 0 25px !important;
    text-align: center !important;
    visibility: visible !important;
    width: var(--size-100) !important;
  }
  .hero-cta {
    margin-top: clamp(16px, 5vw, 24px) !important;
  }
  .hero-btn, .btn-more {
    margin-top: -10px !important;
  }
  .portfolio-modal {
    --portfolio-modal-vertical-gap: 0px;
    padding-inline: 0;
  }
  .portfolio-modal .portfolio-modal__close.btn-more {
    margin: 0 !important;
  }
  .view-more {
    margin-top: 35px !important;
  }
  .toolkit-head, .portfolio-head, body.portfolio-page .hero .portfolio-head {
    display: block !important;
    margin: 0 auto;
    padding: 0 2px 40px 2px;
    position: relative;
    text-align: center;
    width: calc(100% - 4px);
  }
  .how-it-works .toolkit-head.is-stacked {
    padding: 0 2px 40px 2px;
  }
  .how-it-works .toolkit-head.is-stacked::after {
    background: linear-gradient(90deg, #e8e8e8 0%, #c7c7c7 50%, #a8a8a8 100%);
    bottom: var(--size-25px);
    height: var(--size-1-5px);
    left: var(--site-gutter);
    right: var(--site-gutter);
  }
  .sub-container, .toolkit-sub, .portfolio-sub {
    display: block !important;
    margin: 0 auto !important;
    text-align: center !important;
    width: var(--size-100) !important;
  }
  .toolkit-head .toolkit-sub {
    box-sizing: border-box !important;
    clear: none !important;
    display: inline-block !important;
    float: none !important;
    left: auto !important;
    margin: 0 auto !important;
    max-width: var(--size-100) !important;
    padding: 0 12px !important;
    position: static !important;
    text-align: center !important;
    transform: none !important;
    width: auto !important;
    word-wrap: break-word !important;
  }
  .hero-title-part {
    -webkit-background-clip: inherit;
    -webkit-text-fill-color: inherit;
    animation: inherit;
    background: inherit;
    background-clip: inherit;
    background-origin: inherit;
    background-position: inherit;
    background-size: inherit;
    color: inherit;
    display: block;
    font-family: inherit;
    font-size: inherit;
    letter-spacing: inherit;
    overflow: visible;
    text-align: inherit;
  }
  .toolkit-sub,
  .portfolio-sub,
  .hero-sub {
    -webkit-box-orient: unset;
    -webkit-line-clamp: unset;
    display: block;
    flex-grow: 0 !important;
    flex-shrink: 1 !important;
    font-size: var(--size-22px);
    line-clamp: unset;
    margin: 0 auto;
    max-width: var(--size-100);
    overflow: visible;
    padding-right: 0;
    text-align: center;
    white-space: normal;
    word-break: break-word;
  }
  .toolkit, .portfolio {
    margin-bottom: 0;
    margin-top: 0;
    padding: 70px 12px 55px 12px;
  }
  .how-it-works {
    padding: 60px 12px 55px 12px;
  }
  .toolkit-inner {
    max-width: var(--size-100);
  }
  .toolkit-grid {
    display: grid;
    gap: clamp(16px, 5vw, 28px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    justify-content: center;
    justify-items: stretch;
    margin: 0 auto;
    max-width: 540px;
    padding: 0 12px;
    width: min(100%, 540px);
  }
  .toolkit-grid .voice-item {
    display: none !important;
  }
  .tk-item {
    align-items: flex-start;
    box-sizing: border-box;
    column-gap: 0;
    display: grid !important;
    grid-template-areas:
      "icon"
      "title"
      "text";
    grid-template-columns: 1fr;
    grid-template-rows: auto auto 1fr;
    height: 100%;
    justify-items: center;
    margin: 0;
    max-width: none;
    padding: 14px 12px;
    row-gap: var(--size-8px);
    text-align: center !important;
    width: var(--size-100);
  }
  .tk-icon {
    grid-area: icon;
    height: var(--size-32px) !important;
    justify-self: center;
    margin: 0 0 clamp(4px, 1.5vw, 8px) 0 !important;
    min-height: var(--size-32px) !important;
    min-width: var(--size-32px) !important;
    width: var(--size-32px) !important;
  }
  .tk-title,
  .tk-text {
    align-self: start;
    justify-self: center;
  }
  .tk-title {
    grid-area: title;
    margin: 0 !important;
    padding: 0 !important;
    text-align: center !important;
  }
  .tk-title,
  .tk-text {
    max-width: none;
    width: var(--size-100);
  }
  .tk-title {
    font-size: var(--size-18px);
    padding: 0 !important;
  }
  .tk-text {
    font-size: var(--cta-font-size);
    grid-area: text;
    margin: 0 !important;
    max-width: none !important;
    text-align: center !important;
    width: var(--size-100);
  }
  .portfolio-sub, body.portfolio-page .hero .portfolio-sub {
    -webkit-box-orient: unset;
    -webkit-line-clamp: unset;
    display: block;
    flex-shrink: 1;
    line-clamp: unset;
    overflow: visible;
    padding-right: 0;
    text-align: center;
  }
  .portfolio {
    margin-bottom: 0;
    margin-top: 0;
    padding: 40px 0 55px 0;
    padding-left: var(--size-10px);
    padding-right: var(--size-10px);
  }
  .portfolio-head::after,
  .toolkit-head::after,
  .how-it-works .toolkit-head::after,
  .how-it-works .toolkit-head.is-stacked::after,
  body.portfolio-page .hero .portfolio-head::after,
  .footer-inner::before {
    left: var(--site-gutter);
    right: var(--site-gutter);
  }
  .mobile-menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    display: flex !important;
    flex-direction: column;
    height: var(--size-32px);
    justify-content: space-between;
    margin-left: auto !important;
    margin-right: 0;
    order: 3;
    padding: var(--size-8px);
    position: relative;
    transition: background-color 0.2s ease;
    width: var(--size-40px);
    z-index: 1003;
  }
  .mobile-menu-overlay {
    backdrop-filter: blur(16px) !important;
    background: rgba(0, 0, 0, 0.8) !important;
    height: var(--size-100) !important;
    left: 0 !important;
    opacity: 0 !important;
    position: fixed !important;
    top: 0 !important;
    transition: all 0.3s ease !important;
    visibility: hidden !important;
    width: var(--size-100) !important;
    z-index: 1001 !important;
  }
  .mobile-menu-overlay.mobile-open {
    opacity: 1 !important;
    visibility: visible !important;
  }
  .mobile-menu-nav {
    -webkit-font-smoothing: antialiased !important;
    align-items: center !important;
    backdrop-filter: none !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    font-synthesis: none !important;
    gap: var(--size-25px) !important;
    justify-content: flex-start !important;
    left: 0 !important;
    margin: 0 !important;
    max-height: none !important;
    max-width: none !important;
    opacity: 0 !important;
    overflow-y: auto !important;
    padding: calc(var(--site-gutter) + var(--size-40px)) var(--site-gutter) calc(var(--site-gutter) * 3 + var(--size-40px)) !important;
    position: fixed !important;
    text-rendering: geometricPrecision !important;
    top: 0 !important;
    transform: translateY(-10px) !important;
    transform-origin: center top !important;
    transition: opacity 0.3s ease, transform 0.3s ease !important;
    visibility: hidden !important;
    width: 100% !important;
    height: 100vh !important;
    z-index: 1002 !important;
  }
  .mobile-menu-nav.mobile-menu-active {
    opacity: 1 !important;
    transform: translateY(0) !important;
    transform-origin: center top !important;
    visibility: visible !important;
  }
  .mobile-menu-items {
    align-items: center !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    margin-top: clamp(48px, 18vh, 120px) !important;
    margin-bottom: clamp(32px, 10vw, 56px) !important;
    width: var(--size-100) !important;
  }
  .mobile-nav-link {
    align-items: center !important;
    background: transparent !important;
    border: none !important;
    border-radius: var(--cta-border-radius) !important;
    display: flex !important;
    gap: 0 !important;
    justify-content: center !important;
    margin: 0 auto !important;
    max-width: 320px !important;
    padding: 12px 20px !important;
    position: relative !important;
    text-align: center !important;
    text-decoration: none !important;
    transition: color 0.25s ease !important;
    width: var(--size-100) !important;
    z-index: 0 !important;
  }
  .mobile-nav-link::before {
    content: none !important;
  }
  .mobile-nav-label {
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background: linear-gradient(135deg, #e8e8e8 0%, #c7c7c7 50%, #a8a8a8 100%) !important;
    background-clip: text !important;
    font-family: 'Futura XBlkCnIt BT', sans-serif !important;
    font-size: 32px !important;
    font-style: italic !important;
    font-weight: 900 !important;
    letter-spacing: 0.02em !important;
    overflow: visible !important;
    padding-left: 0 !important;
    text-transform: uppercase !important;
    transition: all 0.25s ease !important;
  }
  .mobile-nav-link:hover .mobile-nav-label,
  .mobile-nav-link:focus-visible .mobile-nav-label {
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background: linear-gradient(135deg, #e8e8e8 0%, #c7c7c7 50%, #a8a8a8 100%) !important;
    background-clip: text !important;
  }
  .mobile-nav-link.active .mobile-nav-label {
    background: linear-gradient(135deg, #e8e8e8 0%, #c7c7c7 50%, #a8a8a8 100%) !important;
    background-clip: text !important;
  }
  .mobile-menu-social .soc img {
    height: 22px !important;
    opacity: 1 !important;
    transition: none !important;
    width: 22px !important;
  }
  .mobile-menu-social .soc:hover img {
    opacity: 1 !important;
  }
  .mobile-menu-cta {
    display: inline-flex !important;
    margin: 20px auto 0 !important;
  }
  .soc {
    border-radius: var(--size-8px);
    padding: var(--size-8px);
    transition: none;
  }
  .soc:hover,
  .soc:active {
    background-color: transparent;
  }
  .soc img {
    height: 22px;
    opacity: 1;
    width: 22px;
  }
  .soc:hover img,
  .soc:active img {
    opacity: 1;
    transform: none;
  }
  .header-inner {
    gap: var(--site-gutter);
    justify-content: flex-start !important;
    position: relative;
  }
  .logo {
    left: 0;
    position: relative;
    transform: none;
    z-index: auto;
  }
  .modal:has(.player:fullscreen) .close, .modal:has(.video-player:fullscreen) .close, .modal:has(.ios-fullscreen-simulated) .close, .how-it-works .orbital-container, .how-it-works .orbital-track, .desktop-cta-btn {
    display: none !important;
  }
  .player {
    aspect-ratio: 16/9;
    width: 95vw;
  }
  .controls {
    flex-wrap: wrap;
    gap: var(--site-gutter);
    justify-content: center;
    padding: 16px 20px;
  }
  .controls button {
    align-items: center !important;
    border-radius: var(--size-12px) !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-shrink: 0;
    height: var(--size-44px) !important;
    justify-content: center !important;
    min-width: var(--size-44px) !important;
    padding: var(--size-10px) !important;
    width: var(--size-44px) !important;
  }
  #time {
    flex-shrink: 0;
    font-size: var(--cta-font-size);
  }
  .close {
    font-size: 64px;
    right: var(--gradient-text-padding);
    top: var(--size-60px);
  }
  .toolkit-inner,
  .portfolio-inner,
  .hero-inner {
    padding: 0 12px;
  }
  .hero {
    min-height: 30vh;
    padding: 200px 0 32px 0;

  }
  .toolkit-title, .portfolio-title, body.portfolio-page .hero-title {
    font-size: var(--size-55px) !important;

  }
  body.portfolio-page .hero {
    align-items: center;
    display: flex;
    justify-content: center;
    min-height: 30vh;
    padding: 200px 0 32px 0;
  }
  body.portfolio-page .hero-inner {
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: var(--size-100);
    padding: 0 calc(var(--site-gutter) + 15px);
    padding-bottom: var(--gradient-text-padding);
    padding-top: var(--gradient-text-padding);

  }
  body.portfolio-page .hero-title {
    margin: 0px 0;
    padding: 0px 12px;
    text-align: center;
  }
  body.portfolio-page .hero-sub {
    font-size: var(--cta-font-size) !important;
    margin: 15px 0 0 0;
    padding: 0px 10px;
    text-align: center;
  }
  @media (max-width: 768px) {
    .hero-title {
      background-origin: border-box !important;
      font-size: var(--size-55px) !important;
      overflow: visible !important;
      padding: 0 16px !important;
    }
    .hero-sub {
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background: linear-gradient(135deg, #c0c0c0 0%, #b5b5b5 50%, #a8a8a8 100%);
      background-clip: text;
      color: var(--color-1a1a1a);
    }
  }
  body.portfolio-page .hero .portfolio-title {
    margin: 0px 0;
    padding: 0px 12px;
  }
  body.portfolio-page .hero .portfolio-sub {
    margin: 0px 0;
    padding: 0px 10px;
  }
  body.portfolio-page .hero .portfolio-head::after {
    left: var(--gradient-text-padding);
    right: var(--gradient-text-padding);
  }
  .how-it-works .toolkit-grid {
    align-items: center;
    animation: none;
    gap: var(--gradient-text-padding);
    margin-left: 0;
    margin-right: 0;
    overflow: visible !important;
    overflow: visible;
    padding: 32px 16px;
    padding-left: var(--site-gutter);
    padding-right: var(--site-gutter);
    width: auto;
    /* Disable infinite scroll animation on mobile */
  }
  .how-it-works .toolkit-grid.infinite-scroll {
    animation: none;
  }
  .how-it-works .inner-track {
    animation: none !important;
    flex-direction: column !important;
    width: auto !important;
  }
  /* Hide arrows on mobile */
  /* Mobile adaptation for How It Works section */
  /* Hide orbital track on mobile */
  .how-it-works .orbital-item {
    align-items: center !important;
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
    justify-content: center !important;
    margin: 0 auto !important;
    max-width: var(--size-300px) !important;
    position: static !important;
    transform: none !important;
    width: var(--size-100) !important;
  }
  .how-it-works .orbital-card {
    backdrop-filter: blur(10px) !important;
    background: var(--color-rgba-255-255-255-0-02) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: var(--size-12px) !important;
    height: auto !important;
    padding: 20px 16px !important;
    transform: none !important;
    transition: none !important;
    width: var(--size-100) !important;
  }
  .how-it-works .orbital-icon {
    height: var(--size-32px) !important;
    margin-bottom: var(--size-12px) !important;
    transform: none !important;
    transition: none !important;
    width: var(--size-32px) !important;
  }
  .how-it-works .orbital-title {
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: unset !important;
    background: none !important;
    background-clip: unset !important;
    color: var(--color-fff) !important;
    font-size: var(--size-18px) !important;
    margin-bottom: var(--size-8px) !important;
    transform: none !important;
    transition: none !important;
  }
  .how-it-works .orbital-text {
    color: var(--color-ccc) !important;
    font-size: var(--size-14px) !important;
    transform: none !important;
    transition: none !important;
  }
  /* Disable all hover effects on mobile */
  .how-it-works .orbital-item:hover .orbital-card,
  .how-it-works .orbital-item:hover .orbital-icon,
  .how-it-works .orbital-item:hover .orbital-title,
  .how-it-works .orbital-item:hover .orbital-text {
    animation: none !important;
    background: none !important;
    color: inherit !important;
    transform: none !important;
  }
  .how-it-works .orbital-item:hover .orbital-card {
    background: var(--color-rgba-255-255-255-0-02) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    box-shadow: none !important;
  }
  .how-it-works .orbital-item:hover .orbital-icon {
    background: linear-gradient(135deg, #c0c0c0 0%, #b5b5b5 50%, #a8a8a8 100%) !important;
    filter: none !important;
  }
  .how-it-works .orbital-item:hover .orbital-title {
    -webkit-text-fill-color: var(--color-fff) !important;
    background: none !important;
    color: var(--color-fff) !important;
  }
  .how-it-works .orbital-item:hover .orbital-text {
    color: var(--color-ccc) !important;
  }
  /* Mobile How It Works Layout */
  .mobile-how-it-works {
    display: flex !important;
    flex-direction: column !important;
    gap: var(--gradient-text-padding) !important;
    padding: 0 !important;
    width: var(--size-100) !important;
  }
  .mobile-step {
    margin: 0 auto !important;
    max-width: var(--size-300px) !important;
    padding: 0 !important;
    width: var(--size-100) !important;
  }
  .mobile-step-card {
    align-items: center !important;
    backdrop-filter: none !important;
    background: none !important;
    border: none !important;
    border-radius: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    padding: 0 !important;
    text-align: center !important;
    transform: none !important;
    transition: none !important;
    width: var(--size-100) !important;
  }
  .mobile-step-icon {
    -webkit-mask: var(--icon) no-repeat center / contain !important;
    background: linear-gradient(135deg, #c0c0c0 0%, #b5b5b5 50%, #a8a8a8 100%) !important;
    height: var(--size-32px) !important;
    margin-bottom: var(--size-12px) !important;
    mask: var(--icon) no-repeat center / contain !important;
    transform: none !important;
    transition: none !important;
    width: var(--size-32px) !important;
  }
  .mobile-step-title {
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: unset !important;
    background: none !important;
    background-clip: unset !important;
    color: var(--color-fff) !important;
    font-family: 'Futura XBlkCnIt BT', sans-serif !important;
    font-size: var(--size-18px) !important;
    font-style: italic !important;
    font-weight: 900 !important;
    margin-bottom: var(--size-8px) !important;
    text-align: center !important;
    transform: none !important;
    transition: none !important;
  }
  .mobile-step-text {
    color: var(--color-ccc) !important;
    font-family: 'SFProDisplay', 'OpenSans', sans-serif !important;
    font-size: var(--cta-font-size) !important;
    letter-spacing: normal !important;
    line-height: 1.4 !important;
    margin: 0 !important;
    text-align: center !important;
    transform: none !important;
    transition: none !important;
  }
  /* Mobile arrows between steps */
  .mobile-arrow {
    align-items: center !important;
    display: flex !important;
    height: var(--gradient-text-padding) !important;
    justify-content: center !important;
    margin: 10px 0 !important;
  }
  .mobile-arrow-icon {
    border-left: 8px solid transparent !important;
    border-right: 8px solid transparent !important;
    border-top: 12px solid rgba(255, 255, 255, 0.4) !important;
    height: 0 !important;
    transform: none !important;
    transition: none !important;
    width: 0 !important;
  }
  .how-it-works .tk-item {
    align-items: center;
    flex: 0 0 auto;
    justify-content: center;
    max-width: var(--size-300px);
    min-height: 160px;
    padding: 20px 16px;
    position: relative;
    text-align: center;
    transition: transform .7s ease;
    width: var(--size-100);
}
  @media (max-width: 767px) {
    .how-it-works .toolkit-grid {
      align-items: center;
      display: flex;
      flex-direction: column;
      gap: var(--size-30px);
  }
    .how-it-works .arrow-connector-vertical {
      align-items: center;
      display: flex;
      flex-shrink: 0;
      height: var(--gradient-text-padding);
      justify-content: center;
      width: var(--gradient-text-padding);
  }
    .how-it-works .arrow-connector-vertical::before {
      border-left: 8px solid transparent;
      border-right: 8px solid transparent;
      border-top: 12px solid rgba(255, 255, 255, 0.3);
      content: '';
      height: 0;
      width: 0;
  }
}
  .how-it-works .tk-icon {
    -webkit-mask: var(--icon) no-repeat center / contain;
    background: linear-gradient(135deg, #c0c0c0 0%, #b5b5b5 50%, #a8a8a8 100%);
    display: block;
    height: var(--size-28px);
    margin-bottom: var(--size-12px);
    margin-left: auto;
    margin-right: auto;
    mask: var(--icon) no-repeat center / contain;
    min-height: var(--size-28px);
    min-width: var(--size-28px);
    transform-origin: center center;
    transition: all 0.3s ease;
    width: var(--size-28px);
  }
  .how-it-works .tk-item:hover .tk-icon {
    background: var(--color-ffffff);
    transform: scale(1.15);
  }
  .how-it-works .tk-title {
    font-size: var(--size-18px);
    margin-bottom: var(--size-8px);
    overflow: visible;
    text-align: center;
    transform-origin: center center;
    transition: transform 0.3s ease;
    white-space: normal;
    will-change: transform;
  }
  .how-it-works .tk-item:hover .tk-title {
    position: relative;
    transform: scale(1.06);
    transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), background-position 0.25s ease;
    z-index: 1;
  }
  .how-it-works .tk-text {
    font-size: var(--cta-font-size);
    overflow: visible;
    text-align: center;
    transition: opacity 0.3s ease;
  }
  .how-it-works .tk-item:hover {
    transform: translateY(-4px);
    z-index: 1000;
  }
  .how-it-works .tk-item:hover .tk-text {
    color: var(--color-ffffff) !important;
    opacity: 1;
  }
  .modal-content {
    width: clamp(var(--size-220px), calc(100vw - 40px), var(--size-250px));
  }
  .modal-body {
    overflow-y: visible;
  }
  .orbital-container {
    height: var(--size-400px);
    margin: 40px 0;
  }
  .orbital-track {
    height: var(--size-300px);
    width: var(--size-300px);
  }
  .orbital-item {
    height: 150px;
    width: 150px;
  }
  .orbital-card {
    height: 140px;
    padding: 20px 16px;
    width: 140px;
  }
  .orbital-title {
    font-size: var(--site-gutter);
    line-height: 1.2;
    margin-bottom: var(--size-8px);
  }
  .orbital-text {
    font-size: var(--size-12px);
    line-height: 1.3;
  }
  .orbital-icon {
    height: var(--size-32px);
    margin-bottom: var(--size-12px);
    width: var(--size-32px);
  }
  .process-step-card {
    min-height: clamp(150px, 62vw, 200px);
    padding: clamp(22px, 6vw, 30px) clamp(18px, 5.5vw, 24px);
    width: clamp(220px, 86vw, 260px);
  }
  .process-step-icon {
    height: var(--size-32px);
    margin-bottom: clamp(10px, 3vw, 14px);
    width: var(--size-32px);
  }
  .process-step-title {
    font-size: var(--size-18px);
    margin-bottom: clamp(8px, 3vw, 12px);
  }
  .process-step-text {
    font-size: var(--cta-font-size);
  }
  .process-arrow-icon {
    animation-duration: 2.4s;
    height: var(--size-40px);
    width: var(--size-40px);
  }
  .site-footer {
    padding: clamp(8px, 2.5vw, 24px) 0 clamp(12px, 3vw, 24px);
  }
  .footer-inner {
    align-items: flex-start;
    column-gap: clamp(24px, 7vw, 96px);
    row-gap: clamp(8px, 3vw, 18px);
    padding: clamp(6px, 2vw, 16px) clamp(18px, 5.5vw, 32px) clamp(8px, 2.4vw, 16px);
  }
  .footer-headline {
    font-size: var(--size-22px);
    letter-spacing: 0;
    line-height: 1.2;
  }
  .footer-qr-card img {
    height: clamp(110px, 34vw, 160px);
    width: clamp(110px, 34vw, 160px);
  }
}
@supports ((background-clip: text) or (-webkit-background-clip: text)) {
  :is(
      .hero-title,
      .tk-item:hover .tk-title,
      .tk-item.pop-open .tk-title,
      .how-it-works .tk-item:hover .tk-title,
      .process-step-title:hover,
      .process-step:hover .process-step-title,
      .footer-email:hover,
      .footer-email:focus,
      .footer-email:focus-visible
    ) {
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: none;
    animation-play-state: running;
    background-clip: text;
    background-image: var(--metallic-gold-sheen), var(--metallic-gold-base);
    background-origin: border-box;
    background-position: var(--metallic-gold-position-start);
    background-repeat: no-repeat, no-repeat;
    background-size: var(--metallic-gold-size);
    color: transparent;
    text-shadow: var(--metallic-gold-shadow);
    will-change: background-position, text-shadow;
  }
  .footer-headline,
  .footer-email,
  .footer-qr-label {
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background: linear-gradient(135deg, #c0c0c0 0%, #b5b5b5 50%, #a8a8a8 100%);
    background-clip: text;
    background-size: 220% 220%;
    color: transparent;
    transition: background-position 0.4s ease;
  }
  .tk-title,
  .process-step-title {
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background: linear-gradient(135deg, #c0c0c0 0%, #b5b5b5 50%, #a8a8a8 100%);
    background-clip: text;
    background-position: 100% 50%;
    background-size: 220% 220%;
    color: transparent;
    text-shadow: 0 0 6px rgba(255, 255, 255, 0.45), 0 0 16px rgba(158, 213, 255, 0.35);
  }
  .footer-headline:hover,
  .footer-qr-label:hover,
  .footer-qr-label:focus-visible {
    color: transparent;
    background-position: 100% 50%;
    text-shadow: 0 0 6px rgba(255, 255, 255, 0.45), 0 0 16px rgba(158, 213, 255, 0.35);
  }
  .footer-email:hover,
  .footer-email:focus,
  .footer-email:focus-visible {
    color: transparent;
    background-position: 100% 50%;
    text-shadow: var(--metallic-gold-shadow);
  }
  @media (prefers-reduced-motion: reduce) {
    :is(
        .hero-title,
        .tk-item:hover .tk-title,
        .tk-item.pop-open .tk-title,
        .how-it-works .tk-item:hover .tk-title,
        .process-step-title:hover,
        .process-step:hover .process-step-title
      ) {
      animation-play-state: paused;
      background-position: 50% 50%, 50% 50%;
    }
  }
}
@media (prefers-reduced-motion: reduce) {
  .btn-cta:hover,
  .btn-cta:focus-visible,
  .btn-more:hover,
  .btn-more:focus-visible,
  .mobile-cta-btn:hover,
  .mobile-cta-btn:focus-visible {
    animation: none !important;
    background: var(--cta-solid-bg) !important;
  }
  .btn-cta:active, .btn-more:active, .mobile-cta-btn:active, .orbital-track {
    animation: none !important;
  }
  .how-it-works .infinite-scroll-track, .orbital-track {
    animation: none;
  }
  .orbital-item, .orbital-card {
    transition: none !important;
  }
  .orbital-item {
    margin: var(--gradient-text-padding);
    position: static;
    transform: none;
  }
  .orbital-container {
    flex-direction: column;
    flex-wrap: wrap;
    height: auto;
  }
}
@media (min-width: 1024px) {
  .toolkit-sub,
  .portfolio-sub {
    text-align: right !important;
  }
  .footer-content {
    margin-top: clamp(-18px, -2.6vw, -8px);
  }
}
@media (min-width: 769px) {
  .how-it-works .toolkit-head.is-stacked::after {
    background: linear-gradient(90deg, #e8e8e8 0%, #c7c7c7 50%, #a8a8a8 100%);
    bottom: var(--size-25px);
    content: '';
    height: var(--size-1-5px);
    left: 0;
    position: absolute;
    right: 0;
  }
}
@media (min-width: 521px) and (max-width: 1023px) {
  .toolkit-grid {
    gap: 25px 20px;
    grid-template-columns: repeat(2, 1fr);
  }
  .tk-item {
    grid-template-columns: 20px 160px;
    max-width: var(--size-300px);
  }
  .portfolio {
    padding: 40px 0 55px 0;
  }
  .toolkit-head::after,
  .portfolio-head::after {
    left: var(--size-32px);
    right: var(--size-32px);
  }
  .hero, body.portfolio-page .hero {
    padding: 280px 0 180px 0;
  }
  body.portfolio-page .hero .portfolio-head::after {
    left: var(--size-32px);
    right: var(--size-44px);
  }

}
@media (min-width: 1020px) {
  .toolkit-grid {
    display: grid;
    gap: var(--size-40px);
    grid-template-columns: repeat(3, 1fr);
  }
  .tk-item {
    grid-template-columns: 20px 180px;
    max-width: 380px;
  }
  .toolkit-inner,
  .portfolio-inner,
  .hero-inner {
    padding: 0 16px;
  }
}
@media (min-width: 768px) and (max-width: 1019px) {
  .portfolio {
    padding: 40px 0 55px 0;
  }
  .portfolio-inner,
  .toolkit-inner {
    max-width: none;
  }
  .toolkit-title,
  .portfolio-title {
    font-size: var(--size-55px) !important;

  }
  .tk-item {
    margin: 0;
    max-width: none;
    width: 100%;
  }
  .toolkit-grid {
    display: grid !important;
    gap: clamp(28px, 5vw, 40px);
    grid-template-columns: repeat(2, minmax(260px, 1fr));
    justify-content: center;
    align-items: stretch;
    justify-items: center;
  }
  .toolkit-grid .voice-item {
    display: none;
  }
  .grid {
    gap: var(--cta-font-size);
    margin: 0;
    max-width: none;
    padding-left: var(--size-32px);
    padding-right: var(--size-32px);
  }
  .card {
    flex: 0 0 calc((100% - 45px) / 4);
    max-width: none;
  }
  .hero, body.portfolio-page .hero {
    padding: 300px 0 200px 0;
  }
  .hero-cta {
    margin-top: var(--size-40px);
  }
  .hero-btn {
    margin-top: -10px;
  }
  .btn-more {
    margin-top: -10px;
  }
  .view-more {
    margin-top: var(--size-55px) !important;
  }
  .how-it-works .infinite-scroll-track {
    animation-duration: 24s;
    gap: var(--size-30px);
    padding: 0 40px;
  }
  .how-it-works .tk-item {
    flex: 0 0 280px;
    max-width: var(--size-300px);
    min-height: var(--size-220px);
    min-width: var(--size-280px);
    padding: 32px 20px;
  }
  .how-it-works .tk-icon {
    height: var(--size-40px);
    margin-bottom: var(--site-gutter);
    width: var(--size-40px);
  }
  .how-it-works .tk-title {
    font-size: var(--size-18px);
    margin-bottom: var(--size-12px);
  }
  .how-it-works .tk-text {
    font-size: var(--cta-font-size);
  }
  .how-it-works .step-arrow {
    height: 24px;
    right: -12px;
    width: 24px;
  }
  .how-it-works .step-arrow::before {
    border-bottom: 6px solid transparent;
    border-left: 10px solid rgba(255, 255, 255, 0.4);
    border-top: 6px solid transparent;
  }

}
@media (min-width: 600px) and (max-width: 767px) {
  .portfolio {
    padding: 40px 0 55px 0;
  }
  .portfolio-inner,
  .toolkit-inner {
    max-width: none;
  }
  .toolkit-title,
  .portfolio-title {
    font-size: var(--size-55px) !important;

  }
}
@media (min-width: 1020px) and (max-width: 1279px) {
  .portfolio {
    padding: 40px 0 55px 0;
  }
  .toolkit-title,
  .portfolio-title {
    font-size: var(--size-55px) !important;

  }
  .grid {
    gap: var(--cta-font-size);
    padding-left: var(--size-32px);
    padding-right: var(--size-32px);
  }
  .card {
    flex: 0 0 calc((100% - 75px) / 6);
    max-width: none;
  }

}
@media (min-width: 1280px) {
  .portfolio {
    padding: 40px 0 55px 0;
  }
  .toolkit-title,
  .portfolio-title {
    font-size: var(--size-55px) !important;

  }
  .grid {
    gap: var(--cta-font-size);
    padding-left: var(--size-32px);
    padding-right: var(--size-32px);
  }
  .card {
    flex: 0 0 calc((100% - 75px) / 6);
    max-width: none;
  }
  .how-it-works .infinite-scroll-track {
    animation-duration: 28s;
    gap: var(--size-40px);
    padding: 0 80px;
  }
  .how-it-works .tk-item {
    flex: 0 0 320px;
    max-width: 360px;
    min-height: 240px;
    min-width: var(--size-320px);
    padding: 40px 28px;
  }
  .how-it-works .tk-icon {
    height: 48px;
    margin-bottom: var(--gradient-text-padding);
    width: 48px;
  }
  .how-it-works .tk-title {
    font-size: 24px;
    margin-bottom: var(--site-gutter);
  }
  .how-it-works .tk-text {
    font-size: 17px;
  }

}
@media (min-width: 520px) and (max-width: 767px) {
  .grid {
    gap: var(--cta-font-size);
    margin: 0;
    max-width: none;
    padding-left: var(--size-32px);
    padding-right: var(--size-32px);
  }
  .card {
    flex: 0 0 calc((100% - 30px) / 3);
    max-width: none;
  }
  .how-it-works .infinite-scroll-container {
    margin-left: 0;
    margin-right: 0;
    padding: 30px 0;
    width: var(--size-100);
  }
  .how-it-works .infinite-scroll-track {
    animation-duration: 20s;
    gap: var(--size-25px);
    padding: 0 20px;
  }
  .how-it-works .tk-item {
    flex: 0 0 240px;
    max-width: var(--size-260px);
    min-height: var(--size-200px);
    min-width: 240px;
    padding: 28px 16px;
  }
  .how-it-works .tk-icon {
    height: 36px;
    margin-bottom: var(--size-14px);
    width: 36px;
  }
  .how-it-works .tk-title {
    font-size: var(--size-18px);
    margin-bottom: var(--size-10px);
  }
  .how-it-works .tk-text {
    font-size: var(--size-14px);
    line-height: 1.3;
  }
  .how-it-works .step-arrow {
    height: var(--gradient-text-padding);
    right: -10px;
    width: var(--gradient-text-padding);
  }
}
@media (max-width: 519px) {
  .grid {
    gap: var(--size-10px);
    padding-left: 0;
    padding-right: 0;
  }
  .card {
    --card-logo-size: 36px;
    flex: 0 0 calc((100% - 20px) / 3);
    max-width: none;
    min-height: 80px;
  }
  .card:active {
    box-shadow: 0 8px 16px rgba(0,0,0,0.5);
    transform: translateY(-2px) scale(0.98);
  }
  @media (max-width: 400px) and (min-width: 350px) {
    .card {
      --card-logo-size: 34px;
      flex: 0 0 calc((100% - 20px) / 3);
      min-height: 76px;
    }
  }
  @media (max-width: 399px) {
    .card {
      --card-logo-size: var(--size-32px);
      flex: 0 0 calc((100% - 20px) / 3);
      min-height: 72px;
    }
  }
  @media (max-width: 350px) {
    .card {
      --card-logo-size: var(--size-30px);
      flex: 0 0 calc((100% - 20px) / 3);
      min-height: 68px;
    }
  }
  .how-it-works .infinite-scroll-container {
    margin-left: 0;
    margin-right: 0;
    overflow: visible;
    padding: 20px 0;
    width: var(--size-100);
    /* Switch to vertical layout on small mobile */
  }
  .how-it-works .infinite-scroll-track {
    align-items: center;
    animation: none;
    flex-direction: column;
    gap: var(--gradient-text-padding);
    padding: 0 16px;
    transform: none;
    /* Disable horizontal scroll on mobile */
  }
  .how-it-works .tk-item {
    flex: 0 0 auto;
    margin: 0 auto;
    max-width: var(--size-300px);
    min-height: var(--size-180px);
    min-width: var(--size-280px);
    padding: 24px 20px;
    width: var(--size-100);
  }
  /* Vertical arrows for mobile */
  .how-it-works .step-arrow {
    bottom: -15px;
    height: var(--size-30px);
    left: var(--size-50);
    position: absolute;
    right: auto;
    top: auto;
    transform: translateX(-50%) rotate(90deg);
    width: var(--size-30px);
  }
  .how-it-works .step-arrow::before {
    border-bottom: 8px solid transparent;
    border-left: 12px solid rgba(255, 255, 255, 0.4);
    border-top: 8px solid transparent;
  }
  .how-it-works .tk-icon {
    height: var(--size-32px);
    margin-bottom: var(--size-12px);
    width: var(--size-32px);
  }
  .how-it-works .tk-title {
    font-size: var(--size-18px);
    line-height: 1.1;
    margin-bottom: var(--size-8px);
  }
  .how-it-works .tk-text {
    font-size: 13px;
    line-height: 1.3;
    opacity: 1;
  }
  /* Remove hover effects on mobile */
  .how-it-works .tk-item:hover {
    background: var(--color-rgba-255-255-255-0-02);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: none;
    transform: none;
  }
  .how-it-works .tk-item:hover .tk-icon,
  .how-it-works .tk-item:hover .tk-title,
  .how-it-works .tk-item:hover .tk-text {
    animation: none;
    background: initial;
    color: initial;
    transform: none;
  }
  .how-it-works .tk-item:hover .tk-icon {
    background: linear-gradient(135deg, #c0c0c0 0%, #b5b5b5 50%, #a8a8a8 100%);
  }
  .how-it-works .tk-item:hover .tk-title {
    -webkit-text-fill-color: var(--color-fff);
    color: var(--color-fff);
  }
  .how-it-works .tk-item:hover .tk-text {
    color: var(--color-ccc);
  }
  /* Hide duplicate items on mobile since we're using vertical layout */
  .how-it-works .tk-item-duplicate {
    display: none;
  }
}
@media (hover: none) {
  .card-play-button {
    opacity: 0.92;
    transform: translate(-50%, -50%) scale(1);
  }
  .card:active .card-play-button {
    transform: translate(-50%, -50%) scale(1.12);
  }
}
@media (max-width: 600px) {
  .modal-inner {
    gap: var(--site-gutter);
  }
  .modal-close-btn {
    font-size: var(--cta-font-size);
  }
}
@media screen and (max-width: 768px) {
  .modal:fullscreen {
    padding-bottom: 0 !important;
    padding-top: 0 !important;
  }
  .modal:fullscreen .video-player {
    height: var(--size-100vh) !important;
    width: var(--size-100vw) !important;
  }
  .modal:fullscreen #customVideo {
    height: var(--size-100vh) !important;
    object-fit: contain !important;
    width: var(--size-100vw) !important;
  }
}
@media screen and (max-width: 768px) and (-webkit-min-device-pixel-ratio: 1) {
  .modal:fullscreen .video-player {
    padding-bottom: env(safe-area-inset-bottom, 0) !important;
    padding-top: env(safe-area-inset-top, 0) !important;
  }
}
@media (orientation: landscape) and (max-width: 768px) {
  .player:fullscreen {
    height: var(--size-100vh) !important;
    width: var(--size-100vw) !important;
  }
  .player:fullscreen #modalVideo {
    height: var(--size-100vh) !important;
    object-fit: contain;
    width: var(--size-100vw) !important;
  }
  .player:fullscreen .controls {
    flex-wrap: wrap !important;
    justify-content: center !important;
    padding: 12px 16px;
  }
  .player:fullscreen #time {
    display: none;
  }
}
@media (orientation: portrait) and (max-width: 768px) {
  .player:fullscreen {
    height: var(--size-100vh) !important;
    width: var(--size-100vw) !important;
  }
  .player:fullscreen #modalVideo {
    height: var(--size-100vh) !important;
    object-fit: contain !important;
    width: var(--size-100vw) !important;
  }
  .player:fullscreen .controls {
    bottom: auto !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    left: var(--size-50) !important;
    max-width: 90vw !important;
    padding: 16px 20px;
    right: auto !important;
    top: var(--size-50) !important;
    transform: translate(-50%, -50%) !important;
    width: auto !important;
  }
  .player:fullscreen #time {
    font-size: 11px;
    opacity: 0.8;
  }
  .player:fullscreen .controls button {
    height: var(--size-55px) !important;
    min-height: var(--size-55px) !important;
    min-width: var(--size-55px) !important;
    width: var(--size-55px) !important;
  }
  .ios-fullscreen-simulated .controls {
    bottom: var(--size-120px) !important;
  }
  .ios-exit-button {
    top: var(--size-60px) !important;
  }
}
@media (max-width: 480px) {
  .player {
    aspect-ratio: 16/9;
    width: 98vw;
  }
  .controls {
    flex-wrap: wrap;
    gap: var(--gradient-text-padding);
    justify-content: center;
    padding: 20px 20px;
  }
  .controls button {
    align-items: center !important;
    border-radius: var(--size-12px) !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-shrink: 0;
    height: var(--size-55px) !important;
    justify-content: center !important;
    min-width: var(--size-55px) !important;
    padding: var(--size-12px) !important;
    width: var(--size-55px) !important;
  }
  #time {
    display: none; }
  .close {
    font-size: var(--size-55px);
    right: var(--gradient-text-padding);
    top: var(--size-60px);
  }
  .hero {
    min-height: 25vh;
    padding: 180px 0 130px 0;

  }
  .toolkit-title,
  .portfolio-title {
    font-size: var(--size-55px) !important;

  }
  body.portfolio-page .hero {
    align-items: center;
    display: flex;
    justify-content: center;
    min-height: 25vh;
    padding: 180px 0 130px 0;
  }
  body.portfolio-page .hero-inner {
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: var(--size-100);
    padding: 0 calc(var(--site-gutter) + 10px);
    padding-bottom: var(--gradient-text-padding);
    padding-top: var(--gradient-text-padding);

  }
  body.portfolio-page .hero-title {
    margin: 0px 0;
    padding: 0px 10px;
    text-align: center;
  }
  body.portfolio-page .hero-sub {
    margin: 15px 0 0 0;
    padding: 0px 8px;
    text-align: center;
  }
  body.portfolio-page .hero .portfolio-title {
    margin: 0px 0;
    padding: 0px 10px;
  }
  body.portfolio-page .hero .portfolio-sub {
    margin: 0px 0;
    padding: 0px 8px;
  }
  .modal-content {
    width: clamp(var(--size-220px), calc(100vw - 24px), 240px);
  }
  .modal-body {
    font-size: var(--cta-font-size);
    overflow-y: visible;
  }
  .modal-subtitle {
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
    background: none;
    background-clip: unset;
    color: var(--modal-text-color);
    font-family: 'Futura XBlkCnIt BT', sans-serif;
    font-size: var(--size-18px);
    font-style: italic;
    font-weight: 900;
    hyphens: none;
    line-height: 1.2;
    margin-bottom: var(--size-8px);
    overflow-wrap: break-word;
    text-transform: uppercase;
    word-wrap: break-word;
  }
  .modal-main-text {
    color: var(--modal-text-color);
    font-size: var(--cta-font-size);
  }
  .modal-title {
    color: var(--modal-text-color);
    display: none;
    font-size: var(--size-22px);
    /* Скрываем заголовок, чтобы убрать дублирование */
  }
  .orbital-container {
    height: 350px;
    margin: 30px 0;
  }
  .orbital-track {
    height: var(--size-250px);
    width: var(--size-250px);
  }
  .orbital-item {
    height: var(--size-120px);
    width: var(--size-120px);
  }
  .orbital-card {
    height: var(--tk-item-peek);
    padding: 16px 12px;
    width: var(--tk-item-peek);
  }
  .orbital-title {
    font-size: var(--size-14px);
    line-height: 1.1;
    margin-bottom: var(--size-6px);
  }
  .orbital-text {
    font-size: 11px;
    line-height: 1.2;
  }
  .orbital-icon {
    height: var(--size-28px);
    margin-bottom: var(--size-10px);
    width: var(--size-28px);
  }
  .site-footer {
    padding: clamp(6px, 3vw, 20px) 0 clamp(12px, 3vw, 24px);
  }
  .footer-inner {
    align-items: flex-start;
    border-radius: 0;
    column-gap: clamp(20px, 10vw, 64px);
    row-gap: clamp(8px, 3vw, 18px);
    padding: clamp(6px, 2.5vw, 16px) clamp(16px, 7vw, 28px) clamp(8px, 2.4vw, 16px);
  }
  .footer-content {
    max-width: min(360px, 100%);
  }
  .footer-qr-card img {
    height: clamp(96px, 40vw, 140px);
    width: clamp(96px, 40vw, 140px);
  }
}
/* Support for reduced motion preference */
/* On small screens we don't need the edge spacers (grid becomes vertical) */
/* Show mobile layout only on mobile */
@media (min-width: 768px) {
  .how-it-works .toolkit-grid {
    align-items: center;
    display: flex;
    gap: var(--size-32px);
    justify-content: center;
    padding: 40px 100px;
  }
  .how-it-works .arrow-connector {
    align-items: center;
    display: flex;
    flex-shrink: 0;
    height: var(--gradient-text-padding);
    justify-content: center;
    width: var(--gradient-text-padding);
    will-change: transform;
    /* Ensure arrows are visible during infinite scroll */
  }
  .how-it-works .arrow-connector::before {
    border-bottom: 6px solid transparent;
    border-left: 10px solid rgba(255, 255, 255, 0.3);
    border-top: 6px solid transparent;
    content: '';
    height: 0;
    width: 0;
  }
  /* Ensure arrows are duplicated for infinite scroll */
  .how-it-works .toolkit-grid.infinite-scroll .arrow-connector {
    animation: inherit;
  }
  .desktop-process-layout {
    --process-center: clamp(112px, 12.5vw, 152px);
    --process-column: clamp(220px, 22vw, 280px);
    --process-spacing: clamp(24px, 4.2vw, 60px);
    align-content: center;
    align-items: center;
    display: grid;
    gap: var(--process-spacing);
    grid-template-areas: "step1 arrow12 step2"
      "arrow41 center arrow23"
      "step4 arrow34 step3";
    grid-template-columns: var(--process-column) var(--process-center) var(--process-column);
    grid-template-rows: var(--process-column) var(--process-center) var(--process-column);
    justify-content: center;
    justify-items: center;
    margin: 0 auto;
    max-width: min(1120px, 92vw);
    position: relative;
  }
  .desktop-process-layout .desktop-row {
    display: contents;
  }
  .desktop-process-layout [data-step="1"] {
    grid-area: step1; }
  .desktop-process-layout [data-step="2"] {
    grid-area: step2; }
  .desktop-process-layout [data-step="3"] {
    grid-area: step3; }
  .desktop-process-layout [data-step="4"] {
    grid-area: step4; }
  .desktop-process-layout [data-connection="1-2"] {
    grid-area: arrow12; }
  .desktop-process-layout [data-connection="2-3"] {
    grid-area: arrow23; }
  .desktop-process-layout [data-connection="3-4"] {
    grid-area: arrow34; }
  .desktop-process-layout [data-connection="4-1"] {
    grid-area: arrow41; }
  .desktop-process-layout .process-center {
    grid-area: center; }
  .desktop-process-layout [data-connection] {
    height: var(--size-100);
    width: var(--size-100);
  }
  .tablet-process-layout, .process-center--mobile {
    display: none;
  }
}
@media (min-width: 521px) and (max-width: 1020px) {
  .how-it-works .toolkit-grid {
    -ms-overflow-style: none;
    justify-content: flex-start;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
  }
  .how-it-works .toolkit-grid::-webkit-scrollbar {
    display: none;
  }
  .how-it-works .tk-icon {
    min-height: var(--size-28px);
    min-width: var(--size-28px);
  }
  .how-it-works .tk-title {
    font-size: var(--size-18px);
  }
  .how-it-works .tk-text {
    font-size: var(--cta-font-size);
  }
}
@media (min-width: 1400px) {
  .how-it-works .toolkit-grid {
    justify-content: flex-start;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    max-width: none;
    overflow-x: auto;
    overflow-y: visible;
    width: var(--size-100vw);
    /* Keep the grid full-bleed even on very wide screens so edge
       spacers remain effective and first/last items peek equally. */
  }
}
/* ===== RESPONSIVE DESIGN FOR HOW IT WORKS ===== */
/* Desktop (1280px+) */
/* Large screens (1024px - 1279px) */
@media (min-width: 1024px) and (max-width: 1279px) {
  .how-it-works .infinite-scroll-track {
    animation-duration: 26s;
    gap: 35px;
    padding: 0 60px;
  }
  .how-it-works .tk-item {
    flex: 0 0 300px;
    max-width: var(--size-320px);
    min-height: 230px;
    min-width: var(--size-300px);
    padding: 36px 24px;
  }
  .how-it-works .tk-icon {
    height: var(--size-44px);
    margin-bottom: var(--size-18px);
    width: var(--size-44px);
  }
  .how-it-works .tk-title {
    font-size: var(--size-18px);
    margin-bottom: var(--size-14px);
  }
  .how-it-works .tk-text {
    font-size: var(--site-gutter);
  }
}
/* Tablet (768px - 1023px) */
/* Mobile landscape (520px - 767px) */
/* Mobile portrait (320px - 519px) */
/* Very small devices (max 320px) */
@media (max-width: 320px) {
  .how-it-works .infinite-scroll-track {
    padding: 0 12px;
  }
  .how-it-works .tk-item {
    min-height: 160px;
    min-width: var(--size-260px);
    padding: 20px 16px;
  }
  .how-it-works .tk-icon {
    height: var(--size-28px);
    margin-bottom: var(--size-10px);
    width: var(--size-28px);
  }
  .how-it-works .tk-title {
    font-size: var(--site-gutter);
    margin-bottom: var(--size-6px);
  }
  .how-it-works .tk-text {
    font-size: var(--size-12px);
  }
}
/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 2dppx) {
  .how-it-works .tk-item {
    border-width: 0.5px;
  }
  .how-it-works .step-arrow::after {
    height: 1px;
  }
}
/* Landscape orientation adjustments for tablets */
@media (orientation: landscape) and (min-width: 768px) and (max-width: 1024px) {
  .how-it-works .infinite-scroll-track {
    animation-duration: 22s;
  }
}
/* Dark mode support (if system prefers dark) */
@media (prefers-color-scheme: dark) {
  .how-it-works .tk-item {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.1);
  }
  .how-it-works .tk-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.18);
  }
}
/* Browser-specific optimizations */
@supports (-webkit-appearance: none) {
  /* Safari specific optimizations */
  .how-it-works .infinite-scroll-track {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}
@supports (-moz-appearance: none) {
  /* Firefox specific optimizations */
  .how-it-works .infinite-scroll-track {
    will-change: transform;
  }
}
/* Edge and Chrome optimizations */
@supports (backdrop-filter: blur(10px)) {
  .how-it-works .tk-item {
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
  }
}
/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
  .how-it-works .tk-item:hover {
    background: var(--color-rgba-255-255-255-0-02);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: none;
    transform: none;
  }
  .how-it-works .tk-item:active {
    transform: scale(0.98);
    transition: transform 0.1s ease;
  }
  /* Orbital animation optimizations for touch devices */
  .orbital-container {
    height: var(--size-400px);
  }
  .orbital-track {
    height: var(--size-300px);
    width: var(--size-300px);
  }
  .orbital-item {
    height: 150px;
    width: 150px;
  }
  .orbital-card {
    height: 140px;
    padding: 16px 12px;
    width: 140px;
  }
  .orbital-card:hover {
    transform: scale(1.02);
  }
}
/* Medium screens */
/* Small screens */
/* 4K and ultra-wide displays */
@media (min-width: 2560px) {
  .how-it-works .infinite-scroll-track {
    animation-duration: 32s;
    gap: var(--size-50px);
    padding: 0 120px;
  }
  .how-it-works .tk-item {
    flex: 0 0 400px;
    max-width: 450px;
    min-height: var(--size-280px);
    min-width: var(--size-400px);
    padding: 50px 32px;
  }
  .how-it-works .tk-icon {
    height: var(--size-60px);
    margin-bottom: 24px;
    width: var(--size-60px);
  }
  .how-it-works .tk-title {
    font-size: var(--size-28px);
    margin-bottom: var(--gradient-text-padding);
  }
  .how-it-works .tk-text {
    font-size: 19px;
  }
  /* Orbital animation for large screens */
  .orbital-container {
    height: 600px;
  }
  .orbital-track {
    height: 500px;
    width: 500px;
  }
  .orbital-item {
    height: var(--size-250px);
    width: var(--size-250px);
  }
  .orbital-card {
    height: var(--size-220px);
    padding: 32px 24px;
    width: var(--size-220px);
  }
}
/* ========================================
   ORBITAL ANIMATION STYLES
   ======================================== */
/* Respect user's motion preferences */
/* Support for reduced motion preference */
/* Mobile Responsive Design */
/* Desktop/Layout for >= tablets (2x2 grid with circular arrows) */
/* Mobile Layout (vertical) - <768px */
@media (max-width: 767px) {
  .mobile-process-layout {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: var(--site-gutter);
    padding-block: var(--site-gutter);
  }
  .process-center--mobile {
    display: none;
  }
  .process-center--mobile .process-center-ring {
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
    padding: calc(var(--site-gutter) * 0.85);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .process-center--mobile .process-center-logo {
    background: transparent;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .process-center--mobile .process-center-logo img {
    width: 62%;
  }
  .toolkit-title,
  .portfolio-title {
    font-size: var(--size-55px) !important;
    text-align: center !important;
    line-height: 0.9 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-bottom: var(--size-10px) !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-bottom: 0 !important;
  }
  .toolkit-sub,
  .portfolio-sub {
    font-size: 18px !important;
    text-align: center !important;
    margin-top: var(--size-10px) !important;
  }
  .hero-sub,
  body.portfolio-page .hero-sub {
    font-size: 18px !important;
    text-align: center !important;
  }
.process-center--mobile:hover .process-center-logo, .process-center--mobile:hover .process-center-ring {
  transform: scale(1.03);
}
}
/* Responsive adjustments for different screen sizes */
@media (max-width: 1024px) {
  .process-step-card {
    min-height: clamp(160px, 34vw, 210px);
    padding: clamp(24px, 4.6vw, 32px) clamp(18px, 3.8vw, 26px);
    width: clamp(220px, 38vw, 270px);
  }
  .process-step-icon {
    height: var(--size-32px);
    margin-bottom: clamp(12px, 2vw, 16px);
    width: var(--size-32px);
  }
  .process-step-title {
    font-size: var(--size-18px);
    margin-bottom: clamp(10px, 2vw, 14px);
  }
  .process-step-text {
    font-size: var(--cta-font-size);
  }
}
@media (max-width: 640px) {
  .footer-inner {
    align-items: center;
  }
  .footer-qr {
    display: none;
  }
}
/* Mobile Footer Styles */
/* Mobile Footer CTA Button */
/* Универсальный класс для анимированного текста с градиентом */
.gradient-text-animated {
  background-origin: border-box;
  overflow: visible;
  padding-left: var(--gradient-text-padding);
  padding-right: var(--gradient-text-padding);
  /* Предотвращение обрезки текста с background-clip */
}
.hamburger-line {
  background: var(--color-fff);
  height: var(--size-3px);
  transform-origin: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  width: var(--size-100);
}
.mobile-blur-overlay {
  -webkit-backdrop-filter: blur(42px);
  backdrop-filter: blur(42px);
  background: rgba(0, 0, 0, 0.3);
  height: var(--size-100);
  left: 0;
  max-height: var(--size-100vh);
  max-width: var(--size-100vw);
  opacity: 0;
  pointer-events: none;
  position: fixed;
  top: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  visibility: hidden;
  width: var(--size-100);
  z-index: 999;
}
.mobile-blur-overlay.active, .keyboard-hint.show {
  opacity: 1;
  visibility: visible;
}
.logo {
  align-items: center;
  display: flex;
  height: var(--size-100);
  position: relative;
}
.logo img {
  display: block;
  height: var(--size-28px);
  transition: height 0.15s ease, filter 0.15s ease, transform 0.15s ease;
  width: auto;
}
.logo:hover img {
  animation: heartbeat-active 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  filter: brightness(1.5) contrast(1.4) hue-rotate(20deg) saturate(1.4);
  transform: scale(1.015);
}
.logo:hover {
  position: relative;
}
/* Enhanced heartbeat for header logo */
.soc img {
  display: block;
  opacity: 1;
  transition: transform .2s ease, opacity .2s ease;
}
.soc:hover img {
  opacity: 1;
  transform: scale(1.1);

}
.toolkit {
  --prism-size: 600px;
  --tk-gap: var(--size-2px);
  -webkit-tap-highlight-color: transparent !important;
  margin-bottom: 0;
  margin-top: 0;
  max-width: var(--size-100);
  padding: 40px 32px 55px 32px;
  position: relative;
  z-index: 100;

}
.toolkit-head {
  align-items: flex-start;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin: 0px 0px 40px;
  padding: 0 0 40px 0;
  position: relative;
  width: var(--size-100);
  z-index: 3;

}
.how-it-works .toolkit-head {
  align-items: flex-start;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin: 0px 0px 40px !important;
  padding: 0 0 40px 0 !important;
  position: relative;
  width: var(--size-100);
  z-index: 3;
}
.toolkit-sub {
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background: linear-gradient(135deg, #c0c0c0 0%, #b5b5b5 50%, #a8a8a8 100%);
  background-clip: text;
  color: var(--color-ffffff) !important;
  color: transparent;
  flex-shrink: 0;
  font-family: 'Futura XBlkCnIt BT', sans-serif;
  font-size: var(--size-22px);
  font-style: normal;
  font-weight: normal;
  line-height: 1.2;
  margin-bottom: 0 !important;
  margin-top: 0 !important;
  padding-left: var(--size-8px);
  padding-right: var(--size-32px);
  padding-top: 0 !important;
  text-align: right;
  text-transform: uppercase;
}
.how-it-works .toolkit-head.is-stacked {
  align-items: center;
  flex-direction: column;
  gap: var(--site-gutter);
  justify-content: center;
  padding: 0 32px 40px 32px;
  text-align: center;
}
.how-it-works .toolkit-head.is-stacked .toolkit-title {
  padding-left: 0;
  text-align: center;
}
.how-it-works .toolkit-head.is-stacked .toolkit-sub {
  padding-left: 0;
  padding-right: 0;
  text-align: center;
}
.tk-text {
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  color: var(--color-ccc);
  display: -webkit-box;
  display: block !important;
  font-family: 'SFProDisplay', 'OpenSans', sans-serif;
  font-size: var(--cta-font-size);
  font-weight: normal;
  letter-spacing: normal;
  line-clamp: 3;
  line-height: 1.2;
  margin: 0 auto;
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: var(--size-220px);
  max-width: var(--size-180px) !important;
  opacity: .9;
  overflow: hidden;
  position: relative;
  text-align: center;
  text-align: center !important;
  transition: opacity 0.3s ease;
  width: var(--size-100) !important;
  z-index: 1;
  /* match mobile width */

}
.tk-body {
  margin-top: var(--size-8px) !important;
  padding-top: 0 !important;
  position: relative;
  text-align: center;
  width: var(--size-100);
}
.tk-icon {
  -webkit-mask: var(--icon) no-repeat center / contain;
  background: linear-gradient(135deg, #c0c0c0 0%, #b5b5b5 50%, #a8a8a8 100%);
  display: block;
  height: var(--size-32px);
  margin-bottom: var(--size-12px);
  margin-left: auto;
  margin-right: auto;
  mask: var(--icon) no-repeat center / contain;
  min-height: var(--size-32px);
  min-width: var(--size-32px);
  opacity: .95;
  position: relative;
  transform-origin: center center;
  transition: all 0.3s ease;
  width: var(--size-32px);
  z-index: 1;
}

@media (max-width: 768px) {
  .toolkit-grid .tk-item {
    text-align: center !important;
  }
  .toolkit-grid .tk-title,
  .toolkit-grid .tk-text {
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
  }
  .toolkit .tk-item .tk-title {
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: clamp(2px, 1vw, 6px) !important;
    padding-right: clamp(2px, 1vw, 6px) !important;
    text-align: center !important;
  }
  .toolkit .tk-item:hover .tk-title,
  .toolkit .tk-item.pop-open .tk-title {
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: clamp(2px, 1vw, 6px) !important;
    padding-right: clamp(2px, 1vw, 6px) !important;
  }
  .toolkit-grid .tk-text {
    padding-left: clamp(2px, 1vw, 6px) !important;
    padding-right: clamp(2px, 1vw, 6px) !important;
  }
  .toolkit-grid .voice-item {
    display: none !important;
  }
}

@media (min-width: 521px) and (max-width: 768px) {
  .toolkit-grid {
    display: grid !important;
    gap: clamp(28px, 5vw, 40px);
    grid-template-columns: repeat(2, minmax(260px, 1fr));
    justify-content: center;
    align-items: stretch;
    justify-items: center;
    margin: 0 auto;
    max-width: none;
    padding: 0 clamp(16px, 5vw, 28px);
    width: var(--size-100);
  }
  .tk-item {
    align-items: center;
    display: flex !important;
    flex-direction: column;
    gap: 0 !important;
    padding: 16px;
    text-align: center !important;
  }
  .tk-icon {
    height: var(--size-32px) !important;
    margin: 0 0 var(--size-12px) 0 !important;
    min-height: var(--size-32px) !important;
    min-width: var(--size-32px) !important;
    width: var(--size-32px) !important;
  }
  .toolkit .tk-item .tk-title {
    display: inline-block !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: var(--gradient-text-padding) !important;
    padding-right: var(--gradient-text-padding) !important;
    text-align: center !important;
  }
  .toolkit-grid .tk-title {
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: var(--gradient-text-padding) !important;
    padding-right: var(--gradient-text-padding) !important;
    text-align: center !important;
  }
  .tk-title,
  .tk-text {
    justify-self: center;
  }
  .tk-title {
    padding: 0 20px !important;
  }
  .tk-text,
  .toolkit-grid .tk-text {
    margin: 0 auto !important;
    max-width: var(--size-180px) !important;
    padding: 0 !important;
    text-align: center !important;
  }
  .tk-item:hover .tk-icon,
  .tk-item.pop-open .tk-icon {
    background: linear-gradient(135deg, #ffffff 0%, #f5f5f5 50%, #ffffff 100%) !important;
    transform: scale(1.15);
  }
  .tk-item:hover .tk-title,
  .tk-item.pop-open .tk-title {
    padding-left: var(--size-28px) !important;
    padding-right: var(--size-28px) !important;
    transform: scale(1.06) !important;
  }
  .tk-item:hover .tk-text,
  .tk-item.pop-open .tk-text {
    color: var(--color-ffffff) !important;
  }
  .toolkit-grid .voice-item {
    display: none !important;
  }
}
.tk-title {
  color: var(--color-fff);
  display: inline-block;
  font-family: 'Futura XBlkCnIt BT', sans-serif;
  font-size: var(--size-18px);
  font-style: normal;
  font-weight: normal;
  margin-bottom: var(--size-8px);
  overflow: visible;
  padding: 0 20px;
  position: relative;
  text-align: center;
  transform-origin: center center;
  transition: transform .3s ease;
  white-space: normal;
  will-change: transform;
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.45), 0 0 16px rgba(158, 213, 255, 0.35);

}
.tk-title::before {
  bottom: 0;
  color: var(--color-fff);
  content: attr(data-text);
  left: 0;
  opacity: 0;
  position: absolute;
  right: 0;
  top: 0;
  z-index: -1;
}
.ios-fullscreen-simulated {
  background: var(--bg) !important;
  height: var(--size-100vh) !important;
  left: 0 !important;
  position: fixed !important;
  top: 0 !important;
  width: var(--size-100vw) !important;
  z-index: 100000 !important;
}
.ios-fullscreen-simulated .controls {
  -webkit-backdrop-filter: blur(10px) !important;
  backdrop-filter: blur(10px) !important;
  background: rgba(0, 0, 0, 0.7) !important;
  border-radius: var(--size-12px) !important;
  bottom: 100px !important;
  left: var(--gradient-text-padding) !important;
  padding: var(--cta-font-size) !important;
  position: absolute !important;
  right: var(--gradient-text-padding) !important;
  z-index: 100001 !important;
}
.close {
  background: transparent;
  border: none;
  border-radius: 0;
  box-sizing: border-box;
  color: var(--color-fff);
  cursor: pointer;
  display: inline-block;
  font-size: 72px;
  height: auto;
  outline: none;
  padding: 0;
  position: absolute;
  right: var(--gradient-text-padding);
  text-align: center;
  top: var(--size-60px);
  transition: opacity 0.2s ease;
  width: auto;
}
.keyboard-hint {
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  background: rgba(0, 0, 0, 0.8);
  border-radius: var(--size-8px);
  color: var(--color-fff);
  font-family: 'SFProDisplay', 'OpenSans', sans-serif;
  font-size: var(--cta-font-size);
  left: var(--gradient-text-padding);
  letter-spacing: normal;
  line-height: 1.4;
  opacity: 0;
  padding: 8px 12px;
  pointer-events: none;
  position: absolute;
  top: var(--gradient-text-padding);
  transition: opacity 0.3s ease, visibility 0.3s ease;
  visibility: hidden;
  z-index: 1000;
}
.view-more {
  display: flex;
  justify-content: center;
  margin-top: var(--size-50px); }
.dotted-interactive {
  height: var(--size-100);
  left: 0;
  pointer-events: none;
  position: fixed;
  top: 0;
  width: var(--size-100);
  z-index: 0;
}
.how-it-works .infinite-scroll-track {
  -webkit-backface-visibility: hidden;
  -webkit-transform: translateZ(0);
  animation: infiniteScrollLeft 24s linear infinite;
  backface-visibility: hidden;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: var(--size-30px);
  padding: 0 50px;
  transform: translateZ(0);
  will-change: transform;
  /* Infinite scroll animation */
  /* Performance optimizations */
  /* Ensure smooth animation on all browsers */
}
/* Icons */
.how-it-works .tk-icon {
  -webkit-mask: var(--icon) no-repeat center / contain;
  background: linear-gradient(135deg, #c0c0c0 0%, #b5b5b5 50%, #a8a8a8 100%);
  display: block;
  flex-shrink: 0;
  height: var(--size-28px);
  margin-bottom: var(--size-12px);
  margin-left: auto;
  margin-right: auto;
  mask: var(--icon) no-repeat center / contain;
  min-height: var(--size-40px);
  min-width: var(--size-40px);
  transform-origin: center center;
  transition: all 0.3s ease;
  width: var(--size-28px);
}
/* Titles */
.how-it-works .tk-title {
  color: var(--color-fff);
  font-family: 'Futura XBlkCnIt BT', sans-serif;
  font-size: var(--size-18px);
  font-style: italic;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: var(--size-8px);
  overflow: visible;
  padding: 0 8px;
  text-align: center;
  transform-origin: center center;
  transition: none;
  white-space: normal;
  will-change: auto;
}
/* Text */
.how-it-works .tk-text {
  color: var(--color-ccc);
  font-family: 'SFProDisplay', 'OpenSans', sans-serif;
  font-size: var(--cta-font-size);
  font-weight: normal;
  letter-spacing: normal;
  line-height: 1.4;
  margin: 0;
  margin-top: var(--size-8px) !important;
  opacity: 1;
  overflow: visible;
  padding: 0 4px;
  text-align: center;
  transition: none;
}
.how-it-works {
  --tk-item-peek: 0;
  padding: 40px 32px 55px 32px;
}
/* Hide mobile layout on desktop by default */
.dragging {
  -moz-user-select: none;
  -ms-user-select: none;
  -webkit-user-select: none;
  user-select: none;
}

/* Project brief modal */
.brief-modal {
  align-items: center;
  backdrop-filter: none;
  display: flex;
  inset: 0;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  transition: opacity 0.25s ease;
  z-index: 11000;
}
.brief-modal[aria-hidden="false"] {
  opacity: 1;
  pointer-events: auto;
}
.brief-modal__backdrop {
  background: radial-gradient(circle at 20% 20%, rgba(0, 180, 255, 0.18), transparent 55%), rgba(0, 0, 0, 0.78);
  inset: 0;
  position: absolute;
}
.brief-modal__dialog {
  background: rgba(10, 10, 10, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 26px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  color: var(--color-fff);
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-height: min(680px, 92vh);
  max-width: 720px;
  padding: 32px clamp(20px, 4vw, 40px) 28px;
  position: relative;
  transform: translateY(30px) scale(0.95);
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
  width: min(720px, calc(100% - 32px));
}
.brief-modal[aria-hidden="false"] .brief-modal__dialog {
  transform: translateY(0) scale(1);
}
.brief-modal__close {
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: none;
  border-radius: 50%;
  color: #ffffff;
  cursor: pointer;
  display: inline-flex;
  font-size: 24px;
  height: 40px;
  justify-content: center;
  position: absolute;
  right: 18px;
  top: 18px;
  transition: background 0.2s ease, transform 0.2s ease;
  width: 40px;
}
.brief-modal__close:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: scale(1.05);
}
.brief-modal__header {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-right: 40px;
}
.brief-modal__eyebrow {
  color: rgba(255, 255, 255, 0.55);
  font-family: 'SFProDisplay', 'OpenSans', sans-serif;
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}
.brief-modal__title {
  font-family: 'Futura XBlkCnIt BT', sans-serif;
  font-size: clamp(26px, 4vw, 34px);
  font-style: italic;
  letter-spacing: 0.01em;
  line-height: 1.05;
  text-transform: uppercase;
}
.brief-modal__subtitle {
  color: rgba(255, 255, 255, 0.68);
  font-family: 'SFProDisplay', 'OpenSans', sans-serif;
  font-size: clamp(14px, 2.2vw, 16px);
  line-height: 1.4;
  max-width: clamp(260px, 80%, 420px);
}
.brief-progress {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.brief-progress__track {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  height: 6px;
  overflow: hidden;
}
.brief-progress__bar {
  background: var(--cta-gradient-base);
  height: 100%;
  transform: scaleX(0.25);
  transform-origin: left center;
  transition: transform 0.3s ease;
  width: 100%;
}
.brief-progress__steps {
  color: rgba(255, 255, 255, 0.5);
  display: flex;
  font-family: 'SFProDisplay', 'OpenSans', sans-serif;
  font-size: 11px;
  justify-content: space-between;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.brief-form {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0;
  overflow: hidden;
}
.brief-step {
  display: none;
  flex-direction: column;
  gap: 18px;
}
.brief-step.is-active {
  display: flex;
}
.brief-step__title {
  font-family: 'SFProDisplay', 'OpenSans', sans-serif;
  font-size: clamp(18px, 2.5vw, 20px);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.brief-field,
.brief-fieldset {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.brief-field {
  font-family: 'SFProDisplay', 'OpenSans', sans-serif;
  font-size: 15px;
}
.brief-field label,
.brief-fieldset legend {
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.brief-field input,
.brief-field textarea,
.brief-field select,
.brief-fieldset input {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  color: var(--color-fff);
  font-family: 'SFProDisplay', 'OpenSans', sans-serif;
  font-size: 15px;
  padding: 12px 14px;
}
.brief-field textarea {
  min-height: 96px;
  resize: vertical;
}
.brief-field select {
  appearance: none;
  background-image: url('data:image/svg+xml,%3Csvg fill="white" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"%3E%3Cpath d="M7 10l5 5 5-5z"/%3E%3C/svg%3E');
  background-position: right 14px center;
  background-repeat: no-repeat;
  background-size: 16px;
  padding-right: 42px;
}
.brief-field input:focus,
.brief-field textarea:focus,
.brief-field select:focus {
  border-color: rgba(0, 198, 255, 0.6);
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 198, 255, 0.15);
}
.brief-field--checkbox,
.brief-choice {
  align-items: center;
  display: flex;
  flex-direction: row;
  gap: 10px;
}
.brief-choice input[type="radio"],
.brief-field--checkbox input[type="checkbox"] {
  accent-color: #00c8ff;
  cursor: pointer;
  height: 18px;
  width: 18px;
}
.brief-choice label,
.brief-field--checkbox label {
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  font-size: 15px;
  letter-spacing: 0.01em;
  text-transform: none;
}
.brief-fieldset {
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  padding: 18px clamp(14px, 3vw, 22px);
}
.brief-fieldset legend {
  font-size: 12px;
  letter-spacing: 0.26em;
  margin-bottom: 12px;
}
.brief-fieldset--grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.brief-field--checkbox-group {
  display: grid;
  gap: 10px;
}
.brief-field--split {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.brief-form__footer {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: auto;
  padding-top: 16px;
}
.brief-btn {
  background: var(--cta-gradient-base);
  border: none;
  border-radius: 999px;
  color: var(--color-1a1a1a);
  cursor: pointer;
  font-family: 'SFProDisplay', 'OpenSans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.14em;
  min-width: 130px;
  padding: 12px 22px;
  text-transform: uppercase;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.brief-btn:hover {
  box-shadow: var(--cta-glow);
  transform: translateY(-1px);
}
.brief-btn:disabled {
  cursor: not-allowed;
  opacity: 0.5;
  box-shadow: none;
}
.brief-btn--ghost {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.82);
  font-weight: 500;
}
.brief-btn--ghost:hover {
  box-shadow: none;
}
.brief-btn--close {
  align-self: flex-start;
  margin-top: 24px;
}
.brief-confirmation {
  display: none;
  flex-direction: column;
  gap: 12px;
}
.brief-confirmation__lead {
  color: rgba(255, 255, 255, 0.72);
  font-family: 'SFProDisplay', 'OpenSans', sans-serif;
  font-size: 15px;
}
.brief-summary {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  padding: 20px clamp(16px, 4vw, 24px);
}
.brief-summary__item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.brief-summary dt {
  color: rgba(255, 255, 255, 0.6);
  font-family: 'SFProDisplay', 'OpenSans', sans-serif;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.brief-summary dd {
  color: var(--color-fff);
  font-family: 'SFProDisplay', 'OpenSans', sans-serif;
  font-size: 15px;
  line-height: 1.4;
  margin: 0;
  white-space: pre-wrap;
}
.brief-modal input,
.brief-modal textarea,
.brief-modal select,
.brief-modal label,
.brief-modal legend,
.brief-modal dt,
.brief-modal dd,
.brief-modal button {
  -webkit-user-select: text;
  user-select: text;
}

@media (max-width: 720px) {
  .brief-modal__dialog {
    border-radius: 22px;
    max-height: min(88vh, 620px);
    padding: 28px 24px 24px;
  }
  .brief-modal__header {
    padding-right: 0;
  }
  .brief-modal__close {
    right: 14px;
    top: 14px;
  }
  .brief-form__footer {
    flex-wrap: wrap;
    justify-content: center;
  }
  .brief-btn {
    flex: 1;
    min-width: 0;
  }
}

@media (max-width: 560px) {
  .brief-progress__steps {
    display: none;
  }
  .brief-fieldset--grid,
  .brief-field--split {
    grid-template-columns: 1fr;
  }
  .brief-modal__dialog {
    padding: 26px 18px 22px;
  }
  .brief-form__footer {
    gap: 10px;
  }
  .brief-btn {
    font-size: 13px;
    letter-spacing: 0.12em;
    padding: 12px 18px;
  }
}

@media (max-height: 680px) {
  .brief-modal__dialog {
    max-height: calc(100vh - 40px);
    overflow-y: auto;
  }
}

.connect-modal {
  align-items: center;
  display: flex;
  inset: 0;
  justify-content: center;
  opacity: 0;
  padding: 24px;
  pointer-events: none;
  position: fixed;
  transition: opacity 0.25s ease;
  z-index: 12000;
}
.connect-modal[aria-hidden="false"] {
  opacity: 1;
  pointer-events: auto;
}
.connect-modal__overlay {
  background: rgba(0, 0, 0, 0.55);
  inset: 0;
  position: absolute;
  z-index: 0;
}
.connect-modal__dialog {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 14px 40px rgba(7, 12, 24, 0.24);
  color: #0d0d0d;
  display: flex;
  flex-direction: column;
  max-height: min(92vh, 720px);
  max-width: 720px;
  overflow: hidden;
  position: relative;
  width: min(100%, 720px);
  z-index: 1;
}
.connect-modal__header {
  align-items: center;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 16px 20px;
}
.connect-modal__title {
  font-size: 18px;
  margin: 0;
}
.connect-modal__subtitle {
  color: #6b7280;
  font-size: 13px;
  margin: 4px 0 0;
}
.connect-modal__close {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  color: #374151;
  cursor: pointer;
  font-size: 13px;
  padding: 8px 12px;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.connect-modal__close:hover,
.connect-modal__close:focus-visible {
  background: #f3f4f6;
  color: #111827;
}
.connect-modal__progress {
  padding: 12px 20px;
}
.connect-modal__meta {
  color: #6b7280;
  display: flex;
  font-size: 12px;
  justify-content: space-between;
  margin-bottom: 6px;
}
.connect-modal__bar {
  background: #f3f4f6;
  border-radius: 999px;
  height: 6px;
  overflow: hidden;
  position: relative;
}
.connect-modal__bar-fill {
  background: #111827;
  height: 6px;
  transform-origin: left;
  transition: width 0.25s ease;
  width: 0;
}
.connect-modal__form {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 16px;
  overflow-y: auto;
  padding: 16px 20px 0;
}
.connect-modal__step {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.connect-modal__field {
  display: block;
}
.connect-modal__label {
  align-items: center;
  color: #111827;
  display: inline-flex;
  font-size: 13px;
  gap: 6px;
  margin-bottom: 6px;
}
.connect-modal__hint {
  color: #9ca3af;
  font-size: 12px;
}
.connect-modal__input,
.connect-modal__select,
.connect-modal__textarea {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  color: #0f172a;
  font-family: inherit;
  font-size: 14px;
  padding: 10px 12px;
  width: 100%;
}
.connect-modal__textarea {
  min-height: 44px;
  resize: vertical;
}
.connect-modal__select-wrapper {
  position: relative;
}
.connect-modal__select {
  -webkit-appearance: none;
  appearance: none;
  background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none"%3E%3Cpath d="M6 8l4 4 4-4" stroke="%234b5563" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/%3E%3C/svg%3E');
  background-position: right 12px center;
  background-repeat: no-repeat;
}
.connect-modal__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.connect-modal__chip {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  color: #111827;
  cursor: pointer;
  font-size: 13px;
  padding: 6px 12px;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.connect-modal__chip.is-active {
  background: #111827;
  border-color: #111827;
  color: #ffffff;
}
.connect-modal__radio-group {
  display: grid;
  gap: 8px;
}
.connect-modal__radio-option {
  align-items: center;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  gap: 10px;
  padding: 10px 12px;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.connect-modal__radio-option:hover,
.connect-modal__radio-option:focus-within {
  background: #f8fafc;
  border-color: #cbd5f5;
}
.connect-modal__radio-option input {
  accent-color: #111827;
}
.connect-modal__error {
  color: #dc2626;
  display: block;
  font-size: 12px;
  margin-top: 6px;
  min-height: 14px;
}
.connect-modal__grid {
  display: grid;
  gap: 12px;
}
.connect-modal__grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.connect-modal__footer {
  border-top: 1px solid #e5e7eb;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 16px 20px;
}
.connect-modal__btn {
  border-radius: 12px;
  cursor: pointer;
  font-size: 14px;
  padding: 10px 16px;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.connect-modal__btn--secondary {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  color: #111827;
}
.connect-modal__btn--secondary:hover,
.connect-modal__btn--secondary:focus-visible {
  background: #f8fafc;
}
.connect-modal__btn--primary {
  background: #111827;
  border: 1px solid #111827;
  color: #ffffff;
}
.connect-modal__btn--primary:hover,
.connect-modal__btn--primary:focus-visible {
  background: #1f2937;
  border-color: #1f2937;
}
.connect-modal__success {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 36px 24px 40px;
  text-align: center;
}
.connect-modal__success-icon {
  align-items: center;
  background: #111827;
  border-radius: 50%;
  color: #ffffff;
  display: inline-flex;
  font-size: 28px;
  height: 64px;
  justify-content: center;
  width: 64px;
}
.connect-modal__success-title {
  font-size: 18px;
  margin: 0;
}
.connect-modal__success-text {
  color: #4b5563;
  font-size: 14px;
  margin: 0;
  max-width: 360px;
}

@media (max-width: 640px) {
  .connect-modal {
    padding: 12px;
  }
  .connect-modal__dialog {
    max-height: calc(100vh - 24px);
  }
  .connect-modal__grid--2 {
    grid-template-columns: 1fr;
  }
  .connect-modal__header,
  .connect-modal__progress,
  .connect-modal__form,
  .connect-modal__footer {
    padding-left: 16px;
    padding-right: 16px;
  }
  .connect-modal__footer {
    flex-direction: column-reverse;
  }
  .connect-modal__btn {
    width: 100%;
  }
}
