/* Pickleball35 site styles (Flat Version 146). Page sections carry their own inline styles from the design mockups. */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;color:#0B1F3A;background:#ffffff}
img{max-width:100%;height:auto}
a{color:#2F6FB3}a:hover{color:#1F5490}
:focus-visible{outline:3px solid #F2B705;outline-offset:2px}
.skip{position:absolute;left:-9999px;top:0;background:#0B1F3A;color:#fff;padding:10px 16px;z-index:100}.skip:focus{left:8px;top:8px}
.two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:56px;align-items:center}
.three{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px}
.nav{display:flex;gap:28px;align-items:center;flex-wrap:wrap}
/* Header */
.sh{background:#fff;border-bottom:1px solid #DCE7F3}
.sh-in{max-width:1120px;margin:0 auto;padding:16px 24px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.sh-brand{display:flex;align-items:center;gap:12px;text-decoration:none}
.sh-brand img{width:48px;height:48px;border-radius:12px;display:block}
.sh-brand>span{display:flex;flex-direction:column;line-height:1.15}
.sh-name{font-size:22px;font-weight:800;color:#0B1F3A;letter-spacing:-.3px}
.sh-by{font-size:14px;font-weight:600;color:#2F6FB3}
.sh-nav{display:flex;gap:28px;align-items:center}
.sh-nav a{color:#0B1F3A;text-decoration:none;font-weight:600;font-size:15px;padding-bottom:2px;border-bottom:3px solid transparent}
.sh-nav a.active{font-weight:800;border-bottom-color:#F2B705}
.sh-nav a:hover{color:#2F6FB3}
/* Footer */
.sf{background:#071629;color:#C9D8EA}
.sf-in{max-width:1120px;margin:0 auto;padding:40px 24px;display:flex;flex-wrap:wrap;gap:20px;justify-content:space-between;align-items:center}
.sf-brand{display:flex;align-items:center;gap:12px;font-size:15px}
.sf-brand img{width:36px;height:36px;border-radius:9px}
.sf-brand small{color:#9FB4CE;font-size:13px}
.sf-nav{display:flex;gap:22px;flex-wrap:wrap}
.sf-nav a{color:#fff;text-decoration:none;font-size:15px}.sf-nav a:hover{text-decoration:underline;color:#fff}
/* Book chapters */
.toc{display:flex;flex-direction:column}
.toc-head{display:flex;justify-content:space-between;align-items:baseline;gap:14px;padding:0 4px 8px;font-size:12px;font-weight:800;letter-spacing:1px;color:#5A6F8C}
.toc-head button{border:0;background:none;padding:0;font:inherit;font-size:14px;letter-spacing:0;font-weight:700;color:#2F6FB3;cursor:pointer}
.toc .ch{border-bottom:1px solid #DCE7F3}
.toc .ch summary,.toc .ch-leaf{display:flex;align-items:center;gap:14px;padding:14px 4px;list-style:none}
.toc .ch summary{cursor:pointer}
.toc .ch summary::-webkit-details-marker{display:none}
.toc .ch summary:hover .ch-n{color:#2F6FB3}
.toc .ch-n{flex:1 1 auto;min-width:0;font-size:16px;font-weight:600}
.toc .ch-c{font-size:14px;color:#5A6F8C;white-space:nowrap}
.toc .pg{font-size:14px;font-weight:700;color:#2F6FB3;width:36px;text-align:right;flex:none}
.toc .chev{width:10px;height:10px;border-right:2px solid #5A6F8C;border-bottom:2px solid #5A6F8C;transform:rotate(45deg);flex:none;margin:-4px 2px 0 0;transition:transform .15s}
.toc .ch[open] .chev{transform:rotate(225deg);margin-top:4px}
.toc .ch-leaf .chev-sp{width:14px;flex:none}
.toc ul{list-style:none;margin:0 0 12px;padding:0 4px 0 18px}
.toc li{display:flex;gap:14px;padding:6px 0;font-size:15px;color:#3B4F6B}
.toc li .tn{flex:1 1 auto}
.toc li.d2 .tn{padding-left:18px;font-size:14px}
.toc li .pg{font-weight:600;font-size:13px;color:#5A6F8C;margin-right:16px}
/* Book sample illustrations: Kindle color vs paperback grayscale */
.sample-toggle{display:inline-flex;align-self:flex-start;background:#EAF2F8;border-radius:999px;padding:4px;gap:4px}
.sample-toggle button{border:0;background:transparent;font:inherit;font-size:14px;font-weight:700;color:#0B1F3A;padding:8px 16px;border-radius:999px;cursor:pointer}
.sample-toggle button.on{background:#0B1F3A;color:#fff}
.sample-grid img{transition:filter .25s}
.samples.is-gray .sample-grid img,.samples.is-gray .smp-dlg img{filter:grayscale(1)}
.smp-head{margin:0;font-size:13px;font-weight:800;letter-spacing:1.2px;text-transform:uppercase;color:#2F6FB3}
.sample-cap{margin:0;font-size:14px;line-height:1.5;color:#5A6F8C}
.bk-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.bk-smp{border:1px solid #DCE7F3;background:#fff;border-radius:10px;padding:0;overflow:hidden;cursor:zoom-in;display:block}
.bk-smp img{width:100%;display:block;transition:filter .25s,transform .2s}
.bk-smp:hover img{transform:scale(1.03)}
@media (max-width:760px){.bk-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.bk-grid .bk-smp:nth-child(n+4){display:none}}
.samples .cap-gray{display:none}
.samples.is-gray .cap-gray{display:inline}.samples.is-gray .cap-color{display:none}
/* App page: sample images in each section card */
.smp-label{margin:4px 0 6px;font-size:11px;font-weight:800;letter-spacing:1.2px;color:#5A6F8C}
.smp-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0 0 14px}
.smp{border:1px solid #DCE7F3;background:#F4F7FB;border-radius:8px;padding:0;overflow:hidden;cursor:zoom-in;aspect-ratio:9/16;display:block}
.smp img{width:100%;height:100%;object-fit:contain;display:block;transition:transform .2s}
.smp:hover img{transform:scale(1.04)}
.smp-dlg{border:0;border-radius:16px;padding:16px 16px 12px;max-width:min(560px,94vw);max-height:94vh;background:#fff;box-shadow:0 20px 60px rgba(0,0,0,.35)}
.smp-dlg::backdrop{background:rgba(7,22,41,.75)}
.smp-dlg img{display:block;max-width:100%;max-height:78vh;margin:0 auto;border-radius:8px}
.smp-row.two-up{grid-template-columns:repeat(2,minmax(0,1fr))}
.smp.smp-card{aspect-ratio:auto;border:0;background:none;cursor:zoom-in}
.tc{display:flex;flex-direction:column;gap:8px;background:#2F6FB3;border-radius:10px;padding:8px;height:100%;text-align:left}
.tc-chip{align-self:flex-start;background:#E4EC4C;color:#0B1F3A;font-size:9px;font-weight:800;padding:2px 7px;border-radius:999px;white-space:nowrap}
.tc-title{color:#fff;font-size:12px;font-weight:800;line-height:1.25}
.tc-big .tc-title{font-size:19px}
.tc-cloud{flex:none;margin-top:auto;position:relative;display:flex;align-items:center;justify-content:center;text-align:center;background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%22-4%200%20210%20110%22%20preserveAspectRatio%3D%22none%22%3E%3Cg%20fill%3D%22%23fff%22%3E%3Crect%20x%3D%2216%22%20y%3D%2220%22%20width%3D%22168%22%20height%3D%2272%22%20rx%3D%2224%22/%3E%3Ccircle%20cx%3D%2234%22%20cy%3D%2224%22%20r%3D%2219%22/%3E%3Ccircle%20cx%3D%2256%22%20cy%3D%2220%22%20r%3D%2217%22/%3E%3Ccircle%20cx%3D%2278%22%20cy%3D%2224%22%20r%3D%2219%22/%3E%3Ccircle%20cx%3D%22100%22%20cy%3D%2220%22%20r%3D%2217%22/%3E%3Ccircle%20cx%3D%22122%22%20cy%3D%2224%22%20r%3D%2219%22/%3E%3Ccircle%20cx%3D%22144%22%20cy%3D%2220%22%20r%3D%2217%22/%3E%3Ccircle%20cx%3D%22166%22%20cy%3D%2224%22%20r%3D%2219%22/%3E%3Ccircle%20cx%3D%2240%22%20cy%3D%2288%22%20r%3D%2218%22/%3E%3Ccircle%20cx%3D%2266%22%20cy%3D%2291%22%20r%3D%2215%22/%3E%3Ccircle%20cx%3D%2292%22%20cy%3D%2288%22%20r%3D%2218%22/%3E%3Ccircle%20cx%3D%22118%22%20cy%3D%2291%22%20r%3D%2215%22/%3E%3Ccircle%20cx%3D%22144%22%20cy%3D%2288%22%20r%3D%2218%22/%3E%3Ccircle%20cx%3D%2220%22%20cy%3D%2250%22%20r%3D%2220%22/%3E%3Ccircle%20cx%3D%2218%22%20cy%3D%2270%22%20r%3D%2218%22/%3E%3Ccircle%20cx%3D%22182%22%20cy%3D%2248%22%20r%3D%2219%22/%3E%3Ccircle%20cx%3D%22184%22%20cy%3D%2270%22%20r%3D%2218%22/%3E%3C/g%3E%3C/svg%3E") center/100% 100% no-repeat;color:#0B1F3A;font-weight:800;font-size:11px;line-height:1.28;padding:18px 16px 20px;margin-bottom:14px;min-height:84px}
.tc-cloud::before,.tc-cloud::after{content:"";position:absolute;background:#fff;border-radius:50%}
.tc-cloud::before{width:9px;height:9px;left:14%;bottom:-6px}
.tc-cloud::after{width:5px;height:5px;left:9%;bottom:-12px}
.tc-big{width:min(420px,84vw);padding:18px;gap:14px;border-radius:16px}
.tc-big .tc-chip{font-size:13px;padding:4px 12px}
.tc-big .tc-cloud{font-size:22px;padding:44px 44px 48px;min-height:170px;margin-bottom:18px}
.tc-big .tc-cloud::before{width:16px;height:16px;bottom:-12px}
.tc-big .tc-cloud::after{width:9px;height:9px;bottom:-24px}
.tc-sum{color:#fff;font-size:15px;line-height:1.5}
.art-tile{display:flex;gap:8px;align-items:center;background:#F4F7FB;border:1px solid #DCE7F3;border-radius:8px;padding:9px 10px;font-size:12.5px;font-weight:700;line-height:1.3;color:#0B1F3A}
.art-ico{flex:none;width:24px;height:24px;border-radius:50%;background:#2F6FB3;display:flex;align-items:center;justify-content:center}
.art-ico svg{width:15px;height:15px;display:block}
.smp-dlg p{margin:10px 40px 0 4px;font-weight:700;font-size:16px;color:#0B1F3A}
.smp-x{position:absolute;right:10px;bottom:8px;width:36px;height:36px;border-radius:50%;border:0;background:#0B1F3A;color:#fff;font-size:22px;line-height:1;cursor:pointer}
/* App hero: what the app covers */
.hero-cover{display:flex;flex-direction:column;gap:10px}
.hc-lbl{margin:4px 0 0;font-size:13px;font-weight:800;letter-spacing:1px;text-transform:uppercase;color:#9FC2EA}
.hc-chips{display:flex;flex-wrap:wrap;gap:8px}
.hc-chips span{background:#2F6FB3;color:#fff;font-weight:700;font-size:15px;padding:7px 14px;border-radius:999px}
.hc-list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 18px}
.hc-list li{display:flex;align-items:center;gap:10px;font-size:17px;font-weight:700;color:#fff}
.hc-ck{flex:none;width:26px;height:26px;border-radius:50%;background:#22AA5A;display:flex;align-items:center;justify-content:center}
.hc-ck svg{width:15px;height:15px}
.hero-cover.compact{gap:8px}
.hero-cover.compact .hc-lbl{font-size:12px}
.hero-cover.compact .hc-chips{gap:6px}
.hero-cover.compact .hc-chips span{font-size:13px;padding:5px 11px}
.hero-cover.compact .hc-list{gap:8px 16px}
.hero-cover.compact .hc-list li{font-size:15px;font-weight:600;color:#E6EEF8}
.hero-cover.compact .hc-ck{width:20px;height:20px}
.hero-cover.compact .hc-ck svg{width:12px;height:12px}
@media (max-width:380px){.hc-list{grid-template-columns:1fr}}
.smp-tip{margin:0;display:flex;align-items:center;gap:6px;font-size:13px;font-weight:600;color:#2F6FB3}
.smp-tip.center{justify-content:center}
.smp-tip svg{width:16px;height:16px;flex:none}
/* App page: common mistakes band */
.mk-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.mk-tile{display:flex;flex-direction:column;gap:10px}
.mk-tile p{margin:0;font-size:15px;font-weight:700;line-height:1.35;color:#fff;text-align:center}
.smp.mk-smp{aspect-ratio:9/16;background:#fff;border:0;border-radius:12px;box-shadow:0 0 0 3px rgba(231,76,60,.0)}
.smp.mk-smp:hover{box-shadow:0 0 0 3px #F2B705}
@media (max-width:760px){.mk-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.mk-tile p{display:none}}
/* Book page: The Kitchen review */
.kitchen-rev{display:flex;gap:40px;align-items:center}
.kitchen-rev img{width:240px;height:auto;flex:none;border-radius:14px;box-shadow:0 6px 18px rgba(11,31,58,.15)}
@media (max-width:760px){.kitchen-rev{flex-direction:column;text-align:center;gap:24px}.kitchen-rev img{width:200px}}
/* Desktop: tighter spacing between sections (heroes keep their own) */
@media (min-width:761px){
main > section:not(:first-child) > .pad{padding-top:64px !important;padding-bottom:64px !important}
}
/* Pages that keep the older article layout */
.legacy{max-width:1120px;margin:0 auto;padding:24px}
.legacy .privacy-card p{margin:0 0 12px}
.legacy a{overflow-wrap:anywhere}
@media (max-width:760px){
.two,.three{grid-template-columns:minmax(0,1fr);gap:36px}
.hide-sm{display:none !important}
.h1{font-size:40px !important}
.h2{font-size:30px !important}
.pad{padding:56px 20px !important}
.hero-phone{max-width:280px !important}
.sh-in{padding:12px 16px}
.sh-brand img{width:40px;height:40px}
.sh-name{font-size:18px}.sh-by{font-size:13px}
.sh-nav{gap:16px}
.legacy{padding:12px}
.legacy .content-card{padding:20px 16px}
.toc .ch-c{display:none}
}
/* Narrow screens: links move to their own row under the brand */
@media (max-width:620px){
.sh-in{flex-wrap:wrap;padding-bottom:0;row-gap:10px}
.sh-nav{flex:1 1 100%;justify-content:space-around;gap:0;border-top:1px solid #DCE7F3;padding:4px 0 0}
.sh-nav a{font-size:16px;padding:8px 6px 6px}
}
