/* /gen: the main site's header buttons, footer and square cursor (apply.py add_gen_extras), on the Gen page's own top bar
   and burger menu. Loaded after cta.css and the page's own styles. */
@font-face{font-family:Switzer;src:url('/assets/fonts/switzer.woff2') format('woff2');font-weight:100 900;font-display:swap}

/* The homepage's square cursor (cursor.js), as in style.css. */
.square-cursor{position:fixed;inset:0;z-index:2147483647;pointer-events:none!important;opacity:0;contain:layout style}
.square-cursor.visible{opacity:1}
.square-cursor i{position:absolute;left:0;top:0;display:block;background:currentColor;border:0;box-shadow:none;pointer-events:none}
.square-cursor i:last-child:after{content:'';position:absolute;inset:0;background:currentColor;transform:scale(1);transition:transform .18s}
.square-cursor.interactive i:last-child:after{transform:scale(1.3)}
html.square-pointer,html.square-pointer *{cursor:none!important}
@media(forced-colors:active){.square-cursor{display:none}html.square-pointer,html.square-pointer *{cursor:auto!important}}

/* Top bar, landscape: the links follow the logo (cta.js sets --cta-nav-left) and the three buttons sit on the right;
   when the links do not fit beside them they move into the page's burger menu. */
@media (min-aspect-ratio:11/10) and (min-width:701px){
  .topbar .links{position:absolute;top:0;left:var(--cta-nav-left,calc(20px + var(--brand-w,157.66px) + 32px));display:flex;align-items:center;gap:20px;width:auto;height:var(--tb);padding:0;transition:opacity .3s,visibility .3s}
  .topbar:not(.cta-measured) .links{opacity:0;animation:cta-nav-fallback 0s 8s forwards}
  .topbar .header-ctas{position:absolute;top:calc((var(--tb) - 40px) / 2);right:32px;z-index:1}
  .topbar.cta-animate .header-ctas{transition:right .35s ease}
  .topbar.cta-nav-collapsed .links{opacity:0;visibility:hidden;pointer-events:none}
  .topbar.cta-nav-collapsed .header-ctas{right:80px}
  .topbar.cta-nav-collapsed .burger{display:grid;position:absolute;top:calc((var(--tb) - 48px) / 2);right:24px}
}
/* Portrait and phones: logo, Try for free, menu. */
@media (max-aspect-ratio:11/10),(max-width:700px){
  .topbar{grid-template-columns:minmax(0,1fr) auto 48px}
  .topbar .header-ctas{grid-column:2;grid-row:1;align-self:center;margin-right:4px}
  .topbar .header-ctas .cta-secondary{display:none}
  .topbar .header-ctas .cta{height:34px;padding:0 12px;font-size:13px}
  .topbar .cta-long{display:none}
  .topbar .cta-short{display:inline}
  .topbar .burger{grid-column:3;grid-row:1}
  body.menu-open .topbar .header-ctas{visibility:hidden}
}
.topbar .cta{font-family:Switzer,Arial,sans-serif}

/* The burger menu: the three buttons at full width under the links, then Contact (the pinned Contact us is gone). */
.menu{padding-bottom:calc(40px + env(safe-area-inset-bottom))}
.menu .menu-ctas{display:flex;flex-direction:column;gap:8px;margin-top:32px}
.menu .menu-ctas .cta{display:flex;width:100%;height:48px;font:500 15px/1 Switzer,Arial,sans-serif}
.menu .menu-contact{display:flex;align-items:center;min-height:44px;margin-top:20px;font:400 28px/1.15 var(--ci-display);color:#fff;text-decoration:none}

/* Footer: the Gen page's own footer and words as a thin band in the homepage's style: its blue ground, white
   Switzer, its hairlines (one down the middle, one across, as on the homepage) and its white wordmark. */
.footer.home-footer{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);padding:0 20px;border-top:0;background:#1755e5;color:#fff;font-family:Switzer,Arial,sans-serif}
.home-footer .footer-mark,.home-footer .footer-mark:hover{width:120px;height:16px;margin:28px 0 0;background:url(/assets/footer-logo.svg) left center / contain no-repeat}
.home-footer .footer-mark:hover{opacity:.8}
.home-footer .footer-boiler{max-width:none;margin:0;padding:24px 0 28px 32px;border-left:1px solid #ffffff33;font:400 15px/1.3 Switzer,Arial,sans-serif;letter-spacing:.15px;color:#ffffffb3}
.home-footer .footer-boiler{text-wrap:pretty}
.home-footer .footer-meta{grid-column:1/-1;flex-direction:row;justify-content:space-between;align-items:center;gap:8px 20px;margin:0 -20px;padding:14px 20px 18px;border-top:1px solid #ffffff4d}
.home-footer .footer-meta p,.home-footer .footer-legal a{font:400 12px/1.25 Switzer,Arial,sans-serif;letter-spacing:0;text-transform:none;color:#ffffffb3}
.home-footer .footer-legal{flex-wrap:wrap;gap:8px 20px}
.home-footer .footer-legal a:hover{color:#fff}
/* Phones: one column, the line down the middle goes. */
@media (max-width:700px){
  .footer.home-footer{grid-template-columns:1fr}
  .home-footer .footer-boiler{padding:16px 0 24px;border-left:0}
  .home-footer .footer-meta{flex-direction:column;align-items:flex-start}
}

/* ---- ™ at the top right of the wordmark (30 Oct 2026, awaiting his decision): the top bar's logo box, and the footer
   mark, whose wordmark is drawn 112 px wide to leave it room inside the 120 px box. ---- */
.topbar .brand{position:relative}
.topbar .brand::after,.home-footer .footer-mark::after{content:'';position:absolute;pointer-events:none;-webkit-mask:url(/assets/brand-tm.svg) center/100% 100% no-repeat;mask:url(/assets/brand-tm.svg) center/100% 100% no-repeat}
.topbar .brand::after{left:100.8%;top:7.3%;width:5.4%;height:20.5%;background:currentColor}
.home-footer .footer-mark,.home-footer .footer-mark:hover{position:relative;background-size:112px auto}
.home-footer .footer-mark::after{left:113px;top:.9px;width:6.6px;height:3.3px;background:#fff}
