/*
 * Shared responsive contract for the canonical rebuild.
 * Surface-specific reflow stays colocated in home.css, auth.css and app.css;
 * this file owns the common gutters used by public pages.
 */

@media (max-width: 1024px) {
  :root {
    --page-gutter: clamp(20px, 4vw, 40px);
  }
}

@media (max-width: 768px) {
  :root {
    --page-gutter: 20px;
  }

  :where(button, a, summary, input, select, textarea) {
    scroll-margin: 12px;
  }
}

@media (max-width: 390px) {
  :root {
    --page-gutter: 16px;
  }
}
