.y-dna-page {
  overflow: hidden;
  width: 100%;
}

.gl-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: var(--gl-space-8) var(--gl-space-6) var(--gl-space-20);
}

/* ─────── Cards / tags / buttons (unchanged) ─────── */
.gl-card {
  background: var(--gl-surface);
  border-radius: var(--gl-radius-lg);
  padding: var(--gl-space-6);
  box-shadow: var(--gl-shadow-card);
  margin: var(--gl-space-3) 0;
}
.gl-card--hero {
  background: var(--gl-cyan-hero);
}
/* `.gl-card--accent` once added a coloured left border; that visual was
     dropped because the surrounding section eyebrow already cues the card
     as a focal one. The class is kept (still used on several templates)
     but now renders identically to a plain `.gl-card`. */
.gl-card--accent {
}
.gl-tag {
  display: inline-flex;
  align-items: center;
  padding: 2px var(--gl-space-3);
  border-radius: var(--gl-radius-pill);
  font-size: var(--gl-tag-size);
  line-height: var(--gl-tag-lh);
  font-weight: var(--gl-tag-weight);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: var(--gl-gray-100);
  color: var(--gl-text);
  margin-right: 4px;
}
.gl-tag--blue {
  background: var(--gl-cat-blue-bg);
  color: var(--gl-cat-blue-darker);
}
.gl-tag--green {
  background: var(--gl-cat-green-bg);
  color: var(--gl-positive-dark);
}
.gl-tag--orange {
  background: var(--gl-cat-orange-bg);
  color: var(--gl-primary-attention-pressed);
}
.gl-tag--purple {
  background: var(--gl-cat-purple-bg);
  color: var(--gl-cat-purple-darker);
}
.gl-tag--pink {
  background: var(--gl-cat-pink-bg);
  color: var(--gl-cat-pink-darker);
}
.gl-tag--yellow {
  background: var(--gl-cat-yellow-bg);
  color: var(--gl-cat-yellow-darker);
}
.gl-tag--tier-a {
  background: var(--gl-positive);
  color: #fff;
}
.gl-tag--tier-b {
  background: var(--gl-warning);
  color: var(--gl-text);
}
.gl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: var(--gl-radius-pill);
  font-family: var(--gl-font);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--gl-transition-base);
  text-decoration: none;
}
.gl-btn--primary {
  background: var(--gl-primary-attention);
  color: #fff;
}
.gl-lp .gl-btn--primary:hover {
  background: var(--gl-primary-attention-hover);
  color: #fff;
  text-decoration: none;
}
.gl-btn--secondary {
  background: transparent;
  color: var(--gl-primary-dark);
  border-color: var(--gl-primary-dark);
}
.gl-lp .gl-btn--secondary:hover {
  background: var(--gl-gray-100);
}
.gl-btn--small {
  padding: 8px 16px;
  font-size: 12px;
}
.gl-stat-grid {
  display: grid;
  gap: var(--gl-space-4);
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
.gl-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.gl-stat__label {
  font-size: var(--gl-caption-size);
  color: var(--gl-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}
.gl-stat__value {
  font-size: var(--gl-h4-size);
  font-weight: var(--gl-h4-weight);
  color: var(--gl-text);
}
/* Muted helper line beneath the headline value — used by the teaser's
     at-a-glance card to clarify what each count represents. */
.gl-stat__sub {
  font-size: var(--gl-caption-size);
  color: var(--gl-text-muted);
  margin-top: 2px;
}
/* Wrap wide data tables so they scroll horizontally inside their card on
     narrow screens instead of pushing the whole page wide. min-width keeps the
     columns readable; the wrapper scrolls below that. */
.gl-tablewrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
}
.gl-tablewrap table {
  margin: 0;
  min-width: 460px;
}
.gl-tablewrap table code,
.gl-tablewrap table .gl-era-tag,
.gl-tablewrap table .gl-tag {
  white-space: nowrap;
}
table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--gl-space-3) 0;
  font-size: var(--gl-small-size);
}
th,
td {
  text-align: left;
  padding: var(--gl-space-3) var(--gl-space-4);
  border-bottom: 1px solid var(--gl-border);
}
th {
  background: var(--gl-gray-50);
  font-weight: 600;
  text-transform: uppercase;
  font-size: var(--gl-caption-size);
  letter-spacing: 0.5px;
  color: var(--gl-text-muted);
}
.gl-lp tr:hover td {
  background: var(--gl-gray-50);
}
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  background: var(--gl-gray-100);
  padding: 2px 6px;
  border-radius: var(--gl-radius-sm);
  color: var(--gl-primary-dark);
}
/* Era pill for the lineage-path table — colour-dot + tinted bg from the same
     era palette as the cascade above, mirroring the tag style of the ancient table. */
