:root{
  --sky:#1D1D1D; --sky-deep:#3A3A3A; --paper:#282828; --raised:#303030; --line:#3D3D3D;
  --ink:#E6E6E6; --ink-soft:#A8A8A8;
  --clay:#4772B3; --clay-dark:#2E4F82; --acorn:#FFA032; --blush:#E98A6B;
  --radius-lg:28px; --radius-sm:10px;
  --measure:62ch;
  --display:"Instrument Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --body:"Instrument Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
*{box-sizing:border-box}
/* overflow-x clip: the truck's canvas reaches past its stage (truck.js PAD), sometimes past the
   window's edge; this keeps the page from scrolling sideways. Clip, unlike hidden, adds no
   scrolling box, so the sticky header still sticks */
html{scroll-behavior:smooth;overflow-x:clip}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
body{margin:0;background:var(--sky);color:var(--ink);font:400 1.125rem/1.55 var(--body);-webkit-font-smoothing:antialiased;overflow-x:clip}
img,iframe{max-width:100%;display:block}
a{color:#7FA6E0;text-underline-offset:.18em}
a:hover{color:var(--ink)}
:focus-visible{outline:3px solid var(--acorn);outline-offset:3px;border-radius:6px}
.wrap{width:min(1120px,100% - 2rem);margin-inline:auto}

/* header: it stays at the top as the page scrolls, so Support is always there.
   On a phone or tablet the wordmark scrolls away and the row of links stays (top < 0).
   --head-stuck is the height left on screen, which anchors scroll clear of.
   The border-image paints the bar's background out to both edges of the window
   without widening the page; a line under it fades in once the page scrolls. */
:root{--head-stuck:calc(var(--ring-d) + 12px)}
html{scroll-padding-top:calc(var(--head-stuck) + .5rem)}
@property --head-edge{syntax:"<color>";inherits:false;initial-value:#3D3D3D}
/* the logo's ring, the tallest thing in it, with 6px to spare above and below (see below) */
.site-head{position:sticky;top:0;z-index:20;--head-edge:var(--line);border-image:linear-gradient(to top,var(--head-edge) 1px,var(--sky) 1px) fill 0//0 100vmax;display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:6px 0}
@supports (animation-timeline:scroll()){
  .site-head{animation:head-edge linear both;animation-timeline:scroll();animation-range:0 3rem}
  @keyframes head-edge{from{--head-edge:var(--sky)}}
}
.wordmark{font:800 1.5rem/1 var(--display);letter-spacing:-.02em;color:var(--ink);text-decoration:none;display:flex;align-items:center;gap:var(--logo-gap)}
.wordmark img{height:var(--mark-h);width:auto;display:block}
/* The logo - the helmet in its orange ring (Greg's own, brand/spacesquirrel_logo_ring.png) - then the
   name. Greg, 22 November 2026, after trying it over the wordmark's left line: "the tail just doesn't
   look very good ... Let's get rid of the tail and move the wordmark closer to the circle to match the
   spacing between the L and the end of the center line".
   The header's wordmark is a copy without that line (brand/spacesquirrel_wordmark_white_terra_no_left_dash.svg),
   its viewBox starting at x 10, just left of the S (x 11.31 at its foot, after the italic slant).
   Sizes are in wordmark heights (--mark-h), so a phone's smaller wordmark scales them too:
   - --ring-d, the ring's diameter (the image is the ring's box).
   - --logo-gap: in the wordmark, the L reaches x 1263.44 and the line starts at 1284.95, 21.51 units
     apart (of the 127 the wordmark is tall). The ring's edge to the S's foot is the gap plus the 1.31
     units before the S, so the gap is 20.2 units. */
:root{--mark-h:30px;--ring-d:calc(var(--mark-h) * 2.33);--logo-gap:calc(var(--mark-h) * 20.2 / 127)}
.wordmark img.logo{order:-1;flex:none;width:var(--ring-d);height:var(--ring-d)}
.site-nav{display:flex;gap:1.4rem;flex-wrap:wrap}
@media (max-width:860px){
  /* --mark-w: the whole logo and name, ring to star, which is 15.12 wordmark heights
     (2.33 ring + .159 gap + 1604 / 127 name) */
  :root{--head-stuck:3.4rem;--mark-w:min(100vw - 2rem,340px);--mark-h:calc(var(--mark-w) / 15.12)}
  /* the logo and name scroll away here (their row is the ring's height), the row of links staying */
  .site-head{flex-direction:column;align-items:flex-start;gap:.9rem;padding:1.25rem 0 .75rem;top:calc(-1.4rem - var(--ring-d))}
  .site-nav{gap:.35rem 1rem;font-size:1rem}
}
@media (max-width:360px){.site-nav{gap:.35rem .6rem}.site-head .site-nav .product-link img{height:26px}}
.site-nav a{color:var(--ink);text-decoration:none;font-weight:700}
.site-nav a:hover,.site-nav a[aria-current]{text-decoration:underline;text-decoration-thickness:3px;text-decoration-color:var(--acorn)}

/* type */
h1,h2,h3{font-family:var(--display);line-height:1.05;letter-spacing:-.03em;margin:0 0 .5em}
h1{font-size:clamp(2.75rem,7vw,5.25rem);font-weight:700}
h2{font-size:clamp(2rem,4vw,3rem);font-weight:700}
h3{font-size:1.4rem;font-weight:700;letter-spacing:-.01em}
p{margin:0 0 1em;max-width:var(--measure)}
.lede{font-size:1.3rem;color:var(--ink-soft)}

/* buttons */
.actions{display:flex;flex-wrap:wrap;gap:.8rem;margin-top:1.6rem}
.btn{display:inline-block;font:600 1.05rem/1 var(--body);padding:1rem 1.4rem;border-radius:999px;text-decoration:none;border:2px solid var(--line)}
.btn-main{background:var(--clay);color:#fff;border-color:var(--clay);box-shadow:0 5px 0 var(--clay-dark)}
.btn-main:hover{color:#fff;transform:translateY(2px);box-shadow:0 3px 0 var(--clay-dark)}
.btn-pro{background:var(--acorn);color:#1D1D1D;border-color:var(--acorn);box-shadow:0 5px 0 #B86E14}
.btn-pro:hover{color:#1D1D1D;transform:translateY(2px);box-shadow:0 3px 0 #B86E14}
.btn-quiet{color:var(--ink);background:transparent}
.btn-quiet:hover{background:var(--raised);border-color:#555}
@media (prefers-reduced-motion:reduce){.btn-main:hover,.btn-pro:hover{transform:none}}

/* hero */
.hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:2rem;padding:3rem 0 4.5rem}
.hero p.lede{max-width:44ch}
/* the truck (truck.js): a poster until the layers are in, then the canvas, its Kneady buttons over it.
   The canvas and buttons reach 20% past the stage all round (truck.js PAD), so a stretched or leaning
   truck isn't cut off; they take no clicks there, so the text beside them stays clickable. */
/* --truck-zoom: how large the truck and its disk are drawn in their space on the page, about its
   middle (1 fills the space as rendered); the page's layout stays as it is. The canvas reaches 20%
   past the space on every side, for the headlights' beams and the disk */
.truck-stage{--truck-zoom:1.15;position:relative;aspect-ratio:5/4;width:100%;justify-self:center;touch-action:none;margin-bottom:2.6rem}
.truck-stage canvas,.truck-stage svg{position:absolute;left:calc(50% - 70% * var(--truck-zoom));top:calc(50% - 70% * var(--truck-zoom));width:calc(140% * var(--truck-zoom));height:calc(140% * var(--truck-zoom));pointer-events:none}
.truck-poster{position:absolute;left:calc(50% - 50% * var(--truck-zoom));top:calc(50% - 50% * var(--truck-zoom));width:calc(100% * var(--truck-zoom));height:calc(100% * var(--truck-zoom))}
.truck-stage canvas{opacity:0}
.truck-stage.is-ready canvas{opacity:1}
.truck-stage.is-ready .truck-poster{visibility:hidden}
.truck-stage svg{overflow:visible;font-family:var(--body)}
.truck-stage.is-active{cursor:grab}
.truck-stage.on-button{cursor:pointer}
.truck-stage.is-dragging{cursor:grabbing}
.truck-stage[data-axis="x"]{cursor:ew-resize}
.truck-stage[data-axis="y"]{cursor:ns-resize}
.stage-hint{position:absolute;left:50%;top:100%;margin-top:.4rem;transform:translateX(-50%);font:600 .95rem/1.3 var(--body);color:var(--ink-soft);background:var(--raised);padding:.5rem .9rem;border-radius:999px;pointer-events:none;text-align:center;width:max-content;max-width:92%}
@media (max-width:820px){.hero{grid-template-columns:1fr;padding-top:1.5rem}}

/* sections */
section{padding:4rem 0}
.band{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius-lg);padding:clamp(1.5rem,4vw,3.5rem)}
.video{aspect-ratio:16/9;width:100%;border:0;border-radius:var(--radius-sm);background:#141414}
.does{display:grid;grid-template-columns:repeat(3,1fr);gap:2rem;margin-top:2.5rem}
.does p{font-size:1.05rem;color:var(--ink-soft)}
.does h3::before{content:"";display:block;width:2.2rem;height:.45rem;border-radius:99px;background:var(--acorn);margin-bottom:.8rem}
@media (max-width:820px){.does{grid-template-columns:1fr;gap:1.2rem}}

.split{display:grid;grid-template-columns:1fr 1fr;gap:2.5rem;align-items:start}
@media (max-width:820px){.split{grid-template-columns:1fr}}

/* free vs pro */
.tiers{display:grid;grid-template-columns:1fr 1fr;gap:1.25rem;margin-top:2rem}
.tier{border:2px solid var(--line);border-radius:var(--radius-lg);padding:1.75rem;background:var(--paper);display:flex;flex-direction:column;align-items:flex-start}
.tier .btn{margin-top:auto}
.tier-pro{background:#232A36;border-color:var(--clay)}
.tier-pro a{color:var(--acorn)}
.tier h3{font-size:2rem;margin-bottom:.2em}
.tier .price{font-weight:700;margin-bottom:1rem}
.tier ul{margin:0 0 1.25rem;padding-left:1.1rem}
.tier li{margin:.35rem 0}
.tier-pro .btn-main{background:var(--acorn);border-color:var(--acorn);color:#1D1D1D;box-shadow:0 5px 0 #B86E14}
.tier-pro .btn-main:hover{color:#1D1D1D;box-shadow:0 3px 0 #B86E14}
.fineprint{font-size:.95rem;color:var(--ink-soft);margin-top:1rem}
@media (max-width:820px){.tiers{grid-template-columns:1fr}}

/* about */
.about{max-width:44rem}
.portrait{width:120px;height:120px;border-radius:50%;background:var(--sky-deep);display:grid;place-items:center;font:700 2.6rem/1 var(--display);color:var(--ink)}

/* signup */
.signup form{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:1.25rem}
.signup label{position:absolute;left:-9999px}
.signup input[type=email]{flex:1 1 260px;font:inherit;padding:.95rem 1.2rem;border-radius:999px;border:2px solid var(--line);background:#161616;color:var(--ink)}
.signup input[type=email]::placeholder{color:#777}
.signup button{cursor:pointer}

/* support page */
.checklist{padding-left:1.2rem}
.checklist li{margin:.4rem 0}
.steps{padding-left:1.4rem}
.steps li{margin:.5rem 0;padding-left:.3rem}
kbd{font:700 .9em var(--body);background:var(--raised);border:1px solid #555;border-bottom-width:3px;border-radius:6px;padding:.05em .4em}

/* footer */
.site-foot{padding:3rem 0 4rem;display:flex;flex-wrap:wrap;justify-content:space-between;gap:1rem;color:var(--ink-soft);font-size:1rem}
.site-foot nav{display:flex;gap:1.2rem;flex-wrap:wrap}
.site-foot a{color:var(--ink-soft)}
.about-links a{color:var(--ink);text-underline-offset:3px}.about-links a:hover{color:#fff}
.product-logo{display:block;width:min(100%,340px);height:auto;margin:0 0 1.75rem}
.site-nav{align-items:center}
.site-nav .product-link img{display:block;height:30px;width:auto;transition:transform .15s}
.site-nav .product-link:hover{text-decoration:none}
.site-nav .product-link:hover img{transform:translateY(-1px) rotate(-2deg)}

/* docs (made by tools/build_docs.py) */
.skip{position:absolute;left:-9999px;top:0;background:var(--acorn);color:#1D1D1D;padding:.6rem 1rem;border-radius:0 0 var(--radius-sm) 0;font-weight:700;z-index:30}
.skip:focus{left:0}
.crumbs{font-size:.95rem;color:var(--ink-soft);padding:.25rem 0 0}
.crumbs a{color:var(--ink-soft)}
.crumbs [aria-current]{color:var(--ink)}
.docs main{padding-bottom:2rem}
.doc-head{padding:2.5rem 0 1.5rem;max-width:52rem}
.docs h1{font-size:clamp(2.3rem,5.5vw,3.75rem)}
.docs .lede{max-width:52ch}
.kicker{font:700 .8rem/1.2 var(--body);letter-spacing:.08em;text-transform:uppercase;color:var(--acorn);margin:0 0 .6rem}
.edition,.in-blender{font-size:1rem;color:var(--ink-soft)}
.badge-pro{display:inline-block;font:700 .72rem/1 var(--body);letter-spacing:.06em;text-transform:uppercase;color:#1D1D1D;background:var(--acorn);border-radius:999px;padding:.3em .6em;vertical-align:.12em}
.pro-only{border-left:3px solid var(--acorn);padding-left:.9rem}

/* docs index */
.doc-index{display:grid;gap:2.5rem}
.doc-index h2{font-size:clamp(1.6rem,3vw,2.2rem)}
.doc-index h2 a{color:var(--ink);text-decoration-color:var(--acorn);text-decoration-thickness:3px}
.guide-list{columns:2 16rem;gap:2rem;padding-left:1.4rem;margin:0}
.guide-list li{margin:0 0 .45rem;break-inside:avoid}
.tut-list{list-style:none;margin:1.25rem 0 0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,21rem),1fr));gap:.9rem}
.tut-list li{display:grid;grid-template-columns:auto 1fr;column-gap:.9rem;height:100%;padding:1.1rem 1.2rem;background:var(--paper);border:1px solid var(--line);border-radius:var(--radius-sm);color:var(--ink);text-decoration:none}
.tut-list .num{grid-row:span 2;font:700 1.5rem/1 var(--display);color:var(--acorn);min-width:1.6ch}
.tut-list .t-title{font-weight:700}
.tut-list .t-sum{font-size:.95rem;color:var(--ink-soft);margin-top:.2rem}

/* guide and writing pages */
.doc-layout{display:grid;grid-template-columns:15rem minmax(0,1fr);gap:3rem;align-items:start}
.toc{position:sticky;top:calc(var(--head-stuck) + 1rem);max-height:calc(100vh - var(--head-stuck) - 2rem);overflow:auto;font-size:.92rem;padding-right:.5rem}
.toc ol{list-style:none;margin:0;padding:0}
.toc ol ol{padding-left:.9rem;margin:.2rem 0 .4rem}
.toc li{margin:.25rem 0}
.toc a{color:var(--ink-soft);text-decoration:none}
.toc a:hover{color:var(--ink);text-decoration:underline}
@media (max-width:900px){.doc-layout{grid-template-columns:minmax(0,1fr)}.toc{display:none}}
.prose{max-width:46rem}
.prose h2{font-size:clamp(1.7rem,3vw,2.2rem);margin-top:3rem;padding-top:1rem;border-top:1px solid var(--line);scroll-margin-top:1rem}
.prose h3{margin-top:2rem;scroll-margin-top:1rem}
.prose ul,.prose ol{padding-left:1.3rem}
.prose li{margin:.35rem 0}
.prose li>ul,.prose li>ol{margin:.35rem 0}
.prose code{font:500 .88em ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;background:var(--raised);border:1px solid var(--line);border-radius:5px;padding:.08em .35em;overflow-wrap:anywhere}
.prose pre{margin:0;padding:1rem 1.2rem;background:#161616;font-size:.9rem;line-height:1.5}
.prose pre code{background:none;border:0;padding:0;overflow-wrap:normal}
.scroll-x{overflow-x:auto;margin:1.2rem 0;border:1px solid var(--line);border-radius:var(--radius-sm)}
.prose table{border-collapse:collapse;width:100%;font-size:.95rem}
.prose th,.prose td{text-align:left;vertical-align:top;padding:.6rem .8rem;border-bottom:1px solid var(--line)}
.prose th{background:var(--raised)}
.prose tr:last-child td{border-bottom:0}
.prose img{border-radius:var(--radius-sm);margin:1rem 0}

/* clips */
.doc-clips{margin:1.4rem 0 1.8rem;padding:1rem 1rem .4rem;background:var(--paper);border:1px solid var(--line);border-radius:var(--radius-sm)}
.clip-row{display:flex;gap:1rem;overflow-x:auto;padding-bottom:.6rem;scroll-snap-type:x proximity}
.clip{margin:0;flex:0 0 auto;width:min(13.5rem,62vw);scroll-snap-align:start}
.clip-video{display:block;width:100%;height:auto;aspect-ratio:9/16;background:#141414;border-radius:8px;border:1px solid var(--line)}
.clip figcaption{font-size:.88rem;line-height:1.35;color:var(--ink-soft);margin-top:.45rem}
.clip figcaption a{display:block;font-weight:600}
.clip figcaption span{display:block}
.clip.missing .clip-video{display:grid;place-items:center;padding:1rem;text-align:center;font-size:.9rem;color:var(--ink-soft)}

/* support page: docs links */
.doc-links{list-style:none;padding:0;margin:1.2rem 0 0;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,15rem),1fr));gap:.9rem}
.doc-links a{display:block;height:100%;padding:1.1rem 1.2rem;background:var(--raised);border:1px solid var(--line);border-radius:var(--radius-sm);color:var(--ink);text-decoration:none}
.doc-links a:hover{border-color:var(--clay)}
.doc-links strong{display:block;font-size:1.15rem;margin-bottom:.2rem}
.doc-links span{font-size:.95rem;color:var(--ink-soft)}
.about-links{display:flex;flex-wrap:wrap;gap:.5rem 1.5rem}
.prose{max-width:42rem}
.prose p{margin:0 0 1.1rem}
.prose .signoff{color:var(--ink-soft);margin-top:1.75rem}
