/* DentiNow marketing site. One stylesheet for every page; tokens first, then the shared
   shell (header, footer, sections, cards), then the pieces only one page uses. */

:root {
  --ink: #0e2230;
  --ink-soft: #46586a;
  --prose: #2b3f50;
  --ground: #ffffff;
  --ground-alt: #f2f6f7;
  --line: #dce5e8;
  --teal: #0a7c70;
  --teal-dark: #075e55;
  --teal-tint: #e3f3f0;
  --mint: #7fe3d0;
  --amber: #ffc55a;
  --amber-tint: #ffe9bf;
  --night-card: #15303f;
  --night-line: #23475a;
  --night-bubble: #1f4254;
  --night-text: #c5d3dc;
  --night-muted: #9fb3c0;

  --font-display: 'Bricolage Grotesque', 'Trebuchet MS', sans-serif;
  --font-body: 'Instrument Sans', 'Helvetica Neue', Helvetica, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

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

h1,
h2,
h3,
p,
ul,
ol,
figure,
blockquote {
  margin: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 700;
  text-wrap: balance;
}

h1 {
  font-size: clamp(40px, 5.2vw, 60px);
  line-height: 1.04;
  letter-spacing: -0.025em;
}

h2 {
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

h3 {
  font-size: 22px;
  line-height: 1.2;
}

a {
  color: var(--teal);
}

a:hover {
  color: var(--teal-dark);
}

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

.icon {
  flex-shrink: 0;
}

.container {
  max-width: 1248px;
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
}

.lede {
  font-size: 19px;
  color: var(--ink-soft);
}

.fine-print {
  font-size: 14px;
  color: var(--night-muted);
}

/* Buttons */

.button {
  display: inline-block;
  padding: 16px 28px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 600;
  line-height: 20px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.button-outline,
.button-outline:hover {
  border-color: #5e7e90;
  color: #ffffff;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
}

/* The call to action: the demo line, highlighted wherever it appears */

.call-cta,
.call-cta:hover {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 12px 24px 12px 12px;
  border-radius: 999px;
  background: var(--amber);
  color: var(--ink);
  text-decoration: none;
}

.call-cta:hover {
  background: #ffd27d;
}

.call-cta-icon {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--amber);
}

.call-cta-text {
  display: flex;
  flex-direction: column;
}

.call-cta-label {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
}

.call-cta strong {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.call-cta-compact,
.call-cta-compact:hover {
  gap: 10px;
  padding: 6px 18px 6px 6px;
}

.call-cta-compact .call-cta-icon {
  width: 36px;
  height: 36px;
}

.call-cta-compact .icon {
  width: 18px;
  height: 18px;
}

.call-cta-compact .call-cta-label {
  font-size: 12px;
}

.call-cta-compact strong {
  font-size: 18px;
}

.call-cta-large,
.call-cta-large:hover {
  gap: 18px;
  padding: 16px 28px 16px 16px;
  border-radius: 20px;
}

.call-cta-large .call-cta-icon {
  width: 64px;
  height: 64px;
}

.call-cta-large .icon {
  width: 30px;
  height: 30px;
}

.call-cta-large .call-cta-label {
  font-size: 17px;
}

.call-cta-large strong {
  font-size: clamp(30px, 4vw, 44px);
}

/* Header */

.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--ground);
  padding: 16px 0;
}

.site-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px 32px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--ink);
  text-decoration: none;
}

.logo:hover {
  color: var(--ink);
}

.logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--teal);
  color: #ffffff;
}

.logo-word {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.logo-word span {
  color: var(--teal);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px 28px;
}

.site-nav a:not(.call-cta) {
  padding: 12px 0;
  color: var(--ink);
  font-weight: 500;
  line-height: 20px;
  text-decoration: none;
}

.site-nav a:not(.call-cta):hover {
  color: var(--teal);
}

/* Sections */

.section {
  padding: 96px 0;
}

.section-alt {
  background: var(--ground-alt);
}

.section-night {
  background: var(--ink);
  color: #ffffff;
}

.section-night .eyebrow {
  color: var(--mint);
}

.section-night .lede {
  color: var(--night-text);
}

.section-teal {
  background: var(--teal);
  color: #ffffff;
}

.section-teal .lede,
.section-teal .split-copy > p {
  color: #ffffff;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 720px;
  margin-bottom: 48px;
}

.section-head-split {
  flex-flow: row wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 48px;
  max-width: none;
}

.section-head-split > div {
  display: flex;
  flex: 1 1 520px;
  flex-direction: column;
  gap: 16px;
}

.section-head-split > .lede {
  flex: 1 1 360px;
}

.section-note {
  max-width: 820px;
  margin-top: 48px;
  color: var(--ink-soft);
}

.grid {
  display: grid;
  gap: 24px;
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
}

.split {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 48px 64px;
}

.split-center {
  align-items: center;
}

.split > * {
  flex: 1 1 440px;
  min-width: 0;
}

.split-copy {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.split-copy > p {
  color: var(--ink-soft);
}

/* Cards */

.card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--ground);
}

