/* Shared base for every page. Page-specific rules are inline in each page's
   <style>, as in the design files. */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{margin:0;background:#fcfbf8;color:#37352f}
a{color:#37352f}
a:hover{color:#000000}
img,svg{max-width:100%}
.skip{position:absolute;left:16px;top:-100px;z-index:10;padding:12px 18px;border-radius:999px;background:#37352f;color:#FFFFFF !important;font:600 15px/20px 'Onest','Helvetica Neue',system-ui,sans-serif;text-decoration:none}
.skip:focus{top:12px;outline:none;box-shadow:0 0 0 2px #FFFFFF,0 0 0 4px #37352f}
main:focus{outline:none}
/* Wave strip at the bottom of every page: light yellow, yellow, orange, top to
   bottom. Tiled sideways from machinal-waves.svg (600x120), never stretched. */
.site-waves{height:120px;background-repeat:repeat-x;background-position:left bottom;background-size:auto 100%}
@media (max-width: 600px){.site-waves{height:80px}}
/* "Help us build diddo" pop-up (every page but /press, /contact, /feedback):
   bottom right, full width at the bottom on phones. Shown by nudge.js. The
   diddo d peeks over the top edge, bobs, and waves now and then. */
.nudge{position:fixed;right:24px;bottom:24px;z-index:20;box-sizing:border-box;width:368px;max-width:calc(100% - 32px);padding:40px 20px 20px;border-radius:24px;background:#FFFFFF;color:#37352f;box-shadow:0 18px 48px rgba(15,15,15,.14),0 2px 6px rgba(15,15,15,.06),inset 0 0 0 1px #ecebe8;font-family:'Onest','Helvetica Neue',system-ui,sans-serif;animation:nudge-in 420ms cubic-bezier(0.2,0,0,1)}
.nudge[hidden]{display:none}
@keyframes nudge-in{from{opacity:0;transform:translateY(24px)}}
.nudge-d{position:absolute;top:-38px;left:14px;width:72px;height:72px;transform-origin:50% 90%;animation:nudge-hi 4.8s ease-in-out 600ms infinite}
.nudge-d img{display:block;width:100%;height:100%}
@keyframes nudge-hi{0%,100%{transform:translateY(0) rotate(0)}6%{transform:translateY(-6px) rotate(-12deg)}12%{transform:translateY(-6px) rotate(10deg)}18%{transform:translateY(-6px) rotate(-8deg)}24%{transform:translateY(-2px) rotate(4deg)}30%{transform:translateY(0) rotate(0)}65%{transform:translateY(-5px) rotate(0)}}
.nudge-s{position:absolute;color:#FFC702;animation:nudge-tw 2.4s ease-in-out infinite}
.nudge-s1{top:-30px;left:92px;width:14px;height:14px}
.nudge-s2{top:-8px;left:106px;width:9px;height:9px;animation-delay:800ms;color:#FFB020}
.nudge-s3{top:-40px;left:4px;width:10px;height:10px;animation-delay:1500ms}
@keyframes nudge-tw{0%,100%{opacity:.25;transform:scale(.6) rotate(0)}50%{opacity:1;transform:scale(1) rotate(45deg)}}
.nudge-x{position:absolute;top:8px;right:8px;display:flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border:0;border-radius:999px;background:transparent;color:#6e6d69;cursor:pointer}
.nudge-x:hover{background:#f4f3f0;color:#37352f}
.nudge-t{margin:0;font-family:'Gabarito','Trebuchet MS',system-ui,sans-serif;font-weight:700;font-size:21px;line-height:26px;letter-spacing:-0.015em}
.nudge-b{margin:6px 0 18px;font-size:15px;line-height:22px;color:#6e6d69}
.nudge-a{display:flex;gap:8px}
.nudge-c,.nudge-h{flex:1;display:inline-flex;align-items:center;justify-content:center;gap:6px;height:44px;padding:0 16px;border:0;border-radius:999px;font:600 15px/20px 'Onest','Helvetica Neue',system-ui,sans-serif;text-decoration:none;cursor:pointer;transition:background 150ms cubic-bezier(0.2,0,0,1)}
.nudge-c{background:#f4f3f0;color:#37352f}
.nudge-c:hover{background:#ecebe8}
.nudge-h{background:#FFC702;color:#37352f !important;box-shadow:inset 0 0 0 1px rgba(15,15,15,.12)}
.nudge-h:hover{background:#FFE762}
.nudge button:focus-visible,.nudge a:focus-visible{outline:none;box-shadow:0 0 0 2px #FFFFFF,0 0 0 4px #37352f}
@media (max-width: 600px){.nudge{left:16px;right:16px;bottom:16px;width:auto;max-width:none}}
@media (prefers-reduced-motion: reduce){.nudge,.nudge-d,.nudge-s{animation:none}.nudge-s{opacity:1}.nudge-c,.nudge-h{transition:none}}
/* Facts rows (home, about): 2x2 until there is room for all four in a row. */
@media (max-width: 900px){.stats{grid-template-columns:repeat(2,minmax(0,1fr)) !important;column-gap:24px !important}}
@media (max-width: 600px){.stats>div{padding:18px 0 !important}.stats dd{font-size:21px !important;line-height:26px !important}}
/* Home product card: big app tile on wide screens, small icon beside the name
   once the card stacks. */
.prod-mini{display:none;width:44px;height:44px;flex:none;border-radius:11px;box-shadow:0 1px 3px rgba(15,15,15,.12)}
@media (max-width: 720px){.prod-tile{display:none !important}.prod-mini{display:block}}
/* Contact page: once the columns stack (below 1120px, where they would wrap anyway once a scrollbar takes its width), intro, then the
   form, then the address and email links. */
@media (max-width: 1119px){.ct-side{display:contents !important}.ct-grid>*,.ct-side>*{flex:1 1 100% !important}.ct-intro{order:0}.ct-grid .fb-card{order:1}.ct-info{order:2}}
