/*
 * BetaQuill 0.11 visual identity.
 *
 * Cheerful editorial confidence: clear typography, warm colour, tactile
 * controls and gentle movement without compromising legibility or focus.
 */

:root {
  --paper: #fffaf3;
  --paper-deep: #f5eadc;
  --white: #ffffff;
  --ink: #15324a;
  --ink-soft: #3f596d;
  --muted: #6d7e8a;
  --line: #d9e1dc;
  --sage: #73c5b2;
  --sage-pale: #ddf5ec;
  --rose: #f0645a;
  --rose-pale: #ffe4df;
  --gold: #f2bf4a;
  --gold-pale: #fff0bd;
  --lilac: #8b7fd6;
  --lilac-pale: #eeeaff;
  --sky: #74b7d8;
  --display: "Avenir Next", "Segoe UI Variable Display", "Segoe UI", ui-rounded,
    system-ui, sans-serif;
  --sans: "Avenir Next", "Segoe UI Variable Text", "Segoe UI", system-ui,
    -apple-system, BlinkMacSystemFont, sans-serif;
  --serif: var(--display);
  --shadow: 0 22px 60px rgba(21, 50, 74, 0.14);
  --shadow-soft: 0 12px 32px rgba(21, 50, 74, 0.09);
  --shadow-play: 0 7px 0 #15324a, 0 16px 34px rgba(21, 50, 74, 0.16);
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 32px;
}

@view-transition {
  navigation: auto;
}

::view-transition-old(root) {
  animation: bq-page-out 180ms ease both;
}

