/* ============================================
   DentalCallers.com — Design Tokens
   ============================================ */
:root {
  --ink: #14293A;
  --ink-soft: #24404F;
  --paper: #FAF7F1;
  --paper-2: #F1ECE1;
  --teal: #1F6F64;
  --teal-deep: #164F47;
  --amber: #E2963B;
  --amber-deep: #C77A22;
  --slate: #5B6B72;
  --line: #DCD5C6;
  --white: #FFFFFF;
  --danger: #B4482F;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;

  --radius: 6px;
  --max-width: 1180px;
  --shadow-soft: 0 2px 24px rgba(20, 41, 58, 0.06);
  --shadow-card: 0 1px 2px rgba(20, 41, 58, 0.06), 0 8px 24px rgba(20, 41, 58, 0.05);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 28px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  color: var(--ink);
  margin: 0;
}

h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); letter-spacing: -0.01em; }
h3 { font-size: 1.3rem; }

p { color: var(--slate); margin: 0; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-deep);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
}

/* focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 24px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--amber);
  color: var(--ink);
  box-shadow: 0 1px 0 rgba(0,0,0,0.05), 0 8px 20px rgba(226, 150, 59, 0.35);
}
.btn-primary:hover { background: var(--amber-deep); }

.btn-ghost {
  background: transparent;
  color: var(--paper);
  border-color: rgba(250, 247, 241, 0.35);
}
.btn-ghost:hover { border-color: var(--paper); }

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-outline:hover { border-color: var(--ink); }

.btn-block { width: 100%; justify-content: center; }

/* ============ Header ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 247, 241, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  text-decoration: none;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.logo span { color: var(--teal); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.main-nav a {
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--ink-soft);
}
.main-nav a:hover { color: var(--teal-deep); }

.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-phone {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--ink-soft);
  text-decoration: none;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
}

/* ============ Hero ============ */
.hero {
  background: var(--ink);
  color: var(--paper);
  padding: 76px 0 0;
  overflow: hidden;
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
  padding-bottom: 64px;
}

.hero-copy .eyebrow { color: var(--amber); }
.hero-copy .eyebrow::before { background: var(--teal); }

.hero h1 {
  color: var(--paper);
  font-size: clamp(2.4rem, 4.4vw, 3.6rem);
  margin: 18px 0 20px;
}

.hero h1 em {
  font-style: normal;
  color: var(--amber);
}

.hero-sub {
  color: rgba(250, 247, 241, 0.72);
  font-size: 1.1rem;
  max-width: 46ch;
  margin-bottom: 32px;
}

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

.hero-note {
  font-size: 0.85rem;
  color: rgba(250, 247, 241, 0.55);
}

/* ---- Call feed (signature element) ---- */
.call-feed {
  background: var(--paper);
  border-radius: 10px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.04);
}

.call-feed-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
}

.call-feed-head .label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 8px;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 0 rgba(31, 111, 100, 0.5);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(31, 111, 100, 0.45); }
  70% { box-shadow: 0 0 0 8px rgba(31, 111, 100, 0); }
  100% { box-shadow: 0 0 0 0 rgba(31, 111, 100, 0); }
}

.call-feed-list {
  list-style: none;
  margin: 0;
  padding: 6px 0;
  max-height: 340px;
  overflow: hidden;
}

.call-feed-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 20px;
  border-bottom: 1px solid var(--paper-2);
  font-size: 0.9rem;
  animation: fadeIn 0.5s ease both;
}

.call-feed-list li:last-child { border-bottom: none; }

.call-type { color: var(--ink); font-weight: 600; }
.call-loc { color: var(--slate); font-size: 0.82rem; display: block; margin-top: 1px; }
.call-price {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--teal-deep);
  background: rgba(31, 111, 100, 0.09);
  padding: 3px 9px;
  border-radius: 4px;
  white-space: nowrap;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.call-feed-foot {
  padding: 12px 20px;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
  color: var(--slate);
  background: var(--paper-2);
}