.gl-era-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 3px 11px;
  border-radius: var(--gl-radius-pill);
  font-size: var(--gl-tag-size);
  font-weight: 600;
  white-space: nowrap;
  color: var(--gl-primary-dark);
  background: var(--gl-gray-100);
  background: color-mix(
    in srgb,
    var(--era-c, var(--gl-gray-400)) 16%,
    var(--gl-surface)
  );
}
.gl-era-tag__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--era-c, var(--gl-gray-400));
  flex-shrink: 0;
}
.gl-lede {
  font-size: var(--gl-body-size);
  line-height: var(--gl-body-lh);
  color: var(--gl-text-muted);
  margin-top: 0;
  margin-bottom: var(--gl-space-6);
}
.gl-breadcrumb {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  color: var(--gl-text-muted);
  word-break: break-all;
  line-height: 1.7;
}
.gl-breadcrumb a {
  color: var(--gl-primary-dark);
}
.gl-breadcrumb strong {
  color: var(--gl-primary-attention);
}
.gl-section-eyebrow {
  font-size: var(--gl-caption-size);
  color: var(--gl-text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  margin: var(--gl-space-10) 0 var(--gl-space-2);
}
h1 + .gl-lede {
  margin-top: var(--gl-space-3);
}
h2 {
  margin: var(--gl-space-10) 0 var(--gl-space-4);
}
.gl-paywall {
  background: linear-gradient(135deg, var(--gl-cyan-hero), var(--gl-surface));
  border: 1px solid var(--gl-secondary-light);
  border-radius: var(--gl-radius-xl);
  padding: var(--gl-space-8);
  margin-top: var(--gl-space-10);
}
.gl-paywall h2 {
  margin-top: 0;
}
.gl-paywall ul {
  padding-left: var(--gl-space-6);
}
.gl-paywall li {
  margin-bottom: var(--gl-space-2);
}
.gl-toggle-bar {
  display: flex;
  gap: var(--gl-space-3);
  align-items: center;
  flex-wrap: wrap;
  background: var(--gl-gray-100);
  border-radius: var(--gl-radius-pill);
  padding: 6px;
  width: fit-content;
  margin: var(--gl-space-3) 0 var(--gl-space-6);
}
.gl-toggle-bar a,
.gl-toggle-bar span {
  padding: 6px 14px;
  border-radius: var(--gl-radius-pill);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  color: var(--gl-text-muted);
}
.gl-toggle-bar .gl-toggle--active {
  background: var(--gl-surface);
  color: var(--gl-primary-dark);
  box-shadow: var(--gl-shadow-sm);
}

/* ─────── Marketing landing page ─────── */
/* Full-bleed hero band: image covers the full section, copy sits on top */
.gl-lp-hero {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-top: calc(-1 * var(--gl-space-8));
  margin-bottom: 0;
  padding: 96px
    max(var(--gl-space-6), calc((100vw - 1120px) / 2 + var(--gl-space-6)));
  padding-bottom: 264px;
  overflow: hidden;
  min-height: 600px;
  display: flex;
  align-items: center;
}
@media (max-width: 900px) {
  .gl-lp-hero {
    padding: 64px var(--gl-space-6) 264px;
    min-height: 420px;
    margin-bottom: 0;
  }
}
.gl-lp-hero__eyebrow {
  margin: 0 0 32px;
  font-family: "Lexend Deca", var(--gl-font);
  font-size: 20px;
  font-weight: 600;
  color: #155eef;
  letter-spacing: -0.01em;
}
.gl-lp-hero__title {
  font-family: "Lexend Deca", var(--gl-font);
  font-size: 60px;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--gl-primary-dark);
  font-weight: 700;
  margin: 0 0 32px;
  max-width: 544px;
}
@media (max-width: 900px) {
  .gl-lp-hero__title {
    font-size: 40px;
  }
}
@media (max-width: 560px) {
  .gl-lp-hero__title {
    font-size: 34px;
  }
}
.gl-lp-hero__sub {
  font-size: 16px;
  line-height: 1.6;
  color: var(--gl-text-muted);
  margin: 0 0 16px;
  max-width: 520px;
}
.gl-lp-hero__sub--bold {
  font-family: SF-Pro-Text-Semibold, sans-serif;
  font-weight: 600;
  color: var(--gl-text);
}
.gl-lp-hero__cta-row {
  display: flex;
  gap: var(--gl-space-4);
  flex-wrap: wrap;
  align-items: center;
  margin-top: 48px;
  margin-bottom: 0;
}

/* Trust row — 3 reassurance items with icons */
.gl-lp-hero__trust {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--gl-space-3) var(--gl-space-6);
}
.gl-lp-hero__trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--gl-text-muted);
  font-weight: 500;
}
.gl-lp-hero__trust svg {
  color: var(--gl-text-subtle);
  flex-shrink: 0;
}

