/* Only the newsletter and the footer space it needs; keep the existing artwork and columns. */
.foot .foot-updates{
  /* Rebind canonical lengths: the hero's root rem is a reference pixel. */
  --vx-text-caption:13px;--vx-text-input:16px;
  --vx-space-4:calc(4 * var(--fu));--vx-space-8:calc(8 * var(--fu));--vx-space-12:calc(12 * var(--fu));--vx-space-16:calc(16 * var(--fu));--vx-space-24:calc(24 * var(--fu));
  --vx-radius-pill:9999px;
  height:auto;
}
.foot .foot-newsletter{margin-top:var(--vx-space-16);scroll-margin-top:100px}
.foot .foot-updates .foot-subscribe{
  position:static;display:grid;grid-template-columns:minmax(0,1fr) max-content;gap:var(--vx-space-12);width:100%;height:auto;min-height:0;margin:0;
  border:0;border-radius:0;background:none;
}
.foot .foot-subscribe input[type="email"]{
  box-sizing:border-box;min-width:0;width:100%;height:calc(56 * var(--fu));padding:0 var(--vx-space-16);
  border:1px solid var(--vx-hairline-strong);border-radius:var(--vx-radius-pill);
  background:var(--vx-bg);color:var(--vx-text);-webkit-text-fill-color:var(--vx-text);caret-color:var(--vx-text);color-scheme:dark;
  font-size:var(--vx-text-input);font-weight:var(--vx-weight-regular);line-height:var(--vx-leading-input);direction:ltr;
}
.foot .foot-subscribe input[type="email"]::placeholder{color:var(--vx-text-muted);-webkit-text-fill-color:var(--vx-text-muted)}
/* Browser autofill owns its background with !important. This flat inset paint
   keeps the canonical surface, not a decorative shadow or a delayed transition. */
.foot .foot-subscribe input[type="email"]:is(:autofill, :-webkit-autofill){
  box-shadow:inset 0 0 0 calc(56 * var(--fu)) var(--vx-bg);
  -webkit-text-fill-color:var(--vx-text);caret-color:var(--vx-text);
}
.foot .foot-subscribe button{
  box-sizing:border-box;width:auto;min-width:calc(144 * var(--fu));height:calc(56 * var(--fu));min-height:0;margin:0;padding:0 var(--vx-space-16);gap:var(--vx-space-8);white-space:nowrap;
  border:1px solid transparent;border-radius:var(--vx-radius-pill);background:var(--vx-lime);color:var(--vx-ink);
  box-shadow:none;font-size:var(--vx-text-input);font-weight:var(--vx-weight-medium);line-height:var(--vx-leading-input);
  transition:background var(--vx-duration) var(--vx-ease);cursor:pointer;
}
.foot .foot-subscribe button:hover:not(:disabled){background:var(--vx-lime-hover)}
.foot .foot-subscribe button:disabled{background:var(--vx-lime-deep);color:var(--vx-text);cursor:wait}
.foot .foot-newsletter-consent{display:flex;align-items:start;gap:var(--vx-space-8);margin-top:var(--vx-space-8);font-size:var(--vx-text-caption);line-height:var(--vx-leading-caption);color:var(--vx-text-secondary)}
.foot .foot-newsletter-consent label{display:flex;flex:0 1 auto;align-items:start;gap:var(--vx-space-8);min-width:0;min-height:24px;cursor:pointer}
.foot .foot-newsletter-consent input{box-sizing:border-box;flex:none;width:max(16px,calc(18 * var(--fu)));height:max(16px,calc(18 * var(--fu)));margin:calc(2 * var(--fu)) 0 0;accent-color:var(--vx-lime);color-scheme:dark;cursor:pointer}
.foot .foot-newsletter-consent span{overflow-wrap:anywhere}
.foot .foot-newsletter-consent a{flex:none;display:inline-flex;align-items:start;min-height:24px;color:var(--vx-text-secondary);text-decoration:underline;text-underline-offset:3px}
.foot .foot-newsletter-status{min-height:0;margin:var(--vx-space-8) 0 0;font-size:var(--vx-text-caption);line-height:var(--vx-leading-caption);color:var(--vx-text-secondary);overflow-wrap:anywhere}
.foot .foot-newsletter-status:empty{margin:0}
.foot .foot-newsletter-status[data-tone="error"]{color:var(--vx-error)}
.foot .foot-updates .foot-apps{position:static;margin-top:var(--vx-space-8)}
.foot .foot-apps>.foot-eyebrow{line-height:var(--vx-leading-caption)}
.foot .foot-updates .foot-badges{margin-top:var(--vx-space-8)}
.foot .foot-newsletter :focus-visible{outline:2px solid var(--vx-lime);outline-offset:2px}
.foot .foot-newsletter [aria-invalid="true"]{outline:2px solid var(--vx-error);outline-offset:2px}
/* Lower the app group without moving the form or divider. The spacer alone
   yields when longer translations or status messages need the remaining room. */
@media (min-width:1800px){
  .foot .foot-updates{display:flex;flex-direction:column;max-height:calc(400 * var(--fu) - 8px)}
  .foot .foot-updates>*{flex:none}
  .foot .foot-updates::after{content:'';order:1;flex:0 1 var(--foot-app-offset,45px);min-height:0}
  .foot .foot-updates .foot-apps{order:2}
}
@media (max-width:1799px){
  .foot .foot-newsletter{margin-top:24px}
  .foot .foot-updates .foot-apps{margin-top:32px}
  .foot .foot-newsletter-consent label,.foot .foot-newsletter-consent a{min-height:44px}
}
@media (max-width:600px){
  .foot .foot-updates .foot-subscribe{grid-template-columns:minmax(0,1fr)}
  .foot .foot-subscribe input[type="email"]{flex:none}
  .foot .foot-subscribe button{width:100%}
}
@media (prefers-reduced-motion:reduce){.foot .foot-subscribe button{transition:none}}
