:root {
  color-scheme: dark;
}

/* Shared heading language used by the homepage and Priviot Sync. */
.comparison-eyebrow,
.ap-eyebrow,
.tp-eyebrow,
main#main-content:has(.feature-content) > .relative > .mt-6 > a:first-child,
main#main-content:has(.legal-content) > .relative > .mt-8 > span:first-child {
  color: var(--oh-violet, #9b67ff);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2.16px;
  line-height: 16px;
  text-transform: uppercase;
}

/* Product comparisons */
.comparison-shell {
  width: min(calc(100% - 40px), 72rem);
}

.comparison-hero {
  position: relative;
  max-width: none;
  padding: 132px 0 82px;
  overflow: hidden;
  text-align: center;
}

.comparison-hero::before {
  position: absolute;
  top: -285px;
  left: 50%;
  width: 760px;
  height: 390px;
  border-radius: 50%;
  background: rgba(124, 58, 237, 0.16);
  content: "";
  filter: blur(125px);
  transform: translateX(-50%);
}

.comparison-hero > * {
  position: relative;
}

.comparison-hero h1 {
  max-width: 820px;
  margin: 16px auto 0;
  background: none;
  color: var(--oh-ink, #f7f4fb);
  font-size: clamp(2.65rem, 5.2vw, 4.55rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.04;
  text-wrap: balance;
  -webkit-text-fill-color: currentColor;
}

.comparison-hero p {
  max-width: 672px;
  margin: 24px auto 0;
  color: var(--oh-muted, #aaa5b5);
  font-size: 17px;
  line-height: 28px;
}

.comparison-date {
  margin-top: 22px;
  border-color: var(--oh-line, rgba(255, 255, 255, 0.11));
  background: rgba(255, 255, 255, 0.025);
}

.comparison-facts-wrap,
.comparison-card,
.comparison-verdict,
.comparison-teaser {
  border-color: var(--oh-line, rgba(255, 255, 255, 0.11));
  background:
    radial-gradient(circle at 10% 0%, rgba(124, 58, 237, 0.12), transparent 42%),
    linear-gradient(145deg, rgba(19, 16, 29, 0.82), rgba(10, 9, 15, 0.7));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.comparison-facts-wrap {
  margin: 0 auto 36px;
  border-radius: 24px;
}

.comparison-grid {
  gap: 18px;
  padding: 32px 0 40px;
  border-top: 1px solid var(--oh-line-soft, rgba(255, 255, 255, 0.075));
}

.comparison-card {
  border-radius: 22px;
}

.comparison-card h2,
.comparison-card h3,
.comparison-verdict h2,
.comparison-sources h2 {
  color: var(--oh-ink, #f7f4fb);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.comparison-card h2,
.comparison-verdict h2 {
  font-size: 1.35rem;
}

.comparison-verdict {
  margin: 22px 0 46px;
  border-color: rgba(139, 92, 246, 0.36);
  border-radius: 22px;
}

.comparison-sources {
  padding: 54px 0 96px;
  border-top: 1px solid var(--oh-line-soft, rgba(255, 255, 255, 0.075));
}

.comparison-teaser {
  border-radius: 24px;
}

/* Function, use-case and privacy-focused pages. */
main#main-content:has(.feature-content) > .relative.mx-auto.max-w-3xl {
  max-width: 72rem;
}

main#main-content:has(.feature-content) > .relative > nav,
main#main-content:has(.feature-content) > .relative > .feature-content,
main#main-content:has(.feature-content) > .relative > section,
main#main-content:has(.feature-content) > .relative > figure {
  max-width: 48rem;
  margin-inline: auto;
}

main#main-content:has(.feature-content) > .relative > .mt-6 {
  max-width: 760px;
  margin: 34px auto 0;
  text-align: center;
}

main#main-content:has(.feature-content) > .relative > .mt-6 > a:first-child {
  display: table;
  margin-inline: auto;
  border: 0;
  background: transparent;
  color: var(--oh-violet, #9b67ff);
}

main#main-content:has(.feature-content) > .relative > .mt-6 > h1,
main#main-content:has(.feature-content) > .relative > .mt-6 > a:first-child + h1 {
  max-width: 760px;
  margin: 16px auto 0;
  color: var(--oh-ink, #f7f4fb);
  font-size: clamp(2.55rem, 5vw, 4.25rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.05;
  text-wrap: balance;
}

main#main-content:has(.feature-content) > .relative > .mt-6 > p {
  max-width: 672px;
  margin: 22px auto 0;
  color: var(--oh-muted, #aaa5b5);
  font-size: 17px;
  line-height: 28px;
}

main#main-content:has(.feature-content) > .relative > .mt-6 > .mt-6 {
  justify-content: center;
}

main#main-content:has(.feature-content) > .relative > figure {
  margin-top: 52px;
  border-radius: 24px;
}

main#main-content:has(.feature-content) .feature-content {
  margin-top: 76px;
}

main#main-content:has(.feature-content) .feature-content > section,
main#main-content:has(.feature-content) .feature-content + section {
  padding-top: 64px;
  border-top: 1px solid var(--oh-line-soft, rgba(255, 255, 255, 0.075));
}

