/*
  CSS discipline:
  - Shared visual decisions belong in :root tokens before they are reused.
  - Keep component selectors grouped by site area; avoid scattering one-off fixes.
  - Use component-local variables for product-specific exceptions.
  - Leave unique decorative gradients literal when naming them would hide intent.
*/

/* Tokens */
:root {
  color-scheme: dark;
  --font-body: "Wix Madefor Text", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Wix Madefor Display", "Wix Madefor Text", ui-sans-serif, system-ui, sans-serif;
  --page-bg: #08080b;
  --page-bg-top: #07080d;
  --page-bg-mid: #090b12;
  --page-gradient: linear-gradient(180deg, var(--page-bg-top) 0%, var(--page-bg-mid) 42%, var(--page-bg-top) 100%);
  --chrome-bg: #0b101a;
  --chrome-gradient: linear-gradient(90deg, rgba(13, 20, 32, 0.97), rgba(8, 12, 20, 0.94) 48%, rgba(11, 18, 29, 0.97));
  --surface: #111319;
  --surface-raised: #171a22;
  --border: rgba(226, 233, 245, 0.18);
  --border-soft: rgba(226, 233, 245, 0.1);
  --text: #fffaf2;
  --muted: rgba(255, 250, 242, 0.72);
  --subtle: rgba(255, 250, 242, 0.5);
  --accent: #347cff;
  --accent-hover: #6aa2ff;
  --accent-soft: rgba(52, 124, 255, 0.22);
  --focus-ring: rgba(120, 170, 255, 0.42);
  --focus-field-ring: rgba(52, 124, 255, 0.18);
  --link-blue: #9cc0ff;
  --eyebrow-blue: #8fb7ff;
  --danger: #ff6b7d;
  --success: #73e2cd;
  --error: #ff9ab4;
  --cyan-soft: rgba(35, 216, 195, 0.13);
  --solar-soft: rgba(255, 184, 66, 0.18);
  --rose-soft: rgba(235, 76, 120, 0.12);
  --container-main: 1200px;
  --container-wide: 1280px;
  --container-legal: 980px;
  --header-height: 76px;
  --page-inline: 24px;
  --section-block-start: clamp(92px, 7.5vw, 112px);
  --section-block-end: clamp(104px, 9vw, 128px);
  --section-heading-gap: clamp(72px, 6.6vw, 88px);
  --section-card-gap: clamp(40px, 4vw, 48px);
  --card-padding-large: clamp(38px, 4.5vw, 56px);
  --card-padding-medium: 36px;
  --eyebrow-heading-gap: 14px;
  --heading-copy-gap: 18px;
  --copy-action-gap: 32px;
  --radius-pill: 999px;
  --radius-card: 30px;
  --radius-card-medium: 24px;
  --radius-card-inner: 26px;
  --radius-card-inner-mobile: 22px;
  --radius-control: 14px;
  --radius-menu-item: 10px;
  --control-border: rgba(226, 233, 245, 0.14);
  --control-bg: rgba(255, 255, 255, 0.048);
  --control-bg-hover: rgba(255, 255, 255, 0.075);
  --control-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045);
  --button-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
  --motion-fast: 160ms ease;
  --motion-dialog-in: 220ms cubic-bezier(0.22, 1, 0.36, 1);
  --motion-dialog-out: 170ms ease;
  --z-header: 10;
  font-family: var(--font-body);
  background: var(--page-bg);
  color: var(--text);
}

/* Base */

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    var(--page-gradient),
    var(--page-bg);
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

/* Header and navigation */

.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  width: 100%;
  background:
    var(--chrome-gradient),
    var(--chrome-bg);
  backdrop-filter: blur(18px) saturate(1.2);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.22);
}

.header-shell {
  width: min(100%, var(--container-main));
  min-height: var(--header-height);
  margin: 0 auto;
  padding: 0 var(--page-inline);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
}

.brand-link img {
  width: 132px;
  height: auto;
  display: block;
}

.footer-brand img {
  width: 140px;
  height: auto;
  display: block;
}

.mobile-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  color: var(--text);
  background: rgba(255, 255, 255, 0.055);
  cursor: pointer;
  transition:
    border-color var(--motion-fast),
    background-color var(--motion-fast);
}

.mobile-menu-toggle:hover {
  border-color: rgba(184, 201, 232, 0.32);
  background: rgba(255, 255, 255, 0.08);
}

.mobile-menu-toggle svg {
  width: 20px;
  height: 20px;
  stroke-width: 2;
}

.menu-icon-close {
  display: none;
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}

.primary-nav a {
  border-radius: var(--radius-pill);
  color: var(--muted);
  font-size: 0.96rem;
  font-weight: 560;
  line-height: 1;
  letter-spacing: 0;
  padding: 12px 14px;
  transition:
    background-color var(--motion-fast),
    color var(--motion-fast);
}

.primary-nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.075);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: var(--radius-pill);
  color: #ffffff;
  background: var(--accent);
  box-shadow: var(--button-shadow);
  font-weight: 720;
  line-height: 1;
  transition:
    background-color var(--motion-fast),
    transform var(--motion-fast);
}

.header-cta:hover {
  background: var(--accent-hover);
}

/* Page shell */

main {
  position: relative;
  flex: 1;
  isolation: isolate;
  overflow: hidden;
  background:
    var(--page-gradient),
    var(--page-bg);
}

main::before,
main::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
}

main::before {
  display: none;
}

main::after {
  background: linear-gradient(90deg, rgba(5, 6, 10, 0.8), transparent 24%, transparent 76%, rgba(5, 6, 10, 0.8));
}

/* Hero */

.hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(520px, 70svh, 680px);
  display: grid;
  align-items: center;
  overflow: visible;
  background: transparent;
}

.hero-video {
  position: absolute;
  inset: 0 0 -220px;
  z-index: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 46%, rgba(0, 0, 0, 0.62) 64%, rgba(0, 0, 0, 0.18) 82%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 46%, rgba(0, 0, 0, 0.62) 64%, rgba(0, 0, 0, 0.18) 82%, transparent 100%);
}

.hero-video video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  opacity: 0.52;
  filter: saturate(1.16) contrast(1.08) brightness(1.04);
  transform: scale(1.02);
}

.hero::before,
.hero::after {
  position: absolute;
  inset: 0 0 -240px;
  content: "";
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 50%, rgba(0, 0, 0, 0.5) 72%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 50%, rgba(0, 0, 0, 0.5) 72%, transparent 100%);
}

.hero::before {
  z-index: 1;
  background:
    radial-gradient(56% 44% at 50% 30%, rgba(52, 124, 255, 0.22), transparent 72%),
    linear-gradient(90deg, rgba(8, 8, 11, 0.86), rgba(8, 8, 11, 0.18) 48%, rgba(8, 8, 11, 0.8)),
    linear-gradient(180deg, rgba(8, 8, 11, 0.76), rgba(8, 8, 11, 0.04) 40%, rgba(7, 16, 28, 0.48) 74%, transparent 100%);
}

.hero::after {
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(8, 8, 11, 0.22), transparent 32%, transparent 68%, rgba(8, 8, 11, 0.28)),
    linear-gradient(180deg, rgba(8, 8, 11, 0.04), transparent 44%, rgba(7, 16, 28, 0.34) 72%, transparent 100%);
}

.hero-shell {
  position: relative;
  z-index: 3;
  width: min(100%, var(--container-wide));
  margin: 0 auto;
  padding: clamp(40px, 5vw, 60px) var(--page-inline) clamp(28px, 4vw, 44px);
  display: grid;
  justify-items: center;
  text-align: center;
}

.hero h1 {
  max-width: 1220px;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3.8rem, 6.7vw, 5.65rem);
  font-weight: 760;
  line-height: 0.92;
  letter-spacing: 0;
  text-wrap: balance;
}