.card p {
  color: var(--ink-soft);
}

.card-tint {
  border-color: transparent;
  background: var(--ground-alt);
}

.card-night {
  gap: 10px;
  border-color: var(--night-line);
  background: var(--night-card);
}

.card-night p {
  color: var(--night-text);
}

.card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--teal-tint);
  color: var(--teal);
}

.callout {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 24px;
  border-radius: 16px;
  background: var(--teal-tint);
}

.callout-amber {
  background: var(--amber-tint);
}

.callout-amber strong {
  font-family: var(--font-display);
  font-size: 20px;
}

/* Landing: hero */

.hero {
  padding: 88px 0 96px;
}

.hero-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 56px 64px;
}

.hero-copy {
  display: flex;
  flex: 1 1 480px;
  flex-direction: column;
  gap: 28px;
  min-width: 0;
}

.hero-copy .lede {
  max-width: 560px;
}

.hero-tagline {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  line-height: 1.25;
  color: var(--amber);
}

.hero-hipaa {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--night-text);
}

.hero-hipaa .icon {
  width: 20px;
  height: 20px;
  color: var(--mint);
}

.call-card {
  display: flex;
  flex: 1 1 420px;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--night-line);
  border-radius: 24px;
  background: var(--night-card);
}

.call-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--night-line);
}

.call-card-line {
  display: flex;
  align-items: center;
  gap: 10px;
}

.call-card-line div {
  display: flex;
  flex-direction: column;
}

.call-card-line span {
  font-size: 14px;
  color: var(--night-text);
}

.call-card-phone {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--mint);
}

.call-card-phone .icon {
  width: 18px;
  height: 18px;
  color: var(--ink);
}

.call-card-tag {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--ink);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--night-text);
}

.bubble {
  max-width: 86%;
  padding: 12px 16px;
  line-height: 1.45;
}

.bubble-agent {
  align-self: flex-start;
  border-radius: 16px 16px 16px 4px;
  background: var(--night-bubble);
  color: #e6eef2;
}

.bubble-caller {
  align-self: flex-end;
  border-radius: 16px 16px 4px 16px;
  background: var(--mint);
  color: var(--ink);
}

.booking {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 6px;
  padding: 18px 20px;
  border-radius: 16px;
  background: var(--ground);
  color: var(--ink);
}

.booking-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--teal);
}

.booking-status .icon {
  width: 18px;
  height: 18px;
}

.booking-when {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.booking-detail {
  font-size: 15px;
  line-height: 1.45;
  color: var(--ink-soft);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  padding: 5px 12px;
  border-radius: 999px;
  background: #eef3f5;
  font-size: 14px;
  font-weight: 500;
}

.chip-urgent {
  background: var(--amber-tint);
  font-weight: 600;
}

/* Landing: fact strip and steps */

.facts {
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
  background: var(--ground-alt);
}

.facts .grid {
  gap: 24px 32px;
}

.facts h2 {
  margin-bottom: 4px;
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.facts p {
  line-height: 1.45;
  color: var(--ink-soft);
}

.steps {
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  gap: 12px;
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: var(--ink);
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
}

/* Landing: safety */

.red-flags {
  padding: 32px;
  border-radius: 24px;
  background: var(--ink);
  color: #ffffff;
}

.red-flags h3 {
  padding-bottom: 16px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber);
}

.red-flags ul {
  padding: 0;
  list-style: none;
}

.red-flags li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--night-line);
  font-size: 17px;
  line-height: 1.45;
}

.red-flags .icon {
  width: 22px;
  height: 22px;
  margin-top: 2px;
  color: var(--amber);
}

.red-flags p {
  padding-top: 16px;
  border-top: 1px solid var(--night-line);
  font-size: 15px;
  line-height: 1.5;
  color: var(--night-text);
}

/* Landing: pricing */

.pricing {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.price-card {
  display: flex;
  flex: 1 1 440px;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  min-width: 0;
  padding: 40px;
  border-radius: 24px;
  background: var(--ink);
  color: #ffffff;
}

.price strong {
  font-family: var(--font-display);
  font-size: 88px;
  line-height: 1;
  letter-spacing: -0.03em;
}

.price span {
  font-size: 20px;
  font-weight: 500;
  color: var(--night-text);
}

.price-minimum {
  padding: 8px 16px;
  border-radius: 20px;
  background: var(--amber);
  font-weight: 600;
  color: var(--ink);
}

.price-terms {
  font-size: 15px;
  color: var(--night-text);
}

.checklist {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 0;
  list-style: none;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 17px;
  line-height: 1.45;
}

.checklist .icon {
  width: 22px;
  height: 22px;
  margin-top: 1px;
  color: var(--mint);
}

.calculator {
  display: flex;
  flex: 1 1 380px;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  padding: 40px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--ground-alt);
}

