/* Cancer Cell Diagnostics (CCDx) website stylesheet
   Source of truth: CCDx design system (tokens.json v1, cancercelldx.com live styles, Style Guide v4 July 2024).
   One file for the whole site. No inline styles anywhere in the HTML. */

/* ---------- Tokens ---------- */
:root {
  /* Color */
  --navy: #001238;
  --blue: #3879ff;
  --ice: #fafeff;
  --white: #ffffff;
  --mist: #e0ecf0;
  --sky: #a4c1e1;
  --ice-muted: rgba(255, 255, 255, 0.58);
  --blue-50: #eef3ff;
  --blue-100: #dbe6ff;
  --blue-600: #2a63e6;
  --blue-700: #1f4fc2;
  --navy-700: #163566;
  --aqua: #1aa7c9;
  --aqua-700: #0f7f9a;
  --green: #1b7f4b;
  --amber: #b2650b;
  --red: #c62f2f;

  /* Type */
  --font-display: Poppins, Helvetica, Arial, Lucida, sans-serif;
  --font-body: "Inter Tight", Helvetica, Arial, Lucida, sans-serif;

  /* Spacing */
  --space-btn-y: 6px;
  --space-btn-x: 20px;
  --space-card: 25px;
  --space-block: 50px;
  --space-section: 80px;

  /* Radius and borders */
  --radius-sharp: 0px;
  --radius-btn: 999px;
  --radius-card: 30px;
  --border-btn: 2px;
  --border-card: 1px;

  /* Layout */
  --measure: 1120px;
  --gutter: 20px;
}

/* ---------- Reset and base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ice);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 34.2px;
  font-weight: 300;
}

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

a {
  color: var(--blue-700);
  text-decoration: none;
  transition: color 150ms ease, background-color 150ms ease, border-color 150ms ease;
}

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

a:hover,
a:focus-visible {
  color: var(--blue-600);
  text-decoration: underline;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
}

.band-navy a:focus-visible,
.band-navy button:focus-visible,
.band-blue a:focus-visible,
.band-blue button:focus-visible,
.site-footer a:focus-visible {
  outline-color: var(--ice);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--white);
  color: var(--navy);
  padding: var(--space-btn-y) var(--space-btn-x);
  z-index: 100;
}

.skip-link:focus {
  left: var(--gutter);
}

/* ---------- Type styles ---------- */
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 400;
  color: inherit;
  margin: 0 0 20px;
}

h1,
.hero-title {
  font-size: 64px;
  line-height: 1.05;
  font-weight: 300;
  letter-spacing: -2.5px;
  margin-bottom: 24px;
}

h2,
.h2 {
  font-size: 44px;
  line-height: 1.08;
  letter-spacing: -2px;
}

.h2-band {
  font-size: 30px;
  line-height: 36px;
  letter-spacing: -1px;
}

.h2-sm {
  font-size: 23px;
  line-height: 23px;
  letter-spacing: -1px;
}

h3,
.h3 {
  font-size: 20px;
  line-height: 20px;
  letter-spacing: -1px;
}

h4,
.h4 {
  font-size: 20px;
  line-height: 32px;
  letter-spacing: -1px;
}

p {
  margin: 0 0 20px;
}

.lead {
  font-size: 21px;
  line-height: 30px;
  margin-bottom: 30px;
}

.body {
  font-size: 16px;
  line-height: 24px;
}

.small {
  font-size: 14px;
  line-height: 25.2px;
}

ul,
ol {
  margin: 0 0 20px;
  padding-left: 22px;
}

li {
  margin-bottom: 6px;
}

strong {
  font-weight: 500;
}

hr {
  border: 0;
  border-top: var(--border-card) solid var(--sky);
  margin: var(--space-block) 0;
}

/* ---------- Layout ---------- */
.container {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding: var(--space-section) 0;
  border-radius: var(--radius-sharp);
}

.section-tight {
  padding: var(--space-block) 0;
}

.band-white {
  background: var(--white);
}

.band-mist {
  background: var(--mist);
}

.band-sky {
  background: var(--sky);
}

.band-navy {
  background: var(--navy);
  color: var(--ice);
}

.band-blue {
  background: var(--blue);
  color: var(--ice);
}

.band-blue-50 {
  background: var(--blue-50);
}

.band-navy .muted,
.site-footer .muted {
  color: var(--ice-muted);
}

.section-head {
  max-width: 760px;
  margin-bottom: var(--space-block);
}

