* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  font-family: 'Outfit', sans-serif;
  overflow-x: hidden;
}

body {
  position: relative;
  min-height: 100%;
}

/* Optimized static background: no full-screen runtime filters. */
.stars {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  background: url('f2h-background.webp') center center no-repeat;
  background-size: cover;
  background-color: #0a0b14;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
}

/* Виньетка по краям и градиент сверху — фокус на центре, скрывает артефакты по краям */
.twinkling {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 80% at 50% 50%, transparent 20%, rgba(5, 6, 18, 0.5) 70%, rgba(0, 0, 0, 0.7) 100%),
    linear-gradient(180deg, rgba(10, 12, 28, 0.25) 0%, transparent 35%, transparent 70%, rgba(8, 10, 22, 0.4) 100%);
  pointer-events: none;
}

/* Сетка отключена — фон без квадратиков */
.vpn-grid {
  display: none;
}

/* Контент: название выше по центру, кнопки ниже */
.center {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 2rem;
  padding-top: min(8vh, 5rem);
}

/* Название сайта — выше по центру, акцентная типографика */
.site-title {
  position: relative;
  display: inline-block;
  isolation: isolate;
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(2.25rem, 7vw, 4rem);
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  margin-bottom: 3rem;
  color: #fff;
  text-shadow:
    0 0 24px rgba(0, 0, 0, 0.95),
    0 0 48px rgba(0, 0, 0, 0.7),
    0 2px 4px rgba(0, 0, 0, 1),
    0 0 40px rgba(100, 160, 255, 0.4),
    0 0 80px rgba(80, 140, 255, 0.2);
  -webkit-font-smoothing: antialiased;
  font-smoothing: antialiased;
  background: none;
  -webkit-text-fill-color: currentColor;
  animation: title-glow 5.2s ease-in-out infinite;
  will-change: color, text-shadow;
}

.site-title::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -35%;
  left: -20%;
  width: 140%;
  height: 170%;
  border-radius: 50%;
  background: linear-gradient(
    90deg,
    transparent 8%,
    rgba(80, 220, 255, 0.08) 30%,
    rgba(80, 220, 255, 0.34) 43%,
    rgba(255, 255, 255, 0.18) 50%,
    rgba(165, 92, 255, 0.34) 57%,
    rgba(165, 92, 255, 0.08) 70%,
    transparent 92%
  );
  background-size: 240% 100%;
  background-position: 0% 50%;
  filter: blur(18px);
  opacity: 0.74;
  animation: title-shimmer 7.8s cubic-bezier(0.45, 0, 0.55, 1) infinite alternate;
  pointer-events: none;
}

.site-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -0.9rem;
  width: 42%;
  max-width: 16rem;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(105, 226, 255, 0.82) 28%,
    rgba(255, 255, 255, 0.96) 50%,
    rgba(170, 107, 255, 0.82) 72%,
    transparent
  );
  background-size: 220% 100%;
  background-position: 0% 50%;
  box-shadow:
    0 0 10px rgba(95, 220, 255, 0.44),
    0 0 22px rgba(155, 92, 255, 0.26);
  transform: translateX(-50%);
  animation: title-line-flow 7.8s cubic-bezier(0.45, 0, 0.55, 1) infinite alternate;
  pointer-events: none;
}

@keyframes title-shimmer {
  from { background-position: 0% 50%; }
  to { background-position: 100% 50%; }
}

@keyframes title-glow {
  0%, 100% {
    color: #f5fcff;
    text-shadow:
      0 0 24px rgba(0, 0, 0, 0.95),
      0 0 48px rgba(0, 0, 0, 0.7),
      0 2px 4px rgba(0, 0, 0, 1),
      0 0 38px rgba(92, 220, 255, 0.3),
      0 0 72px rgba(112, 88, 255, 0.16);
  }
  50% {
    color: #f8f3ff;
    text-shadow:
      0 0 24px rgba(0, 0, 0, 0.95),
      0 0 48px rgba(0, 0, 0, 0.7),
      0 2px 4px rgba(0, 0, 0, 1),
      0 0 46px rgba(92, 220, 255, 0.48),
      0 0 86px rgba(170, 88, 255, 0.28);
  }
}