/* ============ Logo strip / coverage ============ */
.strip {
  background: var(--ink-soft);
  border-top: 1px solid rgba(250,247,241,0.08);
  padding: 22px 0;
}
.strip .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 40px;
  justify-content: space-between;
  align-items: center;
}
.strip-item {
  color: rgba(250, 247, 241, 0.75);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.strip-item strong {
  color: var(--paper);
  font-family: var(--font-mono);
}

/* ============ Sections ============ */
section { padding: 88px 0; }
.section-alt { background: var(--paper-2); }

.section-head {
  max-width: 640px;
  margin-bottom: 52px;
}
.section-head h2 { margin-top: 14px; }
.section-head p { margin-top: 16px; font-size: 1.05rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ============ How it works ============ */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.step {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 32px 28px;
  position: relative;
}

.step-num {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--teal-deep);
  background: rgba(31,111,100,0.1);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-weight: 600;
}

.step h3 { margin-bottom: 10px; }
.step p { font-size: 0.95rem; }

/* ============ Pricing ============ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.price-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.price-card:hover { border-color: var(--teal); transform: translateY(-3px); }

.price-card.featured {
  border-color: var(--amber);
  background: linear-gradient(180deg, #fff 0%, #FFF8ED 100%);
  position: relative;
}

.price-tag {
  font-family: var(--font-mono);
  color: var(--slate);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--amber);
  color: var(--ink);
  position: absolute;
  top: -12px;
  right: 20px;
  padding: 4px 10px;
  border-radius: 20px;
  font-weight: 700;
}

.price-card h3 { font-size: 1.1rem; }
.price-card .range {
  font-family: var(--font-mono);
  font-size: 1.9rem;
  font-weight: 600;
  color: var(--ink);
}
.price-card .range span {
  font-size: 0.95rem;
  color: var(--slate);
  font-weight: 400;
}
.price-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
  flex: 1;
}
.price-card li {
  font-size: 0.87rem;
  color: var(--slate);
  padding-left: 18px;
  position: relative;
}
.price-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
}

.pricing-note {
  margin-top: 28px;
  font-size: 0.85rem;
  color: var(--slate);
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

/* ============ Trust / compliance ============ */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}

.trust-item {
  background: var(--white);
  padding: 32px;
}
.trust-item h3 { font-size: 1.05rem; margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.trust-item p { font-size: 0.92rem; }

.trust-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(31,111,100,0.1);
  color: var(--teal-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ============ Categories ============ */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.cat-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 26px 22px;
  background: var(--white);
}
.cat-card .eyebrow { margin-bottom: 12px; }
.cat-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.cat-card p { font-size: 0.88rem; }

/* ============ CTA band ============ */
.cta-band {
  background: var(--teal-deep);
  color: var(--paper);
  padding: 72px 0;
}
.cta-band .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-band h2 { color: var(--paper); font-size: clamp(1.7rem, 3vw, 2.3rem); max-width: 22ch; }
.cta-band p { color: rgba(250,247,241,0.75); margin-top: 12px; max-width: 42ch; }

/* ============ FAQ ============ */
.faq-list {
  max-width: 780px;
  border-top: 1px solid var(--line);
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item summary {
  cursor: pointer;
  padding: 22px 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--font-body);
  font-size: 1.4rem;
  color: var(--teal);
  font-weight: 400;
  margin-left: 20px;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item p { padding-bottom: 22px; font-size: 0.95rem; max-width: 65ch; }

/* ============ Signup form ============ */
.signup {
  background: var(--ink);
  color: var(--paper);
}
.signup-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.signup-copy h2 { color: var(--paper); }
.signup-copy p { color: rgba(250,247,241,0.7); margin-top: 16px; font-size: 1.02rem; }

.signup-list { margin-top: 28px; display: flex; flex-direction: column; gap: 16px; }
.signup-list-item { display: flex; gap: 12px; align-items: flex-start; }
.signup-list-item .num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--amber);
  border: 1px solid rgba(226,150,59,0.4);
  border-radius: 50%;
  width: 24px; height: 24px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.signup-list-item span:last-child { color: rgba(250,247,241,0.78); font-size: 0.93rem; }

.form-card {
  background: var(--paper);
  border-radius: 12px;
  padding: 36px;
  box-shadow: var(--shadow-card);
}
.form-card h3 { color: var(--ink); margin-bottom: 6px; }
.form-card .form-sub { font-size: 0.88rem; margin-bottom: 24px; }

.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 6px;
}
.field input, .field select {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.94rem;
  background: var(--white);
  color: var(--ink);
}
.field input:focus, .field select:focus {
  border-color: var(--teal);
  outline: none;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.form-disclaimer {
  font-size: 0.76rem;
  color: var(--slate);
  margin-top: 16px;
  line-height: 1.5;
}

/* ============ Footer ============ */
.site-footer {
  background: var(--ink);
  color: rgba(250,247,241,0.65);
  padding: 60px 0 28px;
  border-top: 1px solid rgba(250,247,241,0.08);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-col .logo { color: var(--paper); margin-bottom: 12px; }
.footer-col p { color: rgba(250,247,241,0.55); font-size: 0.88rem; max-width: 32ch; }
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(250,247,241,0.5);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { text-decoration: none; font-size: 0.9rem; color: rgba(250,247,241,0.75); }
.footer-col a:hover { color: var(--amber); }

.footer-legal {
  border-top: 1px solid rgba(250,247,241,0.1);
  padding-top: 26px;
  font-size: 0.78rem;
  color: rgba(250,247,241,0.4);
  line-height: 1.6;
}
.footer-legal p + p { margin-top: 10px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
  font-size: 0.78rem;
  color: rgba(250,247,241,0.4);
}

/* ============ Responsive ============ */
@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: 1fr; padding-bottom: 48px; }
  .steps, .cat-grid, .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: 1fr; }
  .signup-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .main-nav { display: none; }
  .nav-toggle { display: block; }
  .nav-phone { display: none; }
  section { padding: 56px 0; }
  .steps, .cat-grid, .pricing-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .cta-band .wrap { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
