:root {
  color-scheme: light;
  --white: #ffffff;
  --black: #050807;
  --green: #0e7a4f;
  --green-dark: #06442f;
  --green-deep: #07110d;
  --green-soft: #ddf7e8;
  --signal: #9bd85a;
  --surface: #f7faf8;
  --surface-strong: #eef4f0;
  --border: #d7e2dc;
  --muted: #334139;
  --subtle: #6f8276;
  --warning: #a66a00;
  --error: #b42318;
  --info: #176b87;
  --shadow: 0 24px 70px rgba(5, 8, 7, 0.11);
  --max: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--black);
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid rgba(215, 226, 220, 0.8);
}

.nav {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  font-family: "Instrument Sans", system-ui, sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-logo {
  display: block;
  width: 178px;
  height: auto;
  max-height: 44px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--muted);
  font-family: "Instrument Sans", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 600;
}

.nav-links a {
  padding: 8px 0;
}

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

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

.btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 18px;
  font-family: "Instrument Sans", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease;
  white-space: nowrap;
}

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

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

.btn-secondary {
  background: var(--white);
  color: var(--black);
  border-color: rgba(14, 122, 79, 0.5);
}

.btn-dark {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

.mobile-menu {
  display: none;
  width: 44px;
  min-width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  color: var(--black);
  cursor: pointer;
}

.mobile-menu span {
  width: 18px;
  height: 2px;
  background: currentColor;
  display: block;
  margin: 4px auto;
}

.mobile-panel {
  display: none;
  border-top: 1px solid var(--border);
  background: var(--white);
}

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

.mobile-panel a {
  display: block;
  padding: 15px 0;
  border-bottom: 1px solid var(--surface-strong);
  color: var(--muted);
  font-family: "Instrument Sans", system-ui, sans-serif;
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: min(720px, 78svh);
  overflow: hidden;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.96) 42%, rgba(255, 255, 255, 0.72) 58%, rgba(255, 255, 255, 0.2) 78%, rgba(255, 255, 255, 0.86) 100%),
    repeating-linear-gradient(90deg, rgba(5, 8, 7, 0.045) 0 1px, transparent 1px 92px),
    repeating-linear-gradient(0deg, rgba(5, 8, 7, 0.035) 0 1px, transparent 1px 92px);
  pointer-events: none;
  z-index: 2;
}

.hero-scene {
  position: absolute;
  inset: 0;
  z-index: 1;
  min-width: 1180px;
  pointer-events: none;
}

.scene-panel {
  position: absolute;
  width: 318px;
  border: 1px solid rgba(215, 226, 220, 0.95);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.scene-panel::before {
  content: "";
  display: block;
  height: 36px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-strong);
}

.scene-ehr {
  top: 104px;
  right: 42%;
  transform: rotate(-2deg);
}

.scene-match {
  top: 166px;
  right: 20%;
  background: var(--green-dark);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.15);
  transform: rotate(1deg);
}

.scene-video {
  top: 82px;
  right: 2%;
  width: 360px;
  transform: rotate(-1deg);
}

.scene-analytics {
  right: 9%;
  bottom: 46px;
  width: 390px;
  transform: rotate(1.5deg);
}

.panel-body {
  padding: 16px;
}

.scene-label {
  display: block;
  color: var(--subtle);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.25;
  text-transform: uppercase;
}

.scene-match .scene-label {
  color: rgba(255, 255, 255, 0.68);
}

.scene-title {
  margin-top: 8px;
  font-family: "Instrument Sans", system-ui, sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.22;
}

.scene-text {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

.scene-match .scene-text {
  color: rgba(255, 255, 255, 0.78);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 13px;
}

.tag {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 8px;
  background: var(--surface);
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  line-height: 1;
  white-space: nowrap;
}

.scene-match .tag {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.82);
}

.video-chapter {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
}

.play {
  width: 42px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: var(--green);
  color: var(--white);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  font-weight: 600;
}

.chapter-name {
  font-family: "Instrument Sans", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
}

.chapter-time {
  color: var(--subtle);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.metric-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  color: var(--muted);
}

.metric-row:last-child {
  border-bottom: 0;
}