::view-transition-new(root) {
  animation: bq-page-in 420ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

body {
  background:
    radial-gradient(circle at 8% 14%, rgba(242, 191, 74, 0.11), transparent 24rem),
    radial-gradient(circle at 92% 31%, rgba(115, 197, 178, 0.13), transparent 28rem),
    var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  letter-spacing: -0.008em;
}

::selection {
  background: var(--gold-pale);
  color: var(--ink);
}

:focus-visible {
  outline: 3px solid var(--lilac);
  outline-offset: 4px;
}

h1,
h2,
h3,
h4,
.hero h1,
.section-heading h2,
.community-copy h2,
.audience-card h2,
.pricing-copy h2,
.final-cta h2,
.directory-hero h1,
.dashboard-main h1,
.blog-hero h1,
.article-header h1 {
  font-family: var(--display);
  font-weight: 760;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

p,
li {
  text-wrap: pretty;
}

.site-header {
  position: sticky;
  top: 0;
  border: 0;
  background: color-mix(in srgb, var(--paper) 84%, transparent);
  box-shadow: 0 1px 0 rgba(21, 50, 74, 0.08);
  backdrop-filter: blur(18px) saturate(135%);
}

.nav-inner {
  min-height: 94px;
}

.brand img {
  width: clamp(190px, 16vw, 240px);
}

.desktop-nav {
  gap: 6px;
  padding: 6px;
  border: 1px solid rgba(21, 50, 74, 0.09);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 8px 24px rgba(21, 50, 74, 0.06);
}

.desktop-nav a {
  position: relative;
  padding: 10px 15px;
  border-radius: 999px;
  transition:
    color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.desktop-nav a::after {
  position: absolute;
  right: 17px;
  bottom: 5px;
  left: 17px;
  height: 3px;
  border-radius: 999px;
  background: var(--rose);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.desktop-nav a:hover {
  background: var(--rose-pale);
  color: var(--ink);
  transform: translateY(-1px);
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
  transform: scaleX(1);
}

.nav-signin {
  padding: 10px 4px;
}

.button,
.bq-button {
  position: relative;
  overflow: hidden;
  min-height: 50px;
  border: 2px solid var(--ink);
  border-radius: 17px 17px 17px 6px;
  font-family: var(--sans);
  font-weight: 800;
  letter-spacing: -0.01em;
  box-shadow: 0 5px 0 var(--ink);
  isolation: isolate;
  transition:
    transform 180ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 180ms cubic-bezier(0.22, 1, 0.36, 1),
    background 180ms ease,
    color 180ms ease;
}

.button::before,
.bq-button::before {
  position: absolute;
  z-index: -1;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.26);
  content: "";
  left: var(--bq-pointer-x, 50%);
  top: var(--bq-pointer-y, 50%);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0);
  transition:
    transform 460ms ease,
    opacity 240ms ease;
}

.button:hover::before,
.bq-button:hover::before {
  opacity: 1;
  transform: translate(-50%, -50%) scale(24);
}

.button:hover,
.bq-button:hover {
  transform: translateY(-3px) rotate(-0.35deg);
  box-shadow: 0 8px 0 var(--ink), 0 15px 28px rgba(21, 50, 74, 0.15);
}

.button:active,
.bq-button:active {
  transform: translateY(3px);
  box-shadow: 0 2px 0 var(--ink);
}

.button-primary,
.bq-button {
  border-color: var(--ink);
  background: var(--rose);
  color: #fff;
}

.button-primary:hover,
.bq-button:hover {
  background: #f4756d;
}

.button-quiet,
.button-outline,
.bq-button-secondary {
  border-color: var(--ink);
  background: var(--white);
  color: var(--ink);
}

.button-quiet:hover,
.button-outline:hover,
.bq-button-secondary:hover {
  background: var(--gold-pale);
  color: var(--ink);
}

.eyebrow,
.overline {
  color: #bf453f;
  font-family: var(--sans);
  font-weight: 850;
}

.eyebrow {
  border: 1px solid rgba(240, 100, 90, 0.32);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 8px 22px rgba(21, 50, 74, 0.06);
}

.eyebrow-dot {
  background: var(--rose);
  box-shadow: 0 0 0 5px var(--rose-pale);
}

.hero {
  position: relative;
  min-height: 720px;
}

.hero::before,
.hero::after {
  position: absolute;
  z-index: -1;
  border-radius: 45% 55% 62% 38% / 51% 43% 57% 49%;
  content: "";
  filter: blur(1px);
}

.hero::before {
  top: 8%;
  right: 39%;
  width: 145px;
  height: 145px;
  background: var(--gold-pale);
  animation: bq-drift 9s ease-in-out infinite;
}

.hero::after {
  right: -4%;
  bottom: 8%;
  width: 190px;
  height: 190px;
  background: var(--lilac-pale);
  animation: bq-drift 11s 1s ease-in-out infinite reverse;
}

.hero h1 em {
  color: var(--rose);
  font-family: inherit;
  font-weight: 760;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 0.12em;
  text-underline-offset: 0.09em;
}

.hero-product {
  border: 1px solid rgba(21, 50, 74, 0.12);
  border-radius: 38px 38px 38px 12px;
  background: linear-gradient(145deg, #e2f6f0, #f2fbf8);
  box-shadow:
    20px 22px 0 var(--lilac-pale),
    38px 43px 0 var(--gold-pale),
    var(--shadow);
  transform: rotate(1.3deg);
  transition:
    transform 520ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-product:hover {
  box-shadow:
    14px 16px 0 var(--lilac-pale),
    27px 31px 0 var(--gold-pale),
    0 30px 75px rgba(21, 50, 74, 0.18);
  transform: rotate(0deg) translateY(-8px);
}

.activity-card,
.mini-profile,
.profile-feature {
  border-color: rgba(21, 50, 74, 0.11);
  box-shadow: var(--shadow-soft);
}

.principle-band,
.professional-strip,
.final-cta {
  position: relative;
  background: var(--ink);
}

.principle-band::before,
.professional-strip::before,
.final-cta::before {
  position: absolute;
  top: -17px;
  right: 0;
  left: 0;
  height: 18px;
  background:
    radial-gradient(circle at 18px -5px, transparent 22px, var(--ink) 23px)
      0 0 / 44px 18px repeat-x;
  content: "";
}

.step-card,
.audience-card,
.reader-card,
.blog-card,
.pricing-card {
  border: 1px solid rgba(21, 50, 74, 0.1);
  border-radius: var(--radius-lg) var(--radius-lg) var(--radius-lg) 10px;
  box-shadow: 0 7px 0 rgba(21, 50, 74, 0.09);
  transition:
    transform 320ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 320ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 220ms ease;
}

.step-card:hover,
.audience-card:hover,
.reader-card:hover,
.blog-card:hover,
.pricing-card:hover {
  border-color: rgba(240, 100, 90, 0.38);
  box-shadow: 0 12px 0 var(--rose-pale), 0 26px 48px rgba(21, 50, 74, 0.12);
  transform: translateY(-7px) rotate(-0.25deg);
}

.step-card:nth-child(2n):hover,
.reader-card:nth-child(2n):hover,
.blog-card:nth-child(2n):hover {
  transform: translateY(-7px) rotate(0.25deg);
}

.step-number,
.reader-type,
.availability,
.role-chip,
.tag-row span,
.secure-chip {
  border-radius: 999px;
}

.step-number {
  color: var(--rose);
}

.step-card:nth-child(2) {
  background: var(--lilac-pale);
}

.step-card:nth-child(3) {
  background: var(--gold-pale);
}

.community-section {
  position: relative;
  background:
    radial-gradient(circle at 85% 18%, rgba(242, 191, 74, 0.34), transparent 18rem),
    var(--sage-pale);
}

.audience-author {
  background: var(--rose-pale);
}

.audience-reader {
  background: var(--lilac-pale);
}

.pricing-card {
  background: var(--white);
}

.price-switch .active {
  background: var(--sage-pale);
  color: var(--ink);
}

.text-link,
.audience-card > a,
.post-card-link {
  text-decoration-color: var(--rose);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.text-link span,
.post-card-link span {
  display: inline-block;
  transition: transform 180ms ease;
}

.text-link:hover span,
.post-card-link:hover span {
  transform: translateX(6px);
}

.blog-pagination .nav-links {
  display: inline-flex;
  gap: 8px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-soft);
}

.blog-pagination .page-numbers {
  min-width: 44px;
  border: 0;
  border-radius: 999px;
  transition:
    transform 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.blog-pagination .current {
  background: var(--rose);
  color: #fff;
  box-shadow: 0 4px 0 var(--ink);
}

.blog-pagination a:hover {
  background: var(--gold-pale);
  color: var(--ink);
  transform: translateY(-2px);
}

.site-footer {
  position: relative;
  background: #102c3f;
}

.site-footer::before {
  position: absolute;
  top: -18px;
  right: 0;
  left: 0;
  height: 19px;
  background:
    radial-gradient(circle at 20px -7px, transparent 25px, #102c3f 26px)
      0 0 / 48px 19px repeat-x;
  content: "";
}

.site-footer a {
  transition:
    color 160ms ease,
    transform 160ms ease;
}

.site-footer a:hover {
  color: var(--gold);
  transform: translateX(3px);
}

.bq-motion-ready .bq-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 620ms calc(var(--bq-reveal-order, 0) * 70ms) ease,
    transform 620ms calc(var(--bq-reveal-order, 0) * 70ms)
      cubic-bezier(0.22, 1, 0.36, 1);
}

.bq-motion-ready .bq-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes bq-drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  50% {
    transform: translate3d(10px, -14px, 0) rotate(7deg);
  }
}

@keyframes bq-page-out {
  to {
    opacity: 0;
    transform: translateY(-6px);
  }
}

@keyframes bq-page-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}

@media (max-width: 960px) {
  .nav-inner {
    min-height: 82px;
  }

  .brand img {
    width: 190px;
  }

  .hero-product {
    box-shadow:
      12px 14px 0 var(--lilac-pale),
      23px 28px 0 var(--gold-pale),
      var(--shadow);
  }
}

@media (max-width: 640px) {
  .brand img {
    width: 165px;
  }

  .button,
  .bq-button {
    border-radius: 15px 15px 15px 5px;
  }

  .hero-product {
    border-radius: 26px 26px 26px 9px;
    box-shadow: 10px 12px 0 var(--lilac-pale), var(--shadow-soft);
  }
}

.site-footer {
  background: #294b5d;
  color: #f7f4ed;
}

.site-footer .footer-grid strong {
  color: #f3ead8;
}

.site-footer .footer-grid a,
.site-footer .footer-grid > div > span,
.site-footer .footer-grid > div:first-child p,
.site-footer .footer-bottom {
  color: #c9d5d9;
}

.site-footer .footer-bottom {
  border-top-color: rgba(255, 255, 255, 0.16);
}

@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*),
  ::view-transition-old(*),
  ::view-transition-new(*) {
    animation-duration: 0.01ms !important;
  }

  .hero::before,
  .hero::after {
    animation: none;
  }

  .bq-motion-ready .bq-reveal {
    opacity: 1;
    transform: none;
  }
}

/* 0.12 editorial refinement --------------------------------------------- */

:root {
  --paper: #faf8f2;
  --paper-deep: #eee9df;
  --ink: #132d46;
  --ink-soft: #526273;
  --muted: #78838c;
  --line: #ddd8ce;
  --sage: #9aafa6;
  --sage-pale: #edf1ee;
  --rose: #a86f55;
  --rose-pale: #f2e8e1;
  --gold: #b48938;
  --gold-pale: #f3ead8;
  --lilac: #7f8994;
  --lilac-pale: #eef0f2;
  --shadow: 0 22px 54px rgba(19, 45, 70, 0.11);
  --shadow-soft: 0 10px 28px rgba(19, 45, 70, 0.075);
  --shadow-play: var(--shadow-soft);
}

body {
  background:
    linear-gradient(135deg, rgba(180, 137, 56, 0.035), transparent 38rem),
    var(--paper);
}

h1,
h2,
h3,
h4,
.hero h1,
.section-heading h2,
.community-copy h2,
.audience-card h2,
.pricing-copy h2,
.final-cta h2,
.directory-hero h1,
.dashboard-main h1,
.blog-hero h1,
.article-header h1 {
  font-weight: 680;
  letter-spacing: -0.045em;
}

.desktop-nav {
  gap: 22px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.desktop-nav a {
  padding: 9px 1px;
  border-radius: 0;
}

.desktop-nav a::after {
  right: 0;
  bottom: 3px;
  left: 0;
  height: 1px;
  border-radius: 0;
  background: var(--gold);
}

.desktop-nav a:hover {
  background: transparent;
  transform: none;
}

.button,
.bq-button {
  border-width: 1px;
  border-radius: 9px;
  font-weight: 720;
  box-shadow: 0 3px 9px rgba(19, 45, 70, 0.11);
}

.button::before,
.bq-button::before {
  display: none;
}

.button:hover,
.bq-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 18px rgba(19, 45, 70, 0.14);
}

.button:active,
.bq-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(19, 45, 70, 0.12);
}