.heading-gradient {
  display: inline-block;
  color: var(--text);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.heading-gradient-primary {
  background-image: linear-gradient(96deg, #78aaff 0%, #46d9c7 78%);
}

.heading-gradient-warm {
  background-image: linear-gradient(96deg, #fff0a8 0%, #ffb842 46%, #f0649a 100%);
}

.hero h1 .heading-gradient-primary,
.products-heading .heading-gradient-primary,
.proof-heading .heading-gradient-primary {
  display: inline;
}

.hero h1 .hero-title-line {
  display: block;
}

.mobile-line-break {
  display: none;
}

.hero-copy {
  max-width: 690px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(1.08rem, 1.9vw, 1.34rem);
  line-height: 1.56;
  text-wrap: balance;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.hero-primary,
.hero-secondary {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  padding: 0 24px;
  font-weight: 720;
  line-height: 1;
}

.hero-primary svg,
.hero-secondary svg {
  width: 18px;
  height: 18px;
  margin-left: 8px;
  stroke-width: 2.25;
}

.hero-primary {
  background: var(--accent);
  color: #ffffff;
  box-shadow: var(--button-shadow);
  transition:
    background-color var(--motion-fast),
    box-shadow var(--motion-fast);
}

.hero-primary:hover {
  background: var(--accent-hover);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.hero-secondary {
  border: 1px solid var(--border);
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.045);
  transition:
    border-color var(--motion-fast),
    background-color var(--motion-fast),
    color var(--motion-fast);
}

.hero-secondary:hover {
  border-color: rgba(184, 201, 232, 0.34);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

/* Portfolio and products */

.portfolio-section,
.products-section {
  position: relative;
  isolation: isolate;
  overflow: visible;
  background: transparent;
}

.products-section {
  scroll-margin-top: var(--header-height);
}

.products-section::before,
.products-section::after {
  position: absolute;
  z-index: -1;
  content: "";
  pointer-events: none;
}

.products-section::before {
  display: none;
}

.products-section::after {
  display: none;
}

.portfolio-shell,
.products-shell {
  width: min(100%, var(--container-main));
  margin: 0 auto;
}

.portfolio-shell {
  padding: var(--section-block-start) var(--page-inline) 0;
}

.products-shell {
  padding: var(--section-block-start) var(--page-inline) var(--section-block-end);
}

.products-heading {
  position: relative;
  isolation: isolate;
  max-width: 880px;
  margin: 0 auto;
  display: grid;
  gap: 16px;
  text-align: center;
}

.products-heading::before {
  position: absolute;
  inset: -130px -180px -108px;
  z-index: -1;
  content: "";
  background: radial-gradient(560px 320px at 50% 46%, rgba(52, 124, 255, 0.16), transparent 72%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
  pointer-events: none;
}

.section-eyebrow,
.product-kicker {
  margin: 0;
  color: var(--eyebrow-blue);
  font-size: 0.92rem;
  font-weight: 780;
  line-height: 1.2;
}

.products-heading h2 {
  max-width: 900px;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3.45rem, 6vw, 4.35rem);
  font-weight: 760;
  line-height: 1;
  letter-spacing: 0;
  text-wrap: balance;
}

.products-heading p:not(.section-eyebrow) {
  max-width: 720px;
  margin: 0;
  margin-inline: auto;
  color: rgba(255, 250, 242, 0.72);
  font-size: 1.18rem;
  line-height: 1.58;
}

.product-benefits {
  margin-top: var(--section-heading-gap);
  display: grid;
  gap: var(--section-card-gap);
}

.product-benefit {
  --product-accent: #8fb7ff;
  --product-accent-soft: rgba(143, 183, 255, 0.12);
  --product-title-highlight: linear-gradient(96deg, #78aaff 0%, #46d9c7 100%);
  --compact-logo-width: 230px;
  --compact-logo-mobile-width: 210px;
  --product-media-gradient: linear-gradient(135deg, rgba(20, 25, 36, 0.98) 0%, rgba(12, 15, 23, 0.98) 54%, rgba(9, 11, 17, 0.98) 100%);
  --product-media-glow:
    radial-gradient(220px 116px at 50% 50%, color-mix(in srgb, var(--product-accent) 6%, transparent), transparent 70%);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  scroll-margin-top: 98px;
  border-radius: var(--radius-card);
  background:
    linear-gradient(145deg, rgba(17, 20, 28, 0.98), rgba(8, 10, 16, 0.98)),
    rgba(12, 14, 20, 0.92);
  box-shadow: none;
}

.product-benefit::before {
  display: none;
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(126deg, var(--product-accent-soft), transparent 42%);
  pointer-events: none;
}

.product-benefit-redvpn {
  --product-accent: #ba1600;
  --product-accent-soft: rgba(186, 22, 0, 0.12);
  --redvpn-brand: #ba1600;
  --product-title-highlight: linear-gradient(96deg, #d51b08 0%, #ff3f2b 34%, #ff7a58 66%, #f0649a 100%);
}

.product-benefit-alfavpn {
  --product-accent: #23d8c3;
  --product-accent-soft: rgba(35, 216, 195, 0.12);
  --product-title-highlight: linear-gradient(96deg, #b8fb04 0%, #39dfc9 100%);
  --compact-logo-width: 236px;
  --compact-logo-mobile-width: 218px;
  --product-media-gradient: linear-gradient(135deg, rgba(26, 39, 31, 0.96) 0%, rgba(13, 24, 24, 0.98) 48%, rgba(10, 13, 20, 0.98) 100%);
  --product-media-glow:
    radial-gradient(220px 118px at 50% 50%, rgba(184, 251, 4, 0.035), transparent 70%),
    radial-gradient(280px 136px at 52% 52%, rgba(35, 216, 195, 0.026), transparent 72%);
}

.product-benefit-paypilot {
  --product-accent: #ffb842;
  --product-accent-soft: rgba(255, 184, 66, 0.11);
  --product-title-highlight: linear-gradient(96deg, #ffca6e 0%, #bf78ff 100%);
  --compact-logo-width: 252px;
  --compact-logo-mobile-width: 236px;
  --product-media-gradient: linear-gradient(135deg, rgba(35, 25, 34, 0.96) 0%, rgba(20, 17, 27, 0.98) 48%, rgba(11, 13, 20, 0.98) 100%);
  --product-media-glow:
    radial-gradient(220px 118px at 50% 50%, rgba(143, 99, 255, 0.04), transparent 70%),
    radial-gradient(280px 136px at 52% 52%, rgba(255, 184, 66, 0.026), transparent 72%);
}

.product-benefit-featured {
  min-height: 560px;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: stretch;
}

.product-benefit-featured::before {
  display: block;
  background:
    radial-gradient(520px 420px at 18% 0%, rgba(186, 22, 0, 0.13), transparent 70%),
    linear-gradient(90deg, rgba(186, 22, 0, 0.06), transparent 54%);
}

.product-benefit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--section-card-gap);
}

.product-benefit-grid .product-benefit {
  min-height: 0;
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(180deg, rgba(17, 21, 31, 0.99) 0%, rgba(12, 15, 23, 0.99) 100%),
    #0d1018;
}

.product-benefit-copy {
  min-width: 0;
  padding: var(--card-padding-large);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.product-benefit-grid .product-benefit-copy {
  flex: 1;
  padding: var(--card-padding-medium);
}

.product-benefit-featured .product-benefit-copy {
  justify-content: center;
}

.product-benefit-featured .product-action {
  margin-top: var(--copy-action-gap);
}

.product-benefit-copy h3,
.product-portfolio-note h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 760;
  line-height: 1.03;
  letter-spacing: 0;
  text-wrap: balance;
}

.product-benefit-copy h3 span,
.product-portfolio-note h3 span {
  display: inline;
  color: var(--text);
  background-image: var(--product-title-highlight);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.product-benefit-featured h3 {
  max-width: 560px;
  margin-top: var(--eyebrow-heading-gap);
  font-size: clamp(2.65rem, 5vw, 3rem);
}

.product-benefit-grid h3,
.product-portfolio-note h3 {
  margin-top: var(--eyebrow-heading-gap);
  font-size: clamp(2rem, 3vw, 2.37rem);
}

.product-benefit-copy p:not(.product-kicker),
.product-portfolio-note p:not(.product-kicker) {
  max-width: 560px;
  margin: var(--heading-copy-gap) 0 0;
  color: rgba(255, 250, 242, 0.72);
  font-size: 1.05rem;
  line-height: 1.62;
}

.product-action {
  min-height: 48px;
  margin-top: var(--copy-action-gap);
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius-pill);
  color: #ffffff;
  background: var(--accent);
  box-shadow: var(--button-shadow);
  font-weight: 750;
  line-height: 1;
  transition: background-color var(--motion-fast);
}

.product-benefit-grid .product-action {
  margin-top: auto;
}

.product-benefit-grid .product-benefit-copy p:not(.product-kicker) {
  margin-bottom: var(--copy-action-gap);
}

.product-action:hover {
  background: var(--accent-hover);
}

.product-action svg {
  width: 17px;
  height: 17px;
  stroke-width: 2.2;
}

.product-benefit-media {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(5, 6, 10, 0.14), rgba(5, 6, 10, 0.82)),
    #080a10;
}

.product-benefit-featured .product-benefit-media {
  background:
    radial-gradient(640px 420px at 54% 35%, rgba(186, 22, 0, 0.2), transparent 74%),
    linear-gradient(145deg, rgba(18, 20, 28, 0.98), rgba(7, 9, 14, 0.98) 72%),
    #080a10;
}

.product-media-image,
.product-benefit-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.15) contrast(1.08);
  opacity: 0.78;
}

.product-media-image {
  object-position: 54% 50%;
  filter: saturate(1.04) contrast(1.03) brightness(0.98);
  opacity: 0.96;
  transform: scale(1.01);
}

.product-benefit-featured .product-benefit-media video {
  filter: saturate(0.72) contrast(0.96) brightness(0.8) blur(0.8px);
  opacity: 0.34;
  transform: scale(1.012);
}

.product-benefit-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(100deg, rgba(8, 8, 11, 0.78), rgba(8, 8, 11, 0.1) 52%, rgba(8, 8, 11, 0.42)),
    linear-gradient(180deg, rgba(8, 8, 11, 0.04), rgba(8, 8, 11, 0.76));
}

.product-benefit-featured .product-benefit-media::after {
  background:
    radial-gradient(540px 320px at 58% 42%, transparent 0%, rgba(7, 8, 12, 0.08) 55%, rgba(7, 8, 12, 0.56) 100%),
    linear-gradient(108deg, rgba(7, 8, 12, 0.54), rgba(7, 8, 12, 0.12) 54%, rgba(7, 8, 12, 0.34)),
    linear-gradient(180deg, rgba(7, 8, 12, 0.02), rgba(7, 8, 12, 0.58));
}

.product-benefit-redvpn .product-benefit-media::after {
  display: block;
  background:
    linear-gradient(105deg, rgba(7, 8, 12, 0.08), transparent 42%, rgba(7, 8, 12, 0.06)),
    linear-gradient(180deg, rgba(7, 8, 12, 0.01), rgba(7, 8, 12, 0.12));
}

.product-media-content {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.product-redvpn-panel {
  position: absolute;
  right: clamp(92px, 8vw, 116px);
  left: auto;
  top: auto;
  bottom: clamp(28px, 4vw, 52px);
  z-index: 2;
  width: min(calc(100% - 156px), 340px);
  padding: clamp(16px, 1.9vw, 22px);
  display: grid;
  gap: clamp(14px, 2vw, 18px);
  overflow: hidden;
  border: 0;
  border-radius: 22px;
  color: #ffffff;
  opacity: 0;
  box-shadow: none;
  pointer-events: none;
  transform: translateY(10px);
  background: rgba(15, 20, 31, 0.96);
  backdrop-filter: blur(18px) saturate(1.25);
  transition:
    opacity 170ms ease,
    transform 240ms cubic-bezier(0.22, 1, 0.36, 1),
    right 300ms cubic-bezier(0.22, 1, 0.36, 1),
    background-color 220ms ease;
}

.product-benefit-redvpn[data-redvpn-revealed="true"] .product-redvpn-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  background: rgba(16, 21, 32, 0.98);
}

.product-redvpn-reveal {
  position: absolute;
  right: clamp(24px, 3vw, 42px);
  bottom: clamp(24px, 3vw, 42px);
  z-index: 3;
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: var(--radius-pill);
  color: #ffffff;
  background: var(--accent);
  box-shadow: var(--button-shadow);
  cursor: pointer;
  pointer-events: auto;
  transition: background-color var(--motion-fast);
}

.product-redvpn-reveal:hover {
  background: var(--accent-hover);
}

.product-redvpn-reveal:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 4px;
}

.product-redvpn-reveal svg {
  width: 24px;
  height: 24px;
  stroke-width: 2.25;
  transition: transform 180ms ease;
}

.product-benefit-redvpn[data-redvpn-revealed="true"] .product-redvpn-reveal svg {
  transform: rotate(45deg);
}

.product-logo-panel,
.product-compact-media {
  background: rgba(8, 10, 16, 0.46);
  backdrop-filter: blur(14px) saturate(1.08);
}

.product-logo-panel {
  width: 100%;
  min-height: 0;
  padding: 0;
  display: block;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
}

.product-logo-panel img {
  width: min(164px, 100%);
  height: auto;
  display: block;
}

.product-media-brief {
  width: 100%;
  display: grid;
  gap: 14px;
}

.product-media-brief p {
  max-width: none;
  margin: 0;
  color: rgba(255, 250, 242, 0.78);
  font-size: 0.88rem;
  line-height: 1.48;
}

.product-media-signals {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-media-signal {
  min-width: 0;
  min-height: 32px;
  padding: 7px 10px 7px 9px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: var(--radius-pill);
  color: rgba(255, 250, 242, 0.86);
  background: rgba(255, 255, 255, 0.08);
}

.product-media-signal svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  color: #ff4c3a;
  stroke-width: 2.1;
}

.product-media-signal span {
  font-size: 0.76rem;
  font-weight: 740;
  line-height: 1.18;
}

.product-compact-media {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 240px;
  margin: 0;
  display: grid;
  place-items: center;
  border-radius: 0;
  background:
    var(--product-media-glow),
    var(--product-media-gradient),
    #0b0e15;
}

.product-compact-media img {
  position: relative;
  z-index: 1;
  width: min(var(--compact-logo-width), calc(100% - 56px));
  height: auto;
  display: block;
}

.product-portfolio-note {
  --product-title-highlight: linear-gradient(96deg, #78aaff 0%, #46d9c7 100%);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: block;
  margin: 0 auto;
  border-radius: var(--radius-card);
  padding: var(--card-padding-large);
  background:
    radial-gradient(560px 260px at 20% 0%, rgba(52, 124, 255, 0.13), transparent 72%),
    rgba(14, 17, 24, 0.9);
  box-shadow: none;
  scroll-margin-top: 98px;
}

.product-portfolio-note::before {
  position: absolute;
  inset: 0 0 0 38%;
  z-index: 0;
  content: "";
  background:
    radial-gradient(520px 300px at 68% 42%, rgba(120, 170, 255, 0.15), transparent 72%),
    radial-gradient(460px 280px at 86% 62%, rgba(70, 217, 199, 0.14), transparent 76%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.34) 17%, #000 42%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.34) 17%, #000 42%, #000 100%);
  pointer-events: none;
}

.product-portfolio-copy {
  width: min(100%, 650px);
  min-width: 0;
  position: relative;
  z-index: 2;
}

.portfolio-pattern {
  --pattern-cell: clamp(18px, 1.75vw, 25px);
  --pattern-gap: clamp(12px, 1.18vw, 17px);
  position: absolute;
  top: -58px;
  right: clamp(-150px, -7vw, -84px);
  bottom: -58px;
  z-index: 1;
  width: min(64%, 730px);
  height: auto;
  display: grid;
  grid-template-columns: repeat(12, var(--pattern-cell));
  grid-auto-rows: var(--pattern-cell);
  gap: var(--pattern-gap);
  align-content: center;
  justify-content: center;
  pointer-events: none;
  transform: rotate(-8deg);
  transform-origin: 64% 50%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.28) 8%, #000 24%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.28) 8%, #000 24%, #000 100%);
}

.portfolio-pattern::before {
  position: absolute;
  inset: -58px -52px -52px -36px;
  z-index: -1;
  content: "";
  background:
    radial-gradient(420px 260px at 56% 42%, rgba(120, 170, 255, 0.18), transparent 72%),
    radial-gradient(380px 240px at 82% 58%, rgba(70, 217, 199, 0.15), transparent 76%);
  filter: blur(16px);
  opacity: 0.94;
}

.portfolio-pattern span {
  width: var(--pattern-cell);
  height: var(--pattern-cell);
  display: grid;
  place-items: center;
  color: #78aaff;
  opacity: 0.28;
  transform: scale(0.66);
}

.portfolio-pattern span:nth-child(3n) {
  color: #46d9c7;
}

.portfolio-pattern span:nth-child(5n) {
  color: #8db8ff;
}

.portfolio-pattern span svg {
  width: 100%;
  height: 100%;
  stroke-width: 1.65;
}

.portfolio-pattern span:nth-child(12n + 1),
.portfolio-pattern span:nth-child(12n + 12) {
  opacity: 0.1;
  transform: scale(0.5);
}

.portfolio-pattern span:nth-child(12n + 2),
.portfolio-pattern span:nth-child(12n + 11) {
  opacity: 0.18;
  transform: scale(0.58);
}

.portfolio-pattern span:nth-child(6),
.portfolio-pattern span:nth-child(7),
.portfolio-pattern span:nth-child(17),
.portfolio-pattern span:nth-child(18),
.portfolio-pattern span:nth-child(19),
.portfolio-pattern span:nth-child(29),
.portfolio-pattern span:nth-child(30),
.portfolio-pattern span:nth-child(31),
.portfolio-pattern span:nth-child(42),
.portfolio-pattern span:nth-child(43),
.portfolio-pattern span:nth-child(54),
.portfolio-pattern span:nth-child(55),
.portfolio-pattern span:nth-child(66),
.portfolio-pattern span:nth-child(67),
.portfolio-pattern span:nth-child(78),
.portfolio-pattern span:nth-child(79) {
  opacity: 0.52;
  transform: scale(0.84);
}

.portfolio-pattern span:nth-child(20),
.portfolio-pattern span:nth-child(32),
.portfolio-pattern span:nth-child(44),
.portfolio-pattern span:nth-child(56),
.portfolio-pattern span:nth-child(68) {
  opacity: 0.68;
  transform: scale(0.98);
}

@media (max-width: 980px) {
  .hero h1 {
    font-size: clamp(3.2rem, 7vw, 4.35rem);
  }

  .portfolio-shell {
    padding: var(--section-block-start) var(--page-inline) 0;
  }

  .products-shell {
    padding: var(--section-block-start) var(--page-inline) var(--section-block-end);
  }

  .products-heading h2 {
    font-size: 3.35rem;
  }

  .product-benefit-featured {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .product-benefit-media {
    min-height: 420px;
  }

  .product-benefit-featured .product-benefit-media {
    order: -1;
    min-height: 430px;
    margin: 24px 24px 0;
    border-radius: 26px;
  }

  .product-redvpn-panel {
    right: 88px;
    left: auto;
    bottom: 24px;
    width: min(calc(100% - 136px), 320px);
  }

  .product-benefit-grid {
    grid-template-columns: 1fr;
  }

  .product-portfolio-note {
    min-height: 0;
  }

  .product-portfolio-note::before {
    inset: 0 0 0 46%;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.18) 24%, #000 52%, #000 100%);
    mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.18) 24%, #000 52%, #000 100%);
  }

  .portfolio-pattern {
    --pattern-cell: 14px;
    --pattern-gap: 10px;
    top: -42px;
    right: -176px;
    bottom: -42px;
    width: min(96%, 540px);
    height: auto;
    transform: rotate(-8deg);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, transparent 22%, rgba(0, 0, 0, 0.28) 38%, #000 60%, #000 100%);
    mask-image: linear-gradient(90deg, transparent 0%, transparent 22%, rgba(0, 0, 0, 0.28) 38%, #000 60%, #000 100%);
  }
}

/* Proof */

.proof-section {
  position: relative;
  isolation: isolate;
  overflow: visible;
  scroll-margin-top: var(--header-height);
  background: transparent;
}

.proof-section::before {
  display: none;
}

.proof-shell {
  width: min(100%, var(--container-main));
  margin: 0 auto;
  padding: var(--section-block-start) var(--page-inline) var(--section-block-end);
}

.proof-heading {
  position: relative;
  isolation: isolate;
  margin-top: 0;
  display: grid;
  justify-items: center;
  text-align: center;
}

.proof-heading::before {
  position: absolute;
  inset: -120px -180px -112px;
  z-index: -1;
  content: "";
  background: radial-gradient(660px 360px at 50% 48%, rgba(143, 99, 255, 0.14), transparent 74%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.45) 18%, #000 38%, #000 76%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.45) 18%, #000 38%, #000 76%, transparent 100%);
  pointer-events: none;
}

.proof-heading h2 {
  max-width: 940px;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3.1rem, 5.7vw, 5.2rem);
  font-weight: 780;
  line-height: 0.98;
  letter-spacing: 0;
  text-wrap: balance;
}

.proof-grid {
  margin-top: var(--section-heading-gap);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--section-card-gap);
}

