:root {
  --ink: #172d32;
  --ink-2: #264048;
  --muted: #66777b;
  --teal: #087f83;
  --teal-dark: #066b6f;
  --teal-soft: #dff2f0;
  --teal-wash: #edf8f6;
  --blue-soft: #e8efff;
  --sand: #f1ece2;
  --paper: #ffffff;
  --surface: #f5f8f7;
  --line: #dce6e4;
  --line-dark: rgba(255, 255, 255, .14);
  --shadow: 0 24px 70px rgba(23, 45, 50, .12);
  --radius: 24px;
  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "SF Pro Text", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
button, a, input, textarea { font: inherit; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
img { display: block; max-width: 100%; }
svg { display: block; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 1000; padding: 10px 14px; border-radius: 9px; color: white; background: var(--ink); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.container { width: min(calc(100% - 48px), var(--max)); margin: 0 auto; }
.section-pad { padding: 132px 0; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 100; transition: background .25s, box-shadow .25s, border-color .25s; border-bottom: 1px solid transparent; }
.site-header.scrolled { background: rgba(255,255,255,.9); backdrop-filter: blur(18px); border-color: rgba(23,45,50,.08); box-shadow: 0 8px 28px rgba(23,45,50,.05); }
.header-inner { width: min(calc(100% - 48px), var(--max)); height: 80px; margin: 0 auto; display: grid; grid-template-columns: 190px 1fr auto; align-items: center; gap: 24px; }
.brand { width: 116px; line-height: 0; overflow: hidden; }
.brand img, .footer-brand img { width: 116px; height: auto; }
.nav { justify-self: center; display: flex; align-items: center; gap: 30px; }
.nav a { font-size: .925rem; color: #42575c; transition: color .2s; }
.nav a:hover, .nav a:focus-visible { color: var(--teal); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.menu-toggle { display: none; border: 0; background: transparent; padding: 10px; cursor: pointer; }
.menu-toggle span { display: block; width: 23px; height: 2px; margin: 5px 0; background: var(--ink); transition: transform .2s; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 0 20px; border: 1px solid transparent; border-radius: 12px; font-weight: 650; font-size: .94rem; transition: transform .2s, background .2s, color .2s, border-color .2s, box-shadow .2s; }
.button:hover { transform: translateY(-2px); }
.button:focus-visible, button:focus-visible, a:focus-visible { outline: 3px solid rgba(8,127,131,.22); outline-offset: 3px; }
.button-primary { color: #fff; background: var(--teal); box-shadow: 0 10px 30px rgba(8,127,131,.2); }
.button-primary:hover { background: var(--teal-dark); box-shadow: 0 13px 32px rgba(8,127,131,.28); }
.button-secondary { background: rgba(255,255,255,.82); border-color: var(--line); }
.button-secondary:hover { border-color: #b8cecb; background: #fff; }
.button-ghost { background: transparent; color: var(--ink); }
.button-small { min-height: 42px; padding: 0 18px; }
.button-large { min-height: 56px; padding: 0 26px; border-radius: 15px; font-size: 1rem; }
.button svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.button-light { color: var(--ink); background: #fff; box-shadow: 0 16px 40px rgba(0,0,0,.14); }
.button-light:hover { background: #f3fffd; }

.hero { position: relative; min-height: 860px; padding: 164px 0 108px; overflow: hidden; background: linear-gradient(180deg, #fbfdfc 0%, #f4f9f7 100%); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(23,45,50,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(23,45,50,.035) 1px, transparent 1px); background-size: 58px 58px; mask-image: linear-gradient(to bottom, transparent 0, black 20%, transparent 86%); pointer-events: none; }
.hero-glow { position: absolute; width: 760px; height: 760px; right: -230px; top: -250px; background: radial-gradient(circle, rgba(8,127,131,.15), rgba(8,127,131,0) 66%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: .87fr 1.23fr; align-items: center; gap: 62px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--teal); font-size: .78rem; font-weight: 760; letter-spacing: .1em; text-transform: uppercase; }
.eyebrow > span { width: 24px; height: 2px; border-radius: 2px; background: currentColor; }
.hero h1 { margin: 24px 0 24px; max-width: 640px; font-size: clamp(3rem, 5.1vw, 5rem); line-height: .98; letter-spacing: -.055em; font-weight: 720; }
.hero h1 em { color: var(--teal); font-style: normal; }
.hero-copy > p { max-width: 605px; margin: 0; color: #52666b; font-size: 1.16rem; line-height: 1.67; }
.hero-actions { display: flex; gap: 12px; margin: 34px 0 18px; }
.hero-copy .release-note { font-size: .82rem; color: #738286; }
.hero-product { position: relative; min-width: 720px; transform: perspective(1500px) rotateY(-2deg) rotateX(1deg); transform-origin: center; }
.browser-shell { position: relative; overflow: hidden; background: #fff; border: 1px solid rgba(23,45,50,.14); border-radius: 22px; box-shadow: 0 48px 100px rgba(23,45,50,.18), 0 2px 0 #fff inset; }
.browser-top { height: 48px; display: grid; grid-template-columns: 84px 1fr 50px; align-items: center; background: #f3f6f5; border-bottom: 1px solid #e0e7e5; }
.browser-dots { display: flex; gap: 5px; padding-left: 18px; }
.browser-dots i { width: 8px; height: 8px; border-radius: 50%; background: #c5cfcd; }
.browser-dots i:first-child { background: #eca99d; }
.browser-dots i:nth-child(2) { background: #e9ce84; }
.browser-dots i:nth-child(3) { background: #91c9ac; }
.browser-address { justify-self: center; min-width: 260px; padding: 7px 20px; border-radius: 9px; background: #fff; color: #82908f; font-size: .68rem; text-align: center; }
.lock { display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: #8aaba7; }
.browser-user { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; color: #fff; background: var(--ink); font-size: .56rem; }
.app-shell { height: 486px; display: grid; grid-template-columns: 150px 1fr; }
.app-sidebar { display: flex; flex-direction: column; padding: 22px 14px 16px; color: #c8d4d3; background: var(--ink); }
.app-brand { display: flex; align-items: center; gap: 9px; padding: 0 7px 22px; color: white; font-size: .78rem; }
.app-mark, .system-mark, .demo-logo { display: grid; place-items: center; flex: 0 0 auto; width: 25px; height: 25px; border-radius: 7px; color: #fff; background: var(--teal); font-weight: 800; font-style: italic; }
.side-label { padding: 0 8px 10px; color: #788f91; font-size: .48rem; letter-spacing: .06em; text-transform: uppercase; }
.side-item { display: flex; align-items: center; gap: 8px; padding: 9px 9px; margin-bottom: 4px; border-radius: 7px; font-size: .61rem; }
.side-item.active { color: #fff; background: rgba(255,255,255,.1); }
.side-icon { width: 10px; height: 10px; border: 1.5px solid currentColor; border-radius: 3px; opacity: .8; }
.side-icon.calendar { border-radius: 2px; }
.side-icon.chart { border-width: 0 0 1.5px 1.5px; border-radius: 0; transform: skew(-14deg); }
.side-spacer { flex: 1; }
.specialist-mini { display: flex; align-items: center; gap: 8px; padding: 10px 6px; border-top: 1px solid rgba(255,255,255,.1); }
.specialist-mini > span { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 8px; color: var(--ink); background: #b8e2dc; font-size: .49rem; font-weight: 700; }
.specialist-mini b, .specialist-mini small { display: block; }
.specialist-mini b { color: #fff; font-size: .49rem; }
.specialist-mini small { color: #8fa1a2; font-size: .4rem; }
.app-main { padding: 25px 24px; background: #f7f9f8; overflow: hidden; }
.app-title-row { display: flex; justify-content: space-between; align-items: flex-end; }
.app-title-row .kicker { color: #8b9999; font-size: .56rem; }
.app-title-row h2 { margin: 3px 0 0; font-size: 1.15rem; letter-spacing: -.03em; }
.app-title-row button { border: 0; border-radius: 8px; padding: 8px 12px; color: white; background: var(--teal); font-size: .55rem; font-weight: 700; }
.stat-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin: 19px 0 14px; }
.stat { padding: 13px 14px; border: 1px solid #e1e8e6; border-radius: 11px; background: white; }
.stat small, .stat strong, .stat span { display: block; }
.stat small { color: #849291; font-size: .48rem; }
.stat strong { margin: 3px 0; font-size: 1.15rem; }
.stat span { color: var(--teal); font-size: .43rem; }
.app-content-grid { display: grid; grid-template-columns: 1.32fr .85fr; gap: 11px; }
.patients-panel, .day-panel { padding: 14px; border: 1px solid #e1e8e6; border-radius: 11px; background: white; }
.panel-head { display: flex; justify-content: space-between; padding-bottom: 10px; border-bottom: 1px solid #edf1f0; font-size: .58rem; }
.panel-head span { color: var(--teal); font-size: .46rem; }
.patient-row { display: flex; align-items: center; gap: 8px; padding: 10px 0; border-bottom: 1px solid #eef2f1; }
.patient-row:last-child { border: 0; }
.avatar { display: grid; place-items: center; flex: 0 0 auto; width: 26px; height: 26px; border-radius: 8px; color: #33585b; font-size: .46rem; font-weight: 750; font-style: normal; }
.avatar.large { width: 43px; height: 43px; border-radius: 12px; font-size: .68rem; }
.avatar.mint { background: #dcefeb; }
.avatar.blue { background: var(--blue-soft); }
.avatar.sand { background: var(--sand); }
.patient-row > div { min-width: 0; flex: 1; }
.patient-row b, .patient-row small { display: block; }
.patient-row b { font-size: .54rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.patient-row small { color: #8b9898; font-size: .43rem; }
.tag { padding: 3px 6px; border-radius: 9px; color: var(--teal); background: var(--teal-soft); font-size: .4rem; }
.tag.soft { color: #6076a4; background: #eef1fa; }
.mini-chart { height: 105px; display: flex; align-items: end; gap: 6px; padding: 20px 3px 0; border-bottom: 1px solid #e6ecea; }
.mini-chart span { flex: 1; height: var(--h); border-radius: 3px 3px 0 0; background: #cce2df; }
.mini-chart span.current { background: var(--teal); }
.chart-labels { display: flex; justify-content: space-around; padding-top: 7px; color: #91a09f; font-size: .39rem; }
.chart-labels i { font-style: normal; }
.floating-card { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border: 1px solid rgba(23,45,50,.12); border-radius: 14px; background: rgba(255,255,255,.94); box-shadow: 0 17px 40px rgba(23,45,50,.14); backdrop-filter: blur(8px); }
.floating-card strong, .floating-card small { display: block; white-space: nowrap; }
.floating-card strong { font-size: .7rem; }
.floating-card small { color: #778886; font-size: .55rem; }
.float-one { left: -40px; bottom: 62px; }
.float-two { right: -34px; top: 78px; }
.pulse-icon, .ai-spark { display: grid; place-items: center; width: 29px; height: 29px; border-radius: 9px; color: var(--teal); background: var(--teal-soft); font-weight: 800; }
.ai-spark { color: #fff; background: var(--ink); }
.orbit { position: absolute; border: 1px solid rgba(8,127,131,.11); border-radius: 50%; pointer-events: none; }
.orbit-one { width: 520px; height: 520px; right: -180px; top: -170px; }
.orbit-two { width: 760px; height: 760px; left: -250px; bottom: -520px; }

.section-heading { display: grid; grid-template-columns: 70px 1fr; align-items: start; gap: 18px; }
.section-index { padding-top: 12px; color: var(--teal); font-size: .75rem; font-weight: 700; letter-spacing: .08em; }
.section-heading h2, .section-intro h2, .ai-copy h2 { margin: 0; font-size: clamp(2.3rem, 4vw, 4.1rem); line-height: 1.06; letter-spacing: -.045em; font-weight: 690; }
.problem-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: start; }
.problem-content .lead { margin: 3px 0 44px; color: #53666a; font-size: 1.23rem; line-height: 1.65; }
.chaos-to-system { display: grid; grid-template-columns: 1fr 82px 1fr; align-items: center; }
.chaos-list { display: flex; flex-wrap: wrap; gap: 8px; }
.chaos-list span { padding: 8px 11px; border: 1px solid var(--line); border-radius: 10px; color: #6f7e80; background: #fafcfb; font-size: .73rem; }
.flow-line { position: relative; height: 88px; }
.flow-line i { position: absolute; left: 0; width: 54px; height: 1px; background: var(--line); transform-origin: right; }
.flow-line i:nth-child(1) { top: 16px; transform: rotate(25deg); }
.flow-line i:nth-child(2) { top: 34px; transform: rotate(12deg); }
.flow-line i:nth-child(3) { top: 45px; }
.flow-line i:nth-child(4) { top: 58px; transform: rotate(-12deg); }
.flow-line i:nth-child(5) { top: 75px; transform: rotate(-24deg); }
.flow-line b { position: absolute; right: 3px; top: 41px; width: 7px; height: 7px; border-width: 1px 1px 0 0; border-style: solid; border-color: var(--teal); transform: rotate(45deg); }
.system-card { display: flex; align-items: center; gap: 12px; padding: 16px; border: 1px solid #bcd9d5; border-radius: 15px; background: var(--teal-wash); }
.system-mark { width: 38px; height: 38px; border-radius: 11px; }
.system-card strong, .system-card small { display: block; }
.system-card strong { font-size: .86rem; }
.system-card small { color: #748685; font-size: .66rem; }

.capabilities { background: var(--surface); }
.section-intro { max-width: 780px; margin-bottom: 58px; }
.section-intro h2 { margin-top: 16px; }
.section-intro > p { max-width: 650px; margin: 20px 0 0; color: #607175; font-size: 1.08rem; }
.section-intro.split { max-width: none; display: grid; grid-template-columns: 1.25fr .75fr; align-items: end; gap: 90px; }
.section-intro.split > p { margin: 0 0 8px; }
.section-intro.centered { margin-left: auto; margin-right: auto; text-align: center; }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.feature-card { position: relative; min-height: 410px; padding: 34px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.feature-card h3 { max-width: 430px; margin: 20px 0 12px; font-size: 1.65rem; line-height: 1.18; letter-spacing: -.03em; }
.feature-card p { max-width: 470px; margin: 0; color: #67777a; }
.feature-wide { grid-column: 1/-1; min-height: 465px; display: grid; grid-template-columns: .83fr 1.17fr; align-items: center; gap: 45px; }
.feature-number { color: var(--teal); font-size: .75rem; font-weight: 700; letter-spacing: .08em; }
.micro-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 25px; }
.micro-tags span { padding: 6px 10px; border-radius: 8px; color: var(--teal-dark); background: var(--teal-wash); font-size: .72rem; font-weight: 700; }
.patient-card-demo { align-self: stretch; padding: 24px; border: 1px solid #dfe7e5; border-radius: 18px; background: #fbfcfc; box-shadow: 0 20px 60px rgba(23,45,50,.08); transform: translate(25px, 26px); }
.patient-head { display: flex; align-items: center; gap: 12px; }
.patient-head > div { flex: 1; }
.patient-head strong, .patient-head small { display: block; }
.patient-head strong { font-size: .93rem; }
.patient-head small { color: #81908f; font-size: .68rem; }
.patient-head button { border: 0; background: transparent; color: #83918f; }
.patient-tabs { display: flex; gap: 22px; margin: 22px 0 19px; border-bottom: 1px solid #e1e8e6; color: #758482; font-size: .67rem; }
.patient-tabs span { padding-bottom: 9px; }
.patient-tabs .active { color: var(--teal); border-bottom: 2px solid var(--teal); font-weight: 700; }
.patient-info { display: grid; grid-template-columns: 1fr 85px; gap: 12px; }
.patient-info > div { padding: 14px; border: 1px solid #e4ebe9; border-radius: 12px; background: white; }
.patient-info small { color: #81908f; font-size: .62rem; }
.patient-info p { margin: 6px 0 0; color: var(--ink); font-size: .76rem; line-height: 1.45; }
.score-box strong { display: block; margin-top: 7px; color: var(--teal); font-size: 1.4rem; }
.progress-line { margin-top: 16px; }
.progress-line > span { display: block; height: 6px; border-radius: 6px; background: #e7eeec; overflow: hidden; }
.progress-line i { display: block; height: 100%; border-radius: inherit; background: var(--teal); }
.progress-line small { display: block; margin-top: 7px; color: #859492; font-size: .58rem; }
.feature-icon { display: grid; place-items: center; width: 47px; height: 47px; border-radius: 14px; color: var(--teal); background: var(--teal-soft); }
.feature-icon svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.goal-demo { position: absolute; inset: auto 34px 30px; padding: 18px; border: 1px solid #e0e8e6; border-radius: 14px; background: #fafcfb; }
.goal-demo > div { display: flex; justify-content: space-between; gap: 20px; font-size: .78rem; }
.goal-demo > div b { color: var(--teal); }
.goal-demo > i { display: block; height: 7px; margin: 13px 0 8px; border-radius: 10px; background: #e4edeb; overflow: hidden; }
.goal-demo > i em { display: block; width: 68%; height: 100%; background: var(--teal); }
.goal-demo small { color: #81908f; font-size: .63rem; }
.dark-card { color: #fff; background: var(--ink); border-color: var(--ink); }
.dark-card p { color: #aebdbd; }
.feature-icon.inverted { color: #fff; background: rgba(255,255,255,.11); }
.report-demo { position: absolute; inset: auto 34px 30px; padding: 18px; border: 1px solid rgba(255,255,255,.13); border-radius: 14px; background: rgba(255,255,255,.055); }
.report-top { display: flex; justify-content: space-between; margin-bottom: 17px; font-size: .74rem; }
.report-top b { color: #8ed9d3; font-size: .65rem; }
.report-demo > i { display: block; width: 100%; height: 5px; margin: 8px 0; border-radius: 6px; background: rgba(255,255,255,.13); }
.report-demo > i.short { width: 66%; }
.report-demo button { margin-top: 15px; padding: 8px 11px; border: 0; border-radius: 8px; color: var(--ink); background: #fff; font-size: .64rem; font-weight: 700; }
.feature-proof { display: flex; flex-direction: column; gap: 8px; margin-top: 25px; color: #6b7b7e; font-size: .78rem; }
.feature-proof b { color: var(--ink); font-size: .96rem; }
.week-demo { align-self: stretch; padding: 19px; border: 1px solid #dfe7e5; border-radius: 18px; background: #fbfcfc; transform: translate(25px, 24px); }
.week-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.week-head strong { font-size: .82rem; }
.week-head button { width: 25px; height: 25px; margin-left: 4px; border: 1px solid #dfe7e5; border-radius: 7px; background: white; font-size: .72rem; }
.week-grid { height: 285px; display: grid; grid-template-columns: repeat(5,1fr); border: 1px solid #e2e9e7; border-radius: 12px; overflow: hidden; }
.week-grid > div { position: relative; padding: 11px 7px; border-right: 1px solid #e7edeb; background-image: repeating-linear-gradient(to bottom, transparent 0 48px, #eef2f1 49px); }
.week-grid > div:last-child { border: 0; }
.week-grid > div.today { background-color: #f4faf8; }
.week-grid b, .week-grid small { display: block; text-align: center; font-size: .55rem; }
.week-grid small { color: #849391; }
.week-grid i { position: absolute; top: var(--top); left: 5px; right: 5px; min-height: var(--size); padding: 6px; border-radius: 7px; color: #55707a; background: #e8edf6; font-size: .43rem; font-style: normal; line-height: 1.45; }
.week-grid i.teal { color: #146a69; background: #dff0ed; }
.week-grid i strong { text-align: left; font-size: .46rem; }

.product-tour { overflow: hidden; }
.tour { border: 1px solid var(--line); border-radius: 26px; background: #f4f7f6; overflow: hidden; box-shadow: 0 32px 90px rgba(23,45,50,.1); }
.tour-tabs { display: grid; grid-template-columns: repeat(4,1fr); background: #fff; border-bottom: 1px solid var(--line); }
.tour-tabs button { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 68px; border: 0; border-right: 1px solid var(--line); color: #738184; background: transparent; cursor: pointer; }
.tour-tabs button:last-child { border-right: 0; }
.tour-tabs button span { color: #a6b1b0; font-size: .7rem; }
.tour-tabs button.active { color: var(--ink); box-shadow: 0 -3px 0 var(--teal) inset; font-weight: 700; }
.tour-tabs button.active span { color: var(--teal); }
.tour-screen { margin: 28px; border: 1px solid #dce4e2; border-radius: 17px; background: white; overflow: hidden; box-shadow: 0 18px 40px rgba(23,45,50,.07); }
.tour-chrome { height: 38px; display: flex; align-items: center; gap: 6px; padding: 0 14px; background: #f5f7f6; border-bottom: 1px solid #e3e9e7; }
.tour-chrome i { width: 7px; height: 7px; border-radius: 50%; background: #c8d1cf; }
.tour-chrome span { flex: 1; color: #9aa6a4; font-size: .58rem; text-align: center; }
.tour-panel { min-height: 492px; display: grid; grid-template-columns: 64px 1fr; }
.tour-panel[hidden] { display: none; }
.demo-sidebar { display: flex; flex-direction: column; align-items: center; gap: 22px; padding-top: 22px; background: var(--ink); }
.demo-logo { width: 28px; height: 28px; font-size: .7rem; }
.demo-sidebar i { width: 18px; height: 18px; border: 1px solid rgba(255,255,255,.25); border-radius: 5px; }
.demo-sidebar i:first-of-type { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.55); }
.demo-content { padding: 30px 34px; background: #f9fbfa; }
.demo-top { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 26px; }
.demo-top small { color: #85918f; font-size: .67rem; }
.demo-top h3 { margin: 5px 0 0; font-size: 1.45rem; letter-spacing: -.025em; }
.demo-top button { padding: 9px 14px; border: 0; border-radius: 9px; color: white; background: var(--teal); font-size: .69rem; font-weight: 700; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid label { color: #637477; font-size: .65rem; font-weight: 600; }
.form-grid textarea { width: 100%; height: 112px; margin-top: 7px; padding: 13px; resize: none; border: 1px solid #dce5e3; border-radius: 10px; color: var(--ink); background: white; font-size: .72rem; line-height: 1.5; }
.goals-board { display: grid; gap: 13px; }
.goals-board article { display: grid; grid-template-columns: 13px 1fr 60px; gap: 14px; align-items: start; padding: 20px; border: 1px solid #dfe7e5; border-radius: 13px; background: #fff; }
.status-dot { width: 9px; height: 9px; margin-top: 5px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 5px var(--teal-soft); }
.blue-dot { background: #6787c7; box-shadow: 0 0 0 5px #e9eef8; }
.goals-board small { color: #83918f; font-size: .59rem; }
.goals-board h4 { margin: 3px 0 5px; font-size: .85rem; }
.goals-board p { margin: 0; color: #788685; font-size: .68rem; }
.goals-board i { display: block; height: 6px; margin-top: 13px; border-radius: 8px; background: #e8efed; overflow: hidden; }
.goals-board em { display: block; height: 100%; border-radius: inherit; background: var(--teal); }
.goals-board article > b { color: var(--teal); font-size: .85rem; text-align: right; }
.ai-layout { display: grid; grid-template-columns: 1fr 210px; gap: 14px; }
.ai-summary, .ai-layout aside { padding: 22px; border: 1px solid #dce6e3; border-radius: 13px; background: white; }
.ai-label { display: flex; align-items: center; gap: 8px; color: var(--teal); font-size: .63rem; font-weight: 700; }
.ai-summary h4 { margin: 19px 0 10px; font-size: .92rem; }
.ai-summary ul { padding-left: 18px; margin: 0; color: #5f7073; font-size: .72rem; line-height: 1.75; }
.ai-warning { margin-top: 19px; padding: 11px 13px; border-radius: 9px; color: #597376; background: var(--teal-wash); font-size: .65rem; }
.ai-layout aside small, .ai-layout aside strong { display: block; }
.ai-layout aside small { margin-bottom: 12px; color: #8a9896; font-size: .61rem; }
.ai-layout aside strong { padding: 10px 0; border-bottom: 1px solid #e8edec; font-size: .68rem; }
.schedule-list { display: grid; grid-template-columns: 52px 1fr; gap: 10px 14px; }
.schedule-list .time { padding-top: 15px; color: #6d7c7e; font-size: .71rem; font-weight: 700; }
.schedule-list article { display: flex; align-items: center; justify-content: space-between; padding: 13px 16px; border: 1px solid #dfe7e5; border-left: 3px solid var(--teal); border-radius: 11px; background: #fff; }
.schedule-list article small { color: var(--teal); font-size: .55rem; }
.schedule-list article h4 { margin: 1px 0; font-size: .79rem; }
.schedule-list article p { margin: 0; color: #83908f; font-size: .62rem; }
.schedule-list article > span { padding: 5px 8px; border-radius: 7px; color: #7f8b8a; background: #f1f4f3; font-size: .57rem; }
.schedule-list article > span.paid { color: #17766f; background: #e5f3ef; }
.schedule-list article.empty-slot { border: 1px dashed #c8d5d2; background: transparent; }

.ai-section { position: relative; overflow: hidden; color: #fff; background: var(--ink); }
.ai-backdrop { position: absolute; inset: 0; background: radial-gradient(circle at 70% 15%, rgba(8,127,131,.35), transparent 37%), linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px); background-size: auto, 56px 56px, 56px 56px; }
.ai-grid { position: relative; display: grid; grid-template-columns: .82fr 1.18fr; gap: 95px; align-items: center; }
.eyebrow.light { color: #8fd8d2; }
.ai-copy h2 { margin: 18px 0 24px; }
.ai-copy > p { color: #afbfbe; font-size: 1.05rem; }
.check-list { list-style: none; padding: 0; margin: 28px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.check-list li { position: relative; padding-left: 25px; color: #d2dcdb; font-size: .86rem; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: #8ed8d1; }
.ai-provider { display: inline-flex; align-items: center; gap: 12px; margin-top: 8px; padding: 11px 14px; border: 1px solid rgba(255,255,255,.12); border-radius: 12px; background: rgba(255,255,255,.05); }
.ai-provider > span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; color: var(--ink); background: #9adbd5; font-size: .72rem; font-weight: 800; }
.ai-provider small, .ai-provider strong { display: block; }
.ai-provider small { color: #8ca09f; font-size: .57rem; }
.ai-provider strong { color: #fff; font-size: .72rem; }
.ai-conversation { padding: 26px; border: 1px solid rgba(255,255,255,.12); border-radius: 22px; background: rgba(255,255,255,.06); box-shadow: 0 35px 100px rgba(0,0,0,.24); backdrop-filter: blur(8px); }
.conversation-top, .conversation-top > div { display: flex; align-items: center; gap: 11px; }
.conversation-top { justify-content: space-between; }
.conversation-top strong, .conversation-top small { display: block; }
.conversation-top strong { font-size: .83rem; }
.conversation-top small { color: #8ca09f; font-size: .59rem; }
.spark { display: grid; place-items: center; width: 37px; height: 37px; border-radius: 11px; color: var(--ink); background: #9adbd5; }
.secure-dot { position: relative; padding-left: 14px; color: #a8b8b7; font-size: .58rem; }
.secure-dot::before { content: ""; position: absolute; left: 0; top: 5px; width: 7px; height: 7px; border-radius: 50%; background: #6fd2b0; box-shadow: 0 0 0 4px rgba(111,210,176,.12); }
.context-row { display: flex; gap: 7px; margin: 24px 0 14px; }
.context-row span { padding: 6px 9px; border-radius: 8px; color: #b7c5c4; background: rgba(255,255,255,.07); font-size: .58rem; }
.analysis-block { padding: 21px; border-radius: 14px; color: var(--ink); background: #fff; }
.analysis-block small, .analysis-columns small { color: var(--teal); font-size: .55rem; font-weight: 800; letter-spacing: .07em; }
.analysis-block h3 { margin: 7px 0 8px; font-size: 1rem; }
.analysis-block p { margin: 0; color: #5e7073; font-size: .73rem; line-height: 1.6; }
.analysis-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.analysis-columns > div { padding: 16px; border: 1px solid rgba(255,255,255,.11); border-radius: 12px; }
.analysis-columns p { margin: 6px 0 0; color: #c0cccb; font-size: .68rem; }
.human-check { display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 11px; margin-top: 10px; padding: 14px; border-radius: 12px; color: var(--ink); background: #daf0ec; }
.human-check > span { display: grid; place-items: center; width: 29px; height: 29px; border-radius: 9px; color: white; background: var(--teal); }
.human-check p { margin: 0; font-size: .62rem; line-height: 1.45; }
.human-check button { padding: 7px 10px; border: 0; border-radius: 8px; color: #fff; background: var(--teal); font-size: .59rem; font-weight: 700; }

.security-grid { display: grid; grid-template-columns: .88fr 1.12fr; gap: 100px; align-items: start; }
.security-grid .section-intro { position: sticky; top: 130px; margin: 0; }
.security-list { display: grid; gap: 18px; }
.security-list article { display: grid; grid-template-columns: 54px 1fr; gap: 20px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.security-list article:first-child { padding-top: 0; }
.security-list article > span { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 15px; color: var(--teal); background: var(--teal-wash); font-size: .77rem; font-weight: 800; }
.security-list svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.security-list h3 { margin: 0 0 7px; font-size: 1.18rem; }
.security-list p { margin: 0; color: #657679; }
.security-note { display: grid; grid-template-columns: 200px 1fr; gap: 42px; margin-top: 56px; padding: 23px 26px; border: 1px solid #cbdedb; border-radius: 16px; background: var(--teal-wash); }
.security-note p { margin: 0; color: #5d7073; font-size: .9rem; }

.audiences { background: var(--surface); }
.audience-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.audience-grid article { position: relative; min-height: 410px; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.audience-grid article.accent { color: #fff; background: var(--ink); border-color: var(--ink); transform: translateY(-12px); }
.audience-index { color: var(--teal); font-size: .71rem; font-weight: 800; }
.accent .audience-index { color: #8dd7d1; }
.audience-label { position: absolute; top: 26px; right: 26px; padding: 5px 8px; border-radius: 8px; color: #b8efea; background: rgba(255,255,255,.09); font-size: .55rem; }
.audience-label.muted-label { color: #7c8b8d; background: #f1f4f3; }
.audience-grid h3 { margin: 63px 0 14px; font-size: 1.55rem; letter-spacing: -.025em; }
.audience-grid p { color: #657578; }
.audience-grid .accent p { color: #afbfbe; }
.audience-grid ul { list-style: none; padding: 0; margin: 28px 0 0; }
.audience-grid li { position: relative; padding: 11px 0 11px 21px; border-bottom: 1px solid var(--line); color: #566a6e; font-size: .82rem; }
.audience-grid .accent li { color: #d0dcdb; border-color: rgba(255,255,255,.1); }
.audience-grid li::before { content: ""; position: absolute; left: 1px; top: 19px; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }
.audience-grid .accent li::before { background: #8ed8d1; }

.early-access { padding-top: 110px; padding-bottom: 110px; }
.access-card { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.25fr .75fr; align-items: center; gap: 70px; padding: 64px 70px; border-radius: 30px; color: #fff; background: var(--teal); box-shadow: 0 30px 80px rgba(8,127,131,.23); }
.access-card::before, .access-card::after { content: ""; position: absolute; border: 1px solid rgba(255,255,255,.17); border-radius: 50%; }
.access-card::before { width: 420px; height: 420px; right: -130px; top: -250px; }
.access-card::after { width: 260px; height: 260px; right: -60px; bottom: -180px; }
.access-copy, .access-action { position: relative; z-index: 1; }
.access-copy h2 { margin: 16px 0 16px; font-size: clamp(2.4rem,4vw,4rem); line-height: 1.04; letter-spacing: -.045em; }
.access-copy p { max-width: 660px; margin: 0; color: #d7f0ed; }
.access-action { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.access-action small { color: #cceae7; font-size: .7rem; }

.footer { padding: 76px 0 28px; border-top: 1px solid var(--line); }
.footer-main { display: grid; grid-template-columns: minmax(260px, .8fr) minmax(0, 1.4fr); gap: 64px; padding-bottom: 68px; }
.footer-brand p { max-width: 350px; color: #67787b; }
.footer-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.footer-links strong, .footer-links a { display: block; }
.footer-links strong { margin-bottom: 15px; font-size: .8rem; }
.footer-links a { margin: 10px 0; color: #657679; font-size: .84rem; }
.footer-links a:hover { color: var(--teal); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-top: 24px; border-top: 1px solid var(--line); color: #7a898b; font-size: .72rem; }
.footer-bottom p { margin: 0; }

[data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .65s ease, transform .65s ease; }
[data-reveal][data-delay="1"] { transition-delay: .12s; }
[data-reveal][data-delay="2"] { transition-delay: .22s; }
[data-reveal].revealed { opacity: 1; transform: translateY(0); }

@media (max-width: 1120px) {
  .hero { min-height: auto; padding-bottom: 96px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 780px; }
  .hero h1 { max-width: 850px; }
  .hero-product { min-width: 0; width: min(100%, 820px); margin: 30px auto 0; transform: none; }
  .float-one { left: -18px; }
  .float-two { right: -18px; }
  .problem-grid, .security-grid { gap: 60px; }
  .ai-grid { gap: 55px; }
}

@media (max-width: 860px) {
  .section-pad { padding: 94px 0; }
  .header-inner { grid-template-columns: 1fr auto auto; }
  .menu-toggle { display: block; order: 2; }
  .header-actions { order: 1; }
  .header-actions .button-ghost { display: none; }
  .nav { position: fixed; inset: 80px 16px auto; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 14px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.98); box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { padding: 15px; border-bottom: 1px solid #edf1f0; font-size: 1rem; }
  .nav a:last-child { border: 0; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .problem-grid, .security-grid, .ai-grid { grid-template-columns: 1fr; }
  .section-heading { grid-template-columns: 48px 1fr; }
  .problem-content { max-width: 680px; margin-left: 66px; }
  .feature-wide { grid-template-columns: 1fr; }
  .patient-card-demo, .week-demo { transform: none; }
  .section-intro.split { grid-template-columns: 1fr; gap: 20px; }
  .tour-panel { min-height: 470px; }
  .ai-copy { max-width: 690px; }
  .security-grid .section-intro { position: static; }
  .audience-grid { grid-template-columns: 1fr; }
  .audience-grid article { min-height: 0; }
  .audience-grid article.accent { transform: none; }
  .access-card { grid-template-columns: 1fr; gap: 38px; padding: 52px; }
  .footer-main { grid-template-columns: 1fr; gap: 45px; }
}

@media (max-width: 620px) {
  .container, .header-inner { width: min(calc(100% - 30px), var(--max)); }
  .header-inner { height: 70px; grid-template-columns: 1fr auto; gap: 7px; }
  .header-actions { display: none; }
  .nav { inset: 70px 12px auto; }
  .hero { padding: 126px 0 74px; }
  .hero h1 { font-size: clamp(2.65rem, 13vw, 4rem); }
  .hero-copy > p { font-size: 1rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .button-large { width: 100%; }
  .hero-product { margin-top: 18px; width: 760px; transform: scale(.49); transform-origin: top left; margin-bottom: -265px; }
  .floating-card { display: none; }
  .problem-content { margin-left: 0; }
  .chaos-to-system { grid-template-columns: 1fr; gap: 20px; }
  .flow-line { height: 45px; transform: rotate(90deg); width: 40px; margin: 0 auto; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card, .feature-wide { grid-column: auto; padding: 25px; }
  .feature-card { min-height: 400px; }
  .feature-wide { min-height: 0; gap: 28px; }
  .patient-card-demo, .week-demo { margin: 0 -12px -13px; padding: 16px; }
  .patient-tabs { gap: 12px; overflow: hidden; }
  .schedule-feature .feature-copy { padding-bottom: 10px; }
  .week-grid { height: 250px; }
  .week-grid i { font-size: .38rem; }
  .tour-tabs { display: flex; overflow-x: auto; }
  .tour-tabs button { flex: 0 0 145px; min-height: 58px; }
  .tour-screen { margin: 12px; }
  .tour-panel { grid-template-columns: 38px 1fr; min-height: 500px; }
  .demo-sidebar { gap: 14px; padding-top: 15px; }
  .demo-logo { width: 23px; height: 23px; }
  .demo-sidebar i { width: 15px; height: 15px; }
  .demo-content { padding: 20px 15px; overflow: hidden; }
  .demo-top h3 { font-size: 1.05rem; }
  .demo-top button { padding: 7px 9px; white-space: nowrap; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid label:nth-child(n+3) { display: none; }
  .ai-layout { grid-template-columns: 1fr; }
  .ai-layout aside { display: none; }
  .schedule-list { grid-template-columns: 42px 1fr; }
  .schedule-list article > span { display: none; }
  .check-list { grid-template-columns: 1fr; }
  .ai-conversation { padding: 15px; }
  .secure-dot { display: none; }
  .analysis-columns { grid-template-columns: 1fr; }
  .human-check { grid-template-columns: 30px 1fr; }
  .human-check button { display: none; }
  .security-note { grid-template-columns: 1fr; gap: 8px; }
  .access-card { padding: 38px 25px; border-radius: 23px; }
  .footer-links { grid-template-columns: 1fr; gap: 25px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
}

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

/* FIZIRA_MOBILE_FIX_START */
/* Keep the 760 px product mock-up from defining the mobile grid width. */
@media (max-width: 620px) {
  html,
  body {
    max-width: 100%;
    overflow-x: clip;
  }

  .hero {
    padding: 108px 0 68px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-copy {
    min-width: 0;
    width: 100%;
  }

  .eyebrow {
    max-width: 100%;
    align-items: flex-start;
    gap: 9px;
    font-size: .7rem;
    line-height: 1.45;
    letter-spacing: .075em;
  }

  .eyebrow > span {
    flex: 0 0 22px;
    margin-top: .65em;
  }

  .hero h1 {
    max-width: 100%;
    margin: 20px 0;
    font-size: clamp(2.25rem, 10.8vw, 3.1rem);
    line-height: 1.02;
    letter-spacing: -.045em;
  }

  .hero-copy > p {
    max-width: 100%;
    line-height: 1.58;
  }

  .hero-actions {
    gap: 10px;
    margin: 28px 0 16px;
  }

  .hero-actions .button {
    max-width: 100%;
    padding-inline: 18px;
    text-align: center;
    white-space: normal;
  }

  .hero-copy .release-note {
    font-size: .78rem;
    line-height: 1.5;
  }

  .hero-product {
    min-width: 760px;
    max-width: none;
    margin: 24px 0 -265px;
  }
}

@media (max-width: 402px) {
  .hero-product {
    transform: scale(.44);
    margin-bottom: -292px;
  }
}

@media (max-width: 363px) {
  .hero-product {
    transform: scale(.4);
    margin-bottom: -312px;
  }
}

@media (max-width: 340px) {
  .hero-product {
    transform: scale(.38);
    margin-bottom: -323px;
  }
}
/* FIZIRA_MOBILE_FIX_END */
