/* The site footer (Nov 19 2026). Replaces the old centred footer: the closing band, its two
   buttons and the big wordmark are gone. Desktop is a brand bay on the left and the sitemap on
   the right; phones keep the existing tap-to-open link groups from shell.css untouched, because
   every desktop rule here sits inside @media (min-width:768px).
   Loaded by partials/hx-footer after shell.css. Nothing here edits public/v2/shell/*. */

/* ---------- shared ---------- */
.hx-foot-brand{display:flex;flex-direction:column;align-items:flex-start}
.hx-foot-logo{height:28px;width:auto;display:block}
.hx-foot-mission{margin:0;color:rgba(255,255,255,.82);text-wrap:pretty}
.hx-foot-trust{margin:0;font:400 13px/1.5 Manrope,"Manrope Fallback",Arial,sans-serif;color:rgba(255,255,255,.62)}
.hx-foot-trust a{color:rgba(255,255,255,.88);text-decoration:none;border-bottom:1px solid rgba(255,255,255,.3)}
.hx-foot-trust a:hover{color:var(--gold);border-color:var(--gold)}
.hx-foot-acct{margin:0;font:400 14px/1.5 Manrope,"Manrope Fallback",Arial,sans-serif}
.hx-foot-acct a{color:rgba(255,255,255,.88);text-decoration:none}
.hx-foot-acct a:hover{color:var(--gold)}
.hx-foot-acct span{color:rgba(255,255,255,.34);margin-inline:8px}
.hx-badges{display:flex;gap:10px;align-items:center;text-decoration:none}
.hx-badges img{width:44px;height:44px;object-fit:contain;background:#fff;border-radius:8px;padding:4px;opacity:.95;transition:opacity .18s cubic-bezier(.2,0,0,1)}
.hx-badges:hover img{opacity:1}
.hx-cp{color:rgba(255,255,255,.66);white-space:nowrap}

/* ---------- desktop and tablet: brand bay + sitemap ---------- */
@media (min-width:768px){
  .hx-foot-stage{padding:0 24px calc(24px + env(safe-area-inset-bottom))}
  .hx-foot-inner{max-width:1180px;margin:0 auto;position:relative}

  .hx-foot-brand{gap:0;padding:36px 32px 28px 0;grid-column:1;align-items:flex-start}
  .hx-foot-logo{margin-block-start:-6px}
  .hx-foot-mission{margin-block-start:30px;font:400 22px/1.4 Manrope,"Manrope Fallback",Arial,sans-serif;max-width:16ch;text-wrap:balance}
  .hx-badges{margin-block-start:40px}
  .hx-foot-trust{margin-block-start:12px}
  .hx-social{margin-block-start:24px;display:flex;gap:8px}
  .hx-foot-acct{margin-block-start:24px}

  /* Back to top sits in its own corner. z-index matters: the button lives in the brand bay, which
     comes before the sitemap in the markup, and the sitemap's box reaches under this corner. Without
     it the nav paints on top and swallows the click (AK, Nov 19: the button did nothing at 1152 to 1279). */
  .hx-foot-up{position:absolute;right:0;top:26px;z-index:3;width:36px;height:36px;display:grid;place-items:center;
    border-radius:50%;border:1px solid rgba(255,255,255,.22);background:rgba(255,255,255,.06);color:#fff;cursor:pointer;
    transition:background .18s cubic-bezier(.2,0,0,1),border-color .18s cubic-bezier(.2,0,0,1)}
  .hx-foot-up:hover{background:var(--gold);border-color:var(--gold);color:var(--ink)}

  /* the sitemap. Each column carries its own divider, gold where it starts and fading down,
     and every one begins level with the headings rather than above them. */
  .hx-foot-cols{grid-column:2;display:grid;gap:24px 28px;align-content:start;justify-content:stretch;
    padding:36px 0 28px 36px;border-left:0;background:none}
  .hx-foot-inner{display:grid;grid-template-columns:minmax(0,.49fr) minmax(0,1.51fr)}

  .hx-fc{display:block;min-width:0;position:relative}
  /* ONE divider only: the brand bay from the sitemap. shell.css draws a rule
     between every group; those four are off, and the one that stays is the first column's. */
  .hx-fc::before{display:none}
  .hx-fc:first-child::before{content:"";display:block;position:absolute;inset-inline-start:-36px;
    top:-22px;bottom:-24px;width:1px;
    background:linear-gradient(180deg,rgba(255,198,30,.55) 0 56px,rgba(255,255,255,.13) 140px)}
  body .hx-foot h2{margin:0 0 16px;font:700 14px/1.4 "Cabinet Grotesk",Cabinetgrotesk,Arial,sans-serif;
    letter-spacing:.04em;text-transform:uppercase;color:var(--gold);text-align:left}
  .hx-fc-list{display:flex!important;flex-direction:column;gap:4px;justify-items:start;text-align:left;
    grid-auto-flow:row;grid-template-rows:none;grid-template-columns:none;column-gap:0}
  .hx-foot-cols a{position:relative;font:400 13px/1.4 Manrope,"Manrope Fallback",Arial,sans-serif;
    color:rgba(255,255,255,.88);text-decoration:none;padding:0;text-wrap:pretty}
  .hx-foot-cols a:hover{color:var(--gold)}
  /* a reading mark beside the link under the pointer */
  .hx-foot-cols a::before{content:"";position:absolute;inset-inline-start:-14px;top:.62em;width:0;height:1px;
    background:var(--gold);transition:width .18s cubic-bezier(.2,0,0,1)}
  .hx-foot-cols a:hover::before,.hx-foot-cols a:focus-visible::before{width:8px}

  /* The comparison-page disclaimer (app.js injects it before .hx-foot-util, so it is a direct child
     of this grid). Without a column it dropped into the brand bay and read as a 289px column of text
     under the Log in line. It is its own full-width band above the legal line. */
  .hx-disclaimer{grid-column:1/-1;max-width:820px;margin:0 auto;padding:28px 0 4px;text-align:center;
    font:400 14px/1.6 Manrope,"Manrope Fallback",Arial,sans-serif;color:rgba(255,255,255,.62)}
  .hx-disclaimer a{color:rgba(255,255,255,.88)}
  .hx-disclaimer a:hover{color:var(--gold)}

  /* the legal block runs the full width, centred */
  .hx-foot-util{grid-column:1/-1;display:block;margin:0;padding:0;border-top:1px solid rgba(255,255,255,.13);text-align:center}
  .hx-foot-base{display:block;padding:16px 0 24px}
  .hx-legal,.hx-txt{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:0 22px;max-width:none}
  .hx-txt{margin-top:2px}
  .hx-legal a,.hx-txt a,.hx-cookie-btn{font:400 13px/1.9 Manrope,"Manrope Fallback",Arial,sans-serif;
    color:rgba(255,255,255,.66);text-decoration:none;white-space:nowrap;background:none;border:0;padding:0;cursor:pointer}
  .hx-txt a{color:rgba(255,255,255,.58)}
  .hx-legal a:hover,.hx-txt a:hover,.hx-cookie-btn:hover{color:#fff}
}

/* The five tracks. Six groups go in: Solutions takes the top of the fourth track and Partners
   sits under it, so the row still reads as five columns. The placement itself is further down,
   with the spacing it depends on. */
@media (min-width:1152px){
  .hx-foot-cols{grid-template-columns:.98fr 1.12fr 1.02fr 1.06fr .82fr}
}
/* Tablets: the brand sits above the sitemap, which then uses the full width in three columns.
   Side by side at this width squeezes both and makes the footer twice as tall. */
@media (min-width:768px) and (max-width:1151px){
  .hx-foot-inner{grid-template-columns:1fr}
  .hx-foot-brand{grid-column:1;padding:32px 0 24px;flex-flow:row wrap;align-items:center;gap:0 24px}
  .hx-foot-brand .hx-foot-mission{margin-block-start:0;font-size:17px;max-width:24ch}
  .hx-foot-brand .hx-badges,.hx-foot-brand .hx-social,.hx-foot-brand .hx-foot-acct{margin-block-start:0}
  .hx-foot-brand .hx-foot-trust{margin-block-start:0;flex:1 1 100%}
  .hx-foot-cols{grid-column:1;grid-template-columns:repeat(6,minmax(0,1fr));row-gap:28px;column-gap:24px;
    padding:28px 0;background:none;border-top:1px solid rgba(255,255,255,.13)}
  /* undo the desktop placement, but leave grid-column to the two rules under this one */
  .hx-foot-cols.is-six .hx-fc:nth-child(n){grid-row:auto;margin-top:0;align-self:start}
  /* as before this change: the long groups run full width as wrapped rows, the short ones share a
     row. Keeps the tablet footer short instead of stacking six narrow columns of wrapped labels.
     The :nth-child(n) is there only to match the specificity of the reset above. */
  .hx-foot-cols .hx-fc--split,.hx-foot-cols.is-six .hx-fc--split:nth-child(n){grid-column:1/-1}
  .hx-foot-cols .hx-fc:not(.hx-fc--split),
  .hx-foot-cols.is-six .hx-fc:not(.hx-fc--split):nth-child(n){grid-column:span 2}
  .hx-fc--split .hx-fc-list{display:flex!important;flex-flow:row wrap;gap:8px 20px}
  .hx-fc--split .hx-fc-list a{padding-inline:0}
  /* everything left aligned on one edge, same as the desktop sitemap */
  .hx-foot-cols .hx-fc--split .hx-fc-list{justify-content:flex-start}
  .hx-foot-cols .hx-fc:not(.hx-fc--split) .hx-fc-list{display:flex!important;flex-direction:column;
    align-items:flex-start;text-align:left;gap:10px}
  .hx-foot-cols .hx-fc:not(.hx-fc--split) .hx-fc-list a{padding-inline:0}
  .hx-foot-up{top:32px}
}

/* ---------- phones: unchanged. The groups keep shell.css's tap-to-open rows. ---------- */
@media (max-width:767px){
  .hx-foot-brand{gap:18px;padding:28px 0 4px;align-items:center;text-align:center}
  .hx-foot-mission{font-size:16px;line-height:1.5}
  .hx-badges{flex-wrap:wrap;justify-content:center}
  .hx-social{justify-content:center}
  .hx-foot-up{position:static;width:44px;height:44px;display:grid;place-items:center;border-radius:50%;
    border:1px solid rgba(255,255,255,.24);background:rgba(255,255,255,.06);color:#fff;cursor:pointer}
  .hx-foot-base{text-align:center;padding-top:14px}
  .hx-legal,.hx-txt{justify-content:center;gap:0 14px}
  .hx-legal a,.hx-txt a,.hx-cookie-btn{font-size:13px;color:rgba(255,255,255,.66);background:none;border:0;cursor:pointer}
}

/* the old centred layout gave .hx-social a divider and an indent; both are wrong here */
.hx-foot-brand .hx-social{border-left:0;padding-left:0;margin-left:0}
.hx-foot-brand .hx-social a{width:40px;height:40px;border-radius:50%;background:rgba(255,255,255,.06);
  outline:1px solid rgba(255,255,255,.22);outline-offset:-1px;color:rgba(255,255,255,.88)}
.hx-foot-brand .hx-social a:hover{background:var(--gold);color:var(--ink)}
.hx-foot-brand .hx-social svg{width:17px;height:17px}
/* the badge plates come from shell.css at 52px with !important; the design uses 44px */
.hx-foot-brand .hx-badges img{width:44px!important;height:44px!important;padding:4px!important;border-radius:8px!important;box-shadow:none!important}
.hx-foot-brand .hx-badges{gap:10px}
/* the old column band drew hairlines above and below the links; the design has neither */
.hx-foot-cols::before,.hx-foot-cols::after{display:none!important}

@media (min-width:768px){
  /* the brand bay spacing */
  .hx-foot-brand{padding-top:36px}
  .hx-foot-brand .hx-foot-mission{margin-block-start:24px}
  .hx-foot-brand .hx-badges{margin-block-start:40px}
  .hx-foot-brand .hx-foot-trust{margin-block-start:12px}
  .hx-foot-brand .hx-social{margin-block-start:24px}
  .hx-foot-brand .hx-foot-acct{margin-block-start:24px}
  .hx-foot-cols{padding-top:36px;padding-bottom:28px}
  .hx-foot-util{margin-top:0}
  .hx-foot-base{padding:16px 0 24px}
}

/* ---------- the sitemap rhythm ----------
   Not one spacing for everything. Product is the reference and keeps its step; the shorter
   lists sit tighter so they do not read as padded. Every column still starts on one line. */
@media (min-width:1152px){
  .hx-foot-cols{align-items:stretch}
  .hx-foot-cols.is-six .hx-fc:nth-child(1){grid-column:1;grid-row:1;margin-top:0}
  .hx-foot-cols.is-six .hx-fc:nth-child(2){grid-column:2;grid-row:1;margin-top:0}
  .hx-foot-cols.is-six .hx-fc:nth-child(3){grid-column:3;grid-row:1;margin-top:0}
  .hx-foot-cols.is-six .hx-fc:nth-child(4){grid-column:4;grid-row:1;margin-top:0}
  /* Partners sits under Solutions so the row stays at five tracks */
  .hx-foot-cols.is-six .hx-fc:nth-child(5){grid-column:4;grid-row:1;align-self:start;margin-top:240px}
  .hx-foot-cols.is-six .hx-fc:nth-child(6){grid-column:5;grid-row:1;margin-top:0}
  .hx-foot-cols .hx-fc{display:block}
  /* one step for every column, so a link in Product sits on the same line as the one
     beside it in Library and Company */
  .hx-foot-cols .hx-fc-list{gap:12px}
  /* Partners shares the Solutions track, so it takes no divider of its own */
  .hx-foot-cols.is-six .hx-fc:nth-child(5)::before{display:none}
}

/* ---------- the last screen is the footer ----------
   Scroll to the bottom and the screen shows the footer and nothing else: no white strip of
   the section above. The footer is one screen tall and its block is centred inside that,
   so the extra height reads as breathing room rather than a gap under the links.
   Phones keep their natural height (this starts at 768px). */
@media (min-width:768px){
  .hx-foot{min-height:100vh;min-height:100svh}
  .hx-foot-stage{min-height:100vh;min-height:100svh;display:flex;flex-direction:column;
    padding-top:28px;padding-bottom:calc(40px + env(safe-area-inset-bottom))}
  /* the inner takes the whole screen: the sitemap row grows, the legal line sits at the foot */
  .hx-foot-inner{width:100%;flex:1 1 auto;grid-template-rows:1fr auto}
  /* the brand bay fills its side too: the mission stays up top, the proof cluster drops
     to the bottom so it lines up with the end of the sitemap rule */
  /* the sitemap row centres in the leftover height, so a tall screen gains room above and
     below rather than one dead block under the links */
  .hx-foot-brand,.hx-foot-cols{align-self:center}
  .hx-foot-brand{padding-bottom:28px}
  .hx-foot-brand .hx-badges{margin-block-start:40px}
  .hx-foot-base{padding:10px 0 4px}
}

/* ---------- Log in and Sign up for free read as the one action in the bay ---------- */
.hx-foot .hx-foot-acct a{color:var(--gold)}
.hx-foot .hx-foot-acct a:hover,.hx-foot .hx-foot-acct a:focus-visible{color:#fff}

/* The five tracks are tightest just above the breakpoint: pull the gutters in a little there
   so no label wraps. */
@media (min-width:1152px) and (max-width:1279px){
  .hx-foot-cols{column-gap:20px}
}
