:root {
  --bg: #E3E5E2;
  --surface: #E3E5E2;
  --surface-raised: #EAEBE7;
  --surface-soft: #D9DDD9;
  --surface-inset: #D1D5D2;
  --text: #202421;
  --muted: #666D68;
  --border: rgba(255, 255, 255, 0.42);
  --blue: #566A76;
  --blue-dark: #394952;
  --blue-light: #D8DEDC;
  --aqua: #6E7D79;
  --rose: #858079;
  --ink-soft: #343A36;
  --dark: #D7DAD6;
  --dark-muted: #656D68;
  --grain: rgba(32, 36, 33, 0.035);
  --shadow: 16px 16px 36px rgba(126, 132, 127, 0.38), -16px -16px 36px rgba(255, 255, 255, 0.7);
  --shadow-sm: 7px 7px 16px rgba(126, 132, 127, 0.32), -7px -7px 16px rgba(255, 255, 255, 0.66);
  --shadow-inset: inset 7px 7px 16px rgba(126, 132, 127, 0.28), inset -7px -7px 16px rgba(255, 255, 255, 0.58);
  --shadow-pressed: inset 5px 5px 12px rgba(126, 132, 127, 0.36), inset -5px -5px 12px rgba(255, 255, 255, 0.58);
  --max: 1200px;
  --wide: 1360px;
  --header-height: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  min-height: 100vh;
  margin: 0;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(0deg, var(--grain) 0 1px, transparent 1px 5px),
    radial-gradient(circle at 18% 10%, rgba(255, 255, 255, 0.38), transparent 26%),
    linear-gradient(180deg, #E8E9E5 0%, var(--bg) 44%, #D9DDD9 100%);
  color: var(--text);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
  background:
    radial-gradient(circle, rgba(32, 36, 33, 0.07) 0 0.6px, transparent 0.8px) 0 0 / 7px 7px,
    radial-gradient(circle, rgba(255, 255, 255, 0.34) 0 0.7px, transparent 0.9px) 3px 4px / 9px 9px;
  mix-blend-mode: multiply;
}

body > * {
  position: relative;
  z-index: 1;
}

body.menu-open {
  overflow: hidden;
}

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

p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--text);
  font-weight: 600;
  letter-spacing: 0;
}

h1 {
  max-width: 900px;
  font-size: clamp(54px, 7vw, 94px);
  line-height: 0.98;
}

h2 {
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.02;
}

h3 {
  font-size: 21px;
  line-height: 1.2;
}

::selection {
  background: rgba(86, 106, 118, 0.2);
}

.skip-link {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 100;
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--text);
  color: var(--surface);
  transform: translateY(-140%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid rgba(86, 106, 118, 0.34);
  outline-offset: 4px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: var(--header-height);
  transition: background 0.25s ease, box-shadow 0.25s ease, backdrop-filter 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(227, 229, 226, 0.84);
  box-shadow: 0 14px 34px rgba(126, 132, 127, 0.2);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(var(--wide), calc(100% - 48px));
  height: var(--header-height);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: lowercase;
}

.brand img {
  width: 27px;
  height: 27px;
  object-fit: contain;
  display: block;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}

.brand span {
  line-height: 1;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background:
    repeating-linear-gradient(135deg, rgba(32, 36, 33, 0.025) 0 1px, transparent 1px 5px),
    rgba(227, 229, 226, 0.62);
  box-shadow: var(--shadow-sm);
  color: var(--muted);
  font-size: 15px;
}

