/* BioDecode - Nordic minimal product system */

@font-face {
  font-family: 'Manrope';
  src: url('assets/fonts/manrope-400-800.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

@font-face {
  font-family: 'JetBrains Mono';
  src: url('assets/fonts/jetbrains-mono-500-600.woff2') format('woff2');
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
}

:root {
  --ink-950: #11161d;
  --ink-900: #19222b;
  --ink-800: #293847;
  --ink-700: #425466;
  --ink-500: #5d7286;
  --ink-300: #b8c5d1;
  --ice-50: #f5f8fa;
  --ice-100: #edf2f6;
  --ice-200: #dde5ec;
  --teal-700: #2e6c76;
  --teal-600: #3d7e89;
  --teal-100: #e8f4f5;
  --green-600: #2c8e6d;
  --green-100: #e7f6f0;
  --red-600: #b84e4e;
  --red-100: #faecec;
  --white: #ffffff;

  /* Nucleotide accents (chromatogram convention: A green, C blue, G amber, T red) */
  --base-a: #35946f;
  --base-c: #3a6ea8;
  --base-g: #b3872f;
  --base-t: #c05b4d;

  --primary: var(--ink-900);
  --primary-light: var(--ink-800);
  --primary-lighter: var(--ink-700);
  --accent: var(--teal-700);
  --accent-light: var(--teal-600);
  --success: var(--green-600);
  --warning: #a87e31;
  --danger: var(--red-600);
  --text: var(--ink-900);
  --text-light: var(--ink-700);
  --text-lighter: var(--ink-500);
  --bg: var(--white);
  --bg-alt: var(--ice-50);
  --bg-card: var(--white);
  --border: var(--ice-200);
  --border-light: var(--ice-100);
  --grid-line: rgba(66, 84, 102, 0.055);

  --shadow-sm: 0 1px 2px rgba(17, 22, 29, 0.04);
  --shadow-md: 0 1px 2px rgba(17, 22, 29, 0.05), 0 14px 34px rgba(17, 22, 29, 0.07);
  --shadow-lg: 0 24px 56px rgba(10, 16, 22, 0.24);

  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 14px;

  --mono: 'JetBrains Mono', 'SF Mono', Menlo, Monaco, Consolas, monospace;
  --sans: 'Manrope', 'Avenir Next', 'Segoe UI', sans-serif;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  font-family: var(--sans);
  color: var(--text);
  background: #fbfcfd;
  line-height: 1.7;
  letter-spacing: -0.004em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

h1, h2, h3, h4 {
  color: var(--primary);
  line-height: 1.2;
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(2.2rem, 4vw, 3.7rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  font-weight: 780;
}

h3 {
  font-size: 1.18rem;
  font-weight: 700;
}

p {
  color: var(--text-light);
  font-size: 1.02rem;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--primary);
}

.container {
  width: min(1160px, 100% - 48px);
  margin: 0 auto;
}

section {
  padding: 72px 0;
}

section[id] {
  scroll-margin-top: 92px;
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 200;
  padding: 0 24px;
  border-bottom: 1px solid transparent;
  background: rgba(251, 252, 253, 0.78);
  backdrop-filter: blur(12px);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

/* Chromatogram strip — the brand's signature line */
nav::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: repeating-linear-gradient(
    90deg,
    var(--base-a) 0 34px,
    var(--base-c) 34px 55px,
    var(--base-t) 55px 89px,
    var(--base-g) 89px 110px,
    var(--base-c) 110px 131px,
    var(--base-a) 131px 152px,
    var(--base-g) 152px 186px,
    var(--base-t) 186px 207px
  );
  opacity: 0.85;
}

nav.scrolled {
  border-color: rgba(111, 132, 152, 0.2);
  box-shadow: 0 10px 24px rgba(17, 22, 29, 0.06);
  background: rgba(251, 252, 253, 0.94);
}

.nav-inner {
  max-width: 1160px;
  height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--primary);
  font-weight: 780;
  font-size: 1.16rem;
  letter-spacing: -0.02em;
}

.logo-mark {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.logo-word {
  font-weight: 480;
  letter-spacing: -0.03em;
}

.logo-word > span {
  font-weight: 800;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  -webkit-appearance: none;
  appearance: none;
  line-height: 0;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--primary);
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.nav-toggle:hover {
  border-color: rgba(61, 126, 137, 0.35);
  background: var(--white);
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  margin: 3px 0;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

nav.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

nav.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

nav.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

.nav-links a {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-light);
  letter-spacing: 0.01em;
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-cta {
  color: var(--white) !important;
  font-weight: 600;
  background: var(--ink-900);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.28);
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.nav-cta:hover {
  background: var(--ink-800);
  transform: translateY(-1px);
}

/* Blog */
.blog-page,
.blog-article-page {
  background: #fbfcfd;
}

.blog-main,
.article-main {
  padding-top: 76px;
}

.blog-hero,
.article-hero {
  padding: 26px 0 10px;
}

.blog-eyebrow,
.blog-card-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal-700);
}

.blog-hero-shell,
.blog-list-shell {
  width: min(1120px, 100%);
}

.blog-hero h1 {
  max-width: none;
  margin-bottom: 14px;
  /* Stays a step above an article title without towering over the pages it
     indexes. */
  font-size: clamp(2.1rem, 4vw, 2.85rem);
  line-height: 1.08;
  font-weight: 750;
}

.blog-intro,
.article-dek {
  max-width: 760px;
  font-size: 1.02rem;
  color: var(--text-light);
}

.blog-listing,
.article-body-section {
  padding-top: 18px;
}

.blog-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
}

.blog-card,
.blog-empty-state {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.blog-card {
  padding: 22px 24px;
}

.blog-card h2 {
  margin-bottom: 8px;
  max-width: none;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  line-height: 1.18;
  font-weight: 720;
}

.blog-card p {
  margin-bottom: 12px;
}

.blog-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-bottom: 16px;
  color: var(--text-lighter);
  font-size: 0.9rem;
}

.blog-card-link {
  font-weight: 700;
}

.blog-empty-state {
  grid-column: 1 / -1;
  padding: 36px;
}

.article-hero-shell {
  width: min(1080px, 100%);
}

.article-shell {
  width: min(1080px, 100%);
}

.article-hero .article-shell {
  width: min(980px, 100%);
}

.article-header-card h1 {
  max-width: none;
  margin-bottom: 12px;
  /* Article titles sit above body copy, not above a CTA — keep the ratio to
     the 1.02rem body text editorial (~2.4x) rather than hero-scale. */
  font-size: clamp(1.95rem, 3.5vw, 2.5rem);
  line-height: 1.1;
  font-weight: 740;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 14px;
  font-size: 0.88rem;
  color: var(--text-lighter);
}

.article-table-wrap {
  overflow-x: auto;
  margin: 22px 0;
}

.article-table-wrap table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.94rem;
}

