/* Extends the existing Knwit theme. Original palette, fonts and components stay intact. */
.brand-name {text-transform:none}
.knwit-case{text-transform:none!important}
.showcase-wrap{max-width:var(--max);margin:0 auto;padding:0 24px}
.showcase-heading{padding:38px 0 22px;max-width:810px}
.showcase-heading h1{font-size:clamp(2.6rem,4.4vw,3.6rem);line-height:1.03;letter-spacing:-.04em;margin:0 0 18px;max-width:22ch}
.showcase-heading h1 span,.product-hero h1 span{color:var(--accent)}
.showcase-heading .lead,.product-hero .lead{font-size:1.16rem;color:var(--muted);max-width:59ch;line-height:1.65}
.showcase-kicker{color:var(--accent);font-size:.82rem;letter-spacing:.12em;font-weight:700;margin:0 0 14px}
.showcase-intro{display:flex;align-items:end;justify-content:space-between;gap:24px}
.showcase-intro .intro-note{max-width:230px;color:var(--muted);font-size:.9rem;padding-bottom:30px}
.app-choice-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.app-choice{border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--bg-panel);overflow:hidden;display:flex;flex-direction:column;position:relative}
.app-choice:hover{border-color:var(--line-strong)}
.app-choice-copy{padding:28px 26px 0}
.app-choice .choice-type{color:var(--accent);font-size:.76rem;letter-spacing:.09em;font-weight:700;margin:0 0 12px}
.app-choice h2{font-size:1.7rem;letter-spacing:-.03em;line-height:1.1;margin:0 0 12px}
.app-choice .choice-value{font-size:1.07rem;color:var(--text);min-height:2.2em;margin:0 0 12px}
.app-choice p{color:var(--muted)}
.app-choice .choice-link{display:inline-flex;min-height:44px;align-items:center;color:var(--accent);font-weight:700;gap:12px}
.choice-image{margin:24px 20px 0;padding:20px 30px 0;overflow:hidden;height:330px;background:var(--bg-soft);border:1px solid var(--line);border-bottom:0;border-radius:24px 24px 0 0;display:flex;align-items:flex-start;justify-content:center}
.choice-image img{width:100%;max-width:220px;height:auto;border-radius:20px 20px 0 0;box-shadow:var(--shadow)}
.choice-footer{margin-top:auto;padding:18px 26px;border-top:1px solid var(--line);font-size:.82rem;color:var(--muted);position:relative;background:var(--bg-panel)}
.showcase-section{padding:76px 0 0;scroll-margin-top:120px}
.showcase-section h2{font-size:clamp(1.9rem,3.8vw,3rem);letter-spacing:-.035em;line-height:1.08;margin:0 0 18px;max-width:23ch}
.showcase-section .section-lead{color:var(--muted);max-width:65ch;font-size:1.05rem;margin-bottom:28px}
.showcase-story{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:58px;padding:42px 0;border-top:1px solid var(--line)}
.showcase-story:nth-child(even) .story-device{order:2}
.showcase-story .story-device{justify-self:center;width:min(100%,290px)}
.showcase-story .device-frame{padding:10px;border-radius:30px}
.showcase-story .device-frame img{border-radius:23px;width:100%;height:auto}
.showcase-story h3{font-size:clamp(1.6rem,3vw,2.3rem);line-height:1.12;letter-spacing:-.03em;margin:0 0 18px}
.showcase-story p{color:var(--muted);font-size:1.06rem}
.showcase-story ul{padding-left:20px;color:var(--muted);line-height:1.8}
.showcase-story li::marker{color:var(--accent)}
.access-note{font-size:.83rem!important;color:var(--muted);border-left:2px solid var(--accent);padding:8px 12px;background:var(--accent-soft);border-radius:0 8px 8px 0}
.showcase-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}
.comparison-scroll{overflow:auto;border:1px solid var(--line);border-radius:var(--radius-lg)}
.comparison{width:100%;border-collapse:collapse;min-width:640px;text-align:left;font-size:.95rem}
.comparison th,.comparison td{padding:20px 22px;border-bottom:1px solid var(--line);vertical-align:top}
.comparison thead{background:var(--bg-soft)}
.comparison thead th{color:var(--accent);font-size:1rem}
.comparison th:first-child{width:23%}.comparison tbody th{font-weight:400;color:var(--muted)}
.comparison tbody tr:last-child>*{border-bottom:0}
.product-hero{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(250px,.7fr);gap:60px;align-items:center;padding:60px 0 48px}
.product-hero h1{font-size:clamp(2.6rem,5vw,4.5rem);line-height:1.04;letter-spacing:-.045em;margin:0 0 22px;max-width:16ch}
.product-name{font-size:1.02rem;font-weight:700;color:var(--text);margin:0 0 18px}
.product-hero .hero-phone{max-width:292px;justify-self:center;position:relative}
.product-hero .device-frame{padding:10px;border-radius:30px}
.product-hero .device-frame img{border-radius:23px;width:100%;height:auto}
.product-subnav{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:20px}
.product-subnav a{color:var(--muted);border:1px solid var(--line);padding:8px 14px;border-radius:999px;min-height:42px;font-size:.88rem}
.product-subnav a:hover{color:var(--accent);border-color:var(--line-strong)}
.product-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;border:1px solid var(--line);border-radius:18px;overflow:hidden;background:var(--line);margin:10px 0 0}
.product-facts div{background:var(--bg-panel);padding:20px 22px}
.product-facts strong{display:block;font-size:1.05rem;margin-bottom:7px}
.product-facts span{color:var(--muted);font-size:.9rem}
.showcase-video{padding:24px;border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--bg-panel)}
.showcase-video video{width:100%;height:auto;display:block;aspect-ratio:16/9;background:var(--bg);border-radius:12px}
.video-caption{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:18px;flex-wrap:wrap}
.video-caption p{color:var(--muted);font-size:.88rem;margin:0;max-width:55ch}
.video-caption a{color:var(--accent);min-height:44px;display:inline-flex;align-items:center}
.feature-tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.feature-tile{padding:26px;background:var(--bg-panel);border:1px solid var(--line);border-radius:var(--radius-md)}
.feature-tile h3{font-size:1.15rem;margin:0 0 12px}
.feature-tile p{margin:0;color:var(--muted);font-size:.96rem}
.cross-apps{padding:30px;border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--bg-soft);display:flex;align-items:center;justify-content:space-between;gap:24px;margin:72px 0 54px}
.cross-apps h2{font-size:1.5rem;margin:0 0 10px}.cross-apps p{color:var(--muted);margin:0}
.showcase-footnote{font-size:.83rem;color:var(--muted);margin-top:20px;max-width:86ch}
.showcase-footer{border-top:1px solid var(--line);max-width:var(--max);margin:0 auto;padding:30px 24px 36px;color:var(--muted);display:flex;gap:24px;justify-content:space-between;align-items:start;flex-wrap:wrap}
.showcase-footer .footer-links{max-width:760px;gap:14px 20px;margin:0}.showcase-footer p{margin:0 0 10px}
.screenshot-gallery{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.screenshot-gallery figure{margin:0}.screenshot-gallery img{width:100%;height:auto;border:1px solid var(--line);border-radius:18px}.screenshot-gallery figcaption{color:var(--muted);font-size:.82rem;margin-top:12px}
.showcase-languages{display:flex;gap:14px;align-items:center;flex-wrap:wrap;color:var(--muted);font-size:.85rem;padding:4px 0 20px}
.showcase-languages [aria-current=page]{color:var(--accent)}
.showcase-section details{border:1px solid var(--line);border-radius:14px;padding:20px 22px;margin-bottom:12px;background:var(--bg-panel)}
.showcase-section summary{cursor:pointer;font-weight:700}.showcase-section details p{color:var(--muted);max-width:78ch}
.watch-hero{padding:54px 0 28px}.watch-hero h1{font-size:clamp(2rem,4vw,3.4rem);line-height:1.08;letter-spacing:-.03em;max-width:27ch;margin:0 0 18px}.watch-hero p{color:var(--muted);max-width:68ch}
.video-chapters{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0}.video-chapters a{padding:10px 14px;border:1px solid var(--line);border-radius:999px;color:var(--muted);font-size:.86rem}.video-chapters a:hover{color:var(--accent)}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.screen-dialog{border:1px solid var(--line-strong);background:var(--bg);border-radius:20px;max-width:calc(100vw - 30px);max-height:94vh;padding:12px;color:var(--text)}.screen-dialog::backdrop{background:rgba(0,0,0,.82)}.screen-dialog img{width:auto;max-width:100%;max-height:80vh;margin:auto}.screen-dialog button{display:block;margin:0 0 10px auto;padding:10px 18px;border:1px solid var(--line);border-radius:999px;background:var(--bg-soft);color:var(--text);cursor:pointer}
.showcase-section :target{scroll-margin-top:120px}
@media(min-width:761px){.main-nav{gap:12px}.knwit-app-links{width:auto;min-width:365px}}
@media(max-width:900px){.app-choice-grid{gap:14px}.app-choice-copy{padding:24px 20px 0}.choice-image{padding:16px 16px 0;height:280px}.app-choice h2{font-size:1.45rem}.showcase-story{gap:28px}.product-hero{gap:30px}.feature-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.showcase-wrap{padding:0 20px}.showcase-heading{padding:40px 0 28px}.showcase-heading h1{font-size:2.7rem}.showcase-intro{display:block}.showcase-intro .intro-note{max-width:none;padding:0 0 14px;margin-top:-12px}.app-choice-grid{grid-template-columns:1fr;gap:20px}.app-choice{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(110px,.75fr)}.app-choice-copy{padding:25px 0 22px 22px}.app-choice h2{font-size:1.5rem}.app-choice .choice-value{min-height:0;font-size:1rem}.app-choice-copy>p:not(.choice-type):not(.choice-value){font-size:.87rem}.choice-image{margin:22px 16px 0;padding:8px 8px 0;height:100%;max-height:290px;align-self:end}.choice-footer{grid-column:1/-1;font-size:.8rem;padding:14px 22px}.showcase-section{padding-top:52px}.showcase-story,.product-hero{grid-template-columns:1fr;gap:28px}.product-hero{padding:36px 0 32px}.product-hero h1{font-size:2.65rem}.product-hero .hero-phone{width:250px;margin-top:5px}.showcase-story{padding:32px 0}.showcase-story .story-device{width:235px;order:2!important}.showcase-story h3{font-size:1.85rem}.showcase-video{padding:12px;border-radius:20px}.product-facts{grid-template-columns:1fr}.product-facts div{padding:17px 20px}.feature-tiles{grid-template-columns:1fr}.screenshot-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.cross-apps{display:block;padding:24px;margin:48px 0 36px}.cross-apps .showcase-actions{margin-top:20px}.video-caption{gap:10px;padding:0 4px}.showcase-footer{padding:24px 20px}.showcase-footnote{font-size:.8rem}.product-subnav{gap:8px}.product-subnav a{font-size:.82rem}.watch-hero{padding-top:36px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
