/* GeneEvidence product landing page (/geneevidence/). Scoped with the .gx- prefix so it
   never collides with the compiled theme. Palette follows the GeneEvidence app:
   navy #0b2a5b, blue #1565c0, sky #7cc4ff. */

.gx-page {
  --gx-navy: #0b2a5b;
  --gx-navy-deep: #071a3a;
  --gx-blue: #1565c0;
  --gx-blue-dark: #0d4f9e;
  --gx-sky: #7cc4ff;
  --gx-tint: #eef5ff;
  --gx-ink: #0f172a;
  --gx-text: #334155;
  --gx-muted: #64748b;
  --gx-line: #e2e8f0;
  --gx-bg: #f6f8fb;
  --gx-ok: #0f8a5f;
}

.gx-page [hidden] {
  display: none !important;
}

.gx-wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.gx-eyebrow {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gx-blue);
}

.gx-h2 {
  margin: 0 0 14px;
  font-size: clamp(1.6rem, 3.2vw, 2.25rem);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--gx-ink);
}

.gx-intro {
  margin: 0 0 36px;
  max-width: 44rem;
  font-size: 1.075rem;
  line-height: 1.6;
  color: var(--gx-text);
}

/* ── Buttons ──────────────────────────────────────────────────────────── */

.gx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 26px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s, transform 0.15s;
}

.gx-btn:focus-visible {
  outline: 3px solid rgba(124, 196, 255, 0.7);
  outline-offset: 3px;
}

.gx-btn-primary {
  background: #fff;
  color: var(--gx-navy);
  box-shadow: 0 10px 30px rgba(3, 14, 38, 0.35);
}

.gx-btn-primary:hover {
  background: var(--gx-tint);
  transform: translateY(-1px);
}

.gx-btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
}

.gx-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

.gx-btn-solid {
  background: var(--gx-blue);
  color: #fff;
}

.gx-btn-solid:hover {
  background: var(--gx-blue-dark);
}

.gx-btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}

/* ── Hero ─────────────────────────────────────────────────────────────── */

.gx-hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 72px;
  background:
    radial-gradient(900px 520px at 85% 10%, rgba(21, 101, 192, 0.55), transparent 70%),
    linear-gradient(160deg, var(--gx-navy) 0%, var(--gx-navy-deep) 100%);
  color: #fff;
}

.gx-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}

.gx-hero .gx-eyebrow {
  color: var(--gx-sky);
}

.gx-hero h1 {
  margin: 0 0 18px;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
}

.gx-lede {
  margin: 0 0 30px;
  max-width: 36rem;
  font-size: clamp(1.05rem, 1.7vw, 1.2rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.86);
}

.gx-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.gx-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.9);
}

.gx-checks li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.gx-checks svg {
  width: 16px;
  height: 16px;
  color: #6ee7b7;
  flex: none;
}

.gx-signin {
  margin: 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

.gx-signin a {
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Browser frame around app screenshots */
.gx-frame {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 30px 80px rgba(2, 10, 30, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.gx-frame-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 14px;
  background: #e9eef5;
  border-bottom: 1px solid #dbe3ee;
}

.gx-frame-bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #c3ccd9;
}

.gx-frame-bar span {
  flex: 1;
  margin-left: 10px;
  max-width: 340px;
  padding: 4px 12px;
  border-radius: 7px;
  background: #fff;
  font-size: 12px;
  color: var(--gx-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gx-frame img,
.gx-frame video {
  display: block;
  width: 100%;
  height: auto;
}

/* ── Sources strip ────────────────────────────────────────────────────── */

.gx-sources {
  padding: 22px 0;
  background: #fff;
  border-bottom: 1px solid var(--gx-line);
}

.gx-sources .gx-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 14px;
}

.gx-sources p {
  margin: 0 6px 0 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--gx-muted);
}

.gx-sources ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gx-sources li {
  padding: 6px 12px;
  border: 1px solid var(--gx-line);
  border-radius: 999px;
  background: var(--gx-bg);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--gx-navy);
}

/* ── Sections ─────────────────────────────────────────────────────────── */

.gx-section {
  padding: 80px 0;
  background: #fff;
}

.gx-section-alt {
  background: var(--gx-bg);
}

.gx-center {
  text-align: center;
}

.gx-center .gx-intro {
  margin-left: auto;
  margin-right: auto;
}

/* Tour dialog */
.gx-dialog {
  width: min(1120px, calc(100vw - 32px));
  max-width: none;
  max-height: calc(100vh - 32px);
  inset: 0;
  margin: auto; /* the site reset zeroes margins, which un-centres a modal dialog */
  padding: 0;
  border: 0;
  border-radius: 16px;
  overflow: hidden;
  background: #0b1b38;
  color: #fff;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.55);
}

.gx-dialog::backdrop {
  background: rgba(3, 10, 28, 0.82);
  backdrop-filter: blur(3px);
}

.gx-dialog-head,
.gx-dialog-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px 12px 20px;
}

