:root {
  color-scheme: light;
  --navy: #051a2e;
  --navy-2: #08263f;
  --ink: #102235;
  --text: #1f2933;
  --muted: #5b6770;
  --line: #dfe7eb;
  --surface: #ffffff;
  --soft: #f5f8fa;
  --blue: #11a7ea;
  --teal: #078da8;
  --accent: #2ec4b6;
  --shadow: 0 22px 60px rgb(5 26 46 / 0.12);
  --container: 1180px;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--soft);
  color: var(--text);
  font-size: 16px;
  line-height: 1.65;
}

body,
button,
input,
select,
textarea {
  font-family: inherit;
}

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

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

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 8px 12px;
  transform: translateY(-150%);
  border-radius: 4px;
  background: #fff;
  color: var(--navy);
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - 32px), var(--container));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding-top: env(safe-area-inset-top);
  border-bottom: 1px solid rgb(5 26 46 / 0.1);
  background: rgb(255 255 255 / 0.94);
  color: var(--navy);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--navy);
}

.brand img {
  width: 58px;
  height: 34px;
  object-fit: contain;
}

.brand span {
  font-size: 0.74rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.site-header .brand {
  gap: 12px;
  color: #0a1f3d;
}

.site-header .brand img {
  width: 76px;
  height: 45px;
}

.site-header .brand span {
  color: #0a1f3d;
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.32em;
}

.desktop-nav {
  display: none;
}

.header-cta {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 14px;
  border: 1px solid #0077cc;
  border-radius: 6px;
  background: #0077cc;
  color: #fff;
  box-shadow: 0 10px 24px rgb(0 119 204 / 0.18);
  font-size: 0.76rem;
  font-weight: 850;
  line-height: 1;
  white-space: nowrap;
  transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.header-cta:hover {
  transform: translateY(-1px);
  border-color: #005da3;
  background: #005da3;
  box-shadow: 0 14px 30px rgb(0 93 163 / 0.25);
}

.header-cta span {
  font-size: 1rem;
  line-height: 1;
}

.mobile-menu {
  position: relative;
}

.mobile-menu summary {
  width: 44px;
  height: 44px;
  display: grid;
  align-content: center;
  gap: 5px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
  list-style: none;
  background: #fff;
}

.mobile-menu summary::-webkit-details-marker {
  display: none;
}

.mobile-menu summary span {
  height: 2px;
  border-radius: 2px;
  background: var(--navy);
}

.mobile-menu nav {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: min(288px, calc(100vw - 32px));
  display: grid;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.mobile-menu nav a {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 6px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 700;
}

.mobile-menu nav a:hover {
  background: var(--soft);
}

.mobile-menu nav .mobile-access {
  justify-content: center;
  margin-top: 8px;
  background: var(--blue);
  color: #fff;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 44px;
  background: linear-gradient(90deg, #fff 0%, #fff 47%, var(--navy) 47%, var(--navy-2) 100%);
}

.hero-grid {
  display: grid;
  gap: 38px;
}

.hero-copy {
  max-width: 580px;
  padding: 12px 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--navy);
  line-height: 1.12;
  letter-spacing: 0;
}

h1 {
  max-width: 660px;
  font-size: 2.55rem;
  font-weight: 780;
}

h2 {
  font-size: 1.85rem;
  font-weight: 760;
}

.hero-lead {
  max-width: 610px;
  margin: 24px 0 0;
  color: var(--ink);
  font-size: 1.04rem;
}

.hero-actions,
.center-action {
  display: grid;
  gap: 12px;
  margin-top: 30px;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 780;
  text-align: center;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, var(--teal), var(--blue));
  color: #fff;
  box-shadow: 0 12px 28px rgb(17 167 234 / 0.18);
}

.button-primary:hover {
  box-shadow: 0 16px 34px rgb(17 167 234 / 0.25);
}

.button-secondary {
  border-color: var(--teal);
  background: #fff;
  color: var(--teal);
}

.button-secondary:hover {
  background: #eefafd;
}

.hero-media {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--navy);
  box-shadow: 0 28px 72px rgb(5 26 46 / 0.28);
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.section {
  padding: 72px 0;
  background: #fff;
}

.three-columns {
  display: grid;
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.editorial-panel,
.principles-panel {
  min-width: 0;
  padding: 34px 28px;
  background: #fff;
}

.editorial-panel p:not(.eyebrow),
.principles-panel p,
.section-heading p,
.product-copy p,
.vision-layout p {
  color: var(--muted);
}

.editorial-panel p:last-child,
.principles-panel p:last-child {
  margin-bottom: 0;
}

.icon-line {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  color: var(--teal);
}

.icon-line svg,
.principle-list svg,
.vision-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-filled {
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
}

.icon-filled svg {
  width: 34px;
  height: 34px;
}

.principle-list {
  display: grid;
  gap: 18px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.principle-list li {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.principle-list li > span {
  width: 34px;
  height: 34px;
  color: var(--teal);
}

.principle-list strong {
  grid-column: 2;
  display: block;
  color: var(--navy);
  font-size: 0.92rem;
  line-height: 1.25;
}

.principle-list small {
  grid-column: 2;
  display: block;
  margin-top: -14px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.pxdental-section {
  overflow: hidden;
  padding: 80px 0;
  background: radial-gradient(circle at 78% 44%, rgb(17 167 234 / 0.18), transparent 26%), var(--navy);
  color: #fff;
}

.pxdental-grid {
  display: grid;
  gap: 38px;
  align-items: center;
}

.pxdental-copy {
  max-width: 520px;
}

.pxdental-copy .eyebrow {
  color: var(--blue);
}

.pxdental-copy h2 {
  color: #fff;
}

.pxdental-copy p {
  margin: 22px 0 0;
  color: rgb(255 255 255 / 0.76);
}

.pxdental-media {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 30px 80px rgb(0 0 0 / 0.35);
}

.pxdental-media img {
  width: 100%;
  aspect-ratio: 1.35 / 1;
  object-fit: cover;
}

.product-section {
  background: #fff;
}

.product-layout {
  display: grid;
  gap: 42px;
  align-items: center;
}

.product-copy {
  min-width: 0;
}

.product-copy .button {
  margin-top: 28px;
}

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

.check-list li {
  position: relative;
  padding-left: 30px;
  color: var(--ink);
  font-weight: 650;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 0.45em;
  left: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: inset 0 0 0 4px rgb(255 255 255 / 0.62);
}

.product-gallery {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.screen-card {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 36px rgb(5 26 46 / 0.09);
}

.screen-card-large {
  grid-column: 1 / -1;
}

.screen-card img {
  width: 100%;
  aspect-ratio: 1.86 / 1;
  object-fit: cover;
  object-position: top left;
  background: #eef2f4;
}

.screen-card figcaption {
  padding: 10px 12px;
  border-top: 1px solid var(--line);
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 800;
}

.differentiators-section {
  background: var(--soft);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

.section-heading-centered {
  margin-inline: auto;
  text-align: center;
}

.differentiator-grid {
  display: grid;
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.differentiator-grid article {
  min-height: 132px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 14px;
  padding: 22px;
  background: #fff;
  text-align: center;
}

.differentiator-grid span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgb(7 141 168 / 0.24);
  border-radius: 50%;
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.differentiator-grid strong {
  max-width: 210px;
  color: var(--navy);
  font-size: 0.9rem;
  line-height: 1.35;
}

.vision-section {
  padding: 78px 0;
  background: #fff;
}

.vision-layout {
  display: grid;
  gap: 26px;
  align-items: center;
}

.vision-icon {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
}

.vision-icon svg {
  width: 42px;
  height: 42px;
}

.install-section {
  background: linear-gradient(180deg, #f8fbfc, #fff);
}

.setup-steps {
  counter-reset: step;
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.setup-steps li {
  position: relative;
  min-height: 112px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 28px rgb(5 26 46 / 0.06);
}

.setup-steps span {
  color: var(--teal);
  font-size: 0.75rem;
  font-weight: 900;
}

.setup-steps strong {
  color: var(--navy);
  line-height: 1.3;
}

.center-action {
  justify-content: center;
}

.contact-section {
  padding: 78px 0;
  background: linear-gradient(90deg, #fff 0%, #fff 54%, #eef5f7 54%, #eef5f7 100%);
}

.contact-layout {
  display: grid;
  gap: 30px;
  align-items: center;
}

.contact-tagline {
  max-width: 420px;
  margin: 14px 0 0;
  color: var(--teal);
  font-weight: 800;
}

.contact-card {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
  font-style: normal;
}

.contact-card a {
  display: grid;
  gap: 2px;
  color: var(--navy);
  font-weight: 800;
}

.contact-card span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 650;
}

.site-footer {
  padding: 34px 0 calc(18px + env(safe-area-inset-bottom));
  background: var(--navy);
  color: #fff;
}

.footer-inner {
  display: grid;
  gap: 24px;
}

.footer-brand {
  color: #fff;
}

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

.footer-inner nav a {
  color: rgb(255 255 255 / 0.68);
  font-size: 0.84rem;
  font-weight: 650;
}

.footer-inner nav a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  justify-content: space-between;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgb(255 255 255 / 0.12);
  color: rgb(255 255 255 / 0.55);
  font-size: 0.76rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

@media (min-width: 640px) {
  .hero-actions,
  .center-action {
    display: flex;
    flex-wrap: wrap;
  }

  .button {
    min-width: 180px;
  }

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

  .setup-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 820px) {
  .container {
    width: min(calc(100% - 56px), var(--container));
  }

  h1 {
    font-size: 3.25rem;
  }

  h2 {
    font-size: 2.15rem;
  }

  .hero-grid,
  .pxdental-grid,
  .product-layout,
  .contact-layout {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  }

  .hero {
    min-height: calc(100svh - 68px);
    display: grid;
    align-items: center;
    padding: 58px 0;
  }

  .hero-media {
    align-self: stretch;
  }

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

  .product-layout {
    grid-template-columns: minmax(310px, 0.68fr) minmax(0, 1.32fr);
  }

  .vision-layout {
    grid-template-columns: 92px minmax(0, 660px);
  }

  .setup-steps {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .setup-steps li:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -13px;
    z-index: 1;
    width: 24px;
    height: 1px;
    background: var(--teal);
  }

  .footer-inner {
    grid-template-columns: auto 1fr;
    align-items: center;
  }

  .footer-inner nav {
    justify-content: flex-end;
  }
}

@media (min-width: 1024px) {
  .desktop-nav {
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .desktop-nav a {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    padding: 0 10px;
    color: rgb(5 26 46 / 0.72);
    font-size: 0.82rem;
    font-weight: 720;
  }

  .desktop-nav a:hover {
    color: var(--teal);
  }

  .header-cta {
    min-height: 44px;
    padding: 0 18px;
    font-size: 0.82rem;
  }

  .mobile-menu {
    display: none;
  }

  h1 {
    font-size: 3.65rem;
  }

  .section {
    padding: 92px 0;
  }

  .editorial-panel,
  .principles-panel {
    padding: 44px 38px;
  }

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

@media (max-width: 819px) {
  .hero {
    background: #fff;
  }

  .hero-media {
    margin-inline: -16px;
    border-radius: 0;
  }

  .contact-section {
    background: #fff;
  }
}

@media (max-width: 520px) {
  .container {
    width: calc(100vw - 28px);
  }

  .header-inner {
    min-height: 62px;
    gap: 8px;
  }

  .site-header .brand {
    gap: 7px;
  }

  .site-header .brand img {
    width: 52px;
    height: 31px;
  }

  .site-header .brand span {
    font-size: 0.55rem;
    letter-spacing: 0.22em;
  }

  .header-cta {
    min-height: 38px;
    gap: 7px;
    padding: 0 10px;
    font-size: 0.66rem;
  }

  .mobile-menu summary {
    width: 38px;
    height: 38px;
    padding: 9px;
  }

  h1 {
    font-size: 2.22rem;
  }

  h2 {
    font-size: 1.62rem;
  }

  .section,
  .pxdental-section,
  .vision-section,
  .install-section,
  .contact-section {
    padding: 58px 0;
  }

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

  .screen-card-large {
    grid-column: auto;
  }

  .footer-bottom {
    letter-spacing: 0.08em;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