.metric-row strong {
  color: var(--green);
  font-family: "IBM Plex Mono", monospace;
  font-size: 21px;
  font-variant-numeric: tabular-nums;
}

.scene-pulse {
  position: absolute;
  top: 274px;
  right: 8%;
  width: 620px;
  height: 56px;
  transform: rotate(-2deg);
}

.pulse-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50px;
  overflow: visible;
}

.pulse-line path {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pulse-base {
  stroke: rgba(14, 122, 79, 0.18);
  stroke-width: 2;
}

.pulse-active {
  stroke: rgba(14, 122, 79, 0.76);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 92 760;
  stroke-dashoffset: 760;
  filter: drop-shadow(0 0 6px rgba(155, 216, 90, 0.24));
  animation: pulse-sweep 2.7s cubic-bezier(0.42, 0, 0.2, 1) infinite;
}

@keyframes pulse-sweep {
  0% {
    stroke-dashoffset: 760;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  76% {
    stroke-dashoffset: 0;
    opacity: 1;
  }
  100% {
    stroke-dashoffset: -92;
    opacity: 0;
  }
}


.hero-content {
  position: relative;
  z-index: 3;
  width: min(660px, 100%);
  padding: 52px 0 58px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 20px;
  color: var(--green);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--signal);
  box-shadow: 0 0 0 5px rgba(155, 216, 90, 0.22);
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--black);
  font-family: "Instrument Sans", system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: 0;
}

h1 {
  max-width: 660px;
  font-size: clamp(46px, 6.2vw, 76px);
  line-height: 1;
}

h2 {
  max-width: 760px;
  font-size: clamp(34px, 4.2vw, 52px);
  line-height: 1.08;
}

h3 {
  font-size: 23px;
  line-height: 1.18;
}

.hero-lead {
  max-width: 650px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(19px, 2vw, 23px);
  line-height: 1.52;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
  padding: 0;
  list-style: none;
}