.gx-dialog-head h2 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}

.gx-dialog-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  cursor: pointer;
}

.gx-dialog-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.gx-dialog-close:focus-visible {
  outline: 3px solid rgba(124, 196, 255, 0.7);
  outline-offset: 2px;
}

.gx-dialog-close svg {
  width: 20px;
  height: 20px;
}

.gx-dialog video {
  display: block;
  width: 100%;
  height: auto;
  max-height: calc(100vh - 170px);
  background: #000;
}

.gx-dialog-foot {
  flex-wrap: wrap;
  padding: 14px 20px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
}

.gx-dialog-foot .gx-btn {
  min-height: 44px;
  font-size: 15px;
}

.gx-modal-open {
  overflow: hidden;
}

/* How it works */
.gx-steps {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  margin: 0 0 40px;
  padding: 0;
  list-style: none;
  counter-reset: gx-step;
}

.gx-steps li {
  position: relative;
  padding: 26px 24px 24px;
  border: 1px solid var(--gx-line);
  border-radius: 16px;
  background: #fff;
  counter-increment: gx-step;
}

.gx-steps li::before {
  content: counter(gx-step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 14px;
  border-radius: 10px;
  background: var(--gx-tint);
  color: var(--gx-blue);
  font-weight: 800;
}

.gx-steps h3,
.gx-feature h3,
.gx-trial-steps h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gx-ink);
}

.gx-steps p,
.gx-feature p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--gx-text);
}

.gx-shot {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--gx-line);
  background: #fff;
  box-shadow: 0 18px 50px rgba(11, 42, 91, 0.12);
}

.gx-shot img {
  display: block;
  width: 100%;
  height: auto;
}

/* A screenshot that would be too tall at full width (e.g. a dialog) */
.gx-shot.gx-shot-narrow {
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* Feature rows */
.gx-features {
  display: grid;
  gap: 72px;
}

.gx-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  align-items: center;
}

.gx-feature .gx-tag {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gx-blue);
}

.gx-feature h3 {
  font-size: clamp(1.3rem, 2.4vw, 1.65rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.gx-feature ul {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.gx-feature li {
  position: relative;
  margin: 0 0 8px;
  padding-left: 22px;
  font-size: 0.975rem;
  line-height: 1.55;
  color: var(--gx-text);
}

.gx-feature li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gx-blue);
}

.gx-note {
  margin: 48px auto 0;
  max-width: 46rem;
  padding: 14px 18px;
  border-left: 3px solid var(--gx-sky);
  border-radius: 6px;
  background: var(--gx-tint);
  font-size: 14px;
  line-height: 1.55;
  color: var(--gx-text);
}

/* Audience + sample questions */
.gx-two {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 48px;
}

.gx-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gx-chips li {
  padding: 10px 16px;
  border: 1px solid var(--gx-line);
  border-radius: 999px;
  background: #fff;
  font-size: 15px;
  font-weight: 600;
  color: var(--gx-navy);
}

.gx-questions {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gx-questions li {
  padding: 14px 18px;
  border: 1px solid var(--gx-line);
  border-radius: 12px;
  background: #fff;
  font-size: 15px;
  line-height: 1.5;
  color: var(--gx-ink);
}

.gx-questions li::before {
  content: "“";
  margin-right: 2px;
  color: var(--gx-blue);
  font-weight: 800;
}

.gx-questions li::after {
  content: "”";
  color: var(--gx-blue);
  font-weight: 800;
}

/* Same cards for statements: a tick instead of quotation marks */
.gx-questions.gx-uses li {
  position: relative;
  padding-left: 44px;
}

.gx-questions.gx-uses li::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 19px;
  width: 12px;
  height: 7px;
  margin: 0;
  border-left: 2.5px solid var(--gx-blue);
  border-bottom: 2.5px solid var(--gx-blue);
  transform: rotate(-45deg);
}

.gx-questions.gx-uses li::after {
  content: none;
}

/* In-page links land below the sticky site header */
.gx-section[id] {
  scroll-margin-top: 72px;
}

/* Curation services: a solid button beside a plain text link */
.gx-services-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
  margin-top: 28px;
}