.proof-lead-card,
.proof-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 28px;
  background: #030406;
  box-shadow: none;
}

.proof-lead-card {
  grid-column: 1 / -1;
  min-height: 520px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
}

.proof-lead-card::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background:
    radial-gradient(620px 420px at 78% 30%, rgba(52, 124, 255, 0.18), transparent 74%),
    radial-gradient(460px 320px at 18% 26%, rgba(255, 132, 36, 0.12), transparent 72%);
  pointer-events: none;
}

.proof-card-copy {
  position: relative;
  z-index: 2;
}

.proof-lead-card > .proof-card-copy {
  grid-column: 1;
  grid-row: 1;
  max-width: 620px;
  align-self: center;
  padding: var(--card-padding-large);
}

.proof-eyebrow {
  margin: 0 0 var(--eyebrow-heading-gap);
  color: var(--eyebrow-blue);
  font-size: 0.92rem;
  font-weight: 780;
  line-height: 1.2;
}

.proof-lead-card h3,
.proof-card h3 {
  margin: 0;
  font-family: var(--font-display);
  color: #ffffff;
  letter-spacing: 0;
  text-wrap: balance;
}

.proof-lead-card h3 {
  font-size: clamp(2.05rem, 3.35vw, 3.3rem);
  font-weight: 780;
  line-height: 1.04;
}

