/* ════════════════════════════════════════════════════════════════════════
   Dental Agents — marketing site
   Recreation of the Design System landing UI kit (LandingA + LandingB).
   ════════════════════════════════════════════════════════════════════════ */

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

html, body { margin: 0; }

body {
  background: var(--cream);
  font-family: var(--font-body);
  color: var(--text-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

.lbl-short { display: none; }

a { color: inherit; }

img { max-width: 100%; }

.wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ── Buttons ──────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 18px;
  font-size: 15px;
  font-family: var(--font-body);
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform var(--dur-fast) var(--ease-spring),
              filter var(--dur) var(--ease-out),
              box-shadow var(--dur) var(--ease-out);
}
.btn:hover { filter: brightness(1.05); }
.btn:active { transform: scale(0.96); }
.btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px var(--focus-ring);
}
.btn svg { display: block; flex-shrink: 0; }

.btn--lg { height: 48px; padding: 0 24px; font-size: 16.5px; gap: 9px; }
.btn--md { height: 40px; padding: 0 18px; font-size: 15px; }

.btn--primary {
  background: var(--brand);
  color: var(--on-brand);
  box-shadow: var(--shadow-brand);
}
.btn--accent {
  background: var(--accent);
  color: var(--white);
  box-shadow: var(--shadow-coral);
}
.btn--secondary {
  background: var(--white);
  color: var(--text-strong);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-xs);
}
.btn--ghost {
  background: transparent;
  color: var(--brand-press);
}
.btn--ghost:hover { background: var(--ink-50); filter: none; }

/* ── Badge ────────────────────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: var(--teal-100);
  color: var(--teal-700);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
}
.badge__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal-500);
}

/* ── Nav ──────────────────────────────────────────────────────────────── */
.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 28px;
  max-width: 1140px;
  margin: 0 auto;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-word {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 21px;
  letter-spacing: -0.02em;
  color: var(--ink-900);
}
.brand-word .accent { color: var(--teal-600); }
.nav__links {
  display: flex;
  gap: 26px;
  margin-left: 28px;
}
.nav__link {
  font-size: 14.5px;
  color: var(--ink-700);
  text-decoration: none;
  font-weight: 500;
}
.nav__link:hover { opacity: .82; }
.nav__right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 16px;
}

/* ── Hero ─────────────────────────────────────────────────────────────── */
.hero {
  max-width: 1140px;
  margin: 0 auto;
  padding: 56px 28px 72px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 66px;
  line-height: 1.0;
  letter-spacing: -0.025em;
  color: var(--ink-900);
  margin: 18px 0 0;
}
.hero__lede {
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-600);
  margin: 20px 0 0;
  max-width: 460px;
}
.hero__actions {
  display: flex;
  gap: 12px;
  margin-top: 30px;
  align-items: center;
  flex-wrap: wrap;
}
.hero__trust {
  display: flex;
  gap: 18px;
  margin-top: 26px;
  color: var(--text-muted);
  font-size: 13.5px;
  flex-wrap: wrap;
}
.hero__trust span {
  display: flex;
  gap: 7px;
  align-items: center;
}

/* Hero art */
.hero-art {
  position: relative;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-art__glow {
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--teal-100), transparent 70%);
}
.hero-art__otto {
  position: relative;
  width: 230px;
  height: auto;
  filter: drop-shadow(0 24px 40px rgba(20, 181, 164, .28));
}
.float-card {
  background: var(--surface-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-lg);
  padding: 14px;
  position: absolute;
}
.float-card--file { top: 36px; right: 0; width: 226px; }
.float-card--posted { bottom: 30px; left: -8px; width: 248px; }
.float-card__row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.float-card__title {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-900);
}
.float-card__sub {
  font-size: 11px;
  color: var(--text-muted);
}
.float-card__title--lg { font-size: 13px; white-space: nowrap; }
.float-card__amount {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--teal-700);
  font-weight: 600;
  white-space: nowrap;
}

/* ── Section: How it works ────────────────────────────────────────────── */
.section { padding: 76px 0; }
.section--banded {
  background: var(--white);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 72px 0;
}
.section__head {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 48px;
}
.section__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 38px;
  letter-spacing: -0.02em;
  color: var(--ink-900);
  margin: 0;
}
.section__head .section__title { margin-top: 16px; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 44px;
}
.step__top {
  display: flex;
  align-items: center;
  gap: 12px;
}
.step__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-lg);
  background: var(--teal-50);
  display: flex;
  align-items: center;
  justify-content: center;
}
.step__num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-faint);
  font-weight: 600;
}
.step h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 21px;
  color: var(--ink-900);
  margin: 18px 0 8px;
}
.step p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-600);
  margin: 0;
}