.hero-proof li {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(14, 122, 79, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  padding: 6px 11px;
  color: var(--muted);
  font-family: "Instrument Sans", system-ui, sans-serif;
  font-size: 13px;
  font-weight: 700;
}

.section {
  padding: 92px 0;
}

.section-tight {
  padding: 64px 0;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 42px;
  margin-bottom: 34px;
}

.section-kicker {
  display: block;
  margin-bottom: 12px;
  color: var(--green);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
}

.section-intro {
  max-width: 550px;
  margin: 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.5;
}

.outcome-strip {
  background: var(--black);
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.outcome-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.outcome {
  min-height: 154px;
  padding: 24px;
  background: var(--black);
}

.outcome strong {
  display: block;
  color: var(--signal);
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
}

.outcome span {
  display: block;
  margin-top: 12px;
  font-family: "Instrument Sans", system-ui, sans-serif;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.18;
}

.problem-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: 54px;
  align-items: start;
}

.problem-list {
  display: grid;
  gap: 12px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.problem-list li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  color: var(--muted);
}

.check {
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
  font-family: "Instrument Sans", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 700;
}

.patient-window {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.window-bar {
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  color: var(--subtle);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  font-weight: 600;
}

.window-body {
  padding: 20px;
}

.patient-card {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 16px;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.patient-photo {
  width: 86px;
  height: 86px;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(221, 247, 232, 0.85), rgba(238, 244, 240, 0.95)),
    radial-gradient(circle at 50% 28%, #0e7a4f 0 17px, transparent 18px),
    radial-gradient(circle at 50% 75%, #06442f 0 31px, transparent 32px);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.patient-photo::after {
  content: "";
  position: absolute;
  width: 42px;
  height: 18px;
  border-radius: 999px 999px 0 0;
  left: 22px;
  top: 16px;
  background: var(--black);
}

.patient-card h3 {
  margin-bottom: 6px;
  font-size: 24px;
}

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

.education-path {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.path-item {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px;
  background: var(--surface);
}

.path-index {
  width: 36px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: var(--green);
  color: var(--white);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  font-weight: 600;
}

.path-item strong {
  display: block;
  font-family: "Instrument Sans", system-ui, sans-serif;
  line-height: 1.25;
}

.path-item small {
  color: var(--subtle);
  font-size: 13px;
}

.workflow-band {
  background: var(--green-deep);
  color: var(--white);
  overflow: hidden;
}

.workflow-band h2 {
  color: var(--white);
}

.workflow-band .section-intro,
.workflow-band .section-kicker {
  color: rgba(255, 255, 255, 0.74);
}

.workflow-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.workflow-step {
  min-height: 230px;
  padding: 22px;
  background: var(--green-deep);
}

.step-number {
  color: var(--signal);
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  font-weight: 600;
}

.workflow-step h3 {
  margin-top: 28px;
  color: var(--white);
  font-size: 21px;
}

.workflow-step p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  line-height: 1.45;
}

.pathways {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.pathway-card {
  min-height: 310px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  padding: 20px;
}

.pathway-card h3 {
  margin-top: 12px;
}

.pathway-card p {
  margin: 14px 0 0;
  color: var(--muted);
}

.mini-video {
  height: 118px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background:
    linear-gradient(0deg, rgba(5, 8, 7, 0.46), rgba(5, 8, 7, 0.1)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0 1px, transparent 1px 24px),
    var(--green-dark);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.mini-video::before {
  content: "";
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.22);
}

.mini-video::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 14px solid var(--green);
  transform: translateX(3px);
}

.chapter-list {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.chapter-list li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: var(--muted);
  font-size: 14px;
  border-bottom: 1px solid var(--surface-strong);
  padding-bottom: 8px;
}

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

.chapter-list span {
  color: var(--green);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  font-weight: 600;
}

.analytics-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 1fr);
  gap: 48px;
  align-items: center;
}

.analytics-panel {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.analytics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border-top: 1px solid var(--border);
}

.analytics-cell {
  padding: 20px;
  background: var(--white);
}

.analytics-cell small {
  color: var(--subtle);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.analytics-cell strong {
  display: block;
  margin-top: 12px;
  color: var(--green);
  font-family: "IBM Plex Mono", monospace;
  font-size: 36px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.followup-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 20px;
  list-style: none;
}

.followup-list li {
  display: grid;
  grid-template-columns: 10px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--muted);
  font-size: 14px;
}

.severity {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--green);
}

.severity.warn {
  background: var(--warning);
}

.severity.error {
  background: var(--error);
}

.trust-console {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 22px 64px rgba(5, 8, 7, 0.06);
  overflow: hidden;
}

.trust-console-primary {
  background:
    linear-gradient(145deg, rgba(6, 68, 47, 0.96), rgba(5, 8, 7, 0.98)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 92px);
  color: var(--white);
  padding: 34px;
}

.console-label {
  display: inline-flex;
  color: rgba(255, 255, 255, 0.68);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
}

.trust-console-primary h3 {
  margin-top: 18px;
  color: var(--white);
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.08;
}

.trust-console-primary > p {
  max-width: 610px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 18px;
  line-height: 1.5;
}

.trust-steps {
  display: grid;
  gap: 1px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.12);
}

.trust-steps li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.055);
}

.trust-steps li > span {
  color: var(--signal);
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  font-weight: 600;
}

.trust-steps strong {
  display: block;
  color: var(--white);
  font-family: "Instrument Sans", system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.2;
}

.trust-steps p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  line-height: 1.45;
}

.trust-console-secondary {
  display: grid;
  align-content: center;
  background: var(--surface);
  padding: 24px;
}

.review-row {
  display: grid;
  grid-template-columns: minmax(130px, 0.44fr) minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  min-height: 70px;
  border-bottom: 1px solid var(--border);
}

.review-row:last-child {
  border-bottom: 0;
}

.review-row span {
  color: var(--green);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.review-row strong {
  color: var(--black);
  font-family: "Instrument Sans", system-ui, sans-serif;
  font-size: 19px;
  line-height: 1.25;
}

.demo-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.demo-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(430px, 1fr);
  gap: 54px;
  align-items: start;
}

.demo-copy p {
  color: var(--muted);
  font-size: 20px;
  line-height: 1.5;
}

.demo-points {
  display: grid;
  gap: 14px;
  margin-top: 30px;
  padding: 0;
  list-style: none;
}

.demo-points li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  color: var(--muted);
}

.demo-form {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  padding: 24px;
  box-shadow: var(--shadow);
}

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

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

