/*
Theme Name: Rivai — Kolorowy zeszyt
Author: TMP
Version: 1.3.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: tmp-ai
*/
:root{--ink:#283d56;--muted:#596d7e;--bg:#fffdf6;--accent:#3f6fa3;--line:#dbe4df;--blob:#d7ccf3;--yellow:#ffda6d;--pink:#f5b6bc;--mint:#a8ded1;--purple:#ded2f5}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:100px}body{margin:0;background:var(--bg);color:var(--ink);font:17px/1.6 'Trebuchet MS',system-ui,sans-serif}a{color:inherit;text-underline-offset:4px}a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid #305e95;outline-offset:5px}button{font:inherit;cursor:pointer}button,a{-webkit-tap-highlight-color:transparent}.wrap{width:min(1150px,calc(100% - 48px));margin:auto}.compare{background:#eaf0f4;padding:9px 24px;display:flex;justify-content:space-between;gap:15px;font:12px/1.5 system-ui;color:#304b65}.compare span{font-size:10px;letter-spacing:.09em;font-weight:650}.header{background:#fffdf6eb;position:sticky;top:0;z-index:20;backdrop-filter:blur(14px)}.nav{min-height:88px;display:flex;align-items:center;gap:25px}.brand{display:flex;align-items:center;gap:17px;text-decoration:none;margin-right:auto}.brand img{width:185px;height:auto;mix-blend-mode:multiply}.brand span{font-size:12px;font-weight:700;border-left:1px solid #bacbcf;padding-left:15px;color:#527193}.navlinks{display:flex;gap:27px;font-size:14px}.navlinks a{text-decoration:none}.navlinks a:hover{text-decoration:underline}.btn{display:inline-flex;align-items:center;justify-content:center;gap:25px;background:var(--accent);color:white;padding:14px 24px;border-radius:30px;border:2px solid var(--accent);text-decoration:none;font-size:15px;font-weight:700;transition:transform .2s,box-shadow .2s}.btn:hover{transform:translateY(-2px);box-shadow:0 5px 0 #23385815}.btn.secondary{background:transparent;color:var(--ink);border-color:#9bb0c2}.nav>.btn{padding:9px 19px;font-size:13px}.hero{padding:45px 0 40px;overflow:hidden}.hero-grid{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:25px}.eyebrow{font-size:12px;letter-spacing:.09em;font-weight:700;text-transform:uppercase;margin:0 0 19px;color:#527193}.pill{display:inline-flex;gap:8px;align-items:center;background:#e4eee3;padding:7px 14px;border-radius:24px;font-size:12px;font-weight:700;margin:0 0 23px}.pill:before{content:'✦';font-size:17px;color:#477965}h1{font-size:clamp(42px,4.7vw,63px);line-height:1.12;letter-spacing:-.045em;font-weight:750;margin:0 0 22px}h1 em{font-style:normal;position:relative;isolation:isolate;white-space:nowrap}h1 em:after{content:'';position:absolute;bottom:1px;left:-5px;right:-5px;height:19px;border-radius:50%;background:var(--yellow);z-index:-1;transform:rotate(-2deg)}.lead{font-size:18px;color:var(--muted);max-width:460px;margin:0 0 26px}.hero .mini{font-size:12px;color:#617482;margin-top:17px}.art{position:relative}.art svg{display:block;width:100%;height:auto}.sticker{position:absolute;right:8px;top:75%;font-size:12px;font-weight:700;background:#fffdf6;border:1px solid #d3dedb;padding:10px 17px;box-shadow:4px 5px 0 #e1c7ee;border-radius:8px;transform:rotate(5deg)}.audience-strip{display:flex;justify-content:center;align-items:center;gap:50px;padding:20px 0 32px;font-size:14px}.audience-strip strong{font-weight:600}.audience-strip span{font-size:12px;color:#647987}.dot{display:inline-block;width:9px;height:9px;border-radius:50%;margin-right:10px;background:var(--pink)}.dot.mint{background:#6ebba6}.dot.yellow{background:#e1b94c}section{padding:50px 0}h2{font-size:clamp(27px,3vw,37px);line-height:1.2;letter-spacing:-.035em;margin:0 0 15px}h3{font-size:21px;letter-spacing:-.02em;line-height:1.3;margin:13px 0 10px}.center{text-align:center}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:27px}.card{padding:26px 28px;border-radius:22px;background:var(--purple)}.card:nth-child(2){background:#ffebaa}.card:nth-child(3){background:#c8e9df}.card p{font-size:15px;margin:0;color:#40596c}.icon{width:48px;height:48px;display:grid;place-items:center;border-radius:15px;background:#ffffff9e;color:#345677;font:27px Georgia,serif}.examples{background:#eff5ee;border-radius:30px;padding:38px;display:grid;grid-template-columns:.8fr 1.2fr;gap:50px;align-items:center}.examples .eyebrow{font-size:10px}.examples>div>p{color:var(--muted);font-size:15px;max-width:330px}.tabs{display:flex;flex-wrap:wrap;gap:8px;margin-top:25px}.tab{border:1px solid #9bb6ac;background:transparent;border-radius:24px;padding:9px 17px;font-size:13px;color:#345566}.tab[aria-pressed=true]{background:#fffdf6;border-color:#3f6fa3;color:#294b71;box-shadow:0 3px 0 #243e5b15;font-weight:700}.prompt{background:#fffdf6;border:1px solid #d9e5db;border-radius:18px;padding:27px;box-shadow:8px 8px 0 #d9e6d2;min-height:182px}.prompt .label{display:flex;justify-content:space-between;align-items:center;font-size:10px;font-weight:700;letter-spacing:.09em;color:#597588}.prompt blockquote{margin:20px 0 0;font-size:22px;line-height:1.5;letter-spacing:-.02em}.contact-section{padding-top:15px;padding-bottom:55px}.contact{background:#dceaf4;border-radius:26px;padding:35px 40px;display:flex;align-items:center;justify-content:space-between;gap:35px}.contact h2{font-size:31px;margin:0 0 8px}.contact p{font-size:15px;color:#45657c;margin:0}.contact .btn{flex-shrink:0}.footer{border-top:1px solid #d8e2df;padding:22px 0}.footer .wrap{display:flex;justify-content:space-between;gap:25px;font-size:12px;color:#566e7f}.footer nav{display:flex;gap:20px;flex-wrap:wrap}.footer a{text-decoration:none}.download{text-align:center;font-size:12px;color:#586e80;padding:18px;background:#edf2f5}.download a{margin:0 10px}.skip{position:absolute;top:-100px;left:12px;background:white;padding:10px;z-index:100}.skip:focus{top:10px}.details-page{max-width:850px;padding:50px 0 65px}.details-page h1{font-size:40px;margin-top:30px}.details-page h2{font-size:25px;margin-top:35px}.details-page p{color:var(--muted);font-size:16px}.details-page .intro{font-size:18px}.info-box{background:#eef4eb;padding:25px;border-radius:18px;margin:25px 0}.details-page details{border-bottom:1px solid var(--line);padding:17px 0}.details-page summary{cursor:pointer;font-weight:700}.admin-bar .header{top:32px}@media(max-width:900px){.navlinks{gap:15px}.nav{gap:15px}.brand span{display:none}.brand img{width:155px}.hero-grid{gap:0}.hero h1{font-size:49px}.examples{gap:28px}.card{padding:24px}.art .sticker{right:0;font-size:10px}.contact{padding:30px}}@media(max-width:650px){.wrap{width:calc(100% - 36px)}.compare{flex-wrap:wrap;padding:9px 18px;gap:4px 12px}.compare span{width:100%;order:-1}.compare a:last-child{margin-left:auto}.nav{min-height:74px;gap:12px;flex-wrap:wrap;padding:15px 0}.brand img{width:145px}.navlinks{order:3;width:100%;justify-content:center;gap:26px;font-size:12px}.nav>.btn{font-size:12px;padding:8px 13px}.hero{padding:25px 0 10px}.hero-grid{grid-template-columns:1fr}.hero h1{font-size:45px;max-width:480px}.hero .lead{font-size:16px;margin-bottom:22px}.hero .art{max-width:430px;margin:-4px auto 0;width:100%}.hero .mini{font-size:11px}.pill{font-size:10px;margin-bottom:18px}.sticker{right:13px!important}.audience-strip{gap:18px;flex-wrap:wrap;font-size:12px;padding:5px 0 22px}.audience-strip>span{width:100%;text-align:center;font-size:11px}section{padding:32px 0}.cards{grid-template-columns:1fr;gap:12px;margin-top:22px}.card{padding:22px;display:grid;grid-template-columns:45px 1fr;gap:0 16px}.card .icon{grid-row:1/3;width:45px;height:45px}.card h3{margin:0 0 6px;font-size:19px}.card p{font-size:14px}.examples{grid-template-columns:1fr;padding:25px;gap:25px;border-radius:22px}.examples h2{font-size:29px}.examples .tabs{margin-top:18px}.tab{padding:8px 12px;font-size:12px}.prompt{padding:22px;min-height:165px}.prompt blockquote{font-size:20px}.contact{flex-direction:column;align-items:flex-start;padding:28px;gap:20px;border-radius:22px}.contact h2{font-size:28px}.contact p{font-size:14px}.contact-section{padding:8px 0 35px}.footer .wrap{flex-direction:column;gap:14px}.footer nav{gap:16px}.download a{display:inline-block;margin:4px 8px}.details-page h1{font-size:35px}.admin-bar .header{top:46px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}

/* Możliwości — wspólna oprawa Kolorowego zeszytu. */
.features-intro{font-size:15px;color:var(--muted);max-width:590px;margin:0 auto 27px}.feature-cards{gap:18px}.feature-cards .card{padding:25px 26px}.feature-cards .card:nth-child(4){background:#d9e9f9}.feature-cards .card:nth-child(5){background:#f6dce3}.feature-cards .card:nth-child(6){background:#f5e7c9}.feature-cards .card h3{font-size:21px}.feature-cards .icon{width:48px;height:48px}.feature-cards .icon svg{display:block}.feature-cards .card p{font-size:14px;line-height:1.65}@media(max-width:900px) and (min-width:651px){.feature-cards{grid-template-columns:repeat(2,1fr)}}@media(max-width:650px){.features-intro{font-size:14px;max-width:310px;margin-bottom:20px}.feature-cards{gap:12px}.feature-cards .card{padding:21px;gap:0 15px}.feature-cards .card h3{font-size:19px}.feature-cards .icon{width:45px;height:45px}.feature-cards .card p{font-size:14px}}

/* Abonamenty 1.3.0 */
.details-page{max-width:1050px}.pricing{padding:25px 0 15px}.pricing>h2{font-size:32px;margin:0 0 22px}.pricing .eyebrow{font-size:11px;margin-bottom:12px}.pricing-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.plan{background:#e4dbf7;border-radius:23px;padding:26px 24px}.plan:nth-child(2){background:#ffebaa}.plan:nth-child(3){background:#c8e9df}.plan h3{font-size:25px;margin:0 0 17px}.details-page .plan .credits{font-size:15px;margin:0 0 24px;color:#40596c}.credits strong{font-size:22px;font-weight:700}.details-page .plan .price{color:var(--ink);margin:0 0 24px}.price strong{font-size:35px;line-height:1.2;white-space:nowrap;letter-spacing:-.04em}.price span{display:block;font-size:13px;margin-top:5px}.plan .btn{font-size:13px;display:flex;padding:11px 12px;gap:8px}.more-credits{display:flex;justify-content:space-between;align-items:center;gap:25px;background:#eef4eb;border-radius:20px;padding:24px 28px;margin-top:20px}.more-credits h3{font-size:22px;margin:0 0 7px}.details-page .more-credits p{font-size:14px;margin:0;max-width:490px}.more-credits .btn{font-size:13px;flex-shrink:0}.offer-note{font-size:14px;color:var(--muted)}@media(max-width:750px){.pricing-grid{grid-template-columns:1fr}.plan{padding:25px}.plan h3{font-size:24px}.details-page .plan .credits{margin-bottom:17px}.details-page .plan .price{margin-bottom:20px}.plan .btn{display:inline-flex;padding:11px 20px}.more-credits{flex-direction:column;align-items:flex-start;padding:25px;gap:20px}.pricing>h2{font-size:29px}}
