/* Long-form marketing pages (/features/*, /hi/). Loaded after landing.css;
   only adds what those pages need. */

/* Devanagari needs taller lines than Latin: matras sit above and below. */
body.mkt-hi h1 { line-height: 1.22; }
body.mkt-hi h2 { line-height: 1.25; }

.mkt-hero { padding-block: clamp(28px, 4.5vw, 64px) clamp(56px, 7vw, 104px); }
.mkt-hero-copy { max-width: 760px; }
.mkt-hero h1 { font-size: clamp(2.6rem, 5.4vw, 4.6rem); }
.mkt-hero .hero-description { max-width: 60ch; }

.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 0;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  color: var(--on-dark-2);
  font-size: .9rem;
}
.crumbs li + li::before { content: "/"; margin-inline: 8px; color: var(--on-dark-2); }
.crumbs a { text-underline-offset: 3px; }
.crumbs [aria-current] { color: var(--on-dark); font-weight: 600; }

.mkt-section { padding-block: clamp(48px, 7vw, 96px); }
.mkt-section.alt { background: var(--chandi-200); }
.mkt-section h2, .mkt-h2-sm { font-size: clamp(2rem, 3.6vw, 3rem); }
.mkt-section .split > div > p + p { margin-top: 12px; }

.prose { max-width: 70ch; color: var(--ink); }
.prose p { margin-top: 12px; color: var(--muted); }
.prose p:first-child { margin-top: 0; }
.prose ul, .prose ol { margin: 12px 0 0; padding-left: 1.2em; color: var(--muted); }
.prose li { margin-top: 6px; }
.prose li strong, .prose p strong { color: var(--ink); }
.prose h3 { margin-top: 22px; }
.prose a { color: var(--velvet-700); font-weight: 600; text-underline-offset: 3px; }

.answer {
  margin-top: 16px;
  padding: 16px 18px;
  border-left: 4px solid var(--gold);
  border-radius: 0 14px 14px 0;
  background: var(--surface);
  color: var(--ink);
}

.mkt-table-wrap { margin-top: 18px; overflow-x: auto; border-radius: 16px; background: var(--paper); }
.mkt-table { width: 100%; min-width: 460px; border-collapse: collapse; font-size: .88rem; font-variant-numeric: tabular-nums; }
.mkt-table caption { padding: 12px 14px 0; text-align: left; font-weight: 700; }
.mkt-table th, .mkt-table td { padding: 10px 14px; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; }
.mkt-table thead th { color: var(--muted); font-size: .85rem; font-weight: 600; }
.mkt-table tbody tr:last-child > * { border-bottom: 0; }
.mkt-table .num { text-align: right; white-space: nowrap; }
.mkt-table tfoot th, .mkt-table tfoot td { font-weight: 700; border-top: 1px solid var(--rule); border-bottom: 0; }
.mkt-note { margin-top: 10px; color: var(--muted); font-size: .8rem; }

.mkt-related { padding-block: 8px clamp(36px, 5vw, 64px); }
.mkt-related-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}
.mkt-related-list a {
  display: flex;
  min-height: 52px;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 14px;
  background: var(--paper);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
}
.mkt-related-list a:hover { background: #fff; }
.mkt-related-list a span { flex: 1; }
.mkt-related-list .bi:first-child { color: var(--gold-700); }

.feature a.feature-link { display: inline-flex; min-height: 44px; align-items: center; gap: 6px; margin-top: 8px; color: var(--gold-700); font-size: .95rem; font-weight: 700; text-underline-offset: 3px; }

@media (max-width: 540px) {
  .mkt-hero h1 { font-size: 2.35rem; }
}
.prose .steps { margin-top: 0; padding-left: 0; color: inherit; }
/* A single-column grid track is 1fr = minmax(auto, 1fr): without this a wide
   table would stretch the column past the phone's width instead of scrolling. */
.mkt .split > * { min-width: 0; }
.crumbs a, .crumbs [aria-current] { display: inline-block; padding-block: 4px; }
.feature h3 a { display: inline-block; padding-block: 2px; text-underline-offset: 3px; }
@media (max-width: 540px) {
  .mkt-table { min-width: 0; font-size: .82rem; }
  .mkt-table th, .mkt-table td { padding: 9px 10px; }
}