.proof-lead-card .heading-gradient-warm {
  display: inline;
}

.proof-card h3 {
  font-size: clamp(1.85rem, 3vw, 2.65rem);
  font-weight: 760;
  line-height: 1.04;
}

.proof-lead-card p:not(.proof-eyebrow),
.proof-card p:not(.proof-eyebrow) {
  margin: var(--heading-copy-gap) 0 0;
  color: rgba(255, 250, 242, 0.68);
  font-size: 1.04rem;
  line-height: 1.6;
}

.proof-media {
  position: relative;
  grid-column: 1 / -1;
  grid-row: 1;
  min-height: 100%;
  overflow: hidden;
  transition: min-height 300ms cubic-bezier(0.22, 1, 0.36, 1);
}

.proof-media-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 50%;
  opacity: 0.94;
  filter: saturate(1.08) contrast(1.04) brightness(0.94);
  transform: scale(1.01);
}

.proof-media::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(3, 4, 6, 0.98) 0%, rgba(3, 4, 6, 0.82) 38%, rgba(3, 4, 6, 0.2) 66%, rgba(3, 4, 6, 0.5) 100%),
    linear-gradient(180deg, rgba(3, 4, 6, 0.08) 0%, rgba(3, 4, 6, 0.66) 100%);
}

.proof-media-panel {
  position: absolute;
  right: clamp(92px, 8vw, 116px);
  bottom: clamp(28px, 4vw, 52px);
  z-index: 2;
  width: min(78%, 330px);
  height: 152px;
  border-radius: 22px;
  color: #ffffff;
  overflow: hidden;
  border: 0;
  background: rgba(15, 20, 31, 0.96);
  box-shadow: none;
  backdrop-filter: blur(18px) saturate(1.25);
  transition:
    width 300ms cubic-bezier(0.22, 1, 0.36, 1),
    height 300ms cubic-bezier(0.22, 1, 0.36, 1),
    right 300ms cubic-bezier(0.22, 1, 0.36, 1),
    background-color 220ms ease;
}