.button-primary,
.bq-button {
  border-color: #9a732c;
  background: var(--gold);
  color: #fff;
}

.button-primary:hover,
.bq-button:hover {
  background: #a67c31;
}

.button-quiet:hover,
.button-outline:hover,
.bq-button-secondary:hover {
  background: var(--sage-pale);
}

.eyebrow,
.overline {
  color: #8f6928;
}

.eyebrow {
  border-color: rgba(180, 137, 56, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.48);
  box-shadow: none;
}

.eyebrow-dot {
  background: var(--gold);
  box-shadow: none;
}

.hero::before {
  top: 8%;
  right: 8%;
  width: 50%;
  height: 58%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(180, 137, 56, 0.08), transparent 68%);
  animation: none;
}

.hero::after {
  display: none;
}

.hero h1 em {
  color: var(--gold);
  font-weight: 650;
  text-decoration: none;
}

.hero-product {
  border-radius: 18px;
  background: linear-gradient(145deg, #eaf0ec, #f5f6f3);
  box-shadow:
    13px 14px 0 #e8e2d7,
    var(--shadow);
  transform: rotate(0.35deg);
}

.hero-product:hover {
  box-shadow:
    10px 11px 0 #e8e2d7,
    0 27px 58px rgba(19, 45, 70, 0.14);
  transform: translateY(-4px);
}

.principle-band::before,
.professional-strip::before,
.final-cta::before,
.site-footer::before {
  top: -17px;
  height: 18px;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  background: inherit;
}

.step-card,
.audience-card,
.reader-card,
.blog-card,
.pricing-card {
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-soft);
}