.article-table-wrap th,
.article-table-wrap td {
  padding: 12px 14px;
  border: 1px solid rgba(111, 132, 152, 0.2);
  text-align: left;
  vertical-align: top;
}

.article-table-wrap th {
  background: var(--teal-100);
  color: var(--text);
  font-weight: 700;
}

.article-header-card {
  padding: 0 0 22px;
  border: 0;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  position: relative;
}

.article-header-card::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 56px;
  height: 3px;
  background: var(--teal-700);
}

.article-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.article-back-link::before {
  content: "\2190";
  font-size: 0.95rem;
}

.article-notes {
  margin-top: 14px;
}

.article-draft-note {
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 0.92rem;
}

.article-draft-note {
  margin-top: 2px;
  background: var(--ice-100);
  color: var(--ink-700);
}

.article-disclaimer {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(111, 132, 152, 0.22);
  color: var(--text-light);
  font-size: 0.95rem;
}

.article-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(260px, 0.9fr);
  gap: 22px;
  align-items: start;
}

.article-content {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  max-width: 680px;
}

.article-content h2,
.article-content h3 {
  margin-top: 28px;
  margin-bottom: 12px;
}

.article-content h2 {
  font-size: clamp(1.28rem, 1.8vw, 1.58rem);
  font-weight: 660;
  line-height: 1.2;
}

.article-content h3 {
  font-size: 1rem;
  font-weight: 640;
  line-height: 1.3;
}

.article-content p,
.article-content ul,
.article-content ol,
.article-content blockquote,
.article-content pre {
  margin-top: 0;
  margin-bottom: 16px;
}

.article-content ul,
.article-content ol {
  padding-left: 22px;
  color: var(--text-light);
}

.article-content li + li {
  margin-top: 8px;
}

.article-content blockquote {
  padding: 14px 18px;
  border-left: 4px solid var(--teal-700);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--teal-100);
}

.article-content pre {
  overflow-x: auto;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: var(--ink-950);
  color: var(--ice-50);
}

.article-content code {
  font-family: var(--mono);
  font-size: 0.94em;
}

.article-sidebar {
  display: grid;
  gap: 26px;
}

.article-card {
  padding: 16px 0 0;
  border: 0;
  border-top: 1px solid var(--border);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.article-card h2 {
  margin-bottom: 12px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-500);
}

.article-source-list,
.article-related-list {
  font-size: 0.92rem;
}

.article-source-list,
.article-related-list {
  list-style: none;
}

.article-source-list li + li,
.article-related-list li + li {
  margin-top: 10px;
}

.article-related-list a {
  display: block;
  font-weight: 700;
}

.article-related-list span {
  display: block;
  font-size: 0.86rem;
  color: var(--text-lighter);
}

.article-promo-card {
  padding: 18px;
  border: 1px solid rgba(61, 126, 137, 0.28);
  border-radius: var(--radius);
  background: var(--teal-100);
}

.article-promo-eyebrow {
  margin-bottom: 10px;
  font-size: 0.76rem;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-700);
}

.article-promo-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-weight: 780;
  font-size: 1.02rem;
  letter-spacing: -0.02em;
  color: var(--primary);
}

.article-promo-brand .logo-mark {
  width: 16px;
  height: 16px;
}

.article-promo-card p {
  margin-bottom: 12px;
  color: var(--text-light);
}

.article-promo-cta {
  display: inline-flex;
  margin-top: 6px;
}

.blog-related-empty {
  font-size: 0.95rem;
  color: var(--text-lighter);
}

.article-cta {
  margin-top: 32px;
  padding: 22px;
  border: 1px solid rgba(61, 126, 137, 0.24);
  border-radius: var(--radius);
  background: var(--white);
}

.article-cta h2 {
  margin-top: 0;
}

.site-footer {
  margin-top: 48px;
  padding: 32px 0 56px;
  border-top: 1px solid rgba(111, 132, 152, 0.16);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px 28px;
}

.footer-title {
  margin-bottom: 6px;
  color: var(--primary);
  font-weight: 760;
}

.footer-copy {
  max-width: 520px;
  font-size: 0.96rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  align-items: center;
}

@media (max-width: 900px) {
  .blog-grid,
  .article-grid {
    /* minmax(0, …), not 1fr: a bare 1fr track keeps min-width:auto, so a wide
       table's min-content widened the track past the viewport and the body copy
       was clipped (html/body are overflow-x: clip, so it could not even scroll). */
    grid-template-columns: minmax(0, 1fr);
  }

  .blog-card,
  .blog-empty-state {
    padding: 20px;
  }

  .article-header-card {
    padding: 0 0 18px;
  }

  .blog-hero h1 {
    max-width: none;
    font-size: clamp(1.9rem, 6.8vw, 2.45rem);
  }

  .article-header-card h1 {
    max-width: none;
    font-size: clamp(1.8rem, 6.4vw, 2.2rem);
  }
}

@media (max-width: 780px) {
  .blog-main,
  .article-main {
    padding-top: 68px;
  }

  .blog-hero,
  .article-hero {
    padding: 16px 0 6px;
  }

  .blog-hero h1 {
    margin-bottom: 10px;
    max-width: none;
  }

  .blog-intro,
  .article-dek {
    font-size: 0.98rem;
  }

  .article-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .article-back-link {
    margin-bottom: 10px;
  }

  .article-header-card h1 {
    margin-bottom: 10px;
    max-width: none;
    font-size: clamp(1.7rem, 7.4vw, 2.05rem);
  }

  .article-content {
    max-width: none;
  }
}

/* Hero */
.hero {
  padding: 150px 0 64px;
  position: relative;
}

/* Graph-paper grid, fading out toward the bottom */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
  pointer-events: none;
}

.hero .container {
  position: relative;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 54px;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 4;
}

.hero-intro-copy,
.hero-intro-visual {
  animation: hero-intro 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
  will-change: opacity, transform;
}

.hero-intro-copy {
  animation-delay: 40ms;
}

.hero-intro-visual {
  animation-delay: 130ms;
}

@keyframes hero-intro {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--teal-700);
  background: var(--white);
  border: 1px solid rgba(46, 108, 118, 0.32);
  border-radius: var(--radius-xs);
  padding: 6px 12px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-badge svg { width: 13px; height: 13px; }
.hero h1 { margin-bottom: 18px; }
.hero p { font-size: 1.15rem; margin-bottom: 28px; max-width: 500px; }

.term-inline {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  max-width: 100%;
  --term-tooltip-shift: 0px;
}

.term-hint {
  border: 0;
  margin: 0;
  padding: 0 1px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 700;
  line-height: inherit;
  cursor: pointer;
  text-decoration: underline dotted rgba(41, 56, 71, 0.5);
  text-underline-offset: 3px;
}

.term-hint:hover {
  text-decoration-color: rgba(41, 56, 71, 0.78);
}

.term-hint:focus-visible {
  outline: 2px solid rgba(61, 126, 137, 0.5);
  outline-offset: 2px;
  border-radius: 4px;
}

