@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.5;
  color: var(--color-text);
  background: #ececec;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
  max-width: 100%;
}

.app-shell {
  width: 100%;
  max-width: 430px;
  min-height: 100dvh;
  margin: 0 auto;
  background: var(--color-bg);
  position: relative;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }

.container {
  width: 100%;
  max-width: 100%;
  padding-inline: var(--space-4);
  min-width: 0;
}

.page {
  padding-bottom: calc(var(--bottom-nav-h) + var(--safe-bottom) + var(--space-4));
  overflow-x: hidden;
  max-width: 100%;
  min-width: 0;
}

.page--sticky-cta {
  padding-bottom: calc(var(--bottom-nav-h) + var(--sticky-cta-h) + var(--safe-bottom));
}

.page-header {
  padding: var(--space-4) 0 var(--space-3);
}

.page-header h1 {
  margin: 0 0 var(--space-1);
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.page-header p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.875rem;
}

.grid-products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-3);
}

.stack { display: grid; gap: var(--space-3); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