.step-card:hover,
.audience-card:hover,
.reader-card:hover,
.blog-card:hover,
.pricing-card:hover {
  border-color: rgba(180, 137, 56, 0.3);
  box-shadow: 0 15px 34px rgba(19, 45, 70, 0.1);
  transform: translateY(-3px);
}

.step-card:nth-child(2n):hover,
.reader-card:nth-child(2n):hover,
.blog-card:nth-child(2n):hover {
  transform: translateY(-3px);
}

.step-card:nth-child(2),
.step-card:nth-child(3),
.audience-author,
.audience-reader {
  background: rgba(255, 255, 255, 0.72);
}

.community-section {
  background:
    linear-gradient(105deg, rgba(154, 175, 166, 0.18), transparent 64%),
    #f3f1eb;
}

.nav-inner {
  min-height: 112px;
}

.brand img {
  width: clamp(238px, 20vw, 300px);
}

@media (max-width: 640px) {
  .nav-inner {
    min-height: 94px;
  }

  .brand img {
    width: 205px;
  }
}

/* Public product comparison. */
.comparison-preview {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: clamp(42px, 7vw, 96px);
  align-items: center;
}

.comparison-preview-copy {
  max-width: 760px;
}

.comparison-preview-copy h2,
.comparison-hero h1,
.comparison-positioning h2,
.comparison-table-heading h2,
.comparison-boundary h2,
.comparison-sources h2 {
  font-family: var(--display);
  font-weight: 760;
  letter-spacing: -0.055em;
  line-height: 1;
}

