html { min-width: 320px; background: var(--color-canvas); }
body {
  min-width: 320px;
  min-height: 100vh;
  min-height: 100dvh;
  color: var(--color-text);
  background: var(--color-canvas);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.5;
  overflow-x: hidden;
}
button, a { cursor: pointer; }
button { color: inherit; }
:focus-visible { outline: 3px solid rgba(255, 100, 30, .32); outline-offset: 3px; }
.app-shell {
  position: relative;
  width: 100%;
  max-width: 430px;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 auto;
  overflow: hidden;
  background: var(--color-background);
  isolation: isolate;
}
.screen {
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--color-background);
}
.screen.is-entering { animation: screen-in 260ms ease both; }
.screen.is-leaving { animation: screen-out 180ms ease both; pointer-events: none; }
.eyebrow { color: var(--color-primary); font-size: 11px; font-weight: 700; letter-spacing: .13em; }
.section-heading { text-align: center; }
.section-heading h1, .redirect-copy h1 { font-size: 28px; line-height: 1.15; letter-spacing: -.035em; }
.section-heading > p:last-child, .redirect-copy > p:last-child { margin-top: var(--space-2); color: var(--color-text-secondary); line-height: 1.45; }
.noscript { padding: var(--space-5); text-align: center; }
@keyframes screen-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
@keyframes screen-out { to { opacity: 0; transform: translateY(-4px); } }
@media (min-width: 520px) {
  body { padding: var(--space-6); }
  .app-shell { min-height: calc(100vh - 48px); min-height: calc(100dvh - 48px); border: 1px solid var(--color-border-soft); border-radius: 28px; box-shadow: var(--shadow-shell); }
  .screen { min-height: calc(100vh - 48px); min-height: calc(100dvh - 48px); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
