/* Kifly: shared, responsive visual system. */
:root{--brand:#5546ca;--brand-dark:#40349e;--line:#e3e5e7;--muted:#60666d;--text:#20252b;--shadow:none;--km-paper:#f7f8f6}
html{scroll-padding-top:120px}body{background:#fff;color:var(--text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.6}*{box-sizing:border-box}img{max-width:100%}button,input,select,textarea{font:inherit}button,a,input,select,textarea{touch-action:manipulation}a{color:var(--brand)}:focus-visible{outline:3px solid #897bef;outline-offset:4px}h1,h2,h3{color:var(--text);letter-spacing:-.035em;line-height:1.17}p{overflow-wrap:break-word}main{min-height:55vh}main:focus{outline:0}.container{width:calc(100% - 64px);max-width:1160px;margin-inline:auto}.section{padding:56px 0}.button,.kf-auth-submit,.kf-auth-secondary{border-radius:8px!important;box-shadow:none!important;min-height:44px;padding:12px 20px;font-size:14px;font-weight:650;line-height:1.4;background:var(--brand);background-image:none;transition:background .15s}.button:hover,.kf-auth-submit:hover{transform:none;background:var(--brand-dark);color:#fff}.button.secondary{background:#fff;color:var(--text);border:1px solid #d9dce1}.button.secondary:hover{background:#f2f3f5;color:var(--text)}.actions{gap:18px;flex-wrap:wrap}.actions>*{min-width:0}.km-skip{position:fixed;top:-100px;left:16px;z-index:1000;background:#fff;padding:12px 20px;border:2px solid var(--brand);border-radius:6px}.km-skip:focus{top:12px}
.site-header{background:#fff!important;border-bottom:1px solid var(--line)!important;box-shadow:none!important;backdrop-filter:none}.site-header .announcement{display:block!important;background:#f4f5f2;color:#56605a;border:0;font-size:11px}.announcement>.container{min-height:32px;justify-content:space-between}.kf-language-switch button{color:#383e43;border:0;background:transparent!important;font-weight:600}.site-header .header-inner{min-height:80px}.site-header .brand{color:#20252b!important;gap:10px}.site-header .brand-mark{width:36px;height:36px;min-width:36px;background:transparent!important;border:0;border-radius:8px;box-shadow:none}.site-header .brand-mark img{width:36px;height:36px}.site-header .brand-copy strong{color:#20252b!important;font-size:22px;letter-spacing:-1px}.site-header .brand-copy small{display:none}.site-header .main-nav{gap:20px}.site-header .main-nav>a,.site-header .nav-button{color:#525760!important;font-size:13px;font-weight:550}.site-header .main-nav>a:hover,.site-header .main-nav>a[aria-current=page]{color:var(--brand)!important;background:transparent}.site-header .main-nav>a.button{color:#fff!important;background:var(--brand)!important}.site-header .main-nav>a.launcher-nav-button{background:transparent!important;border:0!important;box-shadow:none;padding:0;color:#393345!important}.site-header .menu-toggle{color:#292633!important;background:#f5f4f8!important;border:1px solid #dedbe8!important;border-radius:8px;box-shadow:none}.site-header .menu-toggle span{background:#292633!important}.main-nav a,.main-nav button{min-height:40px;align-content:center}
.km-section{padding:72px 0}.km-eyebrow{color:#656b67;font-size:11px;font-weight:700;letter-spacing:.14em;margin:0 0 22px}.km-hero{padding:86px 0 80px;background:var(--km-paper);border-bottom:1px solid var(--line)}.km-hero-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:65px;align-items:center}.km-hero h1{font-size:clamp(36px,4.4vw,60px);font-weight:650;letter-spacing:-.055em;margin:0 0 25px;line-height:1.08}.km-hero h1 em{font-style:normal;color:#797f77}.km-lead{max-width:590px;font-size:17px;line-height:1.8;color:#60666d;margin:0 0 30px}.km-text-link{display:inline-flex;align-items:center;gap:9px;min-height:44px;font-weight:600;font-size:14px;text-decoration:none;color:#464052}.km-text-link:hover{color:var(--brand);text-decoration:underline;text-underline-offset:5px}.km-hero-note{display:flex;align-items:center;flex-wrap:wrap;gap:9px;margin-top:30px;font-size:12px;color:#686f68}.km-dot{width:6px;height:6px;background:#52795f;border-radius:50%}.km-library{border:1px solid #dcdfd9;border-radius:12px;padding:24px;background:#fff;box-shadow:0 14px 40px #27302408;transform:rotate(-1deg);min-width:0}.km-library-head{display:flex;justify-content:space-between;align-items:center;gap:16px;padding-bottom:20px;font-size:13px}.km-library-head>span{font-size:23px;font-weight:400;color:var(--brand)}.km-library-row{display:flex;align-items:center;gap:13px;padding:18px 0;border-top:1px solid #eceee9;color:#252c29;text-decoration:none}.km-library-row img{width:44px;height:44px;object-fit:contain;background:#f6f7f4;border-radius:10px}.km-library-row>span:not(.km-row-arrow){min-width:0}.km-library-row strong{display:block;font-size:13px;font-weight:650;overflow-wrap:anywhere}.km-library-row small{display:block;font-size:11px;color:#767c75;margin-top:4px}.km-row-arrow{margin-left:auto;color:#949b90}.km-library-foot{padding-top:17px;border-top:1px solid #eceee9;color:#7a8079;font-size:11px;line-height:1.7}.km-section-head{display:flex;justify-content:space-between;align-items:end;gap:32px;margin-bottom:32px}.km-section-head .km-eyebrow{margin-bottom:12px}.km-section-head h2,.km-launcher h2,.km-faq-layout h2{font-size:clamp(27px,3vw,37px);font-weight:600;margin:0}.km-section-head h1,.km-guide h1{font-size:clamp(34px,4vw,50px);font-weight:600;margin:0 0 18px}.km-section-head>p{max-width:340px;color:var(--muted);font-size:14px}.km-app-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.km-app{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:10px;padding:24px;min-width:0;background:#fff;transition:border-color .15s}.km-app:hover{border-color:#b3abd6}.km-app-top{display:flex;align-items:center;gap:14px;text-decoration:none;color:var(--text);min-width:0}.km-app-top img{width:56px;height:56px;object-fit:contain;background:#f7f8f5;border-radius:10px;flex:0 0 56px}.km-app-top>div{min-width:0}.km-app h3{font-size:17px;font-weight:650;margin:4px 0;overflow-wrap:anywhere}.km-app-letter{display:grid;place-items:center;width:48px;height:48px;border-radius:10px;background:#efedf8;color:var(--brand);font-size:23px;font-weight:600;flex:0 0 48px}.km-caption{font-size:11px;color:#72776f}.km-app>p{color:#666d70;font-size:13px;line-height:1.75;margin:20px 0 28px;flex:1}.km-app-bottom{display:flex;justify-content:space-between;align-items:center;gap:12px;border-top:1px solid #eff0ed;padding-top:16px}.km-app-bottom>span{display:grid;gap:3px}.km-app-bottom small{font-size:10px;color:#858b82}.km-free{font-weight:650;font-size:13px;color:#416c50}.km-app-bottom>a{display:inline-flex;align-items:center;gap:8px;min-height:44px;font-size:12px;font-weight:650;color:#393d39}.km-app-bottom>a:hover{color:var(--brand)}.km-tinted{background:var(--km-paper);border-block:1px solid var(--line)}.km-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:50px;margin-top:42px}.km-step-number{font-size:12px;font-family:ui-monospace,monospace;color:#7c847a}.km-steps h3{font-size:19px;font-weight:600;margin:24px 0 14px}.km-steps p,.km-launcher p,.km-faq-layout p{font-size:14px;color:var(--muted);line-height:1.8}.km-launcher{display:grid;grid-template-columns:100px minmax(0,1fr) auto;gap:34px;align-items:center}.km-launcher .km-eyebrow{margin-bottom:12px}.km-launcher h2{font-size:30px}.km-launcher p{max-width:620px;margin-bottom:0}.km-launcher-mark{width:100px;height:100px;border:1px solid #dedbe9;background:#f4f2fa;color:var(--brand);border-radius:20px;font-size:55px;font-weight:650;display:grid;place-items:center;position:relative;line-height:1}.km-launcher-mark span{position:absolute;right:8px;top:8px;font-size:20px}.km-faq-section{border-top:1px solid var(--line)}.km-faq-layout{display:grid;grid-template-columns:1fr 1.5fr;gap:80px}.km-faq-layout .km-eyebrow{margin-bottom:20px}.km-faq details{border-bottom:1px solid var(--line)}.km-faq details:first-child{border-top:1px solid var(--line)}.km-faq summary{list-style:none;display:flex;justify-content:space-between;align-items:center;gap:20px;padding:23px 0;cursor:pointer;font-size:15px;font-weight:550;color:#353b36}.km-faq summary::-webkit-details-marker{display:none}.km-faq summary>span{font-size:24px;font-weight:400;color:#7b8178;flex:0 0 22px}.km-faq details[open] summary>span{transform:rotate(45deg)}.km-faq details p{margin:0 0 24px;max-width:650px;font-size:14px;color:var(--muted);line-height:1.85}.km-filters{display:grid;grid-template-columns:minmax(180px,2fr) minmax(100px,1fr) minmax(160px,1.2fr) auto;align-items:end;gap:14px;padding:24px;background:var(--km-paper);border:1px solid var(--line);border-radius:10px}.km-filters label{display:block;font-size:12px;font-weight:650;margin-bottom:8px}.km-filters input,.km-filters select{width:100%;height:46px;padding:10px 12px;border:1px solid #d9ddd7;border-radius:6px;background:#fff;color:#333a36;min-width:0;font-size:14px}.km-filters .button{height:46px}.km-results{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:22px 0;font-size:12px;color:var(--muted)}.km-help-inline{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px;border-top:1px solid var(--line);margin-top:45px;padding-top:22px;font-size:13px;color:var(--muted)}.km-guide{max-width:860px}.km-guide-steps{margin:45px 0 65px}.km-guide-steps article{display:grid;grid-template-columns:40px 1fr;gap:24px;padding:27px 0;border-top:1px solid var(--line)}.km-guide-steps h2{font-size:22px;font-weight:600;margin:0 0 12px}.km-guide-steps p{margin:0;color:var(--muted)}.km-help-box{padding:30px;border:1px solid var(--line);border-radius:10px;background:var(--km-paper);margin-top:45px}.empty-state{grid-column:1/-1;padding:50px 24px;border-radius:10px;box-shadow:none}
/* Existing app pages share the same calm surface and accessible controls. */
.page-header,.support-hero,.product-detail{background:var(--km-paper)!important;color:var(--text);border-bottom:1px solid var(--line);padding:50px 0}.page-header h1,.support-hero h1,.product-detail h1{color:var(--text)!important;-webkit-text-fill-color:initial;background:none;font-weight:600;font-size:clamp(30px,4vw,46px)}.page-header p,.support-hero p,.product-detail .lead{color:var(--muted)!important}.product-card,.post-card,.panel-card,.stat-card,.order-card,.step-card,.benefit-grid article{border:1px solid var(--line);border-radius:10px;box-shadow:none;background:#fff}.product-card:hover,.post-card:hover{transform:none;box-shadow:none}.product-detail-grid{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:45px}.detail-cover{box-shadow:none;border:1px solid var(--line);border-radius:12px;background:#fff;min-width:0}.detail-cover img{object-fit:contain;max-height:380px}.detail-meta{gap:12px}.detail-meta>span{font-size:12px}.detail-content{gap:32px}.detail-content>div{min-width:0}.detail-content p{line-height:1.85;color:var(--muted)}.detail-content h2{font-size:23px}.kf-auth-modern,.kf-auth-workspace{background:var(--km-paper)!important}.kf-auth-story{background:#eceee8!important;color:var(--text)!important;box-shadow:none!important}.kf-auth-story h1,.kf-auth-story strong,.kf-auth-story p,.kf-auth-story small,.kf-auth-story__features{color:#394236!important}.kf-auth-card-modern,.kf-register-card,.kf-register-intro{border-radius:12px!important;box-shadow:none!important}.kf-auth-card-modern__icon{background:#efedf8!important;color:var(--brand)!important;box-shadow:none!important}.kf-auth-control input{font-size:16px!important}.kf-auth-control:focus-within{box-shadow:0 0 0 3px #5546ca18!important}.kf-auth-kicker{color:var(--brand)!important}.kf-register-benefits article{border-radius:8px!important;box-shadow:none!important}.kf-auth-story__content h1{font-weight:600!important}.support-hero__badge{background:#fff!important;color:#333!important;border:1px solid var(--line)}.site-footer{background:var(--km-paper)!important;border-top:1px solid var(--line);color:#646c62}.site-footer .brand strong,.site-footer h3{color:#2e362d!important}.site-footer .brand small,.site-footer p,.site-footer a,.site-footer .footer-bottom{color:#66705f!important}.site-footer .brand-mark{background:transparent!important;box-shadow:none;border:0}.site-footer .footer-contact-strip{background:#edefe9!important;border-top:1px solid var(--line)}.site-footer .footer-contact-strip strong{color:#343c30}.site-footer .footer-contact-button{border:1px solid #ccd1c6;color:#393f35!important;background:#fff!important;box-shadow:none;border-radius:6px}.site-footer .footer-bottom{border-color:#dfe3da}.site-footer .creator-credit a{color:var(--brand)!important}.footer-main{padding:48px 0;gap:40px}.pill{border-radius:5px;background:#f0eef7;color:#5d5570}.kf-toast{border-radius:10px}.kf-toast.error .kf-toast__progress,.kf-toast.warning .kf-toast__progress{display:none}input,select,textarea{max-width:100%}.table-responsive,.table-wrap{overflow-x:auto}.km-app .money-stack{font-size:12px}
@media(min-width:1101px){.site-header .menu-toggle{display:none!important}.site-header .main-nav{display:flex!important}.site-header .main-nav .inline-form{margin:0}}
@media(max-width:1100px){.site-header .menu-toggle{display:flex!important;margin-left:auto}.site-header .header-inner{position:relative;min-height:68px}.site-header .main-nav{position:absolute;top:calc(100% + 1px);left:0;right:0;display:none!important;padding:14px;max-height:calc(100dvh - 120px);overflow:auto;background:#fff!important;box-shadow:0 15px 30px #20252b12;border:1px solid var(--line);border-radius:0 0 10px 10px}.site-header .main-nav.is-open{display:grid!important;gap:4px}.site-header .main-nav>a,.site-header .main-nav .nav-button{display:flex!important;align-items:center;padding:10px 14px!important;min-height:44px;width:100%;border-radius:6px;color:#333!important;background:transparent}.site-header .main-nav>a.launcher-nav-button{padding:10px 14px!important}.site-header .main-nav .inline-form{margin:0}.km-hero-grid{gap:32px}.km-library{padding:20px}.km-app-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.km-launcher{grid-template-columns:80px 1fr}.km-launcher>.button{grid-column:2;justify-self:start}.km-launcher-mark{width:80px;height:80px;font-size:42px}}
@media(max-width:800px){.container{width:calc(100% - 40px)}.site-header{background:#fff!important;box-shadow:none!important;backdrop-filter:none}.site-header .announcement{display:block!important}.site-header .announcement>.container{display:flex!important;gap:8px;font-size:10px;min-height:34px}.site-header .brand-copy{display:block!important}.site-header .brand-copy small{display:none!important}.site-header .brand-copy strong{font-size:21px!important}.km-hero{padding:52px 0}.km-hero-grid{grid-template-columns:1fr;gap:40px}.km-hero h1{font-size:clamp(35px,7vw,50px);max-width:630px}.km-lead{font-size:16px}.km-library{transform:none;max-width:none}.km-section{padding:48px 0}.km-section-head{align-items:start;flex-direction:column;gap:12px}.km-section-head>p{max-width:100%;margin:0}.km-steps{gap:28px}.km-steps h3{font-size:17px}.km-faq-layout{grid-template-columns:1fr;gap:22px}.km-faq-layout h2 br{display:none}.km-filters{grid-template-columns:1fr 1fr;padding:18px}.km-filters>div:first-child{grid-column:1/-1}.km-filters>.button{grid-column:1/-1}.product-detail-grid{grid-template-columns:1fr;gap:28px}.detail-cover{max-width:100%}.detail-cover img{max-height:300px}.footer-main{gap:30px}.km-launcher{gap:24px}.km-app{padding:20px}}
@media(max-width:520px){.container{width:calc(100% - 32px)}.km-app-grid{grid-template-columns:1fr}.km-section{padding:40px 0}.km-hero{padding:40px 0}.km-hero h1{font-size:36px}.km-eyebrow{font-size:10px;letter-spacing:.1em}.km-steps{grid-template-columns:1fr;gap:26px}.km-steps article+article{border-top:1px solid #dfe3da;padding-top:26px}.km-steps h3{margin:10px 0;font-size:21px}.km-steps p{margin:0}.km-launcher{grid-template-columns:1fr}.km-launcher>.button{grid-column:1}.km-launcher-mark{width:64px;height:64px;font-size:35px;border-radius:13px}.km-filters{gap:12px}.km-filters input,.km-filters select{font-size:16px}.km-filters>div{min-width:0}.km-guide-steps article{grid-template-columns:26px 1fr;gap:14px}.km-guide h1{font-size:34px}.km-guide-steps h2{font-size:20px}.km-guide-steps p{font-size:14px}.km-help-box{padding:22px}.km-library-row strong{font-size:13px}.km-results{align-items:start;flex-wrap:wrap}.announcement>.container>span{max-width:72%;font-size:9px}.site-header .kf-language-switch button{font-size:10px;padding:6px}.footer-main{grid-template-columns:1fr 1fr}.footer-brand{grid-column:1/-1}.footer-bottom{align-items:start;gap:8px;flex-direction:column}.detail-meta{display:grid;grid-template-columns:1fr 1fr}.product-detail .actions{display:grid;grid-template-columns:1fr}.product-detail .actions .button{width:100%}.detail-content{grid-template-columns:1fr}.km-app-top img{width:52px;height:52px;flex-basis:52px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}*,*::before,*::after{animation:none!important;transition:none!important}}

/* Keep the menu bars visible when older header CSS uses grid layout. */
.site-header .menu-toggle{flex-direction:column;align-items:center;justify-content:center;gap:4px}.site-header .menu-toggle span{display:block;width:20px;height:2px;min-height:2px;flex:none;margin:0}
.km-app-cover{display:block;margin:-24px -24px 20px;overflow:hidden;border-radius:9px 9px 0 0;background:#0b1627;aspect-ratio:5/3}.km-app-cover img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .25s ease}.km-app:hover .km-app-cover img{transform:scale(1.035)}@media(prefers-reduced-motion:reduce){.km-app-cover img{transition:none}.km-app:hover .km-app-cover img{transform:none}}

@media(max-width:760px){.km-app-cover{margin:-20px -20px 20px}}
.product-detail .detail-cover{aspect-ratio:3/2;overflow:hidden;border-radius:20px;background:#0b1527}.product-detail .detail-cover img{width:100%;height:100%;object-fit:cover;max-height:none}.detail-content>div{min-width:0}.detail-content p,.detail-content li{line-height:1.85}.detail-content h2{margin-top:28px}.detail-content ul,.detail-content ol{padding-left:24px}.detail-content li{margin-bottom:12px}.kf-program-gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:20px}.kf-gallery-open img{object-fit:contain!important;background:#0b1527}.kf-gallery-item{transition:transform .2s ease,box-shadow .2s ease}.kf-gallery-item:hover{transform:translateY(-3px);box-shadow:0 12px 28px #18283b18}@media(prefers-reduced-motion:reduce){.kf-gallery-item{transition:none}.kf-gallery-item:hover{transform:none}}@media(max-width:600px){.kf-program-gallery{grid-template-columns:1fr}.product-detail .detail-cover{border-radius:14px}}