.row {
  margin-top: var(--space-block);
}

.grid {
  display: grid;
  gap: 30px;
}

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

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

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

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 60px;
  align-items: start;
}

.narrow {
  max-width: 760px;
}

.center {
  text-align: center;
}

.center .section-head {
  margin-left: auto;
  margin-right: auto;
}

.center .btn-row {
  justify-content: center;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: color 150ms ease, background-color 150ms ease, border-color 150ms ease;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 24px;
  font-weight: 500;
  color: var(--blue-700);
  background: transparent;
  border: var(--border-btn) solid var(--blue);
  border-radius: var(--radius-btn);
  padding: 12px 24px;
  text-decoration: none;
  cursor: pointer;
}

.btn:hover,
.btn:focus-visible {
  text-decoration: none;
  background: var(--blue-50);
  border-color: var(--blue-600);
  color: var(--blue-700);
}

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

.btn-primary::after {
  content: "→";
  display: inline-block;
  transition: transform 150ms ease;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--blue-600);
  border-color: var(--blue-600);
  color: var(--white);
}

.btn-primary:hover::after,
.btn-primary:focus-visible::after {
  transform: translateX(4px);
}

/* On navy: primary is white, secondary is ice outline */
.hero .btn,
.band-navy .btn {
  color: var(--ice);
  border-color: rgba(250, 254, 255, 0.5);
}

.hero .btn:hover,
.hero .btn:focus-visible,
.band-navy .btn:hover,
.band-navy .btn:focus-visible {
  background: rgba(250, 254, 255, 0.08);
  border-color: var(--ice);
  color: var(--ice);
}

.hero .btn-primary,
.band-navy .btn-primary {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}

.hero .btn-primary:hover,
.hero .btn-primary:focus-visible,
.band-navy .btn-primary:hover,
.band-navy .btn-primary:focus-visible {
  background: var(--blue-600);
  border-color: var(--blue-600);
}

/* On blue: primary is white-filled navy text, secondary is white outline */
.band-blue .btn {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.6);
}

.band-blue .btn:hover,
.band-blue .btn:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
  color: var(--white);
}

.band-blue .btn-primary {
  background: var(--white);
  border-color: var(--white);
  color: var(--navy);
}

.band-blue .btn-primary:hover,
.band-blue .btn-primary:focus-visible {
  background: var(--ice);
  border-color: var(--ice);
  color: var(--navy);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 30px;
}

/* ---------- Header ---------- */
.site-header {
  background: var(--ice);
  border-bottom: var(--border-card) solid transparent;
  position: sticky;
  top: 0;
  z-index: 50;
  transition: border-color 150ms ease;
}

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

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 18px var(--gutter);
  max-width: var(--measure);
  margin: 0 auto;
}

.brand img {
  height: 44px;
  width: auto;
}

.nav-toggle {
  display: none;
}

.nav-toggle-label {
  display: none;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  color: var(--navy);
  cursor: pointer;
  padding: 6px 0;
}

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

.nav a {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  color: var(--navy);
}

.nav a:hover,
.nav a:focus-visible,
.nav a[aria-current="page"] {
  color: var(--blue-700);
  text-decoration: none;
}

.nav .btn {
  font-size: 15px;
  line-height: 20px;
  padding: 8px 18px;
}

/* ---------- Hero ---------- */
.hero {
  padding: 96px 0;
  background: var(--navy);
  color: var(--ice);
}

.hero.hero-tall {
  padding: 0;
  overflow: hidden;
}

.hero.hero-tall .hero-split {
  padding-top: 0;
}

.hero.hero-tall .hero-split > div:first-child {
  padding: 96px 0;
}

.hero.hero-tall .hero-figure {
  align-self: stretch;
  min-height: 520px;
  padding: 0;
  display: block;
}

.hero-figure {
  position: relative;
}

.hero-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% center;
  filter: saturate(0.55) contrast(1.02) brightness(0.9);
}

.hero-figure::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--navy);
  mix-blend-mode: multiply;
  opacity: 0.45;
  pointer-events: none;
  z-index: 1;
}

.hero-figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--navy) 0%, rgba(0, 18, 56, 0.9) 14%, rgba(0, 18, 56, 0) 45%),
    linear-gradient(180deg, var(--navy) 0%, rgba(0, 18, 56, 0) 22%, rgba(0, 18, 56, 0) 78%, var(--navy) 100%);
  pointer-events: none;
  z-index: 2;
}

