/* DRYYYVE footer v2: shared typography, project-owned background and palette. */
.brand-document { min-height: 100vh; min-height: 100dvh; }
.message-shell.brand-document { grid-template-rows: 1fr; }
.brand-footer {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 32px;
  margin: 0;
  padding: 24px clamp(24px, 4vw, 64px) max(24px, env(safe-area-inset-bottom));
  background: var(--brand-footer-background, var(--background));
  color: var(--brand-footer-muted, var(--muted));
  font: 400 12px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.brand-footer-legal { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 32px; }
.brand-footer small { font: inherit; white-space: nowrap; }
.brand-footer nav { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 24px; }
.brand-footer a { display: inline-flex; align-items: center; min-width: 44px; min-height: 44px; color: inherit; text-decoration: none; }
.brand-footer a:hover { color: var(--brand-footer-text, var(--text)); text-decoration: underline; text-underline-offset: 4px; }
.brand-footer :is(a, summary, button):focus-visible { outline: 2px solid currentColor; outline-offset: 4px; border-radius: 2px; }
.dryyyve-signature { gap: 6px; margin-left: auto; white-space: nowrap; }
.brand-footer .dryyyve-signature:hover { color: inherit; text-decoration: none; }
.brand-footer .dryyyve-signature:hover strong { color: var(--accent, #dbaa00); }
.signature-cup { width: 16px; height: 16px; flex: none; }
.dryyyve-signature strong { color: var(--brand-footer-text, var(--text)); font: 400 14px/1 Silkscreen, ui-monospace, monospace; letter-spacing: -.06em; }
.brand-language { position: relative; flex: none; }
.brand-language summary { display: flex; align-items: center; gap: 10px; min-width: 82px; min-height: 44px; padding: 0 4px; list-style: none; cursor: pointer; }
.brand-language summary::-webkit-details-marker { display: none; }
.brand-language summary > svg { width: 16px; height: 16px; flex: none; }
.brand-language summary > .language-chevron { width: 12px; height: 12px; }
.brand-language[open] summary { color: var(--brand-footer-text, var(--text)); }
.brand-language[open] .language-chevron { transform: rotate(180deg); }
.brand-language-options { position: absolute; z-index: 20; right: 0; bottom: calc(100% + 8px); width: 168px; padding: 6px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); color: var(--brand-footer-text, var(--text)); box-shadow: 0 8px 28px #0002; }
.brand-language-options button { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%; min-height: 44px; padding: 0 12px; border: 0; border-radius: 7px; background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.brand-language-options button:hover { background: color-mix(in srgb, currentColor 6%, transparent); }
.brand-language-options button[aria-pressed="true"] { background: color-mix(in srgb, var(--accent) 12%, transparent); }
.language-code { color: var(--brand-footer-muted, var(--muted)); font-size: 10px; letter-spacing: .08em; }
.brand-language-options button[aria-pressed="true"] .language-code { color: var(--brand-footer-text, var(--text)); }
@media (max-width: 760px) {
  .brand-footer { gap: 8px 24px; padding-block: 24px max(24px, env(safe-area-inset-bottom)); }
  .brand-footer-legal { width: 100%; justify-content: space-between; gap: 0 24px; }
  .dryyyve-signature { margin-left: 0; }
  .brand-language { margin-left: auto; }
}
@media (max-width: 440px) {
  .brand-footer-legal { display: grid; gap: 4px; }
}
/* The device zoom belongs to the stage, never over the footer links. */
.brand-footer-visible .device-zoom { visibility: hidden; }
