:root {
  --ink: #172130;
  --muted: #5d6a78;
  --blue: #238fe3;
  --blue-dark: #0f3f70;
  --aqua: #2fbbb2;
  --brand-blue: #238fe3;
  --line: #d8e0e8;
  --soft: #f4f7fa;
  --white: #ffffff;
  --shadow: 0 18px 48px rgba(12, 33, 55, 0.16);
  --font-sans: Arial, Helvetica, sans-serif;
  --text-xs: 0.8125rem;
  --text-sm: 0.9375rem;
  --text-base: 1rem;
  --text-md: 1.0625rem;
  --text-lg: 1.1875rem;
  --text-xl: 1.375rem;
  --h1: clamp(2.75rem, 5.3vw, 4.25rem);
  --h2: clamp(2.125rem, 4vw, 3.125rem);
  --h3: 1.375rem;
  --tracking-caps: 0.08em;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 126px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.55;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.site-header {
  min-height: 112px;
  background: #050608;
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(28px, 7vw, 120px);
  padding: 18px 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.24);
}

.brand {
  width: min(405px, 42vw);
  text-decoration: none;
  display: block;
}

.brand-logo {
  width: 100%;
  height: auto;
  max-height: 88px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  gap: 30px;
  align-items: center;
  font-size: var(--text-base);
  font-weight: 800;
  line-height: 1.2;
}

.main-nav a {
  color: #f5f7fb;
  text-decoration: none;
}

.main-nav a:hover {
  color: #69c7ff;
}

.section-dark {
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(5, 8, 14, 0.94), rgba(5, 13, 26, 0.82)),
    url("assets/bg-dark-dental-tech.png") center / cover no-repeat;
}

.hero {
  min-height: 620px;
  display: block;
  padding: clamp(46px, 6vw, 72px) 28px;
}

.hero-inner,
.split,
.section-intro,
.benefit-header,
.start-card {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.hero-inner,
.split {
  display: grid;
  grid-template-columns: 0.9fr 1.05fr;
  gap: clamp(34px, 5vw, 58px);
  align-items: center;
}

.hero-inner {
  align-items: start;
}

.hero-copy {
  max-width: 650px;
}

.hero-kicker {
  display: inline-block;
  margin: 0 0 18px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(47, 187, 178, 0.14);
  color: #92f0ea;
  border: 1px solid rgba(146, 240, 234, 0.24);
  font-size: var(--text-xs);
  font-weight: 900;
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
}

.hero h1 {
  max-width: 620px;
  margin: 0 0 20px;
  font-size: var(--h1);
  line-height: 1.05;
  font-weight: 900;
}

.hero-lead {
  max-width: 600px;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.84);
  font-size: var(--text-xl);
  line-height: 1.42;
}

.hero ul,
.copy ul {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.hero .hero-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  width: min(1060px, calc(100% - 48px));
  margin: clamp(22px, 3vw, 34px) auto 0;
  padding: 0;
  list-style: none;
}

.hero-points li {
  text-align: center;
  padding: 22px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-points img {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  object-fit: cover;
  margin: 0 auto 16px;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.2);
}

.hero-points strong {
  display: block;
  color: #ffffff;
  font-size: var(--text-md);
  line-height: 1.25;
  margin-bottom: 8px;
}

.hero-points span {
  display: block;
  color: rgba(255, 255, 255, 0.78);
  font-size: var(--text-base);
  line-height: 1.45;
}

.hero-button {
  display: inline-block;
  margin-top: 18px;
  padding: 14px 20px;
  border-radius: 6px;
  background: var(--brand-blue);
  color: #fff;
  text-decoration: none;
  font-size: var(--text-base);
  line-height: 1.2;
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(35, 143, 227, 0.24);
}

.hero-visual {
  position: relative;
  margin-top: clamp(58px, 6.5vw, 78px);
  padding-top: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-image {
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-image img,
.image-card img {
  width: 100%;
  height: auto;
}

.problem-section {
  padding: clamp(58px, 8vw, 98px) 0;
}

.problem-old {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96), rgba(247, 251, 254, 0.9)),
    url("assets/bg-light-dental-ui.png") center / cover no-repeat;
}

.problem-new {
  background:
    linear-gradient(90deg, rgba(235, 247, 251, 0.9), rgba(255, 255, 255, 0.78)),
    url("assets/bg-light-dental-ui.png") center / cover no-repeat;
}

.problem-listing {
  background:
    linear-gradient(180deg, rgba(249, 252, 255, 0.95), rgba(232, 242, 250, 0.92));
}

.reverse {
  grid-template-columns: 0.9fr 1fr;
}

.reverse .copy {
  grid-column: 2;
}

.reverse .concept-panel,
.reverse .image-card {
  grid-column: 1;
  grid-row: 1;
}