.nav-menu a:not(.nav-contact) {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 4px;
  border-radius: 999px;
  transition: color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.nav-menu a:hover {
  color: var(--text);
}

.nav-menu a:not(.nav-contact):hover {
  background: rgba(234, 235, 231, 0.68);
  box-shadow: inset 4px 4px 10px rgba(126, 132, 127, 0.18), inset -4px -4px 10px rgba(255, 255, 255, 0.54);
}

.nav-contact {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 18px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface-raised);
  box-shadow: var(--shadow-sm);
  color: var(--text);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface-raised);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 17px;
  height: 1px;
  margin: 5px auto;
  background: var(--text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

.section-pad {
  padding: 140px 24px;
}

.hero {
  min-height: auto;
  width: min(var(--wide), 100%);
  margin: 0 auto;
  padding-top: 72px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 58px;
  align-items: center;
}

.hero-copy {
  max-width: 940px;
  margin: 0 auto;
  text-align: center;
}

.eyebrow {
  margin-bottom: 22px;
  color: var(--blue);
  font-size: 13px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-lede {
  max-width: 720px;
  margin: 28px auto 0;
  font-size: clamp(19px, 2vw, 23px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 38px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

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

.button:active {
  transform: translateY(0);
  box-shadow: var(--shadow-pressed);
}

.button-primary {
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 5px),
    linear-gradient(145deg, #687A82, var(--blue-dark));
  color: #FFFFFF;
}

.button-primary:hover {
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 5px),
    linear-gradient(145deg, #71828A, #35444C);
}

.button-secondary {
  border-color: var(--border);
  background: var(--surface-raised);
  color: var(--text);
}

.button-secondary:hover {
  border-color: rgba(86, 106, 118, 0.32);
  color: var(--blue);
}

.hero-visual {
  min-width: 0;
  width: min(1060px, 100%);
  margin: 0 auto;
}

.signal-panel {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  background:
    repeating-linear-gradient(135deg, rgba(32, 36, 33, 0.026) 0 1px, transparent 1px 6px),
    var(--surface-raised);
  box-shadow: var(--shadow);
}

.signal-topline,
.signal-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 24px;
  color: var(--muted);
  font-size: 13px;
}

.signal-topline {
  border-bottom: 1px solid rgba(143, 153, 169, 0.14);
  color: var(--text);
}

.signal-footer {
  border-top: 1px solid rgba(143, 153, 169, 0.14);
}

.ecg-hero {
  display: block;
  width: 100%;
  height: auto;
  padding: 18px;
  filter: drop-shadow(8px 8px 14px rgba(126, 132, 127, 0.18));
}

.ecg-hero > rect:first-of-type {
  fill: #E1E4E0;
}

.analysis-band {
  opacity: 0.85;
  fill: rgba(86, 106, 118, 0.12);
}

.waveform {
  stroke-dasharray: none;
  stroke-dashoffset: 0;
}

.js .waveform.blue {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: drawSignal 1.1s ease forwards 0.25s;
}

.waveform.blue {
  stroke: var(--blue);
}

.signal-markers {
  fill: var(--blue);
}

.signal-labels text {
  font-size: 14px;
  font-weight: 600;
}

.signal-labels rect {
  fill: #E6E8E4;
  stroke: rgba(255, 255, 255, 0.62);
  rx: 8px;
  filter: drop-shadow(5px 5px 9px rgba(126, 132, 127, 0.22));
}

.signal-labels line {
  stroke: rgba(86, 106, 118, 0.34);
}

.narrow,
.section-head {
  width: min(900px, 100%);
  margin: 0 auto;
  text-align: center;
}

.narrow p:not(.eyebrow),
.section-head p:not(.eyebrow) {
  max-width: 760px;
  margin: 24px auto 0;
}

.metric-row {
  width: min(var(--max), 100%);
  margin: 66px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.metric-row article {
  min-height: 144px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background:
    repeating-linear-gradient(135deg, rgba(32, 36, 33, 0.024) 0 1px, transparent 1px 6px),
    var(--surface-raised);
  box-shadow: var(--shadow-sm);
}

.metric-row strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  font-size: clamp(25px, 3vw, 38px);
  line-height: 1;
}

.metric-row span {
  color: var(--muted);
  font-size: 15px;
}

.split {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  gap: 80px;
  align-items: start;
}

.copy-stack {
  display: grid;
  gap: 20px;
}

.minimal-grid,
.capability-grid,
.timeline,
.principles {
  width: min(var(--max), 100%);
  margin: 70px auto 0;
}

.minimal-grid {
  display: grid;
  gap: 28px;
}

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

.minimal-grid article {
  min-height: 190px;
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background:
    repeating-linear-gradient(135deg, rgba(32, 36, 33, 0.024) 0 1px, transparent 1px 6px),
    var(--surface-raised);
  box-shadow: var(--shadow-sm);
}

.minimal-grid h3 {
  margin-bottom: 14px;
}

.minimal-grid p {
  font-size: 16px;
}

.dark-section {
  background:
    repeating-linear-gradient(90deg, rgba(32, 36, 33, 0.035) 0 1px, transparent 1px 7px),
    linear-gradient(135deg, rgba(86, 106, 118, 0.08), rgba(132, 128, 121, 0.06)),
    var(--dark);
  box-shadow: var(--shadow-inset);
}

.dark-section .wide {
  width: min(var(--wide), 100%);
  margin: 0 auto;
}

.dark-section h2,
.dark-section h3,
.dark-section .split p {
  color: var(--text);
}

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

.dark-section p {
  color: var(--dark-muted);
}

.tech-flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 88px;
  padding: 44px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background:
    repeating-linear-gradient(135deg, rgba(32, 36, 33, 0.025) 0 1px, transparent 1px 6px),
    linear-gradient(90deg, rgba(86, 106, 118, 0.1), transparent 48%, rgba(132, 128, 121, 0.08)),
    var(--surface-raised);
  box-shadow: var(--shadow);
}

.tech-flow::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 8%;
  width: 84%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(86, 106, 118, 0.34), transparent);
}