.term-tooltip {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 40;
  width: max-content;
  max-width: min(320px, calc(100vw - 32px));
  padding: 9px 11px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.97);
  color: var(--text-light);
  box-shadow: var(--shadow-md);
  font-size: 0.78rem;
  line-height: 1.45;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  opacity: 0;
  transform: translate(var(--term-tooltip-shift), 4px);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.term-inline:hover .term-tooltip,
.term-inline.is-open .term-tooltip,
.term-hint:focus-visible + .term-tooltip {
  opacity: 1;
  transform: translate(var(--term-tooltip-shift), 0);
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}

.hero-payment-slot {
  margin-top: 18px;
  min-height: 52px;
}

.hero-payment-slot .payment-badge-row {
  justify-content: flex-start;
}

.hero-primary-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.hero-price-meta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 0;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
  font-size: 0.8rem;
  font-weight: 620;
  letter-spacing: 0.01em;
  color: var(--text-lighter);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  padding: 13px 22px;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  color: var(--white);
  background: var(--teal-700);
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.22), 0 8px 20px rgba(46, 108, 118, 0.22);
}

.btn-primary:hover {
  color: var(--white);
  background: #285f68;
  transform: translateY(-1px);
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.22), 0 12px 24px rgba(46, 108, 118, 0.28);
}

.btn-price-old {
  display: inline-block;
  margin-right: 0;
  opacity: 1;
  color: var(--text-light);
  text-decoration: line-through;
  text-decoration-color: rgba(111, 132, 152, 0.72);
  text-decoration-thickness: 1.6px;
}

.btn-secondary {
  color: var(--primary);
  background: var(--white);
  border-color: rgba(66, 84, 102, 0.32);
  box-shadow: inset 0 -2px 0 rgba(17, 22, 29, 0.05);
}

.btn-secondary:hover {
  color: var(--teal-700);
  background: var(--white);
  border-color: rgba(46, 108, 118, 0.5);
}

.hero-guide-btn {
  align-self: flex-start;
}

.hero-visual {
  position: relative;
  z-index: 1;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--ice-200);
  box-shadow: 0 24px 56px rgba(10, 16, 22, 0.12);
  color: var(--text);
  padding: 30px 24px 24px;
  overflow: hidden;
  font-family: var(--sans);
  font-size: 0.8rem;
  line-height: 1.8;
}

.hero-visual::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 36px;
  background: var(--ice-100);
  border-bottom: 1px solid var(--ice-200);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.hero-visual {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-visual:hover {
  transform: translateY(-2px);
  box-shadow: 0 28px 60px rgba(10, 16, 22, 0.16);
}

.hero-visual-trigger {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  border-radius: var(--radius-lg);
}

.trigger-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 999px;
  background: var(--ink-900);
  color: var(--white);
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: 0 12px 28px rgba(10, 16, 22, 0.3);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.22s ease, transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.trigger-pill::after {
  content: '\2197';
  font-size: 0.85em;
}

.hero-visual:hover .trigger-pill,
.hero-visual-trigger:focus-visible .trigger-pill {
  opacity: 1;
  transform: translateY(0);
}

/* Push the preview back behind the pill so the call to action reads first. */
.hero-visual:hover .app-mockup,
.hero-visual-trigger:focus-visible ~ .app-mockup {
  opacity: 0.6;
  filter: blur(3px);
}

.app-mockup {
  transition: opacity 0.22s ease, filter 0.22s ease;
}

.hero-visual-trigger:focus-visible {
  outline: 2px solid var(--teal-600);
  outline-offset: 3px;
}

.hero-visual .dots {
  position: absolute; top: 14px; left: 16px;
  display: flex; gap: 7px;
}

.hero-visual .dot {
  width: 10px; height: 10px; border-radius: 50%;
}

.hero-visual .dot-red { background: #ff5f56; }
.hero-visual .dot-yellow { background: #ffbd2e; }
.hero-visual .dot-green { background: #27c93f; }
.hero-visual pre { margin-top: 24px; white-space: pre-wrap; }

/* ---- App mockup (hero visual) ---- */
.app-mockup {
  position: relative;
  margin-top: 20px;
}

.app-results-mock {
  padding: 16px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border-light);
  background: var(--white);
}

.results-title-mock {
  font-family: var(--sans);
  font-weight: 700; font-size: 0.98rem; color: var(--ink-900); margin-bottom: 12px;
}

.results-chips-mock {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-bottom: 12px;
}

.chip-mock {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--white);
  font-size: 0.68rem; font-weight: 600;
  color: var(--ink-700);
  white-space: nowrap;
}

.chip-mock::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--ink-300);
}

.chip-mock-path::before { background: var(--red-600); }
.chip-mock-lp::before { background: var(--warning); }
.chip-mock-dr::before { background: var(--base-c); }

/* Low-fi findings table, mirroring the in-app report */
.results-table-mock {
  margin-bottom: 12px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xs);
  overflow: hidden;
  font-size: 0.68rem;
  line-height: 1.4;
}

/* Mono is reserved for data: positions, changes, stars */
.cell-rsid, .cell-stars {
  font-family: var(--mono);
}

.table-row-mock {
  display: grid;
  grid-template-columns: 1fr 1.6fr 1.6fr 0.8fr;
  gap: 8px;
  align-items: center;
  padding: 7px 11px;
  border-top: 1px solid var(--border-light);
  color: var(--ink-700);
}