.calculator h3 {
  margin-bottom: 12px;
  font-size: 26px;
  line-height: 1.15;
}

.calculator label,
.calculator p,
.calculator-result span {
  color: var(--ink-soft);
}

.calculator label {
  font-weight: 500;
}

.calculator-count {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 700;
  line-height: 1.1;
}

.calculator input[type='range'] {
  width: 100%;
  height: 44px;
  margin: 0;
  accent-color: var(--teal);
}

.calculator-result {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 12px 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--ground);
}

.calculator-total {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--teal);
}

/* Landing: testimonials and demo */

.testimonial {
  justify-content: space-between;
  gap: 28px;
  padding: 32px;
}

.testimonial blockquote {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.35;
}

.testimonial figcaption {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.testimonial figcaption span {
  font-size: 15px;
  color: var(--ink-soft);
}

.demo-call {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 32px;
  border-radius: 24px;
  background: var(--ground);
  color: var(--ink);
}

.demo-call p {
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-soft);
}

/* Long-form pages (privacy, terms, BAA) */

.page-title {
  padding: 72px 0 64px;
  border-bottom: 1px solid var(--line);
  background: var(--ground-alt);
}

.page-title .container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.page-title h1 {
  font-size: clamp(38px, 5vw, 56px);
}

.page-title .lede {
  max-width: 680px;
}

.page-title-updated {
  font-size: 15px;
  color: var(--ink-soft);
}

.legal {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 40px 80px;
}

.legal-contents {
  display: flex;
  flex: 0 1 240px;
  flex-direction: column;
  min-width: 0;
}

.legal-contents h2 {
  padding-bottom: 8px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.legal-contents a {
  padding: 12px 0;
  border-top: 1px solid var(--line);
  line-height: 20px;
  text-decoration: none;
}

.prose {
  display: flex;
  flex: 1 1 560px;
  flex-direction: column;
  gap: 40px;
  min-width: 0;
  max-width: 720px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--prose);
}

.prose section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.prose h2 {
  font-size: 30px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.prose h3 {
  margin-top: 8px;
  font-family: var(--font-body);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
}

.prose ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-left: 22px;
}

.prose .callout {
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
}

/* Footer */

.site-footer {
  padding: 64px 0 40px;
  border-top: 1px solid var(--night-line);
  background: var(--ink);
  color: var(--night-text);
}

.site-footer-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 40px 48px;
}

.site-footer-brand {
  display: flex;
  flex: 2 1 320px;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.site-footer-brand p {
  max-width: 360px;
}

.site-footer .logo,
.site-footer .logo:hover {
  color: #ffffff;
}

.site-footer .logo-word span {
  color: var(--mint);
}

.site-footer-column {
  display: flex;
  flex: 1 1 160px;
  flex-direction: column;
  min-width: 0;
}

.site-footer-column h2 {
  padding-bottom: 8px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--night-muted);
}

.site-footer-column a,
.site-footer-column span {
  padding: 12px 0;
  color: var(--night-text);
  line-height: 20px;
  text-decoration: none;
}

.site-footer-column a:hover {
  color: #ffffff;
}

.site-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 32px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--night-line);
}

.site-footer-bottom div:last-child {
  max-width: 640px;
}

/* Narrow screens: the section links leave the header (the footer repeats them), and the
   vertical rhythm tightens. */

@media (max-width: 760px) {
  .site-nav a:not(.call-cta) {
    display: none;
  }

  .site-header-row {
    flex-wrap: wrap;
    gap: 8px 12px;
  }

  .logo-word {
    font-size: 20px;
  }

  .call-cta-compact,
  .call-cta-compact:hover {
    gap: 8px;
    padding: 6px 14px 6px 6px;
  }

  .call-cta-compact .call-cta-icon {
    width: 32px;
    height: 32px;
  }

  .call-cta-compact strong {
    font-size: 16px;
  }

  .section {
    padding: 64px 0;
  }

  .hero {
    padding: 56px 0 64px;
  }

  .price-card,
  .calculator {
    padding: 28px;
  }

  .demo-call {
    padding: 20px;
  }

  .call-cta-large,
  .call-cta-large:hover {
    gap: 12px;
    padding: 12px 16px 12px 12px;
  }

  .call-cta-large .call-cta-icon {
    width: 44px;
    height: 44px;
  }

  .call-cta-large .icon {
    width: 22px;
    height: 22px;
  }

  .call-cta-large .call-cta-label {
    font-size: 14px;
  }

  .call-cta-large strong {
    font-size: 26px;
  }

  .price strong {
    font-size: 72px;
  }
}

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