/* Pace / That1Dev unified Liquid Surface visual system.
   The real .pacetheme-derived preview colors remain owned by themes.js and precision.css.
   Page chrome uses few glass layers with explicit contrast and reduced-motion behavior. */
body.pace-editorial{--glass-canvas:#0a0f18;--glass-surface:rgba(26,36,53,.66);--glass-strong:rgba(33,46,66,.78);--glass-edge:rgba(223,230,250,.16);--glass-line:rgba(242,212,172,.22);--glass-highlight:rgba(255,255,255,.13);--glass-ink:#f5f7fb;--glass-muted:#aeb9cb;--glass-gold:#e9ba77;--glass-gold-light:#ffe2ab;--glass-radius:22px;--pace-fluid:cubic-bezier(.2,.75,.23,1)}
body.pace-editorial{background:#0a0f18;color:var(--glass-ink)}
body.pace-editorial :where(button,a,input):focus-visible{outline:2px solid var(--glass-gold-light);outline-offset:4px}
body.pace-editorial .site-nav{top:10px!important;left:50%!important;transform:translateX(-50%)!important;width:min(1190px,calc(100% - 36px))!important;max-width:1190px!important;height:60px!important;padding:0 20px!important;border:1px solid rgba(255,255,255,.18)!important;border-radius:18px!important;background:linear-gradient(170deg,rgba(39,49,66,.65),rgba(13,20,31,.79))!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.14),0 16px 48px rgba(0,0,0,.18)!important;backdrop-filter:blur(30px) saturate(170%)!important;-webkit-backdrop-filter:blur(30px) saturate(170%)!important;transition:background .25s ease,box-shadow .25s ease,border-color .25s ease!important}
body.pace-editorial .site-nav.scrolled{background:linear-gradient(175deg,rgba(30,40,58,.88),rgba(10,17,29,.93))!important;box-shadow:inset 0 1px rgba(255,255,255,.12),0 18px 48px rgba(0,0,0,.28)!important}
body.pace-editorial .site-nav .brand{letter-spacing:-.035em!important;font-size:19px!important;font-weight:720!important}
body.pace-editorial .site-nav .nav-links>a:not(.nav-download){color:#c2c8d2;transition:color .18s ease,background-color .18s ease;border-radius:10px;padding:9px 10px}
body.pace-editorial .site-nav .nav-links>a:not(.nav-download):hover{color:#fff;background:rgba(255,255,255,.06)}
body.pace-editorial .site-nav .nav-download{border-radius:12px!important;box-shadow:inset 0 1px rgba(255,255,255,.38),0 3px 14px rgba(233,185,109,.1)}
body.pace-editorial .menu-btn{border-radius:10px;min-width:44px;min-height:44px}
/* A calm, one-piece hero: subtle Pace light along the frame, not a page-wide glow. */
body.pace-home .apple-theater{background:radial-gradient(ellipse 62% 37% at 50% 54%,rgba(100,111,136,.11),transparent 75%),linear-gradient(180deg,#0b101a 0%,#0c1420 62%,#0a0f18 100%);padding-top:108px!important}
body.pace-home .apple-theater:before{top:-300px;opacity:.47;filter:blur(45px)}
body.pace-home .flagship-intro{padding-bottom:42px}
body.pace-home .flagship-overline{font-size:11px;letter-spacing:.21em;color:#d9b17a}
body.pace-home .flagship-intro h1{font-size:clamp(56px,7vw,102px)!important;line-height:.99!important;letter-spacing:-.077em!important;margin:10px auto 18px!important;font-weight:750}
body.pace-home .flagship-intro h1 em{color:var(--glass-gold);text-wrap:balance}
body.pace-home .flagship-intro-aside>p{font-size:clamp(16px,1.55vw,18px)!important;max-width:650px;line-height:1.5!important;color:#bcc4d0}
body.pace-home .flagship-actions{gap:16px;align-items:center}
body.pace-home .flagship-actions .btn-primary,body.pace-home .download-band .btn-primary{background:linear-gradient(135deg,#ffda99,#e9b669 77%);color:#131922;border:1px solid rgba(255,255,255,.28);box-shadow:inset 0 1px 0 rgba(255,255,255,.43),0 10px 26px rgba(227,168,85,.1);border-radius:13px!important;transition:transform .19s var(--pace-fluid),box-shadow .19s ease,filter .19s ease!important}
body.pace-home .flagship-actions .btn-primary:hover,body.pace-home .download-band .btn-primary:hover{transform:translateY(-2px);filter:brightness(1.035);box-shadow:0 14px 30px rgba(227,168,85,.16)}
body.pace-home .flagship-secondary{font-weight:650;transition:color .18s ease}
body.pace-home .flagship-release{font-size:10px;letter-spacing:.02em;color:#98a5b6}
body.pace-home .flagship-preview-heading{padding:0 4px 13px;letter-spacing:.13em;color:#a3adba}
body.pace-home .flagship-browser-stage{width:min(1320px,100%)!important}
body.pace-home .flagship-browser-stage:before{inset:6% 11% -4%;background:rgba(228,172,96,.11);filter:blur(52px)}
body.pace-home .flagship-browser-stage::after{opacity:.4}
body.pace-home .flagship-browser-stage .pace-preview{border-radius:17px!important;border-color:rgba(255,237,208,.25)!important;box-shadow:0 38px 110px rgba(1,3,8,.62),inset 0 1px rgba(255,255,255,.12),0 0 0 7px rgba(255,255,255,.018)!important}
/* Each chapter uses the same restrained scale and rhythm. */
body.pace-home .editorial-chapter{padding-top:92px!important;padding-bottom:100px!important}
body.pace-home .editorial-chapter .section-head{margin-bottom:37px!important}
body.pace-home .editorial-chapter .section-head h2{font-size:clamp(45px,5.2vw,75px)!important;line-height:1.065!important;letter-spacing:-.064em!important;margin-bottom:17px!important}
body.pace-home .editorial-chapter .section-head p{font-size:clamp(16px,1.6vw,19px)!important;line-height:1.55!important;max-width:680px}
body.pace-home .product-manifesto{padding-top:100px!important;padding-bottom:90px!important}
body.pace-home .product-manifesto h2{font-size:clamp(62px,8.4vw,112px)!important;line-height:1.02!important;letter-spacing:-.073em!important;margin-bottom:27px!important}
body.pace-home .manifesto-facts{margin-top:44px!important}
/* Feature studio: controlled glass with a single border owner. */
body.pace-home .pace-lab{background:linear-gradient(180deg,#0b111b,#101927);padding:92px 0 102px;border-color:rgba(255,255,255,.07)}
body.pace-home .lab-intro{margin-bottom:32px}
body.pace-home .lab-intro h2{font-size:clamp(48px,5.4vw,75px);letter-spacing:-.062em;line-height:1.065}
body.pace-home .lab-intro p{font-size:17px}
body.pace-home .lab-layout{border:1px solid rgba(255,255,255,.19);border-radius:22px;background:rgba(17,28,44,.67);box-shadow:0 35px 85px rgba(0,0,0,.25),inset 0 1px rgba(255,255,255,.09);backdrop-filter:blur(28px) saturate(135%)}
body.pace-home .lab-menu{background:linear-gradient(155deg,rgba(34,47,67,.54),rgba(18,27,43,.82))}
body.pace-home .lab-menu button{transition:background .18s ease,box-shadow .18s ease,color .18s ease!important}
body.pace-home .lab-menu button[aria-selected="true"]{background:linear-gradient(90deg,rgba(245,197,126,.13),rgba(255,255,255,.035));box-shadow:inset 3px 0 #f4c787}
body.pace-home .lab-product,body.pace-home .lab-scene{background:linear-gradient(145deg,#182537,#111b2a)}
body.pace-home .lab-product-top,body.pace-home .lab-product-foot{background:rgba(20,31,46,.58)}
body.pace-home .lab-demo-badge{border-color:rgba(255,255,255,.2);background:rgba(255,255,255,.045);border-radius:8px}
/* Theme theater: a lightweight liquid-glass tray, rather than seven big cards. */
body.pace-home .themes-chapter{background:radial-gradient(ellipse 64% 22% at 50% 54%,rgba(112,132,167,.1),transparent 100%),#0b101a}
body.pace-home .themes-chapter .theme-stage{padding:10px!important;border:1px solid rgba(255,255,255,.2)!important;border-radius:24px!important;background:linear-gradient(145deg,rgba(46,61,82,.47),rgba(12,22,36,.72))!important;backdrop-filter:blur(24px) saturate(135%);box-shadow:0 32px 90px rgba(0,0,0,.26),inset 0 1px rgba(255,255,255,.1)!important}
body.pace-home .themes-chapter .theme-stage-bar{background:transparent;letter-spacing:.05em}
body.pace-home .themes-chapter .theme-browser{border-radius:16px!important;box-shadow:0 17px 42px rgba(0,0,0,.22)!important}
body.pace-home .themes-chapter .theme-list{gap:9px!important;margin-top:0!important}
body.pace-home .themes-chapter .theme-btn{min-height:91px!important;padding:14px 12px!important;gap:11px!important;border-radius:13px!important;background:rgba(38,50,69,.46)!important;border:1px solid rgba(255,255,255,.12)!important;backdrop-filter:blur(18px);box-shadow:inset 0 1px rgba(255,255,255,.05)!important;transition:background .19s ease,transform .19s var(--pace-fluid),border-color .19s ease!important}
body.pace-home .themes-chapter .theme-btn:hover{transform:translateY(-2px);background:rgba(51,65,86,.64)!important;border-color:rgba(255,255,255,.27)!important}
body.pace-home .themes-chapter .theme-btn.active{background:linear-gradient(140deg,rgba(59,73,97,.82),rgba(30,43,62,.65))!important;border-color:var(--theme-selected,rgba(234,185,109,.7))!important;box-shadow:inset 0 1px rgba(255,255,255,.14),0 0 0 1px var(--theme-selected,rgba(234,185,109,.35))!important}
body.pace-home .themes-chapter .theme-btn .theme-dot{width:26px;height:26px}
body.pace-home .themes-chapter .theme-btn strong{font-size:11px;line-height:1.18;letter-spacing:0}
body.pace-home .themes-chapter .theme-btn em{display:none}
body.pace-home .theme-stage-controls{margin:18px auto 13px}
body.pace-home .theme-stage-controls button{border-radius:12px;background:rgba(45,59,80,.6);border:1px solid rgba(255,255,255,.18);backdrop-filter:blur(14px);color:#f5dcad;min-height:44px;box-shadow:inset 0 1px rgba(255,255,255,.08)}
body.pace-home .theme-stage-controls button:hover{background:rgba(63,78,100,.77);transform:translateY(-1px)}
/* A deliberate warm contrast chapter, with cleaner, flatter editorial tiles. */
body.pace-home .privacy-chapter{background:#f2f1ed}
body.pace-home .privacy-chapter .ad-card{border-radius:16px!important;background:linear-gradient(155deg,#1e2939,#121d2c)!important}
body.pace-home .workflow-chapter{background:#f9f9f7}
body.pace-home .workflow-chapter .bento-card:hover{background:#f0efeb}
body.pace-home .workflow-chapter .feature-icon{border-radius:12px}
body.pace-home .feature-atlas{padding-top:90px!important;padding-bottom:104px!important}
body.pace-home .feature-atlas .atlas-head h2{font-size:clamp(45px,5vw,75px)!important;letter-spacing:-.062em!important}
body.pace-home .feature-atlas .atlas-search-label input{border:1px solid rgba(255,255,255,.2);background:rgba(39,51,70,.53);backdrop-filter:blur(13px);box-shadow:inset 0 1px rgba(255,255,255,.075);border-radius:12px;color:#f7f8fc;min-height:48px}
body.pace-home .feature-atlas .atlas-filters button{background:rgba(255,255,255,.045);border:1px solid rgba(255,255,255,.16);backdrop-filter:blur(13px);border-radius:12px}
body.pace-home .feature-atlas .atlas-filters button.active{background:#eac17f;border-color:#eac17f;color:#1b1e24}
body.pace-home .spec-tease,body.pace-home .live-release-card{border:1px solid rgba(255,255,255,.14)!important;border-radius:18px!important;background:linear-gradient(145deg,rgba(43,56,76,.48),rgba(18,28,43,.75))!important;box-shadow:inset 0 1px rgba(255,255,255,.08)!important;backdrop-filter:blur(24px)}
body.pace-home .download-band{padding:110px 0 105px!important;background:linear-gradient(145deg,#141e2b,#0a101a 75%)}
body.pace-home .download-band h2{font-size:clamp(52px,7vw,97px)!important;letter-spacing:-.07em!important}
body.pace-home .download-band .wrap>p{font-size:17px!important}
/* Secondary pages retain original layouts, with Pace glass on actionable surfaces. */
body.pace-subpage .download-page,body.pace-subpage .page-content{padding-top:115px}
body.pace-subpage :where(.signing-notice,.download-option,.platform-card,.page-hero){border-radius:16px}
body.pace-subpage .site-nav .nav-links.open{background:rgba(16,26,42,.95);backdrop-filter:blur(26px);border-color:rgba(255,255,255,.2)}
@media(max-width:980px){body.pace-editorial .site-nav{height:58px!important;width:calc(100% - 26px)!important;padding:0 16px!important}body.pace-editorial .site-nav .nav-links.open{left:auto;right:0;border-radius:16px;background:rgba(21,32,49,.94)!important;backdrop-filter:blur(25px);border:1px solid rgba(255,255,255,.23);box-shadow:0 20px 55px rgba(0,0,0,.35)}body.pace-home .lab-menu button[aria-selected=true]{box-shadow:inset 0 -3px #eac17f}}
@media(max-width:660px){body.pace-editorial .site-nav{top:8px!important;width:calc(100% - 20px)!important;padding:0 12px!important;border-radius:15px!important}body.pace-home .apple-theater{padding-top:110px!important}body.pace-home .flagship-intro{padding-bottom:27px!important}body.pace-home .flagship-intro h1{font-size:clamp(48px,12.4vw,61px)!important;line-height:1.02!important;margin-bottom:13px!important}body.pace-home .flagship-intro-aside>p{font-size:15px!important;line-height:1.5!important}body.pace-home .flagship-browser-stage .pace-preview{border-radius:13px!important}body.pace-home .product-manifesto{padding:75px 0!important}body.pace-home .product-manifesto h2{font-size:clamp(50px,12vw,67px)!important}body.pace-home .editorial-chapter{padding:74px 0!important}body.pace-home .editorial-chapter .section-head h2{font-size:clamp(40px,10vw,57px)!important}body.pace-home .lab-intro h2{font-size:clamp(44px,11vw,60px)}body.pace-home .pace-lab{padding:70px 0}body.pace-home .themes-chapter .theme-list{gap:7px!important}body.pace-home .themes-chapter .theme-btn{min-height:78px!important;padding:11px 9px!important}body.pace-home .themes-chapter .theme-btn .theme-dot{height:22px;width:22px}body.pace-home .theme-stage-controls{gap:9px}body.pace-home .feature-atlas{padding:75px 0!important}body.pace-home .download-band h2{font-size:clamp(45px,11vw,62px)!important}}
@media(prefers-reduced-motion:reduce){body.pace-home .themes-chapter .theme-btn,body.pace-editorial .site-nav,body.pace-home .flagship-actions .btn-primary,body.pace-home .theme-stage-controls button{transition:none!important}body.pace-home .theme-stage:after{animation:none!important}}
/* Existing long-form privacy/terms pages use the legacy nav wrapper. Give it the same Pace surface language. */
body.pace-subpage>nav:not(.site-nav){position:sticky;z-index:110;top:10px;width:min(1190px,calc(100% - 36px));margin:10px auto -70px;border:1px solid rgba(255,255,255,.17);border-radius:18px;background:linear-gradient(165deg,rgba(42,55,75,.76),rgba(14,22,35,.88));box-shadow:inset 0 1px rgba(255,255,255,.12),0 16px 36px rgba(0,0,0,.18);backdrop-filter:blur(25px) saturate(155%)}
body.pace-subpage>nav:not(.site-nav)>.wrap{width:100%;max-width:none;min-height:60px;display:flex;align-items:center;justify-content:space-between;padding:0 20px}
body.pace-subpage>nav:not(.site-nav) .nav-links{display:flex;align-items:center;gap:17px;color:#c6d0dc;font-size:13px}
body.pace-subpage>nav:not(.site-nav) .brand{display:flex;align-items:center;gap:8px;font-size:20px;font-weight:750}
body.pace-subpage>nav:not(.site-nav) .brand img{width:32px;height:32px}
body.pace-subpage>nav:not(.site-nav) .nav-cta{border-radius:11px;background:#ebbe77;color:#111927;padding:10px 16px}
body.pace-subpage .doc{padding-top:150px}
@media(max-width:660px){body.pace-subpage>nav:not(.site-nav){width:calc(100% - 20px);top:8px;border-radius:15px}body.pace-subpage>nav:not(.site-nav)>.wrap{padding:0 12px}body.pace-subpage>nav:not(.site-nav) .nav-links{gap:8px;font-size:11px}body.pace-subpage>nav:not(.site-nav) .nav-links a:not(.nav-cta){display:none}body.pace-subpage>nav:not(.site-nav) .nav-cta{padding:9px 13px}}