.table-row-mock.table-head-mock {
  border-top: 0;
  background: var(--ice-50);
  color: var(--ink-500);
  font-size: 0.56rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.table-row-mock.is-selected { background: rgba(232, 244, 245, 0.55); }
.table-row-mock.is-dim { opacity: 0.6; }

.cell-gene { font-weight: 600; color: var(--ink-900); }
.cell-rsid { color: var(--ink-500); }
.cell-stars { color: var(--ink-800); letter-spacing: 0.08em; text-align: right; }

.sig-mock {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 600;
  white-space: nowrap;
}

.sig-path { color: var(--red-600); }
.sig-lp { color: var(--warning); }
.sig-dr { color: var(--base-c); }
.sig-rf { color: var(--ink-700); }
.sig-vus { color: var(--ink-500); }
.sig-benign { color: var(--green-600); }

/* ---- Example report modal ---- */
.report-modal {
  border: 0;
  border-radius: var(--radius-lg);
  padding: 0;
  width: min(1280px, 94vw);
  max-height: 92vh;
  /* The global `* { margin: 0 }` reset overrides the UA stylesheet's
     `dialog:modal { margin: auto }`, which would otherwise centre the dialog
     in the top layer. Restore it explicitly. */
  margin: auto;
  background: var(--white);
  color: var(--text);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.report-modal::backdrop {
  background: rgba(17, 22, 29, 0.5);
  backdrop-filter: blur(10px) saturate(0.9);
  animation: report-backdrop-in 0.24s ease-out;
}

@keyframes report-backdrop-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.report-modal[open] {
  display: flex;
  flex-direction: column;
  animation: report-modal-in 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes report-modal-in {
  from { opacity: 0; transform: translateY(10px) scale(0.985); }
  to { opacity: 1; transform: none; }
}

.report-modal-chrome {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px 10px 16px;
  background: var(--ice-100);
  border-bottom: 1px solid var(--ice-200);
  flex-shrink: 0;
}

.report-modal-chrome .dots {
  display: flex;
  gap: 7px;
}

.report-modal-chrome .dot {
  width: 10px; height: 10px; border-radius: 50%;
}

.report-modal-tag {
  margin-left: auto;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-500);
}

.report-modal-close {
  /* Owns its own right-alignment: the tag that used to provide the spacer is
     hidden at the mobile breakpoint. */
  margin-left: auto;
  border: 1px solid var(--border);
  border-radius: 999px;
  width: 28px; height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  color: var(--text-light);
  font-size: 1.05rem;
  line-height: 1;
  cursor: pointer;
}

.report-modal-close:hover { color: var(--primary); border-color: var(--ink-300); }

.report-modal-body {
  padding: 22px 24px 20px;
  overflow-y: auto;
}

.report-modal-body h2 {
  font-size: 1.25rem;
  margin-bottom: 14px;
}

.report-modal-chips { margin-bottom: 14px; }

/* On narrow screens the report keeps its full desktop column set and is scaled
   down to fit, so visitors see the real thing rather than a reduced variant.
   `--report-scale` is measured in script.js; tapping toggles 1:1 with panning. */
.report-table-wrap {
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

/* Scaled to fit means nothing overflows, so no scrollbars should show. */
.report-table-wrap.is-scaled {
  overflow: hidden;
}

.report-table {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xs);
  overflow: hidden;
  font-size: 0.78rem;
  line-height: 1.45;
}

/* The whole report document is what scales, not the individual tables. */
.report-doc {
  /* Always laid out at desktop width; script.js scales it down where it does
     not fit, so every screen sees the same report rather than a reduced one. */
  min-width: 900px;
  transform-origin: top left;
}

.report-table-wrap.is-scaled .report-doc {
  transform: scale(var(--report-scale, 1));
}


.report-row {
  display: grid;
  grid-template-columns: 0.85fr 1.35fr 0.95fr 1.4fr 1.15fr 1.9fr 1.05fr;
  gap: 10px;
  align-items: center;
  padding: 8px 12px;
  border-top: 1px solid var(--border-light);
  color: var(--ink-700);
}

.report-row.report-head {
  border-top: 0;
  background: var(--ice-50);
  color: var(--ink-500);
  font-size: 0.62rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.report-row .cell-stars { text-align: right; }

.cell-condition {
  font-family: var(--sans);
  font-size: 0.8rem;
  color: var(--ink-700);
}

.report-modal-note {
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--text-lighter);
}

/* One line, one accent. Deliberately not a card: it sits directly under the
   primary CTA, and a second bordered box there competes with it. */
.hero-sticker {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 9px;
  margin-top: 22px;
  padding-left: 13px;
  border-left: 2px solid var(--teal-700);
}

.hero-sticker-label {
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-700);
  white-space: nowrap;
}

.hero-sticker-list {
  font-size: 0.92rem;
  font-weight: 550;
  line-height: 1.45;
  color: var(--ink-800);
}

/* --- Example report: mirrors the app's "The Record" report structure --- */
.rp-prov {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1px;
  margin: 12px 0 10px;
  background: var(--ice-200);
  border: 1px solid var(--ice-200);
  border-radius: var(--radius-xs);
  overflow: hidden;
}

.rp-prov > div { background: var(--ice-50); padding: 7px 10px; }

.rp-prov dt {
  font-size: 0.58rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-500);
  margin-bottom: 2px;
}

.rp-prov dd { font-family: var(--mono); font-size: 0.72rem; color: var(--ink-800); }

.rp-scope {
  font-size: 0.73rem;
  color: var(--ink-500);
  margin-bottom: 18px;
}

.rp-part {
  margin: 20px 0 8px;
  padding-top: 10px;
  border-top: 2px solid var(--ink-900);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-900);
}

.rp-part-desc { font-size: 0.74rem; color: var(--ink-500); margin-bottom: 12px; }

.rp-ledger {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.rp-ledger span {
  padding: 5px 9px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xs);
  font-size: 0.68rem;
  color: var(--ink-700);
}

.rp-ledger b { font-family: var(--mono); color: var(--ink-900); }

.rp-panel-title {
  margin: 16px 0 7px;
  font-size: 0.8rem;
  font-weight: 750;
  color: var(--ink-900);
}

.rp-sub { font-size: 0.72rem; color: var(--ink-500); margin-top: 8px; }
.rp-foot { font-size: 0.68rem; color: var(--ink-500); margin-top: 7px; }
.rp-more { color: var(--ink-500); }

/* Zygosity rides under the base change, as it does in the app's Genotype cell. */
.rp-zyg {
  display: block;
  font-family: var(--sans);
  font-size: 0.58rem;
  letter-spacing: 0;
  color: var(--ink-500);
  margin-top: 1px;
}

.col-clinvar { color: var(--teal-700); }

.rp-rev {
  display: block;
  font-family: var(--sans);
  font-size: 0.58rem;
  letter-spacing: 0;
  color: var(--ink-500);
  margin-top: 1px;
}

.rp-basis {
  font-size: 0.64rem;
  padding: 2px 6px;
  border-radius: 999px;
  background: var(--teal-100);
  color: var(--teal-700);
  white-space: nowrap;
}

.rp-basis-inferred { background: var(--ice-100); color: var(--ink-500); }

.rp-pgx .report-row { grid-template-columns: 0.9fr 1fr 1.3fr 1.2fr 2fr; }

.rp-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 4px;
}

.rp-mini { display: grid; gap: 5px; }

.rp-mini span {
  font-size: 0.72rem;
  color: var(--ink-700);
  padding: 5px 9px;
  border-left: 2px solid var(--ice-200);
}

.rp-mini b { font-family: var(--mono); color: var(--ink-800); }

.rp-restricted {
  margin-top: 18px;
  padding: 11px 13px;
  border: 1px dashed var(--ice-300, var(--border));
  border-radius: var(--radius-xs);
  background: var(--ice-50);
}

.rp-restricted b { display: block; font-size: 0.76rem; color: var(--ink-800); margin-bottom: 3px; }
.rp-restricted span { font-size: 0.72rem; color: var(--ink-500); }
.rp-restricted strong { display: block; color: var(--ink-800); margin-bottom: 2px; }
.rp-restricted em { font-style: normal; color: var(--teal-700); font-weight: 650; }

.rp-method {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--border-light);
  font-size: 0.72rem;
  color: var(--ink-500);
}

.rp-method b { color: var(--ink-800); }

