/* Company Simulator marketing site: home (EN, ES) and research pages. Fonts come from /assets/fonts/fonts.css. */
.pq{--ground:#f1f2f4;--surface:#ffffff;--frame:#ffffff;--ink:#111318;--ink-2:#383d48;--muted:#5f6573;--line:#e2e4e8;--line-2:#d5d8de;--line-3:#c9ccd3;--tile:#e6e8ec;--btn:#111318;--on-btn:#ffffff;--shadow:0 18px 40px rgba(17,19,24,.12);--f-display:"Bricolage Grotesque",Georgia,serif;--f-body:"Lexend",system-ui,sans-serif;--f-mono:"Departure Mono","Courier New",monospace;--sec:60px}
.pq[data-theme="dark"]{--ground:#0b0b0c;--surface:#141518;--frame:#17181c;--ink:#f2f2f2;--ink-2:#c9cbd1;--muted:#9a9da6;--line:#2a2c31;--line-2:#33363c;--line-3:#44474e;--tile:#1c1d21;--btn:#f2f2f2;--on-btn:#111318;--shadow:0 18px 40px rgba(0,0,0,.45)}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
body{margin:0;background:#0b0b0c}
*,*::before,*::after{box-sizing:border-box}
.pq{min-height:100vh;font-family:var(--f-body);color:var(--ink);background:var(--ground);font-size:17px;line-height:1.6;overflow-x:clip}
.pq a{color:var(--ink)}
.pq a:hover{opacity:.8}
img{max-width:100%;height:auto}
b,strong{font-weight:600}
:focus-visible{outline:3px solid #ffd34d;outline-offset:2px}
[hidden]{display:none!important}
.skip-link{position:absolute;top:-100px;left:8px;z-index:1000;padding:10px 16px;background:#ffd34d;color:#0e0e0e;font-family:"Lexend",system-ui,sans-serif;font-weight:600;text-decoration:none;border-radius:6px}
.skip-link:focus{top:8px;outline:3px solid #0e0e0e;outline-offset:2px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.pq[data-theme="light"] .sun,.pq[data-theme="dark"] .moon{display:none}
section[id]{scroll-margin-top:16px}

/* type */
.pq h1,.pq h2,.pq h3{margin:0;font-family:var(--f-display);font-weight:700;letter-spacing:-0.01em}
.pq h1{font-size:60px;line-height:1.04;letter-spacing:-0.02em;text-wrap:balance}
.pq h2{font-size:44px;line-height:1.08;text-wrap:balance}
.pq h3{font-size:22px;line-height:1.2}
.kicker{display:block;font-family:var(--f-mono);font-size:15px;color:var(--ink-2)}
.lead{margin:0;font-size:19px;line-height:1.55;color:var(--ink-2)}
.copy{max-width:600px}
.copy>*+*{margin-top:16px}
.muted{color:var(--muted)}
.mono{font-family:var(--f-mono)}

/* layout */
.wrap{max-width:1200px;margin:0 auto;padding:0 24px}
.sec{padding:var(--sec) 0}
.two{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:40px 64px;align-items:center}
.two.rev>.copy{order:2}
.two.rev>.fig{order:1}

/* buttons */
.pq .btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 22px;border-radius:10px;background:var(--btn);color:var(--on-btn);text-decoration:none;font-family:var(--f-mono);font-size:16px;white-space:nowrap}
.btn.lg{min-height:52px;padding:0 24px;font-size:17px}
.btn.sm{min-height:44px;padding:0 18px;font-size:15px}
.btn:hover{opacity:.9}
.pq .link{display:inline-flex;align-items:center;min-height:52px;padding:0 4px;color:var(--ink);text-decoration:underline;text-underline-offset:4px;font-size:17px}
.actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px 16px}

/* framed product shots: 1px border, 12px radius, padding, raised surface, never wider than 960px */
.fig{margin:0;width:100%;max-width:960px;justify-self:center}
.frame{background:var(--frame);border:1px solid var(--line);border-radius:12px;padding:16px;box-shadow:var(--shadow)}
.shot{display:block;position:relative;overflow:hidden;border-radius:6px;background:var(--tile)}
.shot picture{display:contents}
.shot img{display:block;width:100%;height:auto;object-fit:cover}
.cap{margin:10px 0 0;font-family:var(--f-mono);font-size:13px;color:var(--muted);text-align:center}

/* header */
.pq header{background:var(--surface);border-bottom:1px solid var(--line)}
.pq header>div{max-width:1200px;margin:0 auto;padding:16px 24px;display:flex;flex-wrap:wrap;align-items:center;gap:12px 20px}
.brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--ink)}
.brand .wordmark{display:inline-flex;align-items:center;gap:6px;font-family:var(--f-display);font-weight:700;font-size:20px}
.brand .wordmark>span,.foot-brand>span{font-family:'Pixelify Sans',monospace;font-weight:600;font-size:17px;background:#0e0e0e;color:#ffd34d;padding:0 6px;border-radius:4px}
.site-nav{display:flex;flex-wrap:wrap;gap:6px 18px;flex:1 1 auto;font-size:15px}
.site-nav a{text-decoration:none}
.menu-btn,.menu-more{display:none}
.menu-btn[aria-expanded="true"] .bars,.menu-btn[aria-expanded="false"] .cross{display:none}
.head-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;margin-left:auto}
.head-actions .signin,.menu-more .signin{font-size:15px;font-weight:500;text-decoration:none}
.lang{display:flex;gap:2px;font-size:14px;font-weight:600}
.lang a{min-height:44px;min-width:44px;display:inline-flex;align-items:center;justify-content:center;border-radius:8px;text-decoration:none;color:var(--ink-2)}
.lang a[aria-current="page"]{background:var(--tile);color:var(--ink)}
.icon-btn{min-height:44px;width:44px;display:inline-flex;align-items:center;justify-content:center;border-radius:999px;border:1px solid var(--line);background:var(--surface);color:var(--ink);padding:0;cursor:pointer}
@media (max-width:1299px){
.menu-btn{display:inline-flex}
.head-actions .theme-btn{display:none!important}
.site-nav{display:none;order:3;flex:1 1 100%;flex-direction:column;gap:0;font-size:17px;padding-top:8px;border-top:1px solid var(--line)}
.site-nav.open{display:flex}
.site-nav>a,.menu-more>a{min-height:44px;display:flex;align-items:center;padding:0 10px;border-radius:8px}
.menu-more{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;margin-top:8px;padding-top:8px;border-top:1px solid var(--line)}
}

/* 1. hero */
.hero{padding:56px 0 var(--sec)}
.hero .two{grid-template-columns:minmax(0,1fr) minmax(0,1.2fr)}
.hero .copy{display:flex;flex-direction:column;gap:22px;max-width:560px}
.hero .copy>*{margin:0}
.hero .micro{margin-top:-6px;font-size:15px;line-height:1.5;color:var(--muted)}
.hero .fig{width:min(100%,calc((60vh - 34px) * 768 / 489 + 34px))}
.hero .shot img{max-height:calc(60vh - 34px)}

/* 2. three tiles: no image, no hairlines */
.tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px 40px;margin-top:40px}
.tiles p{margin:0;color:var(--ink-2)}
.tiles p b{color:var(--ink)}

/* 3. practice: two tabs, one 16:10 frame, four use-case tiles */
.ptabs{display:flex;flex-wrap:wrap;gap:8px;margin:28px 0 20px;padding:0}
.ptab{display:inline-flex;align-items:center;min-height:44px;padding:0 18px;border-radius:999px;border:1px solid var(--line-2);background:var(--surface);color:var(--ink);font:inherit;font-size:15px;font-weight:500;line-height:1.2;white-space:nowrap;cursor:pointer}
.ptab:hover{border-color:var(--line-3)}
.ptab[aria-selected="true"]{background:var(--btn);color:var(--on-btn);border-color:var(--btn)}
.pbody{margin:0 0 24px;font-size:19px;line-height:1.55;color:var(--ink-2);max-width:600px}
.pbody b{color:var(--ink)}
.pfig{width:min(100%,calc((60vh - 34px) * 1.6 + 34px));max-width:960px;margin:0}
.pshot{aspect-ratio:16/10}
.pshot img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:top;color:transparent;font-size:0}
.pshot img.contain{object-fit:contain}
.has-card .pshot{aspect-ratio:1600/929}
#practice-panel-1 .pfig{width:min(100%,calc((60vh - 34px) * 1600 / 929 + 34px))}
.frame.has-card{position:relative}
.pcard{position:absolute;right:-18px;bottom:-18px;width:36%;height:auto;display:block;border-radius:12px;border:1px solid var(--line);background:var(--surface);box-shadow:var(--shadow)}
.frame.has-card+.pnotes{margin-top:30px}
.pnotes{display:flex;flex-wrap:wrap;justify-content:space-between;gap:6px 24px;margin:12px 0 0;font-size:14px;color:var(--muted)}
.pnotes p{margin:0}
.pnotes p.mono:only-child{margin-left:auto}
.uc-label{display:block;margin:48px 0 16px;font-family:var(--f-mono);font-size:15px;color:var(--ink-2)}
.uc{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.uc>div{background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:20px}
.uc p{margin:0;font-size:15px;line-height:1.55;color:var(--ink-2)}
.uc p b{color:var(--ink)}

/* 4. world + how it works */
.world .shot img{max-height:55vh}
.steps{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:14px}
.steps li{display:grid;grid-template-columns:32px minmax(0,1fr);gap:10px;align-items:baseline}
.steps .n{font-family:var(--f-mono);font-size:17px;color:var(--ink)}

/* 5. for L&D: the home screen, cropped to the Needs you list */
.today .shot{aspect-ratio:1440/500;max-height:55vh}
.today .shot img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:top}
.copy .pt{margin:0;color:var(--ink-2)}
.copy .pt b{color:var(--ink)}

