/* Docquet landing page, round 2 (25 nov 2026). Loaded after docquet-landing.css, which stays byte-identical.
   Hero, stage, video, poster and the fade to white are not touched here. */

/* Tokens: light default, dark via docquet-theme (data-theme) or the system. */
:root{--bg:#fff;--fg:#0b0d10;--fg-2:#555a61;--line:#e1e4e8;--slot:#fafbfc}
:root[data-theme=dark]{--bg:#0b0d10;--fg:#fff;--fg-2:#d2d4d7;--line:#ffffff25;--slot:transparent}
@media(prefers-color-scheme:dark){:root:not([data-theme]){--bg:#0b0d10;--fg:#fff;--fg-2:#d2d4d7;--line:#ffffff25;--slot:transparent}}

/* 5. Inter really loaded (Google Fonts, see <head>); radius 0; one accent. */
body{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-optical-sizing:auto}
.button{border-radius:0;color:#fff}
.menu-cta{background:var(--accent)}.menu-cta:hover{background:#235ae0}
.site-menu{background:var(--ink)}
a:focus-visible,button:focus-visible{outline:2px solid var(--accent);outline-offset:4px}
.skip-link{position:absolute;left:16px;top:-100px;z-index:50;background:var(--accent);color:#fff;padding:12px 16px;font-size:14px;text-decoration:none}
.skip-link:focus{top:16px}
.content:focus{outline:none}

/* 1. Whole page follows the theme. Logo tiles in .connect stay white (live rule). */
.content{background:var(--bg);color:var(--fg)}
:root[data-theme=dark] .content{color-scheme:dark}
:root[data-theme=dark] .past-hero .site-toolbar{background:var(--ink);color:#fff}
:root[data-theme=dark] .past-hero .hero-logo{filter:brightness(0) invert(1)}
:root[data-theme=dark] .closing{border-top:1px solid var(--line)}

/* r2: headings are whole sentences, sizes differ per section so the page has one lead. */
.demo h2,.approve h2{margin:0;font-weight:350;text-wrap:balance}
.demo p,.approve p{color:var(--fg-2);font-size:18px;line-height:1.7;text-wrap:pretty}

/* Demo: the main section. Wide heading, one short line, then the product image. */
.demo{padding:120px 6.25% 120px}
.demo-inner,.approve-inner,.connect-inner{max-width:1320px;margin:auto}
.demo h2{max-width:16ch;font-size:clamp(40px,5vw,76px);line-height:1.05;letter-spacing:-.045em}
.demo h2+p{margin:28px 0 0;max-width:520px}
.shot-slot{margin:72px 0 0}
/* Placeholder for the real screenshot: dashed so it never reads as product UI. */
.shot-frame{aspect-ratio:16/10;border:1px dashed var(--fg-2);background:var(--slot);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:32px;text-align:center}
.shot-frame p{margin:0;max-width:36ch;color:var(--fg-2);font-size:16px;line-height:1.5}
.demo .shot-frame .shot-size{font-size:13px}

/* Approve: smaller voice, image left, prose right. */
.approve{padding:40px 6.25% 120px}
.approve-inner{display:grid;grid-template-columns:5fr 6fr;gap:8%;align-items:center}
.approve .warehouse{max-width:none;margin:0}
.approve h2{font-size:clamp(30px,3vw,46px);line-height:1.15;letter-spacing:-.04em;max-width:20ch}
.approve-text>p{margin:24px 0 0;max-width:520px}
.approve .approve-rule{margin-top:28px;font-size:18px;color:var(--fg);font-weight:450}
.approve .quiet-link{gap:0;border-bottom-color:var(--accent);margin-top:20px}
.approve .quiet-link span{color:var(--fg)}

/* Integrations: one modest line and a slow logo strip moving left to right. */
.connect{padding:48px 0 72px}
.connect-inner{padding:0 6.25%}
.connect-head{display:flex;justify-content:space-between;align-items:center;gap:24px}
.connect-line{margin:0;font-size:17px;line-height:1.5;color:var(--fg-2)}
:root[data-theme=dark] .connect-line{color:#d2d4d7}
.marquee-toggle{border:0;background:none;padding:0 2px;min-height:44px;font:inherit;font-size:13px;color:var(--fg-2);text-decoration:underline;text-underline-offset:4px;cursor:pointer;flex:none}
:root[data-theme=dark] .marquee-toggle{color:#d2d4d7}
.logo-marquee{overflow:hidden;margin-top:20px}
.logo-marquee:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}
.logo-run{display:flex;width:max-content;animation:logos-right 90s linear infinite}
.logo-list{display:flex;gap:16px;margin:0;padding:0 16px 0 0;list-style:none}
.logo-tile{flex:none;width:136px;height:72px;display:flex;align-items:center;justify-content:center;background:#fff;border:1px solid #e1e4e8}
.logo-tile img{display:block;width:72px;height:32px;object-fit:contain;filter:grayscale(1) brightness(.75) contrast(1.4);opacity:.85}
.logo-marquee:hover .logo-run,.logo-marquee:focus-within .logo-run,.logo-marquee:focus .logo-run,.logo-marquee.is-paused .logo-run{animation-play-state:paused}
/* A logo that fails to load leaves the plain white tile (see docquet-landing.js). */
.logo-tile img.is-missing{visibility:hidden}
.logo-tile img[src*="sage"],.logo-tile img[src*="odoo"]{filter:grayscale(1) brightness(.4) contrast(1.4)}
@keyframes logos-right{from{transform:translateX(-50%)}to{transform:translateX(0)}}
@media(prefers-reduced-motion:reduce){
.logo-run{animation:none;width:auto;padding:0 6.25%}
.logo-list{flex-wrap:wrap;padding:0}
.logo-list[aria-hidden]{display:none}
.marquee-toggle{display:none}
}

/* Closing: a plain question instead of a slogan. */
.closing h2{max-width:20ch}

@media(max-width:767px){
.demo{padding:64px 7% 64px}
.demo h2{font-size:38px}
.approve h2{font-size:28px}
.demo p,.approve p{font-size:16px}
.shot-slot{margin-top:40px}
.shot-frame{padding:20px}
.shot-frame p{font-size:14px}
.approve{padding:16px 7% 64px}
.approve-inner{grid-template-columns:1fr;gap:32px}
.connect{padding:40px 0 56px}
.connect-inner{padding:0 7%}
.connect-head{flex-direction:column;align-items:flex-start;gap:4px}
.logo-tile{width:112px;height:60px}
.logo-tile img{width:60px;height:28px}
@media(prefers-reduced-motion:reduce){.logo-run{padding:0 7%}}
}