.results-meta-mock {
  text-align: center;
  font-size: 0.68rem; color: var(--ink-500);
  font-variant-numeric: tabular-nums;
  margin-bottom: 12px;
}

.results-actions-mock {
  display: flex; flex-wrap: wrap; gap: 7px; justify-content: flex-end;
}

.btn-mock {
  display: inline-block;
  border-radius: var(--radius-xs);
  padding: 6px 10px;
  font-size: 0.63rem; font-weight: 620;
  letter-spacing: 0.02em;
}

.btn-mock-secondary {
  color: var(--ink-700);
  border: 1px solid var(--border);
  background: var(--white);
}

.btn-mock-primary {
  color: var(--white);
  background: var(--teal-700);
  box-shadow: inset 0 -1.5px 0 rgba(0, 0, 0, 0.2);
}

.hero-compatibility-mobile {
  display: none;
}

/* ---- Supported sources marquee ---- */
.compatibility-band {
  margin-top: -10px;
  padding: 0 0 26px;
}

.compatibility-shell {
  position: relative;
  padding: 10px 0 8px;
}

.compatibility-shell::before {
  display: none;
}

.compatibility-label {
  margin-bottom: 16px;
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-align: center;
  color: rgba(66, 84, 102, 0.82);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

.compatibility-marquee {
  --compatibility-gap: clamp(24px, 2.6vw, 36px);
  --compatibility-edge-gap: calc(var(--compatibility-gap) / 2);
  --compatibility-entry-overhang: 12px;
  --compatibility-start-offset: calc(var(--compatibility-edge-gap) + var(--compatibility-entry-overhang));
  position: relative;
  overflow: hidden;
  padding: 2px 0 4px;
}

.compatibility-marquee::before,
.compatibility-marquee::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 44px;
  z-index: 2;
  pointer-events: none;
}

.compatibility-marquee::before {
  left: 0;
  background: linear-gradient(90deg, rgba(251, 252, 253, 0.96), rgba(251, 252, 253, 0));
}

.compatibility-marquee::after {
  right: 0;
  background: linear-gradient(270deg, rgba(251, 252, 253, 0.96), rgba(251, 252, 253, 0));
}

.compatibility-track {
  display: flex;
  width: max-content;
  animation: compatibility-scroll 34.5s linear infinite;
  will-change: transform;
}

.compatibility-group {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: var(--compatibility-gap);
  width: max-content;
  min-width: 0;
  padding-left: var(--compatibility-edge-gap);
  padding-right: var(--compatibility-edge-gap);
  flex-shrink: 0;
}

.compatibility-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 8px 0;
  white-space: nowrap;
  flex: 0 0 auto;
}

.compatibility-logo img {
  display: block;
  width: auto;
  height: auto;
  max-width: 180px;
  max-height: 38px;
  opacity: 1;
  filter: none;
  transform-origin: center;
  user-select: none;
  pointer-events: none;
}

.logo-23andme img {
  max-width: 156px;
}

.logo-ancestry img {
  width: 188px;
  height: auto;
  max-width: none;
  max-height: none;
  transform: translateY(2px);
}

.logo-nebula img {
  max-width: 170px;
  max-height: 30px;
}

.logo-dna-complete img {
  width: 111px;
  height: 34px;
  max-width: none;
  max-height: none;
}

.logo-family-tree img {
  max-width: 170px;
  max-height: 42px;
}

.logo-myheritage img {
  max-width: 168px;
  max-height: 30px;
}

.logo-sequencing img {
  max-width: 204px;
  max-height: 44px;
}

@keyframes compatibility-scroll {
  from {
    transform: translate3d(calc(-1 * var(--compatibility-start-offset)), 0, 0);
  }

  to {
    transform: translate3d(calc(-50% - var(--compatibility-start-offset)), 0, 0);
  }
}

/* ---- Trust bar (spec strip) ---- */
.trust-bar {
  padding: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--white);
}

.trust-items {
  display: flex; justify-content: center; gap: 0; flex-wrap: wrap;
}

.trust-item {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  flex: 1 1 200px;
  padding: 18px 14px;
  font-size: 0.88rem; font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--text-light);
  border-left: 1px solid var(--border-light);
  text-align: center;
}

.trust-item:first-child { border-left: 0; }

.trust-item svg { width: 17px; height: 17px; color: var(--teal-700); flex-shrink: 0; }

.payment-badge-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.payment-badges {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  width: auto;
  padding: 0;
  overflow: visible;
}

.payment-badge {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 0.75rem; font-weight: 600; color: var(--text-light);
  background: var(--bg-card); border: 1px solid var(--border);
  padding: 4px 10px; border-radius: 4px;
}

.payment-badge svg { width: 16px; height: 16px; }

.payment-badge-icon {
  display: inline-flex; align-items: center; justify-content: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  min-height: 0;
  box-shadow: none;
}

.payment-badge-icon svg { width: auto; height: 48px; }

.payment-badge-icon svg rect:first-of-type {
  stroke: none;
}

/* ---- Section headers ---- */
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  padding-top: 22px;
  position: relative;
}

.section-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 3px;
  background: var(--teal-700);
}

.section-header p { margin: 10px auto 0; max-width: 620px; }

.steps-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 32px; }

.step,
.feature-card,
.privacy-card,
.sample-card,
.get-file-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.22s ease, box-shadow 0.22s ease;
}

.step:hover,
.feature-card:hover,
.privacy-card:hover,
.sample-card:hover,
.get-file-card:hover {
  border-color: rgba(46, 108, 118, 0.45);
  box-shadow: var(--shadow-md);
}

.step { text-align: left; }

.step-graphic {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  background:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px),
    var(--ice-50);
  background-size: 22px 22px, 22px 22px, auto;
}

.step-graphic text {
  font-family: var(--mono);
}

.step-number {
  display: inline-flex; align-items: center; justify-content: center;
  margin: 0 0 16px;
  padding: 5px 10px;
  border-radius: var(--radius-xs);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--teal-700);
  background: var(--teal-100);
  border: 1px solid rgba(61, 126, 137, 0.24);
}

/* "1" → "STEP 1" */
.step-number::before { content: 'STEP '; white-space: pre; }

.step h3 { margin-bottom: 8px; }
.step p { font-size: 0.93rem; }

.step-note { margin-top: 10px; font-size: 0.85rem; }
.step-note a { font-weight: 600; }

/* ---- Get a genome file ---- */
.get-file-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px;
  margin: 32px 0 0;
}

.get-file-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
}

.get-file-card h3 { font-size: 1.1rem; }
.get-file-card p { font-size: 0.93rem; }
.get-file-card .btn { margin-top: auto; }

.get-file-note {
  padding: 10px 12px;
  border-left: 3px solid var(--teal-600);
  border-radius: 0 var(--radius-xs) var(--radius-xs) 0;
  background: var(--ice-50);
  font-size: 0.85rem;
  color: var(--text-lighter);
}

.get-file-note a { font-weight: 650; }

