:root {
  color-scheme: light;
  --ink: #172323;
  --muted: #5e6b68;
  --line: #dce5e1;
  --surface: #f7f9f8;
  --surface-strong: #eef4f1;
  --white: #ffffff;
  --teal: #0f766e;
  --teal-dark: #0d4f4b;
  --gold: #b47b35;
  --shadow: 0 18px 48px rgba(23, 35, 35, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
}

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

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(20px, 4vw, 56px);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(220, 229, 225, 0.8);
  backdrop-filter: blur(18px);
}

.brand,
.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand {
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0;
}

.brand-mark {
  display: inline-grid;
  width: 44px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(15, 118, 110, 0.22);
  color: var(--white);
  background: linear-gradient(135deg, var(--teal-dark), var(--teal));
  font-size: 12px;
  font-weight: 900;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(15, 118, 110, 0.18);
}

.main-nav {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.main-nav a,
.nav-cta {
  transition:
    color 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

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

.nav-cta {
  padding: 10px 16px;
  border: 1px solid var(--teal);
  border-radius: 8px;
  color: var(--teal-dark);
  font-size: 14px;
  font-weight: 700;
  background: #e5f4f0;
}

.nav-cta:hover {
  background: #d6eee9;
}

.hero {
  position: relative;
  min-height: 680px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: #10201f;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("assets/dental-revenue-hero.png");
  background-position: center right;
  background-size: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(7, 21, 21, 0.9) 0%, rgba(7, 21, 21, 0.72) 42%, rgba(7, 21, 21, 0.18) 78%),
    linear-gradient(180deg, rgba(7, 21, 21, 0.12), rgba(7, 21, 21, 0.48));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(700px, calc(100% - 40px));
  margin-left: clamp(20px, 7vw, 96px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f0c17f;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 680px;
  margin-bottom: 22px;
  font-size: clamp(44px, 6vw, 74px);
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 4vw, 50px);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 620px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(18px, 2vw, 21px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 18px;
}

.button,
.review-form button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  padding: 13px 20px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.button.primary,
.review-form button {
  color: var(--white);
  background: var(--teal);
}

.button.primary:hover,
.review-form button:hover {
  background: var(--teal-dark);
}

.button.secondary {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.12);
}

.snapshot-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.snapshot-links button {
  min-height: 96px;
  display: grid;
  align-content: space-between;
  width: 100%;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: inherit;
  background: var(--surface);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    transform 160ms ease;
}

.snapshot-links button:hover {
  border-color: rgba(15, 118, 110, 0.35);
  background: #e5f4f0;
  transform: translateY(-2px);
}

.snapshot-links span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.snapshot-links strong {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.15;
}

.hero-note {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.section-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.intro-section,
.review-section,
.benchmark-section,
.process-section,
.diagnostic-section,
.support-section,
.cta-section,
.contact-section {
  padding: clamp(64px, 8vw, 104px) 0;
}

.intro-section {
  background: var(--white);
}

.review-section {
  background: var(--surface);
}

.two-column,
.split-feature,
.support-layout,
.cta-inner,
.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(34px, 6vw, 90px);
  align-items: start;
}

.lead-block {
  color: var(--muted);
  font-size: 19px;
}

.lead-block p:last-child,
.section-heading p:last-child,
.ladder-step p:last-child,
.outcome-card li:last-child,
.support-options p:last-child,
.cta-inner p:last-child,
.contact-inner p:last-child {
  margin-bottom: 0;
}

.benchmark-section {
  background: var(--surface-strong);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 42px;
}

.section-heading.narrow {
  max-width: 720px;
}

.section-heading p {
  color: var(--muted);
  font-size: 18px;
}

.benchmark-panel {
  max-width: 860px;
  min-height: auto;
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.ladder-step p,
.diagnostic-section p,
.support-options p,
.benchmark-copy p,
.benchmark-panel p,
.review-grid p,
.cta-inner p,
.contact-inner p {
  color: var(--muted);
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.review-grid article {
  min-height: 230px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.review-grid span {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 28px;
  border-radius: 8px;
  color: var(--teal-dark);
  background: #e5f4f0;
  font-size: 13px;
  font-weight: 900;
}

.process-section {
  background: var(--white);
}

.ladder {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.ladder-step {
  display: grid;
  grid-template-columns: 84px minmax(0, 0.55fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.ladder-step.accent {
  background: transparent;
  border-color: var(--line);
}

.step-number {
  width: 48px;
  height: 48px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 0;
  border-radius: 8px;
  color: var(--teal);
  background: #e5f4f0;
  font-size: 13px;
  font-weight: 900;
}

.ladder-step p {
  margin-bottom: 0;
  font-size: 15px;
}

.diagnostic-section {
  background: #172323;
  color: var(--white);
}

.diagnostic-section .eyebrow {
  color: #f0c17f;
}

.diagnostic-section p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 18px;
}

.outcome-card {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: clamp(26px, 4vw, 40px);
  background: rgba(255, 255, 255, 0.07);
}

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

.outcome-card li {
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.82);
}

.support-section {
  background: var(--surface);
}

.support-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.support-options article {
  min-height: 190px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.cta-section {
  background: var(--white);
}

.review-form {
  display: grid;
  gap: 14px;
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.review-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.review-form input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

.review-form input:focus {
  outline: 3px solid rgba(15, 118, 110, 0.18);
  border-color: var(--teal);
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--teal-dark);
  font-size: 14px;
  font-weight: 800;
}

.contact-section {
  color: var(--white);
  background: #172323;
}

.contact-section .eyebrow {
  color: #f0c17f;
}

.contact-inner {
  align-items: center;
}

.contact-card {
  display: grid;
  gap: 12px;
  justify-self: end;
  width: min(100%, 430px);
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.contact-card a {
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 800;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.contact-card span {
  color: rgba(255, 255, 255, 0.68);
}

.sample-page {
  background: var(--surface);
}

.sample-hero {
  padding: clamp(72px, 10vw, 120px) 0;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(23, 35, 35, 0.94), rgba(15, 118, 110, 0.82)),
    #172323;
}

.sample-hero-inner {
  max-width: 820px;
}

.sample-hero .eyebrow {
  color: #f0c17f;
}

.sample-hero h1 {
  font-size: clamp(42px, 6vw, 70px);
}

.sample-hero p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 19px;
}

.sample-docs-section {
  padding: clamp(64px, 8vw, 104px) 0;
}

.sample-doc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.pdf-preview {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.pdf-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-strong);
}

.pdf-toolbar span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.pdf-toolbar b {
  color: var(--teal-dark);
}

.pdf-page {
  min-height: 580px;
  margin: 22px;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid #e8ecea;
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(135deg, rgba(15, 118, 110, 0.15), rgba(57, 143, 216, 0.08)) border-box;
  box-shadow: 0 12px 30px rgba(23, 35, 35, 0.08);
}

.pdf-page header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 46px;
}

.pdf-page header span {
  display: inline-grid;
  width: 44px;
  height: 38px;
  place-items: center;
  border-radius: 8px;
  color: var(--white);
  background: linear-gradient(135deg, var(--teal-dark), var(--teal));
  font-size: 12px;
  font-weight: 900;
}

.pdf-page header p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-align: right;
  text-transform: uppercase;
}

.pdf-page h3 {
  max-width: 420px;
  font-size: clamp(28px, 4vw, 42px);
}

.pdf-page > p {
  color: var(--muted);
  font-size: 16px;
}

.pdf-score-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 34px 0 24px;
  padding: 18px;
  border-radius: 8px;
  background: var(--surface);
}

.pdf-score-row strong {
  color: var(--muted);
}

.pdf-score-row b {
  color: var(--teal-dark);
  font-size: 34px;
}

.pdf-bars {
  display: grid;
  gap: 12px;
  margin-bottom: 34px;
}

.pdf-bars span {
  width: var(--bar);
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--teal), #80beb5);
}

.pdf-bars.benchmark span {
  background: linear-gradient(90deg, #d79535, #e9c17d);
}

.pdf-page ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pdf-page li {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.modal-open {
  overflow: hidden;
}

.modal-shell {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: none;
  padding: 28px;
}

.modal-shell[aria-hidden="false"] {
  display: grid;
  place-items: center;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(23, 35, 35, 0.68);
  backdrop-filter: blur(10px);
}

.sample-modal {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  max-height: calc(100vh - 56px);
  overflow: auto;
  border-radius: 8px;
  outline: none;
}

.modal-close {
  position: sticky;
  z-index: 2;
  top: 14px;
  float: right;
  margin: 14px 14px 0 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.modal-preview {
  clear: both;
}

.sample-image-frame {
  clear: both;
  overflow: hidden;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.sample-image-frame img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 980px) {
  .main-nav {
    display: none;
  }

  .two-column,
  .split-feature,
  .support-layout,
  .cta-inner,
  .contact-inner,
  .benchmark-panel {
    grid-template-columns: 1fr;
  }

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

  .sample-doc-grid {
    grid-template-columns: 1fr;
  }

  .contact-card {
    justify-self: start;
  }

  .benchmark-panel {
    min-height: auto;
  }

  .ladder-step {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 18px;
  }

  .ladder-step p {
    grid-column: 2;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 14px 18px;
  }

  .brand span:last-child {
    display: none;
  }

  .nav-cta {
    padding: 9px 12px;
  }

  .hero {
    min-height: 660px;
  }

  .hero-media {
    background-position: 63% center;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(7, 21, 21, 0.94), rgba(7, 21, 21, 0.74)),
      linear-gradient(180deg, rgba(7, 21, 21, 0.25), rgba(7, 21, 21, 0.66));
  }

  .hero-content {
    width: calc(100% - 36px);
    margin: 0 auto;
  }

  h1 {
    font-size: 40px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .benchmark-panel {
    padding: 24px;
  }

  .snapshot-links {
    grid-template-columns: 1fr;
  }

  .support-options {
    grid-template-columns: 1fr;
  }

  .ladder-step {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 26px 0;
  }

  .ladder-step p {
    grid-column: auto;
  }
}