@keyframes title-line-flow {
  from { background-position: 0% 50%; opacity: 0.68; }
  to { background-position: 100% 50%; opacity: 1; }
}

.buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
  margin-top: auto;
  padding-bottom: min(13vh, 5.25rem);
  max-width: 54rem;
}

/* Кнопки в стиле liquid glass (iOS) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.25rem;
  color: #fff;
  background: linear-gradient(180deg, rgba(31, 40, 62, 0.94), rgba(17, 23, 40, 0.94));
  border: 1px solid rgba(190, 218, 255, 0.26);
  border-radius: 14px;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 4px 16px rgba(0, 0, 0, 0.15);
  transition: background 0.25s, border-color 0.25s, box-shadow 0.25s, transform 0.2s;
  -webkit-font-smoothing: antialiased;
  font-smoothing: antialiased;
  text-align: center;
  width: 22rem;
  min-height: 3.5rem;
  white-space: nowrap;
}

/* Главные кнопки: крупный liquid glass, не затрагивает CTA внутри модальных окон. */
.buttons .btn {
  --glass-accent: 100, 190, 255;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 25rem;
  min-height: 4.85rem;
  padding: 1.15rem 3.25rem 1.15rem 2rem;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.065) 38%, rgba(255, 255, 255, 0.025) 72%),
    linear-gradient(180deg, rgba(28, 38, 62, 0.64), rgba(10, 15, 31, 0.58));
  -webkit-backdrop-filter: blur(22px) saturate(165%);
  backdrop-filter: blur(22px) saturate(165%);
  border: 1px solid rgba(var(--glass-accent), 0.46);
  border-radius: 24px;
  font-size: 1.18rem;
  font-weight: 600;
  letter-spacing: 0.045em;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.44),
    inset 0 -1px 0 rgba(255, 255, 255, 0.07),
    inset 0 0 28px rgba(var(--glass-accent), 0.075),
    0 10px 32px rgba(0, 0, 0, 0.28),
    0 0 24px rgba(var(--glass-accent), 0.14);
  transition:
    transform 0.24s cubic-bezier(0.2, 0.75, 0.25, 1),
    background 0.28s ease,
    border-color 0.28s ease,
    box-shadow 0.28s ease;
}

.buttons .btn-chrome {
  --glass-accent: 112, 229, 190;
}

.buttons .btn-download {
  --glass-accent: 76, 226, 211;
}

.buttons .btn-email {
  --glass-accent: 177, 154, 255;
}

.buttons .btn::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: -115%;
  left: -35%;
  width: 58%;
  height: 330%;
  pointer-events: none;
  opacity: 0.52;
  transform: rotate(18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
  transition: left 0.55s cubic-bezier(0.2, 0.75, 0.25, 1), opacity 0.28s ease;
}

.buttons .btn::after {
  content: "›";
  position: absolute;
  z-index: 1;
  top: 50%;
  right: 1.4rem;
  color: rgba(233, 244, 255, 0.82);
  font-size: 1.8rem;
  font-weight: 300;
  line-height: 1;
  text-shadow: 0 0 14px rgba(var(--glass-accent), 0.72);
  transform: translateY(-53%);
  transition: transform 0.24s ease, color 0.24s ease;
}

.buttons .btn > span {
  position: relative;
  z-index: 1;
}

.btn-email {
  gap: 0.55rem;
}

.btn-icon {
  display: inline-flex;
  width: 2.25rem;
  height: 2.25rem;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  margin-right: 0.8rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.32),
    inset 0 -1px 0 rgba(255, 255, 255, 0.08),
    0 0 18px rgba(126, 184, 255, 0.34);
}

.btn-icon svg {
  width: 1.15rem;
  height: 1.15rem;
  display: block;
  fill: currentColor;
}

.btn-icon--telegram {
  color: #9bd8ff;
  background: rgba(84, 172, 238, 0.18);
}

.btn-icon--chrome {
  color: #aef4dc;
  background: rgba(116, 224, 190, 0.15);
}

.btn-icon--mail {
  color: #d8ecff;
  background: rgba(190, 220, 255, 0.15);
}