/* ── Features ─────────────────────────────────────────────────────────── */
.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.feature {
  background: var(--surface-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  padding: 26px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.feature:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.feature__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--cream-2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.feature h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  color: var(--ink-900);
  margin: 2px 0 7px;
}
.feature p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-600);
  margin: 0;
}

/* ── PMS band ─────────────────────────────────────────────────────────── */
.pms {
  background: var(--white);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 40px 0;
}
.pms__inner {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
}
.pms__label {
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-faint);
  font-weight: 700;
}
.pms__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--ink-400);
  letter-spacing: -0.01em;
}

/* ── CTA ──────────────────────────────────────────────────────────────── */
.cta { padding: 84px 0; }
.cta__card {
  background: linear-gradient(165deg, var(--teal-600), var(--teal-800));
  border-radius: var(--radius-2xl);
  padding: 56px 48px;
  display: flex;
  align-items: center;
  gap: 30px;
  justify-content: space-between;
  flex-wrap: wrap;
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}
.cta__copy { max-width: 540px; position: relative; }
.cta__card h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 40px;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0;
  line-height: 1.05;
}
.cta__card p {
  font-size: 17px;
  line-height: 1.5;
  color: var(--teal-100);
  margin: 16px 0 28px;
}
.cta__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta__art { position: relative; width: 150px; height: 150px; }

/* ── Parent-brand callout ─────────────────────────────────────────────── */
.endorse {
  background: var(--surface-sunken);
  border-top: 1px solid var(--border-subtle);
  padding: 76px 0;
}
.endorse__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.endorse__eyebrow {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
  font-weight: 700;
}
.endorse__logo {
  display: block;
  margin: 20px 0 0;
}
.endorse__logo img {
  display: block;
  height: 60px;
  width: auto;
}
.endorse__copy {
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--ink-600);
  max-width: 480px;
  margin: 22px 0 0;
}
.endorse__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 24px;
  font-weight: 600;
  font-size: 15px;
  color: var(--brand-press);
  text-decoration: none;
  transition: gap var(--dur) var(--ease-out);
}
.endorse__link:hover { gap: 11px; }

/* ── Footer ───────────────────────────────────────────────────────────── */
.footer {
  background: var(--ink-900);
  color: var(--text-on-dark);
  padding: 48px 0 40px;
}
.footer__inner {
  display: flex;
  gap: 30px;
  align-items: center;
  flex-wrap: wrap;
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 11px;
}
.footer__brand .brand-word { color: #fff; }
.footer__brand .brand-word .accent { color: var(--teal-400); }
.footer__links {
  display: flex;
  gap: 24px;
  font-size: 14px;
  margin-left: 10px;
}
.footer__links a {
  color: var(--ink-300);
  text-decoration: none;
}
.footer__links a:hover { color: #fff; }
.footer__copyright {
  margin-left: auto;
  font-size: 13px;
  color: var(--ink-400);
}

/* ── Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 920px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 8px;
    padding-top: 36px;
  }
  .hero__lede { max-width: none; }
  .hero-art { order: -1; height: 340px; }
  .hero h1 { font-size: 54px; }
  .nav__links { display: none; }
  .steps { grid-template-columns: 1fr; gap: 32px; }
  .features { grid-template-columns: 1fr; }
  .section__title { font-size: 31px; }
  .cta__card h2 { font-size: 32px; }
  .cta__art { display: none; }
}

@media (max-width: 560px) {
  .wrap, .nav, .hero { padding-left: 20px; padding-right: 20px; }
  .nav { gap: 12px; }
  .hero h1 { font-size: 44px; }
  .hero__lede { font-size: 17px; }
  .footer__copyright { margin-left: 0; width: 100%; }
  .nav__cta { height: 38px; padding: 0 14px; font-size: 14px; }
  .nav__cta .lbl-full { display: none; }
  .nav__cta .lbl-short { display: inline; }
  .float-card--file { right: -8px; top: 12px; }
  .float-card--posted { left: -8px; bottom: 8px; }
  .cta__card { padding: 36px 28px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
