@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');
:root{--ink:#112235;--muted:#657486;--orange:#fc7f04;--border:#ebe7e2}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:100px}body{margin:0;background:#fffcf8;color:var(--ink);font-family:"DM Sans",sans-serif}a{color:inherit;text-decoration:none}button,input{font:inherit}button{cursor:pointer}.container{width:min(1260px,calc(100% - 44px));margin:0 auto}.skip{position:absolute;top:-100px;left:10px;background:white;padding:12px;z-index:99}.skip:focus{top:10px}
.lib-header{position:sticky;top:0;z-index:20;background:#fffcf8f2;border-bottom:1px solid var(--border);backdrop-filter:blur(12px)}.lib-head{min-height:78px;display:flex;align-items:center;gap:22px;justify-content:space-between}.lib-brand{display:flex;align-items:center;gap:8px}.lib-mark{font-size:34px;color:#ff9b0c}.lib-brand strong{font-family:"Plus Jakarta Sans",sans-serif;font-size:20px;letter-spacing:-1px}.lib-brand small{display:block;font-size:8px;letter-spacing:2px;font-weight:800}.lib-head nav{display:flex;gap:17px;flex-wrap:wrap}.lib-head nav a{font-weight:700;font-size:12px}.lib-head nav a:hover,.lib-head nav a[aria-current]{color:#df7204}.lib-head-cta{background:linear-gradient(120deg,#ff6e08,#ffaa19);border-radius:30px;padding:12px 18px;color:white;font-size:12px;font-weight:800;white-space:nowrap}
.lib-hero{overflow:hidden;background:radial-gradient(circle at 87% 30%,#ffd3a0,transparent 36%),linear-gradient(115deg,#fffaf6,#fff2e5)}.hero-grid{display:grid;grid-template-columns:1fr .88fr;align-items:center;min-height:470px;gap:35px;padding:42px 0}.micro{font-size:10px;letter-spacing:2px;color:#db740b;font-weight:800}.hero-copy h1,h2,h3{font-family:"Plus Jakarta Sans",sans-serif;letter-spacing:-.045em}.hero-copy h1{font-size:clamp(42px,5vw,68px);line-height:1.1;margin:16px 0}.hero-copy h1 em{font-style:normal;color:#fc7908}.hero-copy>p:not(.micro){font-size:15px;line-height:1.7;color:#56687c;max-width:580px}.hero-links{display:flex;gap:12px;flex-wrap:wrap;margin:24px 0}.hero-links a{background:#122337;color:white;border-radius:30px;font-weight:800;padding:13px 18px;font-size:13px}.hero-links a+a{border:1px solid #c3c7c9;color:#16283a;background:white}.hero-copy>small{font-size:11px;color:#6b7887}.hero-art{min-height:320px;display:grid;place-items:center;position:relative}.art-board{height:300px;width:75%;border:10px solid #1d2c3a;background:linear-gradient(145deg,#ffeec6,#ffc663);border-radius:20px;box-shadow:22px 25px 0 #a4734580,0 35px 60px #59370b33;transform:rotate(-4deg);padding:25px;overflow:hidden;position:relative}.art-board i{font-size:36px;color:#f3790e}.art-board strong{position:relative;z-index:1;display:block;font-family:Georgia,serif;font-size:clamp(32px,4vw,52px);font-style:italic;line-height:1.05}.art-board span{position:absolute;bottom:23px;font-size:9px;font-weight:800;letter-spacing:1.4px}.art-board:after{content:"";position:absolute;width:160px;height:150px;bottom:-45px;right:-25px;background:#24bcb2;border-radius:50% 20% 70% 35%;transform:rotate(-25deg)}.art-a,.art-b,.art-c,.art-d{position:absolute;width:59px;height:59px;border:5px solid white;display:grid;place-items:center;border-radius:15px;box-shadow:0 8px 22px #0002;font-size:25px;font-weight:800}.art-a{background:#0b2539;color:#17b5f7;left:7%;top:1%}.art-b{background:#36ac22;color:white;right:5%;top:7%}.art-c{background:#29180c;color:#ffa21e;left:11%;bottom:1%}.art-d{background:linear-gradient(125deg,#00bfd3,#9b38db);color:white;right:9%;bottom:2%;border-radius:50%}
.guide-section,.fundamentals{padding:75px 0 25px}.section-heading{display:flex;justify-content:space-between;align-items:end;gap:26px;margin-bottom:25px}.section-heading h2,.fundamentals h2{font-size:clamp(25px,3vw,37px);margin:6px 0}.section-heading>p{max-width:325px;color:var(--muted);font-size:13px;line-height:1.65}.lib-tabs{display:grid;grid-template-columns:repeat(4,1fr);gap:13px;margin-bottom:17px}.lib-tab{background:white;border:1px solid #ede7df;border-radius:14px;text-align:left;padding:13px;display:flex;align-items:center;gap:10px;min-width:0}.lib-tab[aria-selected="true"]{border-color:#ff9b16;box-shadow:0 8px 24px #e0a15b39}.lib-tab>b{background:#0c2738;color:#26bef5;border-radius:10px;width:47px;height:47px;flex:none;display:grid;place-items:center;font-size:23px}.lib-tab.coreldraw>b{background:#31a621;color:#fff}.lib-tab.illustrator>b{background:#321708;color:#ffa213}.lib-tab.canva>b{background:linear-gradient(125deg,#00bbcd,#834ef8);color:white}.lib-tab span{font-size:13px;font-weight:800}.lib-tab small{display:block;font-size:10px;font-weight:500;color:var(--muted);margin-top:5px}.lib-guide{background:#fff;border:1px solid #f0eae3;border-radius:23px;padding:clamp(20px,3vw,35px);box-shadow:0 17px 36px #273c4e0d;min-height:410px}.guide-header{display:flex;justify-content:space-between;gap:22px}.guide-header h3{font-size:clamp(22px,3vw,34px);margin:6px 0}.guide-header p{font-size:13px;color:var(--muted);max-width:770px;line-height:1.7}.guide-purpose{border-radius:15px;background:#fff3e4;padding:14px 18px;max-width:250px;font-size:11px;line-height:1.6}.guide-purpose b{display:block;color:#b45a06;margin-bottom:5px}.topic-tabs{display:flex;flex-wrap:wrap;gap:7px;border-bottom:1px solid #e9ecec;padding:20px 0 14px}.topic-tabs button{background:#f4f6f7;border:1px solid transparent;border-radius:25px;padding:9px 14px;font-size:12px;font-weight:800;color:#516176}.topic-tabs button[aria-pressed="true"]{background:#13283c;color:white}.topic-content{padding:20px 0 0}.topic-content h4{font-size:20px;margin:0 0 16px}.info-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.info-card{background:#faf9f7;border:1px solid #eee9e5;border-radius:14px;padding:18px}.info-card small{display:block;font-size:10px;font-weight:800;color:#d77808;margin-bottom:10px}.info-card h5{font-size:14px;margin:0 0 8px}.info-card p{font-size:12px;line-height:1.6;color:var(--muted);margin:0}.shortcut-tools{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:14px}.shortcut-tools input{padding:12px 14px;border:1px solid #d6dde1;border-radius:9px;min-width:240px;max-width:460px;width:100%}.shortcut-tools small{font-size:11px;color:#69788a}.shortcut-table{border-collapse:collapse;width:100%;font-size:13px}.shortcut-table th{text-align:left;background:#f6f7f8;font-size:11px;text-transform:uppercase;letter-spacing:1px;color:#6c7989}.shortcut-table th,.shortcut-table td{padding:12px;border-bottom:1px solid #eef0f1}.shortcut-table kbd{font:12px ui-monospace,Consolas,monospace;background:#f0f4fa;padding:7px 10px;border-radius:7px;white-space:nowrap}.shortcut-table button{border:0;color:#1669a5;background:#e8f4fd;padding:6px 10px;border-radius:6px;font-size:11px}.note{background:#fff8ee;border-radius:12px;color:#786144;line-height:1.6;font-size:12px;padding:15px;margin-top:18px}.official{display:inline-block;color:#086ca9;font-size:12px;font-weight:800;border-bottom:1px solid currentColor;margin-top:15px}
.glossary{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:26px}.glossary article{border:1px solid #eee7dd;border-radius:15px;background:#fff;padding:21px}.glossary b{font-size:14px}.glossary p{color:var(--muted);font-size:12px;line-height:1.65}.footer-cta{margin-top:65px;margin-bottom:70px;border-radius:24px;padding:34px;background:#112435;color:white;display:flex;align-items:center;justify-content:space-between;gap:20px}.footer-cta h2{font-size:30px;margin:6px 0}.footer-cta p:not(.micro){font-size:13px;line-height:1.5;color:#c6d3dd}.footer-cta>div+div{display:grid;gap:10px;min-width:220px}.footer-cta a{padding:13px 17px;background:#ff9e11;color:#162333;font-size:12px;font-weight:800;text-align:center;border-radius:30px}.footer-cta a+a{background:transparent;border:1px solid #526477;color:white}footer{background:#101e2b;color:#fff}.site-foot{min-height:95px;display:flex;align-items:center;justify-content:space-between;gap:20px}.site-foot>a{font-size:13px;font-weight:800}.site-foot small{color:#bdc8d1;font-size:11px}a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid #058bcb;outline-offset:3px}
@media(max-width:1080px){.lib-head{flex-wrap:wrap;padding:12px 0}.lib-head nav{order:3;width:100%;justify-content:center}.lib-tabs{grid-template-columns:repeat(2,1fr)}.glossary{grid-template-columns:repeat(2,1fr)}}
@media(max-width:690px){.container{width:calc(100% - 30px)}.lib-head nav{flex-wrap:nowrap;overflow:auto;justify-content:flex-start;padding:5px 0 9px}.lib-head nav a{white-space:nowrap}.lib-head-cta{font-size:10px;padding:10px}.hero-grid{grid-template-columns:1fr;padding:44px 0}.hero-copy h1{font-size:44px}.hero-art{min-height:270px}.art-board{height:230px;width:280px;padding:15px}.art-board strong{font-size:38px}.art-a,.art-b,.art-c,.art-d{width:43px;height:43px;font-size:16px}.section-heading{display:block}.section-heading>p{margin-top:10px}.lib-tabs{gap:8px}.lib-tab{padding:8px}.lib-tab b{height:34px;width:34px;font-size:17px}.lib-tab span{font-size:11px}.lib-tab small{font-size:9px}.guide-header{display:block}.guide-purpose{max-width:none}.info-grid,.glossary{grid-template-columns:1fr}.shortcut-table th,.shortcut-table td{padding:10px 5px;font-size:11px}.topic-tabs button{padding:8px 10px}.footer-cta{display:block}.footer-cta>div+div{margin-top:17px}.site-foot{flex-wrap:wrap;padding:24px 0}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
.lib-brand .lib-new-logo{display:block;width:205px;height:auto;max-height:76px;object-fit:contain;object-position:left center}@media(max-width:680px){.lib-brand .lib-new-logo{width:157px}}


/* Fluid-width layout for Design Knowledge Library — complements existing responsive styles */
:root{--library-gutter:clamp(18px,3.6vw,84px)}
html,body{max-width:100%}
.container{width:min(1660px,calc(100% - 2 * var(--library-gutter)));max-width:100%}
.lib-head,.lib-head nav,.hero-grid,.guide-header,.section-heading,.footer-cta,.site-foot{min-width:0}
.lib-head>*{min-width:0}
.hero-grid{grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:clamp(20px,3vw,55px)}
.hero-grid>*{min-width:0}
.hero-copy h1{font-size:clamp(2.65rem,4.7vw,4.9rem)}
.hero-art{min-width:0}
.art-board{width:min(80%,500px);max-width:100%}
.lib-tabs{grid-template-columns:repeat(4,minmax(0,1fr))}
.lib-tab{min-width:0}
.lib-tab span,.lib-tab small{overflow-wrap:anywhere}
.guide-header>*{min-width:0}
.guide-purpose{min-width:0;overflow-wrap:anywhere}
.info-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.info-card{min-width:0;overflow-wrap:anywhere}
.glossary{grid-template-columns:repeat(4,minmax(0,1fr))}
.glossary article{min-width:0}
.footer-cta>*{min-width:0}
.shortcut-tools input{min-width:0}
.topic-content{min-width:0;max-width:100%;overflow-x:auto}
@media(min-width:2200px){
 .container{width:min(1880px,calc(100% - 2 * var(--library-gutter)))}
 .hero-grid{min-height:clamp(550px,29vw,700px)}
 .glossary{gap:20px}
}
@media(max-width:1240px){
 .lib-head{flex-wrap:wrap;gap:10px;padding:12px 0}
 .lib-head nav{order:3;flex:1 0 100%;justify-content:center;gap:clamp(9px,1.5vw,18px)}
 .hero-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
 .lib-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:900px){
 .hero-grid{grid-template-columns:minmax(0,1fr);padding:42px 0}
 .hero-art{min-height:300px}
 .hero-copy h1{font-size:clamp(2.4rem,6.2vw,4.15rem)}
 .guide-header{display:block}
 .guide-purpose{max-width:none;margin:12px 0}
 .glossary{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:690px){
 .container{width:calc(100% - 2 * var(--library-gutter))}
 .lib-head nav{justify-content:flex-start;overflow-x:auto;flex-wrap:nowrap;max-width:100%;padding:8px 0}
 .lib-head nav a{white-space:nowrap}
 .hero-grid{grid-template-columns:minmax(0,1fr)}
 .hero-copy h1{font-size:clamp(2.25rem,8vw,3.4rem)}
 .hero-art{min-height:260px}
 .lib-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}
 .info-grid,.glossary{grid-template-columns:minmax(0,1fr)}
 .shortcut-table{min-width:410px}
 .footer-cta{display:block}
 .site-foot{flex-wrap:wrap}
}
@media(max-width:420px){
 .lib-tabs{grid-template-columns:minmax(0,1fr)}
 .lib-tab span,.lib-tab small{overflow-wrap:normal}
 .hero-art{min-height:230px}
 .art-board{width:240px;max-width:90%}
 .lib-head-cta{font-size:10px;padding:9px 11px}
 .shortcut-tools{display:block}
 .shortcut-tools input{max-width:100%;width:100%}
}

/* Display logo as a CSS image rather than a downloadable inline <img>. 
   Browsers still download this public image; this is not DRM. */
[data-logo-protected]{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
[data-logo-protected] span{display:block;flex:none;aspect-ratio:220/81;background-image:url("/assets/pencileboat-studio-logo.png");background-repeat:no-repeat;background-position:left center;background-size:contain;pointer-events:none}

.lib-brand .lib-new-logo{height:auto;max-height:none}