.btn-icon--download {
  color: #8ff4e8;
  background: rgba(76, 226, 211, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 0 14px rgba(76, 226, 211, 0.32);
}

@media (hover: hover) and (pointer: fine) {
  .buttons .btn:hover {
    background:
      linear-gradient(145deg, rgba(255, 255, 255, 0.21) 0%, rgba(255, 255, 255, 0.085) 40%, rgba(255, 255, 255, 0.035) 74%),
      linear-gradient(180deg, rgba(34, 47, 75, 0.7), rgba(12, 19, 38, 0.64));
    border-color: rgba(var(--glass-accent), 0.76);
    color: #fff;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.56),
      inset 0 -1px 0 rgba(255, 255, 255, 0.1),
      inset 0 0 34px rgba(var(--glass-accent), 0.13),
      0 14px 38px rgba(0, 0, 0, 0.32),
      0 0 34px rgba(var(--glass-accent), 0.34);
    transform: translateY(-3px) scale(1.012);
  }

  .buttons .btn:hover::before {
    left: 78%;
    opacity: 0.72;
  }

  .buttons .btn:hover::after {
    color: #fff;
    transform: translate(0.18rem, -53%);
  }
}

.buttons .btn:active {
  transform: translateY(0) scale(0.992);
}

.buttons .btn:focus-visible {
  outline: none;
  border-color: rgba(var(--glass-accent), 0.92);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.46),
    0 0 0 3px rgba(var(--glass-accent), 0.26),
    0 10px 32px rgba(0, 0, 0, 0.3),
    0 0 30px rgba(var(--glass-accent), 0.3);
}

.btn:focus {
  outline: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 0 0 2px rgba(120, 180, 255, 0.6),
    0 4px 16px rgba(0, 0, 0, 0.15);
}

.chrome-modal {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: none;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  padding: 1.25rem;
}

.chrome-modal:target {
  display: flex;
}

body:has(.chrome-modal:target) .center,
body:has(.chrome-modal:target) .twinkling {
  visibility: hidden;
}

.chrome-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 6, 16, 0.76);
}

.chrome-modal__panel {
  position: relative;
  isolation: isolate;
  width: min(48rem, 100%);
  max-height: none;
  overflow: visible;
  padding: 0;
  color: #f8fbff;
  background:
    linear-gradient(180deg, rgba(24, 34, 56, 0.88), rgba(8, 12, 24, 0.92)),
    rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(190, 220, 255, 0.26);
  border-radius: 18px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 22px 70px rgba(0, 0, 0, 0.58),
    -22px 0 48px rgba(71, 211, 255, 0.11),
    22px 0 52px rgba(190, 103, 255, 0.11);
}

.chrome-modal__scroll {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  max-height: min(86vh, 48rem);
  max-height: min(86dvh, 48rem);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 2rem;
  border-radius: inherit;
  scrollbar-width: thin;
  scrollbar-color: rgba(126, 184, 255, 0.48) transparent;
  -webkit-overflow-scrolling: touch;
}

.chrome-modal__scroll::-webkit-scrollbar {
  width: 6px;
}

.chrome-modal__scroll::-webkit-scrollbar-track {
  background: transparent;
}

.chrome-modal__scroll::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(126, 184, 255, 0.48);
}

