footer { border-top: 1px solid var(--line); background: var(--bg2); padding: 84px 0 40px; margin-top: clamp(90px,12vh,150px); position: relative; z-index: 2; }
.foot-word { display: block; width: clamp(120px, 18vw, 220px); height: auto; margin-bottom: 40px; }
.foot-word img { display: block; width: 100%; height: auto; }
.foot-word .on-dark { display: none; }
html[data-theme="dark"] .foot-word .on-light { display: none; }
html[data-theme="dark"] .foot-word .on-dark { display: block; }
.e-badges { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; align-items: center; }
.store-badge { position: relative; display: block; box-sizing: border-box; width: 162px; height: 54px; flex: 0 0 162px; overflow: hidden; line-height: 0; transition: transform .25s; }
.store-badge:hover { transform: translateY(-2px); }
.store-badge img { position: absolute; inset: 0; display: block; width: 162px; height: 54px; object-fit: fill; }
.store-badge .on-dark { display: none; }
html[data-theme="dark"] .store-badge .on-light { display: none; }
html[data-theme="dark"] .store-badge .on-dark { display: block; }
.foot-top { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 40px; align-items: start; }
.foot-brand p { font-size: 14px; color: var(--muted); max-width: 34ch; margin: 0; }
.foot-brand .e-badges { margin-top: 24px; }
.foot-col h4 { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin: 0 0 18px; }
.foot-col a { display: block; font-size: 14px; color: var(--muted); margin-bottom: 12px; transition: color .2s; }
.foot-col a:hover { color: var(--cream); }
.foot-bottom { display: flex; align-items: center; justify-content: space-between; margin-top: 56px; padding-top: 26px; border-top: 1px solid var(--line); flex-wrap: wrap; gap: 16px; }
.foot-bottom span { font-size: 12.5px; color: var(--dim); }
.foot-social { display: flex; gap: 10px; }
.foot-social a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line2); color: var(--muted); transition: color .2s, border-color .2s; }
.foot-social a:hover { color: var(--terra-soft); border-color: var(--terra-soft); }
.foot-social svg { width: 17px; height: 17px; }
html:not([data-theme="dark"]) .foot-brand p,
html:not([data-theme="dark"]) .foot-col a { color: var(--ivory); }
html:not([data-theme="dark"]) .foot-col a:hover { color: var(--cream); }
html:not([data-theme="dark"]) .foot-bottom span,
html:not([data-theme="dark"]) .foot-social a { color: var(--muted); }
html:not([data-theme="dark"]) .foot-social a:hover { color: var(--terra-soft); border-color: var(--terra-soft); }

@media (max-width: 900px) {
  .foot-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .foot-top { grid-template-columns: 1fr; }
}
