/* Dental Detonation Advisory Line */
:root {
  --teal: #2f6b66;
  --teal-dark: #23524e;
  --teal-light: #dcebe8;
  --beige: #f3ead8;
  --beige-dark: #e6d9bf;
  --ink: #2b2f2e;
  --muted: #5f6664;
  --line: #cfc4ab;
  --base: 16px;
}
* { box-sizing: border-box; }
html { font-size: var(--base); scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  color: var(--ink);
  background: #e9e4d6;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); }
a:hover { color: var(--teal-dark); }
.wrap { max-width: 980px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 720px; }

/* top utility bar */
.topbar { background: var(--teal-dark); color: #e6efe9; font-size: 0.75rem; }
.topbar .wrap { display: flex; justify-content: space-between; padding-top: 4px; padding-bottom: 4px; }
.topbar a { color: #fff; text-decoration: none; margin-left: 4px; }
.topbar a[data-size="1.12"] { font-size: 0.85rem; }
.topbar a[data-size="1.25"] { font-size: 0.95rem; }

/* masthead */
.masthead { background: var(--beige); border-bottom: 4px solid var(--teal); }
.masthead-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 14px; padding-bottom: 14px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); }
.brand-text { display: flex; flex-direction: column; }
.brand-name { font-family: Georgia, "Times New Roman", serif; font-size: 1.6rem; color: var(--teal-dark); line-height: 1.15; }
.brand-tag { font-size: 0.8rem; color: var(--muted); }
.callbox { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 8px 16px; text-align: center; display: flex; flex-direction: column; }
.callbox-label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.callbox-number { font-family: Georgia, serif; font-size: 1.6rem; font-weight: bold; color: var(--teal-dark); text-decoration: none; letter-spacing: 0.02em; }
.callbox-digits { font-size: 0.8rem; color: var(--muted); }
.nav { background: var(--teal); }
.nav .wrap { display: flex; flex-wrap: wrap; gap: 4px 22px; padding-top: 8px; padding-bottom: 8px; }
.nav a { color: #fff; text-decoration: none; font-size: 0.85rem; font-weight: bold; }
.nav a:hover { text-decoration: underline; }

/* hero */
.hero { background: #fff; border-bottom: 1px solid var(--line); }
.hero-inner { display: grid; grid-template-columns: 1fr 1.15fr; gap: 32px; align-items: center; padding-top: 32px; padding-bottom: 32px; }
.hero h1 { font-family: Georgia, serif; font-weight: normal; font-size: 2.05rem; line-height: 1.2; color: var(--teal-dark); margin: 0 0 14px; }
.hero-small { font-size: 0.8rem; color: var(--muted); }
figure { margin: 0; }
figure img { border: 1px solid var(--line); padding: 4px; background: #fff; }
figcaption { font-size: 0.75rem; color: var(--muted); font-style: italic; margin-top: 6px; }
.button {
  display: inline-block; background: var(--teal); color: #fff; text-decoration: none;
  padding: 10px 20px; border-radius: 4px; font-weight: bold; border: 1px solid var(--teal-dark);
  font-family: inherit; font-size: 0.95rem; cursor: pointer;
}
.button:hover { background: var(--teal-dark); color: #fff; }

.notice { background: #fff8dc; border-bottom: 1px solid #e8dca8; font-size: 0.85rem; }
.notice p { margin: 0; padding: 10px 0; }

/* sections */
.section { padding: 44px 0; background: #fbf8f1; }
.section-alt { background: var(--beige); }
.section h2 { font-family: Georgia, serif; font-weight: normal; font-size: 1.7rem; color: var(--teal-dark); margin: 0 0 10px; border-bottom: 1px solid var(--line); padding-bottom: 6px; }
.lede { color: var(--muted); max-width: 720px; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 22px; }
.card { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--teal); padding: 18px; border-radius: 4px; }
.card img { width: 110px; margin: 0 auto 8px; }
.card h3 { margin: 0 0 6px; color: var(--teal-dark); font-family: Georgia, serif; font-weight: normal; font-size: 1.3rem; text-align: center; }
.card p { font-size: 0.9rem; margin: 0 0 10px; }
.card-tip { background: var(--teal-light); padding: 6px 10px; border-radius: 3px; font-size: 0.8rem !important; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.checklist { padding-left: 0; list-style: none; }
.checklist li { padding: 6px 0 6px 28px; position: relative; border-bottom: 1px dotted var(--line); font-size: 0.92rem; }
.checklist li::before { content: ""; position: absolute; left: 4px; top: 12px; width: 12px; height: 12px; border: 2px solid var(--teal); border-radius: 2px; background: #fff; }

.advisors { display: grid; gap: 22px; margin-top: 20px; }
.advisor { display: grid; grid-template-columns: 200px 1fr; gap: 22px; background: #fff; border: 1px solid var(--line); padding: 18px; border-radius: 4px; }
.advisor img { border: 1px solid var(--line); }
.advisor h3 { margin: 0; font-family: Georgia, serif; font-weight: normal; font-size: 1.35rem; color: var(--teal-dark); }
.role { margin: 0 0 8px; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.advisor p { font-size: 0.92rem; }

details { background: #fff; border: 1px solid var(--line); border-radius: 4px; margin-bottom: 8px; padding: 0 14px; }
summary { cursor: pointer; padding: 12px 0; font-weight: bold; color: var(--teal-dark); }
details p { margin: 0 0 12px; font-size: 0.92rem; }

.report-form { background: #fff; border: 1px solid var(--line); padding: 20px; border-radius: 4px; display: grid; gap: 14px; }
.report-form label { display: grid; gap: 4px; font-size: 0.88rem; font-weight: bold; }
.report-form label.check { display: flex; gap: 8px; align-items: flex-start; font-weight: normal; }
.report-form input[type=text], .report-form select, .report-form textarea {
  font: inherit; font-weight: normal; padding: 7px 8px; border: 1px solid #b9ae95; border-radius: 3px; background: #fffdf8;
}
.report-form .button { justify-self: start; }
.report-thanks { background: #fff; border: 1px solid var(--line); padding: 30px; text-align: center; border-radius: 4px; }
.report-thanks h3 { font-family: Georgia, serif; font-weight: normal; color: var(--teal-dark); font-size: 1.5rem; margin: 0; }

.cta { background: var(--teal); color: #fff; text-align: center; padding: 34px 0; }
.cta p { margin: 0 0 6px; }
.cta-number { display: inline-block; font-family: Georgia, serif; font-size: 2.6rem; color: #fff; text-decoration: none; font-weight: bold; letter-spacing: 0.03em; }
.cta-small { font-size: 0.8rem; opacity: 0.85; }

.footer { background: #d9d1bd; font-size: 0.8rem; color: #4a4f4d; padding: 22px 0 30px; }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.counter-digits { font-family: "Courier New", monospace; background: #222; color: #7fe08a; padding: 1px 5px; letter-spacing: 0.1em; }
.legal { margin-top: 14px; border-top: 1px solid #c6bca3; padding-top: 10px; }
.legal h4 { margin: 0 0 4px; }
.legal p { margin: 0; }

/* the ticking cursor over phone numbers */
a[href^="tel:"] { cursor: pointer; }
.ticking a[href^="tel:"] { cursor: progress; }

@media (max-width: 760px) {
  .hero-inner, .two-col { grid-template-columns: 1fr; }
  .two-col.reverse figure { order: 2; }
  .cards { grid-template-columns: 1fr; }
  .advisor { grid-template-columns: 1fr; }
  .advisor img { max-width: 220px; }
  .masthead-inner { justify-content: center; text-align: center; }
  .brand { flex-direction: column; }
  .brand-name { font-size: 1.35rem; }
  .callbox { width: 100%; }
  .hero h1 { font-size: 1.6rem; }
  .cta-number { font-size: 1.9rem; }
  .topbar-right { display: none; }
}