.gx-link {
  color: var(--gx-blue);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.gx-link:hover {
  color: var(--gx-blue-dark);
}

/* Trial band */
.gx-trial {
  padding: 80px 0;
  background:
    radial-gradient(800px 420px at 15% 0%, rgba(21, 101, 192, 0.5), transparent 70%),
    linear-gradient(160deg, var(--gx-navy) 0%, var(--gx-navy-deep) 100%);
  color: #fff;
}

.gx-trial .gx-h2 {
  color: #fff;
}

.gx-trial .gx-intro {
  color: rgba(255, 255, 255, 0.85);
}

.gx-trial-steps {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  margin: 0 0 34px;
  padding: 0;
  list-style: none;
  counter-reset: gx-t;
}

.gx-trial-steps li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  counter-increment: gx-t;
}

.gx-trial-steps li::before {
  content: counter(gx-t);
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #fff;
  color: var(--gx-navy);
  font-weight: 800;
  font-size: 14px;
}

.gx-trial-steps h3 {
  margin: 3px 0 4px;
  font-size: 1.02rem;
  color: #fff;
}

.gx-trial-steps p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.78);
}

.gx-fine {
  margin: 14px 0 0;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.7);
}

.gx-fine a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Webinar strip (hidden after the event by promo-expiry.js) */
.gx-live {
  padding: 18px 0;
  background: var(--gx-tint);
  border-top: 1px solid #d6e6fb;
  border-bottom: 1px solid #d6e6fb;
}

.gx-live .gx-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 16px;
  font-size: 15px;
  color: var(--gx-navy);
  text-align: center;
}

.gx-live a {
  font-weight: 700;
  color: var(--gx-blue);
  text-decoration: none;
}

.gx-live a:hover {
  text-decoration: underline;
}

/* FAQ */
.gx-faq {
  max-width: 820px;
  margin: 0 auto;
}

.gx-faq details {
  border-bottom: 1px solid var(--gx-line);
}

.gx-faq summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 4px;
  cursor: pointer;
  list-style: none;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gx-ink);
}

.gx-faq summary::-webkit-details-marker {
  display: none;
}

.gx-faq summary::after {
  content: "+";
  flex: none;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--gx-blue);
  transition: transform 0.2s;
}

.gx-faq details[open] summary::after {
  transform: rotate(45deg);
}

.gx-faq summary:focus-visible {
  outline: 3px solid rgba(21, 101, 192, 0.35);
  outline-offset: 2px;
  border-radius: 6px;
}

.gx-faq details p {
  margin: 0 0 20px;
  padding: 0 4px;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--gx-text);
}

.gx-faq a {
  color: var(--gx-blue);
  font-weight: 600;
}

/* ── Larger screens ───────────────────────────────────────────────────── */

@media (min-width: 768px) {
  .gx-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .gx-trial-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .gx-two {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

@media (min-width: 1024px) {
  .gx-hero {
    padding: 80px 0 96px;
  }

  .gx-hero-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }

  .gx-feature {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 56px;
  }

  .gx-feature.gx-flip {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  }

  .gx-feature.gx-flip > :first-child {
    order: 2;
  }
}

@media (max-width: 480px) {
  .gx-wrap {
    padding: 0 16px;
  }

  .gx-cta-row .gx-btn {
    width: 100%;
  }

  .gx-section,
  .gx-trial {
    padding: 56px 0;
  }
}

@media (max-width: 480px) {
  .gx-dialog-foot .gx-btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gx-btn,
  .gx-faq summary::after {
    transition: none;
  }
}