.comparison-preview-copy h2 {
  margin: 14px 0 22px;
  font-size: clamp(2.6rem, 5vw, 4.8rem);
}

.comparison-preview-copy p {
  max-width: 690px;
  margin-bottom: 32px;
  color: var(--ink-soft);
  font-size: 1.08rem;
  line-height: 1.75;
}

.comparison-preview-points {
  display: grid;
  gap: 0;
  padding: 28px 34px;
  border: 1px solid rgba(19, 45, 70, 0.11);
  border-left: 4px solid var(--gold);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-soft);
}

.comparison-preview-points span {
  padding: 17px 0;
  border-bottom: 1px solid rgba(19, 45, 70, 0.1);
  font-weight: 760;
}

.comparison-preview-points span:last-child {
  border-bottom: 0;
}

.comparison-preview-points span::before {
  margin-right: 12px;
  color: var(--gold);
  content: "\2713";
}

.comparison-page {
  overflow: clip;
}

.comparison-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(330px, 0.75fr);
  gap: clamp(48px, 8vw, 110px);
  align-items: center;
  padding-block: clamp(90px, 12vw, 160px);
}

.comparison-hero-copy h1 {
  max-width: 850px;
  margin: 18px 0 28px;
  font-size: clamp(3.5rem, 7.2vw, 7.1rem);
}

.comparison-hero-copy h1 em {
  display: block;
  color: var(--gold);
  font-style: normal;
}

.comparison-hero-copy > p:not(.comparison-date) {
  max-width: 730px;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  line-height: 1.7;
}

.comparison-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}

.comparison-date {
  margin-top: 30px;
  color: var(--muted);
  font-size: 0.82rem;
}

.comparison-principle {
  padding: 38px;
  border: 1px solid rgba(19, 45, 70, 0.12);
  border-top: 5px solid var(--gold);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
}

.comparison-principle > span,
.comparison-product-name {
  display: block;
  margin-bottom: 18px;
  color: #8f6928;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.comparison-principle > strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.comparison-principle p {
  margin: 24px 0 0;
  color: var(--ink-soft);
  line-height: 1.75;
}

.comparison-positioning .section-heading {
  max-width: 820px;
}

.comparison-positioning h2,
.comparison-table-heading h2,
.comparison-boundary h2,
.comparison-sources h2 {
  font-size: clamp(2.8rem, 5.2vw, 5rem);
}

.comparison-product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 54px;
}

.comparison-product-grid article {
  padding: 38px;
  border: 1px solid rgba(19, 45, 70, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-soft);
}

.comparison-product-grid article h3 {
  margin: 0 0 20px;
  font-size: clamp(1.6rem, 2.8vw, 2.35rem);
  letter-spacing: -0.045em;
}

.comparison-product-grid article p {
  color: var(--ink-soft);
  line-height: 1.7;
}

.comparison-product-grid article > strong {
  display: block;
  margin-top: 28px;
}

