:root {
  --clinessy-ink: #121018;
  --clinessy-muted: #6f6878;
  --clinessy-soft: #f7f4fb;
  --clinessy-line: rgba(18, 16, 24, 0.1);
  --clinessy-purple: #7c3aed;
  --clinessy-magenta: #c026d3;
  --clinessy-rose: #f43f5e;
  --clinessy-radius: 8px;
  --clinessy-shadow: 0 24px 80px rgba(35, 18, 65, 0.16);
  --container: min(1280px, calc(100vw - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.clinessy-ui {
  margin: 0;
  background: #fff;
  color: var(--clinessy-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.container--narrow {
  max-width: 820px;
}

.section {
  position: relative;
  padding: 112px 0;
}

.section--compact {
  padding: 54px 0;
}

.skip-link,
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  z-index: 999;
  width: auto;
  height: auto;
  margin: 16px;
  padding: 10px 14px;
  clip: auto;
  background: #fff;
  border: 1px solid var(--clinessy-line);
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 16px;
  left: 0;
  right: 0;
  transition: transform 180ms ease, background 180ms ease;
}

.admin-bar .site-header {
  top: 46px;
}

.site-header__inner {
  width: min(1240px, calc(100vw - 32px));
  min-height: 58px;
  margin: 0 auto;
  padding: 10px 12px 10px 18px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  border: 1px solid rgba(124, 58, 237, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 44px rgba(82, 45, 140, 0.08);
  backdrop-filter: blur(22px);
}

.brand {
  display: flex;
  align-items: center;
  width: 152px;
}

.brand__official {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: 152px;
}

.brand__mark {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  border-radius: 8px;
  object-fit: cover;
}

.brand__wordmark {
  width: 112px;
  height: auto;
  display: block;
  object-fit: contain;
}

.custom-logo-link {
  display: flex;
  align-items: center;
}

.custom-logo {
  max-height: 38px;
  width: auto;
}

.primary-nav {
  justify-self: center;
}

.primary-nav__list,
.footer-nav__list {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.primary-nav__list li,
.footer-nav__list li {
  margin: 0;
}

.primary-nav a {
  color: rgba(18, 16, 24, 0.72);
  font-size: 12px;
  font-weight: 600;
}

.primary-nav a:hover {
  color: var(--clinessy-ink);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 15px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-login {
  color: rgba(18, 16, 24, 0.62);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.header-cta,
.button--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--clinessy-purple), var(--clinessy-magenta), var(--clinessy-rose));
  box-shadow: 0 12px 30px rgba(124, 58, 237, 0.26);
}

.button--ghost {
  color: var(--clinessy-ink);
  background: rgba(255, 255, 255, 0.74);
  border-color: var(--clinessy-line);
  box-shadow: 0 10px 26px rgba(82, 45, 140, 0.06);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--clinessy-line);
  border-radius: 50%;
  background: #fff;
}

.nav-toggle span:not(.screen-reader-text) {
  display: block;
  width: 16px;
  height: 2px;
  margin: 2px 0;
  background: var(--clinessy-ink);
}

.hero {
  min-height: 486px;
  padding-top: 82px;
  padding-bottom: 42px;
  overflow: hidden;
  background:
    radial-gradient(circle at 48% -26%, rgba(124, 58, 237, 0.12), transparent 30%),
    radial-gradient(circle at 88% 13%, rgba(217, 70, 239, 0.09), transparent 24%),
    linear-gradient(180deg, #fbfaff 0%, #fff 72%);
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(330px, 0.54fr) minmax(720px, 1.46fr);
  align-items: center;
  gap: 26px;
  text-align: left;
}

.hero__glow {
  position: absolute;
  width: 440px;
  height: 440px;
  border-radius: 999px;
  filter: blur(90px);
  opacity: 0.18;
  pointer-events: none;
}

.hero__glow--one {
  top: -210px;
  left: 28%;
  background: #c026d3;
}

.hero__glow--two {
  top: 30px;
  right: 4%;
  background: #7c3aed;
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--clinessy-purple);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero__title {
  max-width: 360px;
  margin: 0;
  font-size: clamp(30px, 2.65vw, 38px);
  line-height: 1.1;
  letter-spacing: 0;
}

.hero__lead {
  max-width: 350px;
  margin: 16px 0 0;
  color: var(--clinessy-purple);
  font-size: clamp(28px, 2.7vw, 38px);
  font-weight: 500;
  line-height: 1.06;
}

.hero__lead span {
  display: block;
  color: var(--clinessy-magenta);
}

.hero__subtitle {
  max-width: 340px;
  margin: 14px 0 0;
  color: var(--clinessy-muted);
  font-size: 11px;
  line-height: 1.45;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 9px;
  margin-top: 18px;
}

.hero__visual {
  display: flex;
  justify-content: flex-end;
  width: 100%;
}

.product-frame {
  display: block;
  width: min(760px, 100%);
  margin-top: 0;
  border: 1px solid rgba(124, 58, 237, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 20px 58px rgba(75, 45, 120, 0.15);
  overflow: hidden;
  transform: rotate(-2deg) translateY(2px);
}

.clinessy-ui .product-frame * {
  box-sizing: border-box;
}

.dashboard {
  min-height: 344px;
  display: grid;
  grid-template-columns: 104px 1fr 116px;
  background: linear-gradient(135deg, #fff, #fbf8ff 55%, #fff);
}

.clinessy-ui .dashboard,
.clinessy-ui .dashboard__main,
.clinessy-ui .dashboard__side,
.clinessy-ui .dashboard__stats,
.clinessy-ui .schedule-grid,
.clinessy-ui .schedule-column {
  box-sizing: border-box;
}

.dashboard__side {
  padding: 14px 10px;
  border-right: 1px solid var(--clinessy-line);
}

.dashboard__side strong {
  display: flex;
  align-items: center;
  gap: 8px;
  display: block;
  margin-bottom: 14px;
  font-size: 9px;
}

.brand-dot {
  width: 14px;
  height: 14px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--clinessy-purple), var(--clinessy-rose));
  font-size: 9px;
}

.dashboard-logo-mark {
  width: 16px;
  height: 16px;
  border-radius: 5px;
  object-fit: cover;
}

.dashboard__side nav {
  display: grid;
  gap: 4px;
}

.dashboard__side span {
  padding: 6px 7px;
  border-radius: 7px;
  color: var(--clinessy-muted);
  font-size: 8px;
  font-weight: 700;
}

.dashboard__side .is-active {
  color: #fff;
  background: linear-gradient(135deg, var(--clinessy-purple), var(--clinessy-magenta));
}

.dashboard__main {
  min-width: 0;
  padding: 14px 12px;
}

.dashboard__top,
.dashboard__stats {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.dashboard__top span,
.dashboard__stats span {
  display: block;
  color: var(--clinessy-muted);
  font-size: 9px;
}

.dashboard__top strong {
  font-size: 12px;
}

.dashboard-tools {
  display: inline-flex;
  gap: 6px;
  padding: 4px;
  border-radius: 999px;
  background: #f6f1ff;
}

.dashboard-tools span {
  padding: 4px 7px;
  border-radius: 999px;
  color: var(--clinessy-muted);
  font-size: 9px;
  font-weight: 800;
}

.schedule-grid {
  min-height: 276px;
  display: grid;
  grid-template-columns: 38px repeat(3, 1fr);
  gap: 6px;
  margin-top: 12px;
}

.schedule-grid__times,
.schedule-column {
  display: grid;
  grid-template-rows: 28px repeat(8, 1fr);
}

.schedule-grid__times {
  padding-top: 26px;
  color: #aaa2b5;
  font-size: 7px;
}

.schedule-column {
  position: relative;
  padding: 0 6px;
  border: 1px solid var(--clinessy-line);
  border-radius: 10px;
  background: repeating-linear-gradient(to bottom, rgba(255,255,255,0.78), rgba(255,255,255,0.78) 42px, rgba(18,16,24,0.05) 43px);
}

.schedule-column strong {
  padding-top: 7px;
  font-size: 9px;
}

.event {
  position: absolute;
  left: 6px;
  right: 6px;
  padding: 6px;
  border-radius: 8px;
  color: #4c4560;
  font-size: 7px;
  font-style: normal;
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(52, 23, 96, 0.08);
}

.event small {
  color: rgba(76, 69, 96, 0.62);
  font-weight: 700;
  font-size: 7px;
}

.event--one { top: 45px; height: 46px; background: #eadcff; }
.event--two { top: 166px; height: 42px; background: #def8de; }
.event--three { top: 75px; height: 58px; background: #f8e2ef; }
.event--four { top: 196px; height: 40px; background: #e8e0ff; }
.event--five { top: 56px; height: 66px; background: #dff8f2; }
.event--six { top: 176px; height: 50px; background: #f2e6ff; }

.dashboard__patient {
  padding: 14px 10px;
  border-left: 1px solid var(--clinessy-line);
}

.dashboard__patient button {
  width: 100%;
  min-height: 28px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--clinessy-purple), var(--clinessy-magenta));
  font-size: 9px;
  font-weight: 900;
}

.patient-card,
.patient-list {
  margin-top: 10px;
  padding: 9px;
  border: 1px solid var(--clinessy-line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.7);
}

.patient-card span,
.patient-card em,
.patient-list span {
  display: block;
  color: var(--clinessy-muted);
  font-size: 8px;
  font-style: normal;
}

.patient-card strong {
  display: block;
  margin-top: 5px;
  font-size: 17px;
}

.patient-card--money strong {
  font-size: 11px;
}

.patient-list {
  display: grid;
  gap: 7px;
}

.patient-list span {
  display: flex;
  justify-content: space-between;
}

.logo-strip {
  border-top: 0;
  border-bottom: 1px solid var(--clinessy-line);
  background: #fff;
  margin-top: -8px;
}

.section-kicker {
  text-align: center;
  color: var(--clinessy-muted);
  font-size: 11px;
  text-transform: none;
}

.section-kicker strong {
  color: var(--clinessy-purple);
}

.logo-strip__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.logo-strip__grid span {
  min-height: 38px;
  display: grid;
  place-items: center;
  border: 0;
  color: rgba(18, 16, 24, 0.36);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.section-heading {
  max-width: 680px;
  margin-bottom: 46px;
}

.section-heading--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-heading h2,
.showcase h2,
.connected h2,
.final-cta h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.05;
  letter-spacing: 0;
}

.connected {
  background: linear-gradient(180deg, #fff 0%, #fbf9ff 100%);
}

.connected__inner {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  align-items: center;
  gap: 64px;
}

.connected__copy h2 {
  max-width: 390px;
}

.connected__copy h2 span,
.hero__lead span {
  background: linear-gradient(135deg, var(--clinessy-purple), var(--clinessy-magenta));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.connected__copy p {
  max-width: 430px;
  color: var(--clinessy-muted);
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.check-list li {
  color: #554d64;
  font-size: 14px;
  font-weight: 700;
}

.check-list li::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 10px;
  vertical-align: -3px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ede2ff, #f8d9f1);
  box-shadow: inset 0 0 0 5px #fff;
}

.connected__screens {
  min-height: 430px;
  position: relative;
}

.screen {
  position: absolute;
  border: 1px solid rgba(124, 58, 237, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 24px 70px rgba(75, 45, 120, 0.12);
}

.screen span {
  display: block;
  color: var(--clinessy-muted);
  font-size: 12px;
  font-weight: 900;
}

.screen--agenda {
  left: 0;
  top: 40px;
  width: 230px;
  height: 310px;
  padding: 18px;
}

.screen--agenda i {
  display: block;
  height: 42px;
  margin-top: 14px;
  border-radius: 12px;
  background: #eadcff;
}

.screen--agenda i:nth-child(3) { background: #def8de; }
.screen--agenda i:nth-child(4) { background: #f8e2ef; }
.screen--agenda i:nth-child(5) { background: #e7f5ff; }

.screen--dash {
  left: 180px;
  top: 0;
  width: 420px;
  height: 330px;
  padding: 26px;
  z-index: 2;
}

.screen--dash strong {
  display: block;
  margin-top: 24px;
  font-size: 30px;
}

.sparkline {
  height: 128px;
  display: flex;
  align-items: end;
  gap: 12px;
  margin-top: 32px;
}

.sparkline b {
  flex: 1;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(180deg, #a855f7, #f0e6ff);
}

.sparkline b:nth-child(1) { height: 36%; }
.sparkline b:nth-child(2) { height: 58%; }
.sparkline b:nth-child(3) { height: 44%; }
.sparkline b:nth-child(4) { height: 82%; }
.sparkline b:nth-child(5) { height: 68%; }

.screen--patient {
  right: 0;
  top: 48px;
  width: 230px;
  height: 300px;
  padding: 22px;
  z-index: 3;
}

.avatar {
  width: 54px;
  height: 54px;
  margin: 24px 0 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f7c6d8, #8b5cf6);
}

.screen--patient strong,
.screen--patient em {
  display: block;
}

.screen--patient em {
  margin-top: 8px;
  color: var(--clinessy-muted);
  font-size: 12px;
  font-style: normal;
}

.modules__grid,
.pricing__grid,
.automation__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.automation__grid {
  grid-template-columns: repeat(6, 1fr);
}

.automation-card {
  min-height: 150px;
  padding: 20px;
  border: 1px solid var(--clinessy-line);
  border-radius: 16px;
  background: #fff;
}

.automation-card span {
  display: block;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  border-radius: 12px;
  background: linear-gradient(135deg, #f2e7ff, #f9dbf1);
}

.automation-card h3 {
  margin: 0 0 8px;
  font-size: 15px;
}

.automation-card p {
  margin: 0;
  color: var(--clinessy-muted);
  font-size: 12px;
}

.ai-band {
  padding: 28px 0;
  background: #fff;
}

.ai-band__inner {
  min-height: 138px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 30px 44px;
  border-radius: 18px;
  color: #fff;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 50%, rgba(255, 255, 255, 0.35), transparent 16%),
    linear-gradient(135deg, #4c1d95, #7c3aed 48%, #d946ef);
  box-shadow: 0 24px 70px rgba(124, 58, 237, 0.28);
}

.ai-band h2 {
  margin: 0 0 8px;
  font-size: clamp(28px, 3vw, 42px);
}

.ai-band p {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.ai-orb {
  width: 110px;
  height: 110px;
  flex: 0 0 auto;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, #fff, rgba(255,255,255,0.35) 18%, transparent 36%),
    radial-gradient(circle at 60% 65%, rgba(255,255,255,0.75), transparent 20%),
    linear-gradient(135deg, rgba(255,255,255,0.2), rgba(255,255,255,0.02));
  box-shadow: inset 0 0 30px rgba(255,255,255,0.2), 0 0 50px rgba(255,255,255,0.25);
}

.module-card,
.price-card {
  padding: 26px;
  border: 1px solid var(--clinessy-line);
  border-radius: 8px;
  background: #fff;
}

.module-card__mark {
  display: block;
  width: 32px;
  height: 32px;
  margin-bottom: 30px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--clinessy-purple), var(--clinessy-magenta), var(--clinessy-rose));
}

.module-card h3,
.price-card h3 {
  margin: 0 0 10px;
  font-size: 22px;
}

.module-card p,
.showcase p,
.price-card p,
.final-cta p,
.site-footer p {
  color: var(--clinessy-muted);
}

.showcase {
  overflow: hidden;
  background: #0f0d14;
  color: #fff;
}

.showcase__inner {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  align-items: center;
  gap: 70px;
}

.showcase p {
  font-size: 18px;
}

.showcase__panels {
  min-height: 420px;
  position: relative;
}

.mini-panel {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(22px);
}

.mini-panel--calendar {
  inset: 20px 120px 40px 0;
  display: grid;
  grid-template-columns: 58px 1fr auto;
  align-content: start;
  gap: 16px;
  padding: 28px;
}

.mini-panel--calendar span,
.mini-panel--calendar em,
.mini-panel--metrics span {
  color: rgba(255, 255, 255, 0.6);
  font-style: normal;
}

.mini-panel--metrics {
  right: 0;
  bottom: 0;
  width: 260px;
  padding: 28px;
}

.mini-panel--metrics strong {
  display: block;
  font-size: 54px;
  line-height: 1;
}

.bars {
  height: 92px;
  display: flex;
  align-items: end;
  gap: 10px;
  margin-top: 28px;
}

.bars i {
  flex: 1;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(180deg, #f43f5e, #7c3aed);
}

.bars i:nth-child(1) { height: 38%; }
.bars i:nth-child(2) { height: 62%; }
.bars i:nth-child(3) { height: 78%; }
.bars i:nth-child(4) { height: 100%; }

.flow__steps {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin-top: 52px;
}

.flow-step {
  min-height: 132px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px;
  border: 1px solid var(--clinessy-line);
  border-radius: 8px;
  background: linear-gradient(180deg, #fff, #fbf8ff);
}

.flow-step span {
  color: var(--clinessy-purple);
  font-size: 13px;
  font-weight: 900;
}

.flow-step strong {
  font-size: 17px;
}

.pricing {
  background: #fff;
}

.pricing .section-heading {
  margin-bottom: 30px;
}

.pricing__grid {
  grid-template-columns: repeat(4, 1fr);
}

.price-card {
  display: flex;
  flex-direction: column;
  min-height: 330px;
  position: relative;
}

.price-card--featured {
  color: var(--clinessy-ink);
  border-color: rgba(124, 58, 237, 0.45);
  background: #fff;
  box-shadow: 0 24px 70px rgba(124, 58, 237, 0.12);
}

.price-card--featured p,
.price-card--featured li {
  color: var(--clinessy-muted);
}

.price-card--soft {
  background: #faf7ff;
}

.badge {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 6px 9px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--clinessy-purple), var(--clinessy-magenta));
  font-size: 11px;
  font-weight: 900;
}

.price-card strong {
  display: block;
  margin: 18px 0;
  font-size: 24px;
}

.price-card ul {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: auto 0 0;
  list-style: none;
}

.price-card a {
  display: inline-flex;
  justify-content: center;
  margin-top: 22px;
  padding: 11px 14px;
  border-radius: 999px;
  color: var(--clinessy-purple);
  background: #f5edff;
  font-size: 13px;
  font-weight: 900;
}

.price-card--featured a {
  color: #fff;
  background: linear-gradient(135deg, var(--clinessy-purple), var(--clinessy-magenta));
}

.price-card li {
  color: var(--clinessy-muted);
}

.price-card li::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--clinessy-purple), var(--clinessy-rose));
}

.final-cta__inner {
  display: grid;
  place-items: center;
  padding: 28px 36px;
  text-align: center;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, var(--clinessy-purple), var(--clinessy-magenta), var(--clinessy-rose));
  border: 0;
}

.final-cta p {
  max-width: 560px;
  margin: 20px 0 30px;
  font-size: 18px;
}

.site-footer {
  padding: 50px 0;
  border-top: 1px solid var(--clinessy-line);
}

.site-footer__inner {
  width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 28px;
}

.footer-brand {
  display: inline-flex;
  width: 152px;
}

.footer-nav__list a {
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
  font-weight: 700;
}

.site-footer__copy {
  margin: 0;
  font-size: 14px;
}

.content-page {
  padding: 150px 0 90px;
}

.entry {
  font-size: 18px;
}

.entry h1 {
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.05;
}

.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 700ms ease, transform 700ms ease;
}

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 980px) {
  .admin-bar .site-header {
    top: 46px;
  }

  .site-header__inner {
    grid-template-columns: auto auto;
  }

  .primary-nav {
    position: fixed;
    top: 88px;
    left: 20px;
    right: 20px;
    display: none;
    padding: 20px;
    border: 1px solid var(--clinessy-line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--clinessy-shadow);
  }

  .primary-nav.is-open {
    display: block;
  }

  .primary-nav__list {
    display: grid;
    gap: 16px;
  }

  .nav-toggle {
    display: grid;
    justify-self: end;
  }

  .header-actions {
    display: none;
  }

  .hero__inner,
  .connected__inner {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .hero__copy,
  .hero__actions {
    text-align: center;
    justify-content: center;
  }

  .hero__title,
  .hero__lead,
  .hero__subtitle,
  .connected__copy h2,
  .connected__copy p {
    margin-left: auto;
    margin-right: auto;
  }

  .product-frame {
    margin-left: auto;
    margin-right: auto;
    width: min(760px, 100%);
  }

  .dashboard {
    grid-template-columns: 1fr;
  }

  .dashboard__side,
  .dashboard__patient {
    display: none;
  }

  .showcase__inner,
  .modules__grid,
  .pricing__grid,
  .automation__grid {
    grid-template-columns: 1fr;
  }

  .flow__steps,
  .logo-strip__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .connected__screens {
    min-height: auto;
    display: grid;
    gap: 16px;
  }

  .screen {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    min-height: 220px;
  }

  .ai-band__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  :root {
    --container: min(100vw - 24px, 1160px);
  }

  .section {
    padding: 76px 0;
  }

  .section--compact {
    padding: 40px 0;
  }

  .hero {
    min-height: auto;
    padding-top: 126px;
  }

  .hero__title {
    font-size: 34px;
  }

  .hero__lead {
    font-size: 31px;
  }

  .hero__subtitle {
    font-size: 13px;
  }

  .hero__actions,
  .button {
    width: 100%;
  }

  .product-frame {
    margin-top: 10px;
    transform: none;
  }

  .dashboard__main {
    padding: 16px;
  }

  .dashboard__top,
  .dashboard__stats {
    align-items: stretch;
    flex-direction: column;
  }

  .schedule-grid {
    min-width: 720px;
  }

  .dashboard__main {
    overflow-x: auto;
  }

  .logo-strip__grid,
  .flow__steps,
  .automation__grid {
    grid-template-columns: 1fr;
  }

  .connected__copy {
    text-align: center;
  }

  .check-list {
    text-align: left;
  }

  .ai-band__inner {
    padding: 28px;
  }

  .ai-orb {
    width: 76px;
    height: 76px;
  }

  .showcase__panels {
    min-height: 520px;
  }

  .mini-panel--calendar {
    inset: 0 0 140px 0;
    grid-template-columns: 48px 1fr;
  }

  .mini-panel--calendar em {
    display: none;
  }

  .mini-panel--metrics {
    width: min(260px, 82vw);
  }

  .site-header__inner {
    min-height: 58px;
    width: calc(100vw - 20px);
  }

  .brand {
    width: 148px;
  }

  .brand__official {
    width: 148px;
  }
}

.final-cta .final-cta__inner p {
  color: rgba(255, 255, 255, 0.78);
}

.site-footer,
.site-footer p,
.footer-nav__list a,
.site-footer__copy {
  color: var(--clinessy-muted);
}

/* Clinessy 1.0.6 - mockup match */
body.clinessy-ui {
  background:
    radial-gradient(circle at 50% 4%, rgba(124, 58, 237, 0.08), transparent 18%),
    #fff;
}

.site-header {
  top: 18px;
}

.site-header__inner {
  width: min(1280px, calc(100vw - 72px));
  min-height: 62px;
  padding: 12px 18px;
  border-color: rgba(124, 58, 237, 0.08);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 60px rgba(73, 45, 118, 0.08);
}

.brand,
.brand__official {
  width: 164px;
}

.brand__mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
}

.brand__wordmark {
  width: 116px;
}

.hero {
  min-height: 760px;
  padding-top: 156px;
  padding-bottom: 96px;
  background:
    radial-gradient(circle at 58% -8%, rgba(124, 58, 237, 0.15), transparent 30%),
    radial-gradient(circle at 92% 20%, rgba(217, 70, 239, 0.1), transparent 28%),
    linear-gradient(180deg, #fbfaff 0%, #ffffff 78%);
}

.hero__inner {
  grid-template-columns: minmax(380px, 0.82fr) minmax(680px, 1.18fr);
  gap: 72px;
}

.hero-pill {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 28px;
  padding: 9px 16px;
  border: 1px solid rgba(124, 58, 237, 0.12);
  border-radius: 999px;
  color: #554d64;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 34px rgba(82, 45, 140, 0.08);
  font-size: 13px;
  font-weight: 700;
}

.hero-pill span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--clinessy-purple), var(--clinessy-magenta));
}

.hero__title {
  max-width: 560px;
  font-size: clamp(52px, 5vw, 82px);
  line-height: 1.02;
}

.hero__lead {
  max-width: 560px;
  margin-top: 28px;
  font-size: clamp(42px, 4.3vw, 66px);
  font-weight: 600;
  line-height: 1.02;
  background: linear-gradient(135deg, var(--clinessy-purple), var(--clinessy-magenta));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lead span {
  color: transparent;
}

.hero__subtitle {
  max-width: 470px;
  margin-top: 24px;
  font-size: 17px;
  line-height: 1.55;
}

.hero__actions {
  gap: 18px;
  margin-top: 34px;
}

.header-cta,
.button {
  min-height: 48px;
  padding: 0 24px;
  font-size: 14px;
  font-weight: 800;
}

.button--ghost {
  background: #fff;
}

.hero__visual {
  align-items: center;
}

.product-frame {
  width: min(830px, 100%);
  border-radius: 22px;
  box-shadow: 0 38px 110px rgba(82, 45, 140, 0.2);
  transform: rotate(-2deg) translateY(6px);
}

.dashboard {
  min-height: 520px;
  grid-template-columns: 150px 1fr 160px;
}

.dashboard__side {
  padding: 26px 18px;
}

.dashboard__side strong {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 26px;
  font-size: 13px;
}

.dashboard-logo-mark {
  width: 22px;
  height: 22px;
  border-radius: 7px;
}

.dashboard__side nav {
  gap: 9px;
}

.dashboard__side span {
  padding: 10px 12px;
  border-radius: 9px;
  font-size: 12px;
}

.dashboard__main {
  padding: 26px 22px;
}

.dashboard__top strong {
  font-size: 18px;
}

.dashboard__top span {
  font-size: 12px;
}

.dashboard-tools span {
  padding: 6px 10px;
  font-size: 11px;
}

.schedule-grid {
  min-height: 420px;
  grid-template-columns: 54px repeat(3, 1fr);
  gap: 10px;
  margin-top: 22px;
}

.schedule-grid__times {
  font-size: 10px;
}

.schedule-column {
  padding: 0 10px;
  border-radius: 16px;
}

.schedule-column strong {
  font-size: 12px;
}

.event {
  left: 10px;
  right: 10px;
  padding: 10px;
  border-radius: 13px;
  font-size: 11px;
}

.event small {
  font-size: 10px;
}

.event--one { top: 66px; height: 78px; }
.event--two { top: 254px; height: 70px; }
.event--three { top: 118px; height: 92px; }
.event--four { top: 306px; height: 66px; }
.event--five { top: 86px; height: 112px; }
.event--six { top: 278px; height: 84px; }

.dashboard__patient {
  padding: 26px 18px;
}

.dashboard__patient button {
  min-height: 40px;
  font-size: 12px;
}

.patient-card,
.patient-list {
  margin-top: 18px;
  padding: 16px;
  border-radius: 16px;
}

.patient-card span,
.patient-card em,
.patient-list span {
  font-size: 11px;
}

.patient-card strong {
  font-size: 30px;
}

.patient-card--money strong {
  font-size: 17px;
}

.logo-strip {
  padding-top: 50px;
  padding-bottom: 88px;
  border-bottom: 0;
}

.section-kicker {
  font-size: 12px;
  letter-spacing: 0;
}

.logo-strip__grid {
  margin-top: 44px;
}

.logo-strip__grid span {
  min-height: 56px;
  color: rgba(18, 16, 24, 0.34);
  font-size: 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  text-align: center;
  text-transform: uppercase;
}

.connected {
  padding-top: 132px;
  padding-bottom: 132px;
  background: #fff;
}

.connected__inner {
  grid-template-columns: 0.82fr 1.18fr;
  gap: 80px;
}

.connected__copy h2 {
  max-width: 500px;
  font-size: clamp(48px, 4.9vw, 76px);
}

.connected__copy p {
  max-width: 460px;
  margin-top: 28px;
  font-size: 16px;
  line-height: 1.65;
}

.check-list {
  gap: 16px;
  margin-top: 36px;
}

.check-list li {
  font-size: 15px;
}

.connected__screens {
  min-height: 520px;
}

.screen {
  border-radius: 18px;
  box-shadow: 0 28px 80px rgba(75, 45, 120, 0.13);
}

.screen--agenda {
  top: 86px;
  width: 230px;
  height: 355px;
}

.screen--dash {
  left: 220px;
  width: 430px;
  height: 420px;
}

.screen--patient {
  width: 240px;
  height: 360px;
}

.screen a {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 18px;
  display: block;
  padding: 12px;
  border-radius: 12px;
  color: var(--clinessy-purple);
  background: #faf7ff;
  font-size: 12px;
  font-weight: 900;
  text-align: center;
}

.screen--dash em {
  display: block;
  margin-top: 8px;
  color: #16a34a;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 22px;
}

.metric-row small {
  padding: 14px 10px;
  border: 1px solid var(--clinessy-line);
  border-radius: 12px;
  color: var(--clinessy-muted);
  font-size: 10px;
}

.metric-row b {
  display: block;
  margin-top: 6px;
  color: var(--clinessy-ink);
  font-size: 15px;
}

.patient-actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.patient-actions i {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: #faf7ff;
}

.automation {
  padding-top: 70px;
  padding-bottom: 72px;
}

.automation__grid {
  gap: 20px;
}

.automation-card {
  min-height: 250px;
  padding: 28px 24px;
  border-radius: 18px;
  box-shadow: 0 18px 48px rgba(82, 45, 140, 0.06);
}

.automation-card span {
  width: 58px;
  height: 58px;
  border-radius: 50%;
}

.automation-card h3 {
  font-size: 18px;
  line-height: 1.2;
}

.automation-card p {
  font-size: 13px;
  line-height: 1.55;
}

.ai-band {
  padding: 40px 0 88px;
}

.ai-band__inner {
  min-height: 260px;
  padding: 56px 70px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 82% 42%, rgba(255, 255, 255, 0.32), transparent 12%),
    radial-gradient(circle at 72% 60%, rgba(255, 255, 255, 0.18), transparent 24%),
    linear-gradient(135deg, #30137f 0%, #6d28d9 48%, #ec4899 100%);
}

.ai-band h2 {
  max-width: 640px;
  font-size: clamp(38px, 4.1vw, 62px);
  line-height: 1.08;
}

.ai-band p {
  max-width: 680px;
  font-size: 16px;
}

.ai-band__logo {
  width: 138px;
  height: 138px;
  border-radius: 32px;
  object-fit: cover;
  box-shadow: 0 0 70px rgba(255, 255, 255, 0.36);
}

.pricing {
  padding-top: 80px;
}

.pricing__grid {
  gap: 24px;
}

.price-card {
  min-height: 410px;
  padding: 36px 32px;
  border-radius: 18px;
  box-shadow: 0 18px 54px rgba(82, 45, 140, 0.08);
}

.price-card h3 {
  font-size: 24px;
}

.price-card strong {
  margin: 28px 0;
  font-size: 34px;
}

.price-card ul {
  gap: 16px;
}

.price-card a {
  padding: 14px 18px;
}

.pricing-note {
  margin: 34px 0 0;
  color: var(--clinessy-muted);
  text-align: center;
  font-weight: 700;
}

.final-cta {
  padding-top: 38px;
}

.final-cta__inner {
  grid-template-columns: 1fr auto;
  justify-items: start;
  padding: 48px 70px;
  border-radius: 28px;
  text-align: left;
}

.final-cta__inner span {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  color: #5b21b6;
  background: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  font-weight: 900;
}

.final-cta h2 {
  margin-top: 14px;
  font-size: clamp(36px, 4.4vw, 64px);
}

.final-cta .button {
  color: var(--clinessy-purple);
  background: #fff;
  box-shadow: 0 18px 44px rgba(63, 20, 105, 0.18);
}

@media (max-width: 1180px) {
  .hero__inner,
  .connected__inner {
    grid-template-columns: 1fr;
  }

  .hero__copy,
  .hero__actions {
    text-align: center;
    justify-content: center;
  }

  .hero-pill,
  .hero__title,
  .hero__lead,
  .hero__subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__visual {
    justify-content: center;
  }

  .connected__copy {
    text-align: center;
  }

  .check-list {
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
  }
}

@media (max-width: 760px) {
  .site-header__inner {
    width: calc(100vw - 24px);
  }

  .hero {
    padding-top: 124px;
  }

  .hero__title {
    font-size: 42px;
  }

  .hero__lead {
    font-size: 34px;
  }

  .dashboard {
    grid-template-columns: 1fr;
  }

  .dashboard__side,
  .dashboard__patient {
    display: none;
  }

  .connected__screens {
    display: grid;
    gap: 18px;
    min-height: auto;
  }

  .screen {
    position: relative;
    inset: auto;
    width: 100%;
    height: 320px;
  }

  .automation__grid,
  .pricing__grid,
  .logo-strip__grid {
    grid-template-columns: 1fr;
  }

  .ai-band__inner,
  .final-cta__inner {
    grid-template-columns: 1fr;
    padding: 34px 26px;
  }
}