/* Fluid SVG inside the "What you'll see" feature cards (unrelated to hero) */
.gl-lp-feature__visual svg,
.gl-lp-feature__visual figure > div > svg {
  width: 100% !important;
  height: auto !important;
  max-width: 100% !important;
  display: block;
}
.gl-lp-feature__visual .gl-ancientmap__scroll {
  overflow: visible;
  padding: 0;
  background: transparent;
}
.gl-lp-feature__visual .gl-ancientmap__scroll::after {
  display: none;
}

/* Hero visual: full-bleed faint world map + floating tree chips + focal
     terminal-call pill + era-banded panel + chronological ruler. Bleeds to the
     hero's rounded top/right/bottom edges via negative margins. */
.gl-lp-hero__visual {
  position: relative;
  align-self: stretch;
  min-height: 540px;
  overflow: hidden;
  margin: calc(-1 * var(--gl-space-12)) 0;
}
/* Hero image: absolute background covering the full section */
.gl-lp-hero__visual {
  position: absolute !important;
  inset: 0 !important;
  margin: 0 !important;
  min-height: unset !important;
  z-index: 0;
}
.gl-lp-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.gl-lp-hero__copy {
  position: relative;
  z-index: 1;
  max-width: 640px;
}
/* How it works step images */
.gl-howviz {
  position: relative;
  width: 100%;
  max-width: 300px;
  height: auto;
  margin: 0 auto var(--gl-space-6);
}
.gl-howviz__img {
  width: 100%;
  height: auto;
  display: block;
}
/* Feature card images */
.gl-lp-feature__visual--img {
  padding: 0;
  background: transparent;
  box-shadow: none;
}
.gl-lp-feature__img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--gl-radius-xl);
}
/* Pricing background */
.gl-lp-pricing__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.gl-lp-pricing__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.gl-lp-pricing > div {
  position: relative;
  z-index: 1;
}
/* CTA background image */
.gl-lp-cta__bg-img {
  width: 100%;
  height: auto;
  display: block;
}
.gl-heroviz {
  position: absolute;
  inset: 0;
}
.gl-heroviz__backdrop {
  position: absolute;
  inset: 0;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 24%);
  mask-image: linear-gradient(to right, transparent 0, #000 24%);
}
.gl-heroviz__backdrop .gl-heroback-svg {
  width: 100%;
  height: 100%;
  display: block;
}
.gl-heroback-land {
  fill: rgba(120, 150, 190, 0.22);
  stroke: rgba(120, 150, 190, 0.3);
  stroke-width: 0.5;
}
.gl-heroviz__tree {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Floating ancestor chips — frosted-glass pills (Figma) */
.gl-heroviz__chip {
  position: absolute;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.42);
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 22px;
  padding: 9px 22px;
  font-size: 16px;
  font-weight: 600;
  color: rgba(38, 56, 86, 0.55);
  font-family: var(--gl-font);
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(74, 93, 128, 0.1);
}

/* Blue tree-connector node dots */
.gl-heroviz__node {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #5ca1f3;
  box-shadow: 0 0 0 4px rgba(92, 161, 243, 0.18);
}