.comparison-product-betaquill {
  border-top: 5px solid var(--gold) !important;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(243, 241, 235, 0.88)) !important;
}

.comparison-table-section {
  position: relative;
  padding-block: 110px;
  background: #173650;
  color: #fff;
}

.comparison-table-section::before {
  position: absolute;
  top: -17px;
  right: 0;
  left: 0;
  height: 18px;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  background: inherit;
  content: "";
}

.comparison-table-heading {
  max-width: 920px;
  margin-bottom: 50px;
}

.comparison-table-heading p {
  max-width: 790px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
}

.comparison-table-wrap {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 24px 64px rgba(2, 18, 31, 0.28);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  color: var(--ink);
  table-layout: fixed;
}

.comparison-table th,
.comparison-table td {
  padding: 23px 20px;
  border-right: 1px solid rgba(19, 45, 70, 0.09);
  border-bottom: 1px solid rgba(19, 45, 70, 0.09);
  text-align: left;
  vertical-align: top;
  line-height: 1.55;
}

.comparison-table thead th {
  background: #f0eee8;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.comparison-table thead th:first-child,
.comparison-table tbody th {
  width: 19%;
}

.comparison-table tbody th {
  background: #f8f5ef;
  font-size: 0.86rem;
}

.comparison-table tr:last-child th,
.comparison-table tr:last-child td {
  border-bottom: 0;
}

.comparison-table th:last-child,
.comparison-table td:last-child {
  border-right: 0;
}

.comparison-betaquill-column {
  background: #fff9e9;
}

.comparison-table thead .comparison-betaquill-column {
  background: #f4e5b8;
}

.comparison-muted {
  color: var(--muted);
  font-style: italic;
}

.comparison-boundary,
.comparison-sources-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(50px, 8vw, 120px);
  align-items: start;
}

.comparison-boundary p,
.comparison-sources p {
  margin-top: 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.8;
}

.comparison-sources {
  padding-block: 88px;
  background: #2c5368;
  color: #fff;
}

.comparison-sources p {
  color: rgba(255, 255, 255, 0.76);
}

.comparison-sources ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 28px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.comparison-sources a {
  color: #fff;
  font-weight: 760;
  text-decoration-color: var(--gold);
  text-underline-offset: 4px;
}

.comparison-final-cta::before {
  display: none;
}

@media (max-width: 980px) {
  .comparison-preview,
  .comparison-hero,
  .comparison-boundary,
  .comparison-sources-inner {
    grid-template-columns: 1fr;
  }

  .comparison-product-grid {
    grid-template-columns: 1fr;
  }

  .comparison-table-wrap {
    overflow-x: auto;
  }

  .comparison-table {
    min-width: 900px;
  }
}

@media (max-width: 640px) {
  .comparison-hero {
    padding-block: 72px 96px;
  }

  .comparison-hero-copy h1 {
    font-size: clamp(3.1rem, 15vw, 4.5rem);
  }

  .comparison-hero-actions .button {
    width: 100%;
  }

  .comparison-preview-points,
  .comparison-principle,
  .comparison-product-grid article {
    padding: 28px;
  }

  .comparison-table-section {
    padding-block: 84px;
  }

  .comparison-sources ul {
    grid-template-columns: 1fr;
  }
}

/* Compact content rhythm: keep each viewport purposeful rather than padded out. */
.section {
  padding-block: 76px;
}

.hero {
  min-height: 620px;
  padding-block: 52px 70px;
}

.community-section {
  padding-block: 84px;
}

.professional-strip {
  padding-block: 58px;
}

.final-cta {
  padding-block: 62px;
}

.comparison-table-section {
  padding-block: 82px;
}

.comparison-sources {
  padding-block: 66px;
}

.bq-portal-page-shell {
  padding-block: 34px 58px;
}

.bq-portal-page-shell > article > h1 {
  display: none;
}

@media (max-width: 760px) {
  .section {
    padding-block: 54px;
  }

  .hero {
    padding-block: 42px 60px;
  }

  .community-section,
  .comparison-table-section {
    padding-block: 60px;
  }

  .professional-strip,
  .final-cta,
  .comparison-sources {
    padding-block: 48px;
  }

  .bq-portal-page-shell {
    padding-block: 26px 44px;
  }
}