.tech-flow span {
  position: relative;
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background:
    repeating-linear-gradient(135deg, rgba(32, 36, 33, 0.02) 0 1px, transparent 1px 5px),
    var(--surface-raised);
  box-shadow: var(--shadow-sm);
  color: var(--text);
  font-size: 16px;
  text-align: center;
}

.nstemi {
  background:
    repeating-linear-gradient(0deg, rgba(32, 36, 33, 0.018) 0 1px, transparent 1px 6px),
    linear-gradient(180deg, rgba(216, 222, 220, 0.62), rgba(227, 229, 226, 0) 58%),
    var(--bg);
}

.note {
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-left: 0;
  border-radius: 8px;
  background:
    repeating-linear-gradient(135deg, rgba(32, 36, 33, 0.022) 0 1px, transparent 1px 6px),
    var(--surface-raised);
  box-shadow: var(--shadow-sm);
  font-size: 14px;
  line-height: 1.6;
}

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

.capability-grid article {
  min-height: 280px;
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background:
    repeating-linear-gradient(135deg, rgba(32, 36, 33, 0.024) 0 1px, transparent 1px 6px),
    var(--surface-raised);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.capability-grid article:hover {
  transform: translateY(-3px);
  box-shadow: 12px 12px 26px rgba(126, 132, 127, 0.36), -12px -12px 26px rgba(255, 255, 255, 0.62);
}

.capability-grid h3 {
  margin: 24px 0 12px;
}

.capability-grid p {
  font-size: 16px;
}

.line-icon {
  position: relative;
  width: 42px;
  height: 42px;
  display: block;
  border: 1px solid rgba(86, 106, 118, 0.2);
  border-radius: 8px;
  background:
    repeating-linear-gradient(135deg, rgba(32, 36, 33, 0.035) 0 1px, transparent 1px 5px),
    var(--blue-light);
  box-shadow: var(--shadow-inset);
}

.line-icon::before,
.line-icon::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 2px solid var(--blue);
  border-top: 0;
  border-left: 0;
}

.line-icon.pulse::before {
  inset: 19px 8px auto;
  height: 8px;
  border: 0;
  border-top: 2px solid var(--blue);
  transform: skewX(-28deg);
}

.line-icon.pulse::after {
  inset: 11px 18px 11px 17px;
  border-width: 0 2px 0 0;
  transform: rotate(18deg);
}

.line-icon.dots::before,
.line-icon.dots::after {
  width: 6px;
  height: 6px;
  inset: 13px auto auto 13px;
  border: 0;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 12px 8px 0 rgba(86, 106, 118, 0.56), 2px 17px 0 rgba(86, 106, 118, 0.36);
}

.line-icon.heat::before {
  inset: 11px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(132, 128, 121, 0.22), rgba(86, 106, 118, 0.72));
}

.line-icon.scan::before {
  inset: 11px;
  border: 2px solid var(--blue);
  border-radius: 4px;
}

.line-icon.scan::after {
  inset: 20px 9px auto;
  height: 2px;
  border: 0;
  background: var(--blue);
}

.line-icon.risk::before {
  inset: 10px 12px;
  border: 2px solid var(--blue);
  border-radius: 50%;
}

.line-icon.risk::after {
  inset: 18px 19px auto;
  width: 4px;
  height: 11px;
  border: 0;
  border-radius: 2px;
  background: var(--blue);
}

