:root {
  color-scheme: dark;
  --dark: #0b0e0c;
  --dark-soft: #111713;
  --dark-card: #171d19;
  --light: #f4f5f0;
  --paper: #e9ede6;
  --ink: #18211b;
  --white: #f7f8f3;
  --muted: #a3aca4;
  --muted-dark: #657269;
  --line: rgba(241, 248, 239, .13);
  --accent: #cde9da;
  --accent-dark: #34775f;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Helvetica, Arial, sans-serif;
  font-synthesis: none;
  scroll-behavior: smooth;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 90px; }
body { margin: 0; padding-top: 74px; background: var(--dark); color: var(--white); -webkit-font-smoothing: antialiased; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img, svg { display: block; }
img { max-width: 100%; }
::selection { background: #cde9da; color: #0b0e0c; }
:focus-visible { outline: 2px solid #a8e4c5; outline-offset: 4px; }
.skip-link { position: absolute; z-index: 999; left: 14px; top: -70px; padding: 12px 18px; background: #fff; color: #111; border-radius: 9px; }
.skip-link:focus { top: 12px; }
.wrap { width: min(100% - 48px, 1240px); margin-inline: auto; }
.icon { width: 19px; height: 19px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.section-light { background: var(--light); color: var(--ink); }
.section-dark { background: var(--dark); color: var(--white); }
.eyebrow, .mini-label { display: inline-block; font-size: 11px; font-weight: 750; letter-spacing: .15em; line-height: 1.5; }
.section-dark .eyebrow, .detail-hero .eyebrow, .page-hero .eyebrow, .contact-hero .eyebrow { color: #a1cfb2; }
.section-light .eyebrow { color: #48735b; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { letter-spacing: -.045em; }
h1 { font-weight: 720; }
h2 { font-size: clamp(38px, 5vw, 62px); line-height: 1.08; font-weight: 680; }
p { line-height: 1.65; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-height: 52px; padding: 0 21px; border-radius: 11px; font-weight: 660; font-size: 14px; white-space: nowrap; transition: transform .2s, background .2s, box-shadow .2s; }
.button .icon, .text-link .icon, .inline-link .icon { width: 16px; height: 16px; transition: transform .2s; }
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button:hover .icon, .text-link:hover .icon, .inline-link:hover .icon { transform: translateX(3px); }
.button-light { background: #eff1ec; color: #0d130f; box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 10px 30px rgba(0,0,0,.11); }
.button-light:hover { background: #dce9dd; }
.text-link, .inline-link { display: inline-flex; gap: 9px; align-items: center; font-size: 14px; font-weight: 650; }
.text-link { color: var(--white); }
.inline-link { color: #246d50; border-bottom: 1px solid #72a589; padding-bottom: 6px; }
.section-dark .inline-link { color: #cbeed9; border-color: #729b7e; }

/* Navigation */
.site-header { height: 74px; position: fixed; top: 0; left: 0; right: 0; z-index: 100; border-bottom: 1px solid #e8e8e3; background: #fafaf7; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 740; letter-spacing: -.055em; white-space: nowrap; }
.brand img { width: 36px; height: 36px; }
.brand-soft { font-weight: 450; color: #d4ddd5; }
.primary-nav, .nav-menu { display: flex; align-items: center; }
.primary-nav { flex: 1; justify-content: space-between; margin-left: clamp(18px, 5vw, 95px); }
.nav-menu { gap: clamp(18px, 2.6vw, 38px); }
.nav-link, .nav-details summary { font-size: 13px; font-weight: 575; color: #d8dfd9; transition: color .2s; }
.nav-link:hover, .nav-details summary:hover, .nav-details[open] summary { color: #fff; }
.nav-details summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; min-height: 54px; }
.nav-details summary::-webkit-details-marker { display: none; }
.nav-details summary .icon { width: 14px; height: 14px; transition: transform .2s; }
.nav-details[open] summary .icon { transform: rotate(180deg); }
.mega-menu, .specialty-dropdown { position: absolute; top: 73px; z-index: 120; background: #151a16; border: 1px solid rgba(255,255,255,.12); box-shadow: 0 28px 75px rgba(0,0,0,.35); }
.mega-menu { left: 50%; transform: translateX(-50%); width: min(100vw - 48px, 1190px); max-height: calc(100vh - 74px); overflow-y: auto; border-radius: 0 0 20px 20px; padding: 28px 32px 32px; }
.mega-top { display: flex; justify-content: space-between; align-items: flex-end; border-bottom: 1px solid var(--line); padding-bottom: 22px; margin-bottom: 25px; }
.mega-top div { display: grid; gap: 5px; }
.mega-top .mini-label { color: #95bc9e; }
.mega-top strong { font-size: 20px; letter-spacing: -.035em; }
.mega-top > a { color: #dcebdd; display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 700; }
.mega-top > a .icon { width: 15px; height: 15px; }
.mega-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.mega-group > p, .specialty-dropdown > p { margin: 0 0 13px; color: #90a895; font-size: 10px; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }
.mega-group a { display: flex; align-items: center; gap: 10px; min-height: 36px; padding: 5px 8px 5px 0; font-size: 12px; line-height: 1.25; color: #e1e8e1; border-radius: 7px; }
.mega-group a .icon { width: 16px; height: 16px; color: #98c0a3; }
.mega-group a:hover, .specialty-dropdown a:hover { color: #c5efce; }
.specialty-dropdown { width: 310px; margin-left: -35px; border-radius: 0 0 16px 16px; padding: 25px; }
.specialty-dropdown a { display: block; padding: 9px 0; font-size: 13px; color: #e3e9e3; }
.specialty-dropdown a.dropdown-all { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); margin-top: 12px; padding-top: 19px; color: #bde8c9; font-weight: 650; }
.specialty-dropdown a .icon { width: 15px; height: 15px; }
.header-cta { min-height: 39px; padding: 0 14px; border-radius: 8px; gap: 9px; font-size: 12px; }
.mobile-toggle { display: none; }

/* Hero and conceptual dashboard */
.hero { position: relative; overflow: hidden; background: #0b0e0c; padding: 93px 0 96px; }
.hero-glow { position: absolute; width: 1000px; height: 550px; border-radius: 50%; background: radial-gradient(ellipse, rgba(75,114,81,.12), transparent 68%); left: 50%; top: -240px; transform: translateX(-50%); pointer-events: none; }
.hero-inner { position: relative; }
.hero-copy { text-align: center; margin: 0 auto; max-width: 990px; }
.hero-badge { display: inline-flex; align-items: center; gap: 9px; border: 1px solid rgba(163,202,167,.2); background: rgba(171,216,175,.045); border-radius: 99px; padding: 9px 13px; color: #b4d8bf; font-size: 10px; font-weight: 750; letter-spacing: .13em; }
.status-dot { width: 7px; height: 7px; background: #a8dbb4; border-radius: 50%; box-shadow: 0 0 11px #8ad5a6; }
.hero h1 { font-size: clamp(48px, 7.9vw, 104px); line-height: .99; margin: 27px auto 27px; max-width: 980px; }
.hero h1 span { color: #b6c1b7; }
.hero-copy > p { color: #aab5ad; font-size: clamp(17px, 1.7vw, 21px); line-height: 1.62; max-width: 750px; margin: 0 auto; }
.hero-actions { display: flex; justify-content: center; align-items: center; gap: 30px; margin-top: 32px; }
.hero-rail { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px; margin-top: 35px; color: #78847b; font-size: 12px; font-weight: 550; }
.hero-rail i { width: 3px; height: 3px; border-radius: 50%; background: #6e7f70; }
.dashboard-stage { position: relative; max-width: 1090px; margin: 68px auto 0; }
.dashboard-aura { position: absolute; inset: -15px -18px 28%; z-index: 0; background: linear-gradient(135deg, #a799a5 0%, #b3b9b5 42%, #b99183 100%); filter: blur(1px); border-radius: 28px; opacity: .85; }
.dashboard-shell { position: relative; z-index: 1; border: 1px solid rgba(255,255,255,.18); border-radius: 19px; background: #111712; box-shadow: 0 34px 95px rgba(0,0,0,.42); overflow: visible; text-align: left; }
.dashboard-top { display: flex; justify-content: space-between; align-items: center; height: 50px; padding: 0 21px; background: #0d120e; border-radius: 18px 18px 0 0; border-bottom: 1px solid #28332a; color: #c9d5ca; font-size: 11px; }
.tiny-logo { display: inline-flex; align-items: center; gap: 7px; font-weight: 740; letter-spacing: -.02em; }
.tiny-logo .icon { width: 15px; height: 15px; color: #b9dec1; }
.dashboard-top-right { display: inline-flex; align-items: center; gap: 12px; color: #93a093; }
.avatar { display: grid; place-items: center; width: 27px; height: 27px; background: #29392c; border-radius: 50%; color: #d9eedb; font-size: 9px; font-weight: 700; }
.dashboard-body { display: grid; grid-template-columns: 176px minmax(0, 1fr); min-height: 439px; }
.dashboard-sidebar { display: flex; flex-direction: column; gap: 4px; padding: 24px 12px; background: #101611; border-radius: 0 0 0 18px; border-right: 1px solid #283229; color: #818f82; font-size: 11px; }
.sidebar-overline { color: #667567; font-size: 8px; font-weight: 750; letter-spacing: .14em; padding: 4px 10px 14px; }
.sidebar-item { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 7px; }
.sidebar-item .icon { width: 15px; height: 15px; }
.sidebar-item.selected { background: #24352a; color: #d7e9d8; }
.sidebar-bottom { margin-top: auto; padding: 13px 10px 0; border-top: 1px solid #293229; font-size: 9px; color: #738274; }
.dashboard-content { padding: 30px; min-width: 0; }
.dash-heading { display: flex; justify-content: space-between; align-items: center; gap: 15px; }
.dash-kicker { display: block; color: #859487; font-size: 9px; font-weight: 750; letter-spacing: .12em; }
.dash-heading h3 { margin: 4px 0 0; font-size: 22px; letter-spacing: -.04em; font-weight: 650; }
.dash-pill { display: inline-flex; align-items: center; gap: 6px; padding: 7px 9px; color: #b7e1bf; border: 1px solid #38583e; background: #1b3121; border-radius: 6px; font-size: 9px; font-weight: 700; }
.dash-pill .icon { width: 12px; height: 12px; }
.dash-metrics { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-top: 24px; }
.dash-metrics > div { display: flex; flex-direction: column; min-height: 98px; padding: 13px 14px; border: 1px solid #2d3a2f; background: #182019; border-radius: 9px; }
.dash-metrics span { color: #9cab9c; font-size: 10px; }
.dash-metrics strong { font-size: 25px; line-height: 1.4; font-weight: 650; }
.dash-metrics small { color: #7e9c83; font-size: 9px; }
.dash-columns { display: grid; grid-template-columns: 1.3fr .9fr; gap: 10px; margin-top: 12px; }
.agenda-panel, .patient-panel { min-width: 0; border-radius: 9px; border: 1px solid #2b382d; background: #182019; }
.panel-title { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 44px; padding: 0 14px; border-bottom: 1px solid #2c382d; }
.panel-title strong { font-size: 11px; }
.panel-title span { color: #8eaa92; font-size: 9px; }
.panel-title .icon { width: 15px; height: 15px; }
.appointment { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-bottom: 1px solid #273229; }
.appointment:last-child { border: 0; }
.appointment time { color: #8e9b8f; width: 33px; font-size: 10px; }
.patient-icon, .record-avatar { display: grid; place-items: center; flex: none; width: 30px; height: 30px; background: #536c59; color: #edf5ed; border-radius: 7px; font-size: 9px; font-weight: 750; }
.patient-icon.peach { background: #715e50; }
.patient-icon.blue { background: #4f6175; }
.appointment > span:nth-of-type(2) { display: flex; flex-direction: column; min-width: 0; }
.appointment strong { font-size: 10px; white-space: nowrap; }
.appointment small { color: #879588; font-size: 9px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.appointment em { margin-left: auto; font-size: 8px; font-style: normal; white-space: nowrap; color: #b7d5b9; background: #2c4230; padding: 4px 6px; border-radius: 4px; }
.patient-panel-main { display: flex; align-items: center; gap: 10px; padding: 17px 14px; }
.record-avatar { background: #506b59; width: 36px; height: 36px; }
.patient-panel-main strong, .patient-panel-main small { display: block; }
.patient-panel-main strong { font-size: 11px; }
.patient-panel-main small { color: #859586; margin-top: 3px; font-size: 9px; }
.timeline-row { display: flex; gap: 10px; margin: 0 14px; padding: 9px 0 9px 6px; border-left: 1px solid #54745c; }
.timeline-row > span { position: relative; left: -10px; top: 3px; width: 7px; height: 7px; flex: none; border-radius: 50%; background: #aad7b3; }
.timeline-row strong, .timeline-row small { display: block; }
.timeline-row strong { font-size: 9px; }
.timeline-row small { font-size: 8px; color: #8a9d8d; margin-top: 2px; }
.patient-panel-footer { display: flex; justify-content: space-between; align-items: center; color: #b0d8b6; border-top: 1px solid #2c382d; padding: 10px 14px; margin-top: 8px; font-size: 9px; font-weight: 650; }
.patient-panel-footer .icon { width: 13px; height: 13px; }
.float-message { position: absolute; right: -23px; bottom: -30px; z-index: 2; display: flex; align-items: center; gap: 11px; width: 270px; padding: 12px 14px; background: #f5f7f1; color: #1c2a1e; border-radius: 10px; box-shadow: 0 18px 44px rgba(0,0,0,.3); }
.message-icon { display: grid; place-items: center; background: #dcefe0; color: #2d7852; border-radius: 8px; width: 34px; height: 34px; flex: none; }
.message-icon .icon { width: 17px; height: 17px; }
.float-message strong, .float-message small { display: block; }
.float-message strong { font-size: 10px; }
.float-message small { font-size: 9px; color: #6e7e70; margin-top: 2px; }
.message-check { margin-left: auto; color: #2b7c4c; font-weight: 800; }
.visual-note { margin: 43px 0 0; text-align: center; color: #657269; font-size: 10px; letter-spacing: .02em; }

/* Home sections */
.intro-section { padding: 95px 0 110px; border-top: 1px solid var(--line); }
.section-heading { max-width: 760px; margin-bottom: 34px; }
.section-heading.center { text-align: center; margin-inline: auto; margin-bottom: 45px; }
.section-heading h2 { margin: 15px 0 17px; }
.section-heading p { font-size: 17px; color: var(--muted); max-width: 650px; margin: 0; }
.section-light .section-heading p { color: var(--muted-dark); }
.section-heading.center p { margin-inline: auto; }
.home-feature-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 15px; }
.solution-card { display: flex; min-height: 129px; position: relative; gap: 15px; padding: 25px; border: 1px solid #d8ded6; background: #fff; color: var(--ink); border-radius: 13px; transition: transform .2s, border-color .2s, box-shadow .2s; }
.solution-card:hover { transform: translateY(-4px); border-color: #93b49c; box-shadow: 0 14px 35px rgba(30,49,35,.09); }
.solution-card .card-icon { width: 36px; height: 36px; flex: none; display: grid; place-items: center; color: #438160; background: #e8f1e9; border-radius: 9px; }
.solution-card .card-icon .icon { width: 20px; height: 20px; }
.solution-card .card-copy { display: flex; flex-direction: column; gap: 7px; min-width: 0; padding-right: 12px; }
.solution-card strong { font-size: 16px; letter-spacing: -.025em; }
.solution-card .card-copy > span { color: #66726a; font-size: 12px; line-height: 1.55; }
.solution-card .card-arrow { margin-left: auto; align-self: flex-start; color: #4f7b5b; transition: transform .2s; }
.solution-card:hover .card-arrow { transform: translate(3px,-3px); }
.solution-card .card-arrow .icon { width: 16px; height: 16px; }
.home-feature-grid .solution-card { min-height: 250px; flex-direction: column; background: #151c17; border-color: #2a382d; color: #f5f7f1; padding: 28px; }
.home-feature-grid .solution-card .card-icon { width: 45px; height: 45px; color: #bfe8c7; background: #273b2d; }
.home-feature-grid .solution-card .card-icon .icon { width: 23px; height: 23px; }
.home-feature-grid .solution-card strong { font-size: 21px; }
.home-feature-grid .solution-card .card-copy > span { color: #98a99b; font-size: 14px; }
.home-feature-grid .solution-card .card-arrow { position: absolute; right: 25px; bottom: 25px; color: #b5d7bb; }
.split-section { padding: 105px 0; }
.split-grid { display: grid; grid-template-columns: .91fr 1.09fr; gap: clamp(50px, 8vw, 125px); align-items: center; }
.split-grid.reverse { grid-template-columns: 1.07fr .93fr; }
.split-copy h2 { margin: 15px 0 23px; }
.split-copy > p { font-size: 17px; color: var(--muted-dark); margin-bottom: 26px; }
.section-dark .split-copy > p { color: var(--muted); }
.check-list { display: grid; gap: 13px; margin-bottom: 30px; }
.check-list span { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 560; }
.check-list .icon { color: #438c64; width: 17px; height: 17px; }
.visual-card { position: relative; padding: 15px; border: 1px solid #d7e0d6; border-radius: 23px; background: #e9eee7; box-shadow: 0 28px 55px rgba(27,50,32,.08); }
.visual-card::after { content: ""; position: absolute; inset: 15px; border: 1px solid rgba(22,48,31,.06); border-radius: 13px; pointer-events: none; }
.visual-card img { width: 100%; border-radius: 13px; }
.dark-visual { background: #171f19; border-color: #334236; box-shadow: none; }
.clinical-section { border-top: 1px solid #202b23; }
.link-pair { display: flex; flex-wrap: wrap; gap: 22px; }
.catalog-section { padding: 105px 0 100px; }
.solution-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.section-end { margin-top: 34px; }
.finance-section { padding: 110px 0; overflow: hidden; }
.finance-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 75px; align-items: center; }
.finance-copy h2 { margin: 16px 0 22px; }
.finance-copy > p { color: var(--muted); font-size: 16px; margin-bottom: 30px; }
.finance-links { display: grid; gap: 9px; }
.finance-links .solution-card { min-height: 76px; padding: 14px 15px; align-items: center; background: #172019; border-color: #2b3a2f; color: #f2f6ef; }
.finance-links .solution-card .card-icon { background: #29432f; color: #bbdfc3; }
.finance-links .solution-card .card-copy { gap: 2px; }
.finance-links .solution-card strong { font-size: 13px; }
.finance-links .solution-card .card-copy > span { color: #91a393; font-size: 10px; }
.finance-links .solution-card .card-arrow { color: #c8e4cb; align-self: center; }
.finance-art { position: relative; padding: 19px; background: radial-gradient(circle at 80% 5%, rgba(148,169,149,.26), transparent 50%), #19231b; border: 1px solid #36483a; border-radius: 20px; }
.finance-art img { width: 100%; border-radius: 12px; }
.finance-caption { position: absolute; bottom: -32px; right: 8px; color: #7e9281; font-size: 11px; }
.specialties-section { padding: 105px 0; }
.specialties-home { display: grid; grid-template-columns: 1fr 1.05fr; align-items: center; gap: 95px; }
.specialties-home h2 { margin: 16px 0 20px; }
.specialties-home p { color: var(--muted-dark); font-size: 16px; margin-bottom: 26px; }
.specialties-pills { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; }
.specialties-pills a { display: flex; align-items: center; justify-content: space-between; padding: 20px; min-height: 68px; background: #fff; border: 1px solid #d8dfd6; border-radius: 10px; font-size: 13px; font-weight: 650; transition: border-color .2s, transform .2s; }
.specialties-pills a:hover { border-color: #81a88b; transform: translateY(-2px); }
.specialties-pills .icon { width: 15px; height: 15px; color: #4b8b66; }

/* Shared CTA and footer */
.cta-section { padding: 85px 0; background: #e9ede6; color: var(--ink); }
.cta-panel { position: relative; overflow: hidden; display: flex; justify-content: space-between; align-items: flex-end; gap: 35px; padding: 57px 62px; background: #203d2a; color: var(--white); border-radius: 19px; }
.cta-panel > div { position: relative; z-index: 1; max-width: 660px; }
.cta-panel .eyebrow { color: #a8dbaf; }
.cta-panel h2 { font-size: clamp(36px, 4.1vw, 54px); margin: 12px 0 15px; }
.cta-panel p { color: #bbd2bf; margin: 0; font-size: 15px; }
.cta-panel .button { position: relative; z-index: 1; }
.cta-orbit { position: absolute; width: 600px; height: 600px; right: -260px; top: -390px; border: 1px solid rgba(222,255,228,.15); border-radius: 50%; box-shadow: 0 0 0 90px rgba(222,255,228,.035), 0 0 0 180px rgba(222,255,228,.025); }
.site-footer { background: #0b0e0c; color: var(--white); border-top: 1px solid #253027; }
.footer-main { display: grid; grid-template-columns: 1.7fr repeat(3,1fr); gap: 50px; padding: 76px 0 80px; }
.footer-brand p { max-width: 295px; margin: 23px 0 19px; color: #87958a; font-size: 13px; }
.footer-email { display: inline-flex; gap: 8px; align-items: center; font-size: 13px; color: #ccebd1; }
.footer-email .icon { width: 14px; height: 14px; }
.footer-links { display: flex; flex-direction: column; gap: 14px; }
.footer-links h3 { font-size: 11px; font-weight: 700; letter-spacing: .08em; color: #dce9de; margin-bottom: 5px; }
.footer-links a { color: #8d9c91; font-size: 12px; line-height: 1.3; }
.footer-links a:hover { color: #e0efe0; }
.footer-bottom { display: flex; justify-content: space-between; padding: 20px 0 27px; border-top: 1px solid #253027; color: #6f7e71; font-size: 11px; }

/* Catalogs and detail pages */
.page-hero { padding: 93px 0 100px; background: radial-gradient(ellipse at 65% 110%, rgba(88,129,96,.16), transparent 55%), var(--dark); }
.page-hero .wrap { max-width: 1240px; }
.page-hero h1 { max-width: 950px; font-size: clamp(48px, 7vw, 86px); line-height: 1.02; margin: 18px 0 26px; }
.page-hero p { max-width: 650px; color: var(--muted); font-size: 19px; margin: 0; }
.catalog-page { padding: 70px 0 110px; }
.catalog-group + .catalog-group { margin-top: 75px; }
.catalog-group-heading { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px solid #d8dfd8; padding: 0 0 19px; margin-bottom: 23px; }
.catalog-group-heading > span:last-child { font-size: 12px; color: #859187; }
.detail-hero { background: radial-gradient(ellipse at 82% 15%, rgba(88,129,96,.15), transparent 50%), var(--dark); padding: 35px 0 90px; overflow: hidden; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 12px; color: #829185; font-size: 12px; }
.breadcrumb a:hover { color: #e3efe3; }
.breadcrumb span:last-child { color: #b6c8b8; }
.detail-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 55px; align-items: center; padding-top: 52px; }
.detail-copy h1 { font-size: clamp(48px, 5.5vw, 75px); line-height: 1.04; margin: 19px 0 24px; }
.detail-copy > p { max-width: 575px; color: #aab7ad; font-size: 18px; }
.detail-actions { display: flex; align-items: center; gap: 26px; margin-top: 30px; }
.detail-visual { padding: 15px; border: 1px solid #314334; background: #18221a; border-radius: 20px; transform: perspective(900px) rotateY(-4deg); box-shadow: 0 25px 90px rgba(0,0,0,.19); }
.detail-visual-inner { border-radius: 12px; overflow: hidden; }
.detail-visual img { width: 100%; height: auto; }
.detail-visual > span { display: block; color: #748376; font-size: 10px; text-align: right; padding: 9px 4px 0; }
.highlight-band { padding: 46px 0; border-bottom: 1px solid #dce3da; }
.highlight-list { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.highlight-list > span { display: flex; align-items: center; gap: 8px; padding: 11px 14px; background: #fff; border: 1px solid #d9e2d9; border-radius: 8px; font-size: 13px; font-weight: 615; }
.highlight-list .icon { width: 15px; height: 15px; color: #3b8661; }
.detail-features { padding: 100px 0 110px; }
.accounting-section { padding: 80px 0 24px; }
.accounting-section .section-heading { margin-bottom: 27px; }
.feature-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 35px; margin-top: 45px; }
.feature-row article { border-top: 1px solid #bfcac0; padding-top: 23px; }
.feature-number { color: #568263; font-size: 12px; font-weight: 700; }
.feature-row h3 { font-size: 23px; line-height: 1.18; margin: 28px 0 14px; }
.feature-row p { color: #66746b; font-size: 14px; }
.workflow-section { padding: 98px 0; }
.workflow-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 85px; }
.workflow-grid h2 { margin: 17px 0 21px; }
.workflow-grid p { color: #9daa9e; }
.workflow-list { border-top: 1px solid #344037; }
.workflow-step { display: flex; gap: 30px; padding: 26px 0; border-bottom: 1px solid #344037; }
.workflow-step > span { color: #9ec3a2; font-size: 11px; font-weight: 700; padding-top: 3px; }
.workflow-step strong { display: block; font-size: 19px; letter-spacing: -.025em; }
.workflow-step p { margin: 7px 0 0; font-size: 14px; }
.related-section { padding: 90px 0 110px; }
.related-section .section-heading { margin-bottom: 30px; }
.specialty-catalog { padding: 86px 0 110px; }
.specialty-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.specialty-card { display: flex; flex-direction: column; min-height: 280px; padding: 28px; border: 1px solid #d8e0d7; border-radius: 13px; background: #fff; transition: transform .2s, border-color .2s; }
.specialty-card:hover { transform: translateY(-4px); border-color: #95b59c; }
.specialty-card-icon { display: grid; place-items: center; width: 43px; height: 43px; border-radius: 10px; background: #e7f1e7; color: #4d8e66; }
.specialty-card strong { font-size: 23px; margin-top: 30px; letter-spacing: -.04em; }
.specialty-card p { font-size: 13px; color: #6b796d; margin: 10px 0 20px; }
.specialty-card > span:last-child { display: flex; align-items: center; gap: 8px; margin-top: auto; color: #34775a; font-size: 12px; font-weight: 700; }
.specialty-card > span:last-child .icon { width: 15px; height: 15px; }
.contact-hero { padding: 110px 0 140px; min-height: 70vh; background: radial-gradient(ellipse at 90% 15%, rgba(82,128,88,.2), transparent 47%), var(--dark); }
.contact-grid { display: grid; grid-template-columns: 1fr .8fr; gap: 100px; align-items: center; }
.contact-grid h1 { font-size: clamp(51px, 6.8vw, 90px); line-height: 1.01; margin: 18px 0 25px; }
.contact-grid > div:first-child > p { color: #aab8ab; font-size: 19px; max-width: 540px; }
.contact-points { display: grid; gap: 14px; margin-top: 34px; }
.contact-points span { display: flex; align-items: center; gap: 11px; color: #dceadd; font-size: 14px; }
.contact-points .icon { color: #a9d7b3; width: 17px; height: 17px; }
.contact-card { display: flex; flex-direction: column; align-items: flex-start; padding: 40px; background: #1a251c; border: 1px solid #3a4e3d; border-radius: 18px; }
.contact-card-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; color: #b9e6c4; background: #2b4230; }
.contact-card-icon .icon { width: 22px; height: 22px; }
.contact-card h2 { font-size: 32px; margin: 27px 0 13px; }
.contact-card p { color: #a1b3a5; font-size: 14px; }
.contact-email { display: flex; gap: 9px; align-items: center; color: #c9e9cd; font-size: 16px; font-weight: 650; margin: 8px 0 25px; }
.contact-email .icon { width: 16px; height: 16px; }

@media (max-width: 1100px) {
  .primary-nav { margin-left: 12px; }
  .nav-menu { gap: 18px; }
  .mega-grid { grid-template-columns: repeat(3, 1fr); gap: 23px; }
  .finance-grid { gap: 45px; }
  .specialties-home { gap: 50px; }
}

@media (max-width: 800px) {
  .wrap { width: min(100% - 36px, 1240px); }
  .hero-rail { max-width: 500px; margin-inline: auto; gap: 8px; }
  .hero-rail i { display: none; }
  .hero-rail span { white-space: nowrap; padding: 6px 9px; border: 1px solid #e8e8e3; border-radius: 99px; background: #fdfdfb; }
  body { padding-top: 67px; }
  .site-header { height: 67px; }
  .mobile-toggle { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 36px; height: 36px; padding: 8px; border: 1px solid #3c4c3e; border-radius: 8px; background: transparent; color: #fff; cursor: pointer; }
  .mobile-toggle span { width: 100%; height: 1.5px; background: currentColor; border-radius: 1px; }
  .primary-nav { display: none; position: absolute; top: 66px; left: 0; right: 0; max-height: calc(100vh - 66px); overflow-y: auto; padding: 12px 18px 22px; margin: 0; background: #101712; border-bottom: 1px solid #344338; box-shadow: 0 25px 50px rgba(0,0,0,.3); }
  .primary-nav.is-open { display: block; }
  .nav-menu { display: block; }
  .nav-link, .nav-details summary { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 15px 3px; min-height: 50px; border-bottom: 1px solid #28352a; font-size: 14px; }
  .header-cta { display: flex; width: 100%; margin-top: 18px; }
  .mega-menu, .specialty-dropdown { position: static; transform: none; width: 100%; max-height: none; overflow: visible; margin: 0; padding: 17px 5px 22px; border: 0; border-radius: 0; box-shadow: none; background: transparent; }
  .mega-top { align-items: flex-start; gap: 15px; }
  .mega-top strong { font-size: 16px; }
  .mega-top > a { white-space: nowrap; }
  .mega-grid { grid-template-columns: repeat(2,1fr); gap: 20px; }
  .specialty-dropdown { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
  .specialty-dropdown > p, .specialty-dropdown .dropdown-all { grid-column: 1 / -1; }
  .hero { padding: 72px 0 83px; }
  .hero h1 { font-size: clamp(50px, 9vw, 76px); }
  .dashboard-stage { margin-top: 60px; }
  .dashboard-shell { transform: none; }
  .dashboard-body { grid-template-columns: 120px minmax(0,1fr); }
  .dashboard-sidebar { padding: 17px 6px; }
  .dashboard-content { padding: 20px; }
  .dash-columns { grid-template-columns: 1fr; }
  .patient-panel { display: none; }
  .split-grid, .split-grid.reverse, .finance-grid, .specialties-home, .detail-hero-grid, .workflow-grid, .contact-grid { grid-template-columns: 1fr; gap: 42px; }
  .split-grid.reverse .visual-card { order: 2; }
  .split-grid.reverse .split-copy { order: 1; }
  .home-feature-grid, .solution-grid, .specialty-grid { grid-template-columns: repeat(2,1fr); }
  .home-feature-grid .solution-card:last-child { grid-column: 1 / -1; min-height: 190px; }
  .finance-art { max-width: 650px; }
  .footer-main { grid-template-columns: repeat(2,1fr); gap: 45px; }
  .detail-visual { transform: none; max-width: 680px; }
  .feature-row { gap: 20px; }
  .contact-hero { padding: 85px 0 105px; }
}

@media (max-width: 580px) {
  .wrap { width: min(100% - 32px, 1240px); }
  .brand { font-size: 19px; }
  .brand img { width: 33px; height: 33px; }
  .mega-grid { grid-template-columns: 1fr; }
  .mega-top { display: block; }
  .mega-top > a { margin-top: 15px; }
  .hero { padding: 61px 0 66px; }
  .hero-badge { font-size: 9px; padding: 8px 11px; }
  .hero h1 { font-size: clamp(48px, 12.5vw, 66px); margin: 24px 0; }
  .hero-copy > p { font-size: 16px; }
  .hero-actions { flex-direction: column; gap: 21px; }
  .hero-rail { gap: 8px; font-size: 10px; }
  .dashboard-stage { margin-top: 56px; margin-inline: -16px; }
  .dashboard-aura { inset: -7px 5px 35%; border-radius: 15px; }
  .dashboard-shell { border-radius: 12px; }
  .dashboard-top { height: 37px; padding: 0 11px; border-radius: 11px 11px 0 0; }
  .dashboard-top-right { font-size: 8px; }
  .dashboard-body { grid-template-columns: 1fr; min-height: 0; }
  .dashboard-sidebar { display: none; }
  .dashboard-content { padding: 15px; }
  .dash-heading h3 { font-size: 17px; }
  .dash-kicker { font-size: 8px; }
  .dash-metrics { gap: 5px; margin-top: 16px; }
  .dash-metrics > div { padding: 9px; min-height: 75px; }
  .dash-metrics span, .dash-metrics small { font-size: 8px; }
  .dash-metrics strong { font-size: 20px; }
  .dash-pill { font-size: 8px; }
  .agenda-panel { margin-top: 4px; }
  .appointment em { display: none; }
  .float-message { right: 10px; bottom: -22px; width: 225px; padding: 9px; }
  .float-message strong { font-size: 9px; }
  .float-message small { font-size: 8px; }
  .visual-note { margin-top: 44px; }
  .intro-section, .split-section, .catalog-section, .finance-section, .specialties-section, .detail-features, .workflow-section, .related-section { padding: 76px 0; }
  .accounting-section { padding: 65px 0 10px; }
  .section-heading h2, .split-copy h2, .finance-copy h2, .specialties-home h2, .workflow-grid h2 { font-size: 41px; }
  .section-heading p, .split-copy > p { font-size: 15px; }
  .home-feature-grid, .solution-grid, .specialty-grid, .feature-row { grid-template-columns: 1fr; }
  .home-feature-grid .solution-card, .home-feature-grid .solution-card:last-child { grid-column: auto; min-height: 200px; }
  .solution-card { min-height: 112px; padding: 21px; }
  .visual-card { padding: 9px; border-radius: 15px; }
  .finance-grid { gap: 43px; }
  .specialties-pills { gap: 8px; }
  .specialties-pills a { padding: 14px; font-size: 11px; min-height: 66px; }
  .cta-section { padding: 60px 0; }
  .cta-panel { display: block; padding: 39px 27px; border-radius: 13px; }
  .cta-panel h2 { font-size: 40px; }
  .cta-panel .button { margin-top: 28px; }
  .footer-main { grid-template-columns: repeat(2,1fr); padding: 55px 0; gap: 38px 25px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-links h3 { margin-bottom: 0; }
  .footer-bottom { gap: 10px; }
  .page-hero { padding: 75px 0 82px; }
  .page-hero h1 { font-size: 49px; }
  .page-hero p { font-size: 16px; }
  .catalog-page, .specialty-catalog { padding: 55px 0 80px; }
  .catalog-group + .catalog-group { margin-top: 60px; }
  .detail-hero { padding: 26px 0 70px; }
  .detail-hero-grid { padding-top: 43px; }
  .detail-copy h1 { font-size: 48px; }
  .detail-copy > p { font-size: 16px; }
  .detail-actions { flex-wrap: wrap; gap: 22px; }
  .detail-visual { padding: 9px; border-radius: 13px; }
  .highlight-band { padding: 37px 0; }
  .highlight-list { gap: 8px; }
  .highlight-list > span { font-size: 12px; padding: 9px 11px; }
  .feature-row { gap: 35px; margin-top: 30px; }
  .feature-row h3 { margin-top: 19px; }
  .workflow-grid { gap: 18px; }
  .contact-grid { gap: 52px; }
  .contact-grid h1 { font-size: 54px; }
  .contact-grid > div:first-child > p { font-size: 16px; }
  .contact-card { padding: 28px; }
  .contact-card h2 { font-size: 28px; }
  .contact-email { font-size: 14px; }
}

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

/* LaPyme-inspired light palette: warm neutrals carry the page; green is reserved for healthcare details. */
:root {
  color-scheme: light;
  --dark: #fafaf7;
  --dark-soft: #f4f4f0;
  --dark-card: #fdfdfb;
  --light: #f4f4f0;
  --paper: #e8e8e3;
  --ink: #0c0c09;
  --white: #0c0c09;
  --muted: #5b5b4b;
  --muted-dark: #5b5b4b;
  --line: #e8e8e3;
  --accent: #dcebdd;
  --accent-dark: #285d42;
}
body { background: #fafaf7; color: #0c0c09; }
.section-light { background: #f4f4f0; color: #0c0c09; }
.section-dark { background: #fafaf7; color: #0c0c09; }
.section-dark .eyebrow, .detail-hero .eyebrow, .page-hero .eyebrow, .contact-hero .eyebrow { color: #496a50; }
.section-light .eyebrow { color: #496a50; }
.button-light { background: #181811; color: #f4f4f0; box-shadow: none; }
.button-light:hover { background: #313128; }
.text-link { color: #181811; }
.inline-link, .section-dark .inline-link { color: #285d42; border-color: #8bab93; }

.site-header { background: #fafaf7; border-color: #e8e8e3; }
.brand { color: #181811; }
.brand-soft { color: #52534a; }
.nav-link, .nav-details summary { color: #30312b; }
.nav-link:hover, .nav-details summary:hover, .nav-details[open] summary { color: #111; }
.mega-menu, .specialty-dropdown { background: #fdfdfb; border-color: #e8e8e3; box-shadow: 0 28px 70px rgba(37,41,32,.12); }
.mega-top .mini-label, .mega-group > p, .specialty-dropdown > p { color: #69746b; }
.mega-top strong { color: #181811; }
.mega-top > a, .specialty-dropdown a.dropdown-all { color: #235d3e; }
.mega-group a, .specialty-dropdown a { color: #383c35; }
.mega-group a .icon { color: #4c8960; }
.mega-group a:hover, .specialty-dropdown a:hover { color: #267047; }
.mobile-toggle { color: #181811; border-color: #d9ded6; }

.hero { background: #fafaf7; }
.hero-glow { background: radial-gradient(ellipse, rgba(175,193,171,.17), transparent 68%); }
.hero-badge { border-color: #d9e5d8; background: #f3f8f2; color: #386b49; }
.status-dot { background: #5d9d6d; box-shadow: none; }
.hero h1 span { color: #5b5b4b; }
.hero-copy > p { color: #5b5b4b; }
.hero-rail { color: #7b7c70; }
.hero-rail i { background: #aaa99c; }
.dashboard-aura { background: linear-gradient(125deg, #e5d6d0 2%, #e9e8dd 45%, #cbdccf 100%); }
.dashboard-shell { border-color: #d8ddd5; background: #fdfdfb; box-shadow: 0 36px 90px rgba(49,54,40,.14); }
.dashboard-top { background: #fafaf7; border-color: #e7eae3; color: #374939; }
.tiny-logo .icon { color: #398155; }
.dashboard-top-right { color: #7e8a7e; }
.avatar { background: #e8eee7; color: #44664a; }
.dashboard-sidebar { background: #f6f8f3; border-color: #e3e8df; color: #6b786c; }
.sidebar-overline { color: #929b91; }
.sidebar-item.selected { background: #e2eee2; color: #295e3d; }
.sidebar-bottom { border-color: #e2e8df; color: #829083; }
.dash-kicker { color: #819182; }
.dash-heading h3 { color: #233326; }
.dash-pill { color: #3a8050; background: #e9f4e9; border-color: #d0e6d3; }
.dash-metrics > div, .agenda-panel, .patient-panel { border-color: #e1e7dd; background: #fff; }
.dash-metrics span { color: #728172; }
.dash-metrics strong { color: #233b28; }
.dash-metrics small { color: #4d8a61; }
.panel-title, .appointment, .patient-panel-footer { border-color: #e9eee7; }
.panel-title strong, .appointment strong, .patient-panel-main strong, .timeline-row strong { color: #2a4330; }
.panel-title span, .appointment time, .appointment small, .patient-panel-main small, .timeline-row small { color: #809281; }
.appointment em { background: #e6f3e8; color: #3b7850; }
.appointment:last-child em { background: #f1f3ee; color: #768678; }
.patient-panel-footer { color: #39794e; }
.float-message { background: #fff; border: 1px solid #e1e9df; box-shadow: 0 18px 44px rgba(39,48,38,.16); }
.visual-note { color: #8b8d81; }

.intro-section { border-color: #e8e8e3; }
.section-heading p, .section-light .section-heading p { color: #5b5b4b; }
.home-feature-grid .solution-card { background: #fdfdfb; border-color: #e2e6df; color: #0c0c09; }
.home-feature-grid .solution-card .card-icon { color: #407d54; background: #eaf3e9; }
.home-feature-grid .solution-card .card-copy > span { color: #616a60; }
.home-feature-grid .solution-card .card-arrow { color: #407d54; }
.clinical-section { border-color: #e8e8e3; }
.section-dark .split-copy > p { color: #5b5b4b; }
.dark-visual { background: #e9eee7; border-color: #d7e0d6; box-shadow: 0 28px 55px rgba(27,50,32,.08); }
.finance-copy > p { color: #5b5b4b; }
.finance-links .solution-card { background: #fdfdfb; border-color: #e2e6df; color: #181811; }
.finance-links .solution-card .card-icon { background: #eaf3e9; color: #407d54; }
.finance-links .solution-card .card-copy > span { color: #6a766c; }
.finance-links .solution-card .card-arrow { color: #407d54; }
.finance-art { background: #eef2eb; border-color: #d9e1d6; box-shadow: 0 22px 54px rgba(43,62,46,.08); }
.finance-caption { color: #7f8a7c; }

.cta-section { background: #f4f4f0; }
.cta-panel { background: #203d2a; color: #f7f8f3; }
.cta-panel .button-light, .contact-card .button-light { background: #f4f4f0; color: #181811; }
.cta-panel .button-light:hover, .contact-card .button-light:hover { background: #e5eee3; }
.site-footer { background: #fafaf7; color: #181811; border-color: #e8e8e3; }
.footer-brand p, .footer-links a { color: #5b5b4b; }
.footer-email { color: #2c6543; }
.footer-links h3 { color: #252820; }
.footer-links a:hover { color: #1f7546; }
.footer-bottom { border-color: #e8e8e3; color: #77796e; }

.page-hero { background: radial-gradient(ellipse at 60% 100%, rgba(172,191,165,.17), transparent 54%), #fafaf7; }
.page-hero p { color: #5b5b4b; }
.detail-hero { background: radial-gradient(ellipse at 82% 15%, rgba(174,197,171,.2), transparent 50%), #fafaf7; }
.breadcrumb { color: #7d857b; }
.breadcrumb a:hover { color: #2b6740; }
.breadcrumb span:last-child { color: #344b37; }
.detail-copy > p { color: #5b5b4b; }
.detail-visual { border-color: #dce4d8; background: #edf3ec; box-shadow: 0 25px 90px rgba(34,54,37,.1); }
.detail-visual > span { color: #849185; }
.workflow-list { border-color: #dce3d9; }
.workflow-grid p, .workflow-step p { color: #5b5b4b; }
.workflow-step { border-color: #dce3d9; }
.workflow-step > span { color: #4d805b; }
.contact-hero { background: radial-gradient(ellipse at 90% 15%, rgba(175,198,170,.19), transparent 47%), #fafaf7; }
.contact-grid > div:first-child > p { color: #5b5b4b; }
.contact-points span { color: #334237; }
.contact-points .icon { color: #43835b; }
.contact-card { background: #fff; border-color: #dfe7dc; box-shadow: 0 25px 70px rgba(40,60,42,.08); }
.contact-card-icon { color: #3b7850; background: #eaf3e9; }
.contact-card p { color: #68766b; }
.contact-email { color: #326e49; }

@media (max-width: 800px) {
  .primary-nav { background: #fafaf7; border-color: #e8e8e3; box-shadow: 0 25px 50px rgba(30,35,28,.12); }
  .nav-link, .nav-details summary { border-color: #e8e8e3; }
  .mega-menu, .specialty-dropdown { background: transparent; border: 0; box-shadow: none; }
}
