/* Mortal Health — company website v2. Brand: #FF2550, Open Sans. Design of record: the "Mortal Health Website v2" canvas. */
:root {
  --red: #FF2550;
  --red-dark: #D91A42;
  --red-soft: #FF6F8A;
  --tint: #FFF1F4;
  --tint-line: #FFC9D4;
  --ink: #111114;
  --muted: #5F5F66;
  --faint: #8A8A94;
  --soft: #FAFAFB;
  --line: #E8E8EC;
  --line-2: #E3E3E8;
  --dark: #141416;
  --ok: #1B7F3B;
  --ok-bg: #EAF7EE;
  --warn: #8A5A00;
  --warn-bg: #FFF4E0;
  --shadow: 0 1px 2px rgba(17,17,20,.04), 0 16px 48px rgba(17,17,20,.08);
  --r-lg: 24px; --r-md: 20px; --r-sm: 12px;
  --gutter: 64px;
  --font: "Open Sans", "Segoe UI", Helvetica, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.5; color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
button, input, textarea, select { font: inherit; color: inherit; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--red); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }
.wrap { padding-left: var(--gutter); padding-right: var(--gutter); max-width: 1440px; margin-inline: auto; }
main { max-width: 1440px; margin-inline: auto; }
.site-footer > * { max-width: 1312px; margin-inline: auto; }
.icon { width: 20px; height: 20px; flex: none; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo img { width: 180px; height: auto; }
.site-nav ul { display: flex; align-items: center; gap: 32px; }
.site-nav a { font-size: 14px; font-weight: 500; color: var(--ink); }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--red); }
.header-cta { display: flex; align-items: center; gap: 10px; }
.header-cta .link { font-size: 14px; font-weight: 600; padding: 0 14px; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; border-radius: 12px; cursor: pointer; padding: 0; align-items: center; justify-content: center; color: var(--ink); }
.nav-toggle span { display: block; width: 22px; height: 2px; background: currentColor; box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor; }

