/* Pace / Editorial refinement — layout contract: one max-width, one type scale, a little wit.
   Scoped to homepage; existing download logic and signing UI remain unchanged. */
:root{--pace-ink:#0b0e13;--pace-ink2:#121820;--pace-gold:#e9be79;--pace-paper:#f8f7f4;--pace-paper-ink:#171b21;--pace-stroke:rgba(255,255,255,.13)}
body.pace-home{background:#0b0e13;letter-spacing:-.005em}
body.pace-home .wrap,body.pace-home .flagship-hero-inner,body.pace-home .editorial-chapter>.wrap,body.pace-home .themes-chapter>.wrap{width:min(1170px,calc(100% - 64px));max-width:1170px}
body.pace-home .site-nav{box-shadow:0 1px rgba(255,255,255,.065);height:66px}
body.pace-home .site-nav .brand{font-size:19px}
body.pace-home .site-nav .nav-links{gap:24px}
body.pace-home .nav-download{background:var(--pace-gold);color:#171a1f}
body.pace-home .apple-theater{padding:120px 0 82px;background:linear-gradient(180deg,#0b0e13,#10151c 81%,#111821)}
body.pace-home .flagship-intro{padding:0 0 42px}
body.pace-home .flagship-overline{margin-bottom:16px;font-size:11px;letter-spacing:.18em;color:#d9b277}
body.pace-home .flagship-intro h1{max-width:1120px;font-size:clamp(72px,8vw,118px);line-height:1.01;letter-spacing:-.073em;margin-bottom:22px;font-weight:750}
body.pace-home .flagship-intro h1 em{color:var(--pace-gold);font-weight:750}
body.pace-home .flagship-intro-aside{max-width:620px}
body.pace-home .flagship-intro-aside>p{font-size:clamp(16px,1.55vw,19px);line-height:1.54;max-width:590px;color:#bac0ca;margin:0 0 19px}
body.pace-home .flagship-actions{gap:24px}
body.pace-home .flagship-actions .btn{height:45px;min-height:45px;padding:0 25px;background:var(--pace-gold)}
body.pace-home .flagship-secondary{font-size:13px;color:#e9c388}
body.pace-home .flagship-release{margin-top:13px;font-size:10px;letter-spacing:.035em;color:#a6aab3;line-height:1.5}
body.pace-home .flagship-preview-heading{display:flex;justify-content:space-between;gap:12px;font-size:10px;letter-spacing:.095em;margin-bottom:12px}
body.pace-home .flagship-browser-stage:before{inset:12% 13% -3%;filter:blur(45px);background:rgba(181,136,71,.13)}
body.pace-home .flagship-browser-stage .pace-preview{border-radius:15px;min-height:600px;box-shadow:0 25px 60px rgba(0,0,0,.42);border-color:rgba(225,205,178,.22)}
body.pace-home .flagship-browser-stage .pv-newtab{padding-top:39px;gap:21px}
body.pace-home .flagship-browser-stage .pv-nt-logo{width:62px;height:62px}
body.pace-home .flagship-browser-stage .pv-search{height:49px}
body.pace-home .flagship-tour{padding-top:16px}
body.pace-home .tour-switches{gap:9px;margin-top:0}
body.pace-home .tour-switches button{padding:10px 16px;border-radius:11px;font-size:12px;min-height:42px}
body.pace-home .tour-switches button.is-active{background:var(--pace-gold);border-color:var(--pace-gold);color:#131820}
body.pace-home .tour-explainer{max-width:880px;margin-top:14px}
body.pace-home .product-manifesto{padding:104px 0 110px;background:var(--pace-paper)}
body.pace-home .manifesto-shell{max-width:1070px}
body.pace-home .manifesto-kicker{font-size:10px;letter-spacing:.13em;margin-bottom:21px;color:#8c6537}
body.pace-home .product-manifesto h2{max-width:980px;font-size:clamp(54px,6.5vw,88px);line-height:1.07;letter-spacing:-.072em;margin-bottom:24px}
body.pace-home .product-manifesto h2 span{color:#a17b4e}
body.pace-home .product-manifesto>.wrap>p:not(.manifesto-kicker){font-size:clamp(18px,2vw,23px);line-height:1.55;max-width:750px}
body.pace-home .manifesto-facts{margin-top:44px;padding-top:24px;gap:10px}
body.pace-home .manifesto-facts>div{grid-template-columns:auto 1fr;align-items:baseline;gap:14px}
body.pace-home .manifesto-facts strong{font-size:clamp(36px,4vw,55px);letter-spacing:-.055em;color:#323235}
body.pace-home .manifesto-facts span{font-size:13px;letter-spacing:-.01em}
body.pace-home .editorial-chapter{padding:96px 0 104px}
body.pace-home .editorial-chapter .section-head{max-width:930px;margin-bottom:40px}
body.pace-home .editorial-chapter .section-head h2{font-size:clamp(55px,6.4vw,87px);line-height:1.07;letter-spacing:-.068em;margin-bottom:17px}
body.pace-home .editorial-chapter .section-head p{font-size:clamp(16px,1.65vw,19px);line-height:1.6;max-width:760px}
body.pace-home .editorial-chapter .kicker{letter-spacing:.1em;font-size:10px}
body.pace-home .speed-chapter{background:#101720}
body.pace-home .speed-stage{padding:42px 44px;border-radius:18px;background:#19232f}
body.pace-home .speed-grid{grid-template-columns:1fr 1fr;gap:42px;align-items:center}
body.pace-home .speed-copy h3{font-size:clamp(30px,3.7vw,45px);line-height:1.13}
body.pace-home .speed-copy p{font-size:15px;line-height:1.7}
body.pace-home .speed-pills{gap:7px}
body.pace-home .speed-pills span{border-radius:9px;font-size:11px;padding:7px 10px}
body.pace-home .pipeline{border:0;display:grid;gap:0}
body.pace-home .pace-flow-step{display:grid;grid-template-columns:36px 1fr;align-items:start;gap:16px;border-bottom:1px solid rgba(255,255,255,.13);padding:20px 0}
body.pace-home .pace-flow-step:first-child{border-top:1px solid rgba(255,255,255,.13)}
body.pace-home .pace-flow-step>b{font-size:11px;letter-spacing:.1em;color:var(--pace-gold);font-weight:750;padding-top:6px}
body.pace-home .pace-flow-step div{display:grid;gap:5px}
body.pace-home .pace-flow-step strong{font-size:19px;color:#f0f1f2;letter-spacing:-.035em}
body.pace-home .pace-flow-step span{font-size:13px;color:#a9b2bf;line-height:1.5}
body.pace-home .pace-flow-note{font-size:11px;color:#929aa6;margin:14px 0 0}
body.pace-home .themes-chapter{background:#0e1420}
body.pace-home .themes-chapter .theme-stage{padding:9px;border-radius:16px;background:#161d2a}
body.pace-home .themes-chapter .theme-stage-bar{height:46px}
body.pace-home .themes-chapter .theme-browser{height:525px;min-height:525px;border-radius:11px}
body.pace-home .themes-chapter .theme-list{grid-template-columns:repeat(7,minmax(0,1fr));gap:8px}
body.pace-home .themes-chapter .theme-btn{min-height:100px;padding:14px 12px;border-radius:12px;gap:10px;background:#171f2d}
body.pace-home .themes-chapter .theme-btn.active{background:#26303d;border-color:#e9be79}
body.pace-home .themes-chapter .theme-dot{width:26px;height:26px}
body.pace-home .themes-chapter .theme-btn strong{font-size:11px}
body.pace-home .privacy-chapter{background:#f5f4f1}
body.pace-home .privacy-chapter .adblock-grid{gap:14px}
body.pace-home .privacy-chapter .ad-card{padding:33px 30px;border-radius:15px}
body.pace-home .privacy-chapter .ad-card h3{font-size:clamp(29px,3vw,39px);line-height:1.14;margin-bottom:12px}
body.pace-home .privacy-chapter .ad-card>p{font-size:14px;line-height:1.68}
body.pace-home .workflow-chapter{background:#faf9f6}
body.pace-home .workflow-chapter .bento{border-color:#d8d7d3}
body.pace-home .workflow-chapter .bento-card,body.pace-home .workflow-chapter .bento-card.wide{padding:28px 28px;min-height:195px;border-color:#d8d7d3}
body.pace-home .workflow-chapter .bento-card h3{font-size:24px;margin-bottom:9px}
body.pace-home .workflow-chapter .bento-card p{font-size:14px;line-height:1.58}
body.pace-home .workflow-chapter .feature-icon{margin-bottom:15px;width:43px;height:43px;border-radius:11px}
body.pace-home .feature-atlas{width:min(1170px,calc(100% - 64px));padding:98px 0 90px}
body.pace-home .feature-atlas .atlas-head h2{font-size:clamp(52px,6.4vw,82px);line-height:1.08}
body.pace-home .feature-atlas .atlas-head p{font-size:17px;max-width:730px}
body.pace-home .feature-atlas .atlas-list article{padding:18px 8px}
body.pace-home .feature-atlas .atlas-list article i{display:none}
body.pace-home .feature-atlas .atlas-filters button{border-radius:10px}
body.pace-home .feature-atlas .atlas-search-label input{border-radius:10px}
body.pace-home .feature-atlas .atlas-expander{display:flex;justify-content:center;margin:24px 0 0}
body.pace-home .feature-atlas .atlas-expand-btn{border:1px solid #e9be79;background:transparent;color:#edca93;border-radius:999px;padding:13px 27px;cursor:pointer;font-size:13px;font-weight:750;transition:background .2s,color .2s}
body.pace-home .feature-atlas .atlas-expand-btn:hover{background:#e9be79;color:#101720}
body.pace-home .spec-tease{border-radius:16px}
body.pace-home .live-release{padding:35px 0 30px}
body.pace-home .live-release-card{border-radius:15px;padding:29px 35px}
body.pace-home .live-release-card h2{font-size:clamp(26px,3vw,39px);letter-spacing:-.048em}
body.pace-home .download-band{padding:95px 0 92px;background:#151f2b}
body.pace-home .download-band h2{font-size:clamp(55px,7vw,90px);line-height:1.06;max-width:920px;margin-bottom:15px}
body.pace-home .download-band .wrap>p{font-size:17px;line-height:1.6;max-width:700px}
body.pace-home .download-band .p-beta-inline{font-size:10px;letter-spacing:.065em}
@media(max-width:980px){
 body.pace-home .speed-grid{grid-template-columns:1fr;gap:24px}
 body.pace-home .themes-chapter .theme-list{grid-template-columns:repeat(4,minmax(0,1fr))}
 body.pace-home .themes-chapter .theme-browser{height:460px;min-height:460px}
}
@media(max-width:660px){
 body.pace-home .wrap,body.pace-home .flagship-hero-inner,body.pace-home .editorial-chapter>.wrap,body.pace-home .themes-chapter>.wrap{width:calc(100% - 34px)}
 body.pace-home .apple-theater{padding:102px 0 63px}
 body.pace-home .flagship-intro{padding-bottom:30px}
 body.pace-home .flagship-intro h1{font-size:clamp(48px,12.7vw,72px);line-height:1.02;letter-spacing:-.075em;margin-bottom:17px}
 body.pace-home .flagship-intro-aside>p{font-size:15px;margin-bottom:14px;line-height:1.58}
 body.pace-home .flagship-preview-heading{font-size:9px}
 body.pace-home .flagship-preview-heading span:last-child{display:none}
 body.pace-home .flagship-browser-stage .pace-preview{min-height:395px}
 body.pace-home .flagship-browser-stage .pv-newtab{padding-top:18px;gap:13px}
 body.pace-home .flagship-browser-stage .pv-nt-logo{height:46px;width:46px}
 body.pace-home .flagship-browser-stage .pv-search{height:39px}
 body.pace-home .tour-switches button{border-radius:10px;padding:10px 12px}
 body.pace-home .product-manifesto{padding:76px 0 82px}
 body.pace-home .product-manifesto h2{font-size:clamp(45px,11.5vw,62px);line-height:1.08}
 body.pace-home .product-manifesto>.wrap>p:not(.manifesto-kicker){font-size:18px}
 body.pace-home .manifesto-facts{grid-template-columns:1fr;gap:6px}
 body.pace-home .manifesto-facts>div{grid-template-columns:55px 1fr;border-bottom:1px solid #dbdad5;padding:10px 0}
 body.pace-home .manifesto-facts strong{font-size:37px}
 body.pace-home .editorial-chapter{padding:72px 0 76px}
 body.pace-home .editorial-chapter .section-head{margin-bottom:30px}
 body.pace-home .editorial-chapter .section-head h2{font-size:clamp(43px,10.8vw,62px);line-height:1.08;letter-spacing:-.065em}
 body.pace-home .editorial-chapter .section-head p{font-size:15px}
 body.pace-home .speed-stage{padding:25px 20px;border-radius:14px}
 body.pace-home .speed-copy h3{font-size:29px}
 body.pace-home .themes-chapter .theme-stage{border-radius:14px;padding:5px}
 body.pace-home .themes-chapter .theme-browser{height:399px;min-height:399px}
 body.pace-home .themes-chapter .theme-list{display:flex;overflow-x:auto;gap:8px}
 body.pace-home .themes-chapter .theme-btn{flex:0 0 125px;min-height:94px;padding:13px 12px}
 body.pace-home .privacy-chapter .ad-card{padding:25px 22px}
 body.pace-home .workflow-chapter .bento-card,body.pace-home .workflow-chapter .bento-card.wide{min-height:165px;padding:23px 20px}
 body.pace-home .feature-atlas{width:calc(100% - 34px);padding:73px 0 75px}
 body.pace-home .feature-atlas .atlas-head h2{font-size:clamp(43px,11vw,60px)}
 body.pace-home .feature-atlas .atlas-head p{font-size:15px}
 body.pace-home .live-release-card{padding:23px}
 body.pace-home .download-band{padding:76px 0 80px}
 body.pace-home .download-band h2{font-size:clamp(49px,11vw,69px)}
 body.pace-home .download-band .wrap>p{font-size:15px}
}
@media(prefers-reduced-motion:reduce){body.pace-home .feature-atlas .atlas-expand-btn{transition:none}}
/* Filtering must be reliable even when a list item has a display rule. */
body.pace-home [data-feature-item][hidden],body.pace-home .atlas-expander[hidden]{display:none!important}
/* Focus is clear for keyboard navigation. */
body.pace-home :where(a,button,input):focus-visible{outline:2px solid #edc386;outline-offset:3px}
body.pace-home .pace-preview .pv-chrome button{pointer-events:none;cursor:default}
