html:has(.site-footer) { background: #071917; }
/* Expanded signup area, four link groups and a compact legal row. */
.site-footer { --footer-muted: #b9cbc0; --footer-line: #29433c; position: relative; padding: 16px 0 10px; background: #071917; color: #f6f2e9; font: 400 13px/1.5 var(--font-body, Inter, sans-serif); }
.product-lower-surface > .site-footer { background: #071917; }
.site-footer .page-container { max-width: 1180px; }
.site-footer a { color: #eeefe7; text-decoration: none; }
.site-footer a:hover, .site-footer .footer-bottom__links button:hover { color: #c2ddce; text-decoration: none; }
.site-footer a:focus-visible, .site-footer button:focus-visible, .site-footer input:focus-visible { outline: 2px solid #d5e5d8; outline-offset: 4px; border-radius: 3px; }
.site-footer [hidden] { display: none !important; }
.site-footer .footer-grid { display: grid; grid-template-columns: minmax(420px, 2.8fr) repeat(4, minmax(0, 1fr)); gap: clamp(18px, 2.3vw, 32px); align-items: start; margin: 0; padding: 0 0 10px; }
.footer-brand { display: grid; gap: 12px; min-width: 0; }
.footer-brand__copy { min-width: 0; }
.site-footer .footer-brand__description { max-width: none; margin: 0 0 5px; color: var(--footer-muted); font-size: 12px; line-height: 1.5; }
.footer-brand__email { display: inline-block; font-size: 12px; font-weight: 600; }
.site-footer .footer-signup { display: grid; grid-template-columns: 1fr; gap: 6px; width: 100%; max-width: none; margin: 0; padding: 0; border: 0; background: transparent; box-shadow: none; }
.site-footer .footer-signup h2 { margin: 0; color: #f6f2e9; font: 600 15px/1.2 var(--font-display, "Inter Tight", sans-serif); letter-spacing: 0; text-transform: none; }
.site-footer .footer-signup__intro > p { margin: 3px 0 0; color: var(--footer-muted); font-size: 12px; line-height: 1.4; }
.footer-signup__form { min-width: 0; }
.footer-signup__form > label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.footer-signup__controls { display: grid; grid-template-columns: minmax(0, 1fr) 92px; gap: 8px; }
.footer-signup__controls input { width: 100%; min-width: 0; min-height: 44px; padding: 10px 12px; border: 1px solid #d2ddd4; border-radius: 6px; background: #f6f7f3; color: #173e35; font: inherit; }
.footer-signup__controls input::placeholder { color: #596a61; opacity: 1; }
.footer-signup__controls button, .footer-signup__code button { min-height: 44px; padding: 9px 12px; border: 1px solid #6a9587; border-radius: 6px; background: #123f3a; color: #f9faf4; font: 600 11px/1.4 var(--font-body, Inter, sans-serif); letter-spacing: .06em; text-transform: uppercase; cursor: pointer; transition: background 160ms ease, border-color 160ms ease; }
.footer-signup__controls button:hover, .footer-signup__code button:hover { border-color: #9fc0ae; background: #1e574e; }
.footer-signup__controls button:disabled { opacity: .65; cursor: wait; }
.footer-signup__status { margin: 8px 0 0; color: #f1c5b9; font-size: 12px; }
.footer-signup__status:empty { display: none; }
.site-footer .footer-signup__success { margin: 0; color: #e3eee3; font-size: 13px; }
.footer-signup__success p { margin: 0; }
.footer-signup__code { display: grid; gap: 6px; margin-top: 8px; overflow-wrap: anywhere; }
.footer-signup__code strong { color: #fff; font-size: 16px; }
.footer-signup__code small { color: var(--footer-muted); }
.footer-signup__code button { justify-self: start; }
.footer-nav { padding-top: 4px; }
.footer-nav__title, .footer-nav__toggle { margin: 0; color: #c4d7cb; font: 600 10px/1.4 var(--font-body, Inter, sans-serif); letter-spacing: .14em; text-transform: uppercase; }
.footer-nav__toggle { display: none; }
.footer-nav__title { margin-bottom: 12px; }
.footer-nav__links { display: grid; gap: 8px; }
.footer-nav__links a { display: block; width: fit-content; font-size: 12px; line-height: 1.45; font-weight: 500; }
.site-footer .footer-bottom { display: flex; justify-content: space-between; gap: 24px; align-items: flex-end; padding-top: 10px; border-top: 1px solid var(--footer-line); color: var(--footer-muted); font-size: 11px; }
.footer-bottom__company { min-width: 0; text-align: left; }
.footer-bottom__identity { margin-top: 3px; text-align: left; }
.site-footer .footer-bottom__identity p, .site-footer .footer-bottom__identity span { color: var(--footer-muted); font-size: 11px; line-height: 1.5; }
.footer-bottom__identity p { margin: 0; }
.footer-bottom__copyright { white-space: nowrap; }
.site-footer .footer-bottom__links { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 6px 0; margin: 0; padding: 0; text-align: right; border: 0; }
.footer-bottom__links > * { white-space: nowrap; }
.site-footer .footer-bottom__links a, .site-footer .footer-bottom__links button { margin: 0; padding: 0; border: 0; background: transparent; color: #d4e0d4; font: 500 11px/1.5 var(--font-body, Inter, sans-serif); cursor: pointer; text-decoration: none; }
.site-footer .footer-bottom__links { column-gap: 22px; }
.footer-bottom__links > * { position: relative; }
.site-footer .footer-bottom__links > [data-legal-separator]::before { content: "•" / ""; position: absolute; inset-inline-start: -13px; top: 50%; transform: translateY(-50%); color: rgba(212, 224, 212, .62); font-size: 10px; line-height: 1; pointer-events: none; }
@media (min-width: 641px) and (max-width: 1100px) {
  .site-footer .footer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px 24px; }
  .footer-brand { grid-column: 1 / -1; grid-template-columns: 1fr; max-width: 520px; }
  .site-footer .footer-signup { max-width: 520px; grid-column: auto; }
}
@media (min-width: 901px) and (max-width: 1100px) {
  .site-footer .footer-bottom__links { margin-right: 100px; }
}
@media (min-width: 641px) and (max-width: 900px) {
  .site-footer .footer-bottom { align-items: flex-start; flex-direction: column; gap: 8px; }
  .site-footer .footer-bottom__links { justify-content: flex-start; text-align: left; }
}
@media (max-width: 640px) {
  .site-footer { padding: 22px 0 10px; }
  .site-footer .footer-grid { grid-template-columns: 1fr; gap: 0; padding-bottom: 4px; }
  .footer-brand { grid-template-columns: 1fr; gap: 12px; margin-bottom: 12px; }
  .site-footer .footer-brand__description { max-width: 40ch; margin-top: 0; }
  .site-footer .footer-signup { margin: 0; max-width: none; }
  .footer-signup__controls { grid-template-columns: 1fr; }
  .footer-signup__controls button { width: 100%; }
  .footer-signup__controls input { font-size: 16px; padding-inline: 10px; }
  .footer-nav { padding: 0; border: 0; }
  .footer-nav__title { display: none; }
  .footer-nav__toggle { display: flex; width: 100%; min-height: 44px; align-items: center; justify-content: space-between; padding: 10px 0; border: 0; background: transparent; text-align: left; cursor: pointer; }
  .footer-nav__toggle svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
  .footer-nav__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
  .footer-nav__links { gap: 0; padding-bottom: 4px; }
  .footer-nav__links a { display: flex; width: 100%; min-height: 44px; align-items: center; }
  .site-footer .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
  .footer-bottom__identity { margin-top: 3px; }
  .footer-bottom__address { max-width: 49ch; }
  .site-footer .footer-bottom__links { justify-content: flex-start; gap: 0 22px; text-align: left; }
  .site-footer .footer-bottom__links a, .site-footer .footer-bottom__links button { min-height: 32px; display: inline-flex; align-items: center; }
}
@media (prefers-reduced-motion: reduce) {
  .site-footer a, .footer-signup__controls button, .footer-signup__code button { transition: none; }
}
