/* Project 01 (Overthink): pieces shared by the three first-screen directions.
   The page is Expanza's (site.css tokens). Anything that belongs to Overthought & Co. (its tools, its records)
   wears the company's own type, Instrument Sans, so the two voices never blur. */
:root{--co:'Instrument Sans',system-ui,sans-serif;--sand:#FEE56E;--sky:#B9DEF9}

/* the one action: a copyable start command beside GitHub */
.go{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.cmd{display:inline-flex;align-items:center;gap:14px;height:50px;padding:0 10px 0 20px;border-radius:99px;background:var(--card);box-shadow:inset 0 0 0 1.5px var(--rule);font:500 15.5px/1 var(--mono);color:var(--ink);cursor:pointer;border:0;transition:box-shadow .2s,background .2s}
.cmd:hover{box-shadow:inset 0 0 0 1.5px var(--ink)}
.cmd .d{color:var(--ink-2)}
.cmd .c{width:32px;height:32px;border-radius:99px;display:grid;place-items:center;background:var(--tint);transition:background .2s}
.cmd .c svg{width:16px;height:16px}
.cmd.done .c{background:var(--spark);color:#1a0d06}
.night .cmd,.cmd.dark{background:rgba(234,240,250,.08);color:var(--on-night);box-shadow:inset 0 0 0 1.5px var(--night-rule)}
.night .cmd .d,.cmd.dark .d{color:var(--on-night-2)}
.night .cmd .c,.cmd.dark .c{background:rgba(234,240,250,.12)}
.night .cmd:hover,.cmd.dark:hover{box-shadow:inset 0 0 0 1.5px var(--on-night-2)}
.pill.gh{height:50px;padding:0 22px}
.pill.gh svg{width:18px;height:18px}

/* app glyphs (the company's tools), drawn from the Overthought icon set */
.gl{width:26px;height:26px;border-radius:7px;background:#fff;box-shadow:inset 0 0 0 1px #E1E3E8;display:grid;place-items:center;color:#17181A;flex:none}
.gl svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round}

/* a record inside one of the company's tools: a crop of the real app, not a generic card */
.rec{font:400 14px/1.45 var(--co);color:#17181A;background:#fff;border-radius:14px;box-shadow:0 1px 1px rgba(10,18,38,.06),0 18px 40px -14px rgba(10,18,38,.35);overflow:hidden;width:340px;max-width:100%;text-align:left}
.rec .rh{display:flex;align-items:center;gap:9px;padding:10px 14px;border-bottom:1px solid #ECEEF1;font-size:12.5px;color:#5C5F66}
.rec .rh b{color:#17181A;font-weight:600;font-size:13px}
.rec .rh time{margin-left:auto}
.rec .rb{padding:13px 15px 15px}
.rec .who{display:flex;align-items:center;gap:10px;margin-bottom:8px}
.rec .av{width:34px;height:34px;border-radius:99px;background:#E3E6EB;display:grid;place-items:center;font:600 12px/1 var(--co);color:#3B3E45;flex:none}
.rec .av.co{background:#17181A;color:#fff}
.rec .av.co svg{width:18px;height:18px}
.rec .nm{font-weight:600;font-size:14px;line-height:1.2}
.rec .hd{color:#5C5F66;font-size:12.5px}
.rec p{margin:0;font-size:14.5px;line-height:1.45;text-wrap:pretty}
.rec .at{color:#0F6A8F}
.rec .stars{display:flex;gap:2px;margin:2px 0 8px}
.rec .stars i{width:15px;height:15px;background:#D9DCE1;clip-path:polygon(50% 0,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%)}
.rec .stars i.on{background:#17181A}
.rec .meta{display:flex;gap:18px;margin-top:10px;color:#5C5F66;font-size:12.5px}
.rec .meta span{display:inline-flex;gap:6px;align-items:center}
.rec .meta svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.7}
.rec .ch{font-weight:600;color:#17181A}
.rec .pill2{display:inline-flex;height:22px;align-items:center;padding:0 9px;border-radius:99px;font-size:11.5px;font-weight:600;background:#E1F3E8;color:#1F7A4D}
.rec .pill2.bad{background:#FBE6E3;color:#B4261A}
.rec .ord{display:inline-flex;align-items:center;gap:6px;margin-top:10px;height:26px;padding:0 10px;border-radius:7px;box-shadow:inset 0 0 0 1px #E4E7EC;font-size:12px;font-weight:500}
.rec .msgs{display:flex;flex-direction:column;gap:10px}
.rec .m{display:grid;grid-template-columns:30px minmax(0,1fr);gap:0 10px}
.rec .m .av{width:30px;height:30px;font-size:11px}
.rec .m .nm{font-size:13.5px} .rec .m .nm time{font-weight:400;color:#8A8E97;font-size:12px;margin-left:6px}
.rec .m p{font-size:14px}

/* the live tool in a frame */
.live{position:relative;border-radius:16px;overflow:hidden;background:#F3F5F8;box-shadow:0 2px 2px rgba(10,18,38,.05),0 40px 80px -30px rgba(10,18,38,.5),0 0 0 1px rgba(10,18,38,.08)}
.live iframe{display:block;width:100%;height:100%;border:0}

/* product tiles: each object on its own colour ground */
.goods{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(10px,1.4vw,18px)}
.good{display:block;text-decoration:none;color:var(--ink)}
.good figure{border-radius:12px;overflow:hidden;aspect-ratio:4/3;background:var(--tint)}
.good img{width:100%;height:100%;object-fit:cover;transition:transform .8s var(--ease)}
.good:hover img{transform:scale(1.04)}
.good p{display:flex;justify-content:space-between;gap:10px;margin-top:10px;font:500 15.5px/1.3 var(--co)}
.good p span{color:var(--ink-2);font-weight:400}

.cap2{margin-top:14px;font-size:14.5px;color:var(--ink-2);display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap}
.cap2 a{color:var(--ink);font-weight:500}

@media (max-width:860px){.goods{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:700px){
  .top nav a:not(.pill){display:none}
  .cmd{height:46px;font-size:14.5px}
  .pill.gh{height:46px}
}

/* cut-out objects keep their shape at any width */
.obj,.phone,.sand{height:auto!important}
