/* Dedicated styling for the KeenVPN vs [Competitor] comparison pages.
   These pages previously referenced classes (.transfer-hero, .legal-copy)
   whose stylesheets (transfer.css, legal.css) were never linked in their
   <head>, so the hero and prose sections rendered with browser defaults —
   small unstyled heading, left-aligned text, a CTA button flush to the
   edge, and full-width unreadable paragraphs. This file gives the
   comparison pages their own proper, purpose-built styling instead of
   silently depending on another page's CSS. */

.vs-hero {
  background: var(--cream);
  text-align: center;
  padding: 96px 32px 96px;
}

.vs-hero-inner {
  max-width: 860px;
  margin: 0 auto;
}

.vs-hero h1 {
  font-size: 64px;
  line-height: 76px;
  letter-spacing: -1.28px;
  font-weight: 700;
  margin-top: 20px;
}

.vs-hero-inner > p {
  max-width: 680px;
  margin: 20px auto 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 30px;
}

.vs-hero .actions {
  justify-content: center;
  margin-top: 40px;
}

/* Head-to-head logo strip: the visual "VS" moment under the hero copy. */
.vs-head2head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  max-width: 640px;
  margin: 64px auto 0;
}

.vs-head2head-side {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 112px;
  border: 1px solid var(--border);
  background: #fff;
}

.vs-head2head-side img {
  max-width: 68%;
  max-height: 52px;
  object-fit: contain;
}

.vs-head2head-badge {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* Narrative + "what stays the same" story section, replacing the bare,
   unstyled .legal-content/.legal-copy block. */
.vs-story {
  background: #f5f0e1;
  padding: 96px 32px;
}

.vs-story-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 64px;
  align-items: start;
  max-width: 1216px;
  margin: 0 auto;
}

.vs-story-main h2 {
  font-size: 30px;
  line-height: 38px;
  letter-spacing: -0.3px;
  font-weight: 600;
}

.vs-story-main p {
  font-size: 18px;
  line-height: 28px;
  color: #414651;
  margin-top: 20px;
}

.vs-story-main a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.vs-story-footnote {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  color: var(--muted) !important;
  font-size: 16px !important;
  line-height: 24px !important;
}

.vs-story-aside {
  border: 1px solid var(--border);
  background: var(--cream);
  padding: 32px;
}

.vs-story-aside h3 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--muted);
}

.vs-check-list {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.vs-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 16px;
  line-height: 24px;
  color: var(--ink);
}

.vs-check-list li:before {
  content: "\2713";
  display: flex;
  flex: 0 0 20px;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border: 2px solid var(--navy);
  border-radius: 50%;
  color: var(--navy);
  font-size: 11px;
}

@media (max-width: 1024px) {
  .vs-story-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 760px) {
  .vs-hero {
    padding: 72px 20px 64px;
  }
  .vs-hero h1 {
    font-size: 40px;
    line-height: 50px;
    letter-spacing: -0.8px;
  }
  .vs-hero-inner > p {
    font-size: 17px;
    line-height: 26px;
  }
  .vs-head2head {
    margin-top: 48px;
    gap: 16px;
  }
  .vs-head2head-side {
    height: 88px;
  }
  .vs-head2head-badge {
    width: 40px;
    height: 40px;
    font-size: 12px;
  }
  .vs-story {
    padding: 64px 20px;
  }
}