.field.full {
  grid-column: 1 / -1;
}

.field label {
  color: var(--black);
  font-family: "Instrument Sans", system-ui, sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  color: var(--black);
  padding: 0 12px;
  outline: none;
}

.field textarea {
  min-height: 112px;
  resize: vertical;
  padding: 12px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(14, 122, 79, 0.12);
}

.form-note {
  margin: 14px 0 0;
  color: var(--subtle);
  font-size: 13px;
  line-height: 1.4;
}

.footer {
  background:
    linear-gradient(145deg, #050807, #07110d 72%, #050807),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 92px);
  color: var(--white);
  padding: 56px 0 28px;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(340px, 0.95fr) minmax(0, 1.05fr);
  gap: 72px;
  align-items: start;
  justify-content: space-between;
}

.footer-logo-link {
  display: inline-flex;
}

.footer-logo {
  display: block;
  width: min(360px, 100%);
  height: auto;
  object-fit: contain;
}

.footer-brand-block p {
  max-width: 440px;
  margin: 22px 0 24px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 18px;
  line-height: 1.48;
}

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

.footer-nav h3 {
  margin: 0 0 14px;
  color: var(--signal);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
}

.footer-nav a {
  display: block;
  padding: 7px 0;
  color: rgba(255, 255, 255, 0.72);
  font-family: "Instrument Sans", system-ui, sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.25;
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 52px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.58);
  font-size: 14px;
}

.footer-bottom span:last-child {
  text-align: right;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}

@media (max-width: 1120px) {
  .nav-links {
    gap: 16px;
  }

  .scene-panel {
    transform: none;
  }

  .scene-ehr {
    right: 50%;
  }

  .scene-match {
    right: 23%;
  }

  .scene-video {
    right: -4%;
  }

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

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

@media (max-width: 920px) {
  .shell {
    width: min(var(--max), calc(100% - 32px));
  }

  .nav-links,
  .nav-actions .btn-secondary {
    display: none;
  }

  .mobile-menu {
    display: block;
  }

  .hero {
    min-height: auto;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.92) 56%, rgba(255, 255, 255, 0.7) 100%),
      repeating-linear-gradient(90deg, rgba(5, 8, 7, 0.045) 0 1px, transparent 1px 76px),
      repeating-linear-gradient(0deg, rgba(5, 8, 7, 0.035) 0 1px, transparent 1px 76px);
  }

  .hero-scene {
    opacity: 0.82;
    transform: scale(0.78);
    transform-origin: top right;
    right: -260px;
    left: auto;
    width: 1180px;
  }

  .hero-content {
    padding: 72px 0 60px;
  }

  .section {
    padding: 74px 0;
  }

  .section-header,
  .problem-layout,
  .analytics-layout,
  .demo-layout {
    grid-template-columns: 1fr;
    display: grid;
  }

  .section-header {
    align-items: start;
    gap: 16px;
  }

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

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

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

  .footer-main {
    grid-template-columns: 1fr;
    gap: 42px;
  }
}

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

  .nav {
    height: 66px;
  }

  .brand {
    font-size: 17px;
  }

  .brand-logo {
    width: 152px;
  }

  .nav-actions .btn-primary {
    display: none;
  }

  h1 {
    font-size: 46px;
  }

  h2 {
    font-size: 34px;
  }

  .hero-content {
    padding: 58px 0 48px;
  }

  .hero-scene {
    opacity: 0.42;
    transform: scale(0.62);
    right: -520px;
  }

  .hero-proof {
    gap: 7px;
  }

  .outcome-grid,
  .workflow-steps,
  .pathways,
  .analytics-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .trust-console-primary,
  .trust-console-secondary {
    padding: 22px;
  }

  .trust-steps li,
  .review-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .problem-layout,
  .analytics-layout,
  .demo-layout {
    gap: 34px;
  }

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

  .path-item,
  .video-chapter {
    grid-template-columns: 36px 1fr;
  }

  .path-item .chapter-time,
  .video-chapter .chapter-time {
    grid-column: 2;
  }

  .footer-main,
  .footer-bottom {
    align-items: flex-start;
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .footer-main {
    gap: 36px;
  }

  .footer-nav {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .footer-bottom span:last-child {
    text-align: left;
  }
}
