/*
  Quib — the public site's brand (quib.video), shared by the static pages in landing/.
  703 (Bob, 2026-11-13): Tim's look — ink headings, ink buttons with cream text, orange accents, the Quib2 logos
  (light + -dark files; no filter), Bricolage Grotesque headings + Geist text, self-hosted from /brand/fonts (OFL).
  Was D207's navy + blue (Peter's mockup 90).
  Light and dark follow the visitor's system through prefers-color-scheme; there is no toggle.
  Each page keeps only its own layout CSS inline. First used by /closer-look/ (D208); the D207
  early-access page moves onto it when it is rebuilt. Served at /brand/* by Caddy's @landing matcher.
*/
@font-face{font-family:"Geist";src:url(/brand/fonts/geist-latin-wght-normal.woff2) format("woff2");font-weight:100 900;font-display:swap}
@font-face{font-family:"Bricolage Grotesque";src:url(/brand/fonts/bricolage-grotesque-latin-wght-normal.woff2) format("woff2");font-weight:200 800;font-display:swap}
:root{
  --background:#FFFFFF; --foreground:#1C1B1A; --card:#FFFFFF;
  --navy:#1C1B1A; --primary:#201B16; --primary-hover:#3A322B; --primary-foreground:#FFFAF2; --ring:#EE7A30;
  --muted:#F4F3F1; --muted-foreground:#67635E;
  --accent:#FDEBDD; --accent-foreground:#925025; --orange:#EE7A30; --on-orange:#1E1A16;
  --destructive:oklch(0.6290 0.1902 23.07); --border:#E9E7E4; --sidebar:#F3F2F1; --ok:oklch(0.55 0.15 155);
  --radius:.5rem; --maxw:1120px;
  --heading:"Bricolage Grotesque","Geist",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  --sans:"Geist",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  --shadow:0 8px 24px -8px rgb(60 40 20/.14),0 2px 6px -2px rgb(60 40 20/.06);
  --video:linear-gradient(135deg,#241E19,#9C4312);
  color-scheme:light dark;
}
@media (prefers-color-scheme:dark){
  :root{
    --background:#121110; --foreground:#F4EEE6; --card:#222120;
    --navy:#F4EEE6; --primary:#FBF3E8; --primary-hover:#FFFFFF; --primary-foreground:#1E1A16; --ring:#EE7A30;
    --muted:#2A2826; --muted-foreground:#A8A29A;
    --accent:#3A2A1E; --accent-foreground:#F2B98F;
    --destructive:oklch(0.7106 0.1661 22.2162); --border:#34312E;
    --sidebar:#1A1918; --ok:oklch(0.75 0.15 155);
    --shadow:0 8px 24px -8px rgb(0 0 0/.5);
  }
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--background);color:var(--foreground);font:16px/1.6 var(--sans);-webkit-font-smoothing:antialiased}
h1,h2,h3{font-family:var(--heading);letter-spacing:-.02em;margin:0;line-height:1.15;color:var(--navy)}
h2{font-size:clamp(26px,3.4vw,36px);font-weight:800;margin-top:8px}
a{color:inherit}
svg.i{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex:none}
svg.s{width:16px;height:16px}
.wrap{max-width:var(--maxw);margin:0 auto;padding:0 24px}
:focus-visible{outline:2px solid var(--ring);outline-offset:2px;border-radius:6px}