.gl-heroviz__leaf {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.gl-heroviz__leaf-name {
  position: relative;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(74, 93, 128, 0.24);
  padding: 14px 30px;
  font-size: 24px;
  font-weight: 700;
  color: var(--gl-primary-dark);
  font-family: var(--gl-font);
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.gl-lp .gl-heroviz__leaf-name::after {
  content: "";
  position: absolute;
  left: 30px;
  bottom: -9px;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 10px solid #4585fd;
}
.gl-heroviz__leaf-tag {
  margin: 13px 0 0 22px;
  background: rgba(69, 133, 253, 0.55);
  color: #fff;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid #4585fd;
  border-radius: 14px;
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

/* Floating ancient-relative portrait tiles (glass placeholders — no photo assets) */
.gl-heroviz__face {
  position: absolute;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 24px;
  border: 1.5px solid rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  box-shadow: 0 26px 50px rgba(2, 0, 75, 0.16);
  color: rgba(38, 56, 86, 0.42);
}
.gl-heroviz__face--blue {
  width: 92px;
  height: 92px;
  background: rgba(122, 184, 255, 0.24);
}
.gl-heroviz__face--amber {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: rgba(255, 213, 122, 0.26);
}
.gl-heroviz__face svg {
  width: 46%;
  height: 46%;
}

/* Frosted era panel with yellow/teal sub-cards (Figma) */
.gl-heroviz__panel {
  position: absolute;
  top: 26%;
  right: 2%;
  width: 246px;
  background: rgba(255, 255, 255, 0.6);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 24px;
  box-shadow: 0 16px 40px rgba(74, 93, 128, 0.18);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.gl-heroviz__era {
  border-radius: 12px;
  padding: 10px 12px;
}
.gl-heroviz__era--paleo {
  background: rgba(255, 184, 3, 0.12);
}
.gl-heroviz__era--neo {
  background: rgba(127, 216, 220, 0.16);
}
.gl-heroviz__era-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(38, 56, 86, 0.65);
}
.gl-heroviz__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}
.gl-heroviz__row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
  padding: 3px 0;
}
.gl-heroviz__row span {
  font-weight: 600;
  color: var(--gl-primary-dark);
}
.gl-heroviz__row em {
  font-style: normal;
  color: rgba(38, 56, 86, 0.55);
}

.gl-heroviz__ruler {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 13%;
  height: 18px;
  pointer-events: none;
}
.gl-lp .gl-heroviz__ruler::before {
  content: "";
  position: absolute;
  left: 50%;
  right: 6%;
  bottom: 0;
  height: 8px;
  background-image: repeating-linear-gradient(
    to right,
    var(--gl-text-subtle) 0,
    var(--gl-text-subtle) 1px,
    transparent 1px,
    transparent 7px
  );
  opacity: 0.4;
}
.gl-heroviz__tick {
  position: absolute;
  bottom: 11px;
  transform: translateX(-50%);
  font-size: 11px;
  font-weight: 600;
  color: var(--gl-text-subtle);
  white-space: nowrap;
}

@media (max-width: 900px) {
  .gl-lp-hero__visual {
    margin: 0;
    min-height: 300px;
    border-radius: var(--gl-radius-lg);
    background: linear-gradient(
      180deg,
      var(--gl-cyan-hero) 0%,
      var(--gl-surface) 100%
    );
  }
  .gl-heroviz__backdrop {
    -webkit-mask-image: none;
    mask-image: none;
  }
  .gl-heroviz__ruler {
    display: none;
  }
  .gl-heroviz__leaf-name {
    font-size: 18px;
    padding: 10px 18px;
  }
}
@media (max-width: 560px) {
  .gl-heroviz__panel {
    top: auto;
    bottom: 6%;
    right: 4%;
    width: 184px;
    padding: 10px;
  }
  .gl-heroviz__chip,
  .gl-heroviz__node,
  .gl-heroviz__face {
    display: none;
  }
}

/* Metrics — 3 elevated cards */
.gl-lp-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: -100px;
  margin-bottom: 96px;
  position: relative;
  z-index: 2;
}
@media (max-width: 768px) {
  .gl-lp-metrics {
    grid-template-columns: 1fr;
  }
}
.gl-lp-metric {
  background: rgba(255, 255, 255, 0.55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 24px;
  box-shadow: 0 16px 24px rgba(2, 0, 75, 0.08);
  padding: var(--gl-space-8);
}
.gl-lp-metric__num {
  font-size: 44px;
  font-family: SF-Pro-Text-Bold, sans-serif;
  font-weight: 700;
  color: var(--gl-primary-dark);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: var(--gl-space-4);
}
.gl-lp-metric__label {
  font-size: 16px;
  color: var(--gl-text-muted);
  line-height: 1.4;
}

/* Feature section: 4 cards stacked vertically, each split into copy+visual.
     Direction alternates per card so the eye zigzags down the page — text-left
     on odd cards (1, 3), visual-left on even (2, 4). On mobile both columns
     collapse to a single vertical stack with copy always on top. */
.gl-lp-feature-stack {
  display: flex;
  flex-direction: column;
  gap: 96px;
  margin: 0 0 96px;
}
.gl-lp-feature {
  display: grid;
  grid-template-columns: 3fr 5fr;
  gap: 96px;
  align-items: center;
}
.gl-lp-feature__copy {
  display: flex;
  flex-direction: column;
  gap: var(--gl-space-3);
}
.gl-lp-feature--right {
  grid-template-columns: 5fr 3fr;
}
.gl-lp-feature--right .gl-lp-feature__copy {
  order: 2;
}
.gl-lp-feature--right .gl-lp-feature__visual {
  order: 1;
}
@media (max-width: 768px) {
  .gl-lp-feature {
    grid-template-columns: 1fr;
    gap: var(--gl-space-5);
  }
  .gl-lp-feature--right .gl-lp-feature__copy,
  .gl-lp-feature--right .gl-lp-feature__visual {
    order: 0;
  }
}
.gl-lp-feature__visual {
  background: var(--gl-gray-50);
  border-radius: var(--gl-radius-md);
  padding: var(--gl-space-4);
  overflow: hidden;
}
.gl-lp-feature__visual--map {
  padding: 0;
}
.gl-lp-feature__visual .gl-timeline,
.gl-lp-feature__visual .gl-ancientmap {
  box-shadow: none;
  border-radius: var(--gl-radius-md);
}
.gl-lp-feature__visual .gl-timeline__caption,
.gl-lp-feature__visual .gl-ancientmap__caption,
.gl-lp-feature__visual .gl-timeline__scroll {
  background: transparent;
}

.gl-lp-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gl-space-6);
  margin: var(--gl-space-6) 0 var(--gl-space-12);
}
@media (max-width: 768px) {
  .gl-lp-steps {
    grid-template-columns: 1fr;
  }
}
.gl-lp-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gl-primary-attention);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: var(--gl-space-3);
}

