/* ILoveMyDNA - marketing one-pager */

:root {
  --blue: #0068e0;
  --blue-dark: #0054b8;
  --blue-soft: #e8f2ff;
  --red: #ee2a30;
  --red-dark: #d11f25;
  --red-soft: #ffe8e8;
  --navy: #0c2c50;
  --navy-deep: #081e38;
  --navy-mid: #0a2748;
  --ink: #14233a;
  --heading: #0c2c50;
  --muted: #3d5068;
  --line: #dbe4f0;
  --paper: #f5f8fc;
  --white: #ffffff;
  --bg: #ffffff;
  --surface: #ffffff;
  --header-bg: rgba(255, 255, 255, 0.92);
  --cta-bar-bg: rgba(255, 255, 255, 0.95);
  --logo-well: #ffffff;
  --hero-spot-blue: rgba(0, 104, 224, 0.12);
  --hero-spot-red: rgba(238, 42, 48, 0.08);
  --shadow: 0 16px 40px rgba(12, 44, 80, 0.1);
  --shadow-sm: 0 8px 24px rgba(12, 44, 80, 0.08);
  --header-shadow: 0 8px 24px rgba(12, 44, 80, 0.06);
  --radius: 18px;
  --radius-sm: 12px;
  --header: 76px;
  --max: 1120px;
  --font: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --serif: Fraunces, "Times New Roman", serif;
  --focus: 0 0 0 3px var(--white), 0 0 0 6px var(--blue);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 12px);
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--blue);
}

a:hover {
  color: var(--blue-dark);
}

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

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 100;
  background: var(--navy);
  color: var(--white);
  padding: 8px 14px;
  border-radius: 8px;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
}

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.section {
  padding: 80px 0;
}

.section--paper {
  background: var(--paper);
}

.section--navy {
  background: linear-gradient(165deg, var(--navy-deep) 0%, var(--navy) 60%, var(--navy-mid) 100%);
  color: var(--white);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 12px;
}

.section--navy .kicker {
  color: #9ec5ff;
}

.kicker::before {
  content: "";
  width: 18px;
  height: 3px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--blue), var(--red));
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--heading);
  margin: 0 0 16px;
}

.section--navy h2 {
  color: var(--white);
}

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

h2 {
  font-size: clamp(1.85rem, 3.4vw, 2.65rem);
}

h3 {
  font-size: 1.25rem;
  font-family: var(--font);
  letter-spacing: -0.02em;
}

.lead {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 40rem;
}

.lead--center {
  margin-inline: auto;
}

.lead.lead--on-navy {
  color: rgba(255, 255, 255, 0.78);
}

.subhead {
  margin-top: 56px;
}

.center {
  text-align: center;
}

.center .lead {
  margin-inline: auto;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
  color: inherit;
}

.btn--primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 10px 20px rgba(0, 104, 224, 0.25);
}

.btn--primary:hover {
  background: var(--blue-dark);
  color: var(--white);
}

.btn--red {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 10px 20px rgba(238, 42, 48, 0.22);
}

.btn--red:hover {
  background: var(--red-dark);
  color: var(--white);
}

.btn--ghost {
  background: transparent;
  color: var(--heading);
  border-color: var(--line);
}

.btn--ghost:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.btn--light {
  background: var(--white);
  color: #0c2c50;
}

.btn--light:hover {
  color: var(--blue);
}

.btn--wide {
  width: 100%;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header);
  background: var(--header-bg);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: var(--header-shadow);
}

.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--heading);
  flex-shrink: 0;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  background: var(--logo-well);
  border-radius: 10px;
}

.brand__name {
  font-weight: 800;
  font-size: 1.12rem;
  letter-spacing: -0.04em;
}

.brand__name span {
  color: var(--blue);
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
}

.nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
}

.nav a:hover,
.nav a[aria-current="true"] {
  color: var(--blue);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 0;
  background: transparent;
  border-radius: 10px;
  cursor: pointer;
  color: var(--heading);
}