/* Two-case note: the array-kit coverage caveat must not read as applying to a
   file that already came from whole genome sequencing. */
.get-file-cases { display: grid; gap: 3px; }

.get-file-cases dt {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal-700);
}

.get-file-cases dd + dt { margin-top: 10px; }

/* The sequencing card sits to the right on the two-column grid and below it
   once the grid collapses, so the jump cue has to follow the layout. */
.jump-dir::before { content: '\00a0\2192'; }

@media (max-width: 780px) {
  .jump-dir::before { content: '\00a0\2193'; }
}

#whole-genome-sequencing { scroll-margin-top: 100px; }

.get-file-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
  color: var(--teal-700);
  background: var(--teal-100);
  border: 1px solid rgba(61, 126, 137, 0.24);
}

.get-file-icon svg { width: 20px; height: 20px; }

.get-file-card .affiliate-disclosure {
  margin-top: 4px;
  font-size: 0.78rem;
  line-height: 1.55;
  color: var(--text-lighter);
}

/* ---- Features ---- */
.features {
  background: var(--ice-50);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.features-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 32px; }

.feature-card {
  display: flex; gap: 15px; align-items: flex-start;
}

.feature-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
  color: var(--teal-700);
  background: var(--teal-100);
  border: 1px solid rgba(61, 126, 137, 0.24);
}

.feature-icon svg { width: 20px; height: 20px; }
.feature-card h3 { font-size: 1.1rem; margin-bottom: 5px; }
.feature-card p { font-size: 0.91rem; }

/* ---- Privacy Section ---- */
.privacy-section {
  background: transparent;
}

.privacy-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 32px;
}

.privacy-card { text-align: left; }

.privacy-icon {
  width: 40px; height: 40px;
  margin: 0 0 14px;
  border-radius: var(--radius-sm);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--danger);
  background: var(--red-100);
  border: 1px solid rgba(184, 78, 78, 0.22);
}

.privacy-icon svg { width: 22px; height: 22px; }
.privacy-card h3 { margin-bottom: 7px; font-size: 1.1rem; }
.privacy-card p { font-size: 0.91rem; }

.privacy-promise {
  margin-top: 28px;
  display: flex; gap: 16px; align-items: flex-start;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(44, 142, 109, 0.34);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.privacy-promise-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  border-radius: var(--radius-sm);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--success);
  background: var(--green-100);
  border: 1px solid rgba(44, 142, 109, 0.25);
}

.privacy-promise-icon svg { width: 22px; height: 22px; }
.privacy-promise h3 { color: var(--success); margin-bottom: 7px; font-size: 1.1rem; }
.privacy-promise p { font-size: 0.9rem; margin: 0; }

.privacy-deep-dive {
  margin-top: 18px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.privacy-deep-dive h3 {
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.privacy-deep-dive p {
  margin: 0;
  font-size: 0.91rem;
}

.privacy-deep-dive .btn {
  margin-top: 16px;
}

/* ---- Sample Report Section ---- */
.sample-section {
  border-top: 1px solid var(--border-light);
}

.sample-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 44px;
}

.sample-card { text-align: center; }

.sample-icon {
  width: 46px; height: 46px;
  margin: 0 auto 14px;
  border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--teal-700);
  background: var(--teal-100);
  border: 1px solid rgba(61, 126, 137, 0.2);
}

.sample-icon svg { width: 20px; height: 20px; }
.sample-card h3 { margin-bottom: 7px; font-size: 1.1rem; }
.sample-card p { font-size: 0.92rem; }
.sample-cta { text-align: center; margin-top: 28px; }

/* ---- Testimonials ---- */
.testimonials {
  background: linear-gradient(180deg, rgba(246, 250, 252, 0.95), rgba(246, 250, 252, 0.72));
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.testimonials-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 44px;
}

.testimonial-card {
  position: relative;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.testimonial-card:hover {
  transform: translateY(-3px);
  border-color: rgba(61, 126, 137, 0.32);
  box-shadow: var(--shadow-md);
}

.testimonial-text {
  font-size: 0.95rem; font-style: italic; color: var(--text);
  line-height: 1.7; margin-bottom: 16px;
}

.testimonial-author { padding-top: 0; }

.testimonial-name {
  display: block; font-weight: 600; color: var(--primary); font-size: 0.9rem;
}

/* ---- Consent / Purchase ---- */
.purchase {
  padding-top: 64px;
  padding-bottom: 34px;
}

.privacy-section + .purchase {
  padding-top: 28px;
}

.purchase-box {
  max-width: 760px; margin: 32px auto 0;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
}

.consent-list { list-style: none; margin-bottom: 22px; }

.consent-list li {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 10px 0; border-bottom: 1px solid var(--border-light);
  font-size: 0.89rem; color: var(--text-light); line-height: 1.55;
}

.consent-list li:last-child { border-bottom: 0; }

.consent-list input[type="checkbox"] {
  width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0;
  accent-color: var(--teal-700);
}

.purchase-btn {
  width: 100%; border: 0;
  border-radius: var(--radius-sm); padding: 15px 20px;
  font-size: 1.03rem; font-weight: 740;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.22s ease, background-color 0.2s ease;
}

.purchase-btn:disabled {
  background: var(--ice-100); color: var(--ink-500); cursor: not-allowed;
}

.purchase-btn:not(:disabled) {
  color: var(--white);
  background: var(--teal-700);
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.22), 0 10px 24px rgba(46, 108, 118, 0.24);
}

.purchase-btn:not(:disabled):hover {
  background: #285f68;
  transform: translateY(-1px);
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.22), 0 14px 28px rgba(46, 108, 118, 0.3);
}

.purchase-price {
  text-align: center; margin-bottom: 20px;
}

.launch-badge {
  display: table; margin: 0 auto 12px;
  font-size: 0.74rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--warning);
  background: #faf3e4;
  border: 1px solid #e3d3ac;
  border-radius: var(--radius-xs);
  padding: 4px 12px;
}

.purchase-price .amount-old {
  font-size: 1.3rem; color: var(--text-lighter);
  text-decoration: line-through; margin-right: 8px;
}

.purchase-price .amount {
  font-size: 2.35rem; font-weight: 780; color: var(--primary);
}

.purchase-price .period {
  display: block; margin-top: 2px;
  font-size: 0.95rem; color: var(--text-light);
}

.countdown {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-bottom: 18px;
}

.countdown-label {
  font-size: 0.81rem; color: var(--text-light); font-weight: 600;
}

.countdown-timer {
  font-family: var(--mono);
  font-size: 0.94rem; font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--ink-800);
  border: 1px solid var(--border);
  background: var(--ice-50);
  border-radius: var(--radius-xs);
  padding: 5px 10px;
}

.countdown.is-ended .countdown-timer {
  color: var(--text-light);
  background: var(--ice-100);
  border-color: var(--border);
}

