/* Built from app/src/ui/themes.js (blender-dark, blender-light) by site/build.mjs. */
:root{color-scheme:dark; --ground:#303030; --surface:#3d3d3d; --surface2:#545454; --surface3:#545454; --field:#1d1d1d; --line:#3d3d3d; --line-strong:#161616; --ink:#e6e6e6; --ink-dim:#a4a4a4; --accent:#4772b3; --accent-ink:#ffffff; --danger:#d46a60; --ink-bright:#ffffff}
@media (prefers-color-scheme: light){:root:not([data-theme="dark"]){color-scheme:light; --ground:#b3b3b3; --surface:#cccccc; --surface2:#dbdbdb; --surface3:#dbdbdb; --field:#adadad; --line:#4d4d4d; --line-strong:#4d4d4d; --ink:#1a1a1a; --ink-dim:#4c4c4c; --accent:#5680c2; --accent-ink:#ffffff; --danger:#771111; --ink-bright:#000000}}
/* The site's look: the app's default theme, Blender Dark (Frits, 2026-11-16), mostly
   grey with one accent for the main action; Blender Light when the system is light.
   Typeface is the app's, DM Sans, copied from app/src/assets/dm-sans by the build. */
@font-face{font-family:"DM Sans";font-weight:400;font-style:normal;font-display:swap;src:url(/assets/fonts/DMSans-400.woff2) format("woff2")}
@font-face{font-family:"DM Sans";font-weight:600;font-style:normal;font-display:swap;src:url(/assets/fonts/DMSans-600.woff2) format("woff2")}
:root{
  /* Colours are not written here: the build puts the app's default theme, Blender Dark
     (and Blender Light for a light system), in front of this file from the app's own
     theme table (app/src/ui/themes.js), so the site and the app wear the same colours. */
  --gap:8px; --pad:16px; --radius:2px; --control:30px; --col:720px; --wide:1080px;
}
*{box-sizing:border-box}
html,body{margin:0}
body{background:var(--ground);color:var(--ink);font:15px/1.5 "DM Sans","Helvetica Neue",Arial,sans-serif;
  -webkit-font-smoothing:antialiased;min-height:100vh;display:flex;flex-direction:column}
a{color:var(--ink-bright)}
h1,h2{color:var(--ink-bright);font-weight:600;margin:0 0 var(--gap);text-wrap:balance}
h1{font-size:32px;line-height:1.15;letter-spacing:-.01em}
h2{font-size:15px;line-height:1.3}
p{margin:0 0 var(--pad)}
.dim{color:var(--ink-dim)}
.lede{font-size:17px;max-width:60ch}

.bar{display:flex;align-items:center;gap:var(--pad);height:60px;padding:0 var(--pad);
  background:var(--surface);border-bottom:1px solid var(--line-strong)}
.brand{display:flex;align-items:center;gap:var(--gap);text-decoration:none;font-weight:600;color:var(--ink-bright)}
.bar nav{display:flex;gap:2px;flex:1;justify-content:flex-end;min-width:0;overflow-x:auto;scrollbar-width:none}
.brand{color:var(--ink-bright)}
.brand svg{display:block;height:44px;width:auto}
.bar .short{display:none}
.auth{display:flex;align-items:center;gap:var(--gap);flex:none}
.bar .signup{white-space:nowrap;min-width:0;height:28px;padding:0 10px}
.bar nav a,.signin{color:var(--ink);text-decoration:none;padding:4px 8px;border-radius:var(--radius);white-space:nowrap}
.bar nav a:hover,.signin:hover{background:var(--surface3)}
.bar nav a[aria-current="page"]{background:var(--surface3);color:var(--ink-bright)}

main{flex:1;width:100%;max-width:var(--wide);margin:0 auto;padding:48px var(--pad)}
.narrow{max-width:var(--col)}
.hero{padding:24px 0 40px;max-width:820px}
.hero h1{font-size:40px}
.actions{display:flex;gap:var(--gap);flex-wrap:wrap}

.grid3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--gap)}
.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:var(--pad)}
.card p{margin:0}

.btn{display:inline-flex;align-items:center;justify-content:center;height:var(--control);min-width:120px;padding:0 14px;
  background:var(--surface3);color:var(--ink-bright);border:1px solid var(--line-strong);border-radius:var(--radius);
  font:inherit;font-weight:600;text-decoration:none;cursor:pointer}
.btn:hover{filter:brightness(1.12)}
.btn.primary{background:var(--accent);color:var(--accent-ink)}
.btn.quiet{background:var(--surface2);color:var(--ink-dim);cursor:default;filter:none}
.btn.wide{width:100%}
.btn.danger{color:var(--danger)}
.btn:focus-visible,input:focus-visible{outline:2px solid var(--accent);outline-offset:1px}

