/* DentalAirPolisher.com — base stylesheet
   Clean, dental/medical, mobile-first
   Palette: white / navy / light gray / cyan
*/

:root {
  --color-bg: #ffffff;
  --color-bg-alt: #f5f7fa;
  --color-bg-soft: #eef3f8;
  --color-text: #0a2540;
  --color-text-soft: #4a5568;
  --color-border: #e2e8f0;
  --color-accent: #00b4d8;
  --color-accent-dark: #0096b8;
  --color-accent-soft: #e0f7fb;
  --color-warn: #b45309;

  --radius: 8px;
  --radius-lg: 12px;
  --shadow-sm: 0 1px 2px rgba(10, 37, 64, 0.06);
  --shadow-md: 0 4px 12px rgba(10, 37, 64, 0.08);

  --container: 1080px;
  --container-narrow: 760px;

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }

a {
  color: var(--color-accent-dark);
  text-decoration: none;
}
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  color: var(--color-text);
  line-height: 1.25;
  margin: 0 0 0.6em;
  font-weight: 700;
  letter-spacing: -0.01em;
}

h1 { font-size: 2.2rem; }
h2 { font-size: 1.6rem; margin-top: 1.8em; }
h3 { font-size: 1.2rem; margin-top: 1.4em; }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1em; }

ul, ol { margin: 0 0 1em; padding-left: 1.4em; }
li { margin-bottom: 0.4em; }

hr {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: 2.5rem 0;
}

/* Layout */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}
.container-narrow {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(180%) blur(8px);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand {
  font-weight: 800;
  color: var(--color-text);
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.brand:hover { text-decoration: none; }
.brand-mark {
  display: inline-block;
  width: 22px; height: 22px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.nav a {
  color: var(--color-text);
  font-weight: 500;
  font-size: 0.95rem;
}
.nav a:hover { color: var(--color-accent-dark); text-decoration: none; }
.nav .btn { font-size: 0.92rem; padding: 8px 14px; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 6px 10px;
  cursor: pointer;
  font-size: 1.1rem;
}

@media (max-width: 820px) {
  .nav { display: none; }
  .nav.open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border-bottom: 1px solid var(--color-border);
    padding: 12px 20px 18px;
    gap: 14px;
    box-shadow: var(--shadow-md);
  }
  .nav.open .btn { width: 100%; text-align: center; }
  .nav-toggle { display: inline-block; }
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.1s;
  text-align: center;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--color-accent);
  color: #fff;
}
.btn-primary:hover { background: var(--color-accent-dark); color: #fff; }

.btn-secondary {
  background: #fff;
  color: var(--color-text);
  border-color: var(--color-border);
}
.btn-secondary:hover { border-color: var(--color-accent); color: var(--color-accent-dark); }

.btn-block { display: block; width: 100%; }

/* Hero */
.hero {
  background: linear-gradient(180deg, #f5fbfd 0%, #ffffff 100%);
  padding: 56px 0 48px;
  border-bottom: 1px solid var(--color-border);
}
.hero h1 {
  font-size: 2.6rem;
  max-width: 18ch;
  margin-bottom: 0.4em;
}
.hero .subhead {
  font-size: 1.15rem;
  color: var(--color-text-soft);
  max-width: 60ch;
  margin: 0 0 1.6em;
}
.hero .cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-accent-dark);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
  background: var(--color-accent-soft);
  padding: 4px 10px;
  border-radius: 999px;
}

@media (max-width: 600px) {
  .hero { padding: 36px 0 32px; }
  .hero h1 { font-size: 1.9rem; }
  .hero .subhead { font-size: 1.05rem; }
}

/* Sections */
.section { padding: 56px 0; }
.section-alt { background: var(--color-bg-alt); }
.section h2 { margin-top: 0; }
.section-eyebrow {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-accent-dark);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

@media (max-width: 600px) {
  .section { padding: 36px 0; }
}

/* Cards / brand grid */
.grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}
.card h3 { margin-top: 0; font-size: 1.1rem; }
.card p { color: var(--color-text-soft); font-size: 0.95rem; margin-bottom: 0.6em; }
.card a.card-link {
  font-weight: 600;
  font-size: 0.92rem;
}