/* logos: the Quib2 files, each a <picture> with its -dark file for a dark system (no filter) */
.logo-img{display:block;width:auto}
.tool-logo{height:24px;width:auto;display:block}
/* 842 (Bob 2026-11-21, "A: Tim's logo + text"): a product is Tim's lockup + its name as text — no logo we drew */
.tool-brand{display:inline-flex;align-items:center;gap:calc(var(--h,24px)*.025);height:var(--h,24px);color:#000}
.tool-brand picture{display:block;height:100%}
.tool-brand img{height:100%;width:auto;display:block}
.tool-brand>span{font-family:"Geist",var(--sans);font-weight:300;font-size:calc(var(--h,24px)*.775);line-height:1;letter-spacing:-.01em;white-space:nowrap}
@media (prefers-color-scheme:dark){.tool-brand{color:#fff}}

/* buttons: ink primary + outline, one name for one action */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:0 18px;border-radius:12px;font:600 15px/1 var(--sans);text-decoration:none;border:1px solid transparent;cursor:pointer;white-space:nowrap}
.btn-p{background:var(--primary);color:var(--primary-foreground)}
.btn-p:hover{background:var(--primary-hover)}
.btn-o{background:var(--card);border-color:var(--border);color:var(--navy)}
.btn-o:hover{background:var(--muted)}
.btn-sm{min-height:40px;padding:0 14px;font-size:14px}
.btn-lg{min-height:52px;padding:0 26px;font-size:16px}

/* links: Sign in in the top bar, and an inline link in text */
.signin{font-size:15px;font-weight:600;color:var(--foreground);text-decoration:none;padding:10px 12px;border-radius:var(--radius)}
.signin:hover{background:var(--muted);text-decoration:underline}
a.inl{color:var(--accent-foreground);font-weight:600}

/* top bar */
header.nav{position:sticky;top:0;z-index:20;background:color-mix(in oklch,var(--background) 85%,transparent);backdrop-filter:blur(10px);border-bottom:1px solid var(--border)}
.nav-in{display:flex;align-items:center;gap:8px;height:64px}
.nav .sp{flex:1}

/* hero */
.hero{text-align:center}
.pill{display:inline-flex;align-items:center;gap:8px;font-size:13px;font-weight:700;letter-spacing:.02em;color:var(--accent-foreground);background:var(--accent);border:1px solid rgb(238 122 48/.35);padding:6px 14px;border-radius:999px}
.hero h1{margin-top:20px;font-weight:800;letter-spacing:-.03em;line-height:1.04;font-size:clamp(38px,6vw,62px)}
.lede{max-width:720px;margin:18px auto 0;font-size:19px;color:var(--muted-foreground);text-wrap:balance}
.cta{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;margin-top:28px}

/* sections */
section.block{padding:72px 0}
.soft{background:var(--sidebar);border-block:1px solid var(--border)}
.sub{color:var(--muted-foreground);font-size:17px;margin:12px 0 0;max-width:640px}
.center{text-align:center}.center .sub{margin-inline:auto}
.ic{width:40px;height:40px;border-radius:10px;background:var(--accent);color:var(--accent-foreground);display:grid;place-items:center}
.after{text-align:center;margin:18px 0 0;font-size:15px}

/* the AI promise band: Tim's ink, the same in light and dark */
.aiband{background:#201B16;border:0}
.aiband h2{color:#fff}
.aiband .sub{color:#c9d6ef}

/* footer */
footer{border-top:1px solid var(--border);padding:40px 0;color:var(--muted-foreground);font-size:14px}
.foot{display:flex;justify-content:space-between;gap:24px;flex-wrap:wrap;align-items:flex-start}
.foot nav{display:flex;flex-wrap:wrap;gap:6px 20px}
.foot a{text-decoration:none}
.foot a:hover{color:var(--foreground);text-decoration:underline}
.legal{margin-top:20px;display:flex;justify-content:space-between;gap:8px 24px;flex-wrap:wrap;font-size:13px}
.tagline{margin:12px 0 0;font-size:12px;font-weight:700;letter-spacing:.12em;color:var(--navy)}
.tagline span{display:block;font-weight:500;letter-spacing:0;font-size:14px;color:var(--muted-foreground);margin-top:2px}

@media(max-width:560px){
  .wrap{padding:0 16px}
  .lede{font-size:17px}
  .nav .btn-sm{padding:0 12px}
  .signin{padding:10px 8px}
  .br{display:none}
}