.nav-toggle:hover {
  background: var(--paper);
}

.mobile-panel {
  display: none;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  padding: 8px 20px 20px;
  box-shadow: var(--shadow-sm);
}

.mobile-panel.is-open {
  display: block;
}

.mobile-panel a {
  display: block;
  padding: 12px 4px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid var(--paper);
}

.mobile-panel .btn {
  margin-top: 14px;
  width: 100%;
}

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  padding: 36px 0 64px;
  background:
    radial-gradient(1200px 420px at 85% -10%, var(--hero-spot-blue), transparent 60%),
    radial-gradient(800px 320px at 0% 110%, var(--hero-spot-red), transparent 55%),
    var(--bg);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero__copy p {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 36rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 32px;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.stat {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 10px;
  text-align: center;
}

.stat strong {
  display: block;
  color: var(--heading);
  font-size: 0.98rem;
}

.stat span {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
}

.hero__logo {
  background: var(--logo-well);
  border: 1px solid var(--line);
  border-radius: 32px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.hero__logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 320px;
}

.hero__logo img {
  width: min(220px, 60%);
  margin-inline: auto;
}

.hero__wordmark {
  margin: 20px 0 0;
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 2.8rem);
  letter-spacing: -0.04em;
  color: var(--heading);
  line-height: 1.1;
}

.hero__wordmark span {
  color: var(--blue);
}

/* Feature cards / steps */

.feature-grid,
.steps,
.panel-grid,
.trust-grid,
.price-grid,
.price-row,
.contact-grid {
  display: grid;
  gap: 18px;
}

.feature-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 40px;
}

.card,
.feature,
.step,
.panel,
.trust,
.price,
.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.feature:hover,
.panel:hover,
.price:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--blue-soft);
  color: var(--blue);
  margin-bottom: 14px;
}

.icon svg {
  width: 22px;
  height: 22px;
}

.muted {
  color: var(--muted);
  margin: 0;
}

.about-intro {
  max-width: 46rem;
  margin-inline: auto;
  text-align: center;
}

.steps {
  grid-template-columns: repeat(4, 1fr);
  margin-top: 28px;
}

.step {
  position: relative;
}

.step__num {
  font-family: var(--serif);
  font-size: 1.8rem;
  color: var(--blue);
  font-weight: 600;
  line-height: 1;
  margin-bottom: 10px;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.note {
  margin-top: 22px;
  padding: 14px 16px;
  background: var(--blue-soft);
  border-left: 4px solid var(--blue);
  border-radius: 10px;
  color: var(--heading);
  font-size: 0.95rem;
}

/* Report panels */

.panel-grid {
  grid-template-columns: repeat(4, 1fr);
  margin-top: 36px;
}

.panel__idx {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 8px;
}

.panel p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.panel--fun {
  background: var(--navy);
  color: var(--white);
  border-color: transparent;
  border-top: 4px solid var(--red);
}

.panel--fun .panel__idx,
.panel--fun h3,
.panel--fun p {
  color: var(--white);
}

.panel--fun p {
  opacity: 0.9;
}

/* Science */

.science {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}

.quote {
  margin: 20px 0 0;
  padding: 18px 20px;
  background: var(--paper);
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--red);
  font-family: var(--serif);
  font-size: 1.12rem;
  color: var(--heading);
}

.trust-grid {
  grid-template-columns: 1fr 1fr;
}

.trust {
  text-align: center;
  min-height: 140px;
}

.trust strong {
  display: block;
  font-size: 1.35rem;
  color: var(--blue);
  margin-bottom: 6px;
}

/* Pricing */

.price-grid {
  grid-template-columns: 1.15fr 0.85fr 0.85fr;
  align-items: stretch;
  margin-top: 36px;
}

.price-row {
  grid-template-columns: 1fr 1fr;
  margin-top: 18px;
}

.price {
  color: var(--ink);
  display: flex;
  flex-direction: column;
}

.price h3 {
  color: var(--heading);
}

