@font-face {
  font-family: Alexandria;
  src: url("../fonts/alexandria/400.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Alexandria;
  src: url("../fonts/alexandria/500.ttf") format("truetype");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: Alexandria;
  src: url("../fonts/alexandria/600.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: Alexandria;
  src: url("../fonts/alexandria/700.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}
:root {
  --ink: #172033;
  --muted: #687389;
  --primary: #635bff;
  --purple: #7c3aed;
  --blue: #3b82f6;
  --line: #e6e8f2;
  --wash: #f7f8fc;
  --gradient: linear-gradient(125deg, #6366f1 0%, #7c3aed 48%, #3b82f6 100%);
  --shadow: 0 12px 45px #2831640a, 0 2px 7px #28316405;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  font-family: Alexandria, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink);
  background: white;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
h1,
h2,
h3 {
  font-weight: 600;
  line-height: 1.55;
  text-wrap: balance;
}
h2 {
  font-size: clamp(28px, 3vw, 39px);
  letter-spacing: -1.2px;
  white-space: pre-line;
}
h3 {
  font-size: 20px;
  letter-spacing: -0.45px;
}
p {
  color: var(--muted);
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  cursor: pointer;
}
button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}
a:hover {
  color: var(--primary);
}
img {
  display: block;
  max-width: 100%;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 5px;
}
[hidden] {
  display: none !important;
}
.icon {
  width: 21px;
  height: 21px;
  flex-shrink: 0;
  vertical-align: middle;
}
.container {
  width: min(1200px, calc(100% - 64px));
  margin-inline: auto;
}
.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #ffffffed;
  border-bottom: 1px solid #eeeef5;
  backdrop-filter: blur(18px);
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  min-height: 86px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  direction: ltr;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -1.2px;
}
.brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}
[dir="rtl"] .brand {
  direction: rtl;
}
.header nav {
  display: flex;
  gap: 28px;
  font-size: 12px;
  color: #545c70;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 12px;
}
.language {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 0;
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 11px;
}
.language .icon {
  width: 17px;
}
.login {
  font-weight: 500;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 14px 23px;
  font-size: 14px;
  font-weight: 500;
  min-height: 52px;
  white-space: nowrap;
  transition:
    transform 0.2s,
    box-shadow 0.2s,
    background 0.2s;
}
.button:hover {
  transform: translateY(-2px);
}
.primary {
  color: white;
  background: var(--gradient);
  box-shadow:
    0 5px 14px #6859ed35,
    inset 0 1px 0 #ffffff35;
}
.primary:hover {
  color: white;
  box-shadow: 0 7px 24px #6859ed50;
}
.secondary {
  border-color: #dedfeb;
  background: white;
  box-shadow: 0 3px 5px #16194204;
}
.compact {
  font-size: 12px;
  min-height: 40px;
  padding: 9px 17px;
}
.actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
}
.button .icon {
  width: 18px;
  height: 18px;
}
[dir="rtl"] .button .icon:last-child,
[dir="rtl"] .text-link .icon {
  transform: rotate(180deg);
}
.gradient-text {
  display: block;
  background: var(--gradient);
  color: var(--primary);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.product-stage {
  position: relative;
  margin-top: 38px;
  max-width: 1140px;
}
.preview-switcher {
  display: flex;
  justify-content: center;
  gap: 5px;
  margin-bottom: 21px;
}
.preview-switcher button {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid transparent;
  padding: 9px 16px;
  border-radius: 9px;
  background: transparent;
  color: #71748b;
  font-size: 12px;
  transition: background 0.2s;
}
.preview-switcher .icon {
  width: 17px;
  height: 17px;
}
.preview-switcher button[aria-pressed="true"] {
  color: #6251dc;
  border-color: #ddd8fb;
  background: #fff;
  box-shadow: 0 4px 10px #4f36ac08;
}
.product-shell {
  border-radius: 18px;
  background: var(--gradient);
  padding: 5px;
  box-shadow:
    0 30px 75px -25px #5843c960,
    0 0 0 1px #fff9;
  position: relative;
}
.browser-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  background: #fdfdff;
  height: 40px;
  border-radius: 13px 13px 0 0;
  padding: 0 16px;
  font-size: 9px;
  color: #8990a1;
  direction: ltr;
}
.browser-bar > span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.browser-bar .icon {
  width: 12px;
  height: 12px;
}
.window-dots {
  display: flex;
  gap: 5px;
}
.window-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d6d6e6;
}
.demo-label {
  font-size: 8px;
}
.app-window {
  display: flex;
  border-radius: 0 0 13px 13px;
  overflow: hidden;
  background: #f0f1f7;
  height: 570px;
}
.app-sidebar {
  width: 175px;
  background: #fff;
  border-inline-end: 1px solid var(--line);
  flex-shrink: 0;
  padding: 22px 13px 12px;
  display: flex;
  flex-direction: column;
  font-size: 10px;
}
.app-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-bottom: 31px;
}
.app-brand strong {
  font-size: 11px;
  font-weight: 500;
}
.app-sidebar > small {
  font-size: 8px;
  color: #adb0c0;
  margin-inline: 10px;
  margin-bottom: 8px;
}
.sidebar-item {
  display: flex;
  gap: 9px;
  align-items: center;
  color: #8b92a5;
  padding: 11px 12px;
  margin-bottom: 4px;
  border-radius: 8px;
}
.sidebar-item .icon {
  width: 16px;
  height: 16px;
}
.sidebar-item.selected {
  background: #6860f6;
  color: white;
  box-shadow: 0 4px 12px #655dea20;
}
.sidebar-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 4px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.avatar {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eeeaff;
  color: #7260e7;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 600;
  flex-shrink: 0;
}
.avatar .icon {
  width: 19px;
  height: 19px;
}
.app-main {
  flex: 1;
  min-width: 0;
}
.app-toolbar {
  height: 52px;
  background: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 22px;
  border-bottom: 1px solid #ececf6;
}
.mock-search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f4f4f9;
  color: #9298aa;
  font-size: 9px;
  border-radius: 6px;
  width: 52%;
  padding: 6px 10px;
}
.mock-search .icon {
  width: 13px;
  height: 13px;
}
.mock-search kbd {
  margin-inline-start: auto;
  font: 8px Arial;
  background: white;
  padding: 2px 4px;
}
.toolbar-tools {
  display: flex;
  align-items: center;
  gap: 15px;
  color: #8a90a6;
}
.toolbar-tools > .icon {
  width: 16px;
}
.preview-panel {
  padding: 20px 24px;
}
.preview-panel.preview-enter {
  animation: preview-enter 480ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes preview-enter {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.995);
    filter: blur(2px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}
.app-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.app-heading h3 {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0;
}
.app-heading p {
  font-size: 9px;
  margin-top: 3px;
}
.date-label {
  display: flex;
  gap: 6px;
  align-items: center;
  border: 1px solid #e3e5f0;
  background: white;
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 9px;
  color: var(--muted);
}
.date-label .icon {
  width: 13px;
  height: 13px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}
.stat {
  display: flex;
  gap: 9px;
  align-items: center;
  padding: 15px 12px;
  background: white;
  border-radius: 10px;
  border: 1px solid #ececf5;
  box-shadow: 0 3px 5px #25244a04;
}
.stat small {
  display: block;
  font-size: 8px;
  color: #9095a8;
}
.stat strong {
  display: block;
  font-size: 21px;
  font-weight: 600;
  line-height: 1.4;
}
.stat-icon {
  padding: 9px;
  border-radius: 9px;
}
.stat-icon .icon {
  width: 17px;
  height: 17px;
}
.blue {
  background: #eaf1ff;
  color: #3b82f6;
}
.violet {
  background: #efecff;
  color: #6550bd;
}
.orange {
  background: #fff3e2;
  color: #936016;
}
.green {
  background: #e7f7f0;
  color: #08765b;
}
.dashboard-grid {
  display: grid;
  grid-template-columns: 1.9fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.app-card {
  background: white;
  border: 1px solid #e8eaf4;
  border-radius: 11px;
  padding: 16px;
  box-shadow: 0 3px 6px #21235504;
}
.app-card strong {
  font-size: 10px;
  font-weight: 500;
}
.card-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 10px;
}
.status {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  border-radius: 5px;
  padding: 3px 7px;
  font-size: 9px;
  font-weight: 400;
}
.chart-value {
  font-size: 9px;
  color: var(--muted);
  margin-top: 7px;
}
.chart-value b {
  font-size: 22px;
  color: var(--ink);
  font-weight: 600;
}
.revenue-graph {
  width: 100%;
  height: 125px;
  display: block;
  margin-top: 4px;
}
.chart-days {
  display: flex;
  justify-content: space-between;
  color: #a0a5b4;
  font-size: 8px;
  direction: ltr;
}
.services-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.services-card > strong {
  align-self: stretch;
}
.donut {
  width: 119px;
  height: 119px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(#6e60f6 0% 45%, #4393ff 45% 78%, #f6ad47 78% 100%);
  transform: rotate(-45deg);
}
.donut > span {
  border-radius: 50%;
  width: 86px;
  height: 86px;
  background: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: rotate(45deg);
  font-size: 25px;
  line-height: 1.4;
}
.donut small {
  font-size: 9px;
  color: var(--muted);
}
.legend {
  display: flex;
  gap: 8px;
  font-size: 7px;
  color: #8b90a2;
}
.legend > span:before {
  content: "";
  width: 5px;
  height: 5px;
  display: inline-block;
  background: var(--primary);
  border-radius: 50%;
  margin-inline-end: 3px;
}
.legend > span:nth-child(2):before {
  background: #4393ff;
}
.legend > span:nth-child(3):before {
  background: #f6ad47;
}
.visits {
  padding-block: 12px;
}
.visits .card-heading > span {
  font-size: 9px;
  color: var(--muted);
}
.visit-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid #eceef5;
  font-size: 10px;
}
.visit-row:last-child {
  border-bottom: 0;
}
.visit-row > div {
  flex: 1;
}
.visit-row strong {
  display: block;
  font-size: 10px;
  font-weight: 500;
}
.visit-row small {
  display: block;
  font-size: 8px;
  color: #8e95a9;
}
.time {
  font-size: 10px;
  color: #7f849a;
  direction: ltr;
}
.preview-caption {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 10px;
  margin: 19px auto 0;
  padding-bottom: 20px;
  color: #72768c;
}
.preview-caption .icon {
  width: 15px;
  height: 15px;
}
.benefit-strip {
  display: flex;
  justify-content: space-around;
  gap: 25px;
  padding-block: 32px;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  color: #686b85;
}
.benefit-strip > div {
  display: flex;
  align-items: center;
  gap: 10px;
}
.benefit-strip .icon {
  width: 18px;
  color: #8277c2;
}
.section {
  padding-block: 90px;
}
.section-heading {
  margin-bottom: 40px;
}
.centered {
  text-align: center;
  max-width: 750px;
  margin-inline: auto;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0;
  color: #7361d9;
  margin-bottom: 16px;
}
.eyebrow .icon {
  width: 17px;
  height: 17px;
}
.centered .eyebrow {
  justify-content: center;
}
.section-heading p {
  font-size: 14px;
  margin-top: 17px;
}
.bento-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 22px;
}
.bento {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--wash);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}
.bento-copy {
  padding: 32px 34px 20px;
}
.bento-copy h3 {
  margin-block: 15px 10px;
}
.bento-copy p {
  font-size: 13px;
  line-height: 1.95;
  max-width: 460px;
}
.feature-icon {
  width: 39px;
  height: 39px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #ffffff80;
  box-shadow: 0 2px 5px #40378504;
}
.feature-icon .icon {
  width: 21px;
  height: 21px;
}
.dental-bento {
  background:
    radial-gradient(ellipse at 50% 100%, #e9e5ff, transparent 70%), #faf9ff;
}
.dental-card {
  background: white;
  box-shadow: 0 10px 40px #6a52a212;
  border: 1px solid #e9e5f5;
  border-radius: 14px 14px 0 0;
  width: 78%;
  padding: 15px 20px 0;
  margin: 10px auto 0;
}
.dental-visual {
  position: relative;
  max-width: 380px;
  margin: auto;
}
.dental-visual > svg {
  display: block;
  width: 100%;
  height: 240px;
}
.tooth-note {
  position: absolute;
  bottom: 19px;
  left: 50%;
  transform: translateX(-50%);
  padding: 7px 11px;
  background: #fff;
  border: 1px solid #e2def5;
  border-radius: 7px;
  box-shadow: 0 4px 12px #55507010;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 9px;
  color: #6654bd;
}
.tooth-note .icon {
  width: 13px;
  height: 13px;
  color: #15a17b;
}
.appointments-bento {
  background:
    radial-gradient(ellipse at 50% 100%, #e7ecff, transparent 80%), #f8faff;
}
.mini-schedule {
  width: 84%;
  background: white;
  border: 1px solid #e5e9f6;
  border-radius: 12px;
  padding: 18px 22px;
  margin: 15px auto 33px;
  box-shadow: var(--shadow);
}
.schedule-date {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  padding-bottom: 10px;
  color: #525d7c;
}
.schedule-date .icon {
  width: 16px;
  height: 16px;
  color: var(--primary);
}
.mini-schedule .visit-row {
  padding-block: 16px;
}
.mini-schedule .visit-row strong {
  font-size: 11px;
}
.mini-schedule .visit-row small {
  font-size: 9px;
}
.invoice-bento,
.patient-bento {
  min-height: 390px;
}
.invoice-bento {
  background: #f7fafb;
}
.invoice-slip {
  padding: 18px 22px 0;
  border: 1px solid #e3e9eb;
  border-radius: 12px 12px 0 0;
  width: 76%;
  margin: auto auto 0;
  background: white;
  box-shadow: var(--shadow);
}
.invoice-slip > div {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}
.invoice-slip .card-heading {
  font-size: 9px;
}
.invoice-slip .remaining {
  color: #168668;
  background: #f0faf6;
  margin: 8px -10px 0;
  padding: 12px 10px;
}
.remaining b {
  font-size: 17px;
}
.remaining small {
  font-size: 9px;
}
.patient-bento {
  background: #faf9fd;
}
.mini-record {
  background: #fff;
  border: 1px solid #e9e6f4;
  border-radius: 12px 12px 0 0;
  padding: 18px 20px;
  width: 84%;
  margin: 15px auto 0;
  box-shadow: var(--shadow);
}
.patient-mini {
  display: flex;
  align-items: center;
  gap: 12px;
}
.patient-mini strong {
  display: block;
  font-size: 12px;
  font-weight: 500;
}
.patient-mini small {
  display: block;
  font-size: 9px;
  color: var(--muted);
}
.patient-mini > .status {
  margin-inline-start: auto;
}
.record-tags {
  display: flex;
  gap: 12px;
  font-size: 9px;
  border-bottom: 1px solid var(--line);
  margin-top: 18px;
  color: #9799ab;
}
.record-tags > span {
  padding: 8px 0;
}
.record-tags > span:first-child {
  color: var(--primary);
  border-bottom: 2px solid var(--primary);
}
.record-line {
  height: 9px;
  background: #f0f1f7;
  border-radius: 2px;
  width: 90%;
  margin-top: 17px;
}
.record-line.short {
  width: 65%;
  margin-top: 9px;
}
.care-section {
  padding-block: 80px;
  background: #fafaff;
  border-block: 1px solid #eeedf7;
}
.care-grid {
  display: grid;
  grid-template-columns: 0.95fr 1fr;
  gap: 85px;
  align-items: center;
}
.care-image {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  height: 630px;
}
.care-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
}
.care-image:after {
  content: "";
  position: absolute;
  inset: 50% 0 0;
  background: linear-gradient(transparent, #21173ccb);
}
.care-caption {
  position: absolute;
  bottom: 33px;
  inset-inline: 32px;
  z-index: 1;
  color: white;
  font-size: 27px;
  font-weight: 500;
  line-height: 1.6;
  white-space: pre-line;
}
.care-copy > p {
  margin-top: 20px;
  font-size: 14px;
}
.steps {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 30px 0;
}
.steps li {
  display: flex;
  gap: 18px;
  counter-increment: step;
  position: relative;
  padding-bottom: 27px;
}
.steps li:last-child {
  padding-bottom: 0;
}
.steps li:before {
  content: counter(step, decimal-leading-zero);
  font-size: 11px;
  color: var(--primary);
  background: white;
  border: 1px solid #e3def5;
  border-radius: 50%;
  height: 32px;
  width: 32px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  z-index: 1;
}
.steps li:not(:last-child):after {
  content: "";
  position: absolute;
  inset-inline-start: 15px;
  top: 32px;
  bottom: 0;
  border-inline-start: 1px dashed #d9d4ec;
}
.steps h3 {
  font-size: 15px;
  letter-spacing: 0;
}
.steps p {
  font-size: 12px;
  margin-top: 6px;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  color: #6551db;
}
.text-link .icon {
  width: 17px;
}
.heading-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 60px;
}
.heading-row > p {
  max-width: 340px;
  font-size: 13px;
  margin-bottom: 7px;
}
.operations-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
}
.report-feature {
  border: 1px solid #e7e5f5;
  border-radius: 20px;
  background: linear-gradient(160deg, #faf9ff, #f0edff);
  padding: 30px 35px 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.report-feature p {
  font-size: 13px;
  margin-top: 12px;
}
.report-art {
  padding: 20px 25px 0;
  margin: 25px 0 0;
  background: white;
  border-radius: 12px 12px 0 0;
  box-shadow: var(--shadow);
}
.report-bars {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  height: 140px;
  border-bottom: 1px solid var(--line);
  background: repeating-linear-gradient(
    to top,
    transparent 0,
    transparent 44px,
    #f1f2f8 44px,
    #f1f2f8 45px
  );
  direction: ltr;
}
.report-bars i {
  height: var(--bar);
  flex: 1;
  border-radius: 5px 5px 0 0;
  background: linear-gradient(#7165f6, #d6d1ff);
}
.report-bars i:nth-child(even) {
  background: linear-gradient(#aba1ff, #eeebff);
}
.report-art-caption {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  padding: 15px 0;
  color: #7c729f;
}
.report-art-caption .icon {
  width: 16px;
}
.operations-list {
  display: grid;
  gap: 25px;
  align-content: center;
}
.operations-list article {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}
.operations-list h3 {
  font-size: 17px;
}
.operations-list p {
  font-size: 12px;
  margin-top: 8px;
  max-width: 400px;
}
.availability {
  font-size: 10px;
  text-align: center;
  margin-top: 25px;
  color: #81879a;
}
.subscription {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 26px;
  background: linear-gradient(120deg, #5145df 0%, #743bf0 52%, #3564eb 100%);
  padding: 54px 30px;
  text-align: center;
  color: white;
  box-shadow: 0 15px 35px #5f42d320;
}
.cta-orbit {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: repeating-radial-gradient(
    circle at 50% 120%,
    transparent 0,
    transparent 79px,
    #ffffff0a 80px,
    #ffffff0a 81px
  );
}
.cta-logo {
  margin: 0 auto 14px;
  filter: drop-shadow(0 6px 9px #3120aa50);
}
.subscription h2 {
  font-size: 38px;
}
.subscription p {
  max-width: 660px;
  margin: 20px auto 26px;
  color: #e2dcff;
  font-size: 13px;
}
.subscription .primary {
  background: white;
  color: #6650d9;
  box-shadow: 0 6px 18px #24117130;
}
.glass {
  border-color: #ffffff55;
  background: #ffffff0d;
  color: white;
}
.glass:hover {
  background: #ffffff24;
  color: white;
}
.subscription small {
  display: block;
  font-size: 10px;
  color: #d2c9ff;
  margin-top: 18px;
}
.faq {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 90px;
}
.faq h2 {
  font-size: 32px;
}
.faq > div > p {
  font-size: 13px;
  margin: 17px 0 20px;
  max-width: 320px;
}
details {
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
details:first-child {
  padding-top: 0;
}
summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}
summary::-webkit-details-marker {
  display: none;
}
summary .icon {
  width: 17px;
  height: 17px;
  color: #8c8eaa;
}
details[open] summary .icon {
  transform: rotate(45deg);
}
details p {
  margin-top: 15px;
  font-size: 12px;
  line-height: 2;
}
.footer {
  border-top: 1px solid var(--line);
  background: #fafaff;
  padding-top: 42px;
}
.footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding-bottom: 38px;
}
.footer-main p {
  font-size: 11px;
  margin-top: 13px;
}
.footer-links {
  display: flex;
  gap: 26px;
  font-size: 11px;
  color: #747991;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding-block: 20px;
  font-size: 9px;
  color: #9397a9;
}
.footer-bottom a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.skip {
  position: fixed;
  top: -100px;
  inset-inline-start: 20px;
  background: white;
  padding: 10px;
  z-index: 30;
}
.skip:focus {
  top: 10px;
}
/* Alternate product views share the same frame and sample data. */
.week-calendar {
  height: 390px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  display: flex;
  overflow: hidden;
}
.calendar-times {
  padding: 49px 9px 0;
  width: 55px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  font-size: 9px;
  color: #9298af;
  direction: ltr;
}
.calendar-day {
  flex: 1;
  min-width: 0;
  position: relative;
  border-inline-start: 1px solid var(--line);
  background: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 77px,
    #eceef7 77px,
    #eceef7 78px
  );
}
.calendar-day > strong {
  display: block;
  text-align: center;
  padding: 12px 0;
  font-size: 10px;
  font-weight: 500;
  background: #fafaff;
  border-bottom: 1px solid var(--line);
}
.calendar-event {
  position: absolute;
  top: var(--start);
  inset-inline: 7px;
  border-radius: 5px;
  border-inline-start: 3px solid currentColor;
  padding: 10px;
  font-size: 9px;
  line-height: 1.8;
  min-height: 75px;
}
.calendar-event small {
  display: block;
  font-size: 8px;
}
.patient-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 16px;
  margin-top: 18px;
}
.preview-panel > .patient-mini {
  background: white;
  padding: 13px 18px;
  border-radius: 9px;
  border: 1px solid var(--line);
}
.patient-grid .dental-visual > svg {
  height: 255px;
}
.history-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.history-dot {
  width: 7px;
  height: 7px;
  flex-shrink: 0;
  background: #a190f1;
  border-radius: 50%;
}
.history-item strong {
  font-size: 9px;
}
.history-item small {
  display: block;
  font-size: 8px;
  color: #9198ac;
  margin-top: 3px;
}
.history-item .icon {
  width: 13px;
  color: #27a281;
  margin-inline-start: auto;
}
.account-note {
  display: flex;
  gap: 7px;
  padding: 14px 0;
  font-size: 8px;
  color: #8482a0;
}
.account-note .icon {
  width: 14px;
  height: 14px;
}
@media (min-width: 1600px) {
  .product-stage {
    margin-top: 46px;
  }
}
@media (max-width: 1050px) {
  .header nav {
    gap: 18px;
  }
  .header-actions {
    gap: 14px;
  }
  .header-actions .compact {
    display: none;
  }
  .app-sidebar {
    width: 145px;
    padding-inline: 9px;
  }
  .preview-panel {
    padding: 18px;
  }
  .stats-grid {
    gap: 8px;
  }
  .stat {
    padding: 12px 8px;
    gap: 6px;
  }
  .stat-icon {
    padding: 6px;
  }
  .stat small {
    font-size: 7px;
  }
  .stat strong {
    font-size: 18px;
  }
  .care-grid {
    gap: 45px;
  }
  .bento-copy {
    padding: 25px;
  }
  .care-image {
    height: 610px;
  }
  .operations-grid {
    gap: 30px;
  }
  .heading-row {
    gap: 30px;
  }
  .faq {
    gap: 50px;
  }
}
@media (max-width: 760px) {
  .container {
    width: calc(100% - 36px);
  }
  .brand img {
    width: 34px;
    height: 34px;
  }
  .button {
    font-size: 11px;
    min-height: 47px;
    padding: 11px 17px;
    gap: 9px;
  }
  .button .icon {
    width: 16px;
  }
  .product-stage {
    margin-top: 28px;
  }
  .preview-switcher {
    gap: 3px;
    margin-bottom: 16px;
  }
  .preview-switcher button {
    padding: 8px 11px;
    font-size: 10px;
    gap: 6px;
  }
  .preview-switcher .icon {
    width: 14px;
    height: 14px;
  }
  .product-shell {
    padding: 3px;
    border-radius: 12px;
  }
  .browser-bar {
    padding-inline: 10px;
    border-radius: 9px 9px 0 0;
    height: 32px;
    font-size: 8px;
  }
  .browser-bar .demo-label {
    display: none;
  }
  .app-window {
    height: 600px;
    border-radius: 0 0 9px 9px;
  }
  .app-sidebar {
    display: none;
  }
  .app-toolbar {
    height: 42px;
    padding-inline: 14px;
  }
  .mock-search {
    width: 65%;
    font-size: 8px;
  }
  .app-heading h3 {
    font-size: 15px;
  }
  .app-heading p {
    font-size: 8px;
  }
  .preview-panel {
    padding: 16px 13px;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-bottom: 12px;
  }
  .stat {
    padding: 10px;
  }
  .stat small {
    font-size: 8px;
  }
  .stat strong {
    font-size: 20px;
  }
  .stat-icon {
    padding: 8px;
  }
  .dashboard-grid {
    grid-template-columns: 1.5fr 1fr;
    gap: 8px;
    margin-bottom: 12px;
  }
  .app-card {
    padding: 12px 10px;
  }
  .app-card strong {
    font-size: 9px;
  }
  .card-heading {
    font-size: 9px;
    gap: 5px;
  }
  .status {
    font-size: 8px;
    padding: 3px 5px;
  }
  .chart-card .status {
    font-size: 7px;
  }
  .revenue-graph {
    height: 115px;
  }
  .chart-value b {
    font-size: 19px;
  }
  .services-card {
    gap: 13px;
  }
  .donut {
    width: 89px;
    height: 89px;
    margin-top: 8px;
  }
  .donut > span {
    width: 64px;
    height: 64px;
    font-size: 21px;
  }
  .donut small {
    font-size: 7px;
  }
  .legend {
    flex-wrap: wrap;
    justify-content: center;
    font-size: 6px;
    gap: 4px;
  }
  .visits {
    padding-block: 10px;
  }
  .visit-row {
    padding-block: 10px;
    gap: 10px;
  }
  .preview-caption {
    font-size: 8px;
    gap: 6px;
    margin-top: 15px;
    padding-bottom: 8px;
    text-align: center;
  }
  .preview-caption .icon {
    display: none;
  }
  .benefit-strip {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px 25px;
    padding-block: 27px;
    font-size: 9px;
  }
  .benefit-strip .icon {
    width: 16px;
  }
  .section {
    padding-block: 57px;
  }
  h2 {
    font-size: 28px;
    letter-spacing: -0.75px;
  }
  .section-heading {
    margin-bottom: 28px;
  }
  .section-heading p {
    font-size: 12px;
    margin-top: 13px;
  }
  .eyebrow {
    font-size: 10px;
    margin-bottom: 12px;
  }
  .bento-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .bento-copy {
    padding: 25px 25px 18px;
  }
  .bento h3 {
    font-size: 19px;
  }
  .bento-copy p {
    font-size: 12px;
  }
  .bento {
    border-radius: 17px;
  }
  .dental-card {
    width: 82%;
    margin-top: 5px;
  }
  .dental-visual > svg {
    height: 230px;
  }
  .invoice-bento,
  .patient-bento {
    min-height: 370px;
  }
  .care-section {
    padding-block: 50px;
  }
  .care-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .care-copy {
    order: -1;
  }
  .care-image {
    height: 430px;
  }
  .care-copy > p {
    font-size: 12px;
  }
  .care-caption {
    font-size: 25px;
    bottom: 25px;
    inset-inline: 25px;
  }
  .steps {
    margin-block: 25px;
  }
  .heading-row {
    display: block;
  }
  .heading-row > p {
    max-width: none;
  }
  .operations-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .report-feature {
    padding: 26px 25px 0;
  }
  .report-feature h3 {
    font-size: 19px;
  }
  .report-feature p {
    font-size: 12px;
  }
  .report-art {
    margin-top: 20px;
  }
  .operations-list {
    gap: 25px;
  }
  .operations-list h3 {
    font-size: 16px;
  }
  .operations-list p {
    font-size: 11px;
  }
  .availability {
    font-size: 9px;
    margin-top: 27px;
  }
  .subscription {
    padding: 40px 23px;
    border-radius: 20px;
  }
  .subscription h2 {
    font-size: 29px;
  }
  .subscription p {
    font-size: 12px;
    line-height: 2;
  }
  .subscription small {
    font-size: 9px;
  }
  .faq {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .faq h2 {
    font-size: 28px;
  }
  .faq > div > p {
    max-width: none;
    font-size: 12px;
  }
  .faq summary {
    font-size: 12px;
  }
  .footer-main {
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 28px;
    gap: 25px;
  }
  .footer-links {
    flex-wrap: wrap;
    gap: 15px 23px;
    font-size: 10px;
  }
  .footer-bottom {
    font-size: 8px;
    gap: 10px;
    flex-wrap: wrap;
  }
  .week-calendar {
    height: 440px;
  }
  .calendar-event {
    padding: 8px 5px;
    font-size: 8px;
    inset-inline: 3px;
  }
  .calendar-event small {
    font-size: 7px;
  }
  .calendar-times {
    width: 40px;
    padding-inline: 4px;
    font-size: 8px;
  }
  .calendar-day > strong {
    font-size: 8px;
  }
  .patient-grid {
    gap: 10px;
    grid-template-columns: 1fr;
  }
  .patient-grid .dental-visual > svg {
    height: 185px;
  }
  .patient-grid .treatment-history {
    padding-block: 10px;
  }
  .treatment-history .history-item {
    padding-block: 9px;
  }
  .treatment-history .account-note {
    display: none;
  }
  .preview-panel > .patient-mini {
    padding: 9px;
  }
  .patient-mini strong {
    font-size: 10px;
  }
  .patient-mini small {
    font-size: 8px;
  }
  .patient-grid {
    margin-top: 10px;
  }
  .patient-grid .tooth-note {
    bottom: 5px;
  }
}
@media (max-width: 370px) {
  .container {
    width: calc(100% - 28px);
  }
  .preview-switcher button {
    font-size: 9px;
    padding-inline: 7px;
  }
  .preview-switcher .icon {
    width: 13px;
  }
  .preview-panel {
    padding-inline: 10px;
  }
  .stat {
    padding: 9px 7px;
  }
  .stat-icon {
    padding: 6px;
  }
  .stat small {
    font-size: 7px;
  }
  .dashboard-grid {
    grid-template-columns: 1.35fr 1fr;
  }
  .services-card {
    padding-inline: 7px;
  }
  .chart-card .card-heading {
    flex-wrap: wrap;
  }
  .donut {
    width: 80px;
    height: 80px;
  }
  .donut > span {
    width: 59px;
    height: 59px;
  }
  .bento-copy {
    padding: 22px;
  }
  .bento h3 {
    font-size: 18px;
  }
  .subscription .button {
    padding-inline: 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    transition: none !important;
    animation: none !important;
  }
}
/* A fixed viewport prevents the content below from moving between samples. */
.app-window {
  width: 100%;
  height: 678px;
  min-height: 0;
}
.app-main {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.preview-panel {
  flex: 1;
  min-height: 0;
  overflow: hidden;
}
@media (max-width: 760px) {
  .app-window {
    height: 812px;
  }
}

/* Scroll reveals are enabled by JavaScript, so content remains visible without it. */
.reveal-ready .scroll-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 700ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-ready .scroll-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-ready .bento.scroll-reveal:nth-child(2),
.reveal-ready .operations-grid > :nth-child(2).scroll-reveal {
  transition-delay: 90ms;
}
.reveal-ready .bento.scroll-reveal:nth-child(3) {
  transition-delay: 140ms;
}
.reveal-ready .bento.scroll-reveal:nth-child(4) {
  transition-delay: 190ms;
}
@media (prefers-reduced-motion: reduce) {
  .reveal-ready .scroll-reveal {
    opacity: 1;
    transform: none;
  }
}

/* Keep small labels readable on light surfaces. */
.stat small,
.visit-row small,
.chart-days,
.legend,
.time,
.mock-search,
.history-item small,
.account-note,
.footer-bottom {
  color: var(--muted);
}
.calendar-times {
  position: relative;
  padding: 0;
  display: block;
}
.calendar-times span {
  position: absolute;
  top: 48px;
  inset-inline: 5px;
  text-align: center;
}
.calendar-times span:nth-child(2) {
  top: 126px;
}
.calendar-times span:nth-child(3) {
  top: 204px;
}
.calendar-times span:nth-child(4) {
  top: 282px;
}
.calendar-times span:nth-child(5) {
  top: 360px;
}
.calendar-day {
  background-position: 0 52px;
}
.calendar-event {
  height: 70px;
  min-height: 0;
}
/* Photography and clinical workflows lead the marketing page. */
.product-stage {
  margin-top: 65px;
}
.product-intro {
  text-align: center;
  margin-bottom: 24px;
}
.product-intro h2 {
  font-size: 29px;
  letter-spacing: -0.6px;
}
.product-intro p {
  font-size: 12px;
  margin-top: 10px;
}
.preview-switcher {
  margin-top: 22px;
}
.care-image {
  overflow: visible;
  isolation: isolate;
  margin-bottom: 30px;
}
.care-image > img {
  border-radius: 22px;
}
.care-image:after {
  border-radius: 0 0 22px 22px;
  z-index: 0;
}
.treatment-overlay {
  position: absolute;
  z-index: 1;
  bottom: -30px;
  inset-inline: 25px;
  background: white;
  border: 1px solid #e7e2f2;
  box-shadow: 0 18px 42px #38245620;
  border-radius: 16px;
  padding: 22px 25px;
}
.treatment-overlay > small {
  display: block;
  color: #736884;
  font-size: 9px;
  margin-bottom: 8px;
}
.treatment-overlay > strong {
  font-size: 15px;
  font-weight: 500;
}
.plan-progress {
  display: flex;
  align-items: center;
  margin: 19px 15px 10px;
  direction: ltr;
}
.plan-progress > span {
  display: grid;
  place-items: center;
  border: 1px solid #d8d2ed;
  border-radius: 50%;
  width: 31px;
  height: 31px;
  font-size: 11px;
  color: #817397;
}
.plan-progress > .complete {
  background: #f0ebff;
  color: #7152d8;
  border-color: #c8b9ee;
}
.plan-progress .icon {
  width: 15px;
  height: 15px;
}
.plan-progress > i {
  height: 2px;
  background: #ded5f3;
  flex: 1;
}
.plan-labels {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 9px;
  color: #69647b;
}
[dir="rtl"] .plan-progress {
  direction: rtl;
}
.treatment-overlay > p {
  font-size: 9px;
  text-align: center;
  margin-top: 16px;
  border-top: 1px solid #eeeaf5;
  padding-top: 12px;
}
.booking-section {
  background: #fff;
  padding-block: 95px;
}
.booking-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 75px;
  align-items: center;
}
.booking-copy h2 {
  font-size: 37px;
}
.booking-copy > p {
  font-size: 14px;
  line-height: 2;
  margin-top: 22px;
}
.booking-points {
  list-style: none;
  padding: 0;
  margin: 25px 0 30px;
  display: grid;
  gap: 14px;
  font-size: 12px;
  color: #5c657b;
}
.booking-points li {
  display: flex;
  align-items: center;
  gap: 10px;
}
.booking-points .icon {
  width: 16px;
  height: 16px;
  color: var(--primary);
}
.booking-art {
  position: relative;
  isolation: isolate;
  padding: 30px 0 65px;
}
.reception-photo {
  width: 92%;
  height: 440px;
  object-fit: cover;
  object-position: 48% center;
  border-radius: 24px 110px 24px 24px;
  box-shadow: var(--shadow);
}
.booking-phone {
  position: absolute;
  bottom: 0;
  inset-inline-end: -10px;
  width: 235px;
  background: #fff;
  border: 5px solid #35304a;
  border-radius: 31px;
  box-shadow: 0 18px 40px #30244730;
  padding: 22px 17px 16px;
  transform: rotate(-4deg);
}
[dir="ltr"] .booking-phone {
  transform: rotate(4deg);
}
.phone-speaker {
  width: 55px;
  height: 5px;
  border-radius: 9px;
  background: #35304a;
  position: absolute;
  top: 9px;
  left: 50%;
  transform: translateX(-50%);
}
.phone-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 13px;
  padding-block: 5px 14px;
  border-bottom: 1px solid var(--line);
}
.phone-brand img {
  width: 26px;
  height: 26px;
}
.booking-phone h3 {
  font-size: 15px;
  text-align: center;
  margin: 16px 0;
  letter-spacing: 0;
}
.phone-field {
  display: flex;
  gap: 7px;
  align-items: center;
  background: #f7f5fd;
  border: 1px solid #eee9fa;
  border-radius: 7px;
  padding: 9px;
  font-size: 9px;
  margin-bottom: 8px;
  color: #5e5974;
}
.phone-field .icon {
  width: 14px;
  height: 14px;
  color: #856cca;
}
.phone-days {
  display: flex;
  gap: 7px;
  direction: ltr;
  margin: 18px 0;
}
.phone-days > span {
  flex: 1;
  font-size: 11px;
  text-align: center;
  padding: 7px 0;
  border-radius: 6px;
  background: #f4f2f8;
  color: #736683;
}
.phone-days > .selected,
.phone-times > .selected {
  background: #7760da;
  color: white;
  border-color: #7760da;
}
.booking-phone > strong {
  display: block;
  font-weight: 500;
  font-size: 9px;
  margin-bottom: 10px;
}
.phone-times {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  direction: ltr;
  font-size: 10px;
}
.phone-times > span {
  padding: 5px 7px;
  text-align: center;
  border: 1px solid #e0d8f2;
  border-radius: 5px;
  color: #736285;
}
.phone-next {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: var(--gradient);
  color: white;
  border-radius: 7px;
  font-size: 10px;
  padding: 10px;
  margin-top: 15px;
}
.phone-next .icon {
  width: 13px;
  height: 13px;
}
.booking-phone > small {
  display: block;
  text-align: center;
  color: #7d748a;
  font-size: 7px;
  margin-top: 9px;
}
#system {
  border-top: 1px solid var(--line);
}
@media (max-width: 1050px) {
  .header nav {
    gap: 15px;
    font-size: 11px;
  }
  .booking-layout {
    gap: 40px;
  }
  .booking-copy h2 {
    font-size: 31px;
  }
  .reception-photo {
    height: 410px;
  }
  .booking-phone {
    width: 218px;
    inset-inline-end: 0;
  }
  .treatment-overlay {
    inset-inline: 15px;
    padding: 19px;
  }
}
@media (max-width: 760px) {
  .product-stage {
    margin-top: 25px;
  }
  .product-intro h2 {
    font-size: 24px;
  }
  .product-intro p {
    font-size: 10px;
    max-width: 310px;
    margin: 10px auto 0;
  }
  .header nav {
    font-size: 9px;
    gap: 6px;
  }
  .header nav a[href="#faq"] {
    display: none;
  }
  .care-image {
    height: 460px;
    margin-bottom: 50px;
  }
  .treatment-overlay {
    bottom: -35px;
    inset-inline: 16px;
    padding: 19px;
  }
  .treatment-overlay > strong {
    font-size: 14px;
  }
  .booking-section {
    padding-block: 55px;
  }
  .booking-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .booking-copy h2 {
    font-size: 28px;
  }
  .booking-copy > p {
    font-size: 12px;
    margin-top: 18px;
  }
  .booking-points {
    font-size: 11px;
    margin: 22px 0;
  }
  .booking-art {
    padding: 10px 0 60px;
    min-height: 455px;
    margin-inline: 5px;
  }
  .reception-photo {
    height: 370px;
    width: 94%;
    border-radius: 18px 75px 18px 18px;
    object-position: 40% center;
  }
  .booking-phone {
    width: 205px;
    inset-inline-end: 0;
    padding: 21px 14px 14px;
    border-width: 4px;
    bottom: 0;
  }
  .booking-phone h3 {
    font-size: 14px;
    margin: 12px 0;
  }
  .phone-days {
    margin-block: 13px;
  }
  .phone-field {
    padding: 7px;
  }
  .phone-next {
    margin-top: 12px;
  }
  .phone-brand {
    padding-bottom: 10px;
  }
  .phone-brand img {
    width: 22px;
    height: 22px;
  }
}
@media (max-width: 370px) {
  .booking-phone {
    width: 188px;
    inset-inline-end: 8px;
  }
  .booking-art {
    margin-inline: 0;
  }
}

/* Product-led opening: one focal point, unskewed UI, and the app's own palette. */
.product-hero {
  position: relative;
  isolation: isolate;
  padding: 38px 0 36px;
  background: linear-gradient(
    180deg,
    #fff 15%,
    #f8f7ff 52%,
    #eeedff 82%,
    #fff 100%
  );
}
.product-hero::before {
  content: "";
  position: absolute;
  inset: 280px 0 150px;
  z-index: -1;
  background: radial-gradient(ellipse at 50% 60%, #bab3ff55, transparent 65%);
  pointer-events: none;
}
.product-hero::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 620px;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(180deg, #ffffff70, #f8f7ff50 60%, #f8f7ff 100%),
    radial-gradient(ellipse at 50% 35%, #ffffffed 10%, #ffffffa6 45%, #ffffff26 85%),
    url("../img/photos/hero-clinic.webp") center 43% / cover no-repeat;
}
.hero-opening {
  text-align: center;
}
.hero-message {
  max-width: 1140px;
  margin: auto;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: #66617c;
}
.hero-message h1 {
  font-size: clamp(42px, 4.1vw, 60px);
  line-height: 1.38;
  letter-spacing: -2.4px;
  margin: 16px 0 18px;
  font-weight: 600;
}
.hero-intro {
  max-width: 700px;
  margin: auto;
  text-wrap: balance;
  font-size: 15px;
  line-height: 1.95;
}
.hero-message .actions {
  justify-content: center;
  margin-top: 24px;
}
.hero-notes {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 13px;
  font-size: 9px;
  color: #70758b;
}
.product-hero .product-stage {
  margin-top: 35px;
  max-width: 1190px;
}
.product-hero .preview-switcher {
  width: fit-content;
  margin: 0 auto 20px;
  padding: 5px;
  background: #eae7f6;
  border: 1px solid #ded9ef;
  border-radius: 13px;
}
.product-hero .preview-switcher button {
  color: #53556c;
  padding: 10px 20px;
}
.product-hero .preview-switcher button[aria-pressed="true"] {
  color: #5544d3;
  box-shadow: 0 2px 6px #36305212;
  border-color: #fff;
}
.product-hero .product-shell {
  width: 100%;
  padding: 6px;
  border-radius: 20px;
  background: linear-gradient(135deg, #c3bbfa, #645aed 55%, #6396f3);
  box-shadow:
    0 35px 65px -30px #44418155,
    0 0 0 1px #ffffff;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.actual-odontogram {
  display: block;
  width: 100%;
  height: 330px;
  object-fit: contain;
  margin: 20px auto;
  max-width: 280px;
}
.odontogram-options {
  display: flex;
  gap: 7px;
  font-size: 8px;
  color: #646d83;
}
.odontogram-options span {
  padding: 3px 7px;
  border: 1px solid #e3e5ec;
  border-radius: 5px;
}
.dental-card {
  border-radius: 14px;
  margin-bottom: 24px;
}
.dental-bento .actual-odontogram {
  height: 285px;
}
.patient-grid {
  grid-template-columns: 1.1fr 1fr;
}
.patient-grid > .app-card:first-child {
  order: 2;
}
/* Photos retain their own space; examples sit beside or below the photograph. */
.care-image {
  height: auto;
  margin-bottom: 0;
  overflow: hidden;
  border: 1px solid #e6e5ee;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 16px 40px #2b28530a;
}
.care-image > img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1.4;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
}
.care-image::after {
  content: none;
}
.treatment-overlay {
  position: static;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 24px 30px;
}
.booking-art {
  display: grid;
  grid-template-columns: 1fr 235px;
  gap: 18px;
  align-items: center;
  padding: 24px;
  min-height: 0;
  margin: 0;
  border-radius: 20px;
  background: #f0eef9;
  border: 1px solid #e6e2f1;
}
.reception-photo {
  display: block;
  width: 100%;
  height: 370px;
  object-fit: cover;
  object-position: 35% center;
  border-radius: 12px;
  box-shadow: none;
}
.booking-phone,
[dir="ltr"] .booking-phone {
  position: relative;
  inset: auto;
  width: 235px;
  transform: none;
  border: 4px solid #363347;
  border-radius: 28px;
  padding: 22px 17px 16px;
  box-shadow: 0 12px 28px #30244715;
}
@media (max-width: 1100px) {
  .booking-art {
    padding: 18px;
    grid-template-columns: 1fr;
  }
  .reception-photo {
    height: 210px;
    object-position: center;
  }
  .booking-phone,
  [dir="ltr"] .booking-phone {
    justify-self: center;
  }
}
@media (max-width: 760px) {
  .product-hero {
    padding-top: 34px;
  }
  .product-hero::after {
    height: 700px;
    background-position: center, center, 42% center;
  }
  .hero-message h1 {
    font-size: 42px;
    line-height: 1.4;
    letter-spacing: -1.5px;
    margin-block: 18px;
  }
  .hero-intro {
    font-size: 13px;
    max-width: 480px;
  }
  .hero-badge {
    font-size: 10px;
  }
  .hero-message .actions {
    gap: 9px;
    margin-top: 21px;
  }
  .hero-message .button {
    padding: 12px 17px;
    font-size: 12px;
  }
  .hero-notes {
    font-size: 8px;
  }
  .product-hero .product-stage {
    margin-top: 28px;
  }
  .product-hero .preview-switcher {
    gap: 0;
    padding: 4px;
    margin-bottom: 14px;
  }
  .product-hero .preview-switcher button {
    padding: 9px 11px;
    font-size: 10px;
    gap: 5px;
  }
  .product-hero .product-shell {
    padding: 4px;
    border-radius: 16px;
  }
  .patient-grid {
    grid-template-columns: 1fr;
  }
  .patient-grid > .app-card:first-child {
    order: 0;
  }
  .actual-odontogram {
    height: 285px;
    margin-block: 16px;
  }
  .odontogram-options {
    font-size: 7px;
    gap: 3px;
  }
  .odontogram-options span {
    padding: 2px 5px;
  }
  .care-image {
    height: auto;
    margin-bottom: 0;
  }
  .treatment-overlay {
    padding: 22px;
  }
  .booking-art {
    grid-template-columns: 1fr 220px;
    gap: 12px;
    padding: 20px;
  }
  .reception-photo {
    height: 360px;
  }
  .booking-phone,
  [dir="ltr"] .booking-phone {
    width: 220px;
    padding-inline: 14px;
  }
}
@media (max-width: 500px) {
  .hero-message h1 {
    font-size: 37px;
  }
  .booking-art {
    grid-template-columns: 1fr;
    padding: 20px;
  }
  .reception-photo {
    height: auto;
    aspect-ratio: 1.5;
    object-position: center;
  }
}
@media (max-width: 370px) {
  .hero-message h1 {
    font-size: 32px;
  }
  .hero-intro {
    font-size: 12px;
  }
  .product-hero .preview-switcher button {
    padding-inline: 8px;
    font-size: 9px;
  }
}

@media (min-width: 1101px) {
  .hero-message h1 .gradient-text {
    display: inline;
  }
}

/* A quieter navigation frame keeps the brand and the main action in focus. */
.header {
  padding-block: 10px;
  border-bottom: 0;
  background: #ffffffd9;
}
.header-inner {
  min-height: 72px;
  padding: 8px 10px 8px 18px;
  border: 1px solid #e5e7f0;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 14px 38px #292e520d;
}
.header .brand {
  gap: 8px;
}
.header .brand img {
  width: 47px;
  height: 47px;
  filter: drop-shadow(0 6px 9px #5c55dc28);
}
.header .brand span {
  font-family: Montserrat, Alexandria, sans-serif;
  font-size: 29px;
  font-style: italic;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -1.1px;
  color: #6654e8;
}
.header nav {
  gap: 3px;
  padding: 4px;
  border: 1px solid #ededf4;
  border-radius: 13px;
  background: #f8f8fc;
  color: #596176;
  font-weight: 500;
}
.header nav a {
  padding: 8px 13px;
  border-radius: 9px;
  transition: background 0.2s ease, color 0.2s ease;
}
.header nav a:hover {
  color: #3f51b5;
  background: #fff;
  box-shadow: 0 2px 7px #2f35510a;
}
.header-actions {
  gap: 15px;
}
.header .language {
  min-width: 42px;
  justify-content: center;
  padding: 8px 9px;
  border: 1px solid #ececf3;
  border-radius: 10px;
  background: #fafafe;
}
.header .login {
  color: #30374a;
  font-weight: 600;
}
.header .compact.primary {
  min-height: 45px;
  padding-inline: 19px;
  border-radius: 12px;
  background: linear-gradient(135deg, #6255e8, #3976ed);
  box-shadow: 0 7px 17px #4c66e729;
}
.header .compact.primary:hover {
  background: #554be0;
  box-shadow: 0 8px 18px #6258ed35;
}
.header .panel-login,
.header .menu-toggle {
  display: none;
}
.header .menu-toggle {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 42px;
  min-height: 42px;
  padding: 0;
  border: 1px solid #ececf3;
  border-radius: 10px;
  background: #fafafe;
}
.header .menu-toggle span {
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: #30374a;
  transition: transform 0.2s ease;
}
.hero-message .actions {
  gap: 16px;
}
.hero-message .actions .primary {
  min-height: 50px;
  border-radius: 12px;
  background: #6258ed;
  box-shadow: 0 8px 18px #6258ed24;
}
.hero-message .actions .secondary {
  min-height: 50px;
  padding-inline: 10px;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: #30374a;
}
.hero-message .actions .secondary .icon {
  width: 30px;
  height: 30px;
  padding: 7px;
  border-radius: 9px;
  background: #efedff;
  color: #6258ed;
}
.hero-message .actions .secondary:hover {
  box-shadow: none;
  color: var(--primary);
}
.product-hero .preview-switcher {
  gap: 28px;
  padding: 0 8px;
  border: 0;
  border-bottom: 1px solid #dedee9;
  border-radius: 0;
  background: transparent;
}
.product-hero .preview-switcher button {
  padding: 8px 2px 12px;
  border: 0;
  border-radius: 0;
  background: transparent;
  transition: color 0.2s ease, box-shadow 0.2s ease;
}
.product-hero .preview-switcher button[aria-pressed="true"] {
  border: 0;
  background: transparent;
  box-shadow: inset 0 -2px 0 #6258ed;
}

@media (max-width: 760px) {
  .header {
    padding-block: 7px;
  }
  .header-inner {
    position: relative;
    min-height: 62px;
    padding: 6px 8px 6px 14px;
    border-radius: 15px;
  }
  .header .brand span {
    font-size: 25px;
  }
  .header .brand img {
    width: 40px;
    height: 40px;
  }
  .header .language {
    min-width: 38px;
    padding: 6px 7px;
  }
  .header .login {
    display: none;
  }
  .header .compact.primary {
    display: inline-flex;
    min-height: 40px;
    padding-inline: 14px;
    border-radius: 10px;
    font-size: 13px;
  }
  .header .menu-toggle {
    display: inline-flex;
  }
  .header.menu-open .menu-toggle span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }
  .header.menu-open .menu-toggle span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }
  .header nav {
    position: absolute;
    top: calc(100% + 8px);
    inset-inline: 0;
    z-index: 30;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 10px;
    border: 1px solid #e5e7f0;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 18px 44px #292e5221;
    color: #30374a;
    font-size: 14px;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-6px);
    pointer-events: none;
    transition:
      opacity 0.18s ease,
      transform 0.18s ease,
      visibility 0.18s;
  }
  .header.menu-open nav {
    visibility: visible;
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
  .header nav a {
    display: flex;
    align-items: center;
    min-height: 46px;
    padding: 10px 12px;
    border-radius: 10px;
  }
  .header nav a:hover {
    box-shadow: none;
    background: #f6f5ff;
  }
  .header .panel-login {
    display: flex;
    margin-top: 6px;
    border-top: 1px solid #f0eff8;
    border-radius: 0 0 10px 10px;
  }
  .product-hero .preview-switcher {
    gap: 14px;
    padding: 0 3px;
  }
  .product-hero .preview-switcher button {
    padding: 8px 1px 11px;
  }
}

/* The supplied phone frame overlays the live HTML booking preview. */
.booking-art {
  grid-template-columns: 1fr 260px;
}
.booking-device {
  position: relative;
  width: 250px;
  aspect-ratio: 754 / 1542;
  justify-self: center;
  filter: drop-shadow(0 18px 24px #24203224);
}
.booking-phone,
[dir="ltr"] .booking-phone {
  position: absolute;
  z-index: 1;
  inset: 9px 10px;
  width: auto;
  justify-self: stretch;
  overflow: hidden;
  border: 0;
  border-radius: 39px;
  padding: 58px 18px 18px;
  box-shadow: none;
  background: #fff;
}
.booking-device .phone-speaker {
  display: none;
}
.phone-frame {
  position: absolute;
  z-index: 2;
  width: 113.13%;
  max-width: none;
  height: auto;
  inset-inline-start: -6.5%;
  top: -9.86%;
  pointer-events: none;
  user-select: none;
}
.product-phone-frame {
  display: none;
}
@media (max-width: 760px) {
  /* The existing preview becomes a phone screen; all three views share its size. */
  .product-hero .product-stage {
    scroll-margin-top: 40px;
  }
  .product-hero .product-shell {
    width: min(calc(100% - 16px), 340px);
    aspect-ratio: 754 / 1542;
    margin-inline: auto;
    padding: 0;
    border-radius: 48px;
    background: transparent;
    box-shadow: none;
    filter: drop-shadow(0 18px 24px #24203224);
  }
  .product-phone-frame {
    display: block;
  }
  .product-shell .browser-bar {
    display: none;
  }
  .product-shell .app-window {
    position: absolute;
    inset: 8px;
    width: auto;
    height: auto;
    padding-top: 55px;
    padding-bottom: 16px;
    border-radius: 42px;
    background: #f0f1f7;
  }
  .product-shell .app-toolbar {
    flex-shrink: 0;
    height: 42px;
    padding-inline: 12px;
  }
  .product-shell .mock-search {
    width: 72%;
    font-size: 9px;
  }
  .product-shell .mock-search kbd,
  .product-shell .toolbar-tools > .icon {
    display: none;
  }
  .product-shell .preview-panel {
    padding: 14px 16px;
    overflow: auto;
    scrollbar-width: thin;
    scrollbar-color: #c8c2ef transparent;
  }
  .product-shell .app-heading {
    gap: 8px;
    margin-bottom: 12px;
  }
  .product-shell .date-label {
    padding: 4px 6px;
    flex-shrink: 0;
    font-size: 8px;
  }
  .product-shell .stat {
    padding: 9px 7px;
    gap: 6px;
  }
  .product-shell .stat-icon {
    padding: 6px;
  }
  .product-shell .dashboard-grid {
    grid-template-columns: 1fr;
  }
  .product-shell .services-card {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 6px 12px;
    align-items: center;
  }
  .product-shell .services-card .donut {
    grid-column: 2;
    grid-row: 1 / 3;
    width: 64px;
    height: 64px;
    margin: 0;
  }
  .product-shell .donut > span {
    width: 46px;
    height: 46px;
    font-size: 16px;
  }
  .product-shell .services-card .legend {
    justify-content: flex-start;
    font-size: 8px;
  }
  .product-shell .week-calendar {
    overflow-x: auto;
    height: 420px;
  }
  .product-shell .calendar-times {
    flex: 0 0 35px;
  }
  .product-shell .calendar-day {
    flex: 0 0 110px;
  }
  .product-shell .calendar-event,
  .product-shell .calendar-day > strong {
    font-size: 10px;
  }
  .product-shell .calendar-event small {
    font-size: 9px;
  }
  .product-shell .actual-odontogram {
    height: 225px;
    margin-block: 10px;
  }
}
@media (max-width: 1100px) {
  .booking-device {
    width: 240px;
  }
}
@media (max-width: 760px) {
  .booking-art {
    grid-template-columns: 1fr 240px;
  }
}
@media (max-width: 500px) {
  .booking-art {
    grid-template-columns: 1fr;
  }
}

/* Float only the home navigation over the clinic photograph. */
body:has(.product-hero) > .header {
  position: absolute;
  inset: 0 0 auto;
  background: transparent;
  backdrop-filter: none;
}
.product-hero { padding-top: 122px; }
.booking-art { background: #f3f4f9; }
.booking-device .booking-phone { padding: 48px 16px 14px; color: #202b43; }
.booking-phone .phone-brand { margin-bottom: 14px; padding-bottom: 10px; gap: 6px; font-size: 12px; }
.phone-clinic { font-size: 11px; font-weight: 600; margin-bottom: 12px; }
.phone-tabs { display: flex; gap: 14px; border-bottom: 1px solid #e5e7f0; font-size: 9px; color: #667085; }
.phone-tabs > * { padding-bottom: 8px; }
.phone-tabs b { color: #5b57d6; border-bottom: 2px solid; }
.phone-progress { font-size: 9px; margin: 12px 0 7px; color: #5b57d6; }
.phone-progress-line { display: flex; gap: 4px; }
.phone-progress-line i { flex: 1; height: 3px; border-radius: 2px; background: #e9eaf2; }
.phone-progress-line i:nth-child(-n+2) { background: #635bdf; }
.phone-context { font-size: 8px; color: #667085; margin: 12px 0 4px; }
.booking-phone h3 { font-size: 11px; margin: 0 0 10px; text-align: start; }
.booking-phone .phone-days { gap: 5px; margin-bottom: 16px; }
.booking-phone .phone-days > span { padding: 9px 0; border: 1px solid #e5e7f0; background: #fff; font-size: 10px; }
.booking-phone .phone-days > .selected, .booking-phone .phone-times > .selected { background: #635bdf; border-color: #635bdf; color: #fff; }
.booking-phone > strong { font-size: 10px; }
.booking-phone .phone-times { margin: 8px 0 14px; gap: 6px; }
.booking-phone .phone-times > span { border-color: #e5e7f0; padding: 8px 0; }
.booking-phone .phone-next { background: #635bdf; border-radius: 7px; padding: 10px 4px; font-size: 9px; }
.booking-phone > small { display: block; margin-top: 8px; font-size: 7px; text-align: center; }
@media (max-width: 760px) { .product-hero { padding-top: 106px; } }
/* Actual application capture, using sample appointments. */
.booking-art .reception-photo { height: auto; object-fit: contain; object-position: center; border: 1px solid #e5e7f0; border-radius: 12px; background: #fff; }
.booking-device .booking-phone { padding-top: 43px; }
.booking-phone .phone-times { margin-bottom: 10px; }
.booking-phone .phone-next { padding-block: 8px; }
@media (max-width: 380px) {
  .header-inner { gap: 8px; padding-inline: 8px; }
  .header-actions { gap: 6px; }
  .header .brand { gap: 4px; }
  .header .brand span { font-size: 20px; }
  .header .brand img { width: 30px; height: 30px; }
  .header .compact.primary { padding-inline: 9px; font-size: 11px; }
  .header .menu-toggle { width: 36px; }
  .header .language { min-width: 34px; padding-inline: 5px; }
}
