/* Shared-kit adaptation for the PeakMP3 pages: tokens in the retro palette, kit components in the instrument style,
   dark variant of the page (the instrument skin itself stays the same). The kit lives in assets/kit. */
:root{--ppk-bg:#e9e1d3;--ppk-panel:#fbf6ea;--ppk-ink:#24251f;--ppk-muted:#5e5a4f;--ppk-line:#cdbfa6;
 --ppk-accent:#a9440a;--ppk-accent-ink:#ffffff;--ppk-tint:#f1e4c8;--ppk-hero:#4b3320;--ppk-hero-end:#6c482d;
 --ppk-glass:rgba(244,237,223,.82);--ppk-term:#241b13;--ppk-term-ink:#efe4cf;--ppk-term-ps:#ffb36b;--ppk-term-ok:#8fdc7a;--ppk-term-dim:#b9ab93;
 --ppk-ok:#1b7a43;--ppk-ok-bg:#dcefd9;--ppk-ok-fg:#14532d;--ppk-warn-bg:#f6e3b4;--ppk-warn-fg:#6d3a08;
 --ppk-focus:#a64405;--ppk-shadow:0 18px 40px -26px rgba(62,40,20,.5);--ppk-font:Studio,'Segoe UI',Arial,sans-serif;--ppk-shell:1320px}
html{scroll-padding-top:96px}
body.peak-site{background:radial-gradient(ellipse at 50% 0,#fffcf6,#e9e1d3 95%);background-attachment:scroll;color:var(--ink);font:17px/1.55 Studio,'Segoe UI',Arial,sans-serif}
.peak-site .ppk-nav-wrap{padding-top:8px}
.peak-site .ppk-nav{font-family:var(--ppk-font)}
.peak-site .ppk-brand{font-size:19px;font-weight:800;letter-spacing:-.4px}
.peak-site .ppk-brand img{border-radius:6px}
.peak-site .ppk-skip{font-family:var(--ppk-font)}
.peak-site .ppk-footer{margin-top:28px;font-family:var(--ppk-font)}
/* hero additions */
.hero .ppk-pill{margin:0 0 18px;font-size:14px;font-family:var(--ppk-font)}
.hero .ppk-pill .ppk-new{color:var(--ppk-accent-ink)}
.actions .button.ppk-btn{font-family:inherit;color:#24231f;border-radius:6px;min-height:61px;font-size:22px;padding:15px 23px}
.actions .button.ppk-btn:hover{border-color:#9e8d72}
.actions .button.ppk-btn .ppk-chip{font-size:14px;font-weight:600;background:#fff8e9;border-color:#a3947b;color:#4f4a40}
.actions .button.ppk-btn-gh::before{width:24px;height:24px}
.installer-note{max-width:560px;margin:16px 0 0;font-size:15px;line-height:1.5;color:#5c5446}
.installer-note a{color:#8a3a07;font-weight:600}
/* bento inside the page body */
.peak-site .page-body>.ppk-bento-section{margin:0 0 44px}
.peak-site .ppk-bento-section h2{font-size:38px;line-height:1.12;letter-spacing:-.6px;margin:0 0 8px}
.peak-site .ppk-sub{max-width:none;font-size:18px;color:var(--ppk-muted)}
.peak-site .ppk-tile{border-radius:12px;background-image:var(--grain);background-color:var(--ppk-panel);box-shadow:inset 0 0 0 3px #fff7e63b,0 3px 10px #402c1714}
.peak-site .ppk-tile h3{font-size:21px;margin:0 0 6px}
.peak-site .ppk-tile p{max-width:none;font-size:16px;color:var(--ppk-muted)}
.peak-site .ppk-chips span{background:#fff8e9;font-size:15px}
.peak-site .ppk-checks{font-size:16px}
.peak-site .ppk-term{border-radius:8px;box-shadow:inset 0 0 0 1px #00000040}
.peak-site .ppk-live{color:var(--ppk-ok)}
@media(max-width:780px){.peak-site .ppk-bento-section h2{font-size:33px}.peak-site .page-body>.ppk-bento-section{margin-bottom:32px}.actions .button.ppk-btn{min-height:56px;font-size:21px;padding:14px 19px}.actions .button.ppk-btn-gh{flex:1}.installer-note{font-size:14px}}
@media(max-width:520px){.peak-site .ppk-brand{font-size:17px}}
:root[data-theme="dark"]{color-scheme:dark;--ppk-bg:#17120d;--ppk-panel:#241c14;--ppk-ink:#f1e8d6;--ppk-muted:#c4b79f;--ppk-line:#4c3b29;
 --ppk-accent:#ff9a4a;--ppk-accent-ink:#2a1405;--ppk-tint:#3a2a1a;--ppk-hero:#2b2016;--ppk-hero-end:#4a3420;
 --ppk-glass:rgba(36,28,20,.82);--ppk-term:#110c07;--ppk-term-ink:#efe4cf;--ppk-term-ps:#ffb36b;--ppk-term-ok:#8fdc7a;--ppk-term-dim:#b9ab93;
 --ppk-ok:#6fe19b;--ppk-ok-bg:#14532d;--ppk-ok-fg:#bbf7d0;--ppk-warn-bg:#6b3a0c;--ppk-warn-fg:#fde68a;
 --ppk-focus:#ffc48a;--ppk-shadow:0 18px 40px -26px rgba(0,0,0,.8)}
@media (prefers-color-scheme:dark){:root:not([data-theme]){color-scheme:dark;--ppk-bg:#17120d;--ppk-panel:#241c14;--ppk-ink:#f1e8d6;--ppk-muted:#c4b79f;--ppk-line:#4c3b29;
 --ppk-accent:#ff9a4a;--ppk-accent-ink:#2a1405;--ppk-tint:#3a2a1a;--ppk-hero:#2b2016;--ppk-hero-end:#4a3420;
 --ppk-glass:rgba(36,28,20,.82);--ppk-term:#110c07;--ppk-term-ink:#efe4cf;--ppk-term-ps:#ffb36b;--ppk-term-ok:#8fdc7a;--ppk-term-dim:#b9ab93;
 --ppk-ok:#6fe19b;--ppk-ok-bg:#14532d;--ppk-ok-fg:#bbf7d0;--ppk-warn-bg:#6b3a0c;--ppk-warn-fg:#fde68a;
 --ppk-focus:#ffc48a;--ppk-shadow:0 18px 40px -26px rgba(0,0,0,.8)}}
/* dark path 1: explicit theme chosen with the kit button */
:root[data-theme="dark"] body.peak-site{background:radial-gradient(ellipse at 50% 0,#2d2217,#120d08 95%);color:#f1e8d6}
:root[data-theme="dark"] .shell-inner{background:#1c1610;border-color:#5a4630;box-shadow:0 0 0 2px #0e0a06,0 0 0 4px #6a5538}
:root[data-theme="dark"] .hero:before{background:linear-gradient(90deg,#120d08e6 18%,#120d08b3 50%,#120d0845 85%)}
:root[data-theme="dark"] .hero-copy,:root[data-theme="dark"] .hero-title,:root[data-theme="dark"] .hero .lead{color:#f4ead8}
:root[data-theme="dark"] .hero .lead{color:#dccfb6}
:root[data-theme="dark"] .hero .compat span{color:#24251f}
:root[data-theme="dark"] .installer-note{color:#d0c3a9}
:root[data-theme="dark"] .installer-note a{color:#ffb06b}
:root[data-theme="dark"] .page-body{background:linear-gradient(115deg,#211a12,#17120d)}
:root[data-theme="dark"] .page-body h2,:root[data-theme="dark"] .page-body h3,:root[data-theme="dark"] .guide-content h2,:root[data-theme="dark"] .track-choice strong,:root[data-theme="dark"] .density-number{color:#f4ead8}
:root[data-theme="dark"] .page-body p,:root[data-theme="dark"] .guide-content p,:root[data-theme="dark"] .guide-content li,:root[data-theme="dark"] .section-copy p{color:#d0c3a9}
:root[data-theme="dark"] .section-kicker{color:#e0a869}
:root[data-theme="dark"] .features{border-bottom-color:#4c3b29}
:root[data-theme="dark"] .feature-number{color:#d9a45f}
:root[data-theme="dark"] .mini-chip{background:#2e2318;color:#e0c79b;border-color:#5a4630}
:root[data-theme="dark"] .demo-small,:root[data-theme="dark"] .image-note,:root[data-theme="dark"] .music-credits,:root[data-theme="dark"] .demo-time{color:#bfb298}
:root[data-theme="dark"] .demo-state,:root[data-theme="dark"] .demo-status{color:#e0a869}
:root[data-theme="dark"] .music-credits a,:root[data-theme="dark"] .export-example,:root[data-theme="dark"] .download-links a,:root[data-theme="dark"] .guide-content a{color:#ffb06b}
:root[data-theme="dark"] .extra-controls{background:#241c14;border-color:#5a4630}
:root[data-theme="dark"] .extra-controls summary,:root[data-theme="dark"] .volume-row,:root[data-theme="dark"] .demo-readout span{color:#e3d6bd}
:root[data-theme="dark"] .track-choice{background:linear-gradient(135deg,#2e2418,#241c14);border-color:#5a4630;color:#f1e8d6;box-shadow:inset 0 1px #ffffff14,0 2px 4px #0006}
:root[data-theme="dark"] .track-choice small{color:#c4b79f}
:root[data-theme="dark"] .track-choice[aria-pressed=true]{background:linear-gradient(135deg,#4d3517,#3a2812);border-color:#f0933f;box-shadow:inset 0 0 0 2px #7a4e1e,0 2px 5px #0007}
:root[data-theme="dark"] .guide-title{background:linear-gradient(#2a2016,#1f1811);border-bottom-color:#4c3b29}
:root[data-theme="dark"] .guide-title h1{color:#f4ead8}
:root[data-theme="dark"] .guide-title p{color:#cdbfa4}
:root[data-theme="dark"] .guide-toc{border-color:#4c3b29}
:root[data-theme="dark"] .guide-toc a{color:#d9c8a7}
:root[data-theme="dark"] .guide-toc a:hover{color:#ffb06b}
:root[data-theme="dark"] .guide-content code{background:#2e2318;color:#f1e8d6}
:root[data-theme="dark"] .notice{background:#2e2318;border-left-color:#e0933f;color:#e3d6bd}
:root[data-theme="dark"] .panel-card{background-color:#241c14}
:root[data-theme="dark"] .ppk-tile{background-color:#241c14;box-shadow:inset 0 0 0 3px #ffffff0a,0 3px 10px #0006}
:root[data-theme="dark"] .ppk-chips span{background:#1c1610}
:root[data-theme="dark"] .actions .button.ppk-btn .ppk-chip{background:#fff8e9;color:#4f4a40}
:root[data-theme="dark"] .ppk-footer{border-top-color:#4c3b29}
/* dark path 2: system preference, nothing chosen yet */
@media (prefers-color-scheme:dark){
:root:not([data-theme]) body.peak-site{background:radial-gradient(ellipse at 50% 0,#2d2217,#120d08 95%);color:#f1e8d6}
:root:not([data-theme]) .shell-inner{background:#1c1610;border-color:#5a4630;box-shadow:0 0 0 2px #0e0a06,0 0 0 4px #6a5538}
:root:not([data-theme]) .hero:before{background:linear-gradient(90deg,#120d08e6 18%,#120d08b3 50%,#120d0845 85%)}
:root:not([data-theme]) .hero-copy,:root:not([data-theme]) .hero-title,:root:not([data-theme]) .hero .lead{color:#f4ead8}
:root:not([data-theme]) .hero .lead{color:#dccfb6}
:root:not([data-theme]) .hero .compat span{color:#24251f}
:root:not([data-theme]) .installer-note{color:#d0c3a9}
:root:not([data-theme]) .installer-note a{color:#ffb06b}
:root:not([data-theme]) .page-body{background:linear-gradient(115deg,#211a12,#17120d)}
:root:not([data-theme]) .page-body h2,:root:not([data-theme]) .page-body h3,:root:not([data-theme]) .guide-content h2,:root:not([data-theme]) .track-choice strong,:root:not([data-theme]) .density-number{color:#f4ead8}
:root:not([data-theme]) .page-body p,:root:not([data-theme]) .guide-content p,:root:not([data-theme]) .guide-content li,:root:not([data-theme]) .section-copy p{color:#d0c3a9}
:root:not([data-theme]) .section-kicker{color:#e0a869}
:root:not([data-theme]) .features{border-bottom-color:#4c3b29}
:root:not([data-theme]) .feature-number{color:#d9a45f}
:root:not([data-theme]) .mini-chip{background:#2e2318;color:#e0c79b;border-color:#5a4630}
:root:not([data-theme]) .demo-small,:root:not([data-theme]) .image-note,:root:not([data-theme]) .music-credits,:root:not([data-theme]) .demo-time{color:#bfb298}
:root:not([data-theme]) .demo-state,:root:not([data-theme]) .demo-status{color:#e0a869}
:root:not([data-theme]) .music-credits a,:root:not([data-theme]) .export-example,:root:not([data-theme]) .download-links a,:root:not([data-theme]) .guide-content a{color:#ffb06b}
:root:not([data-theme]) .extra-controls{background:#241c14;border-color:#5a4630}
:root:not([data-theme]) .extra-controls summary,:root:not([data-theme]) .volume-row,:root:not([data-theme]) .demo-readout span{color:#e3d6bd}
:root:not([data-theme]) .track-choice{background:linear-gradient(135deg,#2e2418,#241c14);border-color:#5a4630;color:#f1e8d6;box-shadow:inset 0 1px #ffffff14,0 2px 4px #0006}
:root:not([data-theme]) .track-choice small{color:#c4b79f}
:root:not([data-theme]) .track-choice[aria-pressed=true]{background:linear-gradient(135deg,#4d3517,#3a2812);border-color:#f0933f;box-shadow:inset 0 0 0 2px #7a4e1e,0 2px 5px #0007}
:root:not([data-theme]) .guide-title{background:linear-gradient(#2a2016,#1f1811);border-bottom-color:#4c3b29}
:root:not([data-theme]) .guide-title h1{color:#f4ead8}
:root:not([data-theme]) .guide-title p{color:#cdbfa4}
:root:not([data-theme]) .guide-toc{border-color:#4c3b29}
:root:not([data-theme]) .guide-toc a{color:#d9c8a7}
:root:not([data-theme]) .guide-toc a:hover{color:#ffb06b}
:root:not([data-theme]) .guide-content code{background:#2e2318;color:#f1e8d6}
:root:not([data-theme]) .notice{background:#2e2318;border-left-color:#e0933f;color:#e3d6bd}
:root:not([data-theme]) .panel-card{background-color:#241c14}
:root:not([data-theme]) .ppk-tile{background-color:#241c14;box-shadow:inset 0 0 0 3px #ffffff0a,0 3px 10px #0006}
:root:not([data-theme]) .ppk-chips span{background:#1c1610}
:root:not([data-theme]) .actions .button.ppk-btn .ppk-chip{background:#fff8e9;color:#4f4a40}
:root:not([data-theme]) .ppk-footer{border-top-color:#4c3b29}
}
/* Link from the guide to the program page. */
.guide-title .guide-home{margin:0 0 18px}
.guide-title .guide-home-link{min-height:44px;padding:8px 18px;font-size:17px}
/* Phones (2026-11-16): the hero column may shrink below its content, long words and buttons wrap, titles fit 320 px. */
@media(max-width:780px){
.hero{grid-template-columns:minmax(0,1fr)}
.hero-copy,.product-shot{min-width:0}
.hero-title{font-size:clamp(30px,9.4vw,50px);overflow-wrap:anywhere}
.lead{overflow-wrap:anywhere}
.actions .button{white-space:normal;text-align:center}
.compat{flex-wrap:wrap}
.compat span{white-space:normal}
.product-shot img{max-width:100%}
.installer-note{overflow-wrap:anywhere}
}
/* Phones: finger-sized links in the guide's contents (2026-11-16) */
@media(max-width:640px){.guide-toc a,.download-links a{display:inline-flex;align-items:center;min-height:44px;min-width:44px}}
/* phones: the example download link is a finger-sized target */
.export-example{display:inline-flex;align-items:center;min-height:44px}
