/* The free kundli funnel (/kundli, /hi/kundli; app/templates/public/kundli_funnel.html). Builds on
   varshphal-funnel.css and marriage-funnel.css (.vp.mr), which the page also loads. */
.kf .kf-landing .vp-landing-head { display: grid; justify-items: center; gap: 6px; text-align: center; }
.kf .kf-landing .vp-landing-head img { width: 70px; height: 70px; }
.kf .kf-landing > form { margin-inline: auto; }
.kf .kf-form-title { margin: 0 0 4px; font-size: 1.22rem; }
.kf .kf-seo { max-width: 900px; margin-inline: auto; display: grid; gap: 16px; }
.kf .kf-seo > section, .kf .kf-seo > nav, .kf .kf-seo > div:not(.vp-card) {
  min-width: 0; margin: 0; padding: clamp(14px, 2.4vw, 22px); border: 1px solid var(--vp-border);
  border-radius: 18px; background: var(--sw-surface1);
}
.kf .kf-seo :is(.public-guide, .faq-section, .public-explainer) { max-width: none; }
.kf .kf-seo .public-definition-grid { gap: 10px; }
.kf .kf-seo details summary { cursor: pointer; }
.kf .kf-seo h2 { margin-top: 0; }
.kf .kf-seo :is(p, .content-section-heading, .answer-block, .answer-block *) { max-width: none; }
.kf-head .kf-lede { margin: .2rem 0; font-size: .95rem; color: var(--sw-ink); }
.kf-head .kf-birth { margin: .3rem 0; }
.kf .kf-unknown { margin: .4rem 0; padding: .55rem .75rem; border: 1px solid #f6b73c66; border-radius: 12px;
  background: #f6b73c14; font-size: .84rem; }
.kf .kf-section > p:not(.vp-eyebrow) { font-size: .9rem; font-weight: 500; }
.kf .kf-section h2 { margin-top: 0; }
.kf .kf-legend, .kf .kf-small { margin: .5rem 0 0; color: var(--sw-ink-muted); font-size: .8rem; }
.kf .kf-small a, .kf .kf-birth a { color: var(--sw-gold-light); text-decoration: underline; text-underline-offset: .2em; }
.kf .kf-sun { margin: .6rem 0 0; color: var(--sw-ink-muted); font-size: .86rem; }
.kf .vp-table { width: 100%; }
.kf #kf-planets { overflow-x: auto; }
.kf-cross { display: grid; grid-template-columns: 44px minmax(0, 1fr); align-items: center; gap: 12px;
  padding: 12px 14px; color: inherit; text-decoration: none;
  background: radial-gradient(ellipse at 100% 0%, #3c2c18, transparent 70%), #1c1830; border-color: #f6b73c55; }
.kf-cross > span { display: grid; gap: 2px; min-width: 0; }
.kf-cross strong { font-size: 1.05rem; color: var(--sw-gold-light); }
.kf-cross__copy { font-size: .84rem; color: var(--sw-ink-muted); }
.kf-cross__cta { font-size: .84rem; font-weight: 700; color: var(--sw-gold-light); }
.kf-cross:hover, .kf-cross:focus-visible { border-color: var(--sw-gold); }
.kf-plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.kf-plan { position: relative; display: grid; align-content: start; gap: 8px; }
.kf-plan--picked { border-color: #f6b73c99; background: linear-gradient(155deg, #2b2240, #16152b 65%); }
.kf-plan__head { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 10px; }
.kf-plan__head h3 { margin: 0; font-size: 1.05rem; }
.kf-plan__head strong { color: var(--sw-gold-light); font-size: 1.1rem; }
.kf-plan p { margin: 0; font-size: .86rem; }
.kf-plan__note { color: var(--sw-ink-muted); font-size: .8rem; }
.kf-plan__badge { justify-self: start; padding: .1rem .55rem; border-radius: 999px; background: var(--sw-gold);
  color: var(--sw-on-gold); font-size: .72rem; font-weight: 750; }
.kf .vp-payment-for { margin: 0; font-size: .82rem; color: var(--sw-ink-muted); }
.kf .vp-payment-note { margin: 0; padding: .45rem .6rem; border: 1px solid #8b79ff66; border-radius: 10px;
  background: #8b79ff19; font-size: .8rem; }
.kf .kf-more .vp-lock__copy p { font-size: .84rem; }
@media (max-width: 760px) {
  .kf-plans { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .kf .kf-seo > section, .kf .kf-seo > nav, .kf .kf-seo > div:not(.vp-card) { padding: 12px; border-radius: 14px; }
  .kf .kf-seo :is(p, li) { font-size: .86rem; }
  .kf .vp-table { font-size: .8rem; }
  .kf .vp-table th img { width: 20px; height: 20px; }
  .kf-cross { grid-template-columns: 34px minmax(0, 1fr); padding: 10px 11px; gap: 8px; }
  .kf-cross img { width: 33px; height: 33px; }
  .kf-cross strong { font-size: .95rem; }
}
/* The board's preview cards: icon, tag and copy, then the card's own action under them. */
.kf .vp-lock { grid-template-columns: 40px minmax(0, 1fr); align-content: start; }
.kf .vp-lock__tag { white-space: nowrap; }
.kf .vp-lock .vp-lock-cta { grid-column: 1 / -1; grid-row: auto; justify-self: start; align-self: end;
  min-height: 40px; white-space: normal; text-align: left; }
@media (max-width: 560px) {
  .kf .vp-lock { grid-template-columns: 32px minmax(0, 1fr); }
  .kf .vp-lock .vp-lock-cta { grid-column: 1 / -1; grid-row: auto; padding: .35rem .7rem; font-size: .8rem; }
}
/* The reference copy's house cards keep the site's H3 weight (tests/test_heading_styles.py). */
.kf .kf-seo h3 { font-weight: 700; }
/* Devanagari is never set under 16px (tests/test_readable_targets_and_text.py); the chart's orb labels keep
   their size, they are Latin abbreviations drawn inside the chart. */
html[lang|="hi"] .kf :where(p, span, li, a, label, summary, small, strong, dd, dt, td, th, button):not(.vp-chart *) {
  font-size: max(16px, 1em);
}
/* A 375x812 phone shows the whole form with its button on the first screen. */
@media (max-width: 560px) {
  .kf .kf-landing { padding-top: 6px; gap: 10px; }
  .kf .kf-landing .vp-landing-head { gap: 2px; }
  .kf .kf-landing .vp-landing-head img { width: 44px; height: 44px; }
  .kf .kf-form-title { font-size: 1.05rem; margin: 0; }
  .vp.kf .kf-landing > form { gap: 7px; }
  html:not([lang|="hi"]) .vp.kf .kf-landing .tt-form-note { font-size: .76rem; line-height: 1.4; }
}
@media (max-width: 560px) {
  /* The Hindi H1 is longer and its small text is floored at 16px: keep its button on the first screen too. */
  html[lang|="hi"] .vp.kf .kf-landing h1 { font-size: 1.55rem; line-height: 1.2; }
  html[lang|="hi"] .kf .kf-landing .vp-landing-head img { width: 36px; height: 36px; }
  html[lang|="hi"] .vp.kf .kf-landing > form { gap: 5px; padding-block: 10px; }
}