.proof-lead-card[data-proof-expanded="true"] .proof-media-panel {
  right: clamp(92px, 8vw, 116px);
  width: min(37%, 410px);
  height: 304px;
  background: rgba(16, 21, 32, 0.98);
}

.proof-panel-state {
  position: absolute;
  inset: 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition:
    opacity 170ms ease,
    transform 240ms cubic-bezier(0.22, 1, 0.36, 1);
}

.proof-panel-state[data-proof-panel-state="collapsed"] {
  opacity: 1;
  transform: translateY(0);
}

.proof-lead-card[data-proof-expanded="true"] .proof-panel-state[data-proof-panel-state="collapsed"] {
  opacity: 0;
  transform: translateY(-8px);
}

.proof-lead-card[data-proof-expanded="true"] .proof-panel-state[data-proof-panel-state="expanded"] {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  transition-delay: 80ms;
}

.proof-lead-card .proof-media-panel .proof-panel-kicker {
  display: block;
  flex: 0 0 auto;
  margin: 0;
  color: rgba(255, 250, 242, 0.64);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.2;
}

.proof-lead-card .proof-media-panel .proof-panel-title {
  display: block;
  flex: 0 0 auto;
  margin-top: 8px;
  font-size: 1.44rem;
  line-height: 1.1;
}

.proof-lead-card .proof-media-panel .proof-panel-copy {
  flex: 0 0 auto;
  margin: 14px 0 0;
  color: rgba(255, 250, 242, 0.68);
  font-size: 0.92rem;
  line-height: 1.42;
}

.proof-panel-list {
  flex: 0 0 auto;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  list-style: none;
}

.proof-panel-list li {
  min-width: 0;
  padding: 12px 10px;
  border: 0;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.105);
  box-shadow: none;
}

.proof-panel-list span {
  display: block;
  color: #ffffff;
  font-size: 1.08rem;
  font-weight: 780;
  line-height: 1;
}

.proof-panel-list small {
  display: block;
  margin-top: 6px;
  color: rgba(255, 250, 242, 0.6);
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.2;
}

.proof-meter {
  flex: 0 0 auto;
  height: 9px;
  margin-top: 18px;
  overflow: hidden;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.13);
}

.proof-meter span {
  width: 72%;
  height: 100%;
  display: block;
  border-radius: inherit;
  background: linear-gradient(90deg, #78aaff, #46d9c7, #ffb842);
}

.proof-lead-card[data-proof-expanded="true"] .proof-meter span {
  width: 88%;
}

.proof-expand {
  position: absolute;
  right: clamp(24px, 3.4vw, 40px);
  bottom: clamp(24px, 3.4vw, 40px);
  z-index: 3;
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: var(--radius-pill);
  color: #ffffff;
  background: var(--accent);
  box-shadow: var(--button-shadow);
  cursor: pointer;
  transition: background-color var(--motion-fast);
}

.proof-expand:hover {
  background: var(--accent-hover);
}

.proof-expand:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 4px;
}

.proof-expand svg {
  width: 24px;
  height: 24px;
  stroke-width: 2.25;
  transition: transform 180ms ease;
}

.proof-lead-card[data-proof-expanded="true"] .proof-expand svg {
  transform: rotate(45deg);
}

.proof-card {
  min-height: 560px;
  display: flex;
  flex-direction: column;
}

.proof-card-visual {
  min-height: 260px;
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: var(--card-padding-medium);
  background:
    radial-gradient(360px 240px at 18% 8%, rgba(52, 124, 255, 0.22), transparent 72%),
    #05070b;
}

.proof-card-subscriptions .proof-card-visual {
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(360px 240px at 52% 40%, rgba(255, 184, 66, 0.16), transparent 72%),
    radial-gradient(320px 220px at 18% 12%, rgba(52, 124, 255, 0.2), transparent 72%),
    #05070b;
}

.proof-card-astana .proof-card-visual {
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(360px 240px at 52% 40%, rgba(70, 217, 199, 0.18), transparent 72%),
    radial-gradient(320px 220px at 18% 12%, rgba(52, 124, 255, 0.2), transparent 72%),
    #05070b;
}

.proof-subscriptions-stat-panel,
.proof-astana-logo-panel {
  width: min(100%, 430px);
  height: 128px;
  padding: 16px 18px;
  display: grid;
  place-items: center;
  border-radius: 22px;
}

.proof-subscriptions-stat-panel {
  align-content: center;
  gap: 8px;
  color: #ffffff;
}

.proof-subscriptions-stat-panel strong {
  font-family: var(--font-display);
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(3.4rem, 6vw, 5.2rem);
  font-weight: 780;
  line-height: 0.82;
  white-space: nowrap;
  text-shadow: 0 18px 48px rgba(52, 124, 255, 0.18);
}

.proof-subscriptions-stat-panel span {
  color: rgba(255, 250, 242, 0.68);
  font-size: 0.95rem;
  font-weight: 740;
  line-height: 1.2;
}

.proof-astana-logo-panel img {
  width: min(100%, 360px);
  height: auto;
  display: block;
}

.proof-card > .proof-card-copy {
  padding: var(--card-padding-medium);
}

/* Legal pages */

body.legal-page {
  background: var(--page-bg);
}

body.legal-page .site-header,
body.legal-page .site-footer {
  background: var(--chrome-bg);
}

.legal-main {
  overflow: visible;
  background: var(--page-bg);
}

.legal-main::after {
  display: none;
}

.legal-shell {
  width: min(100%, var(--container-legal));
  margin: 0 auto;
  padding: 0 var(--page-inline);
}

.legal-hero {
  position: relative;
  isolation: isolate;
  padding: clamp(72px, 9vw, 116px) 0 clamp(52px, 7vw, 84px);
  overflow: hidden;
  background: var(--page-bg);
}

.legal-hero::before {
  display: none;
}

.legal-hero-shell {
  display: grid;
  align-content: start;
  gap: 18px;
}

.legal-back-link {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 250, 242, 0.68);
  font-size: 0.9rem;
  font-weight: 760;
  line-height: 1;
  transition:
    color var(--motion-fast),
    transform var(--motion-fast);
}

.legal-back-link:hover {
  color: #ffffff;
  transform: translateX(-2px);
}

.legal-back-link svg {
  width: 16px;
  height: 16px;
  stroke-width: 2.3;
}

