/* DictaFlow Medical homepage only. Kept separate from shared medical styles. */
.medical-home {
  --m-ink: #101828;
  --m-muted: #5d6b82;
  --m-line: #dbe4ee;
  --m-sky: #eaf5ff;
  --m-blue: #1769e0;
  --m-teal: #128b82;
  --m-dark: #08111f;
  background: #f7fafd;
  color: var(--m-ink);
}

.medical-home .site-header {
  border-bottom: 1px solid rgba(18, 37, 64, .08);
  background: rgba(255,255,255,.88);
  box-shadow: 0 8px 30px rgba(17, 38, 66, .05);
  backdrop-filter: blur(18px) saturate(150%);
}

.medical-home .nav { min-height: 68px; }
.medical-home .brand { color: var(--m-ink); font-size: 16px; }
.medical-home .brand-mark { border-radius: 11px; background: linear-gradient(135deg, #1677db, #0f9c86); box-shadow: 0 10px 22px rgba(22, 105, 224, .2); }
.medical-home .nav-links { gap: 22px; }
.medical-home .nav-links a { color: #526075; font-size: 13px; font-weight: 720; }
.medical-home .nav-links a:hover { color: var(--m-ink); }
.medical-home .nav-links .nav-cta { color: #fff; padding: 10px 16px; background: linear-gradient(135deg, #1976e5, #1265d8); box-shadow: 0 10px 20px rgba(23,105,224,.2); }

.medical-home .hero {
  position: relative;
  padding: clamp(66px, 9vw, 118px) 0 76px;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 25%, rgba(73,177,255,.20), transparent 23rem),
    radial-gradient(circle at 28% 72%, rgba(14,166,142,.10), transparent 30rem),
    linear-gradient(180deg, #fbfdff 0%, #eff7ff 100%);
}
.medical-home .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .55;
  background-image: linear-gradient(rgba(31, 97, 160, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(31, 97, 160, .055) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black, transparent 90%);
}
.medical-home .hero-grid { position: relative; grid-template-columns: minmax(0, .92fr) minmax(430px, .88fr); gap: clamp(42px, 6vw, 86px); }
.medical-home .eyebrow { border-color: #bee0ff; background: #eff8ff; color: #0f5ebf; font-size: 12px; font-weight: 780; padding: 8px 13px; }
.medical-home h1, .medical-home h2, .medical-home h3 { color: var(--m-ink); }
.medical-home .hero h1 { max-width: 680px; margin: 18px 0 20px; font-size: clamp(44px, 5.15vw, 75px); line-height: .98; letter-spacing: -.065em; }
.medical-home .lead { max-width: 640px; color: var(--m-muted); font-size: clamp(17px, 1.55vw, 20px); line-height: 1.62; }
.medical-home .actions { gap: 12px; margin-top: 28px; }
.medical-home .button { min-height: 50px; padding: 14px 20px; border-radius: 13px; font-size: 15px; font-weight: 760; }
.medical-home .button.primary { background: linear-gradient(135deg, #1979e9, #155dcc); box-shadow: 0 15px 30px rgba(25, 105, 224, .22); }
.medical-home .button.secondary { border-color: #d8e2ee; background: rgba(255,255,255,.82); color: #243247; }
.medical-home .hero-price { color: #415168; font-weight: 690; font-size: 13px; }
.medical-home .hero-proof { gap: 8px; margin-top: 24px; }
.medical-home .hero-proof span { padding: 8px 11px; border-color: #d9e4f0; background: rgba(255,255,255,.84); color: #496078; font-size: 12px; }

.medical-home .product-stage { min-height: 510px; }
.medical-home .product-stage::before { inset: 35px 15px 30px auto; width: 78%; height: 74%; border-radius: 40px; opacity: .95; background: linear-gradient(135deg, rgba(80,168,255,.28), rgba(15,151,127,.23)); filter: blur(0); }
.medical-home .app-window { border-color: rgba(26,59,94,.14); box-shadow: 0 28px 80px rgba(35,76,119,.18); background: rgba(255,255,255,.97); }
.medical-home .dictation-window { width: 68%; top: 15px; }
.medical-home .ehr-window { width: 82%; top: 172px; }
.medical-home .window-top { background: linear-gradient(135deg, #101b2e, #172843); }
.medical-home .status-card { background: linear-gradient(135deg, #f7fbff, #eef8f7); }
.medical-home .clinical-note { padding: 28px; background: linear-gradient(180deg, #fff, #f6faff); }

.medical-home .proof-strip { padding: 26px 0; background: linear-gradient(100deg, #0b1527, #101e34); }
.medical-home .strip-grid { gap: 14px; }
.medical-home .strip-grid div { padding: 18px 19px; border-color: rgba(148,180,220,.2); background: rgba(255,255,255,.045); }
.medical-home .strip-grid strong { font-size: 15px; }
.medical-home .strip-grid span { font-size: 13px; line-height: 1.48; }

.medical-home .section { padding: clamp(76px, 9vw, 126px) 0; }
.medical-home .section-heading { max-width: 740px; margin-bottom: 42px; }
.medical-home h2 { font-size: clamp(38px, 4.1vw, 62px); line-height: 1.01; letter-spacing: -.06em; }
.medical-home .band { background: #f4f8fc; border-color: #e2eaf2; }
.medical-home .grid-3 { gap: 18px; }
.medical-home .card { border: 1px solid #dfe7f0; border-radius: 20px; background: rgba(255,255,255,.9); padding: 28px; box-shadow: 0 12px 34px rgba(32,63,96,.045); }
.medical-home .feature-card, .medical-home .soft-card { min-height: 252px; }
.medical-home .feature-card:hover, .medical-home .soft-card:hover { box-shadow: 0 20px 45px rgba(32,63,96,.10); transform: translateY(-4px); }
.medical-home .icon-chip { min-width: 38px; height: 30px; margin-bottom: 24px; color: #1262c1; background: #e9f3ff; }
.medical-home h3 { font-size: 22px; line-height: 1.05; }
.medical-home .feature-card p, .medical-home .card p { color: #637289; font-size: 15px; line-height: 1.62; }

.medical-home .split-feature { gap: clamp(42px, 7vw, 92px); }
.medical-home .comparison-stack { gap: 12px; }
.medical-home .compare-row {
  padding: 21px 22px;
  border: 1px solid #dce6ef;
  border-radius: 16px;
  background: rgba(255,255,255,.88);
  box-shadow: 0 8px 20px rgba(32,63,96,.03);
}
.medical-home .compare-row span { color: #61718a; font-size: 12px; font-weight: 760; letter-spacing: .02em; }
.medical-home .compare-row strong { color: #17243a; font-size: 18px; line-height: 1.35; letter-spacing: -.025em; }
.medical-home .comparison-stack .active-row { border: 0; background: linear-gradient(135deg, #176ed9, #128e83); box-shadow: 0 22px 42px rgba(23,105,224,.2); }
.medical-home .comparison-stack .active-row span, .medical-home .comparison-stack .active-row strong { color: #fff; }
.medical-home .comparison-stack .muted-row { background: rgba(255,255,255,.9); }

.medical-home .dark-section { background: radial-gradient(circle at 78% 30%, rgba(19,141,128,.2), transparent 28rem), #08111f; }
.medical-home .dark-section h2, .medical-home .final-cta h2 { color: #fff; }
.medical-home .dark-section .eyebrow.dark { background: rgba(255,255,255,.07); border-color: rgba(194,222,248,.18); }
.medical-home .dark-section .comparison-stack .compare-row { border-color: rgba(184,214,240,.17); background: rgba(255,255,255,.055); box-shadow: none; }
.medical-home .dark-section .comparison-stack .compare-row span { color: rgba(255,255,255,.58); }
.medical-home .dark-section .comparison-stack .compare-row strong { color: #fff; }
.medical-home .dark-section .comparison-stack .active-row { background: linear-gradient(135deg, #1978df, #0f8b82); }

.medical-home .link-card { display: flex; text-decoration: none; }
.medical-home .soft-card a { color: #1265c7; font-size: 14px; font-weight: 760; }
.medical-home .security-card { padding: 10px; border-color: #dce6ef; border-radius: 22px; box-shadow: 0 20px 48px rgba(31,64,98,.09); }
.medical-home .security-item { padding: 18px; border-radius: 15px; }
.medical-home .security-item strong { color: #16243a; }
.medical-home .security-item p { color: #627189; }
.medical-home .security-item > span { background: #18ae64; box-shadow: 0 0 0 6px rgba(24,174,100,.12); }

.medical-home .pricing-panel { border: 1px solid #dbe6f0; border-radius: 28px; padding: clamp(30px, 5vw, 56px); background: linear-gradient(135deg, #edf7ff, #f9fcff); box-shadow: 0 24px 52px rgba(25,59,94,.06); }
.medical-home .price-card { border-color: #d9e4ef; border-radius: 20px; padding: 28px; background: #fff; box-shadow: 0 14px 30px rgba(29,64,100,.06); }
.medical-home .price-card strong { color: #10213a; }
.medical-home .price-card .button { width: 100%; margin-top: 18px; }
.medical-home .price-card small { display: block; margin-top: 10px; color: #627189; line-height: 1.45; }
.medical-home .price-card small a { color: #0068c9; font-weight: 700; }

.medical-home .final-cta { padding: 82px 0; background: linear-gradient(118deg, #07111f, #0c2433); }
.medical-home .final-card { max-width: 900px; }
.medical-home .final-card h2 { max-width: 770px; }
.medical-home .final-card p { color: rgba(255,255,255,.7); }
.medical-home .light-primary { background: #fff !important; color: #132039 !important; }
.medical-home .footer { border: 0; background: #fff; color: #66768c; }

@media (max-width: 920px) {
  .medical-home .hero-grid, .medical-home .split-feature, .medical-home .split-feature.reverse { grid-template-columns: 1fr; }
  .medical-home .hero { padding-top: 62px; }
  .medical-home .hero-copy { max-width: 700px; }
  .medical-home .product-stage { min-height: 470px; margin-top: 8px; }
  .medical-home .section-heading { margin-left: 0; }
}

@media (max-width: 680px) {
  .medical-home .nav { align-items: center; flex-direction: row; min-height: 62px; }
  .medical-home .nav-links a:not(.nav-cta) { display: none; }
  .medical-home .nav-links { width: auto; }
  .medical-home .nav-links .nav-cta { padding: 9px 12px; font-size: 12px; }
  .medical-home .brand { font-size: 14px; }
  .medical-home .brand-mark { width: 30px; height: 30px; }
  .medical-home .hero { padding: 54px 0 54px; }
  .medical-home .hero h1 { font-size: clamp(42px, 13vw, 60px); }
  .medical-home .hero-proof span { width: auto; }
  .medical-home .product-stage { min-height: auto; display: grid; gap: 14px; }
  .medical-home .product-stage::before { display: none; }
  .medical-home .app-window { position: static; width: 100%; }
  .medical-home .ehr-window { margin-top: 0; }
  .medical-home .section { padding: 68px 0; }
  .medical-home .section-heading { margin-bottom: 30px; }
  .medical-home .card { padding: 23px; }
  .medical-home .feature-card, .medical-home .soft-card { min-height: auto; }
  .medical-home .pricing-panel { padding: 24px; border-radius: 20px; }
  .medical-home .price-card { padding: 23px; }
  .medical-home .final-cta { padding: 66px 0; }
}
