:root {
  --ink: #101623;
  --navy: #101623;
  --muted: #5e6d7c;
  --line: #e6e8ee;
  --soft: #f7f6f3;
  --soft-blue: #e8f0f9;
  --white: #ffffff;
  --gold: #e6c364;
  --gold-soft: #f4e3a6;
  --blue: #3f7fd0;
  --blue-soft: #a9c6ea;
  --serif: "Lora", Georgia, serif;
  --sans: "Nunito Sans", "Nunito", system-ui, sans-serif;
  --shadow: 0 18px 50px rgba(20, 34, 56, 0.08);
  --max: 1120px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--sans);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.364;
  animation: page-in 0.6s var(--ease) both;
}
@keyframes page-in { from { opacity: 0; } to { opacity: 1; } }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
h1, h2, h3, h4, p { margin: 0; }

.wrap { width: min(var(--max), calc(100% - 48px)); margin-inline: auto; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
  padding: 0 72px;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}
.site-header.scrolled { border-bottom-color: var(--line); background: rgba(255,255,255,0.96); }

.logo img { height: 26px; width: auto; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative;
  padding: 7px 12px;
  border-radius: 999px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 16px;
  color: #33404f;
  transition: background 0.25s var(--ease), color 0.25s;
}
.nav a.active, .nav a:hover { background: #eef1f4; }
.nav a.nav-contact {
  margin-left: 10px;
  padding: 9px 20px;
  background: #e9eef4;
  color: var(--ink);
}
.nav a.nav-contact:hover { background: #dfe6ee; }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border: 0; border-radius: 12px;
  background: #eef1f4; cursor: pointer;
}
.nav-toggle span, .nav-toggle span:before, .nav-toggle span:after {
  display: block; width: 16px; height: 1.5px; margin: 0 auto;
  background: var(--ink); position: relative;
}
.nav-toggle span:before, .nav-toggle span:after { content: ""; position: absolute; left: 0; }
.nav-toggle span:before { top: -5px; }
.nav-toggle span:after { top: 5px; }

/* Aurora blobs (animated) */
.aurora {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.aurora i {
  position: absolute;
  display: block;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.95;
  will-change: transform;
  animation: drift 18s ease-in-out infinite alternate;
}
.aurora .b1 { width: 70vw; height: 46vw; left: -12vw; top: 28%; background: var(--gold-soft); animation-duration: 22s; }
.aurora .b2 { width: 64vw; height: 44vw; right: -14vw; top: 22%; background: #f1e2ad; animation-duration: 26s; animation-delay: -6s; }
.aurora .b3 { width: 62vw; height: 40vw; left: 4vw; top: 46%; background: #5f93d6; animation-duration: 20s; animation-delay: -3s; }
.aurora .b4 { width: 58vw; height: 40vw; right: 2vw; top: 50%; background: #4a7fc4; animation-duration: 24s; animation-delay: -10s; }
.aurora .b5 { width: 110vw; height: 36vw; left: -5vw; top: 64%; background: #16243c; filter: blur(60px); animation-duration: 30s; animation-delay: -14s; }
.aurora .b6 { width: 70vw; height: 30vw; left: 15vw; top: 90%; background: #ffffff; filter: blur(50px); animation: none; }
@keyframes drift {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(5vw, -3vw, 0) scale(1.08); }
  100% { transform: translate3d(-4vw, 3vw, 0) scale(0.96); }
}

/* Hero (light) */
.hero {
  position: relative;
  text-align: center;
  padding: 64px 24px 0;
  overflow: hidden;
  background: #fff;
}
.hero > *:not(.aurora) { position: relative; z-index: 1; }
.hero:after, .hero-dark:after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 180px; z-index: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,0), #fff);
}
.hero h1 {
  max-width: 820px;
  margin: 0 auto;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 1.28;
  letter-spacing: -0.02em;
}
.hero h1 small { display: block; font-size: 0.62em; color: #2d3a4b; }
.brand-auris { margin-top: 36px; }
.brand-auris img { width: min(260px, 58vw); height: auto; margin-inline: auto; }
.hero .lede { margin-top: 14px; color: #3d4b5c; font-size: 18px; }

.hero-oe { padding-bottom: 0; }
.hero-oe h1 { font-size: clamp(48px, 5.4vw, 68px); font-weight: 500; }
.oe-kicker {
  margin: 22px auto 0;
  max-width: 720px;
  font-family: var(--serif);
  font-size: clamp(20px, 2.2vw, 28px);
  color: #3e4a40;
}
.oe-line {
  margin: 8px auto 0;
  max-width: 680px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.25;
  color: #3a463c;
}
.oe-next {
  position: relative;
  z-index: 1;
  margin: -28px auto 48px;
  max-width: 920px;
  font-family: var(--serif);
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.3;
  color: #101623;
}
.oe-shot {
  position: relative;
  z-index: 1;
  width: min(860px, calc(100% - 48px));
  margin: 48px auto 0;
  border-radius: 14px 14px 0 0;
  box-shadow: none;
  mask-image: linear-gradient(180deg, #000 68%, transparent 96%);
}
.hero-oe .aurora i { filter: blur(64px); opacity: 1; }
.hero-oe .aurora .b1 { top: 6%; left: -16%; width: 62%; height: 46%; background: #d3eec0; }
.hero-oe .aurora .b2 { top: 4%; right: -14%; width: 60%; height: 48%; background: #d4d0f6; }
.hero-oe .aurora .b3 { top: 18%; left: 8%; width: 42%; height: 30%; background: #eaf7dc; }
.hero-oe .aurora .b4 { top: 16%; right: 6%; width: 40%; height: 32%; background: #e4e0fb; }
.hero-oe .aurora .b5 { top: 46%; left: -8%; width: 116%; height: 38%; background: #9d96d8; opacity: 0.9; filter: blur(56px); }
.hero-oe .aurora .b6 { top: 76%; left: -10%; width: 120%; height: 42%; background: #fff; filter: blur(36px); animation: none; }

/* Hero (dark band) */
.hero-dark {
  position: relative;
  text-align: center;
  color: white;
  min-height: clamp(560px, 58vw, 860px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 150px;
  overflow: hidden;
  background: #fff;
}
.hero-dark .aurora i { filter: blur(60px); opacity: 1; }
.hero-dark .aurora .b1 { top: 4%; left: -6%; width: 112%; height: 50%; background: #f5e6b0; }
.hero-dark .aurora .b2 { top: 58%; left: -4%; width: 108%; height: 28%; background: #f2e4b4; }
.hero-dark .aurora .b3 { top: 24%; left: -14%; width: 128%; height: 50%; background: #4f86cf; }
.hero-dark .aurora .b4 { top: 29%; left: -6%; width: 112%; height: 40%; background: #2b5596; }
.hero-dark .aurora .b5 { top: 34%; left: 2%; width: 96%; height: 31%; background: #0c172b; filter: blur(52px); }
.hero-dark .aurora .b6 { top: 84%; left: -10%; width: 120%; height: 40%; background: #fff; filter: blur(40px); animation: none; }
.hero-dark > *:not(.aurora) { position: relative; z-index: 1; }
.hero-dark.lg h1 { max-width: 760px; font-size: clamp(34px, 4vw, 56px); }
.eyebrow {
  display: block;
  margin-bottom: 14px;
  color: rgba(255,255,255,0.75);
  font-size: 16px;
}
.hero-dark h1 {
  max-width: 820px;
  margin: 0 auto;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(26px, 2.6vw, 36px);
  line-height: 1.28;
  letter-spacing: -0.01em;
}

/* Buttons */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  color: white;
  border-radius: 999px;
  padding: 13px 26px;
  font-weight: 700;
  background: #101623;
  box-shadow: 0 10px 24px rgba(16, 22, 35, 0.18);
  transition: background 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s;
  overflow: hidden;
}
.btn:hover { background: #1c2740; transform: translateY(-1px); box-shadow: 0 14px 30px rgba(16, 22, 35, 0.22); }
.btn:active { transform: translateY(0); }
.btn-light {
  color: var(--ink);
  background: linear-gradient(100deg, #ffffff 0%, #ffffff 40%, #f2dfa0 70%, #9fc1ea 100%);
  background-size: 180% 100%;
  box-shadow: 0 12px 28px rgba(20, 34, 56, 0.18);
}
.btn-ghost {
  color: var(--ink);
  background: white;
  border: 1px solid #e3e7ed;
  box-shadow: none;
  font-weight: 700;
}
.btn-ghost:hover { background: var(--soft); box-shadow: none; }
.btn.btn-glow {
  color: #fff;
  background:
    radial-gradient(22px 80% at 100% 50%, #a8b2bb 0%, rgba(168, 178, 187, 0) 72%),
    linear-gradient(100deg, #111622 0% 60%, #171e2e 70%, #3d4038 78%, #7d7352 86%, #bba46b 100%);
  box-shadow: 0 12px 28px rgba(17, 22, 34, 0.12);
}
.btn.btn-glow:hover {
  color: #fff;
  background:
    radial-gradient(22px 80% at 100% 50%, #b7c0c8 0%, rgba(183, 192, 200, 0) 72%),
    linear-gradient(100deg, #1a2233 0% 60%, #222a3c 70%, #4e5146 78%, #8f8460 86%, #c9b378 100%);
}
.sub-wide { max-width: 980px; }
.hero .btn, .hero-dark .btn { margin-top: 26px; }

/* Sections */
.section { padding: 96px 0; }
.section h2, .card h3, .step h3, .agent h3, .feature h3, .tile h3 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.28;
}
.section h2 { font-size: clamp(30px, 3.2vw, 40px); max-width: 780px; }
.sub { margin-top: 14px; max-width: 720px; color: var(--muted); font-size: 15px; }
.statement {
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.4;
  color: #3e5568;
  max-width: 980px;
}
.statement b { font-weight: 400; color: var(--ink); }
.statement em { font-style: italic; }

/* Dashboard mockup */
.dashboard {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 48px));
  margin: 36px auto 0;
  background: #fbfcfd;
  border-radius: 14px 14px 0 0;
  box-shadow: 0 30px 70px rgba(16, 28, 48, 0.28);
  overflow: hidden;
  font-size: 11px;
  mask-image: linear-gradient(180deg, #000 70%, transparent 100%);
}
.dash-top {
  display: flex; align-items: center; gap: 18px;
  padding: 12px 18px;
  background: #0f1a2b; color: #a9b6c8;
}
.dash-top .tab { padding-bottom: 4px; }
.dash-top .tab.on { color: white; border-bottom: 2px solid var(--gold); }
.dash-top .spacer { flex: 1; }
.dash-top .export { background: var(--gold); color: #1b2535; padding: 4px 12px; border-radius: 6px; font-weight: 700; }
.dash-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 14px 16px 0; }
.kpi { background: white; border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; }
.kpi.dark { background: radial-gradient(120% 90% at 100% 0%, #e9c96a 0%, #4b78b8 40%, #142238 75%); color: white; border: 0; }
.kpi > span { display: block; color: inherit; opacity: 0.8; }
.kpi b { display: block; font-family: var(--serif); font-size: 22px; font-weight: 400; margin-top: 6px; white-space: nowrap; }
.kpi b span { display: inline; }
.kpi small { color: #2f7d4f; }
.kpi.dark small { color: #d9e4f3; }
.dash-body { display: grid; grid-template-columns: 1fr 230px; gap: 10px; padding: 12px 16px 16px; }
.panel { background: white; border: 1px solid var(--line); border-radius: 8px; padding: 12px; }
.panel h4 { font-size: 12px; margin-bottom: 2px; }
.panel p { color: var(--muted); font-size: 10px; }
.bars { display: flex; align-items: flex-end; gap: 10px; height: 110px; margin-top: 16px; }
.bars i {
  position: relative; display: block; flex: 1;
  height: var(--h);
  border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, #e9c96a 0%, #4a7fc4 50%, #cdd9e8 100%);
  transform-origin: bottom;
  transform: scaleY(0);
  transition: transform 1.1s var(--ease);
}
.in-view .bars i { transform: scaleY(1); }
.bars i:nth-child(2) { transition-delay: .08s; } .bars i:nth-child(3) { transition-delay: .16s; }
.bars i:nth-child(4) { transition-delay: .24s; } .bars i:nth-child(5) { transition-delay: .32s; }
.bars i:nth-child(6) { transition-delay: .4s; } .bars i:nth-child(7) { transition-delay: .48s; }
.bars i:after { content: attr(data-v); position: absolute; top: -14px; left: 0; right: 0; text-align: center; color: var(--muted); font-size: 9px; }
.legend { display: grid; gap: 8px; margin-top: 10px; }
.legend li { display: flex; justify-content: space-between; list-style: none; }
.legend li:before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--c); margin: 6px 8px 0 0; }
.legend li span { flex: 1; }
.legend { padding: 0; }
.segbar { display: flex; height: 6px; border-radius: 3px; overflow: hidden; margin-top: 8px; }
.segbar i { display: block; height: 100%; }

/* Stats */
.stats { display: grid; grid-template-columns: 1fr 1fr 1fr 1.35fr; gap: 16px; margin-top: 32px; }
.stat {
  background: var(--soft);
  border-radius: 10px;
  padding: 26px 20px;
  min-height: 280px;
  display: flex; flex-direction: column; justify-content: flex-end;
  color: #2f3f52;
}
.stat.dark { background: #101623; color: white; }
.stat b { font-family: var(--serif); font-size: 44px; font-weight: 400; letter-spacing: -0.02em; line-height: 1; color: #4e6074; }
.stat.dark b, .stat.dark p { color: white; }
.stat.dark b { font-size: 62px; }
.stat b small { font-size: 0.42em; margin-left: 3px; opacity: 0.8; }
.stat p { margin-top: 14px; font-size: 18px; line-height: 1.35; }
.stat img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
.stat.photo { padding: 0; overflow: hidden; }

/* Two-up cards */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.tile {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  padding: 30px 28px 0;
  text-align: center;
  min-height: 480px;
  background: radial-gradient(120% 70% at 50% 100%, #f1dfa2 0%, #f8f4e6 40%, #fafbfc 70%);
}
.tile.blue { background: radial-gradient(120% 70% at 50% 100%, #a9c6ea 0%, #e4edf7 40%, #fafbfc 70%); }
.tile h3 { font-size: 30px; }
.tile p { margin: 10px auto 24px; color: #4a5768; max-width: 420px; }
.mock {
  margin: 0 auto;
  width: min(380px, 100%);
  background: white;
  border-radius: 10px 10px 0 0;
  box-shadow: 0 20px 50px rgba(20, 34, 56, 0.16);
  text-align: left;
  font-size: 11px;
  overflow: hidden;
}
.mock .hd { padding: 10px 14px; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 13px; }
.mock .hd.dark { background: #0f1a2b; color: white; }
.mock .row { display: flex; gap: 18px; padding: 12px 14px; }
.mock .row b { display: block; font-family: var(--serif); font-size: 22px; font-weight: 400; }
.mock .row > div > span { color: var(--muted); font-size: 10px; }
.mock .row b span { color: inherit; font-size: inherit; }
.mock .box { margin: 0 14px 12px; border: 1px solid var(--line); border-radius: 6px; padding: 10px; }
.mock .chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.mock .chips i { font-style: normal; background: var(--soft); padding: 3px 8px; border-radius: 99px; }
.mock .meter { display: grid; grid-template-columns: 80px 1fr 28px; gap: 8px; align-items: center; margin: 6px 0; color: var(--muted); }
.mock .meter i { display: block; height: 5px; background: #e5eaf0; border-radius: 3px; overflow: hidden; }
.mock .meter i:after { content: ""; display: block; height: 100%; width: var(--w); background: var(--blue); transform-origin: left; transform: scaleX(0); transition: transform 1s var(--ease) .2s; }
.in-view .mock .meter i:after { transform: scaleX(1); }

/* Features (alternating) */
.feature-list { display: grid; gap: 16px; margin-top: 32px; }
.feature {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 32px;
  align-items: center;
  padding: 24px 24px 24px 28px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fafbfc;
}
.feature h3 { font-size: 30px; margin-bottom: 10px; }
.feature p { color: #5a6775; margin-bottom: 20px; }
.shot {
  position: relative;
  height: 320px;
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(135deg, #b9cfe8, #5a86bf 60%, #1b2d4a);
}
.shot img { width: 100%; height: 100%; object-fit: cover; opacity: 0.9; }
.shot .float {
  position: absolute;
  left: 7%; right: 7%; top: 10%;
  background: white;
  border-radius: 6px;
  padding: 12px 14px;
  font-size: 11px;
  box-shadow: 0 18px 40px rgba(20,34,56,.25);
  transform: translateY(16px);
  opacity: 0;
  transition: transform .9s var(--ease) .15s, opacity .9s var(--ease) .15s;
}
.in-view .shot .float { transform: translateY(0); opacity: 1; }
.shot .float h4 { font-family: var(--serif); font-size: 13px; margin-bottom: 6px; }
.shot .float .meter { display: grid; grid-template-columns: 80px 1fr 28px; gap: 8px; align-items: center; margin: 5px 0; color: var(--muted); }
.shot .float .meter i { display: block; height: 5px; background: #e5eaf0; border-radius: 3px; overflow: hidden; }
.shot .float .meter i:after { content: ""; display: block; height: 100%; width: var(--w); background: var(--blue); transform-origin: left; transform: scaleX(0); transition: transform 1s var(--ease) .4s; }
.in-view .shot .float .meter i:after { transform: scaleX(1); }
.shot .float .kv { display: flex; justify-content: space-between; padding: 5px 0; border-top: 1px solid var(--line); }

/* Satisfaction */
.satisfaction {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background: var(--soft-blue);
  padding: 56px 40px 0;
  min-height: 560px;
}
.satisfaction h2 { font-size: clamp(28px, 3vw, 40px); }
.satisfaction .lead { margin-top: 24px; font-size: 22px; color: #3d4b5c; max-width: 420px; line-height: 1.45; }
.satisfaction .btn-ghost { margin-top: 28px; }
.satisfaction .note { position: absolute; left: 40px; bottom: 56px; font-size: 12px; color: var(--muted); max-width: 200px; }
.rate { position: absolute; right: 40px; top: 190px; text-align: right; }
.rate b { display: block; font-family: var(--serif); font-size: 64px; font-weight: 400; letter-spacing: -0.02em; line-height: 1; }
.rate > span { font-size: 22px; color: #3d4b5c; }
.rate b span { font-size: inherit; color: inherit; }
.curve { position: absolute; right: 0; bottom: 0; width: 70%; height: 300px; }
.curve path { transform-origin: bottom left; transform: scaleX(0); transition: transform 1.6s var(--ease); }
.in-view .curve path { transform: scaleX(1); }

/* Demo orbs */
.demos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.demo { background: var(--soft); border-radius: 12px; padding: 24px 16px 16px; text-align: center; }
.demo h3 { font-family: var(--serif); font-weight: 400; font-size: 24px; }
.demo p { color: #6f8fb0; font-size: 13px; margin: 4px 0 18px; }
.demo-card { background: white; border-radius: 10px; padding: 28px 16px 22px; }
.orb {
  position: relative;
  width: 256px; height: 256px;
  margin: 0 auto 26px;
  border-radius: 50%;
  cursor: pointer;
  border: 0;
  background: radial-gradient(circle at 30% 25%, #fff6d9 0%, #f1d884 45%, #d7b24d 100%);
  box-shadow: 0 30px 60px rgba(215, 178, 77, 0.35);
  animation: breathe 5s ease-in-out infinite;
  transition: transform .4s var(--ease);
}
.orb.blue {
  background: radial-gradient(circle at 30% 25%, #e8f1fb 0%, #7ea9dd 45%, #1d3a62 100%);
  box-shadow: 0 30px 60px rgba(29, 58, 98, 0.35);
  animation-delay: -2.5s;
}
.orb:hover { transform: scale(1.03); }
.orb:before {
  content: "";
  position: absolute; inset: -14px;
  border-radius: 50%;
  border: 1px solid currentColor;
  opacity: 0;
  color: #d7b24d;
}
.orb.blue:before { color: #1d3a62; }
.orb.playing:before { animation: ripple 1.6s ease-out infinite; }
@keyframes ripple { 0% { transform: scale(0.9); opacity: .5; } 100% { transform: scale(1.25); opacity: 0; } }
@keyframes breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.035); } }
.orb .play {
  position: absolute; inset: 0; margin: auto;
  width: 60px; height: 60px; border-radius: 50%;
  background: rgba(255,255,255,0.35);
  backdrop-filter: blur(6px);
  display: grid; place-items: center;
  color: white;
}
.orb .play:after { content: ""; border-left: 16px solid white; border-top: 10px solid transparent; border-bottom: 10px solid transparent; margin-left: 4px; }
.orb.playing .play:after { border: 0; width: 14px; height: 16px; background: linear-gradient(90deg, white 0 40%, transparent 40% 60%, white 60%); margin: 0; }
.demo-card label { display: block; font-size: 16px; color: var(--ink); margin-top: 0; }

/* Products */
.products { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.product {
  background: var(--soft); border-radius: 12px; padding: 28px 24px;
  display: flex; flex-direction: column; gap: 10px;
}
.product.dark { background: linear-gradient(180deg, #1b2a44, #0f1a2c); color: white; grid-row: span 2; padding-bottom: 0; overflow: hidden; }
.product h3 { font-family: var(--serif); font-weight: 400; font-size: 26px; }
.product.dark h3 { font-size: 30px; }
.product p { color: #5a6775; }
.product.dark p { color: #c9d3e0; }
.product a.more { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #3f7fd0; font-weight: 700; }
.product.dark a.more { color: white; }
.product .ehr-shot { margin: 18px -24px 0; }
.ehr-shot img { width: 100%; border-radius: 8px; }
.heading-logo { display: inline-flex; align-items: center; gap: 14px; }
.heading-logo img { height: 0.72em; width: auto; }

.cta-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.cta-row h2 { font-size: clamp(26px, 3vw, 38px); }

/* Steps (staggered) */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; align-items: start; }
.step {
  background: var(--soft);
  border-radius: 10px;
  padding: 24px 22px;
  min-height: 280px;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 6px;
}
.step:nth-child(2) { margin-top: 56px; }
.step:nth-child(3) { margin-top: 112px; background: #e4edf6; }
.step .num { align-self: flex-start; margin-bottom: auto; color: #5a6775; font-size: 13px; }
.step .icon { margin-bottom: 6px; }
.step h3 { font-size: 26px; }
.step p { color: #5a6775; font-size: 15px; }

/* Support cards */
.four { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 32px; }
.card {
  background: var(--soft); border-radius: 10px; padding: 24px 22px;
  min-height: 280px; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px;
}
.card .icon { align-self: flex-start; margin-bottom: auto; }
.card h3 { font-size: 26px; }
.card p { color: #5a6775; font-size: 15px; }
.card.card-top { min-height: 0; justify-content: flex-start; gap: 8px; }
.icon { width: 28px; height: 28px; color: #3b4a5c; }
.icon svg { width: 100%; height: 100%; }

/* Agents */
.agent {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 22px;
  padding: 22px; border-radius: 12px; background: var(--soft);
  align-items: stretch; margin-top: 18px;
}
.agent h3 { font-size: 30px; }
.agent p { color: #5a6775; margin: 10px 0 12px; }
.agent small.lbl { display: block; font-weight: 700; font-size: 12px; margin-bottom: 8px; }
.agent img { width: 100%; height: 320px; object-fit: cover; border-radius: 8px; }
.agent .btn-ghost { margin-top: 42px; }

/* Waveform player */
.player {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border-radius: 10px; background: white;
  box-shadow: 0 10px 30px rgba(20,34,56,.06);
}
.play-btn {
  width: 32px; height: 32px; border: 0; border-radius: 50%; cursor: pointer; flex: none;
  background: radial-gradient(circle at 30% 30%, #8fb3e0, #3a68a8 55%, #1b2d4a);
  color: white; display: grid; place-items: center;
}
.play-btn:after { content: ""; border-left: 10px solid white; border-top: 6px solid transparent; border-bottom: 6px solid transparent; margin-left: 2px; }
.playing .play-btn:after { border: 0; width: 9px; height: 10px; background: linear-gradient(90deg, white 0 38%, transparent 38% 62%, white 62%); margin: 0; }
.wave { display: flex; align-items: center; gap: 2px; height: 28px; flex: 1; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.wave i {
  display: block; flex: 1; height: calc(var(--a) * 1%);
  border-radius: 99px; background: linear-gradient(180deg, #2b4a78, #6b8fc0);
  transform-origin: center; transform: scaleY(0.35);
  transition: transform .4s;
}
.playing .wave i { animation: wave 1.1s ease-in-out infinite; animation-delay: calc(var(--i) * -0.06s); }
@keyframes wave { 0%, 100% { transform: scaleY(0.35); } 50% { transform: scaleY(1); } }

/* OpenEyes browser */
.browser, .dashboard { text-align: left; }
.browser {
  position: relative; z-index: 1;
  width: min(900px, calc(100% - 48px));
  margin: 36px auto 0;
  background: white; border-radius: 10px 10px 0 0;
  box-shadow: 0 30px 70px rgba(16, 28, 48, 0.25);
  overflow: hidden;
  mask-image: linear-gradient(180deg, #000 72%, transparent 100%);
}
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 8px 12px; background: #f1f3f6; border-bottom: 1px solid var(--line); }
.dot { width: 9px; height: 9px; border-radius: 50%; background: #d5dbe3; }
.dot:nth-child(1) { background: #f0b4b0; } .dot:nth-child(2) { background: #f3d48a; } .dot:nth-child(3) { background: #b7d7b2; }
.url { margin-left: 8px; flex: 1; background: white; border-radius: 6px; padding: 3px 10px; font-size: 11px; color: var(--muted); }
.ehr { display: grid; grid-template-columns: 150px 1fr; font-size: 10px; color: #314052; }
.ehr aside { background: #1d2733; color: #d5dde6; padding: 8px; }
.ehr aside b { display: block; margin: 6px 0 4px; color: white; }
.ehr aside div { padding: 2px 0; opacity: 0.85; }
.ehr-main { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px; }
.ehr .panel h4 { color: #2457a8; font-size: 10px; }
.ehr .panel ul { margin: 0; padding-left: 12px; }
.ehr-shot .ehr { font-size: 9px; }

.checks { list-style: none; padding: 0; margin: 18px 0 0; }
.checks li { padding: 5px 0 5px 26px; position: relative; color: #2f3f52; }
.checks li:before { content: "✓"; position: absolute; left: 0; color: #3f7fd0; }
.check-grid { columns: 2; margin-top: 12px; }
.check-grid li { break-inside: avoid; }

.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.portrait { width: 100%; height: 360px; object-fit: cover; border-radius: 10px; }
.split-photo { width: 100%; height: auto; border-radius: 12px; }
.checks.pairs { columns: unset; display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; margin-bottom: 22px; }
.oe-features .shot { height: 230px; }
.oe-features .shot img { width: 100%; height: 100%; object-fit: cover; opacity: 1; }
.oe-features .shot.draw img { object-position: 70% 100%; transform: scale(1.7); transform-origin: 68% 100%; }
.oe-features .shot.exam img { object-position: 58% 0%; transform: scale(1.28); transform-origin: 55% 0%; }
.oe-features .shot.events img { object-position: 0% 40%; transform: scale(1.9); transform-origin: 0% 38%; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; }

/* Contact band */
.contact-band {
  position: relative;
  width: min(var(--max), calc(100% - 48px));
  margin: 16px auto 0;
  min-height: 600px;
  border-radius: 14px;
  overflow: hidden;
  background: #1c2836;
  display: flex; align-items: center;
}
.contact-band img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 8s linear; }
.in-view.contact-band img.bg { transform: scale(1); }
.contact-card {
  position: relative; z-index: 1;
  width: min(440px, calc(100% - 48px));
  margin: 56px 40px;
  background: white; border-radius: 10px;
  padding: 36px 28px 28px;
  box-shadow: 0 24px 60px rgba(16, 24, 38, 0.25);
}
.contact-card h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3.6vw, 44px); letter-spacing: -0.01em; line-height: 1.28; }
label { display: block; margin-top: 18px; font-size: 14px; color: #3c4a5b; }
input, select {
  width: 100%; margin-top: 8px; padding: 13px 18px;
  border-radius: 999px; border: 1px solid #e3e7ee; background: white; color: var(--ink); outline: none;
  transition: border-color .25s, box-shadow .25s;
  font-size: 15px; line-height: 1.4; box-sizing: border-box;
}
select {
  appearance: none; -webkit-appearance: none; -moz-appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233c4a5b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>");
  background-repeat: no-repeat;
  background-position: right 18px center;
  background-size: 14px;
}
input:focus, select:focus { border-color: #9fb6d3; box-shadow: 0 0 0 4px rgba(63,127,208,.12); }
.contact-card .btn { margin-top: 22px; }
.form-note { margin-top: 12px; color: #2f7d4f; font-size: 14px; min-height: 1.2em; }

/* Footer */
.site-footer { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; padding: 44px 0 36px; color: #3b4a5c; font-size: 14px; }
.site-footer .row { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.site-footer .row + .row { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); color: #7a8796; }
.site-footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
.site-footer nav a { font-family: var(--serif); font-weight: 500; }
.site-footer a:hover { color: var(--ink); }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 40; display: none; place-items: center; padding: 24px; background: rgba(16, 22, 32, 0.46); }
.modal.open { display: grid; }
.modal.open .modal-card { animation: pop .45s var(--ease); }
@keyframes pop { from { transform: translateY(16px) scale(.98); opacity: 0; } to { transform: none; opacity: 1; } }
.modal-card { width: min(520px, 100%); background: white; border-radius: 16px; padding: 28px; box-shadow: var(--shadow); }
.modal-card h2 { font-family: var(--serif); font-weight: 400; font-size: 32px; }
.transcript { margin-top: 16px; display: grid; gap: 8px; }
.transcript p { padding: 10px 12px; border-radius: 14px; background: var(--soft); font-size: 14px; opacity: 0; transform: translateY(8px); animation: fade-up .5s var(--ease) forwards; }
.transcript p:nth-child(2) { animation-delay: .5s; } .transcript p:nth-child(3) { animation-delay: 1s; }
.transcript p:nth-child(4) { animation-delay: 1.5s; } .transcript p:nth-child(5) { animation-delay: 2s; }
.transcript .me { background: #1c2836; color: white; justify-self: end; }
.modal-card .close { float: right; border: 0; background: var(--soft); border-radius: 999px; padding: 6px 10px; cursor: pointer; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in-view { opacity: 1; transform: none; }
.reveal-stagger > * { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal-stagger.in-view > * { opacity: 1; transform: none; }
.reveal-stagger.in-view > *:nth-child(2) { transition-delay: .12s; }
.reveal-stagger.in-view > *:nth-child(3) { transition-delay: .24s; }
.reveal-stagger.in-view > *:nth-child(4) { transition-delay: .36s; }
.reveal-stagger.in-view > *:nth-child(5) { transition-delay: .48s; }
.hero .reveal, .hero-dark .reveal { animation: fade-up .9s var(--ease) both; animation-delay: var(--d, 0s); opacity: 1; transform: none; }
@keyframes fade-up { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

@media (max-width: 900px) {
  .site-header { padding: 0 20px; }
  .nav-toggle { display: grid; place-items: center; }
  .nav {
    display: none; position: absolute; top: 72px; left: 16px; right: 16px;
    flex-direction: column; align-items: stretch; padding: 12px;
    background: white; border-radius: 16px; border: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .nav.open { display: flex; animation: fade-up .4s var(--ease); }
  .nav a.nav-contact { margin: 6px 0 0; }
  .stats, .two, .four, .steps, .split, .feature, .agent, .demos, .products, .values, .dash-grid, .dash-body, .ehr { grid-template-columns: 1fr; }
  .stat, .step, .card { min-height: 200px; }
  .step:nth-child(2), .step:nth-child(3) { margin-top: 0; }
  .product.dark { grid-row: auto; }
  .cta-row { flex-direction: column; align-items: flex-start; }
  .contact-card { margin: 24px; }
  .check-grid { columns: 1; }
  .portrait, .agent img, .shot { height: 220px; }
  .satisfaction { padding: 40px 24px 260px; }
  .rate { position: static; text-align: left; margin-top: 24px; }
  .satisfaction .note { left: 24px; bottom: 24px; }
  .curve { width: 100%; height: 220px; }
  .aurora i { filter: blur(50px); }
  .hero-dark { padding: 110px 24px 140px; }
  .site-footer .row { flex-direction: column; align-items: flex-start; }
  .dash-top { gap: 12px; white-space: nowrap; overflow: hidden; }
  .dash-top .spacer ~ * { display: none; }
  .dash-grid { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *:before, *:after { animation: none !important; transition: none !important; }
  .reveal, .reveal-stagger > * { opacity: 1; transform: none; }
  .bars i, .curve path, .mock .meter i:after, .shot .float .meter i:after { transform: none; }
  .shot .float { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
