/* Kjuare finishing layer v21: visual rhythm, clarity and touch ergonomics. */
:root{--kj-edge:#e1e3dc;--kj-radius:18px;--kj-depth:0 14px 40px rgba(23,25,21,.065)}
html{scroll-padding-top:88px}
#generator{scroll-margin-top:12px}
:where(a,button,input,select,textarea,summary):focus-visible{outline:2px solid #171915;outline-offset:3px}
.foot :where(a,button):focus-visible{outline-color:#ffdb34}
.header .nav a{position:relative;transition:color .18s ease}
.header .nav a[aria-current="page"]::after{content:"";position:absolute;inset:auto 0 -8px;height:3px;border-radius:3px;background:#ffdb34}
.header .head-login:hover,.header .nav a:hover{text-decoration:underline;text-decoration-color:#ffdb34;text-decoration-thickness:2px;text-underline-offset:5px}
.btn{transition:background-color .18s ease,border-color .18s ease,box-shadow .18s ease,transform .18s ease;line-height:1.35}
.btn:not(:disabled):not(.outline):hover{box-shadow:0 5px 17px rgba(163,125,0,.15)}
.btn.outline:hover{background:#f8f8f5}
.hero h1{letter-spacing:-.057em;line-height:1.055;text-wrap:balance}
.hero .hero-lead{line-height:1.56;max-width:51ch}
.hero .trust{flex-wrap:wrap;row-gap:6px}
.section-head h2,.subhero h1,.industry-feature-copy h3,.kj-studio-home h2{text-wrap:balance;letter-spacing:-.045em;line-height:1.09}
.section-head p{line-height:1.62;max-width:66ch}
.section.center .section-head p{margin-inline:auto}
.generator-card{border:1px solid var(--kj-edge);border-radius:24px;box-shadow:0 18px 56px rgba(52,44,0,.105)}
.generator-card .card-top{padding:17px 20px;border-color:#e7e8e2}
.generator-card .type{font-size:12px;min-height:60px;border-radius:10px;line-height:1.25;overflow-wrap:anywhere;transition:background .16s,border-color .16s,box-shadow .16s}
.generator-card .types{gap:7px;margin-bottom:16px}
.generator-card .types .type:last-child:nth-child(7){grid-column:1/-1;flex-direction:row;justify-content:center;gap:8px;min-height:41px}
.generator-card .type.selected{background:#fff7c9;border-color:#e0b700;box-shadow:inset 0 0 0 1px #ffdb34}
.generator-card .type:not(.selected):hover{background:#fbfbf8;border-color:#cfcfc5}
.generator-card .field{line-height:1.35}
.control{border-radius:11px;transition:border-color .18s,box-shadow .18s}
.control:focus{border-color:#9f8000;box-shadow:0 0 0 3px rgba(255,219,52,.28);outline:0}
.generator-card .control{font-size:14px;min-height:44px;font-weight:650}
.generator-card .preview-box{border-radius:18px;background:#f6f6f2;padding:16px 13px}
.generator-card .preview-box .btn{min-height:42px;font-size:13px}
.generator-card .preview-box p{font-size:12px;line-height:1.45;color:#62645e}
.generator-card .preview-box .qr-art{border-radius:13px}
.industry-image-link{border-radius:18px}
.industry-card,.tile,.benefit,.price,.kj-studio-demo,.kj-studio-benefit{border-radius:var(--kj-radius);border-color:var(--kj-edge)}
.industry-card,.tile{transition:box-shadow .22s ease,transform .22s ease,border-color .22s ease}
.industry-card-body{padding:24px;gap:10px}
.industry-card-body h3,.tile h3{line-height:1.24;letter-spacing:-.025em}
.industry-card-body p,.tile p,.kj-studio-benefit p{line-height:1.57}
.tile{min-height:182px}
.tile-icon{border-radius:12px}
.section:has(>.wrap>.type-grid){background:#fafaf8;border-block:1px solid #eeefe9}
@media(hover:hover) and (pointer:fine){.industry-card:hover,.tile:hover{box-shadow:var(--kj-depth);transform:translateY(-3px);border-color:#d6ce9d}.industry-image-link:hover{box-shadow:var(--kj-depth)}}
.kj-studio-home .kj-studio-demo{padding:13px;box-shadow:0 5px 16px rgba(23,25,21,.035)}
.kj-studio-home .kj-studio-benefit{padding:22px}
.kj-studio-home .kj-studio-benefit>span:first-child,.benefit .num{display:inline-grid;place-items:center;width:42px;height:42px;margin:0 0 13px;border-radius:12px;background:#171915;color:#ffdb34;font-size:17px;letter-spacing:0;font-weight:800;font-variant-numeric:tabular-nums;line-height:1}
.benefit .num{width:46px;height:46px;font-size:19px}
.benefit h3{line-height:1.3;letter-spacing:-.023em}
.price-grid{gap:16px}
.price-grid .price{border-radius:18px;padding:24px 17px;gap:13px;min-width:0}
.price-grid .price.recommended{box-shadow:0 10px 30px rgba(171,132,0,.1);border-color:#dfb900}
.price-grid .amount{letter-spacing:-.055em;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.price-grid .amount small{display:inline-block;white-space:nowrap;letter-spacing:0}
.price-grid .plan-list{font-size:13.5px;line-height:1.5;gap:10px;overflow-wrap:anywhere}
.price-grid .btn{min-height:48px;white-space:normal;text-align:center;line-height:1.25}
.faq-grid-v9{align-items:start}
.faq-grid-v9 details{border-radius:14px;transition:border-color .18s,box-shadow .18s,background .18s}
.faq-grid-v9 details:hover{border-color:#d7d6cb}
.faq-grid-v9 details[open]{border-color:#d8c46c;box-shadow:0 6px 18px rgba(23,25,21,.045)}
.faq-grid-v9 summary{line-height:1.42}
.faq-grid-v9 details[open] summary{background:#fffbed;border-radius:13px 13px 0 0}
.faq-grid-v9 details p{line-height:1.67}
.form-panel{border-radius:22px;box-shadow:0 12px 40px rgba(23,25,21,.055);border-color:var(--kj-edge)}
.form-panel .control{font-size:16px;min-height:48px;font-weight:500}
.form-panel .btn.large{min-height:50px}
.form-panel p{line-height:1.65}
.form-links a{text-decoration-color:#d0b636;text-underline-offset:4px}
main:has(>.section.compact .form-panel)>.subhero{padding:42px 0 16px;background:#fff;border:0;text-align:center}
main:has(>.section.compact .form-panel)>.subhero h1{font-size:clamp(2.4rem,5vw,3.6rem)}
main:has(>.section.compact .form-panel)>.section.compact{padding-top:20px;padding-bottom:64px;background:linear-gradient(#fff,#fbfaf4)}
.foot-grid h3{margin-bottom:14px}
.foot-grid a:not(.logo){line-height:1.56}
@media(max-width:1150px){.generator-card .generator-inner{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr)}.price-grid .price{padding:23px 18px}}
@media(min-width:901px) and (max-width:1250px){.hero h1{font-size:clamp(3.4rem,6vw,5rem)}.generator-card .type{font-size:11.5px}}
@media(max-width:900px){html{scroll-padding-top:82px}.header .nav{top:100%;max-height:calc(100dvh - 78px);overflow-y:auto;padding:12px 24px 18px;border-bottom:0;border-radius:0 0 20px 20px;box-shadow:0 16px 30px rgba(23,25,21,.10);gap:2px}.header .nav a{display:flex;align-items:center;min-height:44px;padding:9px 10px;white-space:normal;width:100%;border-radius:9px}.header .nav a[aria-current="page"]{background:#fff5bd}.header .nav a[aria-current="page"]::after{display:none}.header .nav .mobile-login{display:flex}.header .menu-toggle{min-width:38px;min-height:38px}.hero .hero-lead{max-width:57ch}.hero h1{letter-spacing:-.054em}.section-head h2{text-wrap:balance}.price-grid .price{padding:24px}.price-grid .plan-list{font-size:14px}.price-grid .btn{min-height:48px}}
@media(max-width:720px){.section-head p{font-size:16px}.industry-card-body{padding:21px}.tile{min-height:170px;padding:17px}.kj-studio-home .kj-studio-benefit{padding:18px}.kj-studio-home .kj-studio-demo{padding:10px}.foot-grid h3{margin-bottom:11px}}
@media(max-width:520px){html{scroll-padding-top:96px}.header .head{flex-wrap:wrap;gap:5px;padding-block:6px}.header .head-right{flex:0 1 auto;margin-left:auto;gap:4px}.header .logo img{width:clamp(95px,26vw,119px)}.header .head-right .btn{max-width:28vw;min-height:36px;white-space:normal;text-align:center;line-height:1.15}.hero{padding:34px 0 42px}.hero h1{font-size:clamp(2.55rem,10.8vw,3.8rem);letter-spacing:-.052em;text-wrap:wrap}.hero-grid{gap:30px}.hero .hero-lead{font-size:17px;line-height:1.55;margin:17px 0 23px}.hero .hero-actions .btn{min-height:48px}.generator-card .generator-inner{grid-template-columns:minmax(0,1fr);padding:15px;gap:16px}.generator-card .card-top{padding:15px}.generator-card .type{min-height:58px;font-size:12px}.generator-card .control,.control:not([type="color"]){font-size:16px;min-height:44px}.generator-card input[type="color"]{min-height:38px}.generator-card .preview-box{display:flex;flex-direction:column;align-items:center;gap:10px;padding:18px 14px}.generator-card .preview-box .qr-art{width:min(100%,230px);height:auto;aspect-ratio:1;margin:0 auto}.generator-card .preview-box p{margin:0;max-width:28ch;font-size:13px}.generator-card .preview-box .btn{margin:0;min-height:46px;width:100%}.price-grid{gap:16px}.price-grid .price{padding:23px}.type-grid{gap:10px}.tile{min-height:160px;padding:16px}.tile h3{font-size:17px}.tile p{font-size:14px}.section-head h2{text-wrap:wrap}.faq-grid-v9 summary{font-size:16px;min-height:62px}.form-panel{padding:22px}.form-panel .control{font-size:16px}.form-panel .form-links{line-height:1.65}.section:has(>.wrap>.type-grid){border-block:0}}
@media(prefers-reduced-motion:reduce){.header .nav a,.btn,.generator-card .type,.control,.industry-card,.tile,.faq-grid-v9 details{transition:none!important}.btn:hover,.industry-card:hover,.tile:hover{transform:none!important}html{scroll-behavior:auto!important}}

/* QA refinements: keep text together and plans immediately accessible. */
.hero .hero-lead{max-width:min(100%,580px);text-wrap:pretty}
.price-grid .plan-list li{display:block;position:relative;padding-inline-start:17px;overflow-wrap:normal}
.price-grid .plan-list li::before{position:absolute;inset-inline-start:0;top:0}
.price-grid .plan-list li b{white-space:normal;overflow-wrap:anywhere}
main>.subhero+.section:has(>.wrap>.price-grid){padding-top:48px}
main>.subhero+.section:has(>.wrap>.price-grid)>.wrap>.section-head{display:none}
@media(max-width:520px){main>.subhero+.section:has(>.wrap>.price-grid){padding-top:33px}}

/* Final compact header and consistent QR selector rows. */
.generator-card .types{grid-template-columns:repeat(3,minmax(0,1fr))}
.header .nav .mobile-register{display:none}
@media(max-width:380px){.header .head{flex-wrap:nowrap;gap:5px;min-height:64px}.header .head-right{margin-left:auto;gap:4px}.header .head-right>.btn{display:none}.header .nav .mobile-register{display:flex;justify-content:center;background:#ffdb34;font-weight:750;margin-top:5px}.hero h1{overflow-wrap:anywhere;hyphens:auto}}