/* ─────── User-journey "How it works" (close to hero) ─────── */
/* Distinct from the technical "Under the hood" steps below: this one
     describes what HAPPENS TO THE USER (eligibility check → free preview
     → paid full report), not how the haplogroup is computed. */
.gl-lp-howto {
  text-align: center;
  background: #f1f5fb;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-top: 96px;
  margin-bottom: 96px;
  padding: 96px
    max(var(--gl-space-6), calc((100vw - 1120px) / 2 + var(--gl-space-6)));
}
.gl-lp-howto > h2 {
  margin: var(--gl-space-3) 0 var(--gl-space-10);
}
.gl-lp-howto__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
}
@media (max-width: 768px) {
  .gl-lp-howto__grid {
    grid-template-columns: 1fr;
    gap: var(--gl-space-6);
  }
}
.gl-lp-howto-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--gl-space-3);
}
/* The two overlapping pastel circles are pure CSS. Sized fluidly via
     `aspect-ratio: 1/1` so they scale with the column width and stay
     consistent across viewports. */
.gl-lp-howto-step__visual {
  position: relative;
  width: 180px;
  height: 180px;
  margin-bottom: var(--gl-space-3);
}
.gl-lp-howto-step__visual::before,
.gl-lp-howto-step__visual::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  opacity: 0.55;
}
.gl-lp-howto-step__visual::before {
  top: 0;
  left: 8px;
}
.gl-lp-howto-step__visual::after {
  bottom: 0;
  right: 8px;
}
.gl-lp-howto-step--1 .gl-lp-howto-step__visual::before {
  background: var(--gl-cat-blue-bg);
}
.gl-lp-howto-step--1 .gl-lp-howto-step__visual::after {
  background: var(--gl-cat-purple-bg);
}
.gl-lp-howto-step--2 .gl-lp-howto-step__visual::before {
  background: var(--gl-cat-orange-bg);
}
.gl-lp-howto-step--2 .gl-lp-howto-step__visual::after {
  background: var(--gl-cat-pink-bg);
}
.gl-lp-howto-step--3 .gl-lp-howto-step__visual::before {
  background: var(--gl-cat-green-bg);
}
.gl-lp-howto-step--3 .gl-lp-howto-step__visual::after {
  background: var(--gl-cat-blue-bg);
}
.gl-lp-howto-step__visual-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 56px;
  line-height: 1;
  z-index: 1;
}
.gl-lp-howto-step__eyebrow {
  font-size: var(--gl-caption-size);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--gl-secondary);
  margin: 0;
}
.gl-lp-howto-step__title {
  margin: 0;
  font-size: 22px;
  line-height: 1.25;
  color: var(--gl-primary-dark);
}
.gl-lp-howto-step__body {
  margin: 0;
  color: var(--gl-text-muted);
  line-height: 1.6;
  max-width: 280px;
}
.gl-lp-howto__cta {
  margin-top: var(--gl-space-10);
}

/* FAQ accordion — semantic <details>/<summary>, no JS */
.gl-faq {
  display: flex;
  flex-direction: column;
  gap: var(--gl-space-3);
  margin: var(--gl-space-6) 0;
}
.gl-faq details {
  background: var(--gl-surface);
  border-radius: var(--gl-radius-lg);
  box-shadow: var(--gl-shadow-card);
  padding: var(--gl-space-5) var(--gl-space-6);
  transition: var(--gl-transition-base);
}
.gl-faq summary {
  font-weight: 600;
  font-size: 16px;
  color: var(--gl-primary-dark);
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 32px;
}
.gl-lp .gl-faq summary::-webkit-details-marker {
  display: none;
}
.gl-lp .gl-faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  font-weight: 400;
  color: var(--gl-text-muted);
  transition: transform 0.15s ease;
}
.gl-lp .gl-faq details[open] summary::after {
  content: "−";
}
.gl-faq details > p,
.gl-faq details > div {
  margin: var(--gl-space-4) 0 0;
  color: var(--gl-text-muted);
  line-height: 1.6;
}

/* pricing legacy block removed — see .gl-lp .gl-lp-pricing below */

.gl-section-heading--lp {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--gl-space-6);
  margin: var(--gl-space-12) 0 var(--gl-space-3);
  flex-wrap: wrap;
}
.gl-footer {
  color: var(--gl-text-subtle);
  font-size: var(--gl-caption-size);
  padding: var(--gl-space-8) var(--gl-space-6);
  text-align: center;
  border-top: 1px solid var(--gl-border);
  background: var(--gl-surface);
}

/* ═══════════════════ Landing V2 (Figma 23120-23330) ═══════════════════ */
/* All rules scoped under .gl-lp so the report flow surfaces are untouched. */
.gl-lp .gl-btn--primary,
.gl-lp .gl-btn--secondary {
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 13px;
  font-weight: 700;
}
/* Centered section header (How it works · Four ways · Pricing · CTA) */
.gl-lp-head {
  text-align: center;
  max-width: 928px;
  margin: 96px auto 64px;
}
.h-i-w {
  margin-bottom: -32px !important;
}

