:root {
  --navy-950: #04102a;
  --navy-900: #071a40;
  --navy-850: #0a2354;
  --navy-800: #0d2e6d;
  --blue-700: #105dde;
  --blue-600: #1473f6;
  --blue-500: #2b8cff;
  --cyan-400: #4ce6ff;
  --ink: #0a1732;
  --muted: #66738c;
  --line: #dbe5f2;
  --soft: #f3f7fc;
  --white: #ffffff;
  --success: #14b886;
  --shadow: 0 24px 70px rgba(7, 33, 82, 0.14);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 100% 0%, rgba(41, 139, 255, 0.12), transparent 26rem),
    #fff;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

button {
  font: inherit;
}

svg {
  display: block;
}

.shell {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.ambient {
  position: absolute;
  z-index: -1;
  border-radius: 999px;
  filter: blur(10px);
  pointer-events: none;
}

.ambient-one {
  width: 300px;
  height: 300px;
  top: 40px;
  right: 3%;
  background: rgba(37, 137, 255, 0.1);
}

.ambient-two {
  width: 160px;
  height: 160px;
  top: 610px;
  left: -70px;
  background: rgba(76, 230, 255, 0.12);
}

.site-header {
  position: relative;
  z-index: 20;
  display: flex;
  width: min(1180px, calc(100% - 48px));
  height: 82px;
  margin: 22px auto 0;
  padding: 0 18px 0 14px;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(16, 54, 117, 0.09);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 40px rgba(16, 51, 107, 0.08);
  backdrop-filter: blur(18px);
}

.legal-links-header {
  justify-content: space-between;
}

.legal-top-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.legal-top-nav a {
  display: inline-flex;
  min-height: 46px;
  padding: 0 18px;
  align-items: center;
  justify-content: center;
  border: 1px solid #d6e2f1;
  border-radius: 13px;
  color: var(--navy-900);
  background: #fff;
  font-size: 13px;
  font-weight: 750;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.legal-top-nav a:hover {
  border-color: rgba(20, 115, 246, 0.35);
  color: var(--blue-700);
  background: #f2f7ff;
}

.legal-top-nav a:last-child {
  border-color: var(--navy-900);
  color: #fff;
  background: var(--navy-900);
}

.legal-top-nav a:last-child:hover {
  color: #fff;
  background: var(--blue-700);
}

.legal-label-mobile {
  display: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--navy-900);
  font-size: 19px;
  font-weight: 760;
  letter-spacing: -0.04em;
}

.brand strong {
  color: var(--blue-600);
}

.brand-mark {
  position: relative;
  width: 50px;
  height: 50px;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 9px 22px rgba(20, 115, 246, 0.27);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  color: #59667e;
  font-size: 14px;
  font-weight: 650;
}

.desktop-nav a {
  transition: color 180ms ease;
}

.desktop-nav a:hover {
  color: var(--blue-600);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 14px;
  cursor: pointer;
  font-weight: 750;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, opacity 180ms ease;
}

.header-cta {
  min-height: 48px;
  padding: 0 20px;
  color: #fff;
  background: var(--navy-900);
  font-size: 14px;
}

.header-cta svg,
.button svg,
.setup-help a svg {
  width: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.header-cta:hover,
.button:not(:disabled):hover {
  transform: translateY(-2px);
}

.hero {
  display: grid;
  min-height: 710px;
  padding-block: 76px 80px;
  grid-template-columns: minmax(0, 1.02fr) minmax(430px, 0.98fr);
  align-items: center;
  gap: 58px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--blue-700);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.eyebrow {
  padding: 9px 13px;
  border: 1px solid rgba(20, 115, 246, 0.17);
  border-radius: 999px;
  background: #f2f7ff;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 5px rgba(20, 184, 134, 0.1);
}

.hero h1 {
  max-width: 680px;
  margin: 25px 0 24px;
  color: var(--navy-950);
  font-size: clamp(54px, 5.4vw, 76px);
  line-height: 0.99;
  letter-spacing: -0.065em;
}

.hero h1 span {
  color: var(--blue-600);
}

.hero-lead {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  margin-top: 34px;
  align-items: center;
  gap: 23px;
}

@media (min-width: 861px) {
  .hero-actions .button-primary {
    min-width: 390px;
  }
}

.button {
  min-height: 56px;
  padding: 0 24px;
  font-size: 15px;
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue-600), #0b55d4);
  box-shadow: 0 14px 28px rgba(20, 115, 246, 0.26);
}

.button-primary:not(:disabled):hover {
  box-shadow: 0 18px 34px rgba(20, 115, 246, 0.34);
}

.time-note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #5f6d84;
  font-size: 13px;
  font-weight: 650;
}