.chrome-modal__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  border-radius: inherit;
  background:
    linear-gradient(90deg, #5ee7ff, #789cff 48%, #cf76ff) top / 100% 2px no-repeat,
    linear-gradient(180deg, #cf76ff, #866cff 52%, #5ee7ff) right / 2px 100% no-repeat,
    linear-gradient(270deg, #cf76ff, #789cff 48%, #5ee7ff) bottom / 100% 2px no-repeat,
    linear-gradient(0deg, #5ee7ff, #66a7ff 52%, #cf76ff) left / 2px 100% no-repeat;
  box-shadow:
    -28px 0 62px 2px rgba(70, 220, 255, 0.56),
    0 22px 58px rgba(88, 111, 255, 0.2),
    inset 0 0 10px rgba(92, 225, 255, 0.22),
    inset 0 0 20px rgba(184, 119, 255, 0.12);
  opacity: 1;
  transform: scale(1.003);
  animation: frame-breathe 4.8s cubic-bezier(0.45, 0, 0.55, 1) infinite;
  will-change: opacity, transform;
}

.chrome-modal__panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  border-radius: inherit;
  box-shadow:
    28px 0 68px 3px rgba(199, 104, 255, 0.62),
    0 24px 72px rgba(88, 111, 255, 0.3),
    inset -14px 0 34px rgba(200, 104, 255, 0.46),
    inset 0 -12px 38px rgba(91, 111, 255, 0.28);
  opacity: 0.42;
  transform: scale(0.998);
  animation: frame-glow 4.8s cubic-bezier(0.45, 0, 0.55, 1) infinite;
  will-change: opacity, transform;
}

.chrome-modal__close {
  position: absolute;
  z-index: 4;
  top: 0.9rem;
  right: 0.9rem;
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
  font-size: 1.7rem;
  line-height: 1;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
}

.chrome-modal__eyebrow {
  margin: 0 0 0.6rem;
  color: rgba(160, 205, 255, 0.9);
  font-family: 'Orbitron', sans-serif;
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.chrome-modal h2 {
  margin: 0;
  font-family: 'Orbitron', sans-serif;
  font-size: 1.95rem;
  letter-spacing: 0.05em;
}

.chrome-modal__lead {
  max-width: 100%;
  margin: 0.85rem 0 1.35rem;
  color: rgba(235, 244, 255, 0.88);
  font-size: 1.05rem;
  line-height: 1.55;
}

.chrome-market-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.9rem;
}

.chrome-market-meta > span {
  display: inline-flex;
  align-items: center;
  min-height: 1.8rem;
  padding: 0.32rem 0.7rem;
  color: rgba(222, 236, 255, 0.84);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(190, 220, 255, 0.16);
  border-radius: 7px;
  font-size: 0.78rem;
}

.chrome-market-meta .chrome-market-status {
  color: #aaf2da;
  border-color: rgba(96, 224, 179, 0.28);
  background: rgba(96, 224, 179, 0.09);
}

.chrome-market-status > span {
  width: 0.45rem;
  height: 0.45rem;
  margin-right: 0.42rem;
  border-radius: 50%;
  background: #60e0b3;
  box-shadow: 0 0 10px rgba(96, 224, 179, 0.8);
}

.chrome-steps {
  display: grid;
  gap: 0.85rem;
  margin: 0 0 1.4rem;
}

.chrome-step {
  display: grid;
  grid-template-columns: 2.25rem 1fr;
  gap: 0.9rem;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.07);
}

.chrome-step span {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  color: #07101f;
  background: linear-gradient(135deg, #9bd0ff, #85f2d2);
  font-weight: 700;
}

.chrome-step h3 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
}

.chrome-step p {
  margin: 0;
  color: rgba(235, 244, 255, 0.82);
  line-height: 1.5;
}

.chrome-step p + p {
  margin-top: 0.45rem;
}

.chrome-step strong {
  color: #fff;
  font-weight: 600;
}

.chrome-download {
  width: 100%;
  background: rgba(126, 184, 255, 0.18);
  border-color: rgba(150, 215, 255, 0.42);
}

@media (hover: hover) and (pointer: fine) {
  .chrome-download:hover {
    transform: translateY(-2px);
    background: rgba(126, 184, 255, 0.28);
    border-color: rgba(145, 210, 255, 0.72);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.2),
      0 0 26px rgba(87, 184, 255, 0.34),
      0 8px 22px rgba(0, 0, 0, 0.24);
  }
}

@keyframes frame-breathe {
  0%, 100% { opacity: 1; transform: scale(1.003); }
  50% { opacity: 0.62; transform: scale(1); }
}

@keyframes frame-glow {
  0%, 100% {
    opacity: 0.42;
    transform: scale(0.998);
  }
  50% {
    opacity: 1;
    transform: scale(1.008);
  }
}

.chrome-store-note {
  margin: 0.8rem 0 0;
  color: rgba(218, 232, 250, 0.68);
  font-size: 0.78rem;
  line-height: 1.45;
  text-align: center;
}

/* Кнопка «Назад» — слева сверху, liquid glass */
.back-link {
  position: fixed;
  top: 1.25rem;
  left: 1.25rem;
  z-index: 10;
  display: inline-block;
  padding: 0.65rem 1.25rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 500;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 4px 12px rgba(0, 0, 0, 0.12);
  transition: background 0.25s, border-color 0.25s, box-shadow 0.25s;
  -webkit-font-smoothing: antialiased;
}

