:root {
  --ink: #12233f;
  --ink-soft: #4d607a;
  --navy: #092d57;
  --blue: #176bb3;
  --blue-bright: #2586d7;
  --teal: #147f80;
  --teal-soft: #dcefee;
  --sky: #edf6fa;
  --sand: #f5f1e9;
  --line: #d9e4ea;
  --white: #ffffff;
  --shadow: 0 22px 55px rgba(12, 53, 86, 0.12);
  --radius: 22px;
  --shell: min(1180px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-size: 0.98rem;
  line-height: 1.65;
}

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

a {
  color: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.12;
  letter-spacing: -0.035em;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(2.9rem, 5vw, 5.1rem);
  font-weight: 760;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(1.85rem, 3vw, 2.75rem);
  font-weight: 730;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.32rem;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.section {
  padding: 86px 0;
}

.eyebrow {
  margin-bottom: 16px;
  color: var(--teal);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.lead {
  max-width: 700px;
  color: var(--ink-soft);
  font-size: clamp(1.18rem, 2vw, 1.48rem);
  line-height: 1.52;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid rgba(217, 228, 234, 0.82);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
}

.nav-shell,
.primary-nav,
.brand,
.button-row,
.hero-card-grid,
.proof-strip,
.footer-grid,
.footer-links {
  display: flex;
  align-items: center;
}

.nav-shell {
  min-height: 74px;
  justify-content: space-between;
  gap: 26px;
}

.brand {
  text-decoration: none;
}

.brand img {
  width: 102px;
  height: 58px;
  object-fit: contain;
}

.primary-nav {
  gap: 20px;
}

.primary-nav a {
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.primary-nav a:hover,
.text-link:hover,
.footer-links a:hover {
  color: var(--blue);
}

.primary-nav .nav-login {
  padding: 10px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--navy);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 42px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 4px 0;
  border-radius: 2px;
  background: var(--navy);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 88px;
  background:
    radial-gradient(circle at 88% 12%, rgba(37, 134, 215, 0.17), transparent 28%),
    radial-gradient(circle at 13% 85%, rgba(20, 127, 128, 0.16), transparent 26%),
    linear-gradient(135deg, #f8fbfc 0%, #edf6fa 62%, #f7fbfc 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(320px, 0.72fr);
  align-items: end;
  gap: 68px;
}

.hero h1 {
  max-width: 850px;
  color: var(--navy);
}

.home-hero h1 {
  margin-bottom: 8px;
  font-size: clamp(3.2rem, 6vw, 5.7rem);
}

.hero h1 span {
  color: var(--teal);
}

.hero-positioning {
  margin-bottom: 24px;
  color: var(--teal);
  font-size: clamp(1.2rem, 2vw, 1.58rem);
  font-weight: 760;
  letter-spacing: 0.04em;
}

.button-row {
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.91rem;
  font-weight: 780;
  line-height: 1;
  text-decoration: none;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--navy);
  box-shadow: 0 12px 24px rgba(9, 45, 87, 0.18);
  color: var(--white);
}

.button-secondary {
  border-color: #b7cad6;
  background: rgba(255, 255, 255, 0.74);
  color: var(--navy);
}

.button-light {
  background: var(--white);
  color: var(--navy);
}

.button-outline-light {
  border-color: rgba(255, 255, 255, 0.54);
  color: var(--white);
}

.hero-card {
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
}

.hero-card h2 {
  font-size: 1.52rem;
}

.hero-card p:not(.eyebrow) {
  color: var(--ink-soft);
  font-size: 0.96rem;
}

.hero-card-grid {
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.hero-card-grid span {
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--teal-soft);
  color: var(--teal);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 0.82fr);
  gap: 90px;
}

.prose {
  color: var(--ink-soft);
  font-size: 1.06rem;
}

.prose p:last-child,
.info-card p:last-child,
.contact-card p:last-child {
  margin-bottom: 0;
}

.platform-teaser,
.matrix-section,
.reading {
  background: var(--sky);
}

.platform-grid,
.matrix-grid,
.detail-grid,
.about-grid,
.diagnostics-hero-grid {
  display: grid;
  align-items: center;
  gap: 64px;
}

.platform-grid {
  grid-template-columns: minmax(0, 0.86fr) minmax(420px, 1.14fr);
}

.product-copy p:not(.eyebrow, .product-tagline, .caption) {
  color: var(--ink-soft);
  font-size: 1.04rem;
}

.product-tagline {
  color: var(--teal);
  font-size: 1.2rem;
  font-weight: 760;
}

.check-list {
  display: grid;
  gap: 11px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 27px;
  color: var(--ink-soft);
}

.check-list li::before {
  position: absolute;
  top: 0.24em;
  left: 0;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  content: "✓";
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 17px;
  text-align: center;
}

.text-link {
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.screen-card {
  position: relative;
  overflow: hidden;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.screen-card img {
  width: 100%;
  border-radius: 9px;
}

.screen-card-featured {
  transform: rotate(1deg);
}

.demo-label {
  position: absolute;
  z-index: 2;
  top: 20px;
  right: 20px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(9, 45, 87, 0.9);
  color: var(--white);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-heading {
  max-width: 740px;
  margin-bottom: 42px;
}

.card-grid,
.book-grid,
.workflow-grid {
  display: grid;
  gap: 18px;
}

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

.info-card {
  min-height: 260px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
}

.info-card-link {
  color: inherit;
  text-decoration: none;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.info-card-link:hover {
  border-color: rgba(23, 107, 179, 0.42);
  box-shadow: 0 16px 30px rgba(12, 53, 86, 0.1);
  transform: translateY(-4px);
}

.info-card p:not(.card-number) {
  color: var(--ink-soft);
}

.card-number {
  margin-bottom: 42px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.card-action {
  display: inline-block;
  margin-top: 15px;
  color: var(--blue);
  font-size: 0.84rem;
  font-weight: 800;
}

.card-action::after {
  margin-left: 6px;
  content: "→";
}

.service-details {
  padding-top: 0;
}

.service-detail-grid {
  display: grid;
  gap: 18px;
}

.service-detail {
  display: grid;
  grid-template-columns: minmax(220px, 0.43fr) minmax(0, 1fr);
  gap: 32px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  scroll-margin-top: 102px;
}

.service-detail img {
  width: 100%;
  height: 100%;
  min-height: 290px;
  border-radius: 12px;
  object-fit: cover;
}

.service-detail h3 {
  font-size: 1.62rem;
}

.service-detail p:not(.eyebrow),
.service-detail li {
  color: var(--ink-soft);
}

.service-detail ul {
  padding-left: 19px;
  margin-bottom: 18px;
}

.service-detail li + li {
  margin-top: 4px;
}

.about {
  background: var(--sand);
}

.about-grid {
  grid-template-columns: minmax(260px, 0.67fr) minmax(0, 1fr);
}

.portrait-wrap {
  overflow: hidden;
  max-height: 590px;
  border-radius: var(--radius);
}

.portrait-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.about-role {
  max-width: 580px;
  color: var(--teal);
  font-weight: 760;
}

.about-name {
  font-size: clamp(1.95rem, 2.7vw, 2.5rem);
}

.about-page {
  background: var(--sand);
}

.bio-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.62fr) minmax(0, 1fr);
  align-items: center;
  gap: 64px;
}

.bio-portrait {
  overflow: hidden;
  border-radius: var(--radius);
}

.bio-portrait img {
  width: 100%;
  min-height: 590px;
  object-fit: cover;
  object-position: center top;
}

.bio-highlights {
  border-top: 1px solid rgba(217, 228, 234, 0.86);
  background: var(--white);
}

.highlight-list {
  display: grid;
  max-width: 920px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px 36px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.highlight-list li {
  position: relative;
  padding: 15px 0 15px 23px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
}

.highlight-list li::before {
  position: absolute;
  top: 24px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  content: "";
}

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

.book-card {
  display: grid;
  grid-template-columns: 138px minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  min-height: 232px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
}

.book-card img {
  width: 138px;
  height: 184px;
  border-radius: 8px;
  object-fit: cover;
}

.book-card p {
  color: var(--ink-soft);
}

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

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

.publication-card {
  display: flex;
  min-height: 254px;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
}

.publication-card h3 {
  font-size: 1.22rem;
}

.publication-card p:not(.publication-type) {
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.publication-card .text-link {
  margin-top: auto;
}

.publication-type {
  margin-bottom: 32px;
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.publication-card-cta {
  border-color: transparent;
  background: var(--sky);
}

.publication-card-cta .button {
  align-self: flex-start;
  margin-top: auto;
}

.contact {
  padding-bottom: 42px;
}

.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 38px;
  padding: 42px;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 100% 0%, rgba(37, 134, 215, 0.38), transparent 34%),
    var(--navy);
  color: var(--white);
}

.contact-card .eyebrow {
  color: #9be0dc;
}

.contact-card h2 {
  max-width: 740px;
  color: var(--white);
}

.contact-card p {
  max-width: 700px;
  color: rgba(255, 255, 255, 0.77);
}

.contact-actions {
  display: grid;
  align-content: center;
  justify-items: stretch;
  gap: 12px;
  min-width: 218px;
}

.contact-actions p {
  margin: 0;
  font-size: 0.84rem;
  text-align: center;
}

.copy-email {
  padding: 6px 4px;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.74);
  cursor: pointer;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.copy-email:hover {
  color: var(--white);
}

.contact-page {
  min-height: calc(100vh - 74px);
  background:
    radial-gradient(circle at 90% 12%, rgba(37, 134, 215, 0.16), transparent 30%),
    var(--sky);
}

.contact-page-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 54px;
  align-items: center;
}

.contact-page h1 {
  font-size: clamp(2.8rem, 5vw, 4.6rem);
}

.contact-email-address {
  color: var(--navy);
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.contact-option-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.contact-option {
  display: grid;
  gap: 5px;
  min-height: 154px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  text-align: left;
  text-decoration: none;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.contact-option:hover {
  border-color: rgba(23, 107, 179, 0.4);
  box-shadow: 0 16px 32px rgba(12, 53, 86, 0.1);
  transform: translateY(-3px);
}

.contact-option .eyebrow {
  margin-bottom: 3px;
}

.contact-option strong {
  color: var(--navy);
  font-size: 1.08rem;
}

.contact-option small {
  color: var(--ink-soft);
  font-size: 0.84rem;
  line-height: 1.52;
}

.site-footer {
  padding: 34px 0;
  border-top: 1px solid var(--line);
  background: #f9fbfc;
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.footer-grid {
  justify-content: space-between;
  gap: 20px;
}

.footer-grid p {
  margin-bottom: 0;
}

.footer-grid strong {
  color: var(--navy);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-links {
  flex-wrap: wrap;
  gap: 18px;
}

.footer-links a {
  font-weight: 700;
  text-decoration: none;
}

.diagnostics-hero-grid {
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.48fr);
}

.hero-note {
  padding: 27px;
  border-left: 3px solid var(--teal);
  background: rgba(255, 255, 255, 0.54);
}

.hero-note p:last-child {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 1.04rem;
}

.product-preview {
  padding-top: 64px;
  padding-bottom: 0;
}

.screen-card-large {
  max-width: 1080px;
  margin-inline: auto;
}

.proof-strip {
  justify-content: center;
  gap: 0;
  max-width: 820px;
  margin: 34px auto 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.proof-strip div {
  display: grid;
  flex: 1;
  gap: 3px;
  padding: 20px 16px;
  text-align: center;
}

.proof-strip div + div {
  border-left: 1px solid var(--line);
}

.proof-strip strong {
  color: var(--navy);
  font-size: 1.14rem;
}

.proof-strip span {
  color: var(--ink-soft);
  font-size: 0.84rem;
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.56fr);
  gap: 54px;
  max-width: none;
}

.split-heading > p {
  color: var(--ink-soft);
  font-size: 1.06rem;
}

.matrix-grid,
.detail-grid {
  grid-template-columns: minmax(0, 0.77fr) minmax(480px, 1.23fr);
}

.caption {
  padding-left: 16px;
  border-left: 2px solid var(--teal);
  color: var(--ink-soft);
  font-size: 0.91rem;
}

.workflow {
  background: var(--navy);
  color: var(--white);
}

.workflow .eyebrow {
  color: #9be0dc;
}

.workflow-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 0;
  margin: 0;
  list-style: none;
}

.workflow-grid li {
  padding: 24px 23px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
}

.workflow-grid span {
  display: block;
  margin-bottom: 64px;
  color: #9be0dc;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.workflow-grid p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.93rem;
}

.detail-section {
  background: var(--sand);
}

.pilot {
  padding-bottom: 42px;
}

.legal-page {
  min-height: 72vh;
  padding: 94px 0;
  background: var(--sky);
}

.legal-shell {
  max-width: 780px;
}

.legal-shell h1 {
  color: var(--navy);
  font-size: clamp(2.8rem, 6vw, 5rem);
}

.legal-shell section {
  padding-top: 24px;
}

.legal-shell h2 {
  margin-bottom: 9px;
  font-size: 1.4rem;
}

.legal-shell p {
  color: var(--ink-soft);
}

.legal-shell a {
  color: var(--blue);
}

@media (max-width: 940px) {
  .section {
    padding: 70px 0;
  }

  .hero {
    padding: 82px 0;
  }

  .hero-grid,
  .platform-grid,
  .about-grid,
  .bio-grid,
  .diagnostics-hero-grid,
  .matrix-grid,
  .detail-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .two-column {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .screen-card-featured {
    transform: none;
  }

  .card-grid-three {
    grid-template-columns: 1fr;
  }

  .info-card {
    min-height: auto;
  }

  .card-number {
    margin-bottom: 32px;
  }

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

  .contact-card {
    grid-template-columns: 1fr;
  }

  .contact-actions {
    width: min(100%, 290px);
  }

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

  .contact-page-shell {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .service-details {
    padding-top: 0;
  }
}

@media (max-width: 760px) {
  :root {
    --shell: min(100% - 28px, 680px);
  }

  h1 {
    font-size: clamp(2.55rem, 12vw, 3.7rem);
  }

  h2 {
    font-size: clamp(1.7rem, 7vw, 2.3rem);
  }

  .home-hero h1 {
    font-size: clamp(3rem, 15vw, 4.1rem);
  }

  .hero-positioning {
    font-size: 1.08rem;
  }

  .nav-shell {
    min-height: 68px;
  }

  .brand img {
    width: 82px;
    height: 48px;
  }

  .nav-toggle {
    display: block;
  }

  .primary-nav {
    position: absolute;
    top: 68px;
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    padding: 10px 20px 20px;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 18px 30px rgba(12, 53, 86, 0.08);
  }

  .primary-nav.is-open {
    display: grid;
    gap: 3px;
  }

  .primary-nav a {
    padding: 10px 6px;
  }

  .primary-nav .nav-login {
    margin-top: 5px;
    padding: 10px 13px;
    text-align: center;
  }

  .hero-grid {
    gap: 30px;
  }

  .hero-card {
    padding: 23px;
  }

  .screen-card {
    padding: 6px;
    border-radius: 12px;
  }

  .screen-card img {
    border-radius: 7px;
  }

  .demo-label {
    top: 12px;
    right: 12px;
    padding: 5px 7px;
    font-size: 0.54rem;
  }

  .split-heading {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .proof-strip {
    align-items: stretch;
  }

  .proof-strip div {
    padding: 14px 7px;
  }

  .proof-strip strong {
    font-size: 0.92rem;
  }

  .proof-strip span {
    font-size: 0.7rem;
  }

  .book-grid,
  .workflow-grid,
  .publication-grid {
    grid-template-columns: 1fr;
  }

  .service-detail {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 14px;
  }

  .service-detail img {
    max-height: 230px;
    min-height: 0;
  }

  .bio-portrait img {
    min-height: 0;
  }

  .highlight-list {
    grid-template-columns: 1fr;
  }

  .book-card {
    grid-template-columns: 92px minmax(0, 1fr);
    min-height: 0;
    padding: 14px;
  }

  .book-card img {
    width: 92px;
    height: 130px;
  }

  .workflow-grid span {
    margin-bottom: 36px;
  }

  .contact-card {
    padding: 28px 22px;
  }

  .footer-grid {
    display: grid;
    justify-content: start;
  }

  .contact-option-grid {
    grid-template-columns: 1fr;
  }

  .contact-option {
    min-height: 0;
  }
}