@media screen and (max-width: 768px) {
  .h-i-w {
    margin-bottom: 0 !important;
  }
}

.gl-lp-head h2 {
  font-size: 40px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--gl-primary-dark);
  font-weight: 800;
  margin: 0 0 var(--gl-space-4);
}
.gl-lp-head p {
  color: var(--gl-text-muted);
  font-size: 16px;
  margin: 0;
}
@media (max-width: 768px) {
  .gl-lp-head h2 {
    font-size: 30px;
  }
}

/* ── How it works: illustration mockups ── */
.gl-howviz {
  position: relative;
  width: 100%;
  max-width: 300px;
  height: 168px;
  margin: 0 auto var(--gl-space-6);
}
.gl-howviz__card {
  position: absolute;
  left: 50%;
  top: 14px;
  transform: translateX(-50%);
  width: 252px;
  background: var(--gl-surface);
  border: 1px solid var(--gl-border);
  border-radius: var(--gl-radius-lg);
  box-shadow: var(--gl-shadow-medium);
  padding: var(--gl-space-4) var(--gl-space-5);
  text-align: left;
}
.gl-howviz__filehead {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--gl-primary-dark);
  margin-bottom: var(--gl-space-3);
}
.gl-howviz__filehead svg {
  color: var(--gl-secondary);
}
.gl-howviz__bars {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.gl-howviz__bars i {
  display: block;
  height: 7px;
  border-radius: 4px;
  background: var(--gl-gray-100);
}
.gl-howviz__bars i.is-data {
  background: var(--gl-secondary);
  opacity: 0.85;
}
.gl-howviz__bars i.w1 {
  width: 88%;
}
.gl-howviz__bars i.w2 {
  width: 64%;
}
.gl-howviz__bars i.w3 {
  width: 46%;
}
.gl-howviz__bars i.w4 {
  width: 72%;
}
.gl-howviz__badge {
  position: absolute;
  bottom: 6px;
  right: 2px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: var(--gl-radius-pill);
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  box-shadow: var(--gl-shadow-medium);
}
.gl-howviz__badge--green {
  background: var(--gl-positive, #1aa179);
}
.gl-howviz__pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: var(--gl-radius-pill);
  font-size: 12px;
  font-weight: 700;
}
.gl-howviz__pill--blue {
  background: var(--gl-secondary);
  color: #fff;
}
.gl-howviz__previewhead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--gl-space-4);
}
.gl-howviz__hg {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 22px;
  font-weight: 700;
  color: var(--gl-primary-dark);
}
.gl-howviz__stats {
  display: flex;
  gap: var(--gl-space-5);
  margin-bottom: var(--gl-space-3);
}
.gl-howviz__stats b {
  font-size: 20px;
  font-weight: 800;
  color: var(--gl-primary-dark);
}
.gl-howviz__chips {
  display: flex;
  flex-direction: column;
  gap: 7px;
  align-items: flex-start;
}
.gl-howviz__chip {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--gl-radius-pill);
  border: 1px solid var(--gl-border);
}
.gl-howviz__chip--y {
  color: #b88300;
  background: var(--gl-cat-yellow-bg, #fff7e0);
}
.gl-howviz__chip--g {
  color: #1aa179;
  background: var(--gl-cat-green-bg, #e6f7f0);
}
.gl-howviz__chip--r {
  color: #c0392b;
  background: var(--gl-cat-pink-bg, #fdecea);
}
.gl-howviz__minimap {
  position: absolute;
  right: -10px;
  top: 8px;
  width: 120px;
  height: 96px;
  opacity: 0.5;
}
.gl-howviz__minimap svg {
  width: 100%;
  height: 100%;
}
.gl-howviz__minimap .gl-heroback-land {
  fill: rgba(120, 150, 190, 0.3);
  stroke: none;
}

/* ── Honest caveats: 2×2 icon-card grid ── */
.gl-caveats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 0 0 96px;
}
@media (max-width: 768px) {
  .gl-caveats {
    grid-template-columns: 1fr;
  }
}
.gl-caveat {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: rgba(210, 229, 250, 0.5);
  border: 1px solid rgba(201, 214, 228, 0.1);
  border-radius: 16px;
  padding: 32px;
}
.gl-caveat__icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gl-caveat__icon img {
  display: block;
}
.gl-caveat__title {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.44;
  color: var(--gl-primary-dark);
}
.gl-caveat__body {
  margin: 0;
  font-size: 14px;
  line-height: 1.43;
  color: var(--gl-text-muted);
}

/* ── Feature stack V2: open layout (no card box), per-card CTA, glassy visual ── */
.gl-lp .gl-lp-feature {
  background: transparent;
  box-shadow: none;
  padding: 0;
  gap: 96px;
}
.gl-lp .gl-lp-feature__copy {
  gap: var(--gl-space-4);
}
.gl-lp-feature__eyebrow {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--gl-secondary);
  margin: 0;
}
.gl-lp .gl-lp-feature__copy h3 {
  font-size: 26px;
  line-height: 1.2;
  color: var(--gl-primary-dark);
  margin: 0;
}
.gl-lp-feature__cta {
  margin-top: var(--gl-space-2);
}
.gl-lp .gl-lp-feature__visual {
  background: linear-gradient(
    150deg,
    var(--gl-cat-blue-bg, #eef4ff) 0%,
    rgba(202, 240, 242, 0.35) 100%
  );
  border-radius: var(--gl-radius-xl);
  box-shadow: var(--gl-shadow-card);
  padding: var(--gl-space-6);
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.gl-lp .gl-lp-feature__visual--img {
  background: none;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  min-height: 0;
}
.gl-lp .gl-lp-feature__visual--map {
  padding: 0;
  overflow: hidden;
}

/* ── Pricing V2: open layout (no boxed card) — heading + bullets sit on the
        page, only the $49 tile is a card (Figma). Faint glow, no surface/radius. ── */
.gl-lp-pricing {
  display: flex;
  flex-direction: column;
  gap: 48px;
  padding: 96px
    max(var(--gl-space-6), calc((100vw - 1120px) / 2 + var(--gl-space-6)));
  width: 100vw;
  margin-left: calc(50% - 50vw);
  position: relative;
  overflow: hidden;
}
.gl-lp-pricing__row {
  display: flex;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.gl-lp-pricing h2 {
  color: var(--gl-primary-dark);
  font-family: "Lexend Deca", var(--gl-font);
  font-size: 48px;
  font-weight: 700;
  line-height: 1.33;
  letter-spacing: 0;
  margin: 0;
  position: relative;
  z-index: 1;
}
.gl-lp-pricing__list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  flex: 1;
}
.gl-lp-pricing__item {
  display: flex;
  gap: 16px;
  align-items: center;
}
.gl-lp-pricing__item img {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}
.gl-lp-pricing__item span {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.44;
  color: var(--gl-primary-dark);
}
.gl-lp-pricing__price {
  flex-shrink: 0;
  width: 380px;
  border-radius: 32px;
  border: 2px solid #fff;
  background: rgba(255, 255, 255, 0.4);
  box-shadow: 0 16px 24px 0 rgba(2, 0, 75, 0.08);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  padding: 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.gl-lp-pricing__price-amount {
  font-family: "Lexend Deca", var(--gl-font);
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
  color: var(--gl-primary-dark);
}
.gl-lp-pricing__price-sub {
  font-size: 14px;
  color: rgba(38, 56, 86, 0.6);
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 8px;
}
.gl-lp-pricing__price-footer {
  font-size: 14px;
  color: rgba(38, 56, 86, 0.6);
}
@media (max-width: 768px) {
  .gl-lp-pricing {
    padding: var(--gl-space-8) var(--gl-space-6);
  }
  .gl-lp-pricing__row {
    flex-direction: column;
  }
  .gl-lp-pricing__price {
    width: 100%;
  }
}

/* ── FAQ V2: light-blue panel + centered title ── */
.gl-faq-panel {
  background: rgba(210, 229, 250, 0.5);
  border-radius: 16px;
  padding: 64px 48px;
  margin: 0 0 96px;
  display: flex;
  flex-direction: column;
  gap: 64px;
}
@media (max-width: 768px) {
  .gl-faq-panel {
    padding: 64px var(--gl-space-5);
  }
}
.gl-faq-panel__title {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  color: var(--gl-primary-dark);
  margin: 0;
  line-height: 1.25;
}
.gl-faq-panel .gl-faq {
  gap: 48px;
  margin: 0;
}
.gl-faq-panel .gl-faq details {
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  border-bottom: none;
  padding: 0;
}
.gl-lp .gl-faq-panel .gl-faq details:last-child {
  border-bottom: none;
}

/* ── Closing CTA V3: open full-bleed band, prominent bleeding map, relative cards ── */
.gl-lp-cta {
  position: relative;
  text-align: center;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-top: 0;
  padding: 128px var(--gl-space-8) 673px;
  margin-bottom: -80px;
  background: radial-gradient(
    56% 82% at 62% 80%,
    rgba(150, 205, 255, 0.26) 0%,
    rgba(202, 240, 242, 0.12) 46%,
    rgba(255, 255, 255, 0) 72%
  );
}
@media (max-width: 900px) {
  .gl-lp-cta {
    padding: 64px var(--gl-space-6) 64px;
  }
}
.gl-lp-cta__backdrop {
  position: absolute;
  left: 0;
  right: 0;
  top: -96px;
  bottom: auto;
  z-index: 0;
}
.gl-lp-cta__backdrop svg {
  width: 100%;
  height: 100%;
  display: block;
}
.gl-lp-cta__backdrop .gl-heroback-land {
  fill: rgba(135, 165, 205, 0.26);
  stroke: rgba(135, 165, 205, 0.2);
  stroke-width: 0.4;
}
.gl-lp-cta__inner {
  position: relative;
  z-index: 2;
}
.gl-lp-cta__inner h2 {
  font-size: 44px;
  line-height: 1.12;
  letter-spacing: -0.01em;
  font-weight: 700;
  color: var(--gl-primary-dark);
  margin: 0 0 var(--gl-space-4);
}
.gl-lp-cta__inner > p {
  color: var(--gl-text-muted);
  max-width: 520px;
  margin: 0 auto var(--gl-space-6);
}

/* decorative blue pins on the CTA map */
.gl-lp-cta__pin {
  position: absolute;
  z-index: 1;
  transform: translate(-50%, -50%);
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #5ca1f3;
  box-shadow: 0 0 0 6px rgba(92, 161, 243, 0.16);
}

.gl-lp-cta__card {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(74, 93, 128, 0.16);
  padding: 10px 16px 10px 10px;
  text-align: left;
}
.gl-lp-cta__avatar {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--gl-cat-blue-bg, #eef4ff);
  color: var(--gl-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.gl-lp-cta__name {
  font-size: 14px;
  font-weight: 700;
  color: var(--gl-primary-dark);
}
.gl-lp-cta__name--blue {
  color: var(--gl-secondary);
}
.gl-lp-cta__meta {
  font-size: 12px;
  color: var(--gl-text-muted);
  line-height: 1.35;
}
.gl-lp-cta__chip {
  display: inline-block;
  margin-top: 5px;
  font-size: 11px;
  font-weight: 600;
  color: var(--gl-secondary);
  background: var(--gl-cat-blue-bg, #eef4ff);
  border-radius: 6px;
  padding: 2px 8px;
}
.gl-lp-cta__card--a {
  left: 9%;
  top: 48%;
}
.gl-lp-cta__card--b {
  right: 7%;
  top: 54%;
}
.gl-lp-cta__card--c {
  right: 9%;
  top: 75%;
}
@media (max-width: 900px) {
  .gl-lp-cta__card,
  .gl-lp-cta__pin {
    display: none;
  }
}

/* Section headings → Lexend Deca, matching the hero title (Figma) */
.gl-lp-head h2,
.gl-lp-pricing h2,
.gl-faq-panel__title,
.gl-lp-cta__inner h2 {
  font-family: "Lexend Deca", var(--gl-font);
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* ── Mega-footer (Genomelink site chrome) ── */
.gl-megafooter {
  background: var(--gl-cat-blue-bg, #eef4ff);
  border-top: 1px solid var(--gl-border);
  padding: var(--gl-space-12) 0 var(--gl-space-8);
}
.gl-megafooter__inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 var(--gl-space-6);
}
.gl-megafooter__cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gl-space-8) var(--gl-space-6);
}
@media (max-width: 900px) {
  .gl-megafooter__cols {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 540px) {
  .gl-megafooter__cols {
    grid-template-columns: 1fr;
  }
}
.gl-megafooter__h {
  font-size: 15px;
  font-weight: 700;
  color: var(--gl-primary-dark);
  margin: 0 0 var(--gl-space-3);
  padding-bottom: var(--gl-space-2);
  border-bottom: 1px solid var(--gl-border);
}
.gl-megafooter__sub {
  font-size: 12px;
  font-weight: 700;
  color: var(--gl-text);
  margin: var(--gl-space-4) 0 var(--gl-space-2);
}
.gl-megafooter__list {
  list-style: none;
  margin: 0 0 var(--gl-space-2);
  padding: 0;
}
.gl-megafooter__list li {
  margin: 0 0 7px;
}
.gl-megafooter__list a {
  font-size: 13px;
  color: var(--gl-text-muted);
  text-decoration: none;
}
.gl-lp .gl-megafooter__list a:hover {
  color: var(--gl-secondary);
  text-decoration: underline;
}
.gl-megafooter__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gl-space-4);
  margin-top: var(--gl-space-10);
  padding-top: var(--gl-space-6);
  border-top: 1px solid var(--gl-border);
  flex-wrap: wrap;
}
.gl-megafooter__brand {
  display: flex;
  align-items: center;
  gap: var(--gl-space-4);
  font-weight: 700;
  color: var(--gl-primary-dark);
}
.gl-megafooter__social {
  display: flex;
  gap: var(--gl-space-3);
  color: var(--gl-text-muted);
}
.gl-megafooter__copy {
  font-size: 12px;
  color: var(--gl-text-subtle);
}

.gl-lp-under-head {
  color: #263856;
  text-align: center;
  font-size: 16px;
  font-weight: 400;
  line-height: 150%;
  max-width: 544px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 64px;
  margin-top: 0;
}

@media screen and (max-width: 768px) {
  .gl-lp-under-head {
    margin-bottom: 32px;
  }
}