.back-link:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(180, 220, 255, 0.4);
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 0 24px rgba(100, 180, 255, 0.4),
    0 0 36px rgba(80, 150, 255, 0.25);
}

/* Рамка под текстом на странице Услуги — liquid glass */
.content-card {
  max-width: 42rem;
  width: 100%;
  padding: 2rem 2.5rem;
  margin-top: 0.5rem;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 8px 32px rgba(0, 0, 0, 0.35);
}

/* Внутренние страницы (О нас, FAQ и т.д.) */
.center-page .page-title {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  font-weight: 600;
  letter-spacing: 0.15em;
  color: #fff;
  margin-bottom: 1.5rem;
  text-shadow: 0 0 20px rgba(0, 0, 0, 0.8), 0 2px 4px rgba(0, 0, 0, 0.9);
}

.center-page .page-text {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.15rem;
  line-height: 1.6;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
}

.center-page .page-lead {
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.services-list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 36rem;
}

.services-list li {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.05rem;
  line-height: 1.7;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
  position: relative;
}

.services-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: rgba(140, 180, 255, 0.8);
}

.services-list li strong {
  color: #fff;
}

.link-telegram {
  color: #7eb8ff;
  text-decoration: none;
  border-bottom: 1px solid rgba(126, 184, 255, 0.5);
  transition: color 0.2s, border-color 0.2s;
}

.link-telegram:hover {
  color: #a8d4ff;
  border-bottom-color: rgba(168, 212, 255, 0.8);
}

/* Mobile: static overlays keep the background readable without GPU filters. */
@media (max-width: 768px) {
  .twinkling {
    background:
      radial-gradient(ellipse 90% 90% at 50% 50%, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.6) 50%, rgba(0, 0, 0, 0.85) 100%),
      linear-gradient(180deg, rgba(5, 6, 18, 0.5) 0%, transparent 40%, transparent 60%, rgba(5, 6, 18, 0.5) 100%);
  }

  .site-title {
    font-size: clamp(1.75rem, 9vw, 2.75rem);
    letter-spacing: 0.2em;
    text-shadow:
      0 0 16px rgba(0, 0, 0, 1),
      0 0 32px rgba(0, 0, 0, 0.9),
      0 2px 4px rgba(0, 0, 0, 1),
      0 0 24px rgba(100, 160, 255, 0.4);
  }

  .buttons {
    width: 100%;
    gap: 0.9rem;
    padding-bottom: min(8vh, 3rem);
  }

  .buttons .btn {
    padding: 1rem 3rem 1rem 1.35rem;
    font-size: 1.04rem;
    min-height: 4.35rem;
    width: 100%;
    max-width: 28rem;
    min-width: 0;
    white-space: normal;
    border-radius: 20px;
  }

  .buttons .btn::after {
    right: 1.15rem;
  }

  .btn-icon {
    width: 2rem;
    height: 2rem;
    margin-right: 0.68rem;
  }

  .chrome-modal {
    align-items: flex-start;
    padding: max(0.65rem, env(safe-area-inset-top)) 0.75rem max(0.65rem, env(safe-area-inset-bottom));
  }

  .chrome-modal__panel {
    width: 100%;
    border-radius: 16px;
  }

  .chrome-modal__scroll {
    max-height: calc(100vh - 1.3rem);
    max-height: calc(100dvh - max(1.3rem, env(safe-area-inset-top) + env(safe-area-inset-bottom)));
    padding: 3.2rem 1.35rem 1.35rem;
  }

  .chrome-modal h2 {
    max-width: calc(100% - 2.75rem);
    font-size: 1.55rem;
  }

  .chrome-modal__lead {
    font-size: 1rem;
  }

  .chrome-step {
    grid-template-columns: 1.9rem 1fr;
    padding: 0.85rem;
  }

  .chrome-step span {
    width: 1.9rem;
    height: 1.9rem;
  }

  .center {
    padding-top: min(10vh, 4rem);
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .back-link {
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.7rem 1.1rem;
    font-size: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }

  .chrome-modal__panel::before {
    animation: frame-breathe 4.8s cubic-bezier(0.45, 0, 0.55, 1) infinite !important;
  }

  .chrome-modal__panel::after {
    animation: frame-glow 4.8s cubic-bezier(0.45, 0, 0.55, 1) infinite !important;
  }
}

