/* Synapse — public website. Same palette and type as the Synapse software (src/styles.css). */
:root {
  --bg: #0c0d10;
  --bg-2: #101217;
  --panel: #13151a;
  --panel-2: #1a1d23;
  --line: #262a32;
  --line-2: #323743;
  --text: #e9eaee;
  --muted: #8d929d;
  --faint: #5c616c;
  --accent: #a48bff;
  --accent-2: #7c62e6;
  --accent-ink: #0c0d10;
  --ok: #3ddc97;
  --crit: #ff5d5d;
  --ecg: #45e27c;
  --abp: #ff5a5a;
  --spo2: #3fd3f0;
  --icp: #c9a8ff;
  --font-ui: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --r: 14px;
  --wrap: 1180px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 var(--font-ui);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
h1, h2, h3 { margin: 0; font-weight: 400; text-wrap: balance; }
p { margin: 0; }
em { font-style: italic; color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; border-radius: 8px; z-index: 99; }
.skip:focus { left: 8px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 880px; }
.mono { font-family: var(--font-mono); font-size: 13px; }
.eyebrow {
  font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 600;
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px;
}
.fine { color: var(--muted); font-size: 13.5px; }
.fine b { color: var(--text); font-weight: 600; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid var(--line-2); background: var(--panel-2); color: var(--text);
  padding: 11px 18px; border-radius: 999px; font: 600 15px/1 var(--font-ui); cursor: pointer;
  transition: transform .15s, background .15s, border-color .15s, box-shadow .15s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); border-color: var(--faint); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); box-shadow: 0 8px 30px -10px rgba(164, 139, 255, .7); }
