/* Marketing pages: home, professionals, business, platform, about.
   Builds on theme.css tokens and site.css. No scripts, no remote resources,
   no inline styles (site CSP). Section blocks, in page order:
   .hero, .duo/.product, .steps, .ecosystem, .diff, .trust, .final-cta. */
main.mk { flex: 1; width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 clamp(16px, 3vw, 40px) 48px; }
.mk > section { padding: clamp(56px, 9vw, 112px) 0; }
.mk > section + section { border-top: 1px solid var(--panel-b); }

.mk h1, .mk h2 { text-wrap: balance; }
.mk h1 { font-size: clamp(40px, 7.2vw, 78px); line-height: 1.03; letter-spacing: -.035em; font-weight: 700; margin: 0 0 24px; }
.mk h2 { font-size: clamp(28px, 4.2vw, 46px); line-height: 1.08; letter-spacing: -.028em; font-weight: 650; margin: 0 0 16px; }
.mk h3 { font-size: 18px; line-height: 1.3; letter-spacing: -.01em; font-weight: 600; margin: 0 0 8px; }
.mk p { margin: 0 0 16px; }
.mk .eyebrow { font-size: 12px; margin-bottom: 20px; }
.mk .lede { font-size: clamp(18px, 2.2vw, 22px); line-height: 1.45; color: #c4cbf0; max-width: 42rem; }
.mk .support { color: var(--muted); font-size: 17px; max-width: 40rem; }
.mk .intro { max-width: 44rem; margin-bottom: clamp(32px, 5vw, 56px); }

/* Buttons */
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.mk .btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 22px; font-size: 15px; border-radius: 999px; text-decoration: none; }
.mk .btn.primary { background: var(--text); color: var(--bg); border-color: var(--text); }
.mk .btn.primary:hover { box-shadow: 0 0 28px rgba(232, 236, 255, .28); }
.mk .btn.ghost { color: var(--text); border-color: rgba(232, 236, 255, .28); }
.mk .btn.ghost:hover { border-color: var(--text); box-shadow: none; }

/* Hero */
.mk > .hero { padding-top: clamp(64px, 11vw, 144px); }
.hero .lede { margin-bottom: 12px; }
.hero .phone-note { margin: 14px 0 0; color: var(--muted); font-size: 14px; }
.hero .cta-row.explore { margin-top: 24px; }

/* Two equal products. --accent is the only difference between them. */
.pro { --accent: var(--cyan); --accent-soft: rgba(76, 201, 240, .14); }
.biz { --accent: var(--violet); --accent-soft: rgba(167, 139, 250, .14); }
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.product { display: flex; flex-direction: column; padding: clamp(24px, 3.5vw, 40px); border: 1px solid var(--panel-b); border-radius: 24px; background: linear-gradient(180deg, var(--accent-soft), transparent 55%), var(--panel); transition: border-color .2s, transform .2s; }
.product .kicker { display: flex; align-items: center; gap: 10px; font: 600 12px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin: 0 0 20px; }
.product h3 { font-size: clamp(24px, 2.8vw, 32px); line-height: 1.12; letter-spacing: -.02em; margin: 0 0 14px; text-wrap: balance; }
.product > p { color: #c4cbf0; }
.product .cta-row { margin-top: auto; padding-top: 28px; }
.features { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 0; }
.features li { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-top: 1px solid var(--panel-b); font-size: 15px; }
.features li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
@media (hover: hover) { .product:hover { border-color: var(--accent); transform: translateY(-2px); } }

/* How Mitra works */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.steps li { padding: 28px; border: 1px solid var(--panel-b); border-radius: 20px; background: var(--panel); }
.steps img, .diff img { display: block; width: 28px; height: 28px; margin-bottom: 24px; }
.steps .n { font: 600 11px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 0 0 6px; }
.steps h3 { font-size: 22px; letter-spacing: .04em; text-transform: uppercase; }
.steps p:last-child, .diff p:last-child, .featgrid p:last-child { margin: 0; color: var(--muted); font-size: 15px; }

/* Product ecosystem */
.ecosystem { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.ecosystem > div { padding: 28px; border: 1px solid var(--panel-b); border-radius: 20px; }
.ecosystem h3 { font: 600 12px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
.tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 9px 14px; border-radius: 999px; border: 1px solid var(--panel-b); background: var(--accent-soft); font-size: 14px; }

/* Differentiators and feature grids */
.diff, .featgrid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1px; background: var(--panel-b); border: 1px solid var(--panel-b); border-radius: 20px; overflow: hidden; }
.diff li, .featgrid li { padding: 28px; background: var(--bg2); }
.featgrid li { border-top: 2px solid transparent; }
.featgrid h3::before { content: ""; display: block; width: 24px; height: 2px; margin-bottom: 18px; background: var(--accent); }

/* Trust */
.trust { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
.checks li { position: relative; padding: 15px 0 15px 26px; border-top: 1px solid var(--panel-b); font-size: 15px; }
.checks li::before { content: ""; position: absolute; left: 2px; top: 20px; width: 11px; height: 6px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }
.note { color: var(--muted); font-size: 14px; }

/* Final CTA */
.mk > .final-cta { text-align: center; }
.final-cta .panel { padding: clamp(40px, 7vw, 88px) clamp(20px, 4vw, 56px); border: 1px solid var(--panel-b); border-radius: 28px; background: radial-gradient(700px 300px at 50% 0%, rgba(120, 100, 255, .2), transparent 70%), var(--panel); }
.final-cta h2, .final-cta .lede { margin-left: auto; margin-right: auto; }
.final-cta .cta-row { justify-content: center; }

/* About */
.prose { max-width: 42rem; }
.prose p { color: #c4cbf0; font-size: 17px; line-height: 1.65; }
.facts { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 0 32px; max-width: 42rem; }
.facts dt, .facts dd { margin: 0; padding: 14px 0; border-top: 1px solid var(--panel-b); }
.facts dt { color: var(--muted); font-size: 14px; }

@media (max-width: 860px) {
  .duo, .steps, .ecosystem, .trust { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
  .checks { grid-template-columns: minmax(0, 1fr); }
  .cta-row .btn { width: 100%; }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .facts dd { border-top: 0; padding-top: 0; }
}

/* Entrance motion for the hero only; theme.css disables it for reduced motion. */
@media (prefers-reduced-motion: no-preference) {
  .hero > * { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
  .hero > :nth-child(2) { animation-delay: .06s; }
  .hero > :nth-child(3) { animation-delay: .12s; }
  .hero > :nth-child(4) { animation-delay: .18s; }
  .hero > :nth-child(5) { animation-delay: .24s; }
  .hero > :nth-child(6) { animation-delay: .28s; }
  .hero > :nth-child(7) { animation-delay: .32s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