/* 6. founder + pilot */
.founder{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:40px 64px;margin-top:40px;align-items:start}
.quote{display:flex;flex-direction:column;gap:16px;max-width:600px}
.quote img{width:96px;height:96px;border-radius:50%;object-fit:cover}
.quote blockquote{margin:0;color:var(--ink-2)}
.quote .name{font-weight:600}
.pilot-card{background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:28px}
.pilot-card p{margin:0 0 14px;color:var(--ink-2)}
.pilot-card p b{color:var(--ink)}
.pilot-card .actions{margin-top:22px;padding-top:22px;border-top:1px solid var(--line)}
.pilot-card .actions a:not(.btn){color:var(--ink-2);font-size:16px;overflow-wrap:anywhere}

/* 7. faq + closer */
summary{cursor:pointer}
details.faq{border-top:1px solid var(--line)}
details.faq>summary{list-style:none;display:flex;justify-content:space-between;align-items:center;gap:16px;min-height:56px;padding:12px 0;font-weight:600;font-size:18px}
details.faq>summary::-webkit-details-marker{display:none}
details.faq .chev{flex:none;font-family:var(--f-mono);font-size:20px;transition:transform .2s}
details.faq[open] .chev{transform:rotate(45deg)}
details.faq p{margin:0 0 20px;color:var(--ink-2)}
.faq-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,760px);column-gap:48px;align-items:start}
.faq-grid>h2{position:sticky;top:0;align-self:start;z-index:1;background:var(--ground);padding:12px 0 8px}
.faq-list{border-bottom:1px solid var(--line)}
.closer{background:#1c1d21;color:#f2f2f2}
.closer>div{max-width:720px;margin:0 auto;padding:88px 24px;display:flex;flex-direction:column;align-items:center;text-align:center;gap:20px}
.closer h2{color:#ffffff}
.closer p{margin:0;max-width:560px;font-size:19px;line-height:1.55;color:#c4c6cc}
.pq .closer .btn{background:#ffffff;color:#0e0e0e;margin-top:8px}

/* footer */
.pq footer{background:#0e0e0e;color:#9a9da6;font-size:14px}
.pq footer>div{max-width:1200px;margin:0 auto;padding:32px 24px;display:flex;flex-wrap:wrap;gap:12px 28px;align-items:center}
.foot-brand{display:inline-flex;align-items:center;gap:6px;font-family:var(--f-display);font-weight:700;font-size:17px;color:#f2f2f2}
.foot-brand>span{font-size:14px;background:#ffd34d;color:#0e0e0e;padding:0 5px}
.pq footer a{color:#c4c6cc;min-height:44px;display:inline-flex;align-items:center}
.pq footer .mail{color:inherit;flex:1 1 auto}
.pq footer .made{display:inline-flex;align-items:center;gap:4px;min-height:44px}

/* research page */
.research-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));gap:0 48px;margin-top:40px}
.research-grid>div{border-top:2px solid var(--ink);padding:18px 0 24px;display:flex;flex-direction:column;gap:8px}
.research-grid .tag{font-family:var(--f-mono);font-size:14px}
.research-grid p{margin:0}
.research-grid a{font-size:14px;color:var(--muted)}
.research-all{margin:56px 0 0;max-width:760px}
.research-all h2{font-size:28px;line-height:1.15}
.research-all ul{margin:20px 0 0;padding:0;list-style:none;display:flex;flex-direction:column;gap:14px;color:var(--ink-2);font-size:16px}
.research-all li b{color:var(--ink)}

/* mobile pilot bar: fixed at the bottom on phones, toggled by /assets/pilot-bar.js once the hero scrolls away */
.pilot-bar{display:none}

@media (max-width:1023px){
.two,.hero .two,.founder{grid-template-columns:minmax(0,1fr)}
.two.rev>.copy{order:1}
.two.rev>.fig{order:2}
.fig{justify-self:stretch}
.tiles{grid-template-columns:minmax(0,1fr)}
.pq h1{font-size:48px}
.pq h2{font-size:36px}
}
@media (max-width:899px){
.faq-grid{display:block}
.faq-grid>h2{position:static;padding:0 0 16px}
}
@media (max-width:640px){
.pq{--sec:36px}
.wrap,.pq header>div,.pq footer>div,.closer>div{padding-left:16px;padding-right:16px}
.hero{padding-top:36px}
.pq h1{font-size:clamp(32px,9.6vw,40px)}
.pq h2{font-size:32px}
.lead,.pbody{font-size:17px}
.head-actions .signin,.head-actions .lang{display:none!important}
.pq header>div{display:grid;grid-template-columns:auto 1fr;gap:0 8px}
.site-nav{grid-column:1/-1}
.head-actions{flex-wrap:nowrap;gap:8px}
.brand{gap:8px}
.brand .wordmark{flex-direction:column;align-items:flex-start;gap:0;font-size:16px;line-height:1.1}
.brand .wordmark>span{font-size:13px;line-height:1.5}
.head-actions .cta{padding:0 14px;font-size:14px;min-height:44px}
.frame{padding:12px}
.hero .fig{width:min(100%,calc(50vh * 769 / 489 + 26px))}
.hero .shot img,.world .shot img{max-height:50vh}
.today .shot{aspect-ratio:440/508;max-height:50vh}
.pfig,#practice-panel-1 .pfig{width:100%}
.has-card .pshot{aspect-ratio:1000/487}
.pcard{position:static;right:auto;bottom:auto;width:100%;max-height:40vh;object-fit:contain;margin-top:10px}
.frame.has-card+.pnotes{margin-top:12px}
.ptabs{flex-wrap:nowrap;overflow-x:auto;margin-left:-16px;margin-right:-16px;padding:2px 16px 6px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.ptabs::-webkit-scrollbar{display:none}
.ptab{flex:none}
.uc{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.uc>div{padding:16px}
.uc p{font-size:14px}
.pilot-card{padding:20px 16px}
.closer>div{padding:64px 16px}
.pq footer>div{gap:8px 14px}
.pq footer .mail{flex:0 0 100%}
.pq footer a{font-size:13px;white-space:nowrap}
.pq footer .made{flex:0 0 100%;font-size:13px}
.pilot-bar{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:50;padding:10px 16px calc(10px + env(safe-area-inset-bottom));background:var(--surface);border-top:1px solid var(--line)}
.pq .pilot-bar a{flex:1 1 auto;display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 18px;border-radius:10px;background:var(--btn);color:var(--on-btn);text-decoration:none;font-family:var(--f-mono);font-size:16px}
.pq.has-pilot-bar footer{padding-bottom:calc(70px + env(safe-area-inset-bottom))}
}