.time-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid #d8e4f2;
  border-radius: 50%;
  color: var(--blue-600);
  background: #fff;
  font-size: 12px;
  font-weight: 850;
}

.hero-trust {
  display: flex;
  margin-top: 32px;
  align-items: center;
  gap: 24px;
  color: #66738a;
  font-size: 13px;
  font-weight: 620;
}

.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-trust svg {
  width: 18px;
  fill: none;
  stroke: var(--success);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-visual {
  position: relative;
  display: grid;
  min-height: 580px;
  place-items: center;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(145deg, rgba(43, 140, 255, 0.2), transparent 44%),
    linear-gradient(150deg, #0c3175 0%, #061a44 58%, #04102a 100%);
  box-shadow: 0 35px 80px rgba(4, 23, 64, 0.25);
}

.hero-visual::before,
.hero-visual::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(102, 196, 255, 0.15);
  border-radius: 50%;
}

.hero-visual::before {
  width: 470px;
  height: 470px;
}

.hero-visual::after {
  width: 620px;
  height: 620px;
}

.signal {
  position: absolute;
  width: 330px;
  height: 330px;
  border-radius: 50%;
  background: rgba(35, 135, 255, 0.19);
  filter: blur(55px);
}

.signal-one {
  top: -150px;
  right: -70px;
}

.signal-two {
  bottom: -150px;
  left: -110px;
  background: rgba(41, 226, 255, 0.12);
}

.phone {
  position: relative;
  z-index: 2;
  width: 298px;
  min-height: 500px;
  padding: 9px;
  border: 2px solid rgba(199, 226, 255, 0.42);
  border-radius: 43px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.05));
  box-shadow:
    0 30px 70px rgba(0, 6, 29, 0.48),
    inset 0 0 0 1px rgba(255, 255, 255, 0.17);
  transform: rotate(2.5deg);
}

.phone::before {
  position: absolute;
  z-index: 4;
  width: 96px;
  height: 25px;
  top: 7px;
  left: 50%;
  border-radius: 0 0 16px 16px;
  background: #06132f;
  content: "";
  transform: translateX(-50%);
}

.phone-top {
  position: relative;
  z-index: 3;
  display: flex;
  height: 39px;
  padding: 0 16px;
  align-items: center;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.9);
  font-size: 10px;
  font-weight: 750;
}

.phone-sensors {
  display: flex;
  align-items: end;
  gap: 2px;
}

.phone-sensors i {
  display: block;
  width: 3px;
  height: 5px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.8);
}

.phone-sensors i:nth-child(2) {
  height: 7px;
}

.phone-sensors i:nth-child(3) {
  height: 9px;
}

.phone-content {
  min-height: 440px;
  padding: 25px 18px;
  border-radius: 32px;
  background: linear-gradient(180deg, #f7fbff, #eaf3ff);
}

.mini-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--navy-900);
  font-size: 12px;
  font-weight: 780;
}

.mini-logo {
  width: 28px;
  height: 28px;
  overflow: hidden;
  border-radius: 8px;
}

.mini-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone-title {
  margin: 26px 0 22px;
  color: var(--navy-950);
  font-size: 25px;
  font-weight: 820;
  letter-spacing: -0.04em;
}