.price--featured {
  border: 2px solid var(--blue);
  box-shadow: var(--shadow);
  position: relative;
  padding-top: 36px;
}

.badge {
  position: absolute;
  top: 0;
  right: 20px;
  transform: translateY(-50%);
  background: var(--red);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 999px;
}

.price .amount {
  font-family: var(--serif);
  font-size: 2.4rem;
  color: var(--heading);
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 6px 0 10px;
}

.price .amount small {
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--muted);
  font-weight: 600;
}

.price ul {
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  flex: 1;
}

.price li {
  position: relative;
  padding: 7px 0 7px 26px;
  color: var(--muted);
  font-size: 0.95rem;
}

.price li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 14px;
  height: 8px;
  border-left: 2.5px solid var(--blue);
  border-bottom: 2.5px solid var(--blue);
  transform: rotate(-45deg);
}

.price--family {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.14);
  color: var(--white);
}

.price--family h3,
.price--family .amount,
.price-extra h3 {
  color: var(--white);
}

.price--family li {
  color: rgba(255, 255, 255, 0.86);
}

.price--family li::before {
  border-color: #9ec5ff;
}

.price-extra {
  margin-top: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 18px 22px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.price-extra p {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.92rem;
}

.price-extra .amount {
  font-family: var(--serif);
  font-size: 1.8rem;
  white-space: nowrap;
}

.price-extra .amount small {
  font-family: var(--font);
  font-size: 0.9rem;
  opacity: 0.75;
}

/* FAQ */

.faq-list {
  max-width: 760px;
  margin: 36px auto 0;
}

.faq-list details {
  border-bottom: 1px solid var(--line);
  padding: 6px 0;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--heading);
  padding: 16px 32px 16px 0;
  list-style: none;
  position: relative;
}

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

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 14px;
  color: var(--blue);
  font-size: 1.4rem;
  font-weight: 500;
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list details p {
  margin: 0 0 16px;
  color: var(--muted);
}

/* Contact + footer */

.contact-grid {
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  margin-top: 32px;
}

.contact-card a {
  color: var(--heading);
  text-decoration: none;
  font-weight: 800;
  font-size: 1.2rem;
}

.contact-card a:hover {
  color: var(--blue);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.78);
  padding: 48px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

.price__note {
  margin: -4px 0 12px;
  font-size: 0.88rem;
}

.price__tagline {
  margin: 0 0 12px;
  font-size: 0.92rem;
}

.price--family .price__tagline {
  color: rgba(255, 255, 255, 0.78);
}

.site-footer .brand,
.site-footer .brand__name {
  color: var(--white);
}

.site-footer .brand__name span {
  color: #9ec5ff;
}

.site-footer .brand {
  margin-bottom: 12px;
}

.site-footer h3 {
  color: var(--white);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: var(--font);
}

.site-footer a {
  color: #9ec5ff;
  text-decoration: none;
}

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

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li + li {
  margin-top: 8px;
}

.disclaimer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 18px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
}

.copyright {
  margin-top: 10px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
}

.mobile-cta {
  display: none;
}

@media (max-width: 980px) {
  .hero__grid,
  .science,
  .price-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .steps,
  .panel-grid,
  .price-row {
    grid-template-columns: 1fr 1fr;
  }

  .hero__stats {
    grid-template-columns: 1fr 1fr;
  }

  .nav {
    display: none;
  }

  .nav-toggle {
    display: grid;
    place-items: center;
  }

  .price-extra {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .wrap {
    width: min(var(--max), calc(100% - 28px));
  }

  .section {
    padding: 56px 0;
  }

  .feature-grid,
  .steps,
  .panel-grid,
  .price-row,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 20px;
  }

  .mobile-cta {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: var(--cta-bar-bg);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--line);
  }

  body {
    padding-bottom: 76px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn,
  .feature,
  .panel,
  .price {
    transition: none;
  }

  .btn:hover,
  .feature:hover,
  .panel:hover,
  .price:hover {
    transform: none;
  }
}