.stack{display:flex;flex-direction:column;gap:var(--gap);max-width:360px}
.email{display:flex;flex-direction:column;gap:4px;margin:var(--pad) 0 0}
.email label{color:var(--ink-dim);font-size:13px}
input{height:var(--control);background:var(--field);color:var(--ink-bright);border:1px solid var(--line-strong);
  border-radius:var(--radius);padding:0 8px;font:inherit;margin-bottom:4px;width:100%}
.note{min-height:1.5em;color:var(--ink-dim);margin:var(--gap) 0 0}

.downloads{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:var(--gap);max-width:var(--col)}
.dl{display:flex;align-items:center;justify-content:space-between;gap:var(--pad)}
.dl h2,.dl p{margin:0}

.row{margin:0 0 32px}
.tiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--gap);margin-bottom:var(--gap)}
.tile{aspect-ratio:4/3;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius)}

.facts{display:grid;grid-template-columns:max-content minmax(0,1fr);gap:4px var(--pad);margin:0 0 var(--pad)}
.facts dt{color:var(--ink-dim)}
.facts dd{margin:0;color:var(--ink-bright);overflow-wrap:anywhere}
.prose h2{margin-top:24px}
.draft{display:inline-block;background:var(--surface3);color:var(--accent);border:1px solid var(--line-strong);
  border-radius:var(--radius);padding:2px 8px;font-size:13px;font-weight:600}

.foot{background:var(--surface);border-top:1px solid var(--line-strong);padding:var(--pad);color:var(--ink-dim);font-size:13px}
.foot-row{max-width:calc(var(--wide) - 2 * var(--pad));margin:0 auto;display:flex;flex-wrap:wrap;gap:4px var(--pad)}
.foot-row+.foot-row{margin-top:4px}
.foot a{color:var(--ink-dim)}

@media (max-width:720px){
  main{padding:24px var(--pad)}
  .hero h1{font-size:30px}
  h1{font-size:26px}
  .grid3{grid-template-columns:minmax(0,1fr)}
  .tiles{grid-template-columns:repeat(2,minmax(0,1fr))}
  .bar{gap:var(--gap)}
  .brand svg{height:24px}
  .bar .long{display:none}
  .bar .short{display:inline}
  .bar nav a[href="/"]{display:none}
  .bar nav a,.signin{padding:4px 6px}
}

/* Front page (locked design, Frits 2026-11-16): one plain line, then the sign-up, then clips. */
.lead{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin:0 0 40px;padding:0 0 28px;border-bottom:1px solid var(--line)}
.line{font-size:24px;color:var(--ink-bright);margin:6px 0 0}
.notify{display:flex;flex-direction:column;gap:6px;width:380px;max-width:100%}
.notify label{color:var(--ink-bright)}
.notify-row{display:flex;gap:var(--gap)}
.notify-row input{margin:0;height:36px}
.notify-row .btn{height:36px;min-width:120px}
.notify .note{margin:0}
.small{font-size:13px;margin:0}
.clips{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:36px 28px}
.clip{margin:0}
.clip video{width:100%;aspect-ratio:16/10;object-fit:cover;object-position:center top;display:block;background:var(--surface2);border:1px solid var(--line-strong);border-radius:6px}
.clip h2{font-size:18px;margin:12px 0 2px}
.clip p{margin:0}

/* The original plugin's page */
.plugin{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:40px;align-items:start}
.points{margin:0 0 24px;padding-left:18px;display:flex;flex-direction:column;gap:4px}
.plugin .downloads{margin-bottom:var(--pad)}
.shot{width:100%;display:block;border:1px solid var(--line-strong);border-radius:4px}

@media (max-width:720px){
  .lead{flex-direction:column}
  .line{font-size:20px}
  .notify{width:100%}
  .clips,.plugin{grid-template-columns:minmax(0,1fr)}
}
.kicker{margin:0 0 4px;color:var(--ink-dim);font-size:12px;text-transform:uppercase;letter-spacing:.08em}
.legacy-nav{margin:0 0 24px}
.prose ol,.prose ul{padding-left:20px;display:flex;flex-direction:column;gap:4px}
.prose h3{margin:16px 0 4px;font-size:14px}
.prose code{overflow-wrap:anywhere}
.templates{list-style:none;padding:0!important;gap:8px!important}
.templates h2{margin:0}
.templates p{margin:2px 0 6px}
.templates code{display:block;user-select:all}