.photo {
  margin: 30px 0 0;
}

.photo img {
  width: 100%;
  height: auto;
}

.portrait {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--blue-50);
  margin-bottom: 16px;
}

.hero a:not(.btn) {
  color: var(--ice);
}

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

.hero a:focus-visible {
  outline-color: var(--ice);
}

.hero .hero-title {
  max-width: 820px;
}

.hero .lead {
  max-width: 640px;
}

.hero-split {
  display: grid;
  grid-template-columns: minmax(0, 11fr) minmax(0, 13fr);
  gap: 0;
  align-items: center;
}

.hero-split > div:first-child {
  position: relative;
  z-index: 3;
  padding-right: 40px;
}

.hero-figure {
  background: var(--navy);
  color: var(--ice-muted);
  min-height: 440px;
  margin: 0;
  margin-right: calc(50% - 50vw);
  margin-left: -80px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-card);
}

.hero-figure .small {
  margin: 0;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 25.2px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--blue-700);
  margin-bottom: 14px;
}

/* ---------- Cards ---------- */
.card {
  background: var(--white);
  border: var(--border-card) solid var(--sky);
  border-radius: var(--radius-card);
  padding: var(--space-card);
}

.card p:last-child {
  margin-bottom: 0;
}

.card-link {
  display: block;
  color: var(--navy);
}

.card-link:hover,
.card-link:focus-visible {
  text-decoration: none;
  border-color: var(--blue);
  background: var(--blue-50);
}

.card-link h3 {
  color: var(--blue-700);
}

.card .small {
  margin-bottom: 0;
}

.band-mist .card,
.band-blue-50 .card {
  border-color: var(--sky);
}

.band-navy .card {
  background: var(--navy-700);
  border-color: var(--navy-700);
  color: var(--ice);
}

/* ---------- Service items (icon beside text) ---------- */
.service {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.service img {
  width: 60px;
  height: 60px;
  padding: 12px;
  background: var(--blue-50);
  border-radius: 50%;
}

.band-blue-50 .service img {
  background: var(--white);
}

.service h4 {
  color: var(--blue-700);
}

.service h4 {
  margin-bottom: 6px;
}

.service p {
  font-size: 16px;
  line-height: 24px;
  margin-bottom: 0;
}

/* ---------- Use cases (icon above text) ---------- */
.usecase {
  text-align: center;
}

.usecase img {
  width: 180px;
  height: 180px;
  padding: 30px;
  background: var(--blue-50);
  border-radius: 50%;
  margin: 0 auto 24px;
}

.usecase h3 {
  font-size: 23px;
  line-height: 23px;
  color: var(--blue-700);
}

.usecase p {
  font-size: 16px;
  line-height: 24px;
}

/* ---------- Process steps ---------- */
.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}

.steps li {
  counter-increment: step;
  padding-top: 16px;
  border-top: var(--border-btn) solid var(--blue);
  margin: 0;
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 20px;
  letter-spacing: -1px;
  color: var(--blue-700);
  margin-bottom: 14px;
}

.steps h4 {
  margin-bottom: 6px;
}

.steps p {
  font-size: 16px;
  line-height: 24px;
  margin-bottom: 0;
}

/* ---------- Spec table ---------- */
.spec {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
  line-height: 24px;
}

.spec th,
.spec td {
  text-align: left;
  vertical-align: top;
  padding: 14px 0;
  border-bottom: var(--border-card) solid var(--sky);
}

.spec th {
  font-family: var(--font-body);
  font-weight: 500;
  width: 32%;
  padding-right: 20px;
  color: var(--blue-700);
}

/* ---------- Definition pairs and FAQ ---------- */
.faq details {
  border-bottom: var(--border-card) solid var(--sky);
  padding: 14px 0;
}

.faq summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 32px;
  letter-spacing: -1px;
  list-style: none;
}

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

.faq summary::after {
  content: "+";
  float: right;
  color: var(--blue-700);
}

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

.faq p {
  font-size: 16px;
  line-height: 24px;
  margin: 10px 0 0;
}

