/* =============================================================
   Medichive — Voice → SOAP page
   Restyled onto the site.css design system (navy ink + mint).
   Loads AFTER css/site.css and reuses its tokens, nav, buttons,
   .section / .eyebrow / .section-head / .cta-card / .footer.
   ============================================================= */

code {
  font-family: var(--mono); font-size: 0.86em;
  background: var(--accent-wash); color: var(--accent);
  padding: 1px 6px; border-radius: 6px;
}

/* ---------- Hero — single column, centered ---------- */
.tx-hero { padding: 162px 0 92px; text-align: center; }
.tx-hero-inner { position: relative; z-index: 1; max-width: 780px; margin: 0 auto; }
.tx-hero .hero-badge { margin-left: auto; margin-right: auto; }
.tx-hero h1 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(40px, 5.6vw, 70px); line-height: 1.0; letter-spacing: -0.03em; color: var(--ink);
}
.tx-hero h1 .mark { font-style: italic; color: var(--accent); }
.tx-hero-lead { margin: 24px auto 0; font-size: 19px; line-height: 1.62; color: var(--body); max-width: 620px; }
.tx-hero .hero-actions { margin-top: 34px; justify-content: center; }

/* hero metrics */
.tx-metrics { margin-top: 54px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tx-metric {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px 18px; box-shadow: var(--shadow-card); text-align: left;
}
.tx-metric .v { font-family: var(--serif); font-size: 29px; font-weight: 500; color: var(--ink); letter-spacing: -0.02em; line-height: 1; }
.tx-metric .v .suf { color: var(--accent); }
.tx-metric .l { margin-top: 7px; font-size: 12.5px; color: var(--muted); }

/* ---------- Problem ---------- */
.tx-two { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.tx-two .section-head { margin-bottom: 0; }
.tx-stats { margin-top: 30px; display: flex; gap: 40px; flex-wrap: wrap; }
.tx-stat .n { font-family: var(--serif); font-size: 38px; font-weight: 500; color: var(--ink); letter-spacing: -0.02em; line-height: 1; }
.tx-stat .t { margin-top: 6px; font-size: 13px; color: var(--muted); max-width: 190px; }

.tx-compare { display: grid; gap: 16px; }
.tx-comp { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 24px; }
.tx-comp.good { border-color: color-mix(in srgb, var(--accent-bright) 45%, var(--border)); box-shadow: var(--shadow-card); }
.tx-comp h4 { display: flex; align-items: center; gap: 9px; font-size: 14.5px; font-weight: 700; color: var(--ink); margin-bottom: 14px; }
.tx-comp.bad h4 svg { color: var(--muted); }
.tx-comp.good h4 svg { color: var(--accent); }
.tx-comp ul { display: flex; flex-direction: column; gap: 9px; }
.tx-comp li { display: flex; gap: 9px; align-items: flex-start; font-size: 14px; color: var(--body); }
.tx-comp li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; margin-top: 8px; flex-shrink: 0; background: var(--border-strong); }
.tx-comp.good li::before { background: var(--accent-bright); }

/* ---------- Features ---------- */
.tx-feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tx-feat {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 28px; display: flex; flex-direction: column;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s var(--ease);
}
.tx-feat:hover { transform: translateY(-6px); box-shadow: var(--shadow-float); border-color: var(--border-strong); }
.tx-feat.lg { grid-column: span 2; }
.tx-feat.lg.feature { border-color: color-mix(in srgb, var(--accent-bright) 40%, var(--border)); }
.tx-feat-ic {
  width: 52px; height: 52px; border-radius: 14px; margin-bottom: 18px;
  display: flex; align-items: center; justify-content: center; background: var(--accent-wash); color: var(--accent);
}
.tx-feat h3 { font-family: var(--serif); font-size: 22px; font-weight: 500; margin-bottom: 8px; }
.tx-feat p { font-size: 14.5px; color: var(--body); }
.tx-feat-tags { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.tx-feat-tags span {
  font-size: 12px; font-weight: 600; color: var(--ink-soft);
  background: var(--bg); border: 1px solid var(--border); border-radius: 100px; padding: 5px 12px;
}

/* ---------- Flow steps ---------- */
.tx-flow { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; align-items: stretch; gap: 0; }
.tx-fstep {
  display: flex; align-items: flex-start; gap: 20px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 26px 28px; box-shadow: var(--shadow-card);
}
.tx-fidx { font-family: var(--mono); font-size: 13px; font-weight: 500; color: var(--accent); padding-top: 14px; }
.tx-ficon {
  width: 50px; height: 50px; border-radius: 14px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; background: var(--accent-wash); color: var(--accent);
}
.tx-fbody h3 { font-family: var(--serif); font-size: 21px; font-weight: 500; margin-bottom: 6px; }
.tx-fbody p { font-size: 14.5px; color: var(--body); }
.tx-farrow { display: flex; justify-content: center; color: var(--accent-bright); padding: 12px 0; }

/* ---------- Use cases ---------- */
.tx-uses { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.tx-use {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 24px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.tx-use:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.tx-use-ic { width: 44px; height: 44px; border-radius: 12px; margin-bottom: 16px; display: flex; align-items: center; justify-content: center; background: var(--accent-wash); color: var(--accent); }
.tx-use h4 { font-size: 16px; font-weight: 700; color: var(--ink); margin-bottom: 7px; }
.tx-use p { font-size: 13.8px; color: var(--body); }

/* ---------- CTA points (left side of cta-card) ---------- */
.cta-points { margin-top: 26px; display: flex; flex-direction: column; gap: 14px; position: relative; z-index: 1; }
.cta-point { display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,0.82); }
.cta-point svg { flex-shrink: 0; color: var(--accent-bright); }
.cta-point strong { display: block; font-size: 14.5px; font-weight: 600; color: #fff; }
.cta-point span span { font-size: 13px; color: rgba(255,255,255,0.6); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .tx-two { grid-template-columns: 1fr; gap: 40px; }
  .tx-metrics { grid-template-columns: repeat(2, 1fr); }
  .tx-feats { grid-template-columns: 1fr; }
  .tx-feat.lg { grid-column: auto; }
  .tx-uses { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .tx-metrics, .tx-uses { grid-template-columns: 1fr; }
  .tx-stats { gap: 24px; }
}