main#main-content:has(.feature-content) .feature-content > section:first-child {
  padding-top: 0;
  border-top: 0;
}

main#main-content:has(.feature-content) .feature-content h2,
main#main-content:has(.feature-content) .feature-content + section h2 {
  color: var(--oh-ink, #f7f4fb);
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.7px;
  line-height: 35px;
  text-wrap: balance;
}

main#main-content:has(.feature-content) .rounded-2xl.border.bg-panel-1\/60,
main#main-content:has(.feature-content) .rounded-2xl.border.bg-panel-1 {
  border-color: var(--oh-line, rgba(255, 255, 255, 0.11));
  background:
    radial-gradient(circle at 10% 0%, rgba(124, 58, 237, 0.11), transparent 44%),
    linear-gradient(145deg, rgba(19, 16, 29, 0.8), rgba(10, 9, 15, 0.68));
}

/* About and transparency pages. */
.ap-hero,
.tp-hero {
  padding: 132px 0 92px;
  text-align: center;
}

.ap-hero h1,
.tp-hero h1 {
  max-width: 820px;
  margin: 16px auto 0;
  color: var(--oh-ink, #f7f4fb);
  font-size: clamp(2.7rem, 5.2vw, 4.65rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.04;
}

.ap-hero p,
.tp-hero p {
  max-width: 672px;
  margin: 24px auto 0;
  color: var(--oh-muted, #aaa5b5);
  font-size: 17px;
  line-height: 28px;
}

.ap-section,
.tp-section {
  padding: 96px 0;
  border-top: 1px solid var(--oh-line-soft, rgba(255, 255, 255, 0.075));
}

.ap-statement,
.tp-intro {
  display: block;
  max-width: 920px;
  margin-inline: auto;
  padding: 32px;
  border-color: rgba(139, 92, 246, 0.32);
  border-radius: 22px;
  background:
    radial-gradient(circle at 10% 0%, rgba(124, 58, 237, 0.13), transparent 42%),
    linear-gradient(145deg, rgba(19, 16, 29, 0.82), rgba(10, 9, 15, 0.7));
  text-align: center;
}

.ap-statement h2,
.tp-intro h2,
.tp-section > .tp-shell > h2 {
  max-width: 672px;
  margin: 12px auto 0;
  color: var(--oh-ink, #f7f4fb);
  font-size: 36px;
  font-weight: 600;
  letter-spacing: -0.9px;
  line-height: 40px;
}

.ap-statement p,
.tp-intro p {
  max-width: 720px;
  margin: 16px auto 0;
  font-size: 16px;
  line-height: 26px;
}

.tp-section > .tp-shell > .tp-eyebrow,
.tp-section > .tp-shell > h2 {
  display: block;
  text-align: center;
}

.ap-card,
.tp-card {
  border-color: var(--oh-line, rgba(255, 255, 255, 0.11));
  border-radius: 22px;
  background:
    radial-gradient(circle at 10% 0%, rgba(124, 58, 237, 0.1), transparent 42%),
    linear-gradient(145deg, rgba(19, 16, 29, 0.8), rgba(10, 9, 15, 0.68));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

/* Technical help pages keep their instructional alignment but share the hero scale. */
main#main-content:has(.legal-content) > .relative.mx-auto.max-w-3xl {
  max-width: 48rem;
}

main#main-content:has(.legal-content) > .relative > .mt-8 {
  padding-bottom: 38px;
  border-bottom: 1px solid var(--oh-line-soft, rgba(255, 255, 255, 0.075));
  text-align: center;
}

main#main-content:has(.legal-content) > .relative > .mt-8 h1 {
  max-width: 672px;
  margin: 16px auto 0;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  letter-spacing: -0.04em;
  line-height: 1.06;
}

@media (max-width: 780px) {
  .comparison-shell,
  .ap-shell,
  .tp-shell {
    width: min(calc(100% - 32px), 72rem);
  }

  .comparison-hero,
  .ap-hero,
  .tp-hero {
    padding: 104px 0 70px;
  }

  .comparison-hero h1,
  .ap-hero h1,
  .tp-hero h1,
  main#main-content:has(.feature-content) > .relative > .mt-6 > h1,
  main#main-content:has(.feature-content) > .relative > .mt-6 > a:first-child + h1 {
    font-size: clamp(2.3rem, 10.5vw, 3.25rem);
  }

  .comparison-hero p,
  .ap-hero p,
  .tp-hero p,
  main#main-content:has(.feature-content) > .relative > .mt-6 > p {
    font-size: 16px;
    line-height: 26px;
  }

  .ap-section,
  .tp-section {
    padding: 70px 0;
  }

  .ap-statement h2,
  .tp-intro h2,
  .tp-section > .tp-shell > h2,
  main#main-content:has(.feature-content) .feature-content h2,
  main#main-content:has(.feature-content) .feature-content + section h2 {
    font-size: 30px;
    letter-spacing: -0.7px;
    line-height: 35px;
  }

  .ap-statement,
  .tp-intro,
  .ap-card,
  .tp-card {
    padding: 24px;
  }

  main#main-content:has(.feature-content) .feature-content {
    margin-top: 58px;
  }
}
