/* Colors, typography and footer adapted from fluxzero-packages/directory.css. */
:root {
  color-scheme: light dark;
  --background: light-dark(#fff, #161a20);
  --text: light-dark(#27313e, #e8edf4);
  --muted: light-dark(#667182, #a1adbf);
  --rule: light-dark(#e4e9ef, #333c49);
  --link: light-dark(#1764b4, #82bbfa);
  --hover: light-dark(#eef5fd, #222f41);
  background: var(--background);
  color: var(--text);
  font: 400 14px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
body { max-width: 1024px; margin: 0 auto; padding: 32px 36px 24px; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--link); outline-offset: 4px; border-radius: 3px; }
header { padding-bottom: 29px; }
h1 { margin: 0; font: inherit; }
.brand { display: inline-block; max-width: 100%; }
.hero-logo-lockup { display: block; width: 181px; max-width: 100%; height: auto; }
.intro { margin: 0 0 24px; max-width: 700px; font-size: 17px; line-height: 1.6; }
.visit-link { display: inline-flex; align-items: center; gap: 18px; min-height: 44px; padding: 8px 14px; background: var(--hover); border: 1px solid var(--rule); border-radius: 6px; font-weight: 500; }
footer { margin-top: 40px; padding-top: 12px; border-top: 1px solid var(--rule); font-size: 12px; }
footer nav { display: flex; flex-wrap: wrap; gap: 4px 24px; }
footer a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); }
@media (max-width: 540px) {
  body { padding: 24px 20px 20px; }
  .intro { margin-bottom: 20px; font-size: 16px; }
  footer nav { column-gap: 20px; }
}

/* Native popover keeps reporting available without JavaScript or a form. */
button { font: inherit; cursor: pointer; }
.report-trigger, .report-close { display: none; }
.report-trigger { padding: 0; border: 0; background: transparent; color: var(--muted); min-height: 44px; align-items: center; text-align: left; }
.report-trigger:hover { text-decoration: underline; }
.report-panel { width: min(36rem, calc(100% - 2rem)); max-height: calc(100vh - 2rem); max-height: calc(100dvh - 2rem); overflow: auto; margin: 24px auto; padding: 24px; border: 1px solid var(--rule); border-radius: 12px; background: var(--background); color: var(--text); text-align: left; }
.report-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.report-header h2 { margin: 0; font-size: 20px; line-height: 1.4; }
.report-close { flex-shrink: 0; align-items: center; justify-content: center; min-height: 44px; margin-top: -8px; padding: 8px 12px; border: 1px solid var(--rule); border-radius: 6px; background: var(--hover); color: var(--text); }
.report-panel p { margin: 16px 0 0; }
.report-panel a { text-decoration: underline; text-underline-offset: 3px; }
.report-email { font-size: 18px; font-weight: 600; overflow-wrap: anywhere; }
.report-policy { padding-top: 16px; border-top: 1px solid var(--rule); color: var(--muted); font-size: 13px; }
@supports selector(:popover-open) {
  .report-fallback { display: none; }
  .report-trigger, .report-close { display: inline-flex; }
  .report-panel { margin: auto; box-shadow: 0 12px 48px #0003; }
  .report-panel::backdrop { background: #0005; }
}
@media (max-width: 540px) {
  .report-panel { padding: 20px; }
  .report-header h2 { font-size: 18px; }
}