/* ---------- Stat row ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
}

.proof {
  padding: 36px 0;
  border-bottom: var(--border-card) solid var(--sky);
}

.proof .stats {
  gap: 20px;
}

.proof .stat-value {
  font-size: 36px;
  line-height: 40px;
  letter-spacing: -1.5px;
}

.stat-value {
  font-family: var(--font-display);
  font-size: 40px;
  line-height: 40px;
  letter-spacing: -2px;
  color: var(--blue-700);
  margin-bottom: 8px;
}

.stat-label {
  font-size: 16px;
  line-height: 24px;
  margin: 0;
}

/* ---------- Forms ---------- */
.form {
  display: grid;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.field {
  display: grid;
  gap: 6px;
}

.field label {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
}

.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 24px;
  font-weight: 300;
  color: var(--navy);
  background: var(--white);
  border: var(--border-card) solid var(--navy);
  border-radius: 6px;
  padding: 10px 14px;
  width: 100%;
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.field-check {
  display: flex;
  gap: 10px;
  align-items: start;
  font-size: 14px;
  line-height: 20px;
}

.field-check input {
  margin-top: 3px;
}

.field input:user-invalid,
.field textarea:user-invalid {
  border-color: var(--red);
}

.form-note-ok {
  color: var(--green);
}

.form-note-warn {
  color: var(--amber);
}

.form-note-error {
  color: var(--red);
}

/* ---------- News list ---------- */
.news-item {
  padding: 24px 0;
  border-bottom: var(--border-card) solid var(--sky);
}

.news-item .small {
  margin-bottom: 6px;
}

.news-item h3 {
  font-size: 20px;
  line-height: 32px;
}

.news-item p {
  font-size: 16px;
  line-height: 24px;
  margin-bottom: 0;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: var(--ice);
  border-top: 4px solid var(--blue);
  padding: var(--space-section) 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
}

.footer-brand img {
  height: 80px;
  width: auto;
  margin-bottom: 20px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 25.2px;
  color: var(--ice-muted);
  max-width: 320px;
}

.site-footer h4 {
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0;
  font-weight: 500;
  font-family: var(--font-body);
  margin-bottom: 12px;
}

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

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

.site-footer a {
  color: var(--ice);
  font-size: 14px;
  line-height: 25.2px;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--blue);
}

.footer-legal {
  margin-top: var(--space-block);
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  line-height: 25.2px;
  color: var(--ice-muted);
}

.footer-legal a {
  color: var(--ice-muted);
}


/* ---------- Badges, callouts, quotes, team, jobs ---------- */
.badges {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.badges li {
  background: var(--navy-700);
  color: var(--ice);
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  padding: 14px 20px;
  border-left: 4px solid var(--blue);
}

.callout {
  background: var(--blue-50);
  border: var(--border-card) solid var(--sky);
  padding: 16px 20px;
  font-size: 16px;
  line-height: 24px;
}

.band-blue-50 .callout {
  background: var(--white);
}

.quote {
  margin: 30px 0 0;
  padding: 0 0 0 20px;
  border-left: 4px solid var(--blue);
}

.quote p {
  font-family: var(--font-display);
  font-size: 23px;
  line-height: 32px;
  letter-spacing: -1px;
  margin-bottom: 8px;
}

.quote footer {
  color: var(--blue-700);
}

.team h3 {
  margin-bottom: 4px;
}

.team .role {
  color: var(--blue-700);
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  margin-bottom: 12px;
}

.team ul {
  margin-bottom: 0;
}

.job h3 {
  margin-bottom: 6px;
}

.job .btn-row {
  margin-top: 16px;
}

.job .btn {
  font-size: 15px;
  line-height: 20px;
  padding: 8px 18px;
}

.band-navy .muted {
  font-size: 16px;
  line-height: 24px;
  max-width: 760px;
}


/* ---------- Features: ruled columns instead of boxes ---------- */
.feature {
  border-top: var(--border-btn) solid var(--blue);
  padding-top: 18px;
}

.feature h3 {
  color: var(--blue-700);
  margin-bottom: 10px;
}

.feature p {
  font-size: 16px;
  line-height: 24px;
  margin-bottom: 0;
}

.band-navy .feature {
  border-top-color: var(--blue);
}

/* ---------- Workflow diagram ---------- */
.diagram {
  width: 100%;
  height: auto;
  display: block;
  margin-top: var(--space-block);
}

.dg-navy {
  fill: var(--navy);
}

.dg-blue {
  fill: var(--blue);
}

.dg-aqua {
  fill: var(--aqua);
}

.dg-ice {
  fill: var(--ice);
}

.dg-mist {
  fill: var(--blue-50);
}

.dg-line {
  fill: none;
  stroke: var(--sky);
  stroke-width: 2;
}

.dg-arrow {
  fill: none;
  stroke: var(--blue);
  stroke-width: 2;
}

.dg-label {
  font-family: var(--font-display);
  font-size: 15px;
  fill: var(--navy);
}

.dg-sub {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 300;
  fill: var(--navy);
}

.dg-tag {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1px;
  fill: var(--aqua-700);
}

/* ---------- Footer statement ---------- */
.footer-statement {
  font-family: var(--font-display);
  font-size: 30px;
  line-height: 36px;
  letter-spacing: -1px;
  max-width: 720px;
  margin: 0 0 var(--space-block);
}

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

  a,
  .btn,
  .site-header {
    transition: none;
  }
}


