/* The samples site's look: the launcher's (launcher/site/launcher.css), with a line on each card saying what to try.
   DM Sans, deep royal purple for structure, warm gold for emphasis, white page, #F2EFFA as the only tint. */
:root{
  color-scheme:light;
  --purple:#21076C; --gold:#D8B664; --ink:#1A1A1A; --muted:#555555;
  --tint:#F2EFFA; --line:#C8BEE8; --line-2:#E6E1F5; --bg:#FFFFFF; --focus:#1C64F2; --r:16px;
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--ink);font:16px/1.5 "DM Sans",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;display:flex;flex-direction:column;min-height:100vh}
main{flex:1 0 auto;width:100%}
:focus-visible{outline:3px solid var(--focus);outline-offset:2px}
.wrap{max-width:1080px;margin:0 auto;padding:0 16px}
h1,h2{color:var(--purple);margin:0;line-height:1.2}

/* ---- top bar and footer: as on the AI Lessons site ---- */
.top{background:var(--purple);color:#fff}
.top .wrap{display:flex;align-items:center;min-height:64px}
.brand{display:flex;align-items:center;gap:12px;color:#fff;text-decoration:none}
.brand img{display:block}
.brand .lockup{height:40px;width:auto}
.brand .mono{display:none;height:34px;width:34px}
.brand .product{font-weight:700;font-size:16px;letter-spacing:.01em;padding-inline-start:12px;border-inline-start:1px solid rgba(255,255,255,.35);white-space:nowrap}
@media (max-width:640px){.brand .lockup{display:none}.brand .mono{display:block}}
footer.site{background:var(--purple);color:#fff;margin-top:48px}
footer.site .wrap{display:flex;align-items:center;gap:18px;padding-top:22px;padding-bottom:26px}
footer.site img{width:64px;height:64px;flex:none}
footer.site b{display:block;font-size:15px}
footer.site span{display:block;font-size:13.5px;opacity:.85}

/* ---- the page ---- */
.intro{margin:36px 0 26px;max-width:66ch}
.eyebrow{display:inline-flex;align-items:center;gap:8px;margin:0;font-size:12px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}
.eyebrow::before{content:"";width:18px;height:4px;border-radius:2px;background:var(--gold)}
.intro h1{font-size:clamp(28px,4.2vw,38px);margin:8px 0 10px}
.intro p:last-child{margin:0;color:var(--muted);font-size:16.5px}

/* ---- tool cards: the whole card is the link (the title's link covers it), and shows the focus ring ---- */
.tools{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr));gap:16px}
.tool{position:relative;display:flex;flex-direction:column;gap:6px;min-width:0;background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:20px 22px 18px;transition:border-color .15s,box-shadow .15s,transform .15s}
.tool::before{content:"";position:absolute;inset-inline-start:-1px;top:18px;bottom:18px;width:4px;border-radius:0 4px 4px 0;background:var(--gold);opacity:0;transition:opacity .15s}
.tool:hover{border-color:var(--purple);box-shadow:0 8px 22px rgba(33,7,108,.10);transform:translateY(-2px)}
.tool:hover::before,.tool:focus-within::before{opacity:1}
.tool:focus-within{outline:3px solid var(--focus);outline-offset:2px}
.tool h2{font-size:20px}
.tool h2 a{color:inherit;text-decoration:none}
.tool h2 a::after{content:"";position:absolute;inset:0;border-radius:inherit}
.tool h2 a:focus-visible{outline:none}
.ico{width:44px;height:44px;border-radius:12px;background:var(--tint);color:var(--purple);display:grid;place-items:center;margin-bottom:8px}
.ico svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.kind{font-size:12px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}
.tool p{margin:0;color:var(--muted);font-size:15px;flex:1 0 auto}
.tags{list-style:none;margin:10px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:6px}
.tags li{font-size:12.5px;font-weight:600;color:var(--purple);background:var(--tint);border-radius:999px;padding:3px 10px}
.go{margin-top:12px;font-weight:700;color:var(--purple);font-size:15px}
.go i{font-style:normal;display:inline-block;transition:transform .15s}
.tool:hover .go i{transform:translateX(3px)}
.tool.soon{border-style:dashed;background:#fff}
.tool.soon:hover{border-color:var(--line);box-shadow:none;transform:none}
.tool.soon:hover::before{opacity:0}
.tool.soon .go{color:var(--muted);font-weight:600}
@media (prefers-reduced-motion:reduce){.tool,.tool::before,.go i{transition:none}.tool:hover{transform:none}.tool:hover .go i{transform:none}}

/* ---- the samples' additions ---- */
.intro p{margin:0 0 10px;color:var(--muted);font-size:16.5px}
.intro p.by{margin:14px 0 0;color:var(--purple);font-weight:700;font-size:15px}
.intro p a{color:var(--purple);font-weight:700}
.tool p.try{flex:0 0 auto;margin-top:6px;font-size:14px;color:var(--ink)}
.tool p.try b{color:var(--purple)}