.line-icon.holter::before {
  inset: 10px 14px;
  border: 2px solid var(--blue);
  border-radius: 999px;
}

.line-icon.holter::after {
  inset: 19px 10px auto;
  height: 2px;
  border: 0;
  background: var(--blue);
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 31px;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, rgba(86, 106, 118, 0.04), rgba(86, 106, 118, 0.28), rgba(86, 106, 118, 0.04));
}

.timeline article {
  position: relative;
  padding-top: 78px;
}

.timeline span {
  position: absolute;
  top: 0;
  left: 0;
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  background:
    repeating-linear-gradient(135deg, rgba(32, 36, 33, 0.024) 0 1px, transparent 1px 6px),
    var(--surface-raised);
  box-shadow: var(--shadow-sm);
  color: var(--blue);
  font-weight: 700;
}

.timeline h3 {
  margin-bottom: 12px;
}

.timeline p {
  font-size: 16px;
}

.workflow {
  background:
    repeating-linear-gradient(90deg, rgba(32, 36, 33, 0.02) 0 1px, transparent 1px 6px),
    linear-gradient(180deg, rgba(234, 235, 231, 0.42), rgba(217, 221, 217, 0.28)),
    var(--surface);
  box-shadow: var(--shadow-inset);
}

.large-statement {
  margin: 30px 0 22px;
  color: var(--text);
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.18;
  letter-spacing: 0;
}

.workflow-chain {
  counter-reset: chain;
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.workflow-chain li {
  position: relative;
  padding: 22px 26px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background:
    repeating-linear-gradient(135deg, rgba(32, 36, 33, 0.024) 0 1px, transparent 1px 6px),
    var(--surface-raised);
  box-shadow: var(--shadow-sm);
  color: var(--text);
  font-size: 18px;
  font-weight: 600;
}

.workflow-chain li:not(:last-child)::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 32px;
  width: 1px;
  height: 15px;
  background: rgba(86, 106, 118, 0.22);
}

.workflow-chain li:last-child {
  border-color: rgba(86, 106, 118, 0.24);
  background: var(--blue-light);
  color: var(--blue-dark);
}

.collaboration {
  background:
    repeating-linear-gradient(0deg, rgba(32, 36, 33, 0.02) 0 1px, transparent 1px 6px),
    linear-gradient(135deg, rgba(86, 106, 118, 0.08), rgba(132, 128, 121, 0.06)),
    var(--bg);
  box-shadow: var(--shadow-inset);
}

.collaboration .minimal-grid article {
  border-color: rgba(255, 255, 255, 0.58);
}

.center-action {
  width: min(var(--max), 100%);
  margin: 52px auto 0;
  text-align: center;
}

.principles {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.principles span {
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background:
    repeating-linear-gradient(135deg, rgba(32, 36, 33, 0.02) 0 1px, transparent 1px 5px),
    var(--surface-raised);
  box-shadow: var(--shadow-sm);
  color: var(--ink-soft);
  font-size: 15px;
}

.product-mockup {
  width: min(var(--max), 100%);
  margin: 72px auto 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  background:
    repeating-linear-gradient(135deg, rgba(32, 36, 33, 0.024) 0 1px, transparent 1px 6px),
    var(--surface-raised);
  box-shadow: var(--shadow);
}

.mockup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 28px;
  border-bottom: 1px solid rgba(143, 153, 169, 0.14);
  color: var(--muted);
  font-size: 14px;
}

.mockup-header strong {
  color: var(--blue-dark);
  font-weight: 600;
}

.mockup-grid {
  display: grid;
  grid-template-columns: 1.6fr 0.8fr;
  gap: 0;
}

.mockup-wave {
  padding: 34px;
  border-right: 1px solid rgba(143, 153, 169, 0.14);
}