/* ---------- Buttons, pills, kickers ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 26px; border-radius: 24px; border: 0; cursor: pointer; font-size: 15px; font-weight: 600; white-space: nowrap; transition: background .15s, color .15s, border-color .15s; }
.btn .icon { width: 18px; height: 18px; }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); }
.btn-primary:disabled { opacity: .6; cursor: default; }
.btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-white { background: #fff; color: var(--red); }
.btn-white:hover { background: var(--tint); }
.btn-lg { height: 52px; padding: 0 28px; border-radius: 26px; }
.btn-sm { height: 40px; padding: 0 22px; border-radius: 20px; font-size: 14px; }
.pill { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px 0 10px; border-radius: 15px; background: var(--tint); color: var(--red); font-size: 13px; font-weight: 600; align-self: flex-start; }
.pill .icon { width: 16px; height: 16px; }
.kicker { display: block; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--red); }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--ink); }
.text-link .icon { width: 18px; height: 18px; transition: transform .2s; }
.text-link:hover .icon { transform: translateX(4px); }
.section-head { display: flex; flex-direction: column; gap: 12px; max-width: 720px; margin-bottom: 32px; }
.section-head.center { align-items: center; text-align: center; margin-inline: auto; }
.section-head.split { max-width: none; flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 40px; }
.section-head.split > div { display: flex; flex-direction: column; gap: 12px; max-width: 720px; }
h1.display { font-size: 60px; line-height: 1.04; font-weight: 800; letter-spacing: -.03em; }
h2.title { font-size: 44px; line-height: 1.1; font-weight: 800; letter-spacing: -.025em; }
h2.title-sm { font-size: 36px; line-height: 1.12; font-weight: 800; letter-spacing: -.025em; }
.lede { font-size: 19px; line-height: 1.6; color: var(--muted); }
.lede-sm { font-size: 17px; line-height: 1.65; color: var(--muted); }
.note { font-size: 13px; color: var(--faint); }
.checks { display: flex; flex-direction: column; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.5; }
.checks li .icon { width: 18px; height: 18px; color: var(--red); margin-top: 2px; }
.ecg { position: absolute; left: 0; top: 0; width: 1440px; height: 120px; opacity: .14; pointer-events: none; }
.ecg-divider { display: flex; justify-content: center; padding: 8px 0; }
.ecg-divider svg { width: 220px; height: 40px; }

/* ---------- Placeholders for generated imagery ---------- */
.ph { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 200px; border-radius: var(--r-md); border: 1.5px dashed #C9C9D1; background: var(--soft); color: var(--faint); text-align: center; padding: 16px; font-size: 13px; font-weight: 600; letter-spacing: .02em; }
.ph .icon { width: 26px; height: 26px; color: #B0B0B8; }
.ph--sm { min-height: 150px; border-radius: 14px; }
.ph--tall { min-height: 420px; }
.ph--dark { border-color: #3A3A40; background: transparent; color: #8A8A94; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 72px 0 0 var(--gutter); background: radial-gradient(700px 420px at 30% 10%, var(--tint) 0%, rgba(255,241,244,0) 70%); }
.hero-grid { display: grid; grid-template-columns: 520px minmax(0, 1fr); gap: 56px; align-items: center; position: relative; }
.hero-copy { display: flex; flex-direction: column; gap: 22px; padding-bottom: 64px; }
.hero-actions { display: flex; align-items: center; gap: 12px; margin-top: 4px; }
.hero-screen { position: relative; height: 620px; }
.hero-screen .app-mock { position: absolute; left: 0; top: 30px; }
.hero--page { padding: 88px var(--gutter) 64px; background: radial-gradient(700px 420px at 20% 0%, var(--tint) 0%, rgba(255,241,244,0) 70%); }
.hero--page .hero-copy { max-width: 760px; padding-bottom: 0; gap: 20px; }
.hero--page .lede { max-width: 640px; }
.hero--page h1.display { font-size: 58px; }
.hero-mock { margin-top: 56px; padding: 0 40px; }

/* ---------- Artist illustrations ---------- */
.hero-art-wrap { display: flex; justify-content: center; align-items: center; padding-bottom: 64px; padding-right: var(--gutter); }
.hero-art { width: 100%; max-width: 490px; height: auto; }
.hero-split { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.hero-split .hero-art { justify-self: end; max-width: 460px; }
.hero-art--wide { max-width: 640px; }
.card-ico { width: 80px; height: 49px; object-fit: contain; object-position: left; }
.tile-ico--glyph { background: var(--red); display: flex; align-items: center; justify-content: center; }
.tile-ico--glyph img { width: 26px; height: 26px; }
.modules { position: relative; overflow: hidden; }
.modules::before { content: ""; position: absolute; right: -80px; top: -40px; width: 813px; height: 462px; background: url("../img/live/heart_line_bg_large_desktop.png") no-repeat center / contain; opacity: .35; pointer-events: none; }
.modules > * { position: relative; }
.hero--about { min-height: 785px; padding: 0 var(--gutter); display: flex; align-items: center; background: url("../img/live/about_us_banner_desktop.png") no-repeat right top / 1440px auto; }
.hero--about .hero-copy { max-width: 470px; gap: 18px; padding: 0 0 80px; color: #fff; }
.hero--about .kicker { color: #FFD3DC; }
.hero--about .lede { color: #fff; font-weight: 600; }
.art { width: 100%; height: auto; }
.art--sm { max-width: 420px; margin-inline: auto; }
.about-teaser .teaser-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; padding: 40px 0 8px; }
.about-teaser .copy { display: flex; flex-direction: column; gap: 16px; }
.about-teaser .copy h2 { font-size: 40px; }
.tile-ico { width: 52px; height: 52px; border-radius: 26px; flex: none; }
.story-media { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: end; }
.story-media img { width: 100%; height: auto; border-radius: 16px; }
.story-media img:first-child { grid-column: 1 / -1; }
.story-media--pair { grid-template-columns: 1fr 1fr; align-items: stretch; }
.story-media--pair img, .story-media--pair img:first-child { grid-column: auto; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.hero-split .hero-art { max-height: 520px; width: auto; }
.position .role { display: flex; align-items: center; gap: 14px; }
.position .role img { width: 60px; height: 43px; border-radius: 10px; flex: none; }
.contact-details .art--sm { max-width: 360px; margin: 0 0 8px; }

/* ---------- App mock ---------- */
.app-mock { position: relative; width: 1120px; margin: 0 auto; }
.app-frame { border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; }
.app-bar { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border-bottom: 1px solid var(--line); background: #FCFCFD; }
.app-bar i { width: 10px; height: 10px; border-radius: 5px; background: var(--line-2); }
.app-url { margin-left: 12px; height: 24px; width: 320px; border-radius: 8px; background: #F1F1F4; display: flex; align-items: center; padding: 0 10px; font-size: 11px; color: var(--faint); }
.app-body { display: grid; grid-template-columns: 56px 300px 1fr 250px; height: 470px; }
.app-rail { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 0; border-right: 1px solid var(--line); background: #FCFCFD; }
.app-rail span { width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--faint); }
.app-rail span.on { background: var(--red); color: #fff; }
.app-rail .icon { width: 18px; height: 18px; }
.app-queue { display: flex; flex-direction: column; gap: 6px; padding: 16px 12px; border-right: 1px solid var(--line); background: var(--soft); }
.app-queue-head { display: flex; justify-content: space-between; align-items: center; padding: 4px 6px 10px; font-size: 14px; font-weight: 700; }
.app-queue-head span { font-size: 12px; font-weight: 400; color: var(--faint); }
.q-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; }
.q-row.on { background: #fff; box-shadow: 0 1px 3px rgba(17,17,20,.08); }
.q-row .av { width: 34px; height: 34px; border-radius: 17px; background: #E9E9EE; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; color: var(--muted); }
.q-row.on .av { background: #FFD9E1; color: var(--red); }
.q-row .who { display: flex; flex-direction: column; gap: 2px; flex: 1; font-size: 13px; font-weight: 600; }
.q-row .who small { font-size: 11px; font-weight: 400; color: var(--faint); }
.tag { font-size: 11px; font-weight: 600; padding: 4px 8px; border-radius: 8px; color: var(--muted); background: #F1F1F4; white-space: nowrap; }
.tag.red { color: var(--red); background: var(--tint); }
.tag.ok { color: var(--ok); background: var(--ok-bg); }
.tag.warn { color: var(--warn); background: var(--warn-bg); }
.app-main { display: flex; flex-direction: column; gap: 14px; padding: 20px 22px; }
.app-patient { display: flex; justify-content: space-between; align-items: center; }
.app-patient b { font-size: 17px; font-weight: 700; display: block; }
.app-patient small { font-size: 12px; color: var(--faint); }
.app-patient .acts { display: flex; gap: 8px; }
.chip { height: 32px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--line); display: inline-flex; align-items: center; font-size: 12px; font-weight: 600; }
.chip.red { background: var(--red); color: #fff; border-color: var(--red); }
.app-tabs { display: flex; gap: 18px; border-bottom: 1px solid var(--line); font-size: 13px; }
.app-tabs span { padding: 6px 0 10px; color: var(--faint); }
.app-tabs span.on { color: var(--ink); font-weight: 600; border-bottom: 2px solid var(--red); }
.app-hint { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--faint); }
.app-hint .icon { width: 14px; height: 14px; color: var(--red); }
.sent { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; background: #fff; border: 1px solid var(--line); font-size: 13px; line-height: 1.45; }
.sent.flag { background: var(--tint); border-color: var(--tint-line); }
.sent > span:first-child { flex: 1; }
.sent .acts { display: flex; gap: 6px; }
.sent .acts i { width: 24px; height: 24px; border-radius: 6px; background: #fff; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; color: var(--faint); }
.sent .acts i.ok { color: var(--ok); }
.sent .acts .icon { width: 13px; height: 13px; }
.app-plan { display: flex; flex-direction: column; gap: 12px; padding: 20px 18px; border-left: 1px solid var(--line); background: var(--soft); font-size: 13px; }
.app-plan b { font-weight: 700; }
.plan-row { display: flex; justify-content: space-between; padding: 8px 0; border-top: 1px solid var(--line); }
.plan-row span:last-child { color: var(--muted); }
.plan-total { display: flex; justify-content: space-between; font-size: 14px; font-weight: 700; padding-top: 10px; border-top: 1px solid var(--line); }
.ok-chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 10px; background: var(--ok-bg); color: var(--ok); font-size: 12px; font-weight: 600; }
.ok-chip .icon { width: 14px; height: 14px; }
.float { position: absolute; display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.float i { width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; }
.float i.ok { background: var(--ok-bg); color: var(--ok); }
.float i.red { background: var(--tint); color: var(--red); }
.float .icon { width: 18px; height: 18px; }
.float b { display: block; font-size: 13px; font-weight: 700; }
.float small { font-size: 12px; color: var(--faint); }
.float--left { left: -40px; bottom: 64px; }
.float--right { right: -40px; top: 352px; }

/* ---------- Readiness row ---------- */
.readiness { padding: 0 var(--gutter) 88px; }
.readiness .rule { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.readiness .rule::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.readiness-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.ready { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.ico { flex: none; width: 36px; height: 36px; border-radius: 10px; background: var(--tint); color: var(--red); display: flex; align-items: center; justify-content: center; }
.ico .icon { width: 18px; height: 18px; }
.ico--lg { width: 40px; height: 40px; border-radius: 12px; }
.ico--white { background: #fff; border: 1px solid var(--line); }
.readiness--red { padding-top: 8px; }
.readiness--red .rule { display: none; }
.readiness--red .ready { flex-direction: column; gap: 16px; padding: 28px 26px 30px; border-radius: var(--r-md); background: var(--red); color: #fff; border-color: var(--red); box-shadow: 0 10px 30px rgba(255,37,80,.18); }
.readiness--red .ico { width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,.18); color: #fff; }
.readiness--red .ico .icon { width: 22px; height: 22px; }
.readiness--red .ready b { font-size: 17px; margin-bottom: 4px; }
.readiness--red .ready small { font-size: 14px; color: #FFE6EC; }
.ready b { display: block; font-size: 14px; font-weight: 700; }
.ready small { font-size: 12.5px; line-height: 1.45; color: var(--muted); }

/* ---------- Journey ---------- */
.journey { padding: 96px var(--gutter) 80px; }
.journey-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: end; margin-bottom: 40px; }
.journey-head h2 { font-size: 46px; }
.journey-head p { max-width: 480px; font-size: 18px; line-height: 1.6; color: var(--muted); }
.journey-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.step { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 20px; border-radius: var(--r-md); background: var(--soft); border: 1px solid var(--line); }
.step-head { display: flex; align-items: center; gap: 10px; }
.step-head b { display: block; font-size: 15px; font-weight: 700; }
.step-head small { font-size: 12px; color: var(--muted); }
.step .arrow { position: absolute; right: -19px; top: 50%; width: 26px; height: 26px; margin-top: -13px; border-radius: 13px; background: #fff; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; color: var(--red); z-index: 1; }
.step .arrow .icon { width: 14px; height: 14px; }
.frag { display: flex; flex-direction: column; gap: 6px; font-size: 12px; }
.frag .meta { display: flex; justify-content: space-between; font-size: 11px; color: var(--faint); }
.frag .row { display: flex; justify-content: space-between; gap: 8px; padding: 8px 10px; border-radius: 8px; background: #fff; border: 1px solid var(--line); line-height: 1.4; }
.frag .row.tint { background: var(--tint); border-color: var(--tint-line); }
.frag .row.dark { background: var(--ink); color: #fff; font-weight: 700; border-color: var(--ink); }
.frag .row.muted { color: var(--muted); }
.frag .row.ok-text span:last-child { color: var(--ok); font-weight: 600; }

/* ---------- Dark AI section ---------- */
.dark-ai { margin: 16px var(--gutter) 0; padding: 72px 64px; border-radius: 32px; background: var(--dark); color: #fff; display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; overflow: hidden; position: relative; }
.dark-ai::before { content: ""; position: absolute; right: -120px; top: -120px; width: 520px; height: 520px; border-radius: 260px; background: radial-gradient(closest-side, rgba(255,37,80,.35), rgba(255,37,80,0)); }
.dark-ai > * { position: relative; }
.dark-ai .kicker { color: var(--red-soft); }
.dark-ai h2 { font-size: 44px; line-height: 1.1; font-weight: 800; letter-spacing: -.025em; }
.dark-ai p { font-size: 17px; line-height: 1.65; color: #B4B4BC; max-width: 460px; }
.dark-ai .copy { display: flex; flex-direction: column; gap: 18px; }
.dark-ai .checks li { color: #E6E6EA; }
.dark-ai .media { color: var(--ink); }

/* ---------- Media cards (scribe, plan, queue, stock, video) ---------- */
.media-card { padding: 22px; border-radius: 22px; background: var(--soft); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.media-card .head { display: flex; justify-content: space-between; align-items: center; padding: 0 4px 8px; font-size: 13px; font-weight: 700; }
.media-card .head span { display: inline-flex; align-items: center; gap: 8px; }
.media-card .head small { font-size: 12px; font-weight: 400; color: var(--faint); }
.media-card .head .icon { width: 16px; height: 16px; color: var(--red); }
.line { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 12px; background: #fff; border: 1px solid var(--line); font-size: 14px; line-height: 1.5; }
.line.flag { border-color: var(--tint-line); }
.line > span:first-child { flex: 1; }
.line .acts { display: flex; gap: 6px; }
.mini { height: 30px; padding: 0 10px; border-radius: 8px; display: inline-flex; align-items: center; font-size: 12px; font-weight: 600; border: 1px solid var(--line); background: #fff; }
.mini.dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.plan-card { display: flex; flex-direction: column; padding: 26px; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.plan-card .head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 12px; font-size: 15px; font-weight: 700; }
.plan-card .head small { font-size: 12px; font-weight: 400; color: var(--faint); }
.plan-card .row { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); font-size: 14px; }
.plan-card .row span:last-child { color: var(--muted); }
.plan-card .row.ok { color: var(--ok); } .plan-card .row.ok span:last-child { color: var(--ok); }
.plan-card .total { display: flex; justify-content: space-between; padding: 14px 0 0; border-top: 2px solid var(--ink); font-size: 17px; font-weight: 700; }
.plan-card .ok-chip { margin-top: 16px; font-size: 13px; }
.plan-card .ok-chip .icon { width: 16px; height: 16px; }
.qrow { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: #fff; border: 1px solid var(--line); font-size: 14px; }
.qrow i { width: 8px; height: 8px; border-radius: 4px; }
.qrow b { flex: 1; font-weight: 600; }
.qrow small { font-size: 12px; color: var(--muted); }
.srow { display: grid; grid-template-columns: 1fr 90px 110px; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 12px; background: #fff; border: 1px solid var(--line); font-size: 13px; }
.srow b { font-weight: 600; } .srow span { color: var(--muted); } .srow em { font-style: normal; justify-self: end; font-weight: 600; color: var(--muted); }
.srow em.red { color: var(--red); } .srow em.warn { color: var(--warn); }
.video-card .screen { position: relative; height: 220px; border-radius: 14px; background: var(--dark); display: flex; align-items: center; justify-content: center; }
.video-card .screen .ph { width: 60%; min-height: 180px; }
.video-card .live { position: absolute; left: 14px; top: 14px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border-radius: 8px; background: rgba(255,255,255,.12); color: #fff; font-size: 12px; }
.video-card .live i { width: 8px; height: 8px; border-radius: 4px; background: var(--red); }
.video-card .cap { display: flex; justify-content: space-between; align-items: center; padding: 0 4px; font-size: 13px; font-weight: 600; }
.video-card .cap small { font-weight: 400; font-size: 12px; color: var(--muted); }

/* ---------- Modules ---------- */
.modules { padding: 96px var(--gutter) 40px; }
.modules-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.module { display: flex; flex-direction: column; gap: 14px; padding: 24px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); }
.module .head { display: flex; align-items: center; gap: 12px; }
.module h3 { font-size: 17px; font-weight: 700; }
.module p { font-size: 14.5px; line-height: 1.55; color: var(--muted); }
.module .frag-box { margin-top: auto; padding: 12px; border-radius: 14px; background: var(--soft); border: 1px solid var(--line); font-size: 12px; }
.frag-box .tags { display: flex; gap: 6px; flex-wrap: wrap; }
.frag-box .tags span { padding: 5px 9px; border-radius: 8px; background: #fff; border: 1px solid var(--line); font-size: 11px; font-weight: 600; color: var(--muted); }
.frag-box .tags span.red { color: var(--red); }
.frag-box .bars { display: flex; flex-direction: column; gap: 5px; }
.frag-box .bars i { display: block; height: 8px; border-radius: 4px; background: var(--line-2); }
.frag-box .bars i.tint { background: var(--tint-line); }
.frag-box .row { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 8px; background: #fff; border: 1px solid var(--line); }
.frag-box .row .icon { width: 14px; height: 14px; color: var(--red); }
.frag-box .row i.dot { width: 8px; height: 8px; border-radius: 4px; background: var(--ok); }

/* ---------- Feature rows ---------- */
.features { display: flex; flex-direction: column; gap: 112px; padding: 32px var(--gutter) 96px; }
.feature { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 72px; align-items: center; }
.feature.flip .feature-copy { order: 2; }
.feature-copy { display: flex; flex-direction: column; gap: 16px; max-width: 460px; }
.feature-copy .checks { margin-top: 4px; }

/* ---------- Generic sections ---------- */
.section { padding: 0 var(--gutter) 96px; }
.section--pad { padding-top: 96px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.card { display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); }
.card h3 { font-size: 18px; font-weight: 700; }
.card p { font-size: 15px; line-height: 1.55; color: var(--muted); }
.card--soft { background: var(--soft); }
.card .num { font-size: 36px; font-weight: 800; letter-spacing: -.03em; color: var(--red); line-height: 1; }
.quote { display: flex; flex-direction: column; gap: 20px; padding: 28px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); }
.quote .icon { width: 22px; height: 22px; color: var(--red); }
.quote p { font-size: 16px; line-height: 1.65; }
.quote .by { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.quote .by i { width: 40px; height: 40px; border-radius: 20px; background: #E9E9EE; }
.quote .by b { display: block; font-size: 14px; font-weight: 700; }
.quote .by small { font-size: 13px; color: var(--muted); }

/* ---------- Demo band ---------- */
.demo { padding: 56px var(--gutter) 96px; }
.demo-band { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; padding: 64px; border-radius: 32px; background: linear-gradient(135deg, var(--red) 0%, #FF5A78 100%); color: #fff; position: relative; overflow: hidden; }
.demo-band .ecg-bg { position: absolute; left: -40px; bottom: -30px; width: 700px; height: 120px; opacity: .18; }
.demo-band > * { position: relative; }
.demo-band .copy { display: flex; flex-direction: column; gap: 16px; }
.demo-band h2 { font-size: 44px; line-height: 1.1; font-weight: 800; letter-spacing: -.025em; }
.demo-band p { font-size: 18px; line-height: 1.6; color: #FFE0E7; max-width: 480px; }
.demo-band .alt { font-size: 14px; color: #FFD3DC; }
.demo-band .alt a { text-decoration: underline; }
.demo-form { display: flex; flex-direction: column; gap: 14px; }
.demo-form .two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.demo-form label { display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; font-weight: 600; color: #FFE0E7; }
.demo-form input { height: 46px; border-radius: 12px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.35); padding: 0 14px; font-size: 14px; color: #fff; outline: none; }
.demo-form input::placeholder { color: #FFD3DC; }
.demo-form input:focus { border-color: #fff; background: rgba(255,255,255,.2); }
.demo-form .btn { width: 100%; }
.form-status { font-size: 14px; min-height: 20px; }
.form-status.is-ok { color: inherit; }
.form-status.is-error { color: #FFD3DC; }

/* ---------- Footer ---------- */
.site-footer { padding: 64px var(--gutter) 32px; background: var(--soft); border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand { display: flex; flex-direction: column; gap: 14px; }
.footer-brand img { width: 170px; height: auto; }
.footer-brand p { font-size: 14px; line-height: 1.55; color: var(--muted); max-width: 320px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col b { font-size: 13px; font-weight: 700; }
.footer-col a { font-size: 14px; color: var(--muted); }
.footer-col a:hover { color: var(--red); }
.footer-legal { display: flex; justify-content: space-between; gap: 20px; margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--faint); }
.footer-legal span { display: flex; gap: 20px; }
.footer-legal a:hover { color: var(--red); }

/* ---------- Page sections: about, careers, contact ---------- */
.vm-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.vm { display: flex; flex-direction: column; gap: 14px; padding: 36px; border-radius: var(--r-lg); background: var(--soft); border: 1px solid var(--line); }
.vm p { font-size: 24px; line-height: 1.4; font-weight: 600; letter-spacing: -.01em; }
.vm--dark { background: var(--dark); color: #fff; border-color: var(--dark); }
.vm--dark .kicker { color: var(--red-soft); }
.story { display: grid; grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: center; }
.story .copy { display: flex; flex-direction: column; gap: 16px; }
.story .copy h2 { font-size: 40px; }
.story--solo { grid-template-columns: minmax(0, 760px); }
.team-card { display: flex; flex-direction: column; gap: 16px; padding: 24px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); }
.team-card .ph { min-height: 220px; }
.team-card b { display: block; font-size: 18px; font-weight: 700; }
.team-card .role { font-size: 14px; color: var(--red); font-weight: 600; }
.team-card p { font-size: 14.5px; line-height: 1.55; color: var(--muted); }
.positions { display: flex; flex-direction: column; gap: 10px; }
.position { display: grid; grid-template-columns: 1.2fr 140px 1.8fr 130px; gap: 24px; align-items: center; padding: 24px 28px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.position b { display: block; font-size: 18px; font-weight: 700; }
.position small { font-size: 13px; color: var(--muted); }
.position .team { font-size: 13px; font-weight: 600; padding: 6px 10px; border-radius: 8px; background: var(--tint); color: var(--red); justify-self: start; }
.position p { font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.position .btn { justify-self: end; }
.hire { display: grid; grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: center; }
.hire .copy { display: flex; flex-direction: column; gap: 10px; }
.hire .copy h2 { font-size: 40px; }
.hire-steps { display: flex; flex-direction: column; gap: 22px; padding: 32px; border-radius: var(--r-lg); background: var(--soft); border: 1px solid var(--line); }
.hire-steps li { display: flex; gap: 14px; align-items: flex-start; }
.hire-steps li i { flex: none; width: 32px; height: 32px; border-radius: 16px; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; font-style: normal; }
.hire-steps b { display: block; font-size: 16px; font-weight: 700; padding-top: 4px; }
.hire-steps small { font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.contact-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: start; }
.form-card { display: flex; flex-direction: column; gap: 16px; padding: 32px; border-radius: var(--r-lg); background: var(--soft); border: 1px solid var(--line); }
.form-card .two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.form-card label { display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; font-weight: 600; }
.form-card input, .form-card textarea { height: 48px; border-radius: 12px; background: #fff; border: 1px solid var(--line); padding: 0 14px; font-size: 14.5px; outline: none; font-weight: 400; }
.form-card textarea { height: 120px; padding: 12px 14px; resize: vertical; }
.form-card input:focus, .form-card textarea:focus { border-color: var(--red); box-shadow: 0 0 0 3px var(--tint); }
.form-card input::placeholder, .form-card textarea::placeholder { color: var(--faint); }
.form-card .actions { display: flex; align-items: center; gap: 16px; }
.form-card .form-status.is-ok { color: var(--ok); }
.form-card .form-status.is-error { color: var(--red); }
.contact-details { display: flex; flex-direction: column; gap: 28px; padding-top: 8px; }
.detail { display: flex; gap: 14px; align-items: flex-start; }
.detail small { display: block; font-size: 13px; font-weight: 700; color: var(--muted); }
.detail b { font-size: 17px; font-weight: 600; line-height: 1.4; }

.legal-body { display: flex; flex-direction: column; gap: 14px; max-width: 720px; }
.legal-body p { font-size: 16px; line-height: 1.7; color: var(--muted); }
.hero--page nav.hero-actions { flex-wrap: wrap; }

/* ---------- Apply modal ---------- */
.modal { border: 0; border-radius: var(--r-lg); padding: 0; width: min(640px, calc(100% - 32px)); box-shadow: 0 24px 60px rgba(17,17,20,.25); }
.modal::backdrop { background: rgba(17,17,20,.5); }
.modal-head { display: flex; align-items: baseline; gap: 14px; padding: 28px 32px 18px; border-bottom: 1px solid var(--line); }
.modal-head h2 { font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.modal-head .position-name { font-size: 14px; color: var(--faint); }
.modal-close { margin-left: auto; align-self: center; width: 36px; height: 36px; border: 0; background: transparent; cursor: pointer; color: var(--ink); border-radius: 10px; display: flex; align-items: center; justify-content: center; }
.modal-close:hover { background: var(--soft); }
.modal form { padding: 24px 32px 28px; background: #fff; border: 0; border-radius: 0; }
.upload { position: relative; height: 96px; border-radius: 14px; background: var(--soft); border: 1.5px dashed #C9C9D1; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--muted); font-size: 14px; font-weight: 600; }
.upload input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.upload:focus-within { border-color: var(--red); }
.upload .plus { width: 22px; height: 22px; border-radius: 11px; background: var(--red); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; line-height: 1; }
.upload-name { display: flex; align-items: center; gap: 8px; margin-top: 10px; min-height: 20px; color: var(--red); font-size: 14px; font-weight: 600; }
.upload-name:empty { display: none; }
.upload-name::before { content: "✓"; font-size: 12px; width: 18px; height: 18px; border-radius: 9px; background: var(--red); color: #fff; display: inline-flex; align-items: center; justify-content: center; }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  :root { --gutter: 40px; }
  .hero-grid { grid-template-columns: 440px minmax(0, 1fr); gap: 32px; }
  h1.display, .hero--page h1.display { font-size: 52px; }
  .readiness-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .journey-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .step .arrow { display: none; }
  .position { grid-template-columns: 1fr 120px 1.6fr 110px; gap: 16px; padding: 20px; }
}
@media (max-width: 960px) {
  :root { --gutter: 24px; }
  .site-header .wrap { height: 60px; }
  .logo img { width: 140px; }
  .nav-toggle { display: inline-flex; }
  .header-cta .link { display: none; }
  .header-cta .btn { height: 36px; padding: 0 16px; font-size: 13px; }
  .site-nav { position: absolute; left: 0; right: 0; top: 60px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 10px 20px rgba(17,17,20,.08); display: none; }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 12px; }
  .site-nav a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
  .hero { padding: 36px 0 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 20px; padding: 0 var(--gutter); }
  .hero-copy { padding-bottom: 0; gap: 16px; }
  h1.display, .hero--page h1.display { font-size: 40px; }
  .lede { font-size: 16px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .hero-screen { height: 300px; margin-top: 8px; overflow: hidden; }
  .hero-art-wrap, .hero-split .hero-art { display: none; }
  .hero-split { grid-template-columns: 1fr; gap: 24px; }
  .hero-grid { padding-bottom: 40px; }
  .about-teaser .teaser-grid { grid-template-columns: 1fr; gap: 24px; padding: 0; }
  .about-teaser .copy h2 { font-size: 30px; }
  .story-media { grid-template-columns: 1fr; }
  .story-media img:first-child { grid-column: auto; }
  .story-media--pair { grid-template-columns: 1fr; gap: 10px; }
  .hero--about { min-height: 0; padding: 40px var(--gutter) 24px; background: none; }
  .hero--about .hero-copy { color: var(--ink); padding: 0; }
  .hero--about .kicker { color: var(--red); }
  .hero--about .lede { color: var(--muted); font-weight: 400; }
  .modules::before { display: none; }
  .hero-screen .app-mock, .hero-mock .app-mock { zoom: .62; }
  .hero-mock { padding: 0; margin-top: 24px; overflow: hidden; height: 400px; }
  .float { display: none; }
  .hero--page { padding: 40px var(--gutter) 40px; }
  .readiness { padding-bottom: 48px; }
  .readiness-grid { grid-template-columns: 1fr; }
  .journey { padding: 48px var(--gutter) 40px; }
  .journey-head { grid-template-columns: 1fr; gap: 14px; margin-bottom: 20px; }
  .journey-head h2 { font-size: 30px; }
  .journey-head p { font-size: 15px; }
  .journey-grid { grid-template-columns: 1fr; }
  h2.title, .dark-ai h2, .demo-band h2, .story .copy h2, .hire .copy h2 { font-size: 30px; }
  h2.title-sm { font-size: 26px; }
  .dark-ai { margin: 0 var(--gutter); padding: 36px 24px; border-radius: 24px; grid-template-columns: 1fr; gap: 24px; }
  .modules { padding: 48px var(--gutter) 16px; }
  .modules-grid { grid-template-columns: 1fr; }
  .section-head.split { flex-direction: column; align-items: flex-start; gap: 12px; }
  .features { gap: 56px; padding: 24px var(--gutter) 48px; }
  .feature { grid-template-columns: 1fr; gap: 24px; }
  .feature.flip .feature-copy { order: 0; }
  .section { padding-bottom: 48px; }
  .section--pad { padding-top: 48px; }
  .grid-3, .grid-2, .vm-grid { grid-template-columns: 1fr; }
  .story, .hire, .contact-grid { grid-template-columns: 1fr; gap: 24px; }
  .story .copy, .about-teaser .copy { order: -1; }
  .demo { padding: 24px var(--gutter) 48px; }
  .demo-band { grid-template-columns: 1fr; gap: 20px; padding: 28px 22px; border-radius: 22px; }
  .demo-band p { font-size: 15px; }
  .demo-form .two { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-legal { flex-direction: column; gap: 10px; }
  .position { grid-template-columns: 1fr; gap: 10px; }
  .position .btn { justify-self: start; }
  .form-card { padding: 20px; }
  .form-card .two { grid-template-columns: 1fr; }
  .srow { grid-template-columns: 1fr auto; gap: 8px; }
  .srow span { display: none; }
  .media-card { padding: 14px; }
  .plan-card { padding: 20px; }
  .modal-head, .modal form { padding-left: 20px; padding-right: 20px; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .app-mock { zoom: .5; }
  .hero-screen { height: 250px; }
  .hero-mock { height: 320px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .text-link .icon { transition: none; } }