.copy h2,
.section-intro h2,
.benefit-header h2,
.start-card h2 {
  margin: 0 0 22px;
  font-size: var(--h2);
  line-height: 1.14;
  font-weight: 850;
}

.copy li {
  margin: 9px 0;
  padding-left: 22px;
  position: relative;
  color: var(--muted);
  font-size: var(--text-lg);
  line-height: 1.5;
}

.copy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--aqua);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: var(--tracking-caps);
  font-size: var(--text-xs);
  line-height: 1.25;
}

.text-link {
  display: inline-block;
  margin-top: 24px;
  color: var(--blue-dark);
  font-size: var(--text-base);
  line-height: 1.2;
  font-weight: 800;
  text-decoration: none;
  border-bottom: 2px solid var(--aqua);
}

.image-card {
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.concept-panel,
.listing-card {
  min-height: 330px;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
  border: 1px solid rgba(20, 50, 80, 0.08);
  overflow: hidden;
}

.browser-bar {
  height: 46px;
  background: #102a45;
  display: flex;
  gap: 8px;
  align-items: center;
  padding-left: 20px;
}

.browser-bar span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #80d7e8;
}

.mock-page {
  padding: 34px;
}

.mock-logo {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff 0 22%, #8be2ef 23% 50%, #1a80c7 51% 100%);
  margin-bottom: 26px;
}

.mock-lines b {
  display: block;
  height: 14px;
  border-radius: 20px;
  background: #d6e5ef;
  margin: 12px 0;
}

.mock-lines b:first-child {
  width: 78%;
  height: 22px;
  background: #184c79;
}

.mock-lines b:nth-child(2) {
  width: 64%;
}

.mock-lines b:nth-child(3) {
  width: 52%;
}

.mock-actions {
  display: flex;
  gap: 12px;
  margin: 26px 0;
}

.mock-actions i {
  display: block;
  width: 130px;
  height: 42px;
  border-radius: 6px;
  background: var(--blue);
}

.mock-actions i:nth-child(2) {
  background: var(--aqua);
}

.mock-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.mock-grid span {
  height: 72px;
  border-radius: 8px;
  background: #eef5f8;
}