.mockup-wave span,
.mockup-side span,
.clinical-notes span {
  display: block;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mockup-wave svg {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  background:
    linear-gradient(rgba(143, 153, 169, 0.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(143, 153, 169, 0.22) 1px, transparent 1px),
    #E7ECF3;
  background-size: 28px 28px;
  box-shadow: var(--shadow-inset);
}

.mockup-wave path {
  fill: none;
  stroke: var(--text);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mockup-side {
  display: grid;
  gap: 0;
}

.mockup-side > div,
.clinical-notes {
  padding: 30px;
  border-bottom: 1px solid rgba(143, 153, 169, 0.14);
}

.mockup-side strong {
  color: var(--text);
  font-size: 22px;
  line-height: 1.2;
}

meter {
  width: 100%;
  height: 12px;
  display: block;
}

meter::-webkit-meter-bar {
  border: 0;
  border-radius: 999px;
  background: var(--surface-inset);
  box-shadow: var(--shadow-inset);
}

meter::-webkit-meter-optimum-value {
  border-radius: 999px;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.12) 0 1px, transparent 1px 5px),
    linear-gradient(90deg, #727C78, var(--blue));
}

.heatmap-strip {
  min-height: 110px;
  border-radius: 8px;
  background:
    repeating-linear-gradient(135deg, rgba(32, 36, 33, 0.04) 0 1px, transparent 1px 7px),
    radial-gradient(circle at 18% 55%, rgba(86, 106, 118, 0.44), transparent 20%),
    radial-gradient(circle at 48% 44%, rgba(110, 125, 121, 0.28), transparent 24%),
    radial-gradient(circle at 78% 60%, rgba(133, 128, 121, 0.26), transparent 22%),
    var(--blue-light);
  box-shadow: var(--shadow-inset);
}

.clinical-notes {
  grid-column: 1 / -1;
  background:
    repeating-linear-gradient(135deg, rgba(32, 36, 33, 0.02) 0 1px, transparent 1px 6px),
    var(--surface);
}

.clinical-notes p {
  max-width: 760px;
}

.final-cta {
  text-align: center;
}

.final-cta .hero-actions {
  justify-content: center;
}

.footer {
  padding: 76px 24px 28px;
  background:
    repeating-linear-gradient(90deg, rgba(32, 36, 33, 0.024) 0 1px, transparent 1px 6px),
    linear-gradient(180deg, rgba(217, 221, 217, 0.32), rgba(234, 235, 231, 0.5)),
    var(--surface);
  border-top: 1px solid rgba(255, 255, 255, 0.58);
  box-shadow: inset 0 22px 38px rgba(143, 153, 169, 0.12);
}

.footer-grid,
.footer-bottom {
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 0.9fr;
  gap: 64px;
}

.footer h2 {
  margin-bottom: 18px;
  color: var(--text);
  font-size: 14px;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer p,
.footer a {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.footer .brand {
  display: inline-flex;
  margin: 0 0 12px;
  color: var(--text);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin-top: 70px;
  padding-top: 24px;
  border-top: 1px solid rgba(143, 153, 169, 0.16);
}

.footer-bottom p:last-child {
  max-width: 640px;
}

.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes drawSignal {
  to {
    stroke-dashoffset: 0;
  }
}

@media (max-width: 1200px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .hero-copy {
    max-width: 980px;
  }

  .signal-panel {
    max-width: 960px;
  }
}

@media (max-width: 992px) {
  .section-pad {
    padding: 100px 24px;
  }

  .split,
  .mockup-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

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

  .tech-flow {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .tech-flow::before {
    top: 8%;
    bottom: 8%;
    left: 50%;
    width: 1px;
    height: auto;
    background: linear-gradient(180deg, transparent, rgba(86, 106, 118, 0.32), transparent);
  }

  .tech-flow span {
    min-height: 82px;
  }

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

  .timeline::before {
    top: 0;
    bottom: 0;
    left: 31px;
    width: 1px;
    height: auto;
  }

  .timeline article {
    padding: 0 0 0 88px;
    min-height: 72px;
  }

  .mockup-wave {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }

  .nav {
    width: calc(100% - 32px);
  }

  .nav-toggle {
    display: block;
    position: relative;
    z-index: 25;
  }

  .nav-menu {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 26px;
    padding: 86px 28px 32px;
    border: 0;
    border-radius: 0;
    background: rgba(233, 237, 243, 0.96);
    box-shadow: var(--shadow-inset);
    backdrop-filter: blur(18px);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .nav-menu.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-menu a {
    font-size: 30px;
    line-height: 1;
    color: var(--text);
  }

  .nav-contact {
    min-height: 52px;
    padding: 0 24px;
    font-size: 18px;
  }

  .section-pad {
    padding: 80px 20px;
  }

  .hero {
    padding-top: 48px;
  }

  h1 {
    font-size: clamp(48px, 16vw, 72px);
  }

  .hero-actions,
  .final-cta .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .signal-topline,
  .signal-footer {
    flex-direction: column;
    gap: 6px;
  }

  .metric-row,
  .minimal-grid.three,
  .capability-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .metric-row article + article {
    border-left: 1px solid var(--border);
  }

  .capability-grid article {
    min-height: auto;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  p {
    font-size: 16px;
  }

  .eyebrow {
    font-size: 12px;
  }

  .signal-panel,
  .product-mockup {
    border-radius: 8px;
  }

  .mockup-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .mockup-wave,
  .mockup-side > div,
  .clinical-notes {
    padding: 22px;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   Erişim başvurusu formu

   Sitenin neomorfik dilini izler: gömük alanlar (--shadow-inset), yumuşak
   kabartılmış sonuç kutusu. Eşleştirme kodu tek vurgu noktası — kullanıcı
   onu telefonuna yazacak, bu yüzden büyük, aralıklı ve monospace.
   -------------------------------------------------------------------------- */

.access-form {
  display: grid;
  gap: 10px;
  margin-top: 28px;
  text-align: left;
}

.access-form label {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-soft);
  margin-top: 8px;
}

.access-form .optional {
  font-weight: 400;
  color: var(--muted);
}

.access-form input,
.access-form textarea {
  font-family: inherit;
  /* 16px'in ALTINDA kalırsa iOS Safari odaklanınca sayfayı yakınlaştırıp
     düzeni bozuyor. Gövde 16px varsayılanında kalıyordu; açıkça yükseltildi. */
  font-size: 17px;
  color: var(--text);
  background: var(--surface-inset);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 13px 16px;
  box-shadow: var(--shadow-inset);
  width: 100%;
  min-height: 48px;          /* mobilde dokunma hedefi */
}

.access-form textarea {
  resize: vertical;
  min-height: 84px;
}

.access-form input:focus-visible,
.access-form textarea:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.access-form button {
  margin-top: 18px;
  justify-self: start;
}

.access-form button[disabled] {
  opacity: 0.6;
  cursor: progress;
}

.access-result {
  margin-top: 26px;
  padding: 22px 24px;
  border-radius: 18px;
  background: var(--surface-raised);
  box-shadow: var(--shadow-sm);
  text-align: left;
}

.access-result.is-error {
  color: var(--text);
  border-left: 3px solid var(--rose);
}

.access-result.is-ok {
  border-left: 3px solid var(--blue);
}

.access-result .code-lead {
  margin: 0 0 12px;
  font-weight: 600;
}

.access-result .pairing-code {
  margin: 0;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: clamp(1.9rem, 6vw, 2.6rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--blue-dark);
  /* Kullanıcı bunu telefona yazacak: seçilebilir ve okunaklı olmalı. */
  user-select: all;
  word-break: break-all;
}

.access-result .code-note {
  margin: 14px 0 0;
  font-size: 0.92rem;
  color: var(--muted);
}

/* Onay kutusu — dokunma hedefi büyük olsun, etiketin tamamı tıklanabilir. */
.access-form .consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  margin-top: 20px;
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.55;
  color: var(--muted);
  cursor: pointer;
}

.access-form .consent input[type="checkbox"] {
  width: 22px;
  height: 22px;
  min-height: 22px;          /* genel input kuralındaki 48px'i geçersiz kıl */
  margin: 2px 0 0;
  padding: 0;
  box-shadow: none;
  accent-color: var(--blue-dark);
  cursor: pointer;
}

.access-form .consent a {
  color: var(--blue-dark);
  text-decoration: underline;
}

.fine-print {
  margin-top: 26px;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--muted);
}

/* Yasal metin sayfası — uzun okuma için daha rahat ölçek. */
.legal h3 {
  margin: 34px 0 10px;
  font-size: 1.12rem;
  color: var(--text);
}

.legal p,
.legal li {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.legal ul {
  margin: 10px 0 0;
  padding-left: 22px;
}

.legal li {
  margin-bottom: 7px;
}

.legal a {
  color: var(--blue-dark);
  text-decoration: underline;
}

.legal-date {
  margin-top: 6px;
  font-size: 0.9rem;
  color: var(--muted);
}