.btn.primary:hover { background: #b5a0ff; }
.btn.ghost { background: transparent; }
.btn.sm { padding: 8px 14px; font-size: 14px; }
.btn.lg { padding: 15px 24px; font-size: 16px; }
.btn.block { width: 100%; }
.btn:disabled { opacity: .6; cursor: progress; transform: none; }
.link { background: none; border: 0; color: var(--accent); font: inherit; cursor: pointer; padding: 0; }
.tag {
  display: inline-block; font: 600 11px/1 var(--font-ui); letter-spacing: .1em; text-transform: uppercase;
  padding: 6px 9px; border-radius: 999px; background: rgba(164, 139, 255, .14); color: var(--accent);
}
.tag.crit { background: rgba(255, 93, 93, .14); color: var(--crit); }
.tag.ok { background: rgba(61, 220, 151, .14); color: var(--ok); }
.tag.hosp { background: rgba(63, 211, 240, .13); color: var(--spo2); }

/* nav */
.nav { position: sticky; top: 0; z-index: 50; transition: background .2s, border-color .2s; border-bottom: 1px solid transparent; }
.nav.solid { background: rgba(12, 13, 16, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: var(--line); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font: 28px/1 var(--font-display); letter-spacing: .01em; }
.brand svg { width: 32px; height: 32px; color: var(--accent); flex: none; }
.brand > span { display: flex; flex-direction: column; gap: 3px; }
.brand small { font: 600 10px/1 var(--font-ui); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.nav-links { display: flex; align-items: center; gap: 18px; }
.nav-links > a:not(.btn) { color: var(--muted); font-size: 14.5px; font-weight: 500; }
.nav-links > a:not(.btn):hover { color: var(--text); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line-2); border-radius: 10px; width: 44px; height: 40px; cursor: pointer; padding: 0 11px; flex-direction: column; justify-content: center; gap: 6px; }
.nav-toggle span { display: block; height: 2px; background: var(--text); border-radius: 2px; transition: transform .2s; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* hero */
.hero { position: relative; padding: 56px 0 40px; overflow: hidden; }
.hero-glow {
  position: absolute; inset: -20% -10% auto; height: 900px; pointer-events: none;
  background:
    radial-gradient(600px 380px at 78% 30%, rgba(124, 98, 230, .28), transparent 70%),
    radial-gradient(500px 300px at 12% 10%, rgba(63, 211, 240, .08), transparent 70%);
}
.hero-in { position: relative; display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; }
.hero h1 { font: 400 clamp(44px, 4.3vw, 66px)/1.02 var(--font-display); letter-spacing: -.01em; }
.lede { color: #c3c6ce; font-size: 18.5px; margin: 24px 0 30px; max-width: 34em; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--ecg); box-shadow: 0 0 0 0 rgba(69, 226, 124, .6); animation: pulse 1.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(69, 226, 124, 0); } 100% { box-shadow: 0 0 0 0 rgba(69, 226, 124, 0); } }

.hero-shot { margin: 0; position: relative; }
.bezel {
  border: 1px solid var(--line-2); border-radius: 18px; overflow: hidden; background: #08090b;
  box-shadow: 0 40px 120px -40px rgba(124, 98, 230, .55), 0 0 0 6px rgba(255, 255, 255, .02);
  transform: perspective(1600px) rotateY(var(--ry, -6deg)) rotateX(var(--rx, 2deg)); transition: transform .6s cubic-bezier(.2, .7, .2, 1);
}
.bezel-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); font: 12px var(--font-mono); color: var(--muted); }
.bezel-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
.bezel-bar span { margin-left: 8px; }
.bezel img { aspect-ratio: 5 / 3; object-fit: cover; width: 100%; height: auto; }
.monitor {
  position: absolute; right: -18px; bottom: -30px; width: min(330px, 70%);
  background: rgba(8, 9, 11, .94); border: 1px solid var(--line-2); border-radius: 14px; padding: 10px 12px;
  box-shadow: 0 16px 40px -24px rgba(0, 0, 0, .6); backdrop-filter: blur(6px);
}
.trace { display: grid; grid-template-columns: 34px 1fr 64px; align-items: center; gap: 8px; height: 40px; }
.trace + .trace { border-top: 1px solid var(--line); }
.trace canvas { width: 100%; height: 34px; }
.lbl { font: 600 10px var(--font-mono); letter-spacing: .06em; }
.num { font: 600 20px var(--font-mono); text-align: right; }
.ecg { color: var(--ecg); } .abp { color: var(--abp); } .icp { color: var(--icp); }
.num.abp { font-size: 15px; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 88px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.stats > div { background: var(--bg-2); padding: 24px 22px; }
.stats b { display: block; font: 400 46px/1 var(--font-display); color: var(--text); }
.stats span { color: var(--muted); font-size: 14px; }

/* sections */
.sec { padding: 110px 0; }
.sec.alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head { max-width: 760px; margin-bottom: 48px; }
.sec-head h2, .aud-card h2, .team h2, .talk h2, .call h2 { font: 400 clamp(34px, 4.4vw, 54px)/1.05 var(--font-display); }
.sec-head > p:not(.eyebrow) { color: var(--muted); font-size: 18px; margin-top: 18px; }
.ticks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 11px; }
.ticks li { position: relative; padding-left: 28px; color: #c3c6ce; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .45em; width: 16px; height: 16px; border-radius: 50%;
  background: rgba(164, 139, 255, .16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.3l2.2 2.2 4.8-5' fill='none' stroke='%23a48bff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}

/* make the call */
.band.call { padding: 70px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.call-in { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.call-copy p:not(.eyebrow) { color: var(--muted); font-size: 17px; margin-top: 16px; }
.call-card { background: var(--panel); border: 1px solid var(--line-2); border-radius: 18px; padding: 24px; }
.call-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; color: var(--muted); }
.call-head b { font-size: 15px; transition: color .4s; }
.call-q { font-size: 16.5px; color: #d6d8de; }
.call-q b { color: var(--text); }
.call-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.call-opts button {
  text-align: left; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--panel-2);
  color: var(--text); font: 500 15px/1.35 var(--font-ui); cursor: pointer; transition: border-color .15s, background .15s;
}
.call-opts button:hover:not(:disabled) { border-color: var(--accent); }
.call-opts button:disabled { cursor: default; opacity: .55; }
.call-opts button.right { border-color: var(--ok); background: rgba(61, 220, 151, .1); opacity: 1; }
.call-opts button.wrong { border-color: var(--crit); background: rgba(255, 93, 93, .08); opacity: 1; }
.call-fb { margin-top: 16px; padding: 14px 16px; border-radius: 12px; background: var(--panel-2); border-left: 3px solid var(--accent); color: #d6d8de; font-size: 15px; }
.call-fb.good { border-left-color: var(--ok); }
.call-fb.bad { border-left-color: var(--crit); }
.call-card .link { margin-top: 12px; }

/* rooms */
.tabs { display: inline-flex; gap: 4px; padding: 4px; background: var(--panel); border: 1px solid var(--line); border-radius: 999px; margin-bottom: 28px; flex-wrap: wrap; }
.tabs button { border: 0; background: none; color: var(--muted); font: 600 14.5px var(--font-ui); padding: 10px 18px; border-radius: 999px; cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--accent); color: var(--accent-ink); }
.room { display: grid; grid-template-columns: 1.45fr 1fr; gap: 48px; align-items: center; animation: fade .45s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } }
.room-shot { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line-2); box-shadow: 0 30px 80px -40px rgba(124, 98, 230, .45); }
.room-shot img { aspect-ratio: 5 / 3; object-fit: cover; width: 100%; height: auto; }
.room-copy h3 { font: 400 34px/1.1 var(--font-display); }
.room-copy > p { color: var(--muted); font-size: 17px; margin-top: 14px; }

/* loop & debrief */
.loop { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
.loop li { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; position: relative; }
.loop li span { font: 600 12px var(--font-mono); color: var(--accent); }
.loop h3 { font: 400 30px/1.1 var(--font-display); margin: 10px 0 8px; }
.loop p { color: var(--muted); font-size: 15px; }
.debrief { margin-top: 28px; display: grid; grid-template-columns: auto 1fr; gap: 36px; align-items: center; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 28px 32px; }
.debrief-score { position: relative; width: 132px; height: 132px; display: grid; place-content: center; text-align: center; }
.debrief-score svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.ring-bg, .ring { fill: none; stroke-width: 9; }
.ring-bg { stroke: var(--line-2); }
.ring { stroke: var(--ok); stroke-linecap: round; stroke-dasharray: 327; stroke-dashoffset: 327; transition: stroke-dashoffset 1.6s cubic-bezier(.2, .7, .2, 1); }
.debrief-score b { font: 400 46px/1 var(--font-display); }
.debrief-score small { color: var(--muted); font-size: 12px; }
.debrief-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.debrief-list li { padding-left: 30px; position: relative; color: #d6d8de; }
.debrief-list li::before { position: absolute; left: 0; top: 0; font: 700 15px var(--font-mono); }
.debrief-list .good::before { content: "+"; color: var(--ok); }
.debrief-list .bad::before { content: "−"; color: var(--crit); }
.debrief-list .bad span { color: var(--muted); }

/* cases */
.cases { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 260px; gap: 16px; }
.case { position: relative; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: var(--panel); isolation: isolate; }
.case.big { grid-column: span 2; grid-row: span 2; }
.case img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .7s; }
.case:hover img { transform: scale(1.04); }
.case::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(12, 13, 16, 0) 30%, rgba(12, 13, 16, .94) 88%); }
.case > div { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px; }
.case h3 { font: 400 26px/1.1 var(--font-display); margin: 10px 0 6px; }
.case.big h3 { font-size: 38px; }
.case p { color: #c3c6ce; font-size: 14.5px; max-width: 36em; }
.case-chips { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.case-chips li { border: 1px solid var(--line-2); border-radius: 999px; padding: 7px 13px; font-size: 14px; color: #c3c6ce; }
.case-chips li.hosp { border-color: rgba(63, 211, 240, .35); color: var(--spo2); }

/* audiences */
.aud { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.aud-card { background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 40px; display: flex; flex-direction: column; align-items: flex-start; }
.aud-card h2 { font-size: clamp(30px, 3.2vw, 42px); }
.aud-card .ticks { margin-bottom: 30px; flex: 1; }

/* compare */
.cmp { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.cmp-row { display: grid; grid-template-columns: 1fr 130px 170px; align-items: center; }
.cmp-row > span { padding: 15px 20px; }
.cmp-row + .cmp-row { border-top: 1px solid var(--line); }
.cmp-row.head { background: var(--panel); font-weight: 600; font-size: 14px; color: var(--muted); }
.cmp-row.head span:nth-child(2) { color: var(--accent); }
.cmp-row > span:nth-child(n+2) { text-align: center; }
.cmp-row > span:nth-child(2) { background: rgba(164, 139, 255, .06); }
.y { color: var(--ok); font-weight: 700; }
.n { color: var(--faint); }

/* pricing */
.prices { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 18px; }
.price { background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 32px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.price h3 { font: 400 30px/1.1 var(--font-display); }
.amt { color: var(--muted); }
.amt b { display: block; font: 400 52px/1 var(--font-display); color: var(--text); margin-bottom: 8px; }
.ex { color: var(--faint); font-size: 14px; flex: 1; }
.price.pilot { border-color: rgba(61, 220, 151, .35); }
.price.pilot p { color: #c3c6ce; flex: 1; }

/* team: a photo at images/team/<name>.jpg replaces the monogram once it loads */
.members { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.member { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; transition: box-shadow .5s; }
.member::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; opacity: 0; transition: opacity .5s;
  background: linear-gradient(150deg, var(--c), transparent 35%, transparent 65%, var(--c2));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.member:hover::after { opacity: 1; }
.m-photo {
  position: relative; aspect-ratio: 1 / 1.08; overflow: hidden; border-bottom: 1px solid var(--line); display: grid; place-items: center;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 28px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 28px),
    var(--bg-2);
  clip-path: inset(0 0 100% 0); transition: clip-path 1.1s cubic-bezier(.7, 0, .2, 1) .15s;
}
.member.in .m-photo { clip-path: inset(0); }
.m-mono {
  grid-area: 1 / 1; font: italic 400 clamp(96px, 10vw, 150px)/1 var(--font-display); letter-spacing: -.02em; padding: 0 .08em;
  background: linear-gradient(170deg, rgba(233, 234, 238, .9), color-mix(in srgb, var(--c) 55%, transparent)); -webkit-background-clip: text; background-clip: text; color: transparent;
  transition: transform 1.2s cubic-bezier(.2, .7, .2, 1);
}
.member:hover .m-mono { transform: scale(1.05); }
.m-photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s, transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.m-photo.has-photo > img { opacity: 1; }
.m-photo.has-photo .m-mono { visibility: hidden; }
.member:hover .m-photo > img { transform: scale(1.04); }
.m-photo::before {
  content: ""; position: absolute; left: 0; right: 0; top: -30%; height: 30%; z-index: 1; pointer-events: none; opacity: 0;
  background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--c) 18%, transparent) 85%, color-mix(in srgb, var(--c) 60%, transparent) 99%, transparent);
}
.member:hover .m-photo::before { opacity: 1; animation: scan 2.4s cubic-bezier(.4, 0, .2, 1) infinite; }
@keyframes scan { to { top: 100%; } }
.m-frame {
  position: absolute; inset: 16px; z-index: 1; pointer-events: none; opacity: .55;
  --k: color-mix(in srgb, var(--c) 70%, #fff);
  background:
    linear-gradient(var(--k), var(--k)) 0 0 / 16px 1px, linear-gradient(var(--k), var(--k)) 0 0 / 1px 16px,
    linear-gradient(var(--k), var(--k)) 100% 0 / 16px 1px, linear-gradient(var(--k), var(--k)) 100% 0 / 1px 16px,
    linear-gradient(var(--k), var(--k)) 0 100% / 16px 1px, linear-gradient(var(--k), var(--k)) 0 100% / 1px 16px,
    linear-gradient(var(--k), var(--k)) 100% 100% / 16px 1px, linear-gradient(var(--k), var(--k)) 100% 100% / 1px 16px;
  background-repeat: no-repeat; transition: inset .6s cubic-bezier(.2, .7, .2, 1), opacity .6s;
}
.member:hover .m-frame { inset: 10px; opacity: 1; }
.m-idx { position: absolute; top: 26px; left: 28px; z-index: 2; font: 600 11px var(--font-mono); letter-spacing: .14em; color: rgba(233, 234, 238, .55); }
.m-body { padding: 22px 26px 26px; }
.m-role { font: 600 11.5px var(--font-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--c); display: flex; align-items: center; gap: 10px; }
.m-role::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, color-mix(in srgb, var(--c) 40%, transparent), transparent); }
.member h3 { font: 400 32px/1.1 var(--font-display); margin: 12px 0 6px; }
.m-title { color: var(--muted); font-size: 15.5px; }
@media (max-width: 860px) { .members { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; } }

/* request form */
.talk { background: var(--bg); border-top: 1px solid var(--line); }
.talk-in { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
.talk-copy > p:not(.eyebrow) { color: var(--muted); font-size: 17px; margin-top: 16px; }
.form { background: var(--panel); border: 1px solid var(--line-2); border-radius: 20px; padding: 28px; display: grid; gap: 16px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; background: var(--bg); border: 1px solid var(--line); border-radius: 999px; }
.seg button { border: 0; background: none; color: var(--muted); font: 600 14.5px var(--font-ui); padding: 10px; border-radius: 999px; cursor: pointer; }
.seg button[aria-selected="true"] { background: var(--accent); color: var(--accent-ink); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fld { display: grid; gap: 6px; }
.fld > span { font-size: 13.5px; font-weight: 600; color: #c3c6ce; }
.fld i { font-style: normal; color: var(--faint); font-weight: 400; }
.fld input, .fld select, .fld textarea {
  width: 100%; background: var(--bg); color: var(--text); border: 1px solid var(--line-2); border-radius: 10px;
  padding: 11px 12px; min-height: 46px; font: 15px var(--font-ui); transition: border-color .15s;
}
.fld textarea { resize: vertical; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(164, 139, 255, .18); }
.fld .bad, .fld input[aria-invalid="true"], .fld select[aria-invalid="true"] { border-color: var(--crit); }
.check { display: flex; gap: 10px; align-items: center; color: #c3c6ce; font-size: 14.5px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--accent); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.est { background: var(--bg); border: 1px dashed var(--line-2); border-radius: 10px; padding: 12px 14px; color: var(--muted); font-size: 14.5px; margin-top: 14px; }
.est b { color: var(--text); font-size: 18px; }
.form-msg { font-size: 15px; padding: 12px 14px; border-radius: 10px; background: var(--panel-2); }
.form-msg.ok { color: var(--ok); }
.form-msg.err { color: var(--crit); }
.form.sent > :not(.form-msg):not(.thanks) { display: none; }
.thanks { text-align: center; padding: 30px 10px; }
.thanks h3 { font: 400 36px/1.1 var(--font-display); margin: 14px 0 10px; }
.thanks p { color: var(--muted); }
.thanks .ok-mark { width: 56px; height: 56px; margin: 0 auto; border-radius: 50%; display: grid; place-content: center; background: rgba(61, 220, 151, .14); color: var(--ok); font-size: 26px; }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 44px 0; background: var(--bg-2); }
.foot-in { display: grid; grid-template-columns: auto 1fr; gap: 20px 40px; align-items: center; }
.foot nav { display: flex; flex-wrap: wrap; gap: 22px; justify-content: flex-end; }
.foot nav a { color: var(--muted); font-size: 14.5px; }
.foot nav a:hover { color: var(--text); }
.foot .fine { grid-column: 1 / -1; font-size: 13px; color: var(--faint); }

/* about: vision, mission, values, the name */
.vm { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.vm-card { background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 36px; }
.vm-text { font: 400 clamp(26px, 2.8vw, 36px)/1.15 var(--font-display); }
.values-h { font: 400 30px/1.1 var(--font-display); margin: 56px 0 20px; }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.value { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; transition: border-color .2s, transform .2s; }
.value:hover { border-color: var(--accent); transform: translateY(-2px); }
.value svg { width: 34px; height: 34px; padding: 6px; border-radius: 10px; background: rgba(164, 139, 255, .14); fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.value h4 { font: 400 26px/1.1 var(--font-display); margin: 16px 0 8px; }
.value p { color: var(--muted); font-size: 15px; }
.name { margin-top: 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; border-top: 1px solid var(--line); padding-top: 48px; }
.name-text { font: 400 clamp(24px, 2.4vw, 32px)/1.25 var(--font-display); }
.name-words { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 0; }
.name-words span { border: 1px solid var(--line-2); background: var(--panel); border-radius: 999px; padding: 10px 18px; font-weight: 600; white-space: nowrap; }
.name-words span:nth-of-type(2) { border-color: var(--accent); color: var(--accent); box-shadow: 0 0 24px -6px rgba(164, 139, 255, .6); }
.name-words i { width: 34px; height: 2px; background: linear-gradient(90deg, var(--line-2), var(--accent), var(--line-2)); background-size: 200% 100%; animation: signal 1.6s linear infinite; }
@keyframes signal { from { background-position: 100% 0; } to { background-position: -100% 0; } }
@media (max-width: 1040px) {
  .values { grid-template-columns: 1fr 1fr; }
  .name { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .vm, .values { grid-template-columns: 1fr; }
  .vm-card { padding: 24px; }
  .name-words { flex-direction: column; }
  .name-words i { width: 2px; height: 22px; background: var(--accent); animation: none; }
}

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* motion: the hero entrance and neural network, highlights that follow the pointer */
.hero { isolation: isolate; }
.hero-net {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; opacity: 0; animation: fadein 2.4s .3s ease forwards;
  /* calmer behind the headline, fading out before the next section */
  -webkit-mask: linear-gradient(90deg, rgba(0, 0, 0, .28), rgba(0, 0, 0, .45) 38%, #000 62%), linear-gradient(180deg, #000 72%, transparent);
  -webkit-mask-composite: source-in;
  mask: linear-gradient(90deg, rgba(0, 0, 0, .28), rgba(0, 0, 0, .45) 38%, #000 62%), linear-gradient(180deg, #000 72%, transparent);
  mask-composite: intersect;
}
.hero-glow { animation: drift 18s ease-in-out infinite alternate; }
.hero-copy > * { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
.hero-copy > :nth-child(2) { animation-delay: .1s; }
.hero-copy > :nth-child(3) { animation-delay: .22s; }
.hero-copy > :nth-child(4) { animation-delay: .32s; }
.hero-copy > :nth-child(5) { animation-delay: .42s; }
.hero-copy > :nth-child(6) { animation-delay: .5s; }
.hero-shot { animation: shot-in 1.2s .25s cubic-bezier(.2, .7, .2, 1) both; }
.monitor { animation: float 6s 1.4s ease-in-out infinite; }
.stats { animation: rise 1s .6s cubic-bezier(.2, .7, .2, 1) both; }
.hero h1 em {
  background: linear-gradient(100deg, var(--accent) 15%, #e2d8ff 35%, var(--spo2) 55%, var(--accent) 80%);
  background-size: 260% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-right: .08em; animation: shimmer 8s ease-in-out infinite alternate;
}
@keyframes rise { from { opacity: 0; transform: translateY(26px); } }
@keyframes shot-in { from { opacity: 0; transform: translateY(40px) scale(.96); } }
@keyframes fadein { to { opacity: 1; } }
@keyframes float { 50% { transform: translateY(-8px); } }
@keyframes drift { to { transform: translate3d(-4%, 3%, 0) scale(1.08); } }
@keyframes shimmer { from { background-position: 0 0; } to { background-position: 100% 0; } }

.sec-head .eyebrow::before { content: ""; width: 0; height: 1px; background: var(--accent); transition: width .9s .35s ease; }
.sec-head.in .eyebrow::before { width: 28px; }

.btn.primary { position: relative; overflow: hidden; isolation: isolate; }
.btn.primary::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%); transform: translateX(-120%); }
.btn.primary:hover::after { transform: translateX(120%); transition: transform .8s ease; }

.spot { position: relative; isolation: isolate; }
.spot::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .35s; background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(164, 139, 255, .13), transparent 70%); }
.spot:hover::before { opacity: 1; }

.case.reveal:not(.in) img { transform: scale(1.14); }
.case img { transition: transform 1.4s cubic-bezier(.2, .7, .2, 1); }
.room:not([hidden]) .room-shot img { animation: settle 1.1s cubic-bezier(.2, .7, .2, 1); }
.room:not([hidden]) .ticks li { animation: rise .6s cubic-bezier(.2, .7, .2, 1) both; }
.room .ticks li:nth-child(2) { animation-delay: .08s; }
.room .ticks li:nth-child(3) { animation-delay: .16s; }
@keyframes settle { from { transform: scale(1.08); filter: brightness(.7); } }
.debrief.reveal .debrief-list li { opacity: 0; transform: translateX(-12px); transition: opacity .5s, transform .5s; }
.debrief.in .debrief-list li { opacity: 1; transform: none; }
.debrief.in .debrief-list li:nth-child(2) { transition-delay: .3s; }
.debrief.in .debrief-list li:nth-child(3) { transition-delay: .6s; }
.debrief.in .debrief-list li:nth-child(4) { transition-delay: .9s; }
.cmp.in .y { display: inline-block; animation: pop .5s cubic-bezier(.3, 1.6, .5, 1) both; }
.cmp.in .cmp-row:nth-child(n) .y { animation-delay: calc(var(--i, 0) * 70ms + .3s); }
@keyframes pop { from { opacity: 0; transform: scale(.3); } }
.value svg { transition: transform .4s cubic-bezier(.3, 1.6, .5, 1); }
.value:hover svg { transform: rotate(-8deg) scale(1.12); }

/* 404 */
.lost { min-height: 100vh; display: grid; place-content: center; text-align: center; padding: 24px; gap: 18px; }
.lost h1 { font: 400 clamp(44px, 8vw, 80px)/1 var(--font-display); }
.lost p { color: var(--muted); }

/* responsive */
@media (max-width: 1040px) {
  .hero-in, .call-in, .room, .talk-in { grid-template-columns: 1fr; gap: 40px; }
  .bezel { transform: none; }
  .monitor { right: 10px; }
  .loop { grid-template-columns: 1fr 1fr; }
  .prices { grid-template-columns: 1fr 1fr; }
  .price.pilot { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 4px;
    background: rgba(12, 13, 16, .97); border-bottom: 1px solid var(--line); padding: 12px 24px 20px; display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links > a:not(.btn) { padding: 12px 0; font-size: 16px; border-bottom: 1px solid var(--line); }
  .nav-links .btn { margin-top: 8px; }
  .nav { background: rgba(12, 13, 16, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
  .stats { grid-template-columns: 1fr 1fr; margin-top: 70px; }
  .aud { grid-template-columns: 1fr; }
  .cases { grid-template-columns: 1fr 1fr; grid-auto-rows: 220px; }
  .case.big { grid-column: 1 / -1; grid-row: span 1; height: 300px; }
  .debrief { grid-template-columns: 1fr; justify-items: start; }
  .foot-in { grid-template-columns: 1fr; }
  .foot nav { justify-content: flex-start; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .sec { padding: 76px 0; }
  .brand { font-size: 24px; }
  .brand small { display: none; }
  .hero { padding-top: 32px; }
  .lede { font-size: 17px; }
  .monitor { position: relative; right: auto; bottom: auto; width: 100%; margin-top: 12px; }
  .call-opts, .grid2, .loop, .prices, .cases { grid-template-columns: 1fr; }
  .case.big { height: 260px; }
  .cmp-row { grid-template-columns: 1fr 74px 84px; font-size: 14px; }
  .cmp-row > span { padding: 12px 10px; }
  .cmp-row.head { font-size: 12px; }
  .aud-card, .price, .form { padding: 22px; }
  .call-card { padding: 18px; }
  .stats b { font-size: 38px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* HealthStream / SCORM: the hero line and the section's note */
.hs-pill { display: flex; align-items: flex-start; gap: 12px; margin: 18px 0 12px; padding: 10px 14px 10px 10px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); color: var(--muted); font-size: 14px; line-height: 1.45; }
.hs-pill > b:first-child { flex: none; margin-top: 1px; font: 600 11px var(--font-mono); letter-spacing: .08em; color: var(--accent); background: rgba(255, 255, 255, .06); border-radius: 999px; padding: 4px 9px; }
.hs-pill b { color: var(--text); }
.hs-note { margin: 18px 0 0; color: var(--muted); font-size: 15px; text-align: center; }
.aud-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
@media (max-width: 640px) { .hs-pill { flex-direction: column; gap: 8px; } }

/* section backgrounds: a pattern (monitor grid, dot field or brain-fold contours) under slow drifting light */
.sec, .band { position: relative; isolation: isolate; }
.fx { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.fx::before {
  content: ""; position: absolute; inset: -40px; background: var(--pat);
  -webkit-mask: radial-gradient(ellipse 75% 70% at 50% 45%, #000 15%, transparent 78%);
  mask: radial-gradient(ellipse 75% 70% at 50% 45%, #000 15%, transparent 78%);
}
.fx-grid {
  --pat:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px) 0 0 / 180px 180px,
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px) 0 0 / 180px 180px,
    linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px) 0 0 / 36px 36px,
    linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px) 0 0 / 36px 36px;
}
.fx-grid::before { animation: pan 14s linear infinite; }
@keyframes pan { to { transform: translate(36px, 36px); } }
.fx-dots { --pat: radial-gradient(rgba(201, 168, 255, .2) 1px, transparent 1.6px) 0 0 / 24px 24px; }
.fx-dots::before { animation: pan-dots 10s linear infinite; }
@keyframes pan-dots { to { transform: translate(24px, -24px); } }
.fx-contour { --pat: url("images/contour.svg") center / cover no-repeat; }
.fx-contour::before { animation: breathe-c 26s ease-in-out infinite alternate; }
.fx-contour.flip::before { scale: -1 1; }
@keyframes breathe-c { to { transform: scale(1.08) rotate(1.5deg); } }
.fx i {
  position: absolute; left: var(--x); top: var(--y); width: var(--s, 560px); aspect-ratio: 1; translate: -50% -50%; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--c) 20%, transparent), color-mix(in srgb, var(--c) 6%, transparent) 40%, transparent 68%);
  animation: blob 26s ease-in-out infinite alternate; animation-delay: var(--d, 0s);
}
@keyframes blob {
  33% { transform: translate(7%, -9%) scale(1.12); }
  66% { transform: translate(-9%, 6%) scale(.9); }
  100% { transform: translate(5%, 7%) scale(1.06); }
}
/* the sample-decision band: a monitor trace sweeping behind the card */
.fx-ecg { position: absolute; left: 0; top: 50%; width: 100%; height: 120px; translate: 0 -50%; }
.fx-ecg path { fill: none; stroke: var(--ecg); stroke-width: 1.6; stroke-linejoin: round; opacity: .28; stroke-dasharray: 100 100; animation: sweep 7s linear infinite; filter: drop-shadow(0 0 4px var(--ecg)); }
@keyframes sweep { from { stroke-dashoffset: 100; } to { stroke-dashoffset: -100; } }

/* frosted cards, so the backgrounds read through them */
.call-card, .aud-card, .price, .vm-card, .value, .loop li, .debrief, .form, .member, .stats > div, .cmp {
  background-color: rgba(19, 21, 26, .62);
  -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}
.price.pilot { background-color: rgba(19, 30, 26, .62); }

/* a fine film grain over everything takes the flat digital edge off */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: .05;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

@media (max-width: 360px) { .hero h1 { font-size: 38px; } }

/* ---- Business look (2026-10-19): plain white headings, no neon glows, no moving backgrounds, no game-like effects ---- */
em, .hero h1 em { color: inherit; background: none; -webkit-background-clip: border-box; background-clip: border-box; animation: none; padding-right: 0; }
.hero-net, .hero-glow, .fx, .fx-ecg { display: none !important; }
.pulse { animation: none; box-shadow: none; background: var(--accent); }
.btn.primary { box-shadow: none; }
.btn.primary::after { display: none; }
.monitor, .cmp.in .y, .room:not([hidden]) .room-shot img { animation: none; }
.m-mono { background: none; color: #d9dce3; -webkit-background-clip: border-box; background-clip: border-box; }
.m-frame, .m-photo::before { display: none; }
.member:hover .m-mono, .member:hover .m-photo > img { transform: none; }
.name-words span:nth-of-type(2) { box-shadow: none; }
.name-words i { animation: none; background: var(--line-2); }
.m-role { color: var(--muted, #a5aab6); }
.m-role::after { background: var(--line-2); }
.hero-shot .bezel { box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .6); }
