/* HAM VPN homepage — signal/graphite direction, scoped to the public landing only. */
.hamVpn:has(#hero) {
  --ham-canvas: #0a0b0c;
  --ham-panel: #111315;
  --ham-panel-raised: #171a1c;
  --ham-ink: #f4f6ef;
  --ham-copy: #b5bab2;
  --ham-muted: #777d76;
  --ham-line: rgba(244, 246, 239, 0.13);
  --ham-line-strong: rgba(244, 246, 239, 0.25);
  --ham-signal: #c8ff3d;
  --ham-signal-ink: #111500;
  --ham-radius-sm: 8px;
  --ham-radius-md: 16px;
  --ham-radius-lg: 28px;
  --ham-ease: cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  isolation: isolate;
  overflow: clip;
  background: var(--ham-canvas);
  color: var(--ham-ink);
  color-scheme: dark;
  font-family: "Manrope", sans-serif !important;
  -webkit-font-smoothing: antialiased;
}

.hamVpn:has(#hero),
.hamVpn:has(#hero) button,
.hamVpn:has(#hero) input,
.hamVpn:has(#hero) select,
.hamVpn:has(#hero) textarea {
  font-family: "Manrope", sans-serif !important;
}

.hamVpn:has(#hero) h1,
.hamVpn:has(#hero) h2,
.hamVpn:has(#hero) .ham-benefit-card h3 {
  font-family: "Unbounded", sans-serif !important;
}

.hamVpn:has(#hero)::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  opacity: 0.2;
  background-image:
    linear-gradient(var(--ham-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--ham-line) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: linear-gradient(to bottom, #000 0, transparent 38%);
  mask-image: linear-gradient(to bottom, #000 0, transparent 38%);
}

.hamVpn:has(#hero)::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 112px;
  left: 0;
  width: 34%;
  height: 1px;
  pointer-events: none;
  background: var(--ham-signal);
  transform-origin: left;
  animation: hamSignalIn 900ms var(--ham-ease) both;
}

.hamVpn:has(#hero) .container {
  width: min(1180px, calc(100% - 48px));
}

.ham-skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 12px 16px;
  border-radius: var(--ham-radius-sm);
  background: var(--ham-signal);
  color: var(--ham-signal-ink);
  font-weight: 800;
  transform: translateY(-160%);
}

.ham-skip-link:focus {
  transform: translateY(0);
}

.hamVpn:has(#hero) :focus-visible {
  outline: 2px solid var(--ham-signal);
  outline-offset: 3px;
}

/* Navigation */
.hamVpn:has(#hero) .ham-nav {
  top: 16px;
  left: 50%;
  width: min(1180px, calc(100% - 48px));
  height: 64px;
  border: 1px solid var(--ham-line);
  border-radius: var(--ham-radius-md);
  background: rgba(10, 11, 12, 0.88);
  box-shadow: none;
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
}

.hamVpn:has(#hero) .ham-nav__inner {
  padding: 0 10px 0 18px;
}

.hamVpn:has(#hero) .ham-logo {
  gap: 11px;
}

.hamVpn:has(#hero) .ham-logo img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  box-shadow: none;
  filter: grayscale(1) contrast(1.25);
}

.hamVpn:has(#hero) .ham-logo span {
  font-family: "Unbounded", sans-serif !important;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.hamVpn:has(#hero) .ham-nav__links {
  gap: 2px;
}

.hamVpn:has(#hero) .ham-nav__links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  border-radius: var(--ham-radius-sm);
  color: var(--ham-copy);
  font-size: 13px;
  font-weight: 650;
  transition: color 160ms ease-out, background-color 160ms ease-out;
}

.hamVpn:has(#hero) .ham-nav__links a:hover {
  background: var(--ham-panel-raised);
  color: var(--ham-ink);
}

.hamVpn:has(#hero) .ham-nav-cta {
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--ham-signal);
  border-radius: var(--ham-radius-sm);
  background: var(--ham-signal);
  color: var(--ham-signal-ink);
  box-shadow: none;
  font-weight: 800;
  transition: transform 140ms var(--ham-ease), background-color 140ms ease-out;
}

.hamVpn:has(#hero) .ham-nav-cta:hover {
  background: #dcff83;
  box-shadow: none;
  filter: none;
  transform: translateY(-2px);
}

.hamVpn:has(#hero) .ham-nav-cta:active {
  transform: scale(0.97);
}

/* Hero */
.hamVpn:has(#hero) .ham-hero {
  min-height: 720px;
  padding: 150px 0 78px;
  overflow: visible;
}

.hamVpn:has(#hero) .ham-hero::before,
.hamVpn:has(#hero) .ham-hero::after,
.hamVpn:has(#hero) .ham-particles,
.hamVpn:has(#hero) .ham-mascot__halo {
  display: none;
  content: none;
}

.hamVpn:has(#hero) .ham-hero__shell {
  gap: 0;
}

.hamVpn:has(#hero) .ham-hero__top {
  grid-template-columns: minmax(0, 1.13fr) minmax(340px, 0.87fr);
  gap: clamp(48px, 7vw, 104px);
}

.hamVpn:has(#hero) .ham-hero__copy {
  max-width: 720px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  column-gap: 24px;
}

.hamVpn:has(#hero) .ham-kicker {
  grid-column: 1 / -1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
  color: var(--ham-copy);
  font-family: "Manrope", sans-serif !important;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.hamVpn:has(#hero) .ham-kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ham-signal);
  box-shadow: 0 0 0 5px rgba(200, 255, 61, 0.12);
}

.hamVpn:has(#hero) .ham-hero h1 {
  grid-column: 1 / -1;
  width: min(760px, 100%);
  margin: 0 0 28px;
  color: var(--ham-ink);
  font-size: clamp(3.2rem, 5vw, 4.6rem);
  font-weight: 660;
  line-height: 0.95;
  letter-spacing: -0.065em;
  text-shadow: none;
  text-wrap: balance;
}

.hamVpn:has(#hero) .ham-hero p {
  grid-column: 1 / -1;
  width: min(590px, 100%);
  margin: 0 0 24px;
  color: var(--ham-copy);
  font-size: 0;
  line-height: 1.55;
  text-wrap: pretty;
}

.hamVpn:has(#hero) .ham-hero p::before {
  content: "Подключение за минуту.";
  display: inline;
  color: var(--ham-ink);
  font-size: clamp(1rem, 1.55vw, 1.2rem);
  font-weight: 750;
}

.hamVpn:has(#hero) .ham-hero p::after {
  content: " Минимум настроек — максимум стабильности.";
  display: inline;
  margin: 0;
  color: var(--ham-copy);
  font-size: clamp(1rem, 1.55vw, 1.2rem);
  font-weight: 500;
}

.hamVpn:has(#hero) .ham-price-pill {
  grid-column: 1;
  grid-row: 4;
  width: fit-content;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--ham-copy);
  cursor: pointer;
  transition: color 160ms ease-out;
}

.hamVpn:has(#hero) .ham-price-pill::after {
  content: "\f061";
  color: var(--ham-signal);
  font-family: "Font Awesome 6 Free";
  font-size: 14px;
  font-weight: 900;
  transition: transform 180ms var(--ham-ease);
}

.hamVpn:has(#hero) .ham-price-pill:hover {
  border-color: transparent;
  background: transparent;
  color: var(--ham-ink);
  transform: none;
}

.hamVpn:has(#hero) .ham-price-pill:hover::after {
  transform: translateX(5px);
}

.hamVpn:has(#hero) .ham-price-pill > span {
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.02em;
}

.hamVpn:has(#hero) .ham-price-pill strong {
  color: var(--ham-ink);
  font-family: "Unbounded", sans-serif !important;
  font-size: 20px;
  font-weight: 620;
  font-variant-numeric: tabular-nums;
}

.hamVpn:has(#hero) .ham-hero__benefits {
  grid-column: 1 / -1;
  grid-row: 5;
  display: flex;
  gap: 6px 18px;
  margin: 24px 0 0;
}

.hamVpn:has(#hero) .ham-hero__benefits span {
  min-height: 28px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ham-muted);
  backdrop-filter: none;
  font-size: 12px;
  font-weight: 650;
}

.hamVpn:has(#hero) .ham-hero__benefits i {
  width: 16px;
  color: var(--ham-signal);
}

.hamVpn:has(#hero) .ham-actions {
  grid-column: 2;
  grid-row: 4;
  width: min(100%, 438px);
  gap: 10px;
  flex-wrap: nowrap;
}

.hamVpn:has(#hero) .ham-actions .ham-primary-btn,
.hamVpn:has(#hero) .ham-actions .ham-secondary-btn {
  min-height: 52px;
  flex: 1 1 0;
  padding: 0 20px;
  border-radius: var(--ham-radius-sm);
  font-size: 14px;
  font-weight: 800;
  text-indent: 0;
  transition: transform 140ms var(--ham-ease), background-color 140ms ease-out, color 140ms ease-out;
}

.hamVpn:has(#hero) .ham-actions .ham-primary-btn {
  border: 1px solid var(--ham-signal);
  background: var(--ham-signal);
  color: var(--ham-signal-ink);
  box-shadow: none;
}

.hamVpn:has(#hero) .ham-actions .ham-primary-btn::before,
.hamVpn:has(#hero) .ham-actions .ham-primary-btn::after,
.hamVpn:has(#hero) .ham-actions .ham-secondary-btn::after {
  display: none;
  content: none;
}

.hamVpn:has(#hero) .ham-actions .ham-primary-btn svg {
  position: static;
  width: 8px;
  transition: transform 180ms var(--ham-ease);
}

.hamVpn:has(#hero) .ham-actions .ham-primary-btn svg path {
  stroke: currentColor;
}

.hamVpn:has(#hero) .ham-actions .ham-primary-btn:hover {
  border-radius: var(--ham-radius-sm);
  background: #dcff83;
  color: var(--ham-signal-ink);
  box-shadow: none;
  filter: none;
  text-indent: 0;
  transform: translateY(-2px);
}

.hamVpn:has(#hero) .ham-actions .ham-primary-btn:hover svg {
  position: static;
  transform: translateX(4px);
}

.hamVpn:has(#hero) .ham-actions .ham-secondary-btn {
  border: 1px solid var(--ham-line-strong);
  background: var(--ham-panel);
  color: var(--ham-ink);
}

.hamVpn:has(#hero) .ham-actions .ham-secondary-btn:hover {
  border-color: var(--ham-ink);
  background: var(--ham-panel-raised);
  transform: translateY(-2px);
}

.hamVpn:has(#hero) .ham-actions :is(.ham-primary-btn, .ham-secondary-btn):active {
  transform: scale(0.97);
}

.hamVpn:has(#hero) .ham-account-link {
  display: none;
}

.hamVpn:has(#hero) .ham-mascot {
  position: relative;
  width: min(440px, 100%);
  min-height: auto;
  aspect-ratio: 0.9;
  justify-self: end;
  overflow: hidden;
  border: 1px solid var(--ham-line);
  border-radius: var(--ham-radius-lg);
  background: var(--ham-panel);
  animation: none;
  transform: none;
}

.hamVpn:has(#hero) .ham-mascot::before {
  content: "HAM / SECURE NODE";
  position: absolute;
  z-index: 3;
  top: 18px;
  left: 18px;
  width: auto;
  height: auto;
  padding: 8px 10px;
  border: 1px solid var(--ham-line);
  border-radius: var(--ham-radius-sm);
  background: rgba(10, 11, 12, 0.78);
  color: var(--ham-copy);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  animation: none;
}

.hamVpn:has(#hero) .ham-mascot::after {
  content: "● ONLINE";
  position: absolute;
  z-index: 3;
  right: 18px;
  bottom: 18px;
  inset: auto 18px 18px auto;
  padding: 8px 10px;
  border: 0;
  border-radius: var(--ham-radius-sm);
  background: var(--ham-signal);
  color: var(--ham-signal-ink);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.hamVpn:has(#hero) .ham-mascot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
  box-shadow: none;
  filter: grayscale(1) contrast(1.18) brightness(0.82);
  mask-image: none;
  transition: filter 260ms ease-out, transform 500ms var(--ham-ease);
}

.hamVpn:has(#hero) .ham-mascot:hover img {
  filter: grayscale(0.72) contrast(1.15) brightness(0.88);
  transform: scale(1.018);
}

/* Shared section rhythm */
.hamVpn:has(#hero) .ham-pricing,
.hamVpn:has(#hero) .ham-benefits,
.hamVpn:has(#hero) .ham-connect {
  position: relative;
  padding: 112px 0;
  background: transparent;
}

.hamVpn:has(#hero) .ham-pricing {
  border-top: 1px solid var(--ham-line);
}

.hamVpn:has(#hero) .ham-section-heading {
  max-width: 780px;
  margin: 0 0 52px;
  text-align: left;
}

.hamVpn:has(#hero) .ham-section-heading > span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--ham-signal);
  font-family: "Manrope", sans-serif !important;
  font-size: 11px;
  letter-spacing: 0.16em;
}

.hamVpn:has(#hero) .ham-section-heading h2,
.hamVpn:has(#hero) .ham-benefits::before {
  margin: 0 0 18px;
  color: var(--ham-ink);
  font-family: "Unbounded", sans-serif !important;
  font-size: clamp(2.25rem, 5vw, 4.7rem);
  font-weight: 630;
  line-height: 1;
  letter-spacing: -0.055em;
  text-align: left;
  text-wrap: balance;
}

.hamVpn:has(#hero) .ham-section-heading p {
  max-width: 590px;
  color: var(--ham-copy);
  font-size: 16px;
  line-height: 1.6;
  text-wrap: pretty;
}

/* Pricing as an editorial list, not a repeated card grid. */
.hamVpn:has(#hero) .ham-pricing .ham-plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  max-width: none;
  margin: 0;
  border-top: 1px solid var(--ham-line);
}

.hamVpn:has(#hero) .ham-pricing .ham-plan,
.hamVpn:has(#hero) .ham-pricing .ham-plan:hover {
  position: relative;
  min-height: 154px;
  display: grid;
  grid-template-columns: minmax(112px, 0.72fr) 1fr;
  align-items: center;
  gap: 16px;
  padding: 26px 26px 26px 0;
  overflow: visible;
  border: 0;
  border-bottom: 1px solid var(--ham-line);
  border-radius: 0;
  background: transparent;
  clip-path: none;
  box-shadow: none;
  text-align: left;
  transform: none;
  transition: background-color 180ms ease-out, padding-left 180ms var(--ham-ease);
}

.hamVpn:has(#hero) .ham-pricing .ham-plan:nth-child(odd) {
  border-right: 1px solid var(--ham-line);
  padding-right: 34px;
}

.hamVpn:has(#hero) .ham-pricing .ham-plan:nth-child(even) {
  padding-left: 34px;
}

.hamVpn:has(#hero) .ham-pricing .ham-plan:hover {
  background: rgba(244, 246, 239, 0.025);
}

.hamVpn:has(#hero) .ham-pricing .ham-plan:nth-child(odd):hover {
  padding-left: 10px;
}

.hamVpn:has(#hero) .ham-pricing .ham-plan:nth-child(even):hover {
  padding-left: 44px;
}

.hamVpn:has(#hero) .ham-pricing .ham-plan--featured {
  background: var(--ham-signal);
  color: var(--ham-signal-ink);
}

.hamVpn:has(#hero) .ham-pricing .ham-plan--featured:hover {
  background: #d6ff70;
}

.hamVpn:has(#hero) .ham-pricing .ham-plan__title {
  max-width: none;
  color: currentColor;
  font-size: 15px;
  font-weight: 750;
}

.hamVpn:has(#hero) .ham-pricing .ham-plan__price {
  display: flex;
  align-items: baseline;
  margin: 0;
}

.hamVpn:has(#hero) .ham-pricing .ham-plan__price div {
  gap: 7px;
}

.hamVpn:has(#hero) .ham-pricing .ham-plan__price strong {
  color: currentColor;
  font-family: "Unbounded", sans-serif !important;
  font-size: clamp(2rem, 3.3vw, 3.05rem);
  font-weight: 620;
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
}

.hamVpn:has(#hero) .ham-pricing .ham-plan__price span {
  color: currentColor;
  font-size: 17px;
}

.hamVpn:has(#hero) .ham-pricing .ham-plan__button {
  position: absolute;
  right: 24px;
  bottom: 18px;
  width: auto;
  min-height: 32px;
  gap: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  color: currentColor;
  font-size: 12px;
  font-weight: 800;
}

.hamVpn:has(#hero) .ham-pricing .ham-plan__button::after {
  content: "\f061";
  font-family: "Font Awesome 6 Free";
  font-size: 11px;
  font-weight: 900;
}

.hamVpn:has(#hero) .ham-pricing .ham-plan:hover .ham-plan__button::after {
  transform: translateX(4px);
}

.hamVpn:has(#hero) .ham-pricing .ham-plan__badge {
  top: 18px;
  right: 24px;
  height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ham-signal-ink);
  font-size: 9px;
  letter-spacing: 0.08em;
  transform: none;
}

/* Trust metrics become one quiet data band. */
.hamVpn:has(#hero) .ham-benefits {
  padding: 104px 0;
  border-bottom: 1px solid var(--ham-line);
  text-align: left;
}

.hamVpn:has(#hero) .ham-benefits::before {
  content: "Нам доверяют";
  display: block;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto 52px;
}

.hamVpn:has(#hero) .ham-benefits .ham-benefits__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 0;
  border: 0;
  border-top: 1px solid var(--ham-line);
  border-bottom: 1px solid var(--ham-line);
}

.hamVpn:has(#hero) .ham-benefits__grid .ham-benefit-card {
  min-height: 196px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  padding: 30px;
  border: 0;
  border-right: 1px solid var(--ham-line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  text-align: left;
}

.hamVpn:has(#hero) .ham-benefits__grid .ham-benefit-card:last-child {
  border-right: 0;
}

.hamVpn:has(#hero) .ham-benefits__grid .ham-benefit-card::before {
  content: "\f3ed" !important;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--ham-line);
  border-radius: 50%;
  color: var(--ham-signal);
  font-family: "Font Awesome 6 Free";
  font-size: 12px;
  font-weight: 900;
}

.hamVpn:has(#hero) .ham-benefits__grid .ham-benefit-card:nth-child(2)::before {
  content: "\f0c0" !important;
}

.hamVpn:has(#hero) .ham-benefits__grid .ham-benefit-card:nth-child(3)::before {
  content: "\f57d" !important;
}

.hamVpn:has(#hero) .ham-benefit-card .ham-card-icon {
  display: none;
}

.hamVpn:has(#hero) .ham-benefits__grid .ham-benefit-card h3 {
  margin: 28px 0 8px;
  color: var(--ham-ink);
  background: none;
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 630;
  line-height: 1;
  letter-spacing: -0.055em;
  text-align: left;
  -webkit-text-fill-color: currentColor;
  font-variant-numeric: tabular-nums;
}

.hamVpn:has(#hero) .ham-benefits__grid .ham-benefit-card p {
  max-width: 24ch;
  margin: 0;
  color: var(--ham-muted);
  font-size: 13px;
  line-height: 1.5;
  text-align: left;
}

/* Three-step route */
.hamVpn:has(#hero) .ham-connect {
  padding: 112px 0 128px;
}

.hamVpn:has(#hero) .ham-connect .ham-steps {
  position: relative;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  max-width: none;
  margin: 64px 0 0;
}

.hamVpn:has(#hero) .ham-connect .ham-steps::before {
  content: "";
  position: absolute;
  top: 23px;
  right: 16.66%;
  left: 16.66%;
  height: 1px;
  background: var(--ham-line-strong);
}

.hamVpn:has(#hero) .ham-connect .ham-step,
.hamVpn:has(#hero) .ham-connect .ham-step:hover {
  position: relative;
  min-height: 150px;
  padding: 0 32px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  text-align: center;
  transform: none;
}

.hamVpn:has(#hero) .ham-connect .ham-step strong {
  position: relative;
  z-index: 1;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin: 0 auto 26px;
  border: 1px solid var(--ham-line-strong);
  border-radius: 50%;
  background: var(--ham-canvas);
  color: var(--ham-signal);
  font-family: "Unbounded", sans-serif !important;
  font-size: 10px;
  font-weight: 600;
}

.hamVpn:has(#hero) .ham-connect .ham-step p {
  max-width: 250px;
  margin: 0 auto;
  color: var(--ham-copy);
  font-size: 15px;
  line-height: 1.55;
}

/* Footer */
.hamVpn:has(#hero) .ham-footer {
  padding: 34px 0;
  border-top: 1px solid var(--ham-line);
  background: var(--ham-panel);
}

.hamVpn:has(#hero) .ham-footer-brand img {
  border-radius: 10px;
  filter: grayscale(1) contrast(1.25);
}

.hamVpn:has(#hero) .ham-footer-links {
  gap: 6px 20px;
}

.hamVpn:has(#hero) .ham-footer-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--ham-muted);
  font-size: 12px;
  text-decoration: none;
}

.hamVpn:has(#hero) .ham-footer-links a:hover {
  color: var(--ham-ink);
}

/* Purposeful reveal: shows reading order and runs once. */
.ham-motion-ready [data-ham-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 540ms var(--ham-ease),
    transform 540ms var(--ham-ease);
}

.ham-motion-ready [data-ham-reveal].is-ham-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes hamSignalIn {
  from { opacity: 0; transform: scaleX(0); }
  to { opacity: 1; transform: scaleX(1); }
}

@media (max-width: 980px) {
  .hamVpn:has(#hero) .container,
  .hamVpn:has(#hero) .ham-benefits::before,
  .hamVpn:has(#hero) .ham-benefits .ham-benefits__grid {
    width: min(100% - 32px, 720px);
  }

  .hamVpn:has(#hero) .ham-nav {
    top: 10px;
    width: calc(100% - 24px);
  }

  .hamVpn:has(#hero) .ham-hero {
    min-height: auto;
    padding: 144px 0 84px;
  }

  .hamVpn:has(#hero) .ham-hero__top {
    grid-template-columns: 1fr;
    gap: 56px;
    text-align: left;
  }

  .hamVpn:has(#hero) .ham-hero__copy {
    max-width: 700px;
    display: block;
    margin: 0;
  }

  .hamVpn:has(#hero) .ham-hero :is(h1, p, .ham-price-pill) {
    margin-left: 0;
    margin-right: 0;
  }

  .hamVpn:has(#hero) .ham-actions,
  .hamVpn:has(#hero) .ham-hero__benefits {
    justify-content: flex-start;
  }

  .hamVpn:has(#hero) .ham-price-pill {
    margin-bottom: 18px;
  }

  .hamVpn:has(#hero) .ham-hero__benefits {
    margin: 0 0 28px;
  }

  .hamVpn:has(#hero) .ham-mascot {
    width: min(100%, 580px);
    justify-self: start;
    aspect-ratio: 1.35;
  }

  .hamVpn:has(#hero) .ham-pricing .ham-plans {
    grid-template-columns: 1fr;
  }

  .hamVpn:has(#hero) .ham-pricing .ham-plan:nth-child(n) {
    padding-right: 24px;
    padding-left: 0;
    border-right: 0;
  }

  .hamVpn:has(#hero) .ham-pricing .ham-plan:nth-child(n):hover {
    padding-left: 10px;
  }
}

@media (max-width: 700px) {
  .hamVpn:has(#hero) .container,
  .hamVpn:has(#hero) .ham-benefits::before,
  .hamVpn:has(#hero) .ham-benefits .ham-benefits__grid {
    width: min(100% - 28px, 620px);
  }

  .hamVpn:has(#hero) .ham-hero {
    padding: 126px 0 72px;
  }

  .hamVpn:has(#hero) .ham-hero h1 {
    font-size: clamp(2.55rem, 11.25vw, 3rem);
  }

  .hamVpn:has(#hero) .ham-hero__benefits {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .hamVpn:has(#hero) .ham-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .hamVpn:has(#hero) .ham-actions .ham-primary-btn,
  .hamVpn:has(#hero) .ham-actions .ham-secondary-btn {
    width: 100%;
  }

  .hamVpn:has(#hero) .ham-mascot {
    aspect-ratio: 1;
    border-radius: 20px;
  }

  .hamVpn:has(#hero) .ham-pricing,
  .hamVpn:has(#hero) .ham-benefits,
  .hamVpn:has(#hero) .ham-connect {
    padding: 82px 0;
  }

  .hamVpn:has(#hero) .ham-section-heading {
    margin-bottom: 38px;
  }

  .hamVpn:has(#hero) .ham-section-heading h2,
  .hamVpn:has(#hero) .ham-benefits::before {
    font-size: clamp(2rem, 11vw, 3.3rem);
  }

  .hamVpn:has(#hero) .ham-pricing .ham-plan,
  .hamVpn:has(#hero) .ham-pricing .ham-plan:hover {
    min-height: 144px;
    grid-template-columns: 0.8fr 1fr;
    padding: 22px 4px 22px 0;
  }

  .hamVpn:has(#hero) .ham-pricing .ham-plan__button {
    right: 4px;
    bottom: 14px;
  }

  .hamVpn:has(#hero) .ham-pricing .ham-plan__badge {
    right: 4px;
  }

  .hamVpn:has(#hero) .ham-benefits .ham-benefits__grid {
    grid-template-columns: 1fr;
  }

  .hamVpn:has(#hero) .ham-benefits__grid .ham-benefit-card {
    min-height: 178px;
    padding: 26px 8px;
    border-right: 0;
    border-bottom: 1px solid var(--ham-line);
  }

  .hamVpn:has(#hero) .ham-benefits__grid .ham-benefit-card:last-child {
    border-bottom: 0;
  }

  .hamVpn:has(#hero) .ham-connect .ham-steps {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 46px;
  }

  .hamVpn:has(#hero) .ham-connect .ham-steps::before {
    top: 23px;
    bottom: 23px;
    left: 23px;
    width: 1px;
    height: auto;
  }

  .hamVpn:has(#hero) .ham-connect .ham-step,
  .hamVpn:has(#hero) .ham-connect .ham-step:hover {
    min-height: 72px;
    display: grid;
    grid-template-columns: 46px 1fr;
    align-items: center;
    gap: 18px;
    padding: 0;
    text-align: left;
  }

  .hamVpn:has(#hero) .ham-connect .ham-step strong,
  .hamVpn:has(#hero) .ham-connect .ham-step p {
    margin: 0;
    text-align: left;
  }

  .hamVpn:has(#hero) .ham-footer__inner {
    align-items: flex-start;
  }
}

/* 2026-07-29 cleanup: remove auxiliary hero labels and purple active-nav fill. */
.hamVpn:has(#hero) .ham-nav__links a.active {
  background: transparent;
  box-shadow: none;
  color: var(--ham-ink);
}

.hamVpn:has(#hero) .ham-login-btn:hover {
  border-color: var(--ham-line-strong);
  background: var(--ham-panel-raised);
  box-shadow: none;
  color: var(--ham-ink);
  transform: translateY(-2px);
}

.hamVpn:has(#hero) .ham-login-btn:active {
  transform: scale(0.97);
}

.hamVpn:has(#hero) .ham-kicker,
.hamVpn:has(#hero) .ham-mascot::before,
.hamVpn:has(#hero) .ham-mascot::after {
  display: none !important;
  content: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .hamVpn:has(#hero)::after {
    animation: none;
  }

  .ham-motion-ready [data-ham-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hamVpn:has(#hero) *,
  .hamVpn:has(#hero) *::before,
  .hamVpn:has(#hero) *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* 2026-07-29 refinement: full-width navigation, real FA icons and signal-field layout. */
.hamVpn:has(#hero)::before {
  opacity: 1;
  background-image:
    radial-gradient(ellipse at 76% 13%, rgba(200, 255, 61, 0.055), transparent 28%),
    repeating-radial-gradient(
      ellipse at 76% 13%,
      transparent 0 82px,
      rgba(244, 246, 239, 0.036) 83px 84px,
      transparent 85px 154px
    );
  background-size: auto;
  -webkit-mask-image: linear-gradient(to bottom, #000 0, rgba(0, 0, 0, 0.88) 34%, transparent 58%);
  mask-image: linear-gradient(to bottom, #000 0, rgba(0, 0, 0, 0.88) 34%, transparent 58%);
}

.hamVpn:has(#hero)::after {
  display: none;
  content: none;
  animation: none;
}

.hamVpn:has(#hero) .ham-nav {
  top: 0;
  left: 0;
  width: 100%;
  height: 72px;
  border: 0;
  border-bottom: 1px solid var(--ham-line);
  border-radius: 0;
  background: rgba(10, 11, 12, 0.94);
  box-shadow: none;
  transform: none;
}

.hamVpn:has(#hero) .ham-nav .container {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.hamVpn:has(#hero) .ham-nav__inner {
  padding: 0;
}

.hamVpn:has(#hero) .ham-hero {
  padding-top: 168px;
}

.hamVpn:has(#hero) .ham-hero h1 {
  font-size: clamp(3.1rem, 4.7vw, 4.25rem);
}

.hamVpn:has(#hero) :is(
  .ham-hero__benefits i.fa-solid,
  .ham-metric-icon.fa-solid,
  .ham-plan-arrow.fa-solid
) {
  font-family: "Font Awesome 6 Free" !important;
  font-style: normal;
  font-weight: 900 !important;
}

.hamVpn:has(#hero) .ham-hero__benefits i.fa-solid {
  width: 18px;
  display: inline-flex;
  justify-content: center;
  color: var(--ham-signal);
  font-size: 13px;
}

.hamVpn:has(#hero) .ham-hero__benefits i.fa-solid::before {
  font-size: 13px;
}

.hamVpn:has(#hero) .ham-benefits__grid .ham-benefit-card::before {
  display: none;
  content: none !important;
}

.hamVpn:has(#hero) .ham-metric-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--ham-line);
  border-radius: 50%;
  color: var(--ham-signal);
  font-size: 13px;
}

.hamVpn:has(#hero) .ham-pricing .ham-section-heading h2 {
  font-size: clamp(2.75rem, 4vw, 4rem);
}

.hamVpn:has(#hero) .ham-pricing .ham-plans {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  max-width: none;
  border: 0;
}

.hamVpn:has(#hero) .ham-pricing .ham-plan:nth-child(n),
.hamVpn:has(#hero) .ham-pricing .ham-plan:nth-child(n):hover {
  min-height: 184px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 24px;
  overflow: hidden;
  border: 1px solid var(--ham-line);
  border-radius: var(--ham-radius-md);
  background: var(--ham-panel);
  box-shadow: none;
  color: var(--ham-ink);
  transform: none;
  transition:
    transform 180ms var(--ham-ease),
    border-color 180ms ease-out,
    background-color 180ms ease-out;
}

.hamVpn:has(#hero) .ham-pricing .ham-plan:nth-child(n):hover {
  border-color: var(--ham-line-strong);
  background: var(--ham-panel-raised);
  transform: translateY(-4px);
}

.hamVpn:has(#hero) .ham-pricing .ham-plan--featured:nth-child(n) {
  grid-column: span 2;
  border-color: var(--ham-signal);
  background: var(--ham-signal);
  color: var(--ham-signal-ink);
}

.hamVpn:has(#hero) .ham-pricing .ham-plan--featured:nth-child(n):hover {
  border-color: #dcff83;
  background: #d6ff70;
}

.hamVpn:has(#hero) .ham-pricing .ham-plan__title {
  max-width: none;
  color: currentColor;
  font-size: 14px;
  font-weight: 800;
}

.hamVpn:has(#hero) .ham-pricing .ham-plan__price {
  flex: 1;
  display: flex;
  align-items: center;
  margin: 18px 0;
}

.hamVpn:has(#hero) .ham-pricing .ham-plan__price strong {
  color: currentColor;
  font-size: clamp(2.2rem, 3vw, 3.15rem);
}

.hamVpn:has(#hero) .ham-pricing .ham-plan__price span {
  color: currentColor;
}

.hamVpn:has(#hero) .ham-pricing .ham-plan__button {
  position: static;
  width: 100%;
  min-height: 44px;
  display: flex;
  justify-content: space-between;
  padding: 0;
  border: 0;
  border-top: 1px solid currentColor;
  border-radius: 0;
  background: transparent;
  color: currentColor;
}

.hamVpn:has(#hero) .ham-pricing .ham-plan__button::after {
  display: none;
  content: none;
}

.hamVpn:has(#hero) .ham-plan-arrow {
  font-size: 11px;
  transition: transform 180ms var(--ham-ease);
}

.hamVpn:has(#hero) .ham-pricing .ham-plan:hover .ham-plan-arrow {
  transform: translateX(4px);
}

.hamVpn:has(#hero) .ham-pricing .ham-plan__badge {
  top: 22px;
  right: 24px;
  color: currentColor;
}

@media (max-width: 1100px) {
  .hamVpn:has(#hero) .ham-pricing .ham-plans {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .hamVpn:has(#hero) .ham-nav {
    top: 0;
    width: 100%;
    border-radius: 0;
  }

  .hamVpn:has(#hero) .ham-nav .container {
    width: calc(100% - 28px);
  }

  .hamVpn:has(#hero) .ham-hero {
    padding-top: 148px;
  }
}

@media (max-width: 700px) {
  .hamVpn:has(#hero) .ham-pricing .ham-plans {
    grid-template-columns: 1fr;
  }

  .hamVpn:has(#hero) .ham-pricing .ham-plan--featured:nth-child(n) {
    grid-column: span 1;
  }

  .hamVpn:has(#hero) .ham-pricing .ham-plan:nth-child(n),
  .hamVpn:has(#hero) .ham-pricing .ham-plan:nth-child(n):hover {
    min-height: 164px;
    padding: 22px;
  }
}
