/* ---------- KundliSar theme 2027 ---------- */
:root{--ks-serif:"Fraunces",Georgia,"Times New Roman",serif;--ks-cream:#fbf7f0;--ks-ink:#10292b;--ks-soft:0 1px 2px rgba(16,41,43,.04),0 10px 30px rgba(16,41,43,.07)}
body{background:var(--ks-cream)}
main h1,main h2,.prose-k h2{font-family:var(--ks-serif);font-weight:560;letter-spacing:-.015em;font-variation-settings:"opsz" 72,"SOFT" 50}
main h1{line-height:1.08}
main h1 .text-accent,main h1 span.text-accent{font-style:italic;font-weight:500}
main h3{letter-spacing:-.01em}
/* header: frosted, lighter */
header{background:rgba(251,247,240,.78)!important;backdrop-filter:saturate(1.4) blur(14px);-webkit-backdrop-filter:saturate(1.4) blur(14px);border-bottom-color:rgba(16,41,43,.06)!important}
/* eyebrow -> pill badge */
.eyebrow{display:inline-flex;align-items:center;gap:8px;padding:6px 12px;border-radius:999px;background:rgba(11,128,121,.08);color:#075e59;letter-spacing:.08em;font-size:11px}
.eyebrow::before{content:"";width:6px;height:6px;border-radius:50%;background:#f2b33d;box-shadow:0 0 0 3px rgba(242,179,61,.25)}
/* buttons: pill */
.btn-primary,.btn-outline,.btn-gold{border-radius:999px!important}
.btn-primary{background:linear-gradient(135deg,#0b8079,#0a6b66)!important;box-shadow:0 8px 22px rgba(11,128,121,.25)}
.btn-outline{background:rgba(255,255,255,.7)!important;border-color:rgba(16,41,43,.12)!important}
/* cards: borderless, soft */
.card{border-color:transparent!important;box-shadow:var(--ks-soft)!important;border-radius:24px!important}
/* section rhythm */
main section{scroll-margin-top:80px}
/* hero glow */
.ks-hero{background:radial-gradient(900px 420px at 15% -10%,rgba(11,128,121,.14),transparent 60%),radial-gradient(700px 380px at 95% 10%,rgba(242,179,61,.16),transparent 60%),linear-gradient(#fbf7f0,#fbf7f0)!important}
.ks-hero h1{font-size:36px!important;line-height:1.1!important}
@media(min-width:640px){.ks-hero h1{font-size:50px!important}}
.ks-trust{display:flex;flex-wrap:wrap;gap:10px 18px;margin-top:18px;font-size:13px;font-weight:600;color:#4c5d5c}
.ks-trust span{display:inline-flex;align-items:center;gap:6px}
.ks-trust svg{width:16px;height:16px;color:#0b8079;flex:none}
/* tool grid -> app-style tiles */
.ks-tools ul,.ks-tools .grid{gap:10px!important;grid-template-columns:repeat(3,minmax(0,1fr))!important}
@media(min-width:768px){.ks-tools ul,.ks-tools .grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}}
@media(min-width:1024px){.ks-tools ul,.ks-tools .grid{grid-template-columns:repeat(6,minmax(0,1fr))!important}}
.ks-tools .card{padding:12px 6px!important;text-align:center;align-items:center;min-height:0!important;border-radius:20px!important}
.ks-tools .card>*:first-child{width:38px!important;height:38px!important}
.ks-tools .card p,.ks-tools .card h3{font-size:12px!important;line-height:1.25!important;margin-top:8px!important}
.ks-tools .card p.text-muted,.ks-tools .card .text-muted{display:none}
.ks-tools .card>span:first-child,.ks-tools .card [aria-hidden="true"]{margin-inline:auto}
/* moon signs: lighter tiles */
.ks-signs a,.ks-signs li>a{border-color:transparent!important;box-shadow:var(--ks-soft)!important;border-radius:18px!important;background:#fff!important}
/* white band sections -> cream with soft panel */
main section.bg-white{background:linear-gradient(180deg,#f6efe4,#fbf7f0)!important}
/* FAQ: calmer */
details{border-color:rgba(16,41,43,.08)!important}
/* same glow on every page (not only home) */
body{background:radial-gradient(900px 460px at 12% -60px,rgba(11,128,121,.16),transparent 62%) no-repeat,radial-gradient(760px 420px at 96% 0,rgba(242,179,61,.17),transparent 62%) no-repeat,#fbf7f0!important}
main>*:first-child[class*="bg-gradient"],.ks-hero{background:transparent!important}
/* "Why people use" -> compact 2x2 */
[aria-labelledby="why-h"] .grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
[aria-labelledby="why-h"] .card{padding:14px 14px 12px!important;border-radius:20px!important}
[aria-labelledby="why-h"] h3{font-size:15px!important;line-height:1.25!important}
[aria-labelledby="why-h"] .card p{font-size:13px!important;line-height:1.45!important;margin-top:6px!important}
[aria-labelledby="why-h"] h2{font-size:26px}
/* horoscope sign cards: compact 3-up */
.ks-signgrid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important}
@media(min-width:768px){.ks-signgrid{grid-template-columns:repeat(4,minmax(0,1fr))!important}}
@media(min-width:1024px){.ks-signgrid{grid-template-columns:repeat(6,minmax(0,1fr))!important}}
.ks-signgrid .card{padding:12px 10px!important;border-radius:20px!important;text-align:center}
.ks-signgrid .card>div:first-child{justify-content:center!important}
.ks-signgrid .card>div:first-child>span:first-child{font-size:28px!important}
.ks-signgrid .card>div:first-child>span:last-child{display:none}
.ks-signgrid .card p:nth-of-type(1){font-size:14px!important;margin-top:6px!important}
.ks-signgrid .card p:nth-of-type(1) span{display:block;font-size:12px}
.ks-signgrid .card p:nth-of-type(2){font-size:11px!important;line-height:1.3}
.ks-signgrid .card p:nth-of-type(3){display:none}
/* bottom nav active tab */
#bottom-nav a[aria-current="page"]{color:#075e59!important}
#bottom-nav a[aria-current="page"]>span{background:#0b8079!important;color:#fff!important;box-shadow:0 4px 10px rgba(11,128,121,.28)}
/* ---------- focus & compact (design rules: modern, no clutter, less height) ---------- */
[data-ks-float]{display:none!important}                 /* header + bottom nav already offer Chat */
[aria-labelledby="how-h"]{display:none!important}        /* repeated what the hero says */
.ks-trust{display:none!important}                        /* covered by "Why people use" */
.ks-hero h1{font-size:30px!important;line-height:1.12!important;margin-top:10px!important}
@media(min-width:640px){.ks-hero h1{font-size:46px!important}}
.ks-hero .eyebrow{font-size:10px;padding:5px 10px}
.ks-hero p.mt-4{margin-top:10px!important;font-size:15px!important;line-height:1.55!important}
.ks-hero .btn-outline{display:none!important}           /* one primary action */
.ks-hero > div{padding-top:18px!important;padding-bottom:18px!important;gap:16px!important}
[data-ks-ask]{margin-top:14px!important}
[data-ks-ask] > div{flex-wrap:nowrap!important;overflow-x:auto;scrollbar-width:none;padding-bottom:2px}
[data-ks-ask] > div::-webkit-scrollbar{display:none}
[data-ks-ask] [data-ks-chip]{white-space:nowrap;flex:none}
[data-ks-ask] > p{display:none}
main section.mt-10,main section[class*="mt-10"]{margin-top:28px!important}
main section.py-10{padding-top:24px!important;padding-bottom:24px!important}
main section h2{font-size:24px!important;line-height:1.2!important}
@media(min-width:640px){main section h2{font-size:34px!important}}
main section h2 + p,main section .eyebrow + h2 + p{font-size:14px!important;line-height:1.5!important;margin-top:6px!important}
.ks-tools .mt-5{margin-top:12px!important}
[aria-labelledby="ai-h"] .btn-primary{display:none!important}   /* card Chat buttons cover it */
[aria-labelledby="ai-h"] ul{margin-top:14px!important}
[aria-labelledby="faq-h"] details{padding-top:12px!important;padding-bottom:12px!important}
[aria-labelledby="faq-h"] summary{font-size:15px!important}
footer{margin-top:28px!important}
main section:not(.ks-hero) .eyebrow{display:none!important}   /* labels repeated the heading */
main section:not(.ks-hero) .eyebrow + h2{margin-top:0!important}
.ks-tools h2 + p{display:none!important}
.ks-tools .card{padding:10px 6px!important}
.ks-tools .card>*:first-child{width:32px!important;height:32px!important;font-size:15px!important}
.ks-tools .card p,.ks-tools .card h3{margin-top:6px!important}
.ks-signs .grid{margin-top:12px!important}
[aria-labelledby="faq-h"] details{padding-top:10px!important;padding-bottom:10px!important}
[aria-labelledby="faq-h"] .mt-5{margin-top:12px!important}
@media(max-width:639px){main h1 + p:not(.ks-keep){display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}}
/* grid/flex children must be allowed to shrink, or a no-wrap row widens the whole column (iOS Safari) */
.ks-hero > div > div,.ks-hero > div > *{min-width:0!important;max-width:100%}
[data-ks-ask],[data-ks-ask] form,[data-ks-ask] > div{min-width:0!important;max-width:100%!important}
[data-ks-ask] form input{min-width:0;width:100%}
main{overflow-x:clip}
/* bottom nav: frosted */
#bottom-nav{background:rgba(255,255,255,.82)!important;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border-top-color:rgba(16,41,43,.06)!important}