.consent-intro {
  text-align: center; margin-bottom: 14px; font-size: 0.94rem; color: var(--text-light);
}

.consent-actions {
  text-align: center; margin-bottom: 14px;
}

.accept-all-btn {
  border: 1px solid var(--border); background: var(--white);
  color: var(--text-light);
  border-radius: var(--radius-sm);
  font-size: 0.79rem; font-weight: 650;
  padding: 8px 16px;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.accept-all-btn:hover { border-color: var(--teal-700); color: var(--teal-700); }

.accept-all-btn.all-checked {
  border-color: rgba(44, 142, 109, 0.35);
  background: var(--green-100);
  color: var(--success);
}

.purchase-note {
  text-align: center; margin-top: 11px; font-size: 0.8rem; color: var(--text-lighter);
}

/* ---- Purchase success ---- */
.success-hero {
  padding: 138px 0 62px;
}

.success-card {
  max-width: 820px;
  margin: 28px auto 0;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: var(--shadow-md);
}

.success-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--success);
  background: var(--green-100);
  border: 1px solid rgba(44, 142, 109, 0.24);
  border-radius: 999px;
  padding: 6px 12px;
  margin-bottom: 16px;
}

.success-status svg {
  width: 14px;
  height: 14px;
}

.success-card h2 {
  margin-bottom: 10px;
}

.success-card p {
  margin-bottom: 14px;
}

.success-list {
  margin: 18px 0 20px 20px;
  color: var(--text-light);
}

.success-list li {
  margin-bottom: 8px;
}

.success-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 8px;
}

.success-help {
  margin-top: 20px;
  border-top: 1px solid var(--border-light);
  padding-top: 16px;
  font-size: 0.93rem;
}

/* ---- Footer ---- */
footer {
  position: relative;
  margin-top: 56px;
  background: #131a22;
  color: rgba(255, 255, 255, 0.72);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 48px 0 24px;
}

/* Mirror the nav's chromatogram strip */
footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: repeating-linear-gradient(
    90deg,
    var(--base-g) 0 34px,
    var(--base-t) 34px 55px,
    var(--base-a) 55px 89px,
    var(--base-c) 89px 110px,
    var(--base-t) 110px 131px,
    var(--base-g) 131px 152px,
    var(--base-a) 152px 186px,
    var(--base-c) 186px 207px
  );
  opacity: 0.7;
}

.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 28px;
  margin-bottom: 26px;
}

.footer-brand h3 {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--white);
  margin-bottom: 9px;
}

.footer-brand .logo-mark {
  width: 17px;
  height: 17px;
}
.footer-brand p { max-width: 340px; color: rgba(255, 255, 255, 0.65); font-size: 0.9rem; }

.footer-col h4 {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.76rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.06em; margin-bottom: 12px;
}

.footer-col a { display: block; font-size: 0.88rem; color: rgba(255, 255, 255, 0.66); margin-bottom: 8px; }
.footer-col a:hover { color: var(--white); }