/* Feature list */
.feature-list {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  list-style: none;
  padding: 0;
}
.feature-list li {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 16px 18px;
}
.feature-list strong {
  display: block;
  margin-bottom: 4px;
  color: var(--color-text);
}

/* Comparison table */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.compare-table th, .compare-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--color-border);
  text-align: left;
  vertical-align: top;
}
.compare-table thead th {
  background: var(--color-bg-soft);
  color: var(--color-text);
  font-weight: 600;
  font-size: 0.9rem;
}
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table tbody tr:hover { background: #fafcfe; }
.table-wrap { overflow-x: auto; }

/* CTA banner */
.cta-banner {
  background: linear-gradient(135deg, #0a2540 0%, #103a5f 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}
.cta-banner h2 { color: #fff; margin: 0; font-size: 1.5rem; }
.cta-banner p { color: rgba(255,255,255,0.85); margin: 0; max-width: 60ch; }
.cta-banner .btn-primary { background: var(--color-accent); }
.cta-banner .btn-primary:hover { background: #fff; color: var(--color-text); }

@media (min-width: 700px) {
  .cta-banner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
  }
  .cta-banner > div { flex: 1; }
}

/* Disclaimer / trust block */
.disclaimer {
  background: var(--color-bg-alt);
  border-left: 3px solid var(--color-accent);
  border-radius: var(--radius);
  padding: 16px 18px;
  font-size: 0.92rem;
  color: var(--color-text-soft);
  margin: 24px 0;
}
.disclaimer strong { color: var(--color-text); }

/* FAQ */
.faq details {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: #fff;
  padding: 14px 18px;
  margin-bottom: 10px;
}
.faq summary {
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 24px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.2rem;
  color: var(--color-accent-dark);
}
.faq details[open] summary::after { content: "−"; }
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq p { margin-top: 10px; color: var(--color-text-soft); }

/* Form */
.form {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.form-row {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 14px;
}
@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
}
.form-field { display: flex; flex-direction: column; }
.form-field label {
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--color-text);
}
.form-field .hint {
  font-size: 0.82rem;
  color: var(--color-text-soft);
  margin-top: 4px;
}
.form-field input,
.form-field select,
.form-field textarea {
  font-family: inherit;
  font-size: 1rem;
  padding: 10px 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: #fff;
  color: var(--color-text);
  transition: border-color 0.15s, box-shadow 0.15s;
  width: 100%;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent-soft);
}
.form-field textarea { min-height: 120px; resize: vertical; }
.form-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.92rem;
  color: var(--color-text-soft);
  margin: 14px 0 18px;
}
.form-consent input { margin-top: 4px; }
.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Breadcrumbs */
.breadcrumb {
  font-size: 0.88rem;
  color: var(--color-text-soft);
  margin: 16px 0 0;
}
.breadcrumb a { color: var(--color-text-soft); }
.breadcrumb a:hover { color: var(--color-accent-dark); }
.breadcrumb-sep { margin: 0 6px; opacity: 0.6; }

/* Footer */
.site-footer {
  background: #0a2540;
  color: #c8d3e0;
  padding: 48px 0 24px;
  margin-top: 48px;
  font-size: 0.92rem;
}
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--color-accent); text-decoration: none; }
.footer-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: 2fr 1fr 1fr;
  margin-bottom: 28px;
}
@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-brand { color: #fff; font-weight: 700; font-size: 1.05rem; }
.footer-list { list-style: none; padding: 0; margin: 12px 0 0; }
.footer-list li { margin-bottom: 6px; }
.footer-disclaimer {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 18px;
  font-size: 0.82rem;
  color: rgba(200, 211, 224, 0.75);
  line-height: 1.55;
}

/* Utility */
.text-center { text-align: center; }
.muted { color: var(--color-text-soft); }
.small { font-size: 0.9rem; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.lead { font-size: 1.1rem; color: var(--color-text-soft); }

/* Print */
@media print {
  .site-header, .site-footer, .cta-banner, .form { display: none; }
}
