/* Inner pages in the homepage style (owner's reference, 26.10.2026).
   Loaded after style.css and home-hero.css on pages whose body has .pages-v2 (it also carries .home-v2
   for the shared tokens, header, badges and rings). Built by ~/af/am-build/build_pages.py. */

body.pages-v2 {
  background:
    radial-gradient(900px 520px at 88% 640px, rgba(201, 77, 255, 0.10), transparent 70%),
    radial-gradient(700px 600px at 0% 1400px, rgba(63, 196, 255, 0.06), transparent 70%),
    var(--hv2-bg);
  color: var(--hv2-text);
}

/* ---------------------------------------------------------------- hero over the scene */
body.pages-v2 :is(.article-hero, .sub-hero) {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 560px;
  padding: 112px max(5%, calc((100vw - 1260px) / 2)) 92px;
  background: var(--hv2-bg);
  border-bottom: 0;
}
.pv2-scene {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.pv2-scene img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 62%;
}
body.pages-v2 :is(.article-hero, .sub-hero)::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(10, 7, 32, 0.94) 0%, rgba(10, 7, 32, 0.84) 30%, rgba(10, 7, 32, 0.32) 54%, rgba(10, 7, 32, 0) 68%),
    linear-gradient(180deg, rgba(10, 7, 32, 0.55) 0%, rgba(10, 7, 32, 0) 22%, rgba(10, 7, 32, 0) 72%, var(--hv2-bg) 100%);
}
body.pages-v2 :is(.article-hero, .sub-hero)-flex > div:first-child {
  max-width: 700px;
}
body.pages-v2 .breadcrumbs,
body.pages-v2 .breadcrumbs a {
  color: var(--hv2-muted);
}
body.pages-v2 .breadcrumbs {
  margin-bottom: 14px;
}
body.pages-v2 :is(.article-hero, .sub-hero) .eyebrow {
  color: var(--hv2-gold);
  letter-spacing: 0.24em;
  font-size: 0.72rem;
}
.pv2-pair {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 4px 0 16px;
}
.pv2-pair .hv2-badge {
  width: 64px;
  height: 64px;
  font-size: 2rem;
  border-width: 2px;
}
.pv2-heart {
  color: #ff8ad0;
  font-size: 1.7rem;
  text-shadow: 0 0 16px rgba(255, 95, 184, 0.9);
}
body.pages-v2 :is(.article-hero, .sub-hero) h1 {
  font-family: var(--hv2-serif);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #fff;
  font-size: clamp(2.3rem, 4.2vw, 3.9rem);
  line-height: 1.08;
  margin: 0 0 18px;
  text-shadow: 0 2px 30px rgba(10, 7, 32, 0.6);
}
.pv2-grad {
  background: linear-gradient(90deg, var(--hv2-gold) 0%, #ff8ad0 45%, var(--hv2-magenta) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
body.pages-v2 :is(.article-hero, .sub-hero) .article-subtitle {
  font-size: 1.08rem;
  line-height: 1.65;
  color: #e4daf7;
  max-width: 600px;
}
body.pages-v2 :is(.article-hero, .sub-hero) .chip-row {
  margin: 18px 0 22px;
}
body.pages-v2 :is(.article-hero, .sub-hero) .chip-row span {
  border: 1px solid var(--hv2-line);
  background: var(--hv2-glass);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: #f3e9ff;
  font-weight: 600;
}
body.pages-v2 :is(.article-hero, .sub-hero) .btn-outline {
  border-radius: 999px;
  border: 1px solid rgba(214, 180, 255, 0.5);
  background: rgba(22, 14, 52, 0.55);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: #fff;
  font-weight: 700;
}
body.pages-v2 :is(.article-hero, .sub-hero) .btn-outline:hover {
  border-color: var(--hv2-gold);
}

/* ---------------------------------------------------------------- score card: glass over the scene edge */
body.pages-v2 .pair-reading-layout {
  position: relative;
  z-index: 2;
  margin-top: -64px;
  padding-top: 0;
}
body.pages-v2 .score-panel {
  border: 1px solid var(--hv2-line);
  border-radius: 24px;
  background: var(--hv2-glass-strong);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 24px 70px rgba(4, 0, 26, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  gap: 30px;
  padding: 26px 30px;
}
body.pages-v2 .score-ring {
  width: 150px;
  height: 150px;
  flex: 0 0 150px;
  background:
    radial-gradient(closest-side, rgba(16, 10, 40, 1) 83%, transparent 84% 100%),
    conic-gradient(#d24dff 0deg, #ff5fb8 calc(var(--deg) * 0.55), #ffb066 var(--deg), rgba(255, 255, 255, 0.1) 0);
  box-shadow: 0 0 40px rgba(255, 95, 184, 0.35);
}
body.pages-v2 .score-ring > div {
  width: auto;
  height: auto;
  background: none;
}
body.pages-v2 .score-ring strong {
  font-family: var(--hv2-serif);
  font-size: 2.6rem;
  letter-spacing: 0;
  color: #fff;
}
body.pages-v2 .score-ring span {
  color: var(--hv2-muted);
  font-weight: 600;
}
.pv2-rings {
  flex: 1;
  margin: 0;
}
.pv2-rings .hv2-ring {
  width: 82px;
  height: 82px;
}
.pv2-rings .hv2-ring b {
  font-size: 1.08rem;
}
.pv2-rings small {
  font-size: 0.82rem;
}
body.pages-v2 .reading-jump-nav a {
  border-radius: 999px;
  border: 1px solid var(--hv2-line);
  background: var(--hv2-glass);
  color: #f3e9ff;
  font-weight: 600;
  padding: 9px 15px;
}
body.pages-v2 .reading-jump-nav a:hover {
  border-color: var(--hv2-gold);
  background: rgba(201, 77, 255, 0.18);
}

/* ---------------------------------------------------------------- reading */
body.pages-v2 .article-copy h2 {
  font-family: var(--hv2-serif);
  font-weight: 700;
  letter-spacing: -0.005em;
  color: #fff;
  line-height: 1.2;
}
body.pages-v2 .article-copy h2::before {
  content: '✦';
  display: block;
  margin-bottom: 8px;
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--hv2-gold);
  text-shadow: 0 0 12px rgba(255, 190, 120, 0.8);
}
body.pages-v2 .article-copy p,
body.pages-v2 .article-copy li {
  color: #d6cbea;
  font-size: 1rem;
}
body.pages-v2 .reading-dimension {
  margin: 16px 0;
  padding: 22px 24px 8px;
  border: 1px solid var(--hv2-line);
  border-radius: 20px;
  background: var(--hv2-glass);
  box-shadow: 0 14px 40px rgba(4, 0, 26, 0.35);
}
body.pages-v2 .dim-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
body.pages-v2 .dim-heading h3 {
  font-family: var(--hv2-serif);
  font-size: 1.35rem;
  color: #fff;
  margin: 0;
  flex: 1;
}
body.pages-v2 .dim-heading .pv2-mini {
  margin: 0;
  border: 0;
  flex: 0 0 46px;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: var(--ring);
  background:
    radial-gradient(closest-side, rgba(16, 10, 40, 0.96) 76%, transparent 77% 100%),
    conic-gradient(var(--ring) calc(var(--score) * 1%), rgba(255, 255, 255, 0.1) 0);
  box-shadow: 0 0 16px color-mix(in srgb, var(--ring) 40%, transparent);
}
body.pages-v2 .pv2-mini svg {
  width: 18px;
  height: 18px;
}
body.pages-v2 .dim-heading .pv2-tag {
  display: inline-block;
  margin: 0;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
body.pages-v2 .dim-heading .pv2-good {
  border: 1px solid rgba(63, 224, 182, 0.5);
  background: rgba(63, 224, 182, 0.14);
  color: #9ff3d9;
}
body.pages-v2 .dim-heading .pv2-mid {
  border: 1px solid rgba(63, 196, 255, 0.5);
  background: rgba(63, 196, 255, 0.14);
  color: #a9e3ff;
}
body.pages-v2 .dim-heading .pv2-work {
  border: 1px solid rgba(255, 120, 190, 0.5);
  background: rgba(255, 95, 184, 0.14);
  color: #ffc4e6;
}
body.pages-v2 .insight-list {
  list-style: none;
  counter-reset: pv2;
  padding: 0;
}
body.pages-v2 .insight-list li {
  counter-increment: pv2;
  position: relative;
  padding: 14px 18px 14px 62px;
  border: 1px solid var(--hv2-line);
  border-radius: 16px;
  background: var(--hv2-glass);
}
body.pages-v2 .insight-list li::before {
  content: counter(pv2);
  position: absolute;
  left: 16px;
  top: 12px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-family: var(--hv2-serif);
  font-weight: 700;
  color: #2a1440;
  background: linear-gradient(135deg, var(--hv2-gold), #ff8ad0);
}
body.pages-v2 .seo-faq details {
  border: 1px solid var(--hv2-line);
  border-radius: 16px;
  background: var(--hv2-glass);
  padding: 18px 20px;
}
body.pages-v2 .seo-faq details[open] {
  border-color: rgba(255, 207, 143, 0.6);
}
body.pages-v2 .seo-faq summary {
  font-weight: 600;
}
body.pages-v2 .seo-faq summary::after {
  color: var(--hv2-gold);
}

/* ---------------------------------------------------------------- partner card */
body.pages-v2 .pair-page-grid .pair-aside > .upsell {
  border: 1px solid rgba(255, 150, 210, 0.45);
  background:
    radial-gradient(circle at 15% 0%, rgba(201, 77, 255, 0.35), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(255, 176, 102, 0.18), transparent 50%),
    var(--hv2-glass-strong);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 24px 70px rgba(4, 0, 26, 0.6);
}
body.pages-v2 .upsell h2 {
  font-family: var(--hv2-serif);
}
body.pages-v2 .upsell .btn {
  border-radius: 999px;
  background: linear-gradient(90deg, #d24dff 0%, #ff5fb8 48%, #ffb066 100%);
  color: #fff;
  box-shadow: 0 14px 34px rgba(255, 95, 184, 0.42);
}
.pv2-more {
  align-self: center;
  margin-top: 4px;
  color: var(--hv2-gold);
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: underline dotted rgba(255, 207, 143, 0.6);
  text-underline-offset: 4px;
}
.pv2-more:hover {
  color: #fff;
}

/* ---------------------------------------------------------------- sections below */
body.pages-v2 .section-light {
  background: linear-gradient(180deg, rgba(22, 14, 52, 0.4), rgba(10, 7, 32, 0));
  border: 0;
}
body.pages-v2 .section-head .eyebrow {
  color: var(--hv2-gold);
}
body.pages-v2 .section-head h2 {
  font-family: var(--hv2-serif);
  letter-spacing: -0.005em;
}
body.pages-v2 .section-head h2 em {
  background: linear-gradient(90deg, var(--hv2-gold) 0%, #ff8ad0 45%, var(--hv2-magenta) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
body.pages-v2 .pair-pill,
body.pages-v2 .intent-card {
  border: 1px solid var(--hv2-line);
  background: var(--hv2-glass);
  border-radius: 18px;
}
body.pages-v2 .pair-pill {
  border-radius: 999px;
  padding: 10px 14px 10px 10px;
  font-weight: 600;
}
body.pages-v2 .pair-pill b {
  background: none;
  padding: 0;
  font-weight: 700;
  background: linear-gradient(90deg, var(--hv2-gold), #ff8ad0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.pv2-pill-badges {
  display: inline-flex;
}
.pv2-pill-badges .hv2-badge.pv2-sm {
  width: 30px;
  height: 30px;
  font-size: 0.95rem;
  border-width: 1px;
  box-shadow: none;
}
.pv2-pill-badges .pv2-sm + .pv2-sm {
  margin-left: -6px;
}
body.pages-v2 .intent-card h3 {
  font-family: var(--hv2-serif);
}
body.pages-v2 .intent-card .intent-more {
  color: var(--hv2-gold);
}
body.pages-v2 .centered .btn-outline {
  border-radius: 999px;
  border: 1px solid rgba(214, 180, 255, 0.5);
  background: var(--hv2-glass);
  color: #fff;
}

/* ---------------------------------------------------------------- phones and small tablets */
@media (max-width: 899px) {
  body.pages-v2 :is(.article-hero, .sub-hero) {
    min-height: 0;
    padding: 300px 5% 76px;
  }
  .pv2-scene {
    bottom: auto;
    height: 420px;
  }
  .pv2-scene img {
    object-position: 50% 60%;
  }
  body.pages-v2 :is(.article-hero, .sub-hero)::before {
    bottom: auto;
    height: 420px;
    background: linear-gradient(180deg, rgba(10, 7, 32, 0.6) 0%, rgba(10, 7, 32, 0) 22%, rgba(10, 7, 32, 0) 45%, rgba(10, 7, 32, 0.85) 75%, var(--hv2-bg) 100%);
  }
  body.pages-v2 .breadcrumbs {
    position: absolute;
    top: 86px;
    left: 5%;
    right: 5%;
  }
  .pv2-pair {
    margin-top: 0;
  }
  .pv2-pair .hv2-badge {
    width: 54px;
    height: 54px;
    font-size: 1.65rem;
  }
  body.pages-v2 :is(.article-hero, .sub-hero) h1 {
    font-size: clamp(2rem, 8.4vw, 2.6rem);
  }
  body.pages-v2 :is(.article-hero, .sub-hero) .article-subtitle {
    font-size: 1rem;
  }
  body.pages-v2 .pair-reading-layout {
    margin-top: -40px;
  }
  body.pages-v2 .score-panel {
    padding: 22px 16px;
    gap: 20px;
  }
  body.pages-v2 .score-ring {
    width: 132px;
    height: 132px;
    flex-basis: 132px;
  }
  .pv2-rings {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 14px;
  }
  .pv2-rings .hv2-ring {
    width: 70px;
    height: 70px;
  }
  body.pages-v2 .reading-dimension {
    padding: 18px 16px 4px;
  }
  body.pages-v2 .dim-heading {
    flex-wrap: wrap;
    gap: 10px 12px;
  }
  body.pages-v2 .dim-heading .pv2-tag {
    margin-left: 58px;
    margin-top: -6px;
  }
  body.pages-v2 .insight-list li {
    padding: 12px 14px 12px 56px;
  }
}

/* ---------------------------------------------------------------- badges inside chips and cards */
body.pages-v2 .chip-row .hv2-badge.pv2-xs {
  display: inline-grid;
  width: 22px;
  height: 22px;
  margin: -3px 4px -3px -4px;
  vertical-align: middle;
  font-size: 0.78rem;
  font-style: normal;
  border-width: 1px;
  box-shadow: none;
}
body.pages-v2 .intent-card .intent-icon.pv2-ibadge {
  background: none;
  box-shadow: none;
}
body.pages-v2 .intent-card .intent-icon.pv2-ibadge .hv2-badge {
  width: 54px;
  height: 54px;
  font-size: 1.6rem;
}

/* ---------------------------------------------------------------- sign pages: hero */
body.pages-v2 .sign-hero {
  gap: 32px;
}
body.pages-v2 .sign-hero > div {
  max-width: 720px;
}
.pv2-sign {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 207, 143, 0.22), rgba(201, 77, 255, 0.08) 60%, transparent 72%);
}
.pv2-sign .hv2-badge {
  width: 118px;
  height: 118px;
  font-size: 3.6rem;
  border-width: 2px;
  box-shadow: 0 0 46px rgba(255, 150, 210, 0.45), 0 0 0 10px rgba(255, 255, 255, 0.04);
}
body.pages-v2 .sub-hero .sign-hero p {
  font-size: 1.08rem;
  line-height: 1.65;
  color: #e4daf7;
}

/* ---------------------------------------------------------------- sign pages: the calculator */
body.pages-v2 .focus-feature > .eyebrow {
  color: var(--hv2-gold);
}
body.pages-v2 .focus-feature > h2 {
  font-family: var(--hv2-serif);
  color: #fff;
}
body.pages-v2 .focus-feature > p {
  color: var(--hv2-muted);
}
body.pages-v2 .match-tool {
  border: 1px solid var(--hv2-line);
  border-radius: 24px;
  background: var(--hv2-glass-strong);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 24px 70px rgba(4, 0, 26, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
body.pages-v2 .match-tool .tool-title h2 {
  font-family: var(--hv2-serif);
  letter-spacing: 0;
}
body.pages-v2 .match-tool .tool-title h2 em {
  background: linear-gradient(90deg, var(--hv2-gold) 0%, #ff8ad0 45%, var(--hv2-magenta) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
body.pages-v2 .match-tool .tool-fields select {
  border-radius: 999px;
  border: 1px solid rgba(214, 180, 255, 0.4);
  background-color: rgba(12, 8, 34, 0.7);
  box-shadow: none;
  font-weight: 600;
  padding-left: 18px;
}
body.pages-v2 .match-tool .tool-fields select:focus-visible {
  outline: none;
  border-color: var(--hv2-gold);
  box-shadow: 0 0 0 3px rgba(255, 207, 143, 0.25);
}
body.pages-v2 .match-tool .swap-btn {
  border: 1px solid rgba(214, 180, 255, 0.5);
  background: radial-gradient(circle at 40% 30%, rgba(160, 90, 255, 0.45), rgba(40, 20, 90, 0.9));
  color: #fff;
  box-shadow: 0 0 22px rgba(160, 90, 255, 0.45);
}
body.pages-v2 .match-tool .birthday-disclosure {
  border: 0;
  background: none;
  padding: 0;
}
body.pages-v2 .match-tool .birthday-disclosure summary {
  display: inline-flex;
  gap: 6px;
  color: var(--hv2-muted);
  font-weight: 500;
  text-decoration: underline dotted rgba(207, 195, 236, 0.6);
  text-underline-offset: 4px;
}
body.pages-v2 .match-tool .btn-primary {
  border-radius: 999px;
  background: linear-gradient(90deg, #d24dff 0%, #ff5fb8 48%, #ffb066 100%);
  color: #fff;
  font-size: 1.05rem;
  box-shadow: 0 14px 34px rgba(255, 95, 184, 0.42);
}
body.pages-v2 .match-tool .privacy-row {
  color: var(--hv2-muted);
}
body.pages-v2 .match-tool .match-result {
  border: 1px solid var(--hv2-line);
  background: rgba(10, 7, 32, 0.6);
}
body.pages-v2 .match-tool .result-header strong {
  font-family: var(--hv2-serif);
}

/* ---------------------------------------------------------------- sign pages: lists and panels */
body.pages-v2 .section-head.left h2,
body.pages-v2 .split-text h2,
body.pages-v2 .mini-panel h3 {
  font-family: var(--hv2-serif);
  letter-spacing: -0.005em;
}
body.pages-v2 .pair-list,
body.pages-v2 .mini-panel {
  border: 1px solid var(--hv2-line);
  background: var(--hv2-glass);
  border-radius: 18px;
}
body.pages-v2 .pair-list b {
  background: linear-gradient(90deg, var(--hv2-gold), #ff8ad0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 1rem;
}
body.pages-v2 .pair-list .pv2-pill-badges .hv2-badge.pv2-sm {
  width: 36px;
  height: 36px;
  font-size: 1.1rem;
}
body.pages-v2 .choice-row .btn {
  border-radius: 999px;
}
body.pages-v2 .choice-row .btn-outline {
  border: 1px solid rgba(214, 180, 255, 0.5);
  background: var(--hv2-glass);
  color: #fff;
}
body.pages-v2 .choice-row .btn-primary {
  background: linear-gradient(90deg, #d24dff 0%, #ff5fb8 48%, #ffb066 100%);
  color: #fff;
}
body.pages-v2 .editorial-aside > .upsell {
  border: 1px solid rgba(255, 150, 210, 0.45);
  background:
    radial-gradient(circle at 15% 0%, rgba(201, 77, 255, 0.35), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(255, 176, 102, 0.18), transparent 50%),
    var(--hv2-glass-strong);
  box-shadow: 0 24px 70px rgba(4, 0, 26, 0.6);
}

@media (max-width: 899px) {
  body.pages-v2 .breadcrumbs {
    width: max-content;
    max-width: 90%;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(10, 7, 32, 0.6);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
  }
  body.pages-v2 .sign-hero {
    gap: 6px;
  }
  .pv2-sign {
    width: 112px;
    height: 112px;
  }
  .pv2-sign .hv2-badge {
    width: 86px;
    height: 86px;
    font-size: 2.6rem;
  }
}

/* ---------------------------------------------------------------- after the trial screenshots */
/* the hero text stays on the dark half, clear of the glowing wheel */
body.pages-v2 .sign-hero > div {
  max-width: 560px;
}
body.pages-v2 .sub-hero {
  min-height: 500px;
}
/* the calculator button keeps the full width on phones (style.css sets a two-column grid and width:auto!important there) */
body.pages-v2 .match-tool .tool-buttons {
  display: flex;
}
body.pages-v2 .match-tool .tool-buttons .btn-primary {
  flex: 1 1 100%;
  width: 100% !important;
}
@media (max-width: 899px) {
  body.pages-v2 .sub-hero {
    min-height: 0;
    padding-bottom: 44px;
  }
}

/* ================================================================ homepage sections below the hero (build_home.py) */
/* "Pick your path": glowing icons from the hero buttons */
body.home-sections-v2 .intent-card {
  position: relative;
  overflow: hidden;
  padding: 28px 24px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
body.home-sections-v2 .intent-card::before {
  content: '';
  position: absolute;
  inset: -40% -40% auto auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, currentColor, transparent 65%);
  opacity: 0.08;
  pointer-events: none;
}
body.home-sections-v2 .intent-card:hover {
  border-color: rgba(255, 207, 143, 0.6);
  box-shadow: 0 18px 50px rgba(201, 77, 255, 0.25);
}
body.home-sections-v2 .intent-card .intent-icon.hs-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  border: 1px solid currentColor;
  background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.03));
  box-shadow: 0 0 26px color-mix(in srgb, currentColor 45%, transparent), inset 0 0 16px color-mix(in srgb, currentColor 25%, transparent);
}
body.home-sections-v2 .intent-card .intent-icon.hs-icon svg {
  width: 28px;
  height: 28px;
}
body.home-sections-v2 .intent-card p {
  color: var(--hv2-muted);
}

/* "Find your star sign": the scene behind the twelve glass cards */
body.home-sections-v2 .combo-strip {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-top: 110px;
  padding-bottom: 110px;
}
body.home-sections-v2 .combo-strip .pv2-scene img {
  object-position: 70% 70%;
}
body.home-sections-v2 .combo-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, var(--hv2-bg) 0%, rgba(10, 7, 32, 0.55) 22%, rgba(10, 7, 32, 0.45) 60%, var(--hv2-bg) 100%),
    linear-gradient(90deg, rgba(10, 7, 32, 0.6), rgba(10, 7, 32, 0.15) 60%, rgba(10, 7, 32, 0.35));
}
body.pages-v2 .sign-card {
  gap: 10px;
  padding: 26px 10px 22px;
  border: 1px solid var(--hv2-line);
  border-radius: 22px;
  background: rgba(22, 14, 52, 0.55);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 16px 40px rgba(4, 0, 26, 0.45);
}
body.pages-v2 .sign-card:hover {
  border-color: rgba(255, 207, 143, 0.6);
  box-shadow: 0 18px 50px rgba(201, 77, 255, 0.3);
}
body.pages-v2 .sign-card .hv2-badge {
  width: 64px;
  height: 64px;
  font-size: 1.9rem;
  border-width: 2px;
}
body.pages-v2 .sign-card strong {
  font-family: var(--hv2-serif);
  font-size: 1.12rem;
  color: #fff;
}
body.pages-v2 .sign-card small {
  color: var(--hv2-muted);
}

/* "A zodiac match is a starting point": the story card */
body.home-sections-v2 .split-text .btn-outline {
  border-radius: 999px;
  border: 1px solid rgba(214, 180, 255, 0.5);
  background: var(--hv2-glass);
  color: #fff;
}
body.home-sections-v2 .explain-card.hs-story {
  min-height: 0;
  padding: 34px 34px 28px;
  gap: 4px;
  border: 1px solid rgba(255, 150, 210, 0.45);
  background:
    radial-gradient(circle at 15% 0%, rgba(201, 77, 255, 0.32), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(255, 176, 102, 0.16), transparent 50%),
    var(--hv2-glass-strong);
  box-shadow: 0 24px 70px rgba(4, 0, 26, 0.6);
}
body.home-sections-v2 .hs-story > span:first-child {
  color: var(--hv2-gold);
  letter-spacing: 0.2em;
}
.hs-step {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 14px;
}
body.home-sections-v2 .hs-step strong {
  display: block;
  margin: 0 0 4px;
  font-family: var(--hv2-serif);
  font-size: 1.7rem;
  letter-spacing: 0;
  color: #fff;
}
body.home-sections-v2 .hs-step p {
  margin: 0;
  color: var(--hv2-muted);
}
.hs-pair {
  flex: 0 0 120px;
  display: flex;
  justify-content: center;
}
.hs-pair .hv2-badge {
  width: 58px;
  height: 58px;
  font-size: 1.7rem;
}
.hs-pair .hv2-badge + .hv2-badge {
  margin-left: -10px;
}
body.home-sections-v2 .hs-story .explain-line {
  margin: 6px 0 0 52px;
  color: var(--hv2-gold);
  text-shadow: 0 0 12px rgba(255, 190, 120, 0.8);
}
.hs-wheel {
  flex: 0 0 120px;
  width: 120px;
  height: 120px;
  filter: drop-shadow(0 0 16px rgba(255, 140, 210, 0.45));
}
.hs-w-outer {
  fill: rgba(18, 11, 44, 0.8);
  stroke: #ffcf8f;
  stroke-width: 1.4;
}
.hs-w-inner,
.hs-w-core {
  fill: none;
  stroke: rgba(255, 207, 143, 0.55);
  stroke-width: 0.8;
}
.hs-w-house {
  stroke: rgba(255, 207, 143, 0.35);
  stroke-width: 0.7;
}
.hs-w-aspect {
  stroke: url(#hs-asp);
  stroke-width: 1.1;
  opacity: 0.9;
}
.hs-w-you {
  fill: #ff5fb8;
}
.hs-w-them {
  fill: #6fd6ff;
}
.hs-cta {
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
  padding: 14px 22px;
  border-radius: 999px;
  background: linear-gradient(90deg, #d24dff 0%, #ff5fb8 48%, #ffb066 100%);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 14px 34px rgba(255, 95, 184, 0.42);
  transition: transform 0.15s ease;
}
.hs-cta:hover {
  transform: translateY(-1px);
}
body.home-sections-v2 .hs-story .pv2-more {
  margin-top: 12px;
}

/* FAQ */
body.home-sections-v2 .faq details {
  margin: 10px 0;
  padding: 18px 22px;
  border: 1px solid var(--hv2-line);
  border-radius: 16px;
  background: var(--hv2-glass);
}
body.home-sections-v2 .faq details[open] {
  border-color: rgba(255, 207, 143, 0.6);
}
body.home-sections-v2 .faq summary {
  font-weight: 600;
  color: #fff;
}
body.home-sections-v2 .faq summary::after {
  color: var(--hv2-gold);
}
body.home-sections-v2 .faq details p {
  color: #d6cbea;
}
body.home-sections-v2 .centered .btn-outline {
  border-radius: 999px;
}

@media (max-width: 899px) {
  body.home-sections-v2 .combo-strip {
    padding-top: 70px;
    padding-bottom: 70px;
  }
  body.home-sections-v2 .combo-strip .pv2-scene {
    height: auto;
    bottom: 0;
  }
  body.home-sections-v2 .combo-strip::before {
    height: auto;
    bottom: 0;
  }
  body.pages-v2 .sign-card .hv2-badge {
    width: 50px;
    height: 50px;
    font-size: 1.45rem;
  }
  body.home-sections-v2 .explain-card.hs-story {
    padding: 26px 20px 22px;
  }
  .hs-step {
    gap: 14px;
  }
  .hs-pair,
  .hs-wheel {
    flex-basis: 92px;
    width: 92px;
    height: 92px;
  }
  .hs-pair .hv2-badge {
    width: 46px;
    height: 46px;
    font-size: 1.35rem;
  }
  body.home-sections-v2 .hs-step strong {
    font-size: 1.35rem;
  }
  body.home-sections-v2 .hs-story .explain-line {
    margin-left: 38px;
  }
}

/* pair pills: one per row on phones, the names never break into three lines */
@media (max-width: 599px) {
  body.pages-v2 .pair-cloud .pair-pill {
    flex: 1 1 100%;
    min-width: 0;
  }
  body.pages-v2 .pair-cloud .pair-pill b {
    margin-left: auto;
  }
}

/* ================================================================ hub pages (build_pages.py build_hub) */
.pv2-ribbon {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 2px 0 18px;
}
.pv2-ribbon .hv2-badge {
  width: 36px;
  height: 36px;
  font-size: 1.05rem;
  border-width: 1px;
  box-shadow: 0 0 12px rgba(255, 150, 210, 0.25);
}
.pv2-hubicon {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  margin: 2px 0 18px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.03));
  box-shadow: 0 0 40px color-mix(in srgb, currentColor 50%, transparent), inset 0 0 20px color-mix(in srgb, currentColor 30%, transparent);
}
.pv2-hubicon svg {
  width: 40px;
  height: 40px;
}
body.hub-v2 .sub-hero .wide-lead,
body.hub-v2 .sub-hero > p {
  max-width: 620px;
  font-size: 1.08rem;
  line-height: 1.65;
  color: #e4daf7;
}
body.hub-v2 .sub-hero h1 {
  max-width: 820px;
}
body.hub-v2 .sub-hero .choice-row {
  margin-top: 22px;
}

/* the calculator page: centered hero over an evenly dimmed scene */
body.hub-compatibility .sub-hero {
  text-align: center;
}
body.hub-compatibility .sub-hero h1,
body.hub-compatibility .sub-hero .wide-lead {
  margin-left: auto;
  margin-right: auto;
}
body.hub-compatibility .sub-hero::before {
  background:
    radial-gradient(ellipse 60% 70% at 50% 55%, rgba(10, 7, 32, 0.82), rgba(10, 7, 32, 0.45) 75%),
    linear-gradient(180deg, rgba(10, 7, 32, 0.5) 0%, rgba(10, 7, 32, 0) 25%, rgba(10, 7, 32, 0) 75%, var(--hv2-bg) 100%);
}
body.hub-compatibility .calc-page-wrap {
  text-align: left;
}

/* 12 x 12 chart as a heat map: violet for lower scores, pink-gold for the highest */
body.pages-v2 .compatibility-matrix .matrix-top h2 {
  font-family: var(--hv2-serif);
}
body.pages-v2 .matrix-top select {
  min-width: 190px;
  padding: 11px 16px;
  border-radius: 999px;
  border: 1px solid rgba(214, 180, 255, 0.45);
  background: rgba(12, 8, 34, 0.75);
  color: #fff;
  font: inherit;
  font-weight: 600;
}
body.pages-v2 .matrix-top select:focus-visible {
  outline: none;
  border-color: var(--hv2-gold);
  box-shadow: 0 0 0 3px rgba(255, 207, 143, 0.25);
}
body.pages-v2 .matrix-top select option {
  background: #0e0828;
  color: #fff;
}
body.pages-v2 .compatibility-matrix .matrix-scroll {
  border: 1px solid var(--hv2-line);
  background: var(--hv2-glass-strong);
  box-shadow: 0 24px 70px rgba(4, 0, 26, 0.55);
}
body.pages-v2 .compatibility-matrix .match-matrix th:first-child {
  background: rgba(18, 11, 44, 0.96);
}
body.pages-v2 .compatibility-matrix .match-matrix thead th .hv2-badge {
  display: inline-grid;
  width: 30px;
  height: 30px;
  font-size: 0.95rem;
  border-width: 1px;
  box-shadow: none;
}
body.pages-v2 .compatibility-matrix .match-matrix tbody th .hv2-badge {
  display: inline-grid;
  width: 24px;
  height: 24px;
  margin-right: 6px;
  vertical-align: middle;
  font-size: 0.78rem;
  border-width: 1px;
  box-shadow: none;
}
body.pages-v2 .match-matrix td a[style] {
  border: 0;
  border-radius: 10px;
  color: #fff;
  font-weight: 700;
  background: hsl(calc(250 + (var(--s) - 55) * 2.4) 72% calc(24% + (var(--s) - 55) * 0.55%));
  box-shadow: 0 0 calc((var(--s) - 78) * 1.2px) hsl(calc(250 + (var(--s) - 55) * 2.4) 90% 60% / 0.7);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
body.pages-v2 .match-matrix td a[style]:hover,
body.pages-v2 .match-matrix td a[style]:focus-visible {
  transform: scale(1.08);
  box-shadow: 0 0 0 2px var(--hv2-gold), 0 8px 22px rgba(0, 0, 0, 0.5);
}
body.pages-v2 .matrix-preview {
  border: 1px solid rgba(255, 150, 210, 0.45);
  border-radius: 16px;
  background: rgba(18, 11, 44, 0.95);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 50px rgba(4, 0, 26, 0.6);
}
body.pages-v2 .mobile-pair-card {
  border: 1px solid var(--hv2-line);
  border-radius: 16px;
  background: var(--hv2-glass);
}

/* the wide partner banner (calculator page) */
body.pages-v2 main > .upsell,
body.pages-v2 .section > .upsell {
  border: 1px solid rgba(255, 150, 210, 0.45);
  background:
    radial-gradient(circle at 10% 0%, rgba(201, 77, 255, 0.35), transparent 50%),
    radial-gradient(circle at 100% 100%, rgba(255, 176, 102, 0.18), transparent 45%),
    var(--hv2-glass-strong);
  box-shadow: 0 24px 70px rgba(4, 0, 26, 0.6);
}
body.pages-v2 .mini-panel a:not(.pair-pill) {
  color: var(--hv2-gold);
}
body.pages-v2 .article-copy .choice-row .btn-outline,
body.pages-v2 .section .choice-row .btn-outline {
  border: 1px solid rgba(214, 180, 255, 0.5);
  background: var(--hv2-glass);
  color: #fff;
}

@media (max-width: 899px) {
  .pv2-ribbon .hv2-badge {
    width: 28px;
    height: 28px;
    font-size: 0.85rem;
  }
  .pv2-ribbon {
    gap: 4px;
  }
  .pv2-hubicon {
    width: 68px;
    height: 68px;
  }
  .pv2-hubicon svg {
    width: 32px;
    height: 32px;
  }
}

/* hubs, after the trial screenshots */
body.hub-v2 .sub-hero h1 {
  max-width: 720px;
  font-size: clamp(2.3rem, 4vw, 3.8rem);
}
body.hub-compatibility .sub-hero h1 {
  max-width: 820px;
}
body.pages-v2 .matrix-top select {
  margin-left: 0;
  max-width: 100%;
}
body.pages-v2 .mobile-pair-card span {
  color: #fff;
  font-weight: 600;
}
body.pages-v2 .mobile-pair-card strong {
  font-size: 0.9rem;
  background: linear-gradient(90deg, var(--hv2-gold), #ff8ad0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
@media (max-width: 899px) {
  .pv2-ribbon {
    gap: 3px;
  }
  .pv2-ribbon .hv2-badge {
    width: 26px;
    height: 26px;
    font-size: 0.8rem;
  }
  body.hub-v2 .sub-hero h1 {
    font-size: clamp(2rem, 8.4vw, 2.6rem);
  }
}

/* ================================================================ /about/, /privacy/ and every Payload page that borrows
   the /about/ frame (/blog/, /guides/...): body.shell-v2 comes with that frame, the scene comes from CSS here */
body.shell-v2 .sub-hero {
  min-height: 440px;
  background: url(/assets/images/scene-sea-1400.webp) 70% 62% / cover no-repeat, var(--hv2-bg);
}
@media (min-width: 1500px) {
  body.shell-v2 .sub-hero {
    background-image: url(/assets/images/scene-sea-2400.webp);
  }
}
body.shell-v2 .sub-hero h1 {
  max-width: 760px;
  font-size: clamp(2.3rem, 4vw, 3.8rem);
}
body.shell-v2 .sub-hero > p,
body.shell-v2 .sub-hero .wide-lead {
  max-width: 620px;
  font-size: 1.08rem;
  line-height: 1.65;
  color: #e4daf7;
}
/* guide cards of /blog/: the plain star becomes a glowing gold medallion */
body.pages-v2 .intent-card .intent-icon:not(.hs-icon):not(.pv2-ibadge) {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid rgba(255, 207, 143, 0.6);
  background: radial-gradient(circle at 35% 30%, rgba(255, 207, 143, 0.3), rgba(201, 77, 255, 0.12));
  color: var(--hv2-gold);
  font-size: 1.4rem;
  box-shadow: 0 0 24px rgba(255, 190, 120, 0.35);
}
body.shell-v2 .intent-card h3 {
  font-family: var(--hv2-serif);
}
body.shell-v2 .intent-card .intent-more {
  color: var(--hv2-gold);
}
body.shell-v2 .sub-hero .choice-row .btn-primary {
  background: linear-gradient(90deg, #d24dff 0%, #ff5fb8 48%, #ffb066 100%);
  color: #fff;
}
@media (max-width: 899px) {
  body.shell-v2 .sub-hero {
    min-height: 0;
    background: url(/assets/images/scene-sea-mobile-900.webp) 50% 0 / 100% auto no-repeat, var(--hv2-bg);
  }
  body.shell-v2 .sub-hero h1 {
    font-size: clamp(2rem, 8.4vw, 2.6rem);
  }
}

/* mobile chart cards drawn by app.js: badges above the pair name */
body.pages-v2 .pv2-mobile-pair {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
