/* =========================================================
   Bridge Dental — shared stylesheet
   Brand tokens extracted from the live site (June 2026)
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500;600;700;800&family=Mulish:wght@400;500;600;700&display=swap');

:root {
  /* Ink / text */
  --ink:        #2a2e3f;   /* headings — deep slate-navy */
  --ink-soft:   #5c6070;   /* body copy */
  --muted:      #8b8f9b;   /* captions, meta */
  --on-dark:    #ffffff;
  --on-dark-soft:#c9c6e0;

  /* Brand */
  --rose:       #ef3a66;   /* primary CTA */
  --rose-dark:  #d62b56;
  --rose-tint:  #fde8ee;   /* icon halos */
  --purple:     #6e3aa6;   /* feature band */
  --purple-2:   #8a3f9c;
  --indigo:     #3a1f6e;

  /* Surfaces */
  --white:      #ffffff;
  --lavender:   #eae8f6;   /* light section tint */
  --cloud:      #f0f0f2;   /* footer */
  --line:       #e6e6ee;   /* hairlines */
  --line-soft:  #eef0f4;

  /* Hero gradient (navy -> plum -> magenta) */
  --hero-grad: linear-gradient(104deg, #0d0a29 0%, #14113a 44%, #271240 70%, #381330 100%);
  --purple-grad: linear-gradient(135deg, #6a37a4 0%, #7d3a93 100%);

  --radius:     14px;
  --radius-lg:  22px;
  --shadow-sm:  0 1px 2px rgba(28,24,60,.05);
  --shadow:     0 12px 34px rgba(40,30,80,.10);
  --shadow-lg:  0 28px 64px rgba(40,30,80,.16);

  --wrap: 1180px;
  --ease: cubic-bezier(.4,.08,.2,1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Mulish', system-ui, sans-serif;
  color: var(--ink-soft);
  background: var(--white);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1,h2,h3,h4,h5,h6 { font-family: 'Poppins', sans-serif; color: var(--ink); margin: 0; line-height: 1.12; letter-spacing: -.01em; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 28px; }
.section { padding: 96px 0; }
.section--tight { padding: 64px 0; }
.center { text-align: center; }
.eyebrow {
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 13px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--rose);
  margin-bottom: 16px;
}
.lead { font-size: 19px; color: var(--ink-soft); max-width: 60ch; }
.muted { color: var(--muted); }

.h-display { font-size: clamp(38px, 5.4vw, 62px); font-weight: 800; }
.h1 { font-size: clamp(32px, 4.2vw, 48px); font-weight: 700; }
.h2 { font-size: clamp(27px, 3vw, 38px); font-weight: 700; }
.h3 { font-size: 21px; font-weight: 600; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 15.5px;
  padding: 14px 26px; border-radius: 10px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s, color .18s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-rose { background: var(--rose); color: #fff; box-shadow: 0 10px 22px rgba(239,58,102,.28); }
.btn-rose:hover { background: var(--rose-dark); transform: translateY(-2px); box-shadow: 0 16px 30px rgba(239,58,102,.34); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-ghost-light { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.34); }
.btn-ghost-light:hover { background: rgba(255,255,255,.16); transform: translateY(-2px); }
.btn-white { background: #fff; color: var(--purple); }
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-lg { padding: 16px 32px; font-size: 16.5px; }
.btn-arrow svg { transition: transform .2s var(--ease); }
.btn-arrow:hover svg { transform: translateX(3px); }

/* ---------- top banner (early access) ---------- */
.eyebanner {
  background: var(--indigo); color: var(--on-dark);
  font-size: 14.5px; text-align: center; padding: 11px 20px;
  font-weight: 500; position: relative; z-index: 60;
}
.eyebanner strong { font-weight: 700; }
.eyebanner .dot { display:inline-block; width:7px; height:7px; border-radius:50%; background: var(--rose); margin-right:9px; vertical-align: middle; box-shadow: 0 0 0 4px rgba(239,58,102,.22); }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.86); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line-soft); }
.nav--on-dark { background: transparent; border-bottom-color: transparent; position: absolute; left:0; right:0; }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.nav__logo img { height: 38px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 34px; }
.nav__links a { font-family:'Poppins',sans-serif; font-weight: 500; font-size: 15.5px; color: var(--ink); transition: color .15s; }
.nav__links a:hover { color: var(--rose); }
.nav--on-dark .nav__links a { color: rgba(255,255,255,.9); }
.nav--on-dark .nav__links a:hover { color: #fff; }
.nav__cta { display:flex; align-items:center; gap: 16px; }
.nav__burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__burger span { display:block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: .2s; }
.nav--on-dark .nav__burger span { background: #fff; }

/* ---------- hero ---------- */
.hero { background: var(--hero-grad); color: var(--on-dark); position: relative; overflow: hidden; }
.hero::after { content:''; position:absolute; inset:0; background: radial-gradient(46% 44% at 85% 22%, rgba(214,60,140,.34), transparent 72%); pointer-events:none; }
.hero__inner { position: relative; z-index: 2; padding-block: 150px 110px; }
.hero h1 { color: #fff; max-width: 16ch; }
.hero p { color: var(--on-dark-soft); font-size: 20px; max-width: 54ch; margin-top: 22px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero__media { position: relative; z-index: 2; }
.hero__media img { width: 100%; border-radius: 16px; }

/* pill chips */
.chips { display:flex; flex-wrap:wrap; gap:10px; margin-top: 30px; }
.chip { display:inline-flex; align-items:center; gap:8px; font-size:13.5px; font-weight:600; font-family:'Poppins',sans-serif;
  padding:7px 14px; border-radius:999px; background: rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.2); color:#fff; }
.chip svg { width:14px; height:14px; }

/* ---------- browser frame ---------- */
.browser { border-radius:14px; overflow:hidden; box-shadow: var(--shadow-lg); border:1px solid rgba(255,255,255,.16); background:#fff; margin:0; }
.browser__bar { display:flex; align-items:center; gap:12px; padding:10px 14px; background:#f4f4f7; border-bottom:1px solid var(--line); }
.browser__dots { display:flex; gap:7px; flex:none; }
.browser__dots i { width:11px; height:11px; border-radius:50%; display:block; }
.browser__dots i:nth-child(1){ background:#ff5f57; }
.browser__dots i:nth-child(2){ background:#febc2e; }
.browser__dots i:nth-child(3){ background:#28c840; }
.browser__addr { flex:1; min-width:0; background:#fff; border:1px solid var(--line); border-radius:8px; padding:6px 12px; font-family:'Mulish',sans-serif; font-size:12.5px; color:var(--muted); display:flex; align-items:center; gap:8px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.browser__addr svg { flex:none; color:#28a05a; }
.browser img { display:block; width:100%; }
.media-stack { display:flex; flex-direction:column; gap:24px; }

/* ---------- benefit breakdown + writeback ---------- */
.bd { background:#fff; border:1px solid var(--line); border-radius:18px; overflow:hidden; box-shadow: var(--shadow); }
.bd__head { display:flex; align-items:center; justify-content:space-between; padding:18px 22px; border-bottom:1px solid var(--line); }
.bd__head .t { font-family:'Poppins',sans-serif; font-weight:600; color:var(--ink); }
.bd__head .s { font-size:13px; color:var(--muted); }
.bd__row { display:flex; align-items:center; justify-content:space-between; padding:12px 22px; border-bottom:1px solid var(--line-soft); font-size:15px; }
.bd__row:last-child { border-bottom:0; }
.bd__row .k { color:var(--ink-soft); }
.bd__row .v { color:var(--ink); font-family:'Poppins',sans-serif; font-weight:600; }
.bd__foot { padding:13px 22px; background:var(--lavender); color:var(--indigo); font-size:13.5px; display:flex; align-items:center; gap:9px; }
.bd__foot svg { flex:none; }
.cap { display:flex; gap:16px; align-items:flex-start; }
.cap .feature__icon { flex:none; margin:0; width:48px; height:48px; }
.cap b { font-family:'Poppins',sans-serif; font-weight:600; color:var(--ink); display:block; margin-bottom:5px; font-size:17px; }
.cap p { font-size:15px; color:var(--ink-soft); }
.checklist { display:flex; flex-direction:column; }
.checklist li { display:flex; gap:14px; align-items:flex-start; padding:15px 0; border-bottom:1px solid var(--line-soft); }
.checklist li:last-child { border-bottom:0; }
.checklist .ck { flex:none; width:27px; height:27px; border-radius:8px; background:#e3f6ed; color:#1f8a55; display:grid; place-items:center; }
.checklist b { font-family:'Poppins',sans-serif; font-weight:600; color:var(--ink); font-size:15.5px; display:block; }
.checklist span { font-size:14px; color:var(--ink-soft); }
.tick { display:flex; gap:12px; align-items:center; font-size:16px; color:var(--ink); }
.tick svg { flex:none; color:var(--rose); }
.step-num { display:inline-grid; place-items:center; width:42px; height:42px; border-radius:12px; background:var(--rose-tint); color:var(--rose); font-family:'Poppins',sans-serif; font-weight:700; font-size:15px; }

/* ---------- generic two-col ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split--media-first .split__media { order: -1; }

/* ---------- feature grid ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.feature { text-align: left; }
.feature__icon {
  width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center;
  background: var(--rose-tint); color: var(--rose); margin-bottom: 18px;
}
.feature__icon svg { width: 28px; height: 28px; }
.feature h3 { font-size: 18px; margin-bottom: 8px; }
.feature p { font-size: 15px; color: var(--ink-soft); }

/* ---------- cards ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); }
.card-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }

/* stat cards */
.stat-card { background:#fff; border:1.5px solid var(--rose-tint); border-radius: var(--radius); padding: 28px; text-align:center; }
.stat-card .num { font-family:'Poppins',sans-serif; font-weight:800; font-size: 34px; color: var(--ink); line-height:1.1; }
.stat-card .lab { font-weight:700; color: var(--ink); margin-top: 8px; font-size: 15.5px; }
.stat-card .sub { font-size: 13px; color: var(--muted); margin-top: 8px; }

/* ---------- badges ---------- */
.badge { display:inline-flex; align-items:center; gap:6px; font-family:'Poppins',sans-serif; font-weight:600;
  font-size: 12px; letter-spacing:.04em; text-transform:uppercase; padding: 5px 11px; border-radius: 999px; }
.badge--live   { background:#e3f6ed; color:#1f8a55; }
.badge--pilot  { background:#fdeede; color:#bf7415; }
.badge--soon   { background:#eef0f4; color:#7b8090; }

/* ---------- pricing ---------- */
.price-toggle { display:inline-flex; align-items:center; gap:14px; font-family:'Poppins',sans-serif; font-weight:600; color: var(--ink); }
.switch { width:52px; height:28px; border-radius:999px; background: var(--line); border:0; position:relative; cursor:pointer; transition:.2s; }
.switch[aria-checked="true"]{ background: var(--rose); }
.switch::after{ content:''; position:absolute; top:3px; left:3px; width:22px; height:22px; border-radius:50%; background:#fff; transition:.2s; box-shadow: var(--shadow-sm); }
.switch[aria-checked="true"]::after{ transform: translateX(24px); }
.price-grid { display:grid; grid-template-columns: repeat(3,1fr); gap: 26px; align-items: stretch; }
.price-card { background:#fff; border:1px solid var(--line); border-radius: var(--radius-lg); padding: 34px 30px; display:flex; flex-direction:column; box-shadow: var(--shadow-sm); }
.price-card.feat { border-color: var(--rose); box-shadow: var(--shadow); position:relative; }
.price-card.feat::before{ content:'Most chosen in pilot'; position:absolute; top:-12px; left:50%; transform:translateX(-50%); background:var(--rose); color:#fff; font-family:'Poppins',sans-serif; font-weight:600; font-size:12px; padding:5px 14px; border-radius:999px; white-space:nowrap; }
.price-card .tier { font-family:'Poppins',sans-serif; font-weight:600; font-size:16px; color: var(--ink); }
.price-card .amt { font-family:'Poppins',sans-serif; font-weight:800; font-size: 44px; color: var(--ink); line-height:1; margin: 14px 0 4px; }
.price-card .amt small { font-size:18px; font-weight:600; color: var(--muted); }
.price-card .vol { font-size:14px; color: var(--muted); margin-bottom: 22px; }
.price-card ul { display:flex; flex-direction:column; gap:12px; margin-top: 22px; }
.price-card li { display:flex; gap:10px; font-size:15px; color: var(--ink-soft); }
.price-card li svg { flex:none; color: var(--rose); margin-top:3px; }

/* ---------- purple CTA band ---------- */
.cta-band { background: var(--purple-grad); border-radius: var(--radius-lg); color:#fff; text-align:center; padding: 64px 40px; }
.cta-band h2 { color:#fff; }
.cta-band p { color: rgba(255,255,255,.85); margin-top: 12px; }
.cta-band .btn { margin-top: 28px; }
.cta-band .fine { margin-top: 18px; font-size: 14px; color: rgba(255,255,255,.8); }

/* ---------- callout / note ---------- */
.note { background: var(--lavender); border-radius: var(--radius); padding: 18px 22px; font-size: 14.5px; color: var(--indigo); display:flex; gap:12px; align-items:flex-start; }
.note svg { flex:none; margin-top:2px; color: var(--purple); }
.footnote { font-size: 13px; color: var(--muted); max-width: 70ch; }

/* ---------- section tints ---------- */
.tint-lavender { background: var(--lavender); }
.tint-cloud { background: var(--cloud); }

/* ---------- testimonial ---------- */
.quote { background:#fff; border:1px solid var(--line); border-radius: var(--radius-lg); padding: 40px; max-width: 760px; margin-inline:auto; box-shadow: var(--shadow-sm); }
.quote__mark { font-family:'Poppins'; font-size:54px; line-height:.6; color: var(--rose); }
.quote p { font-size: 21px; color: var(--ink); font-weight: 500; margin: 14px 0 26px; }
.quote__by { display:flex; align-items:center; gap:14px; }
.quote__by img { width:46px; height:46px; border-radius:50%; object-fit:cover; }
.quote__by b { color: var(--ink); display:block; font-family:'Poppins'; }
.quote__by span { font-size:14px; color: var(--muted); }

/* ---------- forms ---------- */
.field { display:flex; flex-direction:column; gap:7px; margin-bottom:18px; }
.field label { font-family:'Poppins',sans-serif; font-weight:600; font-size:14px; color: var(--ink); }
.field label .req { color: var(--rose); }
.field input, .field select, .field textarea {
  font-family:'Mulish',sans-serif; font-size:16px; color: var(--ink); background:#fff;
  border:1.5px solid var(--line); border-radius:10px; padding: 13px 15px; transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline:0; border-color: var(--rose); box-shadow: 0 0 0 3px rgba(239,58,102,.14); }
.field textarea { resize: vertical; min-height: 110px; }
.field--row { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.form-card { background:#fff; border:1px solid var(--line); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow); }
.form-status { border-radius:10px; padding:14px 16px; font-size:15px; font-weight:600; margin-bottom:18px; display:none; }
.form-status.show { display:block; }
.form-status.ok { background:#e3f6ed; color:#1f8a55; }
.form-status.err { background:#fde8ee; color: var(--rose-dark); }

/* ---------- footer ---------- */
.footer { background: var(--cloud); padding: 70px 0 36px; }
.footer__top { display:grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer h4 { font-size: 16px; margin-bottom: 18px; }
.footer__cta p { color: var(--ink-soft); margin-bottom: 18px; }
.footer__col a { display:block; color: var(--ink-soft); padding: 7px 0; font-size:15px; transition: color .15s; }
.footer__col a:hover { color: var(--rose); }
.footer__logo { margin: 44px 0 26px; }
.footer__logo img { height: 46px; }
.footer__bar { border-top:1px solid var(--line); padding-top: 24px; display:flex; flex-wrap:wrap; gap:16px 24px; align-items:center; justify-content:space-between; }
.footer__bar .legal { display:flex; gap:18px; align-items:center; font-size:14px; color: var(--muted); }
.footer__bar .legal a:hover { color: var(--rose); }
.footer__social { display:flex; gap:14px; }
.footer__social a { width:34px; height:34px; border-radius:8px; display:grid; place-items:center; background:#fff; color: var(--muted); border:1px solid var(--line); transition:.15s; }
.footer__social a:hover { color: var(--rose); border-color: var(--rose); }

/* ---------- reveal animation ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity:0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
  .reveal.in { opacity:1; transform:none; }
}

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero__grid, .split { grid-template-columns: 1fr; gap: 40px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); gap: 34px; }
  .price-grid, .card-grid-3 { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .split--media-first .split__media { order: 0; }
}
@media (max-width: 720px) {
  .section { padding: 68px 0; }
  .nav__links { display: none; }
  .nav__burger { display: block; }
  .nav__links.open { display: flex; position: absolute; top: 78px; left:0; right:0; flex-direction: column; gap: 0; background:#fff; padding: 12px 28px 22px; border-bottom:1px solid var(--line); box-shadow: var(--shadow); }
  .nav__links.open a { padding: 13px 0; border-bottom:1px solid var(--line-soft); color: var(--ink); }
  .field--row { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .hero__inner { padding-block: 120px 80px; }
  .footer__top { grid-template-columns: 1fr; }
}