.legal-hero h1 {
  max-width: 780px;
  margin: 0;
  font-family: var(--font-display);
  color: var(--text);
  font-size: clamp(2.35rem, 5vw, 3.9rem);
  font-weight: 780;
  letter-spacing: 0;
  line-height: 1.02;
}

.legal-updated,
.legal-hero-copy {
  max-width: 720px;
  margin: 0;
}

.legal-updated {
  color: rgba(255, 250, 242, 0.58);
  font-size: 0.96rem;
  font-weight: 700;
}

.legal-hero-copy {
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.18rem);
  line-height: 1.56;
}

.legal-section {
  padding: clamp(52px, 7vw, 84px) 0 clamp(84px, 10vw, 128px);
}

.legal-document {
  max-width: 840px;
  display: grid;
  gap: 18px;
}

.legal-document > * {
  margin: 0;
}

.legal-document h2 {
  margin-top: clamp(32px, 4vw, 46px);
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.8vw, 2.15rem);
  font-weight: 760;
  letter-spacing: 0;
  line-height: 1.08;
}

.legal-document h2:first-child {
  margin-top: 0;
}

.legal-document h3 {
  margin-top: 18px;
  color: var(--text);
  font-size: 1.18rem;
  line-height: 1.22;
}

.legal-document p,
.legal-document li {
  color: rgba(255, 250, 242, 0.82);
  font-size: 1.03rem;
  line-height: 1.78;
  overflow-wrap: break-word;
}

.legal-document p {
  max-width: 76ch;
}

.legal-document ul {
  margin: 4px 0 6px;
  padding-left: 1.2rem;
  display: grid;
  gap: 10px;
}

.legal-document li::marker {
  color: var(--accent-hover);
}

.legal-document code {
  padding: 0.1em 0.34em;
  border: 1px solid var(--border-soft);
  border-radius: 6px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.07);
  font-family:
    ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.92em;
}

.legal-document a {
  color: var(--link-blue);
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

.legal-document a:hover {
  color: #ffffff;
}

.legal-back-link:focus-visible,
.legal-document a:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 4px;
}

.legal-page .footer-legal a[aria-current="page"] {
  color: #ffffff;
}

/* Footer */

.site-footer {
  margin-top: auto;
  background: var(--chrome-gradient), var(--chrome-bg);
}

.footer-shell {
  width: min(100%, var(--container-main));
  margin: 0 auto;
  padding: 48px var(--page-inline) 32px;
}

.footer-columns {
  display: grid;
  grid-template-columns: minmax(140px, 1fr) minmax(120px, 0.8fr) minmax(280px, 1.6fr) minmax(190px, 1fr);
  align-items: start;
  gap: 32px clamp(24px, 4vw, 54px);
}

.footer-brand {
  min-width: 0;
  display: block;
}

.footer-nav {
  display: grid;
  align-content: start;
  gap: 10px;
  min-width: 0;
}

.footer-nav a {
  width: fit-content;
  color: rgba(255, 250, 242, 0.64);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.35;
  transition:
    color var(--motion-fast);
}

.footer-nav a:hover {
  color: #ffffff;
}

.footer-company {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-address {
  display: grid;
  gap: 8px;
  margin: 0;
  color: rgba(255, 250, 242, 0.66);
  font-size: 0.9rem;
  font-style: normal;
  line-height: 1.45;
}

.footer-address strong {
  color: rgba(255, 250, 242, 0.82);
  font-size: 0.9rem;
  font-weight: 650;
}

.footer-address-lines {
  display: grid;
  gap: 2px;
  max-width: 320px;
}

.footer-nav a,
.footer-legal a {
  text-underline-offset: 4px;
}

.footer-company-meta {
  margin: 0;
  display: grid;
  align-content: start;
  gap: 2px;
  color: rgba(255, 250, 242, 0.66);
  font-size: 0.88rem;
  line-height: 1.35;
}

.footer-company-meta div {
  display: flex;
  align-items: baseline;
  gap: 8px;
  white-space: nowrap;
}

.footer-company-meta dt,
.footer-company-meta dd {
  margin: 0;
}

.footer-company-meta dt {
  color: rgba(255, 250, 242, 0.66);
  font-weight: 400;
}

.footer-company-meta dd {
  color: rgba(255, 250, 242, 0.66);
  font-weight: 400;
}

.footer-duns-seal {
  width: 49px;
  height: 43px;
  flex: 0 0 49px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.footer-duns-seal iframe {
  width: 49px;
  height: 43px;
  display: block;
  border: 0;
}

.footer-duns-seal span {
  display: block;
  color: rgba(255, 250, 242, 0.78);
  font-size: 0.62rem;
  font-weight: 760;
  line-height: 1.05;
  text-align: center;
}

.footer-astana-badge {
  width: 112px;
  min-height: 30px;
  display: grid;
  place-items: center;
  opacity: 0.82;
  transition: opacity var(--motion-fast);
}

.footer-astana-badge:hover {
  opacity: 1;
}

.footer-astana-badge img {
  width: 100%;
  height: auto;
  display: block;
}

.footer-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 24px;
  margin-top: 48px;
}

.footer-bottom p {
  margin: 0;
  color: var(--subtle);
  font-size: 0.9rem;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-language {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  color: rgba(255, 250, 242, 0.58);
  transition: color var(--motion-fast);
}

.footer-language:hover {
  color: #ffffff;
}

.footer-language-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: currentColor;
  cursor: pointer;
}

.footer-language-label svg {
  width: 16px;
  height: 16px;
  stroke-width: 2.1;
}

.footer-language-control {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.footer-language-control select {
  min-height: 0;
  max-width: 160px;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: currentColor;
  background: transparent;
  box-shadow: none;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.35;
  cursor: pointer;
  appearance: none;
  text-decoration: none;
  transition: color var(--motion-fast);
}

.footer-language-control select:hover {
  color: currentColor;
}

.footer-language-control select::-ms-expand {
  display: none;
}

.footer-badges {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
}

.footer-legal a {
  color: rgba(255, 250, 242, 0.58);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.35;
  transition: color var(--motion-fast);
}

.footer-legal a:hover {
  color: #ffffff;
}

.footer-nav a:focus-visible,
.footer-legal a:focus-visible,
.footer-language-control select:focus-visible,
.footer-astana-badge:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 4px;
}

@media (max-width: 980px) {
  .footer-columns {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .footer-bottom {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 16px;
  }

  .footer-language {
    justify-content: flex-start;
  }

  .footer-badges {
    justify-content: flex-start;
  }
}

/* Contact dialog */

body[data-contact-open] {
  overflow: hidden;
}

.contact-dialog {
  width: min(calc(100% - 32px), 560px);
  max-height: min(680px, calc(100svh - 32px));
  margin: auto;
  padding: 0;
  overflow: visible;
  border: 0;
  color: var(--text);
  background: transparent;
}

.contact-dialog::backdrop {
  background:
    linear-gradient(180deg, rgba(4, 5, 8, 0.56), rgba(4, 5, 8, 0.8)),
    rgba(0, 0, 0, 0.66);
  backdrop-filter: blur(14px) saturate(1.08);
}

.contact-dialog[open]::backdrop {
  animation: contact-backdrop-in 180ms ease forwards;
}

.contact-dialog[data-contact-closing]::backdrop {
  animation: contact-backdrop-out var(--motion-dialog-out) forwards;
}

.contact-dialog-panel {
  position: relative;
  max-height: min(680px, calc(100svh - 32px));
  padding: clamp(26px, 3.4vw, 36px);
  overflow: auto;
  border: 0;
  border-radius: var(--radius-card-medium);
  background:
    linear-gradient(145deg, rgba(16, 20, 29, 0.99), rgba(8, 10, 16, 0.99)),
    var(--surface);
  box-shadow: 0 28px 74px rgba(0, 0, 0, 0.42);
}

.contact-dialog[open] .contact-dialog-panel {
  animation: contact-panel-in var(--motion-dialog-in) forwards;
}

.contact-dialog[data-contact-closing] .contact-dialog-panel {
  animation: contact-panel-out var(--motion-dialog-out) forwards;
}

.contact-dialog-heading {
  max-width: 100%;
  display: grid;
  gap: 10px;
}

.contact-dialog h2 {
  margin: 0;
  padding-right: 42px;
  font-family: var(--font-display);
  color: #ffffff;
  font-size: clamp(1.86rem, 3.6vw, 2.38rem);
  font-weight: 760;
  line-height: 1.06;
  letter-spacing: 0;
  text-wrap: balance;
  white-space: nowrap;
}

.contact-dialog-description {
  margin: 0;
  color: rgba(255, 250, 242, 0.7);
  font-size: 0.98rem;
  line-height: 1.52;
}

.contact-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(226, 233, 245, 0.16);
  border-radius: var(--radius-pill);
  color: rgba(255, 250, 242, 0.86);
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  transition:
    border-color var(--motion-fast),
    background-color var(--motion-fast),
    color var(--motion-fast);
}

.contact-close:hover {
  border-color: rgba(184, 201, 232, 0.34);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.contact-close svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.25;
}

.contact-form {
  margin-top: 24px;
  display: grid;
  gap: 15px;
}

.contact-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.contact-field {
  display: grid;
  gap: 8px;
}

.contact-field-label {
  display: flex;
  align-items: baseline;
  gap: 4px;
  color: rgba(255, 250, 242, 0.76);
  font-size: 0.88rem;
  font-weight: 720;
  line-height: 1.2;
}

.contact-required {
  color: var(--danger);
  font-weight: 800;
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  border: 1px solid var(--control-border);
  border-radius: var(--radius-control);
  color: #ffffff;
  background: var(--control-bg);
  box-shadow: var(--control-shadow);
  font: inherit;
  font-size: 1rem;
  line-height: 1.35;
  outline: 0;
  transition:
    border-color var(--motion-fast),
    background-color var(--motion-fast),
    box-shadow var(--motion-fast);
}

.contact-field input {
  min-height: 46px;
  padding: 0 15px;
}

.contact-field textarea {
  min-height: 124px;
  padding: 14px 15px;
  resize: vertical;
}

.contact-field input:focus,
.contact-field textarea:focus {
  border-color: rgba(120, 170, 255, 0.58);
  background: var(--control-bg-hover);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.055),
    0 0 0 3px var(--focus-field-ring);
}