/* ---------- Third-party embeds ---------- */
.embed {
  background: var(--white);
  border: var(--border-card) solid var(--sky);
  border-radius: 12px;
  overflow: hidden;
}

.embed iframe {
  display: block;
  border: 0;
  width: 100%;
  min-height: 640px;
}


/* ---------- Comparison ---------- */
.compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin: var(--space-block) 0 0;
}

.compare-col {
  background: var(--white);
  border: var(--border-card) solid var(--sky);
  border-radius: 16px;
  padding: 36px 40px;
}

.compare-ours {
  background: var(--navy);
  color: var(--ice);
  border-color: var(--navy);
}

.compare-label {
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 20px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--blue-700);
  margin: 0 0 10px;
}

.compare-ours .compare-label {
  color: var(--blue);
}

.compare-col h3 {
  font-size: 36px;
  line-height: 40px;
  letter-spacing: -1.5px;
  margin-bottom: 6px;
}

.compare-sub {
  font-size: 15px;
  line-height: 22px;
  margin: 0 0 18px;
  color: var(--blue-700);
}

.compare-ours .compare-sub {
  color: var(--aqua);
}

.compare-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.compare-col li {
  font-size: 16px;
  line-height: 24px;
  padding: 12px 0 12px 26px;
  border-top: 1px solid var(--sky);
  position: relative;
}

.compare-ours li {
  border-top-color: rgba(250, 254, 255, 0.16);
}

.compare-col li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 17px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--sky);
}

.compare-ours li::before {
  background: var(--aqua);
}

/* ---------- Utilities ---------- */
.mt-0 {
  margin-top: 0;
}

.mb-0 {
  margin-bottom: 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .grid-4,
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-split,
  .split {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .hero-figure {
    margin-right: 0;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 16px;
    line-height: 28px;
  }

  h1,
  .hero-title {
    font-size: 36px;
    line-height: 1.08;
    letter-spacing: -1.5px;
  }

  h2,
  .h2,
  .stat-value {
    font-size: 30px;
    line-height: 1.1;
    letter-spacing: -1px;
  }

  .hero {
    padding: 56px 0;
  }

  .hero.hero-tall .hero-split > div:first-child {
    padding: 56px 0 0;
  }

  .hero.hero-tall .hero-figure {
    min-height: 260px;
  }

  .hero-figure {
    margin: 0 calc(-1 * var(--gutter));
    min-height: 320px;
  }

  .hero-split > div:first-child {
    padding-right: 0;
  }

  .hero-figure::after {
    background: linear-gradient(180deg, var(--navy) 0%, rgba(0, 18, 56, 0) 35%, rgba(0, 18, 56, 0) 80%, var(--navy) 100%);
  }

  .proof .stat-value {
    font-size: 28px;
    line-height: 32px;
  }

  .footer-statement {
    font-size: 23px;
    line-height: 28px;
  }

  .section {
    padding: 56px 0;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .steps,
  .stats,
  .form-row,
  .footer-grid,
  .compare {
    grid-template-columns: minmax(0, 1fr);
  }

  .nav-toggle-label {
    display: inline-block;
  }

  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--ice);
    border-bottom: var(--border-card) solid var(--sky);
    padding: 10px var(--gutter) 20px;
  }

  .nav a {
    display: block;
    padding: 10px 0;
  }

  .nav .btn {
    margin-top: 10px;
  }

  .nav-toggle:checked ~ .nav {
    display: flex;
  }

  .header-row {
    position: relative;
  }

  .usecase img {
    width: 140px;
    height: 140px;
    padding: 22px;
  }

  .spec th {
    width: 40%;
  }
}

@media print {
  .site-header,
  .site-footer,
  .btn-row {
    display: none;
  }

  body {
    background: var(--white);
  }
}