.listing-card {
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.callout-icon {
  width: 88px;
  height: 88px;
  border-radius: 18px;
  margin-bottom: 22px;
  object-fit: cover;
}

.listing-card strong {
  display: block;
  font-size: var(--text-xl);
  line-height: 1.2;
  font-weight: 850;
}

.listing-card span {
  color: #0d7a43;
  font-size: var(--text-base);
  font-weight: 800;
}

.listing-card p {
  color: var(--muted);
  font-size: var(--text-lg);
  line-height: 1.48;
}

.listing-card button,
.button {
  width: fit-content;
  border: 0;
  border-radius: 6px;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
  font-size: var(--text-base);
  line-height: 1.2;
  padding: 14px 20px;
  text-decoration: none;
  cursor: pointer;
}

.section-blue {
  padding: clamp(64px, 8vw, 96px) 0;
  background:
    linear-gradient(180deg, rgba(12, 45, 79, 0.9), rgba(7, 30, 55, 0.94)),
    url("assets/bg-blue-dental-services.png") center / cover no-repeat;
  color: #fff;
}

.section-intro {
  text-align: center;
  margin-bottom: 38px;
}

.section-intro p,
.benefit-header p,
.start-card p {
  color: inherit;
  opacity: 0.84;
  font-size: var(--text-lg);
  line-height: 1.5;
}

.service-grid,
.benefit-list,
.priority-boxes {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  gap: 20px;
}

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

.service-grid article {
  padding: 28px 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.card-icon,
.benefit-icon {
  display: block;
  width: 78px;
  height: 78px;
  margin-bottom: 18px;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.benefit-icon {
  width: 72px;
  height: 72px;
  box-shadow: 0 12px 24px rgba(17, 63, 110, 0.16);
}

.service-grid h3,
.benefit-list h3 {
  margin: 0 0 10px;
  font-size: var(--h3);
  line-height: 1.22;
  font-weight: 850;
}

.service-grid p,
.benefit-list p {
  margin: 0;
  color: inherit;
  opacity: 0.82;
  font-size: var(--text-base);
  line-height: 1.5;
}

.benefits {
  padding: clamp(64px, 8vw, 96px) 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.96)),
    url("assets/bg-light-dental-ui.png") center / cover no-repeat;
}

.benefit-header {
  margin-bottom: 34px;
}

.benefit-header p {
  color: var(--muted);
  max-width: 760px;
}

.benefit-list {
  grid-template-columns: repeat(2, 1fr);
}

.benefit-list article {
  padding: 28px;
  border-top: 4px solid var(--blue);
  background: var(--soft);
  border-radius: 8px;
}

.benefit-list p {
  color: var(--muted);
  opacity: 1;
}

.start {
  padding: clamp(64px, 8vw, 104px) 0;
}

.start-card {
  background: rgba(8, 16, 27, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: clamp(32px, 5vw, 56px);
}

.priority-boxes {
  width: 100%;
  grid-template-columns: repeat(3, 1fr);
  margin: 28px 0 34px;
}

.priority-boxes div {
  padding: 20px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
}

.mini-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  margin-bottom: 16px;
  object-fit: cover;
}

.priority-boxes strong,
.priority-boxes span {
  display: block;
}

.priority-boxes strong {
  font-size: var(--text-base);
  line-height: 1.25;
  font-weight: 850;
}

.priority-boxes span {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: var(--text-base);
  line-height: 1.45;
}

.lead-form {
  display: grid;
  grid-template-columns: 1fr 1.35fr 1fr auto;
  gap: 14px;
  align-items: end;
}

.lead-form label {
  display: grid;
  gap: 7px;
}

.lead-form label span {
  color: rgba(255, 255, 255, 0.82);
  font-size: var(--text-sm);
  line-height: 1.2;
  font-weight: 800;
}

.lead-form input {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  padding: 12px 13px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  font: inherit;
  font-size: var(--text-base);
  line-height: 1.2;
}

.lead-form input:focus {
  outline: 3px solid rgba(35, 143, 227, 0.38);
  outline-offset: 1px;
}

.lead-form .button {
  min-height: 48px;
  border: 0;
  cursor: pointer;
  white-space: nowrap;
}

.lead-form .button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.form-status {
  grid-column: 1 / -1;
  min-height: 1.5em;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: var(--text-sm);
  line-height: 1.45;
}

.form-status.is-error {
  color: #ffb8b8;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.site-footer {
  width: 100%;
  margin: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  padding: 34px max(24px, calc((100% - 1120px) / 2));
  color: #cad3dc;
  background: #050608;
}

footer {
  background: #050608;
}

.footer-brand {
  display: inline-block;
  color: #fff;
  font-size: var(--text-xl);
  line-height: 1.2;
  font-weight: 900;
  text-decoration: none;
}

.site-footer p {
  margin: 6px 0 0;
  font-size: var(--text-base);
  line-height: 1.45;
}

.site-footer nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.site-footer nav a {
  color: #fff;
  text-decoration: none;
  font-size: var(--text-base);
  line-height: 1.2;
  font-weight: 800;
}

@media (max-width: 860px) {
  html {
    scroll-padding-top: 156px;
  }

  .site-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .main-nav {
    flex-wrap: wrap;
    gap: 18px;
  }

  .hero-inner,
  .split,
  .reverse {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: none;
  }

  .hero-image {
    transform: none;
  }

  .hero-visual {
    margin-top: 0;
    padding-top: 0;
  }

  .reverse .copy,
  .reverse .concept-panel,
  .reverse .image-card {
    grid-column: auto;
    grid-row: auto;
  }

  .service-grid,
  .benefit-list,
  .hero-points,
  .priority-boxes,
  .lead-form {
    grid-template-columns: 1fr;
  }

  .hero .hero-points {
    grid-template-columns: 1fr;
    width: min(620px, calc(100% - 48px));
  }

  .hero-points li {
    display: grid;
    grid-template-columns: 74px 1fr;
    column-gap: 18px;
    align-items: center;
    text-align: left;
  }

  .hero-points img {
    grid-row: 1 / 3;
    margin: 0;
  }

  .hero-points strong,
  .hero-points span {
    grid-column: 2;
  }

  .hero-points strong {
    margin-bottom: 4px;
  }

  .hero {
    min-height: auto;
  }
}

@media (max-width: 520px) {
  body {
    font-size: 16px;
  }

  .hero-inner,
  .split,
  .section-intro,
  .benefit-header,
  .start-card,
  .site-footer,
  .service-grid,
  .benefit-list,
  .priority-boxes {
    width: min(100% - 28px, 1120px);
  }

  .brand {
    width: min(320px, 100%);
  }

  .brand-logo {
    max-height: 78px;
  }

  .hero h1 {
    font-size: 2.25rem;
  }

  .hero-lead {
    font-size: var(--text-md);
  }

  .hero-points li {
    grid-template-columns: 62px 1fr;
    column-gap: 14px;
    padding: 16px;
  }

  .hero-points img {
    width: 54px;
    height: 54px;
  }

  .hero-points span {
    font-size: var(--text-sm);
  }

  .copy h2,
  .section-intro h2,
  .benefit-header h2,
  .start-card h2 {
    font-size: 1.875rem;
  }

  .mock-actions {
    flex-direction: column;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
