/* Accessibility plumbing and the status and source labels. */
*, *::before, *::after { box-sizing: border-box; }
/* Author display rules must not defeat the hidden attribute. */
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img, svg, video { max-width: 100%; height: auto; display: block; }
button, input, select { font: inherit; color: inherit; }
a { color: inherit; }

/* Keyboard focus is always visible, in the brand orange with a cream halo so it
   reads on both dark and light concepts. */
:focus-visible { outline: 3px solid #d65f2a; outline-offset: 3px; box-shadow: 0 0 0 6px rgba(255, 248, 240, .55); border-radius: 4px; }

.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 1000; padding: .6rem 1rem; background: #fff8f0; color: #2a160b; border-radius: 6px; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* "Illustration" tag for hand-drawn UI that is not a real screenshot. */
.tag-illustration { display: inline-block; font: 600 10.5px/1 ui-sans-serif, system-ui, sans-serif; letter-spacing: .06em; text-transform: uppercase; padding: .35em .6em; border-radius: 999px; background: rgba(214, 95, 42, .14); color: #b8501f; border: 1px dashed rgba(214, 95, 42, .55); }
.tag-screenshot { display: inline-block; font: 600 10.5px/1 ui-sans-serif, system-ui, sans-serif; letter-spacing: .06em; text-transform: uppercase; padding: .35em .6em; border-radius: 999px; background: rgba(60, 140, 90, .14); color: #2f7a4b; }

/* Feature status badges shared by every directory. */
.st { display: inline-block; font: 600 10.5px/1 ui-sans-serif, system-ui, sans-serif; letter-spacing: .04em; padding: .35em .55em; border-radius: 4px; white-space: nowrap; }
.st-shipped { background: #e3f3e8; color: #1e6b3c; }
.st-optin { background: #fff1d6; color: #7a4f00; }
.st-experimental { background: #fde4dc; color: #9a3412; }
.st-testflight { background: #e6eefc; color: #234c94; }
.st-planned { background: #eceae7; color: #555049; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-delay: 0s !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