.contact-agreement {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  color: rgba(255, 250, 242, 0.7);
  font-size: 0.86rem;
  font-weight: 560;
  line-height: 1.48;
  cursor: pointer;
}

.contact-agreement input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--accent);
  cursor: pointer;
}

.contact-agreement a {
  color: var(--link-blue);
  font-weight: 760;
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
  transition: color var(--motion-fast);
}

.contact-agreement a:hover {
  color: #ffffff;
}

.contact-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.contact-form-footer {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.contact-form-status {
  min-width: 0;
  margin: 0;
  color: rgba(255, 250, 242, 0.64);
  font-size: 0.92rem;
  line-height: 1.38;
}

.contact-dialog[data-contact-state="success"] .contact-form-status {
  color: var(--success);
}

.contact-dialog[data-contact-state="error"] .contact-form-status {
  color: var(--error);
}

.contact-submit {
  flex: 0 0 auto;
  min-height: 46px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: var(--radius-pill);
  color: #ffffff;
  background: var(--accent);
  box-shadow: var(--button-shadow);
  font-weight: 750;
  line-height: 1;
  cursor: pointer;
  transition:
    background-color var(--motion-fast),
    opacity var(--motion-fast);
}

.contact-submit:hover {
  background: var(--accent-hover);
}

.contact-submit:disabled {
  cursor: progress;
  opacity: 0.68;
}

.contact-submit svg {
  width: 17px;
  height: 17px;
  stroke-width: 2.25;
}

.contact-close:focus-visible,
.contact-agreement input:focus-visible,
.contact-agreement a:focus-visible,
.contact-submit:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 4px;
}

.contact-thank-you {
  min-height: 248px;
  display: none;
  place-items: center;
  align-content: center;
  gap: 12px;
  text-align: center;
  outline: 0;
}

.contact-dialog[data-contact-submitted] .contact-dialog-heading,
.contact-dialog[data-contact-submitted] .contact-form {
  display: none;
}

.contact-dialog[data-contact-submitted] .contact-thank-you:not([hidden]) {
  display: grid;
}

.contact-thank-you h2 {
  padding-right: 0;
}

.contact-thank-you p {
  max-width: 360px;
  margin: 0;
  color: rgba(255, 250, 242, 0.68);
  font-size: 1rem;
  line-height: 1.52;
}

/* Motion */

