/* WholeGenomeTesting.com — site styles */

:root {
  --ink: #16202e;
  --ink-soft: #4a5a70;
  --bg: #f4f8fc;
  --bg-deep: #e7f0f8;
  --navy: #0b2545;
  --navy-soft: #123a6b;
  --teal: #17b5a6;
  --teal-bright: #3fe0c8;
  --blue: #3f7fe0;
  --rule: #d5e2ef;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container.narrow { max-width: 780px; }

h2 {
  font-size: clamp(1.6rem, 4vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 1.2rem;
  position: relative;
  padding-bottom: 0.7rem;
}

h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 66px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--teal), var(--blue));
}

p + p { margin-top: 1rem; }

/* ---------- Masthead ---------- */
.masthead {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(63, 224, 200, 0.18), transparent 60%),
    radial-gradient(900px 500px at 0% 110%, rgba(63, 127, 224, 0.22), transparent 55%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-soft) 100%);
  color: #eaf3fb;
  text-align: center;
  padding: 2rem 1rem 4.5rem;
  border-bottom: 4px solid var(--teal);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: #fff;
  margin-bottom: 2.75rem;
}

.brand-mark { border-radius: 14px; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35); }

.brand-name {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1;
  display: flex;
  flex-direction: column;
  text-align: left;
}

.brand-name-sub {
  font-weight: 500;
  color: var(--teal-bright);
  letter-spacing: 0.02em;
}

.masthead-kicker {
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 0.78rem;
  color: var(--teal-bright);
  margin-bottom: 1rem;
}

.masthead-headline {
  font-size: clamp(2.1rem, 6.5vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.08;
  max-width: 16ch;
  margin: 0 auto;
}

.masthead-tagline {
  margin: 1.3rem auto 0;
  max-width: 60ch;
  font-size: clamp(1.02rem, 2.4vw, 1.2rem);
  color: #c7dcef;
}

/* ---------- Sections ---------- */
section { padding: 3.75rem 0; }

.feature-list, .steps { list-style: none; }

/* Intro */
.intro { background: #fff; }

/* Stats */
.stats { background: var(--bg-deep); }

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.1rem;
  margin-top: 1.75rem;
}

.stat {
  text-align: center;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 1.5rem 0.6rem 1.25rem;
  box-shadow: 0 3px 12px rgba(11, 37, 69, 0.05);
}

.stat-number {
  display: block;
  font-size: clamp(1.5rem, 3.2vw, 1.85rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, var(--teal), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-label {
  display: block;
  margin-top: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ink-soft);
}

/* Uses / feature list */
.uses { background: #fff; }

.feature-list li {
  padding: 0.85rem 0 0.85rem 2rem;
  border-bottom: 1px solid var(--rule);
  position: relative;
}

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

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.4rem;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal-bright), var(--blue));
}

/* Process steps */
.process { background: var(--bg-deep); }

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-top: 1.75rem;
}

.steps li {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 1.6rem 1.4rem;
  box-shadow: 0 3px 12px rgba(11, 37, 69, 0.05);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--navy-soft));
  color: var(--teal-bright);
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 0.9rem;
}

.steps h3 {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
  letter-spacing: -0.01em;
}

.steps p { color: var(--ink-soft); font-size: 0.98rem; }

/* Why */
.why { background: #fff; }

.disclaimer {
  margin-top: 1.5rem;
  padding: 1rem 1.2rem;
  background: var(--bg-deep);
  border-left: 3px solid var(--teal);
  border-radius: 6px;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: #b9cee2;
  text-align: center;
  padding: 2.5rem 1rem;
  border-top: 4px solid var(--teal);
  font-size: 0.9rem;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  margin-bottom: 0.75rem;
}

.footer-brand img { border-radius: 9px; }

/* ---------- Responsive ---------- */
@media (max-width: 600px) {
  section { padding: 2.75rem 0; }
  .masthead { padding: 1.75rem 1rem 3.5rem; }
  .brand { margin-bottom: 2rem; }
}