.mini-step {
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  gap: 10px;
  color: #66758d;
}

.mini-step.is-active {
  margin-inline: -8px;
  padding: 12px 9px;
  border: 1px solid rgba(20, 115, 246, 0.14);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 26px rgba(21, 83, 172, 0.1);
  color: var(--navy-900);
  grid-template-columns: 34px 1fr auto;
}

.mini-step strong,
.mini-step small {
  display: block;
}

.mini-step strong {
  font-size: 11px;
}

.mini-step small {
  margin-top: 3px;
  color: #8a96a9;
  font-size: 9px;
}

.mini-step b {
  padding: 5px 7px;
  border-radius: 999px;
  color: var(--blue-700);
  background: #e9f2ff;
  font-size: 8px;
}

.mini-number {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border: 1px solid #ccd9e9;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 800;
}

.is-active .mini-number {
  border-color: transparent;
  color: #fff;
  background: var(--blue-600);
}

.mini-line {
  width: 1px;
  height: 31px;
  margin-left: 15px;
  background: #d2ddec;
}

.floating-card {
  position: absolute;
  z-index: 3;
  display: flex;
  min-width: 182px;
  padding: 14px 16px;
  align-items: center;
  gap: 11px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 17px;
  color: var(--navy-900);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 38px rgba(1, 14, 44, 0.28);
  backdrop-filter: blur(14px);
}

.floating-card strong,
.floating-card small {
  display: block;
}

.floating-card strong {
  font-size: 12px;
}

.floating-card small {
  margin-top: 3px;
  color: #77859b;
  font-size: 9px;
}