@keyframes contact-panel-in {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.985);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes contact-panel-out {
  from {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  to {
    opacity: 0;
    transform: translateY(10px) scale(0.985);
  }
}

@keyframes contact-backdrop-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes contact-backdrop-out {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .contact-dialog[open]::backdrop,
  .contact-dialog[data-contact-closing]::backdrop,
  .contact-dialog[open] .contact-dialog-panel,
  .contact-dialog[data-contact-closing] .contact-dialog-panel {
    animation: none;
  }
}

/* Responsive */

@media (max-width: 700px) {
  :root {
    --page-inline: 20px;
    --section-block-start: 64px;
    --section-block-end: 84px;
    --section-heading-gap: 48px;
    --section-card-gap: 32px;
    --card-padding-large: 28px;
    --card-padding-medium: 28px;
  }

  .header-shell {
    grid-template-columns: auto auto;
    min-height: 0;
    gap: 14px;
    padding: 18px 20px 14px;
  }

  .brand-link img {
    width: 120px;
  }

  .brand-link {
    grid-column: 1;
    grid-row: 1;
  }

  .mobile-menu-toggle {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    display: inline-flex;
  }

  .primary-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    display: none;
    justify-content: stretch;
    align-items: stretch;
    flex-direction: column;
    gap: 6px;
    padding-top: 10px;
  }

  .primary-nav a,
  .header-actions a {
    width: 100%;
    border-radius: 10px;
    padding: 13px 12px;
    font-size: 1rem;
  }

  .header-actions {
    grid-column: 1 / -1;
    grid-row: 3;
    display: none;
    justify-content: stretch;
    flex-direction: column;
    gap: 8px;
  }

  .header-cta {
    min-height: 40px;
    width: 100%;
    padding: 0 16px;
    border-radius: 10px;
  }

  .site-header[data-menu-open] .primary-nav,
  .site-header[data-menu-open] .header-actions {
    display: flex;
  }

  .site-header[data-menu-open] .menu-icon-open {
    display: none;
  }

  .site-header[data-menu-open] .menu-icon-close {
    display: block;
  }

  .hero {
    min-height: 620px;
  }

  .hero-shell {
    padding: 54px 20px 38px;
  }

  .hero::before {
    background:
      radial-gradient(360px 300px at 50% 28%, rgba(52, 124, 255, 0.2), transparent 72%),
      linear-gradient(180deg, rgba(8, 8, 11, 0.7), rgba(8, 8, 11, 0.1) 40%, rgba(8, 8, 11, 0.58)),
      linear-gradient(90deg, rgba(8, 8, 11, 0.78), rgba(8, 8, 11, 0.18), rgba(8, 8, 11, 0.78));
  }

  .hero h1 {
    font-size: clamp(2.25rem, 10vw, 3.2rem);
    line-height: 1;
  }

  .hero h1 .hero-title-line {
    display: inline;
  }

  .hero-copy {
    margin-top: 24px;
  }

  .hero-actions {
    width: 100%;
    margin-top: 30px;
  }

  .hero-primary,
  .hero-secondary {
    width: min(100%, 280px);
  }

  .legal-shell {
    padding: 0 var(--page-inline);
  }

  .legal-hero {
    padding: 54px 0 46px;
  }

  .legal-hero h1 {
    font-size: clamp(2rem, 10vw, 2.7rem);
    line-height: 1.04;
  }

  .legal-hero-copy {
    font-size: 1rem;
  }

  .legal-section {
    padding: 48px 0 76px;
  }

  .legal-document {
    gap: 14px;
  }

  .legal-document p,
  .legal-document li {
    font-size: 0.96rem;
    line-height: 1.68;
  }

  .portfolio-shell {
    padding: var(--section-block-start) var(--page-inline) 0;
  }

  .products-shell {
    padding: var(--section-block-start) var(--page-inline) var(--section-block-end);
  }

  .products-heading {
    gap: 16px;
  }

  .products-heading h2 {
    font-size: 2.05rem;
    line-height: 1.04;
    text-wrap: wrap;
  }

  .products-heading h2,
  .product-benefit-copy p,
  .product-portfolio-note p {
    overflow-wrap: break-word;
  }

  .products-heading p:not(.section-eyebrow) {
    font-size: 1.04rem;
  }

  .product-benefits {
    margin-top: var(--section-heading-gap);
    gap: var(--section-card-gap);
  }

  .product-benefit-grid {
    gap: var(--section-card-gap);
  }

  .product-benefit,
  .product-portfolio-note {
    border-radius: var(--radius-card-medium);
  }

  .product-benefit-copy,
  .product-benefit-grid .product-benefit-copy,
  .product-portfolio-note {
    padding: var(--card-padding-medium);
  }

  .product-portfolio-note {
    min-height: 0;
  }

  .product-portfolio-note::before {
    inset: 0 0 0 48%;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.14) 26%, #000 58%, #000 100%);
    mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.14) 26%, #000 58%, #000 100%);
  }

  .product-benefit-featured h3,
  .product-benefit-grid h3,
  .product-portfolio-note h3 {
    font-size: clamp(1.95rem, 9vw, 2.7rem);
    line-height: 1.04;
  }

  .product-benefit-media {
    min-height: 350px;
  }

  .product-benefit-featured .product-benefit-media {
    min-height: 460px;
    margin: 20px 20px 0;
    border-radius: 22px;
  }

  .product-redvpn-panel {
    right: 20px;
    left: auto;
    bottom: 82px;
    width: min(calc(100% - 88px), 250px);
    padding: 15px;
    gap: 13px;
    border-radius: 18px;
  }

  .product-redvpn-reveal {
    right: 18px;
    bottom: 18px;
    width: 50px;
    height: 50px;
  }

  .product-logo-panel {
    min-height: 0;
    padding: 0;
  }

  .product-compact-media img {
    width: min(var(--compact-logo-mobile-width), calc(100% - 56px));
  }

  .product-logo-panel img {
    width: min(142px, 100%);
  }

  .portfolio-pattern {
    --pattern-cell: 12px;
    --pattern-gap: 9px;
    top: -36px;
    right: -238px;
    bottom: -36px;
    width: 520px;
    height: auto;
    transform: rotate(-8deg);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, transparent 34%, rgba(0, 0, 0, 0.28) 48%, #000 66%, #000 100%);
    mask-image: linear-gradient(90deg, transparent 0%, transparent 34%, rgba(0, 0, 0, 0.28) 48%, #000 66%, #000 100%);
  }

  .portfolio-pattern::before {
    inset: -38px -32px -34px -18px;
  }

  .product-media-brief {
    gap: 12px;
  }

  .product-media-brief p {
    font-size: 0.8rem;
    line-height: 1.4;
  }

  .product-media-signals {
    gap: 8px;
  }

  .product-media-signal {
    min-height: 29px;
    padding: 6px 9px 6px 8px;
    align-items: center;
    gap: 7px;
  }

  .product-media-signal svg {
    width: 14px;
    height: 14px;
  }

  .product-media-signal span {
    font-size: 0.7rem;
  }

  .product-compact-media {
    min-height: 190px;
    margin: 0;
    border-radius: 0;
  }

  .proof-shell {
    padding: var(--section-block-start) var(--page-inline) var(--section-block-end);
  }

  .proof-heading h2 {
    font-size: clamp(2.25rem, 10vw, 3.35rem);
    line-height: 1;
  }

  .proof-grid {
    grid-template-columns: 1fr;
    gap: var(--section-card-gap);
    margin-top: var(--section-heading-gap);
  }

  .proof-lead-card {
    grid-column: auto;
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .proof-lead-card::before {
    background:
      radial-gradient(340px 260px at 70% 68%, rgba(52, 124, 255, 0.12), transparent 72%),
      radial-gradient(300px 240px at 12% 58%, rgba(255, 132, 36, 0.1), transparent 74%);
  }

  .proof-lead-card > .proof-card-copy {
    grid-column: 1;
    grid-row: 1;
    padding: 32px 28px 28px;
  }

  .proof-lead-card h3 {
    font-size: clamp(2rem, 7.4vw, 2.65rem);
  }

  .proof-media {
    grid-column: 1;
    grid-row: 2;
    min-height: 310px;
  }

  .proof-lead-card[data-proof-expanded="true"] .proof-media {
    min-height: 410px;
  }

  .proof-media-image {
    object-position: 62% 50%;
  }

  .proof-media::after {
    background:
      linear-gradient(180deg, rgba(3, 4, 6, 0.02) 0%, rgba(3, 4, 6, 0.52) 100%),
      linear-gradient(90deg, rgba(3, 4, 6, 0.3), rgba(3, 4, 6, 0.04) 46%, rgba(3, 4, 6, 0.36));
  }

  .proof-media-panel {
    right: 20px;
    bottom: 82px;
    width: min(calc(100% - 40px), 320px);
  }

  .proof-lead-card[data-proof-expanded="true"] .proof-media-panel {
    right: 20px;
    width: min(calc(100% - 40px), 320px);
  }

  .proof-panel-title {
    font-size: 1.28rem;
  }

  .proof-panel-copy {
    font-size: 0.84rem;
    line-height: 1.35;
  }

  .proof-panel-list {
    gap: 6px;
    margin-top: 14px;
  }

  .proof-panel-list li {
    padding: 9px 8px;
    border-radius: 13px;
  }

  .proof-panel-list span {
    font-size: 0.98rem;
  }

  .proof-panel-list small {
    font-size: 0.62rem;
  }

  .proof-expand {
    right: 20px;
    bottom: 20px;
    width: 50px;
    height: 50px;
  }

  .proof-card {
    min-height: 0;
  }

  .proof-card-visual {
    min-height: 220px;
    padding: var(--card-padding-medium);
  }

  .proof-card > .proof-card-copy {
    padding: var(--card-padding-medium);
  }

  .footer-shell {
    padding: 40px var(--page-inline) 28px;
  }

  .footer-columns {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-nav {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 18px;
  }

  .footer-company,
  .footer-company-meta {
    align-items: flex-start;
  }

  .footer-bottom {
    gap: 16px;
  }

  .footer-badges {
    justify-content: flex-start;
  }
}

@media (max-width: 700px) {
  .contact-dialog {
    width: min(calc(100% - 24px), 520px);
    max-height: calc(100svh - 24px);
  }

  .contact-dialog-panel {
    max-height: calc(100svh - 24px);
    padding: 28px 20px 22px;
    border-radius: var(--radius-card-medium);
  }

  .contact-close {
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
  }

  .contact-dialog h2 {
    padding-right: 38px;
    font-size: clamp(1.78rem, 8vw, 2.32rem);
    text-wrap: wrap;
  }

  .contact-field-grid {
    grid-template-columns: 1fr;
  }

  .contact-form {
    margin-top: 24px;
    gap: 16px;
  }

  .contact-form-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .contact-submit {
    width: 100%;
  }
}