.footer-payments {
  display: flex; justify-content: center; gap: 12px; flex-wrap: wrap;
  padding-bottom: 20px; margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-payment-icon {
  display: inline-flex; align-items: center; justify-content: center;
}

.footer-payment-icon svg { width: auto; height: 42px; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 16px; text-align: center;
}

.footer-bottom p {
  font-size: 0.74rem; color: rgba(255, 255, 255, 0.55);
}

.footer-bottom .footer-address {
  margin-top: 4px;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: underline;
}

.footer-bottom a:hover {
  color: var(--white);
}

/* Feedback form widget */
.feedback-widget {
  position: fixed;
  right: max(14px, env(safe-area-inset-right));
  bottom: max(14px, env(safe-area-inset-bottom));
  z-index: 260;
  width: auto;
  border: 1px solid rgba(111, 132, 152, 0.28);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.feedback-widget > summary {
  list-style: none;
  cursor: pointer;
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--text);
  background: rgba(246, 249, 251, 0.96);
  border-bottom: 1px solid rgba(111, 132, 152, 0.22);
  padding: 10px 12px;
}

.feedback-widget > summary::-webkit-details-marker {
  display: none;
}

.feedback-title {
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.feedback-close-icon {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  border: 1px solid rgba(111, 132, 152, 0.28);
  background: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 0.98rem;
  line-height: 1;
}

.feedback-close-icon::before {
  content: '+';
}

.feedback-widget[open] {
  width: min(92vw, 332px);
}

.feedback-widget[open] .feedback-close-icon::before {
  content: '×';
}

.feedback-panel {
  padding: 12px 12px 13px;
}

.feedback-panel p {
  font-size: 0.84rem;
}

.feedback-form {
  margin-top: 8px;
  display: grid;
  gap: 8px;
}

.feedback-form label {
  font-size: 0.78rem;
  font-weight: 650;
  color: var(--text);
}

.feedback-form textarea,
.feedback-form input[type='email'] {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--white);
  color: var(--text);
  font: inherit;
  font-size: 0.9rem;
  padding: 10px 11px;
}

.feedback-form textarea {
  resize: vertical;
  min-height: 88px;
}

.feedback-form textarea:focus,
.feedback-form input[type='email']:focus {
  outline: 2px solid rgba(61, 126, 137, 0.22);
  border-color: rgba(61, 126, 137, 0.45);
}

.feedback-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.feedback-recaptcha {
  min-height: 78px;
}

.feedback-form-status {
  margin: -2px 0 0;
  font-size: 0.76rem;
  color: var(--red-600);
}

.feedback-submit {
  border: 0;
  border-radius: 999px;
  padding: 10px 14px;
  color: var(--white);
  background: linear-gradient(120deg, var(--teal-700), #26565f);
  box-shadow: 0 8px 22px rgba(38, 86, 95, 0.26);
  cursor: pointer;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.feedback-submit:hover {
  filter: brightness(1.05);
}

.feedback-submit:disabled {
  opacity: 0.6;
  filter: none;
  cursor: not-allowed;
  box-shadow: none;
}

.feedback-inline-success {
  margin-top: 8px;
  border: 1px solid rgba(44, 142, 109, 0.35);
  border-radius: 10px;
  background: rgba(44, 142, 109, 0.08);
  padding: 11px 12px;
}

.feedback-inline-success p {
  margin: 0;
  color: #1f5e49;
  font-size: 0.84rem;
}

/* ---- Reveal motion ---- */
.reveal-target {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.48s ease-out, transform 0.48s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

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

@media (prefers-reduced-motion: reduce) {
  .compatibility-marquee {
    overflow-x: auto;
    scrollbar-width: none;
  }

  .compatibility-marquee::-webkit-scrollbar {
    display: none;
  }

  .compatibility-track {
    animation: none !important;
    transform: none !important;
  }

  .compatibility-group[aria-hidden='true'] {
    display: none;
  }

  .reveal-target {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-intro-copy,
  .hero-intro-visual {
    animation: none;
    will-change: auto;
  }

  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---- Responsive ---- */
@media (max-width: 1080px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
  }
  .hero-inner > * {
    min-width: 0;
  }
  .hero-visual { max-width: 760px; }
}

@media (max-width: 780px) {
  section { padding: 56px 0; }
  section[id] { scroll-margin-top: 82px; }
  .container { width: min(100% - 34px, 1160px); }
  nav { padding: 0 10px; }
  .nav-inner { height: 64px; }
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
  }
  .nav-toggle span {
    margin: 0;
    width: 18px;
  }
  nav.nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }
  nav.nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }
  .nav-links {
    position: absolute;
    top: calc(100% + 8px);
    right: 10px;
    left: 10px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  }
  nav.nav-open .nav-links {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }
  .nav-links a {
    width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
  }
  .nav-links a:hover {
    background: var(--ice-50);
  }
  .nav-links .nav-cta {
    margin-top: 4px;
    text-align: center;
  }
  .hero { padding: 104px 0 42px; }
  .hero-compatibility-mobile {
    display: block;
    width: 100%;
    min-width: 0;
  }
  .hero-compatibility-mobile .compatibility-shell {
    padding: 0;
  }
  .hero-compatibility-mobile .compatibility-marquee {
    width: 100%;
    min-width: 0;
  }
  .hero-compatibility-mobile .compatibility-label {
    margin-bottom: 12px;
    max-width: none;
    font-size: 0.74rem;
  }
  .compatibility-band {
    display: none;
  }
  .compatibility-shell {
    padding: 8px 0;
  }
  .compatibility-label {
    margin-bottom: 12px;
    font-size: 0.74rem;
  }
  .compatibility-marquee::before,
  .compatibility-marquee::after {
    width: 16px;
  }
  .compatibility-marquee {
    --compatibility-gap: 18px;
    --compatibility-edge-gap: calc(var(--compatibility-gap) / 2);
    --compatibility-entry-overhang: 5px;
    --compatibility-start-offset: calc(var(--compatibility-edge-gap) + var(--compatibility-entry-overhang));
  }
  .compatibility-group {
    justify-content: flex-start;
    gap: var(--compatibility-gap);
    min-width: 0;
    width: max-content;
    padding-left: var(--compatibility-edge-gap);
    padding-right: var(--compatibility-edge-gap);
  }
  .compatibility-logo {
    min-height: 44px;
    padding: 6px 0;
  }
  .compatibility-logo img {
    max-width: 148px;
    max-height: 32px;
  }
  .logo-nebula img,
  .logo-myheritage img {
    max-height: 26px;
  }
  .logo-ancestry img {
    width: 162px;
    transform: translateY(2px);
  }
  .logo-family-tree img {
    max-height: 36px;
  }
  .logo-dna-complete img {
    width: 98px;
    height: 30px;
  }
  .logo-sequencing img {
    max-width: 168px;
    max-height: 36px;
  }
  .trust-bar {
    padding: 0;
  }
  .trust-items {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
  }
  .trust-item {
    justify-content: flex-start;
    text-align: left;
    padding: 14px 12px;
    border-left: 0;
    border-top: 1px solid var(--border-light);
  }
  .trust-item:nth-child(-n+2) {
    border-top: 0;
  }
  .trust-item:nth-child(even) {
    border-left: 1px solid var(--border-light);
  }
  .steps-grid,
  .features-grid,
  .privacy-grid,
  .sample-grid,
  .get-file-grid,
  .testimonials-grid { grid-template-columns: 1fr; }
  .privacy-promise { flex-direction: column; }
  .purchase-box { padding: 26px; }
  .purchase { padding-bottom: 24px; }
  .privacy-section + .purchase { padding-top: 24px; }
  .success-hero { padding-top: 112px; }
  .success-card { padding: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 20px; }
  footer { margin-top: 40px; }
  .footer-bottom { text-align: left; }
  .table-row-mock { grid-template-columns: 1.1fr 1.5fr 1.6fr; }
  .table-row-mock > span:nth-child(4) { display: none; }
  .results-actions-mock { justify-content: flex-start; flex-wrap: wrap; }
  /* No hover on touch: the pill and the blur behind it are both permanent. */
  .trigger-pill {
    opacity: 1;
    transform: none;
    font-size: 0.84rem;
    padding: 10px 16px;
  }
  .app-mockup {
    opacity: 0.85;
    filter: blur(1.4px);
  }
  .report-modal-body { padding: 18px 16px 16px; }
  .report-modal-tag { display: none; }
  .hero-payment-slot {
    width: 100%;
    margin-top: 4px;
    min-height: 0;
  }
  .hero-payment-slot .payment-badge-row {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
  }
  .payment-badge-row {
    justify-content: center;
    gap: 10px;
  }
  .payment-badges {
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
    gap: 8px;
  }
  .term-tooltip {
    max-width: calc(100vw - 32px);
  }
  .feedback-widget {
    right: max(10px, env(safe-area-inset-right));
    bottom: max(10px, env(safe-area-inset-bottom));
    width: 52px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    box-shadow: none;
    overflow: visible;
  }
  .feedback-widget > summary {
    width: 52px;
    height: 52px;
    padding: 0;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(120deg, var(--teal-700), #26565f);
    box-shadow: 0 10px 24px rgba(38, 86, 95, 0.32);
    color: var(--white);
  }
  .feedback-title {
    display: none;
  }
  .feedback-close-icon {
    width: 52px;
    height: 52px;
    border: 0;
    background: transparent;
    color: var(--white);
    font-size: 1.2rem;
  }
  .feedback-close-icon::before {
    content: '';
    display: block;
    width: 22px;
    height: 22px;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 5h16a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-7l-4.5 3v-3H4a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 5h16a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-7l-4.5 3v-3H4a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2z'/%3E%3C/svg%3E") center / contain no-repeat;
  }
  .feedback-widget[open] {
    width: min(94vw, 322px);
    border: 1px solid rgba(111, 132, 152, 0.28);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
    overflow: hidden;
  }
  .feedback-widget[open] > summary {
    width: auto;
    height: auto;
    padding: 8px 12px;
    justify-content: space-between;
    border-bottom: 1px solid rgba(111, 132, 152, 0.22);
    border-radius: 0;
    background: rgba(246, 249, 251, 0.96);
    box-shadow: none;
    color: var(--text);
  }
  .feedback-widget[open] .feedback-title {
    display: block;
    font-size: 0.74rem;
  }
  .feedback-widget[open] .feedback-close-icon {
    width: 24px;
    height: 24px;
    border: 1px solid rgba(111, 132, 152, 0.28);
    background: var(--white);
    color: var(--text-light);
    font-size: 0.98rem;
  }
  .feedback-widget[open] .feedback-close-icon::before {
    width: auto;
    height: auto;
    background: none;
    -webkit-mask: none;
    mask: none;
  }
  .feedback-panel {
    padding: 12px;
  }
  .feedback-form textarea {
    min-height: 78px;
  }
}