.floating-card svg {
  width: 32px;
  fill: none;
  stroke: var(--blue-600);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.safe-card {
  top: 94px;
  left: 20px;
  animation: float 5s ease-in-out infinite;
}

.speed-card {
  right: 17px;
  bottom: 91px;
  animation: float 5s 1.4s ease-in-out infinite;
}

.speed-bars {
  display: flex;
  width: 32px;
  height: 32px;
  align-items: end;
  justify-content: center;
  gap: 3px;
}

.speed-bars i {
  width: 5px;
  height: 9px;
  border-radius: 4px;
  background: var(--blue-500);
}

.speed-bars i:nth-child(2) {
  height: 16px;
}

.speed-bars i:nth-child(3) {
  height: 24px;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.setup-section {
  padding: 108px 0 96px;
  background: var(--soft);
}

.section-heading {
  max-width: 710px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-heading h2 {
  margin: 13px 0 16px;
  color: var(--navy-950);
  font-size: clamp(38px, 4vw, 54px);
  line-height: 1.07;
  letter-spacing: -0.055em;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

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

.setup-card {
  position: relative;
  display: flex;
  min-height: 505px;
  padding: 28px;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #dce6f2;
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: 0 10px 34px rgba(15, 49, 104, 0.06);
  transition: opacity 220ms ease, transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.setup-card.is-current {
  border-color: rgba(20, 115, 246, 0.52);
  box-shadow: 0 18px 45px rgba(20, 92, 200, 0.13);
}

.setup-card.is-current::before {
  position: absolute;
  width: 120px;
  height: 120px;
  top: -60px;
  right: -50px;
  border-radius: 50%;
  background: rgba(39, 137, 255, 0.11);
  content: "";
}

.setup-card.is-locked {
  opacity: 0.56;
}

.setup-card.is-complete {
  border-color: rgba(20, 184, 134, 0.3);
}

.step-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.step-number {
  color: var(--blue-600);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.required-label,
.lock-label {
  display: inline-flex;
  min-height: 27px;
  padding: 0 9px;
  align-items: center;
  gap: 5px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.required-label {
  color: var(--blue-700);
  background: #eaf3ff;
}

.lock-label {
  color: #718097;
  background: #edf2f7;
}

.lock-label svg {
  width: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
}

.step-icon {
  display: grid;
  width: 58px;
  height: 58px;
  margin-top: 36px;
  place-items: center;
  border-radius: 17px;
  color: var(--blue-600);
  background: #ecf4ff;
}

.step-icon svg {
  width: 29px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.telegram-icon {
  color: #168ac8;
  background: #e8f7ff;
}

.shield-icon {
  color: #5b64df;
  background: #eeefff;
}

.setup-card h3 {
  margin: 24px 0 12px;
  color: var(--navy-950);
  font-size: 24px;
  letter-spacing: -0.035em;
}

.setup-card > p {
  min-height: 79px;
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.full-width {
  width: 100%;
}

.setup-card > .button {
  min-height: 56px;
  margin-top: auto;
}

.button-secondary {
  border: 1px solid #b9cbe1;
  color: var(--navy-900);
  background: #fff;
}

.button:disabled {
  color: #98a5b8;
  background: #e7edf4;
  box-shadow: none;
  cursor: not-allowed;
}

.confirmation {
  display: flex;
  margin-top: 19px;
  padding: 13px 14px;
  align-items: center;
  gap: 10px;
  border: 1px solid #dde7f2;
  border-radius: 13px;
  color: #607087;
  background: #f8fbff;
  cursor: pointer;
  font-size: 12px;
  font-weight: 650;
  transition: border-color 180ms ease, background 180ms ease;
}

.confirmation.is-highlighted {
  border-color: rgba(20, 115, 246, 0.38);
  background: #eef6ff;
}

.confirmation input {
  position: absolute;
  opacity: 0;
}

.custom-check {
  display: grid;
  width: 21px;
  height: 21px;
  flex: 0 0 auto;
  place-items: center;
  border: 1.5px solid #b8c6d8;
  border-radius: 6px;
  background: #fff;
}

.custom-check svg {
  width: 14px;
  fill: none;
  stroke: #fff;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0;
}

.confirmation input:checked + .custom-check {
  border-color: var(--success);
  background: var(--success);
}

.confirmation input:checked + .custom-check svg {
  opacity: 1;
}

.setup-card > .config-note {
  min-height: 0;
  margin: 10px 0 -2px;
  color: #b4562b;
  font-size: 11px;
  line-height: 1.4;
}

.manual-proxy-button {
  margin-top: 10px;
}

.manual-proxy-button svg {
  width: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.proxy-manual-data {
  margin: 12px 0 0;
  padding: 13px 14px;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
  border: 1px solid #d8e5f3;
  border-radius: 12px;
  color: #53657f;
  background: #f5f9ff;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 10px;
  line-height: 1.55;
}

.manual-proxy-panel {
  margin-top: 28px;
  padding: 32px;
  overflow: hidden;
  border: 1px solid #cfe1f6;
  border-radius: 26px;
  background:
    radial-gradient(circle at 100% 0%, rgba(37, 138, 255, 0.13), transparent 23rem),
    linear-gradient(145deg, #eaf4ff, #f5f9ff);
  box-shadow: 0 18px 45px rgba(24, 83, 157, 0.1);
}

.manual-proxy-heading {
  display: flex;
  margin-bottom: 24px;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.manual-proxy-heading small,
.manual-proxy-heading strong {
  display: block;
}

.manual-proxy-heading small {
  margin-bottom: 7px;
  color: var(--blue-700);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.manual-proxy-heading strong {
  color: var(--navy-950);
  font-size: 28px;
  letter-spacing: -0.035em;
}

.manual-copy-hint {
  display: inline-flex;
  padding: 9px 12px;
  align-items: center;
  gap: 8px;
  border: 1px solid #cbdcf1;
  border-radius: 999px;
  color: #5e708a;
  background: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  font-weight: 650;
}

.manual-copy-hint svg,
.proxy-copy-icon svg {
  width: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.manual-proxy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.proxy-value-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 118px;
  padding: 23px 58px 23px 24px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  overflow: hidden;
  border: 1px solid #d5e3f2;
  border-radius: 19px;
  color: var(--navy-950);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 8px 24px rgba(31, 78, 139, 0.06);
  cursor: pointer;
  text-align: left;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.proxy-value-card:hover {
  border-color: rgba(20, 115, 246, 0.45);
  background: #fff;
  transform: translateY(-2px);
}

.proxy-value-card.is-copied {
  border-color: rgba(20, 184, 134, 0.55);
  background: #effcf8;
}

.proxy-value-label {
  margin-bottom: 11px;
  color: #71829a;
  font-size: 11px;
  font-weight: 820;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.proxy-value-text {
  max-width: 100%;
  overflow-wrap: anywhere;
  color: var(--navy-950);
  font-size: 21px;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.proxy-copy-icon {
  position: absolute;
  display: grid;
  width: 36px;
  height: 36px;
  top: 50%;
  right: 18px;
  place-items: center;
  border: 1px solid #d4e2f2;
  border-radius: 11px;
  color: var(--blue-600);
  background: #edf5ff;
  transform: translateY(-50%);
}

.proxy-value-card:hover .proxy-copy-icon,
.proxy-value-card.is-copied .proxy-copy-icon {
  color: #fff;
  background: var(--blue-600);
}

.setup-help {
  display: grid;
  max-width: none;
  min-height: 118px;
  margin: 32px auto 0;
  padding: 24px 26px;
  grid-template-columns: 54px 1fr auto;
  align-items: center;
  gap: 13px;
  border: 1px solid rgba(58, 147, 255, 0.34);
  border-radius: 22px;
  color: #fff;
  background: linear-gradient(120deg, #0e69e7, #0a4fb8);
  box-shadow: 0 18px 42px rgba(16, 92, 194, 0.2);
}

.help-icon {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border-radius: 13px;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  font-weight: 850;
}

.help-icon svg {
  width: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.setup-help strong,
.setup-help small {
  display: block;
}

.setup-help strong {
  color: #fff;
  font-size: 18px;
}

.setup-help small {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  line-height: 1.5;
}

.setup-help a {
  display: inline-flex;
  min-width: 190px;
  min-height: 58px;
  padding: 0 24px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: 13px;
  color: var(--navy-900);
  background: #fff;
  box-shadow: 0 12px 24px rgba(4, 42, 105, 0.16);
  font-size: 13px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.setup-help a:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(4, 42, 105, 0.24);
}

.benefits {
  padding-block: 110px;
}

.section-heading-left {
  margin-inline: 0;
  text-align: left;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.benefit-card {
  position: relative;
  min-height: 290px;
  padding: 27px;
  overflow: hidden;
  border: 1px solid #e0e8f2;
  border-radius: 22px;
  background: #fff;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.benefit-featured {
  border-color: transparent;
  color: #fff;
  background:
    radial-gradient(circle at 95% 0%, rgba(76, 230, 255, 0.2), transparent 12rem),
    linear-gradient(145deg, var(--blue-700), var(--navy-900));
}

.benefit-index {
  position: absolute;
  top: 28px;
  right: 28px;
  color: #a9b6c8;
  font-size: 11px;
  font-weight: 850;
}

.benefit-featured .benefit-index {
  color: rgba(255, 255, 255, 0.48);
}

.benefit-icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 15px;
  color: var(--blue-600);
  background: #edf5ff;
}

.benefit-featured .benefit-icon {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.benefit-icon svg {
  width: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.benefit-card h3 {
  margin: 62px 0 12px;
  color: var(--navy-950);
  font-size: 20px;
  letter-spacing: -0.035em;
}

.benefit-featured h3 {
  color: #fff;
}

.benefit-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.benefit-featured p {
  color: rgba(255, 255, 255, 0.68);
}

.faq-section {
  padding: 106px 0;
  border-top: 1px solid #dbe8f7;
  background:
    radial-gradient(circle at 8% 5%, rgba(40, 139, 255, 0.11), transparent 24rem),
    #edf4fc;
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 90px;
}

.faq-section .section-heading h2 {
  color: var(--navy-950);
}

.faq-section .section-heading p {
  color: var(--muted);
}

.faq-section .section-kicker {
  color: var(--blue-600);
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  padding: 0 22px;
  border: 1px solid #d8e5f3;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 8px 24px rgba(18, 62, 122, 0.05);
}

.faq-list summary {
  display: flex;
  min-height: 80px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--navy-900);
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list p {
  max-width: 620px;
  margin: -4px 0 26px;
  color: #697991;
  font-size: 14px;
  line-height: 1.7;
}

.faq-plus {
  position: relative;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  border: 1px solid #c9dbef;
  background: #edf5ff;
  border-radius: 50%;
}

.faq-plus::before,
.faq-plus::after {
  position: absolute;
  width: 10px;
  height: 1.5px;
  top: 50%;
  left: 50%;
  background: var(--blue-600);
  content: "";
  transform: translate(-50%, -50%);
}

.faq-plus::after {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: transform 180ms ease;
}

details[open] .faq-plus::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.final-cta {
  display: flex;
  min-height: 305px;
  margin-block: 92px;
  padding: 52px 58px;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  color: #fff;
  background:
    radial-gradient(circle at 90% 10%, rgba(76, 230, 255, 0.25), transparent 18rem),
    linear-gradient(125deg, var(--blue-700), var(--navy-900));
  box-shadow: 0 26px 65px rgba(9, 56, 141, 0.25);
}

.section-kicker-light {
  color: #8ceaff;
}

.final-cta h2 {
  max-width: 650px;
  margin: 12px 0 13px;
  font-size: clamp(34px, 4vw, 51px);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.final-cta p {
  max-width: 630px;
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  line-height: 1.65;
}

.button-white {
  flex: 0 0 auto;
  color: var(--navy-900);
  background: #fff;
  box-shadow: 0 12px 26px rgba(0, 18, 60, 0.17);
}

footer {
  padding: 64px 0 26px;
  border-top: 1px solid #e0e8f2;
  background: #f8fbff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.55fr;
  gap: 60px;
}

.brand-footer .brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 13px;
}

.footer-brand p {
  margin: 19px 0 0;
  color: #78869b;
  font-size: 13px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
}

.footer-links div {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links strong {
  margin-bottom: 4px;
  color: var(--navy-900);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-links a {
  color: #6d7a90;
  font-size: 13px;
  transition: color 180ms ease;
}

.footer-links a:hover {
  color: var(--blue-600);
}

.footer-bottom {
  display: flex;
  margin-top: 54px;
  padding-top: 23px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #e0e8f2;
  color: #8a96a8;
  font-size: 11px;
}

.toast {
  position: fixed;
  z-index: 100;
  max-width: min(390px, calc(100% - 32px));
  right: 24px;
  bottom: 24px;
  padding: 15px 18px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  color: #fff;
  background: rgba(4, 16, 42, 0.94);
  box-shadow: 0 16px 45px rgba(1, 9, 29, 0.3);
  font-size: 13px;
  font-weight: 680;
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Legal pages */
.legal-page {
  background: #f4f8fd;
}

.legal-header {
  margin-bottom: 24px;
}

.legal-main {
  padding: 0 0 110px;
}

.legal-hero {
  position: relative;
  max-width: none;
  min-height: 420px;
  margin-bottom: 28px;
  padding: 58px 62px;
  overflow: hidden;
  border: 1px solid rgba(111, 196, 255, 0.2);
  border-radius: var(--radius-xl);
  color: #fff;
  background:
    radial-gradient(circle at 88% 12%, rgba(76, 230, 255, 0.25), transparent 19rem),
    radial-gradient(circle at 58% 120%, rgba(35, 128, 255, 0.24), transparent 25rem),
    linear-gradient(130deg, #0c55d5 0%, #082b6e 46%, #04102a 100%);
  box-shadow: 0 28px 70px rgba(5, 34, 91, 0.22);
}

.legal-hero::after {
  position: absolute;
  width: 430px;
  height: 430px;
  top: -180px;
  right: -80px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  content: "";
  box-shadow:
    0 0 0 70px rgba(255, 255, 255, 0.025),
    0 0 0 140px rgba(255, 255, 255, 0.018);
}

.legal-hero-meta {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.legal-hero h1 {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 58px 0 22px;
  color: #fff;
  font-size: clamp(52px, 6.2vw, 78px);
  line-height: 0.94;
  letter-spacing: -0.06em;
  overflow-wrap: anywhere;
}

.legal-hero p {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 17px;
  line-height: 1.7;
}

.draft-badge {
  display: inline-flex;
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: #c9f7ff;
  background: rgba(255, 255, 255, 0.09);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-document-date {
  color: rgba(255, 255, 255, 0.63);
  font-size: 12px;
  font-weight: 650;
}

.legal-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  align-items: start;
  gap: 28px;
}

.legal-nav {
  position: sticky;
  top: 22px;
  display: flex;
  padding: 20px;
  flex-direction: column;
  gap: 9px;
  border: 1px solid #cfe0f4;
  border-radius: 18px;
  background: linear-gradient(180deg, #fff, #f2f7ff);
  box-shadow: 0 12px 34px rgba(9, 53, 124, 0.07);
}

.legal-nav strong {
  margin-bottom: 7px;
  color: var(--navy-900);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-nav a {
  padding: 8px 9px;
  border-radius: 9px;
  color: #708097;
  font-size: 12px;
  font-weight: 650;
}

.legal-nav a:hover {
  color: var(--blue-700);
  background: #eff6ff;
}

.legal-content {
  padding: 46px 52px;
  border: 1px solid #dbe6f2;
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: 0 14px 42px rgba(16, 53, 112, 0.07);
}

.legal-notice {
  margin-bottom: 35px;
  padding: 18px 20px;
  border-left: 3px solid var(--blue-600);
  border-radius: 0 13px 13px 0;
  color: #52647f;
  background: #eff6ff;
  font-size: 13px;
  line-height: 1.65;
}

.legal-content section + section {
  margin-top: 42px;
  padding-top: 36px;
  border-top: 1px solid #e3eaf3;
}

.legal-section-number {
  display: inline-block;
  margin-bottom: 9px;
  color: var(--blue-600);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.11em;
}

.legal-content h2 {
  margin: 0 0 15px;
  color: var(--navy-950);
  font-size: 23px;
  letter-spacing: -0.03em;
}

.legal-content p,
.legal-content li {
  color: #637188;
  font-size: 14px;
  line-height: 1.75;
}

.legal-content ul {
  padding-left: 20px;
}

.legal-content li + li {
  margin-top: 8px;
}

.legal-contact {
  color: var(--blue-700);
  font-weight: 760;
  text-decoration: underline;
  text-decoration-color: rgba(16, 93, 222, 0.25);
  text-underline-offset: 3px;
}

@media (max-width: 1050px) {
  .hero {
    grid-template-columns: 1fr 0.84fr;
    gap: 32px;
  }

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

  .floating-card {
    min-width: 160px;
  }

  .safe-card {
    left: 8px;
  }

  .speed-card {
    right: 7px;
  }

  .setup-card {
    padding: 23px;
  }

  .benefit-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .desktop-nav {
    display: none;
  }

  .hero {
    padding-block: 58px 72px;
    grid-template-columns: 1fr;
  }

  .hero-copy {
    text-align: center;
  }

  .hero h1,
  .hero-lead {
    margin-inline: auto;
  }

  .hero-actions,
  .hero-trust {
    justify-content: center;
  }

  .hero-visual {
    width: min(570px, 100%);
    margin-inline: auto;
  }

  .setup-grid {
    max-width: 620px;
    margin-inline: auto;
    grid-template-columns: 1fr;
  }

  .setup-card {
    min-height: auto;
  }

  .setup-card > p {
    min-height: 0;
  }

  .faq-layout,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .final-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-nav {
    position: static;
  }
}

@media (max-width: 600px) {
  .shell,
  .site-header {
    width: min(100% - 20px, 1180px);
  }

  .legal-links-header {
    gap: 6px;
    padding: 6px;
  }

  .legal-links-header .brand {
    flex: 0 0 36px;
  }

  .legal-links-header .brand-name {
    display: none;
  }

  .legal-top-nav {
    width: auto;
    flex: 1;
    gap: 6px;
  }

  .legal-top-nav a {
    min-height: 40px;
    flex: 1;
    padding-inline: 7px;
    border-radius: 11px;
    font-size: 11px;
    letter-spacing: -0.015em;
  }

  .legal-label-desktop {
    display: none;
  }

  .legal-label-mobile {
    display: inline;
  }

  .site-header {
    height: 54px;
    margin-top: 10px;
    padding-inline: 6px;
    border-radius: 15px;
  }

  .brand {
    font-size: 16px;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
    border-radius: 11px;
    box-shadow: 0 6px 15px rgba(20, 115, 246, 0.22);
  }

  .header-cta {
    min-height: 43px;
    padding-inline: 16px;
  }

  .header-cta svg {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-block: 45px 54px;
  }

  .eyebrow {
    font-size: 9px;
  }

  .hero h1 {
    margin-top: 20px;
    font-size: 45px;
  }

  .hero-lead {
    font-size: 16px;
    line-height: 1.6;
  }

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

  .hero-trust {
    display: none;
  }

  .hero-visual {
    min-height: 510px;
  }

  .phone {
    width: 270px;
    min-height: 452px;
  }

  .phone-content {
    min-height: 395px;
    padding-top: 22px;
  }

  .safe-card {
    top: 18px;
  }

  .speed-card {
    bottom: 20px;
  }

  .floating-card {
    min-width: 150px;
    padding: 11px;
  }

  .setup-section,
  .benefits,
  .faq-section {
    padding-block: 78px;
  }

  .section-heading {
    margin-bottom: 35px;
  }

  .section-heading h2 {
    font-size: 37px;
  }

  .setup-help {
    padding: 20px;
    grid-template-columns: 50px 1fr;
  }

  .manual-proxy-panel {
    padding: 24px 18px;
    border-radius: 22px;
  }

  .manual-proxy-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .manual-proxy-heading strong {
    font-size: 24px;
  }

  .manual-proxy-grid {
    grid-template-columns: 1fr;
  }

  .proxy-value-card {
    min-height: 104px;
  }

  .setup-help a {
    grid-column: 1 / -1;
    justify-content: center;
    padding: 12px;
  }

  .benefit-grid {
    grid-template-columns: 1fr;
  }

  .faq-layout {
    gap: 20px;
  }

  .final-cta {
    min-height: 0;
    margin-block: 60px;
    padding: 38px 27px;
    border-radius: 24px;
  }

  .final-cta h2 {
    font-size: 37px;
  }

  .button-white {
    width: 100%;
  }

  .footer-links {
    grid-template-columns: 1fr 1fr;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .legal-main {
    padding-top: 0;
  }

  .legal-hero {
    min-height: 390px;
    padding: 36px 26px;
    border-radius: 24px;
  }

  .legal-hero-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .legal-hero h1 {
    margin-top: 50px;
    font-size: clamp(28px, 7.7vw, 30px);
    line-height: 0.98;
  }

  .legal-hero p {
    font-size: 15px;
  }

  .legal-content {
    padding: 30px 22px;
  }
}

/* Numberless step layout */
.mini-step {
  grid-template-columns: 1fr;
}

.mini-step.is-active {
  grid-template-columns: 1fr auto;
}

.mini-line {
  margin-left: 0;
}

.step-meta {
  justify-content: flex-start;
}

.legal-section-number,
.step-number {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
