/* Homepage only. Shared styles and legal pages keep their existing appearance. */
.dental-landing {
  --muted: #52645b;
  background: #fff;
  font-size: 16px;
  line-height: 1.55;
}
.dental-landing [hidden] { display: none !important; }
.dental-landing .page-width { width: min(100% - 5rem, 1180px); margin-inline: auto; }
.dental-landing .landing-section { padding-block: 88px; }
.dental-landing h1, .dental-landing h2, .dental-landing h3 { text-wrap: balance; }
.dental-landing h2 { font-size: clamp(1.9rem, 3.1vw, 2.75rem); line-height: 1.14; letter-spacing: -.035em; }
.dental-landing h3 { font-size: 1.2rem; line-height: 1.3; letter-spacing: -.015em; }
.dental-landing p { margin-bottom: 1rem; }
.dental-landing .eyebrow { font-size: .75rem; letter-spacing: .065em; font-weight: 750; }
.dental-landing .section-heading { max-width: 690px; margin-bottom: 36px; }
.dental-landing .section-heading p:not(.eyebrow) { font-size: 1.05rem; }
.dental-landing .section-heading h2 { margin-bottom: 20px; }
.dental-landing .site-header { min-height: 76px; padding: 12px max(24px, calc((100% - 1180px) / 2)); background: #f8fcf7f5; }
.dental-landing .brand { font-size: 1.3rem; letter-spacing: -.04em; }
.dental-landing .nav-links { font-size: .875rem; gap: 28px; }
.dental-landing .header-actions { display: flex; align-items: center; gap: 18px; }
.dental-landing .language-switch { display: flex; align-items: center; gap: 2px; }
.dental-landing .language-switch a { display: grid; place-items: center; min-width: 36px; min-height: 44px; border-radius: 6px; color: var(--muted); font-size: .75rem; font-weight: 700; }
.dental-landing .language-switch a[aria-current="page"] { color: var(--green-dark); background: #e3efdf; }
.dental-landing .language-switch a:hover { background: #eef4eb; color: var(--green-dark); }
.dental-landing .nav-cta, .dental-landing .primary-action { display: inline-flex; box-shadow: none; font-weight: 700; }
.dental-landing .primary-action { gap: 20px; min-height: 50px; padding: 12px 22px; border: 0; font-size: .96rem; font-family: inherit; cursor: pointer; }
.dental-landing .primary-action:hover, .dental-landing .nav-cta:hover { transform: none; }
.dental-landing .text-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--green-dark); font-weight: 700; text-decoration: underline; text-underline-offset: 5px; }
.dental-landing :where(a, button, input, select, textarea, summary):focus-visible { outline: 3px solid #315c96; outline-offset: 4px; }
.dental-landing [id] { scroll-margin-top: 100px; }
.dental-landing .skip-link { position: fixed; left: 16px; top: -100px; z-index: 20; padding: 12px; color: #fff; background: var(--green-dark); }
.dental-landing .skip-link:not(:focus) { clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; white-space: nowrap; padding: 0; }
.dental-landing .skip-link:focus { top: 10px; }
.dental-landing .dental-hero { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 64px; padding-block: 64px 72px; }
.dental-landing main { background: radial-gradient(ellipse 900px 660px at 80% 0, #f4f7e5, transparent); }
.dental-landing h1 { max-width: 18ch; font-size: clamp(2.6rem, 4.25vw, 3.9rem); letter-spacing: -.045em; line-height: 1.07; margin-bottom: 26px; }
.dental-landing h1 span { color: var(--green); }
.dental-landing .hero-lede { font-size: 1.13rem; line-height: 1.6; }
.dental-landing .hero-value { color: var(--muted); font-size: 1rem; max-width: 47ch; }
.dental-landing .hero-value strong { color: var(--ink); font-weight: 650; }
.dental-landing .hero-actions { gap: 12px 24px; margin: 27px 0 22px; }
.dental-landing .hero-reassurance { padding-left: 14px; border-left: 3px solid #a3c9ac; color: var(--muted); font-size: .9rem; line-height: 1.6; margin-bottom: 0; }
.dental-landing .conversation-demo { margin: 0; min-width: 0; }
.dental-landing .conversation-demo figcaption { margin-bottom: 12px; color: var(--muted); font-size: .78rem; text-align: center; }
.dental-landing .chat-window { border: 1px solid #cbd9cf; border-radius: 18px; overflow: hidden; box-shadow: 0 20px 60px #173b2412; }
.dental-landing .chat-header { display: flex; gap: 10px; align-items: center; padding: 17px 18px; background: #164c3d; color: #fff; }
.dental-landing .chat-avatar { flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; background: #e8f5df; color: #164c3d; display: grid; place-items: center; font-weight: 800; }
.dental-landing .chat-header strong { display: block; font-size: .95rem; }
.dental-landing .chat-header div > span { display: block; font-size: .7rem; color: #deeee4; }
.dental-landing .chat-channel { margin-left: auto; font-size: .65rem; border: 1px solid #729b89; border-radius: 20px; padding: 3px 7px; }
.dental-landing .chat-messages { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; background: #eeeae1; padding: 14px 20px 20px; }
.dental-landing .chat-day { align-self: center; color: #55645b; background: #ffffffc9; border-radius: 6px; padding: 4px 9px; font-size: .7rem; margin: 0 0 3px; }
.dental-landing .chat-bubble { max-width: 91%; padding: 10px 13px; margin: 0; border-radius: 9px; font-size: .86rem; line-height: 1.4; box-shadow: 0 1px 1px #0000000d; }
.dental-landing .chat-bubble.patient { align-self: flex-end; background: #d8f4dc; border-top-right-radius: 2px; }
.dental-landing .chat-bubble.assistant { background: #fff; border-top-left-radius: 2px; }
.dental-landing .speaker { display: block; color: #376348; font-size: .64rem; font-weight: 750; margin-bottom: 3px; }
.dental-landing .chat-result { display: flex; align-items: center; gap: 12px; padding: 16px 20px; background: #fff; border-top: 1px solid #dbe5df; }
.dental-landing .chat-result > span { background: #e5f3e7; color: #155638; border-radius: 50%; width: 30px; height: 30px; flex-shrink: 0; display: grid; place-items: center; }
.dental-landing .chat-result strong { display: block; font-size: .8rem; }
.dental-landing .chat-result div > span { font-size: .7rem; color: var(--muted); display: block; }
.dental-landing .demo-note { font-size: .72rem; line-height: 1.5; color: var(--muted); margin: 12px 8px 0; }
.dental-landing .problem-section { background: #f6f8f5; border-block: 1px solid #e2e9e2; }
.dental-landing .pain-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.dental-landing .pain-grid article { border-top: 2px solid #a0b7a7; padding-top: 22px; }
.dental-landing .scenario-label { display: block; color: var(--muted); font-size: .73rem; margin-bottom: 12px; }
.dental-landing .pain-grid h3 { margin-bottom: 14px; }
.dental-landing .pain-grid p { color: var(--muted); font-size: .94rem; margin: 0; }
.dental-landing .booking-flow { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); padding: 0; margin: 0; gap: 30px; }
.dental-landing .step-number { display: block; border-bottom: 1px solid #cbdacf; padding-bottom: 18px; margin-bottom: 22px; color: var(--green); font-size: 1.4rem; font-weight: 650; }
.dental-landing .booking-flow li { position: relative; }
.dental-landing .booking-flow li:not(:last-child)::after { content: '→'; color: #52755d; position: absolute; right: -20px; top: 6px; }
.dental-landing .booking-flow p { color: var(--muted); font-size: .94rem; }
.dental-landing .human-branch { display: flex; align-items: center; gap: 15px; padding: 16px 24px; background: #eff6ed; border-radius: 8px; margin-top: 20px; }
.dental-landing .human-branch > span { font-size: 1.6rem; color: var(--green); }
.dental-landing .human-branch p { margin: 0; font-size: .94rem; }
.dental-landing .split-section { display: grid; grid-template-columns: 1fr 1fr; gap: 88px; align-items: start; }
.dental-landing .dental-section { border-top: 1px solid var(--line); }
.dental-landing .example-row { padding: 20px 0; border-bottom: 1px solid var(--line); }
.dental-landing .example-row:first-child { padding-top: 0; }
.dental-landing .example-row p, .dental-landing .medical-boundary p { font-size: 1.08rem; font-weight: 650; line-height: 1.7; margin-bottom: 8px; }
.dental-landing .example-row span, .dental-landing .medical-boundary span { display: block; color: var(--muted); font-size: .91rem; }
.dental-landing .medical-boundary { padding: 22px; border-left: 3px solid #c0a66a; background: #faf7ef; margin-top: 22px; }
.dental-landing .control-section { background: #163a2d; color: #fff; }
.dental-landing .control-section .eyebrow { color: #b4dcbe; }
.dental-landing .control-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 88px; }
.dental-landing .control-section .section-heading p:not(.eyebrow) { color: #d8e6dd; }
.dental-landing .control-list { list-style: none; padding: 0; margin: 0; }
.dental-landing .control-list li { border-bottom: 1px solid #ffffff29; padding: 0 0 18px; margin: 0 0 18px; color: #d8e6dd; font-size: .98rem; }
.dental-landing .control-list strong { display: block; color: #fff; margin-bottom: 5px; }
.dental-landing .comparison { display: grid; grid-template-columns: 1fr 1fr; margin: 28px 0 32px; border: 1px solid #ffffff30; border-radius: 10px; overflow: hidden; }
.dental-landing .comparison > div { padding: 26px 30px; }
.dental-landing .comparison h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; }
.dental-landing .comparison p { font-size: 1.06rem; line-height: 1.8; }
.dental-landing .comparison span { font-size: .86rem; }
.dental-landing .comparison-before { color: #d1dfd6; }
.dental-landing .comparison-after { background: #e6f2df; color: #183e2e; }
.dental-landing .control-section .primary-action { background: #e6f2df; color: #183e2e; }
.dental-landing .control-section .primary-action:hover { background: #fff; }
.dental-landing .integration-list { margin: 0; }
.dental-landing .integration-list > div { padding-bottom: 24px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.dental-landing .integration-list > div:last-child { margin-bottom: 0; }
.dental-landing .integration-list dt { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 1.1rem; }
.dental-landing .integration-symbol { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid #cbdacf; border-radius: 7px; font-size: .82rem; color: var(--green-dark); }
.dental-landing .integration-list dd { color: var(--muted); margin: 10px 0 0 42px; font-size: .95rem; }
.dental-landing .setup-section { background: #f6f8f5; border-block: 1px solid #e2e9e2; }
.dental-landing .setup-list { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 60px; list-style: none; padding: 0; margin: 0; }
.dental-landing .setup-list li { display: flex; align-items: flex-start; gap: 18px; }
.dental-landing .setup-list li > span { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid #bdcfbf; border-radius: 50%; flex-shrink: 0; font-size: .85rem; color: var(--green-dark); }
.dental-landing .setup-list h3 { margin-bottom: 10px; }
.dental-landing .setup-list p { color: var(--muted); font-size: .95rem; margin: 0; }
.dental-landing .setup-note { margin: 32px 0 0; padding-top: 24px; border-top: 1px solid #d5e0d6; color: var(--muted); font-size: .91rem; }
.dental-landing .faq-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 88px; }
.dental-landing .faq-list { width: 100%; gap: 0; }
.dental-landing .faq-list details { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; }
.dental-landing .faq-list summary { padding: 20px 4px; font-size: .98rem; font-weight: 650; line-height: 1.5; }
.dental-landing .faq-list p { padding: 0 4px 20px; font-size: .94rem; }
.dental-landing :where(.faq-list, .form-privacy, .demo-draft, .demo-form-card noscript) a { text-decoration: underline; text-underline-offset: 3px; }
.dental-landing .demo-section { background: #edf5e8; border-top: 1px solid #d7e5d2; }
.dental-landing .demo-offer h2 { max-width: 18ch; margin-bottom: 24px; }
.dental-landing .demo-offer > p:not(.eyebrow) { color: #465d4e; }
.dental-landing .demo-offer ul { padding-left: 20px; color: #354f40; }
.dental-landing .demo-offer li { margin-bottom: 12px; }
.dental-landing .contact-direct { margin-top: 36px; }
.dental-landing .contact-direct a { font-weight: 700; color: var(--green-dark); text-decoration: underline; text-underline-offset: 4px; overflow-wrap: anywhere; }
.dental-landing .demo-form-card { background: #fff; border: 1px solid #d4e1d0; border-radius: 12px; padding: 30px; min-width: 0; }
.dental-landing .demo-form-card h3 { font-size: 1.5rem; margin-bottom: 12px; }
.dental-landing #form-help { color: var(--muted); font-size: .9rem; margin-bottom: 24px; }
.dental-landing .form-row { margin-bottom: 17px; }
.dental-landing .form-row label, .dental-landing .demo-draft label { display: block; margin-bottom: 6px; font-size: .85rem; font-weight: 650; }
.dental-landing .form-row label span { font-weight: 400; color: var(--muted); }
.dental-landing :where(input, select, textarea) { display: block; width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid #acbdb0; border-radius: 6px; color: var(--ink); background: #fff; font: inherit; font-size: 1rem; }
.dental-landing textarea { resize: vertical; }
.dental-landing ::placeholder { color: #627067; opacity: 1; }
.dental-landing .field-hint { display: block; margin-top: 5px; font-size: .75rem; color: var(--muted); }
.dental-landing .form-privacy { font-size: .77rem; color: var(--muted); }
.dental-landing .demo-form-card .primary-action { width: 100%; min-width: 0; text-decoration: none; text-align: center; }
.dental-landing .demo-draft { border-top: 1px solid var(--line); margin-top: 24px; padding-top: 20px; }
.dental-landing #draft-status { color: var(--green-dark); font-size: .94rem; }
.dental-landing .demo-draft details { margin-top: 16px; font-size: .87rem; }
.dental-landing .demo-draft summary { cursor: pointer; padding-block: 10px; min-height: 44px; }
.dental-landing .demo-draft textarea { font-size: .85rem; }
.dental-landing .site-footer { padding: 44px max(24px, calc((100% - 1180px) / 2)); }
.dental-landing .site-footer p, .dental-landing .site-footer nav { font-size: .86rem; }
.dental-landing .site-footer nav a { display: inline-flex; align-items: center; min-height: 32px; }
@media (min-width: 1600px) { .dental-landing .dental-hero { gap: 80px; } }
@media (max-width: 1000px) {
  .dental-landing .page-width { width: calc(100% - 48px); }
  .dental-landing .nav-links { gap: 16px; }
  .dental-landing .dental-hero { gap: 32px; padding-block: 48px; }
  .dental-landing h1 { font-size: clamp(2.45rem, 4.6vw, 3.2rem); }
  .dental-landing .pain-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .dental-landing .split-section, .dental-landing .control-intro, .dental-landing .faq-layout { gap: 40px; }
  .dental-landing .booking-flow { gap: 22px; }
  .dental-landing .chat-channel { display: none; }
}
@media (max-width: 920px) {
  .dental-landing .page-width { width: calc(100% - 40px); }
  .dental-landing .site-header { min-height: 68px; padding: 10px 20px; gap: 12px; }
  .dental-landing .nav-links { display: none; }
  .dental-landing .brand { font-size: 1.15rem; }
  .dental-landing .nav-cta { min-height: 44px; padding: 0 12px; font-size: .78rem; }
  .dental-landing .brand-mark { width: 31px; height: 31px; font-size: .9rem; }
  .dental-landing .dental-hero { grid-template-columns: 1fr; gap: 38px; padding-block: 40px 50px; }
  .dental-landing h1 { max-width: 19ch; font-size: clamp(2.4rem, 7.3vw, 3.4rem); }
  .dental-landing .hero-copy { max-width: 560px; }
  .dental-landing .hero-lede { font-size: 1.05rem; }
  .dental-landing .hero-actions { margin-block: 24px 20px; }
  .dental-landing .conversation-demo { width: min(100%, 500px); margin-inline: auto; }
  .dental-landing .chat-channel { display: inline; }
  .dental-landing .landing-section { padding-block: 56px; }
  .dental-landing .section-heading { margin-bottom: 28px; }
  .dental-landing .section-heading p:not(.eyebrow) { font-size: 1rem; }
  .dental-landing .split-section, .dental-landing .control-intro, .dental-landing .faq-layout { grid-template-columns: 1fr; gap: 28px; }
  .dental-landing .booking-flow { grid-template-columns: 1fr 1fr; gap: 20px 28px; }
  .dental-landing .booking-flow li:nth-child(2)::after { content: none; }
  .dental-landing .step-number { padding-bottom: 12px; margin-bottom: 16px; }
  .dental-landing .setup-list { grid-template-columns: 1fr; gap: 26px; }
  .dental-landing .control-intro .section-heading { margin-bottom: 0; }
  .dental-landing .comparison { grid-template-columns: 1fr; margin-top: 12px; }
  .dental-landing .comparison > div { padding: 24px; }
  .dental-landing .demo-offer h2 { max-width: 23ch; }
  .dental-landing .demo-form-card { padding: 24px; }
  .dental-landing .faq-layout { gap: 0; }
  .dental-landing .site-footer { padding: 36px 20px; grid-template-columns: 1fr; gap: 28px; }
  .dental-landing .site-footer nav a { min-height: 40px; }
}
@media (max-width: 620px) {
  .dental-landing .site-header { flex-wrap: wrap; row-gap: 4px; }
  .dental-landing .header-actions { display: contents; }
  .dental-landing .language-switch { margin-left: auto; }
  .dental-landing .site-header .nav-cta { width: 100%; min-height: 44px; }
  .dental-landing [id] { scroll-margin-top: 130px; }
}
@media (max-width: 420px) {
  .dental-landing .page-width { width: calc(100% - 36px); }
  .dental-landing .site-header { padding-inline: 16px; }
  .dental-landing .eyebrow { font-size: .68rem; }
  .dental-landing .pain-grid { grid-template-columns: 1fr; gap: 26px; }
  .dental-landing .chat-messages { padding-inline: 12px; }
  .dental-landing .chat-header { padding-inline: 12px; }
  .dental-landing .chat-bubble { max-width: 94%; }
  .dental-landing .chat-channel { display: none; }
  .dental-landing .hero-actions .primary-action { width: 100%; }
  .dental-landing .demo-form-card { padding: 20px; }
  .dental-landing .booking-flow { grid-template-columns: 1fr; gap: 20px; }
  .dental-landing .booking-flow li { padding-left: 48px; }
  .dental-landing .booking-flow li::after { display: none; }
  .dental-landing .step-number { position: absolute; left: 0; top: -3px; border: 0; padding: 0; margin: 0; font-size: 1.1rem; }
}
@media (prefers-reduced-motion: reduce) {
  html:has(.dental-landing) { scroll-behavior: auto; }
  .dental-landing *, .dental-landing *::before, .dental-landing *::after { transition: none !important; animation: none !important; }
}
.dental-landing #demo-status { margin-top: 20px; line-height: 1.6; }
.dental-landing #demo-form button:disabled { opacity: .65; cursor: wait; }
